]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
ipq40xx: add led aliases for Linksys WHW01
authorChristoph Krapp <achterin@gmail.com>
Fri, 17 Oct 2025 22:43:10 +0000 (00:43 +0200)
committerRobert Marko <robimarko@gmail.com>
Sun, 19 Oct 2025 09:55:22 +0000 (11:55 +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>
target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-whw01.dts

index 3fbc66b1a37383617a42a7bf77ceedd577a47f27..15a22afff72b9cfc460f070bf80b207965d1ba83 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;