ARM: dts: omap4: embt2ws: add LED
authorAndreas Kemnade <andreas@kemnade.info>
Sat, 19 Aug 2023 14:31:09 +0000 (16:31 +0200)
committerTony Lindgren <tony@atomide.com>
Tue, 26 Sep 2023 07:18:16 +0000 (10:18 +0300)
Add LED since the driver is now available.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Message-ID: <20230819143109.471615-1-andreas@kemnade.info>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts

index e119e2c..f47d330 100644 (file)
@@ -4,6 +4,7 @@
  */
 /dts-v1/;
 
+#include <dt-bindings/leds/common.h>
 #include <dt-bindings/input/input.h>
 #include "omap4460.dtsi"
 
 
        clock-frequency = <100000>;
 
-       /* TODO: BD2606MVV at 0x66 */
+       led-controller@66 {
+               compatible = "rohm,bd2606mvv";
+               reg = <0x66>;
+
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               led@0 {
+                       reg = <0>;
+                       color = <LED_COLOR_ID_GREEN>;
+                       function = LED_FUNCTION_STATUS;
+               };
+
+               led@2 {
+                       reg = <2>;
+                       color = <LED_COLOR_ID_BLUE>;
+                       function = LED_FUNCTION_STATUS;
+               };
+
+               led@4 {
+                       reg = <4>;
+                       color = <LED_COLOR_ID_RED>;
+                       function = LED_FUNCTION_STATUS;
+               };
+       };
 };
 
 &i2c4 {