Author: blogic
Date: 2016-02-12 10:29:23 +0100 (Fri, 12 Feb 2016)
New Revision: 48715

Modified:
   trunk/target/linux/ramips/dts/DIR-860L-B1.dts
Log:
ramips: Support LEDs on D-Link DIR-860L B1

Adds the required gpio definitions.

Signed-off-by: Johannes Wienke <[email protected]>

Modified: trunk/target/linux/ramips/dts/DIR-860L-B1.dts
===================================================================
--- trunk/target/linux/ramips/dts/DIR-860L-B1.dts       2016-02-12 08:31:54 UTC 
(rev 48714)
+++ trunk/target/linux/ramips/dts/DIR-860L-B1.dts       2016-02-12 09:29:23 UTC 
(rev 48715)
@@ -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 {
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to