ARM: dts: dra7-evm: add gpio leds support
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / dra7-evm.dts
index d40418c8d5a3c7b5181c2a170f49739625e84e95..9b4ce227f3fd2d59b00646cf9f7b6169b1238015 100644 (file)
                        clocks = <&atl_clkin2_ck>;
                };
        };
+
+       leds {
+               compatible = "gpio-leds";
+               led@0 {
+                       label = "dra7:usr1";
+                       gpios = <&pcf_lcd 4 GPIO_ACTIVE_LOW>;
+                       default-state = "off";
+               };
+
+               led@1 {
+                       label = "dra7:usr2";
+                       gpios = <&pcf_lcd 5 GPIO_ACTIVE_LOW>;
+                       default-state = "off";
+               };
+
+               led@2 {
+                       label = "dra7:usr3";
+                       gpios = <&pcf_lcd 6 GPIO_ACTIVE_LOW>;
+                       default-state = "off";
+               };
+
+               led@3 {
+                       label = "dra7:usr4";
+                       gpios = <&pcf_lcd 7 GPIO_ACTIVE_LOW>;
+                       default-state = "off";
+               };
+       };
 };
 
 &dra7_pmx_core {