aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
authorIvan Pavlov <AuthorReflex@gmail.com>2023-08-02 08:23:02 +0300
committerHauke Mehrtens <hauke@hauke-m.de>2023-08-15 17:19:05 +0200
commit5569b92cb345bf11b7a3e3792d2c50588433c3ba (patch)
treef2c08d68d124c28921ef082a1c5d54c21ff17ee5 /target/linux/ramips/dts
parent4956ff40c50f375ba72c6d834f913962afbb6c9e (diff)
downloadupstream-5569b92cb345bf11b7a3e3792d2c50588433c3ba.tar.gz
upstream-5569b92cb345bf11b7a3e3792d2c50588433c3ba.tar.bz2
upstream-5569b92cb345bf11b7a3e3792d2c50588433c3ba.zip
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> (cherry picked from commit 54e5e396c59948224dfb8ccf7aa8afe11462f647)
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r--target/linux/ramips/dts/mt7620a_xiaomi_miwifi-mini.dts9
1 files changed, 4 insertions, 5 deletions
diff --git a/target/linux/ramips/dts/mt7620a_xiaomi_miwifi-mini.dts b/target/linux/ramips/dts/mt7620a_xiaomi_miwifi-mini.dts
index 1dd3f2eb47..95868c9be9 100644
--- a/target/linux/ramips/dts/mt7620a_xiaomi_miwifi-mini.dts
+++ b/target/linux/ramips/dts/mt7620a_xiaomi_miwifi-mini.dts
@@ -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;
@@ -25,15 +25,14 @@
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>;
};