aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/DIR-615-H1.dts
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-08-18 11:38:13 +0200
committerMathias Kresin <dev@kresin.me>2018-08-29 09:34:07 +0200
commit99045dfc5989e732f671de5d145532f0fe8c0ce1 (patch)
treeda007e85e6638b5eb713e07c14fceef532c80f22 /target/linux/ramips/dts/DIR-615-H1.dts
parent111907e8d319eb05e7a5ef7a0cc6ec55cb069242 (diff)
downloadupstream-99045dfc5989e732f671de5d145532f0fe8c0ce1.tar.gz
upstream-99045dfc5989e732f671de5d145532f0fe8c0ce1.tar.bz2
upstream-99045dfc5989e732f671de5d145532f0fe8c0ce1.zip
ramips: express diag led handling via devicetree
Use the default-state property to express the desired led handling in the devicetree source file instead of the userspace. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/dts/DIR-615-H1.dts')
-rw-r--r--target/linux/ramips/dts/DIR-615-H1.dts2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/DIR-615-H1.dts b/target/linux/ramips/dts/DIR-615-H1.dts
index 4bfeb951e5..cbc3dadb74 100644
--- a/target/linux/ramips/dts/DIR-615-H1.dts
+++ b/target/linux/ramips/dts/DIR-615-H1.dts
@@ -19,11 +19,13 @@
status {
label = "dir-615-h1:amber:status";
gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
+ default-state = "off";
};
led_status_green: status2 {
label = "dir-615-h1:green:status";
gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
+ default-state = "on";
};
wan {