aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2014-06-20 19:13:01 +0000
committerImre Kaloz <kaloz@openwrt.org>2014-06-20 19:13:01 +0000
commit2c20232384a3b2052450fa5e173d3f037721b680 (patch)
tree94f8c38ff80a03005f6152a6220ad370aa8622f0 /target
parent33b7149349743d24dbad0a54754880fb3982c74d (diff)
downloadupstream-2c20232384a3b2052450fa5e173d3f037721b680.tar.gz
upstream-2c20232384a3b2052450fa5e173d3f037721b680.tar.bz2
upstream-2c20232384a3b2052450fa5e173d3f037721b680.zip
[mvebu]: define the power led for the WRT1900AC
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41288 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/mvebu/files/arch/arm/boot/dts/armada-xp-mamba.dts18
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/mvebu/files/arch/arm/boot/dts/armada-xp-mamba.dts b/target/linux/mvebu/files/arch/arm/boot/dts/armada-xp-mamba.dts
index d732764e90..a8b1643755 100644
--- a/target/linux/mvebu/files/arch/arm/boot/dts/armada-xp-mamba.dts
+++ b/target/linux/mvebu/files/arch/arm/boot/dts/armada-xp-mamba.dts
@@ -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";
+ };
+ };
};