Browse Source

ramips: Support LEDs on D-Link DIR-860L B1

Adds the required gpio definitions.

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

SVN-Revision: 48715
John Crispin 10 years ago
parent
commit
ba53b33453
1 changed files with 20 additions and 0 deletions
  1. 20 0
      target/linux/ramips/dts/DIR-860L-B1.dts

+ 20 - 0
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 {