aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDmitry Tunin <hanipouspilot@gmail.com>2018-08-14 15:55:15 +0300
committerMathias Kresin <dev@kresin.me>2018-08-15 07:42:36 +0200
commitae9c3105a3d8db9cd76a05a8e78724e4e1a58853 (patch)
tree71fcf1c47964aa1f2a9e2123f21b2d7ef2c230bf /target
parent3d9610aa1343fae14c246ef57b2124a5c44e98d9 (diff)
downloadupstream-ae9c3105a3d8db9cd76a05a8e78724e4e1a58853.tar.gz
upstream-ae9c3105a3d8db9cd76a05a8e78724e4e1a58853.tar.bz2
upstream-ae9c3105a3d8db9cd76a05a8e78724e4e1a58853.zip
ath79: use both WNDR3x00 power leds for boot status indication
Use the orange led by default to match the bootloader/stock firmware behaviour. Turn on the green power led after boot to indicate a finished boot and the orange one off. Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com> [reword commit message, keep orange power led enabled during early kernel boot] Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi10
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi b/target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi
index f584945273..e05e8599b3 100644
--- a/target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi
+++ b/target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi
@@ -8,10 +8,10 @@
/ {
aliases {
- led-boot = &power_green;
- led-failsafe = &power_green;
+ led-boot = &power_orange;
+ led-failsafe = &power_orange;
led-running = &power_green;
- led-upgrade = &power_green;
+ led-upgrade = &power_orange;
};
chosen {
@@ -51,10 +51,10 @@
default-state = "off";
};
- power_orange {
+ power_orange: power_orange {
label = "netgear:orange:power";
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
- default-state = "off";
+ default-state = "on";
};
wps_green {