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-07-30 16:21:12 +0300
committerJohn Crispin <john@phrozen.org>2018-07-30 16:14:49 +0200
commitaccb67e582429e398605034d900f46b877a5aa63 (patch)
tree63ef46ed2dc46423518b9b0cc2eadc92b50c7030 /target/linux/ath79/base-files/etc/board.d/01_leds
parentce93445cd6058ae37ca3d257792f68cd98e758da (diff)
downloadupstream-accb67e582429e398605034d900f46b877a5aa63.tar.gz
upstream-accb67e582429e398605034d900f46b877a5aa63.tar.bz2
upstream-accb67e582429e398605034d900f46b877a5aa63.zip
ath79: add support for tl-wr841n-v9
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_leds7
1 files changed, 7 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 4fa4434efe..e73a0a03c9 100755
--- a/target/linux/ath79/base-files/etc/board.d/01_leds
+++ b/target/linux/ath79/base-files/etc/board.d/01_leds
@@ -66,6 +66,13 @@ case "$board" in
ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x10"
ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
;;
+"tplink,tl-wr841n-v9")
+ ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth0"
+ ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x10"
+ ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
+ ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x04"
+ ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
+ ;;
esac
board_config_flush