aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDENG Qingfang <dengqf6@mail2.sysu.edu.cn>2020-01-17 00:27:59 +0800
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-01-16 18:28:27 +0100
commit9a3c9a96563c3c3fb1e15b791d9117b193fed7a6 (patch)
tree37ab007505e5cc719ced8972427f8fe9c0bec76c /target
parent68f49df31507454f86b72a5c1e250505176baed7 (diff)
downloadupstream-9a3c9a96563c3c3fb1e15b791d9117b193fed7a6.tar.gz
upstream-9a3c9a96563c3c3fb1e15b791d9117b193fed7a6.tar.bz2
upstream-9a3c9a96563c3c3fb1e15b791d9117b193fed7a6.zip
ramips: fix HiWiFi HC5962 status LED
Match LED behavior to stock firmware: Red: booting White: running Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts7
1 files changed, 4 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts b/target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts
index 0d0e44ca13..f8d7268b92 100644
--- a/target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts
+++ b/target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts
@@ -10,8 +10,8 @@
model = "HiWiFi HC5962";
aliases {
- led-boot = &led_status;
- led-failsafe = &led_status;
+ led-boot = &led_system;
+ led-failsafe = &led_system;
led-running = &led_status;
led-upgrade = &led_status;
};
@@ -28,9 +28,10 @@
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};
- system {
+ led_system: system {
label = "hc5962:red:system";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
+ panic-indicator;
};
};