diff options
author | Dmytro Smyrnov <dioptimizer@hotmail.com> | 2018-06-26 17:01:47 +0300 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-06-28 20:31:47 +0200 |
commit | 40218a2632697c86ab077497fc99b0f7a3719926 (patch) | |
tree | 56a93d42f45b355a9cfc37d0d80d1fcbe3015dc0 /target/linux/ath79/base-files/etc/board.d/02_network | |
parent | 25070f71062e57c08e27b921868178b09274602a (diff) | |
download | upstream-40218a2632697c86ab077497fc99b0f7a3719926.tar.gz upstream-40218a2632697c86ab077497fc99b0f7a3719926.tar.bz2 upstream-40218a2632697c86ab077497fc99b0f7a3719926.zip |
ath79: add support for more AR7241 TP-Link boards
Its common AP99(AR7241) platform with following devices:
TP-Link TL-WR841N/ND v7 (SoC AR7241 / Wifi AR9287 / without USB)
TP-Link TL-MR3220 v1 (SoC AR7241 / Wifi AR9285 / USB support)
TP-Link TL-MR3420 v1 (SoC AR7241 / Wifi AR9287 / USB support)
Signed-off-by: Dmytro Smyrnov <dioptimizer@hotmail.com>
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ath79/base-files/etc/board.d/02_network')
-rwxr-xr-x | target/linux/ath79/base-files/etc/board.d/02_network | 7 |
1 files changed, 7 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 d60406e163..5601c789b0 100755 --- a/target/linux/ath79/base-files/etc/board.d/02_network +++ b/target/linux/ath79/base-files/etc/board.d/02_network @@ -50,6 +50,13 @@ ath79_setup_interfaces() ucidef_set_interface_lan "eth0.1" ucidef_add_switch "switch0" "0@eth0" "1:lan" ;; + "tplink,tl-mr3220-v1"|\ + "tplink,tl-mr3420-v1"|\ + "tplink,tl-wr841-v7") + ucidef_set_interface_wan "eth0" + ucidef_add_switch "switch0" \ + "0@eth1" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" + ;; "tplink,tl-wdr3600"|\ "tplink,tl-wdr4300") ucidef_add_switch "switch0" \ |