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:
Christoph Krapp 2025-10-18 00:43:10 +02:00 committed by Robert Marko
parent deca8fd24b
commit 1afe4ba623

View file

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