summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-02-12 09:29:23 +0000
committerJohn Crispin <john@openwrt.org>2016-02-12 09:29:23 +0000
commitba53b3345391cdabcc8710dd316c99ea571e84c1 (patch)
treef94cf2e75bb6acebc90beb64c2aa704f65413d22 /target
parent4d434d6468a38e7306a9950dc67ae921e796fe7e (diff)
downloadmtk-20170518-ba53b3345391cdabcc8710dd316c99ea571e84c1.zip
mtk-20170518-ba53b3345391cdabcc8710dd316c99ea571e84c1.tar.gz
mtk-20170518-ba53b3345391cdabcc8710dd316c99ea571e84c1.tar.bz2
ramips: Support LEDs on D-Link DIR-860L B1
Adds the required gpio definitions. Signed-off-by: Johannes Wienke <languitar@semipol.de> SVN-Revision: 48715
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/dts/DIR-860L-B1.dts20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/DIR-860L-B1.dts b/target/linux/ramips/dts/DIR-860L-B1.dts
index da3f59c..a6add70 100644
--- a/target/linux/ramips/dts/DIR-860L-B1.dts
+++ b/target/linux/ramips/dts/DIR-860L-B1.dts
@@ -98,6 +98,26 @@
gpio-leds {
compatible = "gpio-leds";
+
+ power {
+ label = "dir-860l-b1:orange:power";
+ gpios = <&gpio0 13 1>;
+ };
+
+ power2 {
+ label = "dir-860l-b1:green:power";
+ gpios = <&gpio0 15 1>;
+ };
+
+ net {
+ label = "dir-860l-b1:orange:net";
+ gpios = <&gpio0 14 1>;
+ };
+
+ net2 {
+ label = "dir-860l-b1:green:net";
+ gpios = <&gpio0 16 1>;
+ };
};
gpio-keys-polled {