Sets status indications led color on Xiaomi mi-mini router as other Xiaomi routers
Signed-off-by: Ivan Pavlov <AuthorReflex@gmail.com>
model = "Xiaomi MiWiFi Mini";
aliases {
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 = ðernet;
led-running = &led_blue;
led-upgrade = &led_blue;
label-mac-device = ðernet;
led_blue: blue {
label = "blue:status";
gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
led_blue: blue {
label = "blue:status";
gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
label = "yellow:status";
gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
};
label = "yellow:status";
gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
};
label = "red:status";
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
};
label = "red:status";
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
};