ramips: fix HiWiFi HC5962 status LED
authorDENG Qingfang <dengqf6@mail2.sysu.edu.cn>
Thu, 16 Jan 2020 16:27:59 +0000 (00:27 +0800)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 16 Jan 2020 17:28:27 +0000 (18:28 +0100)
Match LED behavior to stock firmware:

Red: booting
White: running

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts

index 0d0e44ca13536e4c05663da5a9a616af8dea5d45..f8d7268b9206708c0035fa39c7f4b86c2318af29 100644 (file)
@@ -10,8 +10,8 @@
        model = "HiWiFi HC5962";
 
        aliases {
-               led-boot = &led_status;
-               led-failsafe = &led_status;
+               led-boot = &led_system;
+               led-failsafe = &led_system;
                led-running = &led_status;
                led-upgrade = &led_status;
        };
                        gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
                };
 
-               system {
+               led_system: system {
                        label = "hc5962:red:system";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
+                       panic-indicator;
                };
        };