aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/generic/base-files/etc/board.d/02_network
diff options
context:
space:
mode:
authorEnrico Mioso <mrkiko.rs@gmail.com>2020-01-17 13:15:52 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-01-21 14:15:48 +0100
commitb99b60b2f164cb62212dd9812ddc8ce8df9f90a9 (patch)
treeaef2081a247d8db840f886e671fb10539f39be68 /target/linux/ath79/generic/base-files/etc/board.d/02_network
parent83708f233daceacebd1c49da44711cc87b49162a (diff)
downloadupstream-b99b60b2f164cb62212dd9812ddc8ce8df9f90a9.tar.gz
upstream-b99b60b2f164cb62212dd9812ddc8ce8df9f90a9.tar.bz2
upstream-b99b60b2f164cb62212dd9812ddc8ce8df9f90a9.zip
ath79: add support for TP-Link TL-MR6400
This device is an LTE router supported in ar71xx so far. As per original commit, hardware specifications (v1.0 EU): - SoC: QCA9531 - Flash: Winbond W25Q64FV (8MiB) - RAM: EtronTech EM6AB160TSE-5G (64MiB) - Wireless: SoC platform only (2.4GHz b/g/n, 2x internal antenna) - Ethernet: 2NIC (3x100M + 1x100M) - WWAN: TP-LINK LTE MODULE (2x external detachable antenna) - Power: DC 12V 1A Flashing instructions: You can flash via tftp recovery (serve factory image as /mr6400_tp_recovery.bin on 192.168.0.66/24, connect to any ethernet port and power on device while holding the reset button). Flashing via OEM web interface does not work. Known issues: - LTE module does not always come up during boot (showing USB enumeration errors). Similar behavior has been reported at least from one user for ar71xx, too. Turning USB off and on again will serve as a workaround. - eth0 (LAN) always shows carrier as 1 even if no cable is plugged in (this works "correctly" on ar71xx) Signed-off-by: Enrico Mioso <mrkiko.rs@gmail.com> [several adjustments] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Tested-by: Filip Moc <lede@moc6.cz>
Diffstat (limited to 'target/linux/ath79/generic/base-files/etc/board.d/02_network')
-rwxr-xr-xtarget/linux/ath79/generic/base-files/etc/board.d/02_network5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network
index a96b504d5a..0bae9dc384 100755
--- a/target/linux/ath79/generic/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network
@@ -236,6 +236,11 @@ ath79_setup_interfaces()
ucidef_add_switch "switch0" \
"0@eth0" "2:lan:3" "3:lan:2" "4:lan:1" "1:wan"
;;
+ tplink,tl-mr6400-v1)
+ ucidef_set_interfaces_lan_wan "eth0.1 eth1" "usb0"
+ ucidef_add_switch "switch0" \
+ "0@eth0" "1:lan:1" "2:lan:3" "3:lan:2"
+ ;;
tplink,tl-wr842n-v2)
ucidef_set_interface_wan "eth1"
ucidef_add_switch "switch0" \