From: David Yang Date: Fri, 1 May 2026 17:43:00 +0000 (+0800) Subject: ramips: timecloud: fix LED configs X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3392fd35132fc46a8ea96bf4ee6856b44a7229cb;p=thirdparty%2Fopenwrt.git ramips: timecloud: fix LED configs The LED(s) does not have a label for status, ethernet, or whatsoever. These two LEDs, are used to form one dual-color indicator. On vendor firmware, the light is turned from orange to white, when external storage is detected and ready to use. However, if we use white for any other triggers (USB / SD card / ethernet), it is difficult to see while the orange is on. Thus, we change led-running to white to indicate a successful startup. Also add the missing pinmux config for uart3 since LEDs take GPIO 7 and 8. Signed-off-by: David Yang Link: https://github.com/openwrt/openwrt/pull/23182 Signed-off-by: Jonas Jelonek --- diff --git a/target/linux/ramips/dts/mt7621_thunder_timecloud.dts b/target/linux/ramips/dts/mt7621_thunder_timecloud.dts index e7aef362005..dfd5a705479 100644 --- a/target/linux/ramips/dts/mt7621_thunder_timecloud.dts +++ b/target/linux/ramips/dts/mt7621_thunder_timecloud.dts @@ -9,10 +9,10 @@ model = "Thunder Timecloud"; aliases { - led-boot = &led_statuso; - led-failsafe = &led_statuso; - led-running = &led_statuso; - led-upgrade = &led_statuso; + led-boot = &led_orange; + led-failsafe = &led_orange; + led-running = &led_white; + led-upgrade = &led_orange; label-mac-device = &gmac0; }; @@ -23,13 +23,13 @@ leds { compatible = "gpio-leds"; - statw { + led_white: white { function = LED_FUNCTION_STATUS; color = ; gpios = <&gpio 7 GPIO_ACTIVE_HIGH>; }; - led_statuso: stato { + led_orange: orange { function = LED_FUNCTION_STATUS; color = ; gpios = <&gpio 8 GPIO_ACTIVE_HIGH>; @@ -124,7 +124,7 @@ &state_default { gpio { - groups = "i2c", "uart2", "jtag"; + groups = "i2c", "uart2", "uart3", "jtag"; function = "gpio"; }; };