ramips: Support LEDs on D-Link DIR-860L B1
authorJohn Crispin <john@openwrt.org>
Fri, 12 Feb 2016 09:29:23 +0000 (09:29 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 12 Feb 2016 09:29:23 +0000 (09:29 +0000)
Adds the required gpio definitions.

Signed-off-by: Johannes Wienke <languitar@semipol.de>
SVN-Revision: 48715

target/linux/ramips/dts/DIR-860L-B1.dts

index da3f59c933bafb9055671112ce85a68f34fa7427..a6add705ba70eee7e99906752c39ca18327f8df0 100644 (file)
 
        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 {