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>
This commit is contained in:
DENG Qingfang 2020-01-17 00:27:59 +08:00 committed by Adrian Schmutzler
parent 68f49df315
commit 9a3c9a9656
1 changed files with 4 additions and 3 deletions

View File

@ -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;
};
};