aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files/etc/board.d/01_leds
diff options
context:
space:
mode:
authorLucian Cristian <lucian.cristian@gmail.com>2018-06-08 11:51:00 +0300
committerJohn Crispin <john@phrozen.org>2018-06-08 12:19:49 +0200
commitc8677ca89e53e3be7988d54280fce166cc894a7e (patch)
tree9acaaf920db38b001d84df155938264dd2a6d3b8 /target/linux/ath79/base-files/etc/board.d/01_leds
parent8c15fb5240871cbaf806384c3f521b0089645460 (diff)
downloadupstream-c8677ca89e53e3be7988d54280fce166cc894a7e.tar.gz
upstream-c8677ca89e53e3be7988d54280fce166cc894a7e.tar.bz2
upstream-c8677ca89e53e3be7988d54280fce166cc894a7e.zip
ath79: add tl-mr3020-v1 support
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
Diffstat (limited to 'target/linux/ath79/base-files/etc/board.d/01_leds')
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/01_leds3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/01_leds b/target/linux/ath79/base-files/etc/board.d/01_leds
index 80e32d9e00..0ba03b25a0 100755
--- a/target/linux/ath79/base-files/etc/board.d/01_leds
+++ b/target/linux/ath79/base-files/etc/board.d/01_leds
@@ -27,6 +27,9 @@ case "$board" in
"glinet,ar150")
ucidef_set_led_wlan "wlan" "WLAN" "gl-ar150:orange:wlan" "phy0tpt"
;;
+"tplink,tl-mr3020-v1")
+ ucidef_set_led_switch "lan" "LAN" "tp-link:green:lan" "switch0" "0x02"
+ ;;
"tplink,tl-wr740n-v2")
ucidef_set_led_netdev "wan" "WAN" "$boardname:green:wan" "eth0"
ucidef_set_led_switch "lan1" "LAN1" "$boardname:green:lan1" "switch0" "0x02"