From 80e0b97d079289787793ecdee4cfcd2e3a674f70 Mon Sep 17 00:00:00 2001 From: David Bauer Date: Thu, 2 Jan 2020 03:11:39 +0100 Subject: ramips: convert TP-Link MT7620 boards to tpt trigger This converts all MediaTek MT7620 boards from TP-Link to use the now supported WiFi throughput LED trigger. This way, the LED state now covers all VAPs regardless of their name. Also align all single-WiFi LEDs to represent the state of the 2.4GHz radio. This was not always the case previously, as later-added support for the MT7610 altered the phy probing order. Signed-off-by: David Bauer (cherry picked from commit 1e7c6381f0058e49caab8de54eaad4862732f95d) --- target/linux/ramips/dts/ArcherC2-v1.dts | 1 + target/linux/ramips/dts/ArcherC20i.dts | 1 + target/linux/ramips/dts/ArcherC20v1.dts | 2 ++ target/linux/ramips/dts/ArcherC50.dts | 2 ++ target/linux/ramips/dts/ArcherMR200.dts | 1 + 5 files changed, 7 insertions(+) (limited to 'target/linux/ramips/dts') diff --git a/target/linux/ramips/dts/ArcherC2-v1.dts b/target/linux/ramips/dts/ArcherC2-v1.dts index 921a50a56c..5444a66461 100644 --- a/target/linux/ramips/dts/ArcherC2-v1.dts +++ b/target/linux/ramips/dts/ArcherC2-v1.dts @@ -57,6 +57,7 @@ wlan { label = "c2-v1:green:wlan"; gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; + linux,default-trigger = "phy1tpt"; }; }; diff --git a/target/linux/ramips/dts/ArcherC20i.dts b/target/linux/ramips/dts/ArcherC20i.dts index cf715a413f..52c2878763 100644 --- a/target/linux/ramips/dts/ArcherC20i.dts +++ b/target/linux/ramips/dts/ArcherC20i.dts @@ -36,6 +36,7 @@ wlan { label = "c20i:blue:wlan"; gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; + linux,default-trigger = "phy1tpt"; }; }; diff --git a/target/linux/ramips/dts/ArcherC20v1.dts b/target/linux/ramips/dts/ArcherC20v1.dts index 39e33b8ff0..7add569886 100644 --- a/target/linux/ramips/dts/ArcherC20v1.dts +++ b/target/linux/ramips/dts/ArcherC20v1.dts @@ -54,11 +54,13 @@ wlan5g { label = "c20-v1:blue:wlan5g"; gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; + linux,default-trigger = "phy0tpt"; }; wlan2g { label = "c20-v1:blue:wlan2g"; gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; + linux,default-trigger = "phy1tpt"; }; wps { diff --git a/target/linux/ramips/dts/ArcherC50.dts b/target/linux/ramips/dts/ArcherC50.dts index b6f5bed0b7..3c9f4d7729 100644 --- a/target/linux/ramips/dts/ArcherC50.dts +++ b/target/linux/ramips/dts/ArcherC50.dts @@ -54,11 +54,13 @@ wlan5g { label = "c50:green:wlan5g"; gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; + linux,default-trigger = "phy0tpt"; }; wlan2g { label = "c50:green:wlan2g"; gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; + linux,default-trigger = "phy1tpt"; }; wps { diff --git a/target/linux/ramips/dts/ArcherMR200.dts b/target/linux/ramips/dts/ArcherMR200.dts index ff00dbe958..0ff2f61d42 100644 --- a/target/linux/ramips/dts/ArcherMR200.dts +++ b/target/linux/ramips/dts/ArcherMR200.dts @@ -71,6 +71,7 @@ wlan { label = "mr200:white:wlan"; gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; + linux,default-trigger = "phy1tpt"; }; }; -- cgit v1.2.3