ath79: add support for TP-Link RE355 v1 and RE450 v1

Specification:

SoC: Qualcomm Atheros QCA9558
RAM: 64/128MiB
Flash: 8MiB SPI-NOR
Wifi:
  - 2.4GHz: 3T3R (QCA9558)
  - 5GHz: 3T3R (QCA9880)
LAN: 1x 10/100/1000 Mbps
UART:
  - TP1: Tx
  - TP2: Rx
  - TP3: Gnd
  - TP4: 3v3

Flash instructions:
Flash factory image through stock firmware WEB UI.

Signed-off-by: Christoph Krapp <achterin@googlemail.com>
This commit is contained in:
Christoph Krapp
2019-07-16 20:47:49 +02:00
committed by David Bauer
parent 8c51ddeff0
commit 6fde0b735c
8 changed files with 240 additions and 0 deletions

View File

@@ -161,6 +161,8 @@ tplink,cpe210-v3)
tplink,cpe610-v1)
ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
;;
tplink,re355-v1|\
tplink,re450-v1|\
tplink,re450-v2)
ucidef_set_led_netdev "lan_data" "LAN Data" "tp-link:green:lan_data" "eth0" "tx rx"
ucidef_set_led_netdev "lan_link" "LAN Link" "tp-link:green:lan_link" "eth0" "link"

View File

@@ -30,6 +30,8 @@ ath79_setup_interfaces()
tplink,cpe210-v3|\
tplink,cpe610-v1|\
tplink,re350k-v1|\
tplink,re355-v1|\
tplink,re450-v1|\
tplink,re450-v2|\
tplink,tl-mr10u|\
tplink,tl-mr3020-v1|\

View File

@@ -163,6 +163,11 @@ case "$FIRMWARE" in
ath10kcal_extract "art" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(mtd_get_mac_binary config 0x10008) +2)
;;
tplink,re355-v1|\
tplink,re450-v1)
ath10kcal_extract "art" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) -2)
;;
tplink,re450-v2)
ath10kcal_extract "art" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(mtd_get_mac_binary info 8) +1)

View File

@@ -18,6 +18,12 @@ tplink,archer-c7-v4)
tplink,archer-c7-v5)
migrate_leds "archer-c7-v5:=tp-link:"
;;
tplink,re355-v1)
migrate_leds "re355:=tp-link:"
;;
tplink,re450-v1)
migrate_leds "re450:=tp-link:"
;;
wd,mynet-n750)
migrate_leds "wd:=mynet-n750:"
;;