ARM: dts: Add imx6ull-somdevices-C0P1.dts add LEDs.
authorJosep Orga <jorga@somdevices.com>
Thu, 23 Apr 2020 17:02:00 +0000 (19:02 +0200)
committerJosep Orga <jorga@somdevices.com>
Thu, 23 Apr 2020 17:02:00 +0000 (19:02 +0200)
Signed-off-by: Josep Orga <jorga@somdevices.com>
arch/arm/boot/dts/imx6ull-somdevices-C0P1.dts

index 7024142..a665773 100644 (file)
@@ -2,3 +2,23 @@
 #define BIG_LCD
 
 #include "imx6ull-somdevices.dtsi"
+
+/ {
+       leds {
+               led1 {
+                       label = "red";
+                       gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
+                       default-state = "on";
+               };
+               led2 {
+                       label = "green";
+                       gpios = <&gpio1 18 GPIO_ACTIVE_HIGH>;
+                       default-state = "on";
+               };
+               led3 {
+                       label = "yellow";
+                       gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
+                       default-state = "on";
+               };
+       };
+};