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-16 13:37:55 +0300
committerJohn Crispin <john@phrozen.org>2018-06-18 18:21:20 +0200
commit71ae0792bad1b0eeb476513e15b326409f15ccb0 (patch)
tree6c5b440e0ae27c02c0250a165e734f10827137a6 /target/linux/ath79/base-files/etc/board.d/01_leds
parentcad843e1f57790a08dd4804011b6cd3a4796786b (diff)
downloadupstream-71ae0792bad1b0eeb476513e15b326409f15ccb0.tar.gz
upstream-71ae0792bad1b0eeb476513e15b326409f15ccb0.tar.bz2
upstream-71ae0792bad1b0eeb476513e15b326409f15ccb0.zip
ath79: add tl-wr1043nd-v4 support everything is working
tplink-safeloader: resize kernel partition kernel 4.14 is much bigger, resize the partition 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 d1906f9231..92b7e7da3e 100755
--- a/target/linux/ath79/base-files/etc/board.d/01_leds
+++ b/target/linux/ath79/base-files/etc/board.d/01_leds
@@ -25,6 +25,13 @@ case "$board" in
"tplink,tl-mr3020-v1")
ucidef_set_led_switch "lan" "LAN" "tp-link:green:lan" "switch0" "0x02"
;;
+"tplink,tl-wr1043nd-v4")
+ ucidef_set_led_switch "wan" "WAN" "tp-link:green:wan" "switch0" "0x20"
+ 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"
+ ;;
"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"