aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files/etc/board.d/02_network
diff options
context:
space:
mode:
authorRobert Marko <robimarko@gmail.com>2018-10-07 12:21:45 +0200
committerMathias Kresin <dev@kresin.me>2018-10-07 15:44:19 +0200
commitadbd9d1f1f07f77b0f511027c1cfea87cefe47be (patch)
tree20ac803227cdf236c23bef962aabac566b3352a4 /target/linux/ath79/base-files/etc/board.d/02_network
parentebd57de1f9894a91991fe19f200dba7b1104390c (diff)
downloadupstream-adbd9d1f1f07f77b0f511027c1cfea87cefe47be.tar.gz
upstream-adbd9d1f1f07f77b0f511027c1cfea87cefe47be.tar.bz2
upstream-adbd9d1f1f07f77b0f511027c1cfea87cefe47be.zip
ath79: Add support for TP-Link TL-WR842N-v2
This PR adds support for TP-Link TL-WR842N-v2 router which is supported by ar71xx to ath79. This is a low cost model with following specs: CPU: Atheros AR9341 SoC RAM: 32 MB DDR1 Flash: 8 MB NOR SPI Switch: Internal AR9341 5 port 10/100 Mbit Ports: 5x 10/100 Mbit(1x WAN, 4x LAN) USB: 1x USB2.0 WLAN: 2.4 GHZ AR9341 Installation: Simply flash the factory image through stock firmware WEB UI. Signed-off-by: Robert Marko <robimarko@gmail.com>
Diffstat (limited to 'target/linux/ath79/base-files/etc/board.d/02_network')
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/02_network5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network
index f782affe34..0cfe2c8247 100755
--- a/target/linux/ath79/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/base-files/etc/board.d/02_network
@@ -150,6 +150,11 @@ ath79_setup_interfaces()
ucidef_add_switch "switch0" \
"0@eth1" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1"
;;
+ tplink,tl-wr842n-v2)
+ ucidef_set_interface_wan "eth0"
+ ucidef_add_switch "switch0" \
+ "0@eth1" "1:lan:4" "2:lan:1" "3:lan:2" "4:lan:3"
+ ;;
tplink,tl-wr941-v2)
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan"
;;