aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/MIWIFI-MINI.dts
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-08-18 12:22:25 +0200
committerMathias Kresin <dev@kresin.me>2018-08-29 09:24:49 +0200
commit56e6ebdea42aab76d6ef54e0296c6bf946956684 (patch)
tree51b9e02821ba37614b84478e85974d2a39d4e2b7 /target/linux/ramips/dts/MIWIFI-MINI.dts
parentfe1e90deb4cacbac4841507b9bf2a85eb275a823 (diff)
downloadupstream-56e6ebdea42aab76d6ef54e0296c6bf946956684.tar.gz
upstream-56e6ebdea42aab76d6ef54e0296c6bf946956684.tar.bz2
upstream-56e6ebdea42aab76d6ef54e0296c6bf946956684.zip
ramips: fix multi colour led handling
All boards either have a multi colour led or a single lightpipe. It makes it impossible to handle the LEDs individual. Change the LED config for these boards to take it into account. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/dts/MIWIFI-MINI.dts')
-rw-r--r--target/linux/ramips/dts/MIWIFI-MINI.dts3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/MIWIFI-MINI.dts b/target/linux/ramips/dts/MIWIFI-MINI.dts
index 0223b7cd58..89a688bfee 100644
--- a/target/linux/ramips/dts/MIWIFI-MINI.dts
+++ b/target/linux/ramips/dts/MIWIFI-MINI.dts
@@ -23,16 +23,19 @@
led_blue: blue {
label = "miwifi-mini:blue:status";
gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
+ default-state = "on";
};
yellow {
label = "miwifi-mini:yellow:status";
gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
+ default-state = "off";
};
red {
label = "miwifi-mini:red:status";
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
+ default-state = "off";
};
};