mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-14 23:09:45 +01:00
ipq40xx: add led aliases for Linksys WHW01
This adds led aliases for failsafe and upgrade. Before this change the leds stayed dark in both situations. Signed-off-by: Christoph Krapp <achterin@gmail.com> Link: https://github.com/openwrt/openwrt/pull/20441 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
deca8fd24b
commit
1afe4ba623
1 changed files with 3 additions and 1 deletions
|
|
@ -13,7 +13,9 @@
|
|||
ethernet0 = &gmac;
|
||||
serial0 = &blsp1_uart1;
|
||||
led-boot = &led_system_blue;
|
||||
led-failsafe = &led_system_red;
|
||||
led-running = &led_system_blue;
|
||||
led-upgrade = &led_system_red;
|
||||
label-mac-device = &gmac;
|
||||
};
|
||||
|
||||
|
|
@ -56,7 +58,7 @@
|
|||
reg = <0x62>;
|
||||
|
||||
/* RGB? */
|
||||
led@0 {
|
||||
led_system_red: led@0 {
|
||||
reg = <0>;
|
||||
color = <LED_COLOR_ID_RED>;
|
||||
function = LED_FUNCTION_POWER;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue