diff options
author | Jan Alexander <jan@nalx.net> | 2020-01-29 15:03:18 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-01-30 13:09:12 +0100 |
commit | 20eb45da4fc19c12ea2073471992eeaf9d602fa5 (patch) | |
tree | 342909a7e97f29bc2db3e7a7e4270f943e758e72 /target/linux/ramips/mt76x8/base-files | |
parent | 0cf889db00f81575568b19cb470e97aad7765f32 (diff) | |
download | upstream-20eb45da4fc19c12ea2073471992eeaf9d602fa5.tar.gz upstream-20eb45da4fc19c12ea2073471992eeaf9d602fa5.tar.bz2 upstream-20eb45da4fc19c12ea2073471992eeaf9d602fa5.zip |
ramips: use tpt DTS trigger for TP-Link TL-MR3020 v3 and TL-WA801ND v5
This converts the TP-Link TL-MR3020v3 board to use the WLAN throughput
LED trigger in order to react to all VAPs.
It also moves the WLAN trigger config of the TP-Link TL-WA801NDv5 to the
DTS and merges the now identical LAN LED configs.
Verified these changes on a TL-MR3020v3.
Signed-off-by: Jan Alexander <jan@nalx.net>
[changed commit title and extended commit message]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/mt76x8/base-files')
-rwxr-xr-x | target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds b/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds index 79f45ba545..877dbb60bd 100755 --- a/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds @@ -64,9 +64,9 @@ tplink,archer-c50-v4) ucidef_set_led_wlan "wlan2g" "wlan2g" "$boardname:green:wlan2g" "phy0tpt" ucidef_set_led_wlan "wlan5g" "wlan5g" "$boardname:green:wlan5g" "phy1tpt" ;; -tplink,tl-mr3020-v3) - set_wifi_led "$boardname:green:wlan" - ucidef_set_led_netdev "lan" "LAN" "$boardname:green:lan" "eth0" +tplink,tl-mr3020-v3|\ +tplink,tl-wa801nd-v5) + ucidef_set_led_netdev "lan" "lan" "$boardname:green:lan" "eth0" ;; tplink,tl-mr3420-v5|\ tplink,tl-wr842n-v5) @@ -74,10 +74,6 @@ tplink,tl-wr842n-v5) ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x1e" ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01" ;; -tplink,tl-wa801nd-v5) - ucidef_set_led_wlan "wlan" "wlan" "$boardname:green:wlan" "phy0tpt" - ucidef_set_led_netdev "lan" "lan" "$boardname:green:lan" "eth0" - ;; tplink,tl-wr840n-v4) ucidef_set_led_wlan "wlan2g" "wlan2g" "$boardname:green:wlan" "phy0tpt" ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x1e" |