Author: kaloz
Date: 2014-06-20 21:13:01 +0200 (Fri, 20 Jun 2014)
New Revision: 41288

Modified:
   trunk/target/linux/mvebu/files/arch/arm/boot/dts/armada-xp-mamba.dts
Log:
[mvebu]: define the power led for the WRT1900AC

Signed-off-by: Imre Kaloz <[email protected]>



Modified: trunk/target/linux/mvebu/files/arch/arm/boot/dts/armada-xp-mamba.dts
===================================================================
--- trunk/target/linux/mvebu/files/arch/arm/boot/dts/armada-xp-mamba.dts        
2014-06-20 17:51:25 UTC (rev 41287)
+++ trunk/target/linux/mvebu/files/arch/arm/boot/dts/armada-xp-mamba.dts        
2014-06-20 19:13:01 UTC (rev 41288)
@@ -90,6 +90,12 @@
                                        marvell,pins = "mpp32";
                                        marvell,function = "gpio";
                                };
+
+                               power_led_pin: power-led-pin {
+                                       marvell,pins = "mpp40";
+                                       marvell,function = "gpio";
+                               };
+
                        };
 
                        serial@12000 {
@@ -239,4 +245,16 @@
                        gpios = <&gpio1 1 1>;
                };
        };
+
+       gpio-leds {
+               compatible = "gpio-leds";
+               pinctrl-0 = <&power_led_pin>;
+               pinctrl-names = "default";
+
+               power {
+                       label = "mamba:white:power";
+                       gpios = <&gpio1 8 0>;
+                       default-state = "on";
+               };
+       };
 };
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to