diff options
author | Marcin Jurkowski <marcin1j@gmail.com> | 2018-12-16 02:22:45 +0100 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-03-24 01:44:27 +0100 |
commit | fcc716e21d7fa07c68bac8886cef122d35fbbc01 (patch) | |
tree | c464c86b7425e859e5209f291695e9b29d6beaf0 /target/linux/ath79/base-files | |
parent | 8de907c441db8a4aae746f44ee2c4651225d389f (diff) | |
download | upstream-fcc716e21d7fa07c68bac8886cef122d35fbbc01.tar.gz upstream-fcc716e21d7fa07c68bac8886cef122d35fbbc01.tar.bz2 upstream-fcc716e21d7fa07c68bac8886cef122d35fbbc01.zip |
ath79: add TP-Link TL-WR710N v1
This commit adds support for TP-Link TL-WR710N v1 router.
CPU: Atheros AR9331 400MHz
RAM: 32MB
FLASH: 8MiB
PORTS: 1 Port 100/10 LAN (connected to a switch), 1 Port 100/10 WAN
WiFi: Atheros AR9331 1x2:1 bgn
USB: ChipIdea HDRC USB2.0
LED: SYS
BTN: Reset
Sysupgrade from `ar71xx` works without glitches.
Network interfaces assigned for LAN and WAN ports are `eth1` and `eth0`
respectively, what's consistent with `ar71xx` target. Wireless radio
path is automatically upgraded from `platform/ar933x_wmac` to
`platform/ahb/18100000.wmac`.
Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
Diffstat (limited to 'target/linux/ath79/base-files')
-rwxr-xr-x | target/linux/ath79/base-files/etc/board.d/02_network | 5 | ||||
-rw-r--r-- | target/linux/ath79/base-files/etc/hotplug.d/ieee80211/00-wmac-migration | 4 |
2 files changed, 9 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 9d7e1dea40..13dce9aa58 100755 --- a/target/linux/ath79/base-files/etc/board.d/02_network +++ b/target/linux/ath79/base-files/etc/board.d/02_network @@ -205,6 +205,11 @@ ath79_setup_interfaces() ucidef_add_switch "switch0" \ "0@eth1" "1:lan" "2:lan" "3:lan" "4:lan" ;; + tplink,tl-wr710n-v1) + ucidef_set_interface_wan "eth0" + ucidef_add_switch "switch0" \ + "0@eth1" "3:lan" + ;; tplink,tl-wr740n-v4|\ tplink,tl-wr741nd-v4|\ tplink,tl-wr841-v8|\ diff --git a/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/00-wmac-migration b/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/00-wmac-migration index b86db0dbcc..b051daf98c 100644 --- a/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/00-wmac-migration +++ b/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/00-wmac-migration @@ -14,6 +14,10 @@ migrate_wmac_path() { path="platform/ahb/ahb:apb/18100000.wmac" WMAC_PATH_CHANGED=1 ;; + "platform/ar933x_wmac") + path="platform/ahb/18100000.wmac" + WMAC_PATH_CHANGED=1 + ;; *) return 0 ;; |