aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/PSG1218B.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/PSG1218B.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/PSG1218B.dts')
-rw-r--r--target/linux/ramips/dts/PSG1218B.dts5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/PSG1218B.dts b/target/linux/ramips/dts/PSG1218B.dts
index 86b1194b7a..3278a51bf3 100644
--- a/target/linux/ramips/dts/PSG1218B.dts
+++ b/target/linux/ramips/dts/PSG1218B.dts
@@ -15,16 +15,19 @@
led_blue: blue {
label = "psg1218b:blue:status";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
+ default-state = "on";
};
yellow {
label = "psg1218b:yellow:status";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
+ default-state = "off";
};
red {
label = "psg1218b:red:status";
- gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
+ default-state = "off";
};
};
};