aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files
diff options
context:
space:
mode:
authorChuanhong Guo <gch981213@gmail.com>2019-01-20 23:30:27 +0800
committerPetr Štetiar <ynezz@true.cz>2019-03-24 01:44:27 +0100
commit8de907c441db8a4aae746f44ee2c4651225d389f (patch)
tree74780aaa596e68f0595f21d525891ae4c37cf159 /target/linux/ath79/base-files
parent3d93b35f039de86830565420968715b300066475 (diff)
downloadupstream-8de907c441db8a4aae746f44ee2c4651225d389f.tar.gz
upstream-8de907c441db8a4aae746f44ee2c4651225d389f.tar.bz2
upstream-8de907c441db8a4aae746f44ee2c4651225d389f.zip
ath79: add support for TP-Link TL-WR941N v7 (CN)
This adds support for the Chinese version of TL-WR941N v7. It uses QCA9558+AR8236 while the international version uses TP9343 instead. Specification: - SoC: Qualcomm Atheros QCA9558 - Flash: 4 MB - RAM: 64 MB - Ethernet: Atheros AR8236 with 5 FE ports Flash instruction: Upload the generated factory firmware on web interface. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Diffstat (limited to 'target/linux/ath79/base-files')
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/02_network6
1 files changed, 4 insertions, 2 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 c5bb70ae99..9d7e1dea40 100755
--- a/target/linux/ath79/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/base-files/etc/board.d/02_network
@@ -177,7 +177,8 @@ ath79_setup_interfaces()
tplink,archer-c7-v4|\
tplink,archer-c7-v5|\
tplink,tl-wdr3600|\
- tplink,tl-wdr4300)
+ tplink,tl-wdr4300|\
+ tplink,tl-wr941n-v7-cn)
ucidef_add_switch "switch0" \
"0@eth0" "2:lan:1" "3:lan:2" "4:lan:3" "5:lan:4" "1:wan"
;;
@@ -318,7 +319,8 @@ ath79_setup_macs()
base_mac=$(mtd_get_mac_binary product-info 8)
wan_mac=$(macaddr_add "$base_mac" 1)
;;
- tplink,tl-wr941-v2)
+ tplink,tl-wr941-v2|\
+ tplink,tl-wr941n-v7-cn)
base_mac=$(mtd_get_mac_binary u-boot 130048)
wan_mac=$(macaddr_add "$base_mac" 1)
;;