From 5e10f67b67a0af6dbe52635a74654715e0e57856 Mon Sep 17 00:00:00 2001
From: John Crispin <john@openwrt.org>
Date: Wed, 23 Dec 2015 14:42:25 +0000
Subject: [PATCH] lantiq: Configure LED polarity for TDW8970 and TDW8980.

This patch configures the correct ath9k WLAN LED polarity for the TDW8970,
and for the TDW8980 as well.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

SVN-Revision: 47969
---
 target/linux/lantiq/dts/TDW8970.dts  | 4 ----
 target/linux/lantiq/dts/TDW89X0.dtsi | 1 +
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/target/linux/lantiq/dts/TDW8970.dts b/target/linux/lantiq/dts/TDW8970.dts
index d7ec5e52664..172c46c12cb 100644
--- a/target/linux/lantiq/dts/TDW8970.dts
+++ b/target/linux/lantiq/dts/TDW8970.dts
@@ -4,8 +4,4 @@
 
 / {
 	model = "TDW8970 - TP-LINK TD-W8970";
-
-	ath9k_eep {
-		ath,led-active-high;
-	};
 };
diff --git a/target/linux/lantiq/dts/TDW89X0.dtsi b/target/linux/lantiq/dts/TDW89X0.dtsi
index e4094ec6102..cd3d6bdbbdf 100644
--- a/target/linux/lantiq/dts/TDW89X0.dtsi
+++ b/target/linux/lantiq/dts/TDW89X0.dtsi
@@ -181,6 +181,7 @@
 		ath,mac-increment;
 		ath,led-pin = <0>;
 		ath,disable-5ghz;
+		ath,led-active-high;
 	};
 
 	gpio-keys-polled {