ipq40xx: add led aliases for Linksys WHW01
authorChristoph Krapp <achterin@gmail.com>
Fri, 17 Oct 2025 22:43:10 +0000 (00:43 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 19 Oct 2025 15:24:51 +0000 (17:24 +0200)
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>
(cherry picked from commit 1afe4ba623936fa42daba5b88d33687ef551ed11)
Link: https://github.com/openwrt/openwrt/pull/20454
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4018-whw01.dts

index f8c9003632497acada4bd41402647b620326469a..926a2345af28248aa592bc53d3ebaff43d50f836 100644 (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;