aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files
diff options
context:
space:
mode:
authorChristoph Krapp <achterin@googlemail.com>2019-07-16 20:47:49 +0200
committerDavid Bauer <mail@david-bauer.net>2019-07-17 23:14:23 +0200
commit6fde0b735c455f834b1ffc10d38c24f056839b29 (patch)
tree4ca03c01aab370af54e3b1352ecd5d827733ba6a /target/linux/ath79/base-files
parent8c51ddeff0876b439ac35a3f492ab719085bfb9c (diff)
downloadupstream-6fde0b735c455f834b1ffc10d38c24f056839b29.tar.gz
upstream-6fde0b735c455f834b1ffc10d38c24f056839b29.tar.bz2
upstream-6fde0b735c455f834b1ffc10d38c24f056839b29.zip
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>
Diffstat (limited to 'target/linux/ath79/base-files')
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/01_leds2
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/02_network2
-rw-r--r--target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata5
-rw-r--r--target/linux/ath79/base-files/etc/uci-defaults/04_led_migration6
4 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/01_leds b/target/linux/ath79/base-files/etc/board.d/01_leds
index ecfb7b0694..054863b1ba 100755
--- a/target/linux/ath79/base-files/etc/board.d/01_leds
+++ b/target/linux/ath79/base-files/etc/board.d/01_leds
@@ -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"
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 56650c3f6b..029aadc3eb 100755
--- a/target/linux/ath79/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/base-files/etc/board.d/02_network
@@ -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|\
diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
index 149d744eb8..bdc0faffc8 100644
--- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
+++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
@@ -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)
diff --git a/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration b/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration
index bc40d22c09..b1afd0ee76 100644
--- a/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration
+++ b/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration
@@ -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:"
;;