mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-31 16:35:44 +00:00
ramips: improve Xiaomi mi-mini indications
Sets status indications led color on Xiaomi mi-mini router as other Xiaomi routers Signed-off-by: Ivan Pavlov <AuthorReflex@gmail.com>
This commit is contained in:
parent
f1c80445bd
commit
54e5e396c5
@ -8,8 +8,8 @@
|
|||||||
model = "Xiaomi MiWiFi Mini";
|
model = "Xiaomi MiWiFi Mini";
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
led-boot = &led_blue;
|
led-boot = &led_yellow;
|
||||||
led-failsafe = &led_blue;
|
led-failsafe = &led_red;
|
||||||
led-running = &led_blue;
|
led-running = &led_blue;
|
||||||
led-upgrade = &led_blue;
|
led-upgrade = &led_blue;
|
||||||
label-mac-device = ðernet;
|
label-mac-device = ðernet;
|
||||||
@ -25,15 +25,14 @@
|
|||||||
led_blue: blue {
|
led_blue: blue {
|
||||||
label = "blue:status";
|
label = "blue:status";
|
||||||
gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
|
||||||
default-state = "on";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
yellow {
|
led_yellow: yellow {
|
||||||
label = "yellow:status";
|
label = "yellow:status";
|
||||||
gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
red {
|
led_red: red {
|
||||||
label = "red:status";
|
label = "red:status";
|
||||||
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user