diff options
author | Alex Maclean <monkeh@monkeh.net> | 2017-07-23 20:06:44 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-07-25 21:02:53 +0200 |
commit | f683385e73f09c13fd08c3d352f3f1739c1944c4 (patch) | |
tree | d5a10f6a8d7fbfa6a6639b9a202a88c6cc7616eb /target/linux/ramips/base-files/etc | |
parent | 1c7144f078c98dbf0e6c70c534b98fe6186f19d6 (diff) | |
download | upstream-f683385e73f09c13fd08c3d352f3f1739c1944c4.tar.gz upstream-f683385e73f09c13fd08c3d352f3f1739c1944c4.tar.bz2 upstream-f683385e73f09c13fd08c3d352f3f1739c1944c4.zip |
ramips: add support for TP-Link RE350
The TP-Link RE350 is a wall-wart AC1200 range extender/access point with
a single gigabit ethernet port and two non-detachable antennas, based on
the MT7621A SoC with MT7603E and MT7612E radios.
Firmware wise it is very similar to the QCA based RE450.
SoC: MediaTek MT7621A (880MHz)
Flash: 8MiB (Winbond W25Q64)
RAM: 64MiB (DDR2)
Ethernet: 1x 1Gbit
Wireless: 2T2R 2.4Ghz (MT7603E) and 5GHz (MT7612E)
LEDs: Power, 2.4G, 5G (blue), WPS (red and blue), ethernet link/act
(green)
Buttons: On/off, LED, reset, WPS
Serial header at J1, 57600 8n1:
Pin 1 TX
Pin 2 RX
Pin 3 GND
Pin 4 3.3V
Factory image can be uploaded directly through the stock UI.
Signed-off-by: Alex Maclean <monkeh@monkeh.net>
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/01_leds | 6 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 4 | ||||
-rw-r--r-- | target/linux/ramips/base-files/etc/diag.sh | 1 |
3 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index 83141dedd8..8ea464516c 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -308,6 +308,12 @@ r6220) set_wifi_led "$board:green:wifi" set_usb_led "$board:green:usb" ;; +re350-v1) + ucidef_set_led_netdev "wifi2g" "Wifi 2.4G" "$board:blue:wifi2G" "wlan0" + ucidef_set_led_netdev "wifi5g" "Wifi 5G" "$board:blue:wifi5G" "wlan1" + ucidef_set_led_netdev "eth_act" "LAN act" "$board:green:eth_act" "eth0" "tx rx" + ucidef_set_led_switch "eth_link" "LAN link" "$board:green:eth_link" "switch0" "0x01" + ;; re6500) ucidef_set_led_default "power" "power" "$board:white:power" "1" ucidef_set_led_default "wifi" "wifi" "$board:orange:wifi" "1" diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index d0f3fce135..5cc711949f 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -270,6 +270,10 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "1:lan:2" "2:lan:1" "4:wan" "6@eth0" ;; + re350-v1) + ucidef_add_switch "switch0" \ + "0:lan" "6@eth0" + ;; re6500) ucidef_add_switch "switch0" \ "0:lan:1" "1:lan:2" "2:lan:3" "3:lan:4" "6@eth0" diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 1349c00b32..3933357aad 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -119,6 +119,7 @@ get_status_led() { dap-1350|\ na930|\ pbr-m1|\ + re350-v1|\ rt-ac51u|\ rt-n13u|\ rt-n14u|\ |