mediatek: GL-MT6000: Change LED colors
authorThomas Schröder <tschroeder_github@outlook.com>
Wed, 10 Jan 2024 10:12:10 +0000 (11:12 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 15 Jan 2024 16:21:29 +0000 (17:21 +0100)
Fine tuning PR: openwrt/openwrt#14355 Ref: 5a82bb909bf1
("mediatek: GL-MT6000: Add missing LED state definitions")

As the only LED is using white in the stock firmware when the device is
running and blue for the bootloader I suggest following changes:
 - Using blue for the BL and preinit+failsafe
 - White for normal operation (like the original FW) and sysupgrade

With this changes it's clear by looking to the LED in which operation
mode the device is and a possible BL stuck can be seen easily.

Tested with [GL-MT6000](https://openwrt.org/toh/gl.inet/gl-mt6000).

Signed-off-by: Thomas Schröder <tschroeder_github@outlook.com>
Tested-by: Hannu Nyman <hannu.nyman@iki.fi>
target/linux/mediatek/dts/mt7986a-glinet-gl-mt6000.dts

index 9a7031df539ab85e3a2b3e15ee5cf84ff918a4c0..26996e7b4a5ab218ee9d61f46445c46111eaa270 100644 (file)
@@ -13,9 +13,9 @@
 
        aliases {
                serial0 = &uart0;
-               led-boot = &led_white;
-               led-failsafe = &led_white;
-               led-running = &led_blue;
+               led-boot = &led_blue;
+               led-failsafe = &led_blue;
+               led-running = &led_white;
                led-upgrade = &led_white;
        };