[OpenWrt-Devel] [PATCH] lantiq: add the TDW8980 5GHz led

Mathias Kresin openwrt at kresin.me
Wed Dec 16 18:03:52 EST 2015


Still unused, but u-boot doesn't take care of the led, which results in a
permanent switched on 5GHz LED.

Signed-off-by: Mathias Kresin <openwrt at kresin.me>
---
 target/linux/lantiq/dts/TDW8980.dts | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/target/linux/lantiq/dts/TDW8980.dts b/target/linux/lantiq/dts/TDW8980.dts
index ad3d182..ca8fc80 100644
--- a/target/linux/lantiq/dts/TDW8980.dts
+++ b/target/linux/lantiq/dts/TDW8980.dts
@@ -28,4 +28,11 @@
 	ath9k_eep {
 		ath,pci-slot = <0>;
 	};
+
+	gpio-leds {
+		wifi2 {
+			label = "wifi2";
+			gpios = <&gpio 24 1>;
+		};
+	};
 };
-- 
1.9.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list