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 | |
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')
-rwxr-xr-x | target/linux/ath79/base-files/etc/board.d/02_network | 7 | ||||
-rw-r--r-- | target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom | 3 |
2 files changed, 10 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" \ diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom index 7023fa5e58..37df2579fc 100644 --- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom +++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom @@ -56,7 +56,10 @@ case "$FIRMWARE" in ;; "netgear,wnr612-v2"|\ "on,n150r"|\ + "tplink,tl-mr3220-v1"|\ + "tplink,tl-mr3420-v1"|\ "tplink,tl-wr740n-v2"|\ + "tplink,tl-wr841-v7"|\ "tplink,tl-wr2543-v1"|\ "ubnt,unifi") ath9k_eeprom_extract "art" 4096 2048 |