summaryrefslogtreecommitdiff
path: root/target/linux/mvebu
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
commita24185335859f49d58f58f3b2f47e205c974c585 (patch)
treeb35c9c2c7051671787fcf06fae30e1f8c3f5d6d4 /target/linux/mvebu
parent22ffa5ef165215add36a979b885b02f7601010cf (diff)
downloadmtk-20170518-a24185335859f49d58f58f3b2f47e205c974c585.zip
mtk-20170518-a24185335859f49d58f58f3b2f47e205c974c585.tar.gz
mtk-20170518-a24185335859f49d58f58f3b2f47e205c974c585.tar.bz2
define the power led for the WRT1900AC
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41288
Diffstat (limited to 'target/linux/mvebu')
-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 d732764..a8b1643 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";
+ };
+ };
};