aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
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-18 16:09:39 +0100
commitd46b00cf0f9951267ab5af3b2db5cb4d4e14621e (patch)
treef64cb9d01ace60156fc5b6af3972085d62056056 /target/linux/ramips
parent03c35bda03e840da3342d6d4849ead9649c4fb6c (diff)
downloadupstream-d46b00cf0f9951267ab5af3b2db5cb4d4e14621e.tar.gz
upstream-d46b00cf0f9951267ab5af3b2db5cb4d4e14621e.tar.bz2
upstream-d46b00cf0f9951267ab5af3b2db5cb4d4e14621e.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> (cherry picked from commit 9a3c9a96563c3c3fb1e15b791d9117b193fed7a6)
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/dts/HC5962.dts7
1 files changed, 4 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/HC5962.dts b/target/linux/ramips/dts/HC5962.dts
index 817b571d2a..616de5d488 100644
--- a/target/linux/ramips/dts/HC5962.dts
+++ b/target/linux/ramips/dts/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;
};
@@ -33,9 +33,10 @@
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};
- system {
+ led_system: system {
label = "hc5962:red:system";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
+ panic-indicator;
};
};