[openwrt/openwrt] mediatek: GL-MT6000: Change LED colors

LEDE Commits lede-commits at lists.infradead.org
Mon Jan 15 08:34:36 PST 2024


ansuel pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/f41f10f702bbd9f5f9813d236eff56639f9b86ac

commit f41f10f702bbd9f5f9813d236eff56639f9b86ac
Author: Thomas Schröder <tschroeder_github at outlook.com>
AuthorDate: Wed Jan 10 11:12:10 2024 +0100

    mediatek: GL-MT6000: Change LED colors
    
    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 at outlook.com>
    Tested-by: Hannu Nyman <hannu.nyman at iki.fi>
    (cherry picked from commit 4d7bac1dcaae019fb4992bfb74348ef12c02daa4)
---
 target/linux/mediatek/dts/mt7986a-glinet-gl-mt6000.dts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/target/linux/mediatek/dts/mt7986a-glinet-gl-mt6000.dts b/target/linux/mediatek/dts/mt7986a-glinet-gl-mt6000.dts
index 9a7031df53..26996e7b4a 100644
--- a/target/linux/mediatek/dts/mt7986a-glinet-gl-mt6000.dts
+++ b/target/linux/mediatek/dts/mt7986a-glinet-gl-mt6000.dts
@@ -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;
 	};
 




More information about the lede-commits mailing list