aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/Newifi-D1.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/Newifi-D1.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/Newifi-D1.dts')
-rw-r--r--target/linux/ramips/dts/Newifi-D1.dts3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/Newifi-D1.dts b/target/linux/ramips/dts/Newifi-D1.dts
index 9fe0ea3b6a..1aebc1b7f6 100644
--- a/target/linux/ramips/dts/Newifi-D1.dts
+++ b/target/linux/ramips/dts/Newifi-D1.dts
@@ -28,16 +28,19 @@
status-red {
label = "newifi-d1:red:status";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
+ default-state = "off";
};
status-green {
label = "newifi-d1:green:status";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
+ default-state = "off";
};
led_blue: status-blue {
label = "newifi-d1:blue:status";
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
+ default-state = "on";
};
};