From 7152bc84f4adc750112bc426244e93cba8d2a922 Mon Sep 17 00:00:00 2001 From: Marcin Gordziejewski Date: Fri, 8 Apr 2022 00:29:20 +0200 Subject: ramips: add support for TP-Link RE650 v2 TP-Link RE650 v2 is largely similar to v1 that is already supported by OpenWrt. Notable differences is differnt SPI Flash - 8 MB instead of 16 MB (from cFeon instead of Winbond) and a different configuration of PCIE connections to wifi chips. Otherwise it's largely the same product as v1 Hardware specification: - SoC 880 MHz - MediaTek MT7621AT - 128 MB of DDR3 RAM - 8 MB - cFeon QH64A-104HIP - 4T4R 2.4 GHz - MediaTek MT7615E - 4T4R 5 GHz - MediaTek MT7615E - 1x 1 Gbps Ethernet - MT7621AT integrated - 7x LEDs (Power, 2G, 5G, WPS(x2), Lan(x2)) - 4x buttons (Reset, Power, WPS, LED) - UART pinout - GND, RX, TX, labeled in the middle of the PCB, requires soldering because they're not through holes. Serial console @ 57600,8n1 Flash instructions: Upload openwrt-ramips-mt7621-tplink_re650-v2-squashfs-factory.bin from the RE650 web interface. TFTP recovery to stock firmware: I didn't try recovering back to the stock firmware, however, if there is such process for other RExxx devices, it seems like it could be similar here. Signed-off-by: Marcin Gordziejewski (cherry picked from commit 39799974a372fb4333d21f077c670b8a56b9d696) --- target/linux/ramips/mt7621/base-files/etc/board.d/01_leds | 3 ++- target/linux/ramips/mt7621/base-files/etc/board.d/02_network | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'target/linux/ramips/mt7621/base-files') diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds b/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds index fc6e7ede3c..2cb8fdb557 100644 --- a/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/mt7621/base-files/etc/board.d/01_leds @@ -120,7 +120,8 @@ tplink,re350-v1) ucidef_set_led_netdev "eth_link" "LAN link" "green:eth_link" "lan" "link" ;; tplink,re500-v1|\ -tplink,re650-v1) +tplink,re650-v1|\ +tplink,re650-v2) ucidef_set_led_netdev "eth_act" "LAN act" "green:eth_act" "lan" "tx rx" ucidef_set_led_netdev "eth_link" "LAN link" "green:eth_link" "lan" "link" ;; diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network index 8e89ccacba..75842f4cbc 100644 --- a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network +++ b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network @@ -17,6 +17,7 @@ ramips_setup_interfaces() tplink,re350-v1|\ tplink,re500-v1|\ tplink,re650-v1|\ + tplink,re650-v2|\ ubnt,unifi-6-lite|\ ubnt,unifi-nanohd) ucidef_set_interface_lan "lan" -- cgit v1.2.3