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 9a3c9a9656
)
This commit is contained in:
parent
03c35bda03
commit
d46b00cf0f
@ -10,8 +10,8 @@
|
|||||||
model = "HiWiFi HC5962";
|
model = "HiWiFi HC5962";
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
led-boot = &led_status;
|
led-boot = &led_system;
|
||||||
led-failsafe = &led_status;
|
led-failsafe = &led_system;
|
||||||
led-running = &led_status;
|
led-running = &led_status;
|
||||||
led-upgrade = &led_status;
|
led-upgrade = &led_status;
|
||||||
};
|
};
|
||||||
@ -33,9 +33,10 @@
|
|||||||
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
system {
|
led_system: system {
|
||||||
label = "hc5962:red:system";
|
label = "hc5962:red:system";
|
||||||
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
|
||||||
|
panic-indicator;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user