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 <mail@david-bauer.net>
This commit is contained in:
David Bauer
2020-01-02 03:11:39 +01:00
parent 33f87d2ef6
commit 1e7c6381f0
7 changed files with 8 additions and 7 deletions

View File

@@ -48,6 +48,7 @@
wlan {
label = "archer-c2-v1:green:wlan";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
};

View File

@@ -47,11 +47,13 @@
wlan5g {
label = "archer-c20-v1:blue:wlan5g";
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wlan2g {
label = "archer-c20-v1:blue:wlan2g";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wps {

View File

@@ -38,6 +38,7 @@
wlan {
label = "archer-c20i:blue:wlan";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
};
};

View File

@@ -47,11 +47,13 @@
wlan5g {
label = "archer-c50-v1:green:wlan5g";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy0tpt";
};
wlan2g {
label = "archer-c50-v1:green:wlan2g";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
wps {

View File

@@ -71,6 +71,7 @@
wlan {
label = "archer-mr200:white:wlan";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1tpt";
};
};

View File

@@ -53,7 +53,7 @@
wlan2g_green {
label = "re200-v1:green:wlan2g";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "phy1radio";
linux,default-trigger = "phy1tpt";
};
};