ramips: improve Xiaomi mi-mini indications
authorIvan Pavlov <AuthorReflex@gmail.com>
Wed, 2 Aug 2023 05:23:02 +0000 (08:23 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 14 Aug 2023 18:08:05 +0000 (20:08 +0200)
Sets status indications led color on Xiaomi mi-mini router as other Xiaomi routers

Signed-off-by: Ivan Pavlov <AuthorReflex@gmail.com>
target/linux/ramips/dts/mt7620a_xiaomi_miwifi-mini.dts

index 1dd3f2eb471afd37714ef1d9d9b9f5b6a232892b..95868c9be99f499a537f9d502c33d2802c6aeb70 100644 (file)
@@ -8,8 +8,8 @@
        model = "Xiaomi MiWiFi Mini";
 
        aliases {
-               led-boot = &led_blue;
-               led-failsafe = &led_blue;
+               led-boot = &led_yellow;
+               led-failsafe = &led_red;
                led-running = &led_blue;
                led-upgrade = &led_blue;
                label-mac-device = &ethernet;
                led_blue: blue {
                        label = "blue:status";
                        gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
-                       default-state = "on";
                };
 
-               yellow {
+               led_yellow: yellow {
                        label = "yellow:status";
                        gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
                };
 
-               red {
+               led_red: red {
                        label = "red:status";
                        gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
                };