From bd3a18bbe433cc53b6f86dd708477f97ac406abc Mon Sep 17 00:00:00 2001
From: =?utf8?q?Petr=20=C5=A0tetiar?= <ynezz@true.cz>
Date: Wed, 10 Apr 2019 10:10:33 +0200
Subject: [PATCH] lantiq: tdw90x0: Fix WLAN LED on TP-Link W8970 v1.2 (FS#2232)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

This patch fixes disfunctional WLAN LED on TP-Link W8970. The LED was
reported working in the CC release[1], but doesn't work anymore in 18.06.2.

1. https://github.com/openwrt/chaos_calmer/commit/420cb24d41fcd650795f09d2b26e0e1d2cf21165

Tested-by: Damian Janarek <dzanar18@o2.pl>
Signed-off-by: Petr Å tetiar <ynezz@true.cz>
---
 target/linux/lantiq/files-4.14/arch/mips/boot/dts/TDW89X0.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/TDW89X0.dtsi b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/TDW89X0.dtsi
index 233b7e3334..71e051a316 100644
--- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/TDW89X0.dtsi
+++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/TDW89X0.dtsi
@@ -85,6 +85,7 @@
 		wifi: wifi {
 			label = "tdw89x0:green:wifi";
 			gpios = <&ath9k 0 GPIO_ACTIVE_HIGH>;
+			linux,default-trigger = "phy0tpt";
 		};
 	};
 
-- 
2.30.2