2016-07-03 18:37:25 +00:00
|
|
|
From: Matthias Schiffer <mschiffer@universe-factory.net>
|
|
|
|
Date: Thu, 30 Jun 2016 15:34:32 +0200
|
|
|
|
Subject: ramips: Support LEDs on D-Link DIR-860L B1
|
|
|
|
|
|
|
|
Adds the required gpio definitions.
|
|
|
|
|
|
|
|
Signed-off-by: Johannes Wienke <languitar@semipol.de>
|
|
|
|
|
|
|
|
Backport of OpenWrt r48715
|
|
|
|
|
|
|
|
diff --git a/target/linux/ramips/dts/DIR-860L-B1.dts b/target/linux/ramips/dts/DIR-860L-B1.dts
|
2016-12-20 00:09:53 +00:00
|
|
|
index 23ec1140bc89fa06aa2920bc43efc8bb7465fb42..2582b3d4182d3a0fcee6e6ea6f97ab8007edf3a2 100644
|
2016-07-03 18:37:25 +00:00
|
|
|
--- a/target/linux/ramips/dts/DIR-860L-B1.dts
|
|
|
|
+++ b/target/linux/ramips/dts/DIR-860L-B1.dts
|
|
|
|
@@ -97,6 +97,26 @@
|
|
|
|
|
|
|
|
gpio-leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
+
|
|
|
|
+ power {
|
|
|
|
+ label = "d-link:orange:power";
|
|
|
|
+ gpios = <&gpio0 13 1>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ power2 {
|
|
|
|
+ label = "d-link:green:power";
|
|
|
|
+ gpios = <&gpio0 15 1>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ net {
|
|
|
|
+ label = "d-link:orange:net";
|
|
|
|
+ gpios = <&gpio0 14 1>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ net2 {
|
|
|
|
+ label = "d-link:green:net";
|
|
|
|
+ gpios = <&gpio0 16 1>;
|
|
|
|
+ };
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio-keys-polled {
|