aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt76x8
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2019-12-30 15:06:42 +0100
committerDavid Bauer <mail@david-bauer.net>2019-12-30 15:09:30 +0100
commitc48b571ad708b9f66efb0c2942291c2d8f1d7780 (patch)
tree8cac99a1b6cde879b73443787495a4696ad46f9a /target/linux/ramips/mt76x8
parent3026cfe172355f1d700e58ec279a208ca265dbf1 (diff)
downloadupstream-c48b571ad708b9f66efb0c2942291c2d8f1d7780.tar.gz
upstream-c48b571ad708b9f66efb0c2942291c2d8f1d7780.tar.bz2
upstream-c48b571ad708b9f66efb0c2942291c2d8f1d7780.zip
ramips: add LED trigger for TL-WR902AC v3 WAN LED
This adds an LED trigger for the WAN LED on top of the TP-Link TL-WR902AC v3. Currently, only the LED on the port itself shows the link state, while the LED on top of the device stays dark. The WAN port of the device is a hybrid LAN/WAN one, hence why the LED at the port was labled LAN. Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target/linux/ramips/mt76x8')
-rwxr-xr-xtarget/linux/ramips/mt76x8/base-files/etc/board.d/01_leds1
1 files changed, 1 insertions, 0 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 f397da14a3..f410c47eac 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
@@ -98,6 +98,7 @@ tplink,tl-wr841n-v14)
tplink,tl-wr902ac-v3)
ucidef_set_led_wlan "wlan2g" "wlan2g" "$boardname:green:wlan" "phy0tpt"
ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x10"
+ ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x10"
;;
unielec,u7628-01-16m)
ucidef_set_led_switch "lan1" "lan1" "u7628-01:green:lan1" "switch0" "0x2"