Просмотр исходного кода

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 <[email protected]>
Tested-by: Hannu Nyman <[email protected]>
Thomas Schröder 2 лет назад
Родитель
Сommit
4d7bac1dca
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      target/linux/mediatek/dts/mt7986a-glinet-gl-mt6000.dts

+ 3 - 3
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;
 	};