diff options
author | John Crispin <john@openwrt.org> | 2016-02-12 09:29:23 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2016-02-12 09:29:23 +0000 |
commit | ba53b3345391cdabcc8710dd316c99ea571e84c1 (patch) | |
tree | f94cf2e75bb6acebc90beb64c2aa704f65413d22 /target/linux/ramips | |
parent | 4d434d6468a38e7306a9950dc67ae921e796fe7e (diff) | |
download | upstream-ba53b3345391cdabcc8710dd316c99ea571e84c1.tar.gz upstream-ba53b3345391cdabcc8710dd316c99ea571e84c1.tar.bz2 upstream-ba53b3345391cdabcc8710dd316c99ea571e84c1.zip |
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/linux/ramips')
-rw-r--r-- | target/linux/ramips/dts/DIR-860L-B1.dts | 20 |
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 da3f59c933..a6add705ba 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 { |