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:
parent
68f49df315
commit
9a3c9a9656
1 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
@ -28,9 +28,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 a new issue