summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/PSG1218A.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/PSG1218A.dts
parentfe1e90deb4cacbac4841507b9bf2a85eb275a823 (diff)
downloadmtk-20170518-56e6ebdea42aab76d6ef54e0296c6bf946956684.zip
mtk-20170518-56e6ebdea42aab76d6ef54e0296c6bf946956684.tar.gz
mtk-20170518-56e6ebdea42aab76d6ef54e0296c6bf946956684.tar.bz2
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/PSG1218A.dts')
-rw-r--r--target/linux/ramips/dts/PSG1218A.dts5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/PSG1218A.dts b/target/linux/ramips/dts/PSG1218A.dts
index f48ac1d..5065b79 100644
--- a/target/linux/ramips/dts/PSG1218A.dts
+++ b/target/linux/ramips/dts/PSG1218A.dts
@@ -15,16 +15,19 @@
led_blue: blue {
label = "psg1218a:blue:status";
gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
+ default-state = "on";
};
yellow {
label = "psg1218a:yellow:status";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
+ default-state = "off";
};
red {
label = "psg1218a:red:status";
- gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
+ default-state = "off";
};
};
};