Skip to content

Commit 5572e01

Browse files
timnoackhauke
authored andcommitted
ath79: add support for TP-Link CPE710-v2
TP-Link CPE710-v2 is an outdoor wireless CPE for 5 GHz with one Ethernet port based on the AP152 reference board. Compared to the CPE710-v1, the only change observed in hardware is that the mdio address of the ethernet physical changed from 0x4 to 0x0. Specifications: - SoC: QCA9563-AL3A MIPS 74kc @ 775MHz, AHB @ 258MHz - RAM: 128MiB DDR2 @ 650MHz - Flash: 16MiB SPI NOR Based on the GD25Q128 - Wi-Fi 5Ghz: ath10k chip (802.11ac for up to 867Mbps on 5GHz wireless data rate), based on the QCA9896 - Ethernet: one 1GbE port - 23dBi high-gain directional 2×2 MIMO parabolic antenna - Power, LAN, WLAN5G Blue LEDs Flashing instructions: Flash factory image through stock firmware WEB UI or through TFTP To get to TFTP recovery just hold reset button while powering on for around 30-40 seconds and release. Rename factory image to recovery.bin Stock TFTP server IP:192.168.0.100 Stock device TFTP address:192.168.0.254 Signed-off-by: Tim Noack <[email protected]> Link: openwrt/openwrt#16637 Signed-off-by: Hauke Mehrtens <[email protected]>
1 parent 832cc8c commit 5572e01

File tree

4 files changed

+34
-1
lines changed

4 files changed

+34
-1
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2+
3+
#include "qca9563_tplink_cpe710.dtsi"
4+
5+
/ {
6+
model = "TP-Link CPE710 v2";
7+
compatible = "tplink,cpe710-v2", "qca,qca9563";
8+
};
9+
10+
&mdio0 {
11+
phy0: ethernet-phy@0 {
12+
reg = <0>;
13+
reset-gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
14+
};
15+
};
16+
17+
&eth0 {
18+
phy-handle = <&phy0>;
19+
phy-mode = "sgmii";
20+
};

target/linux/ath79/generic/base-files/etc/board.d/01_leds

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,8 @@ openmesh,mr900-v1|\
222222
openmesh,mr900-v2|\
223223
openmesh,mr1750-v1|\
224224
openmesh,mr1750-v2|\
225-
tplink,cpe710-v1)
225+
tplink,cpe710-v1|\
226+
tplink,cpe710-v2)
226227
ucidef_set_led_netdev "lan" "LAN" "blue:lan" "eth0"
227228
;;
228229
compex,wpj344-16m|\

target/linux/ath79/generic/base-files/etc/board.d/02_network

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ ath79_setup_interfaces()
8989
tplink,cpe610-v1|\
9090
tplink,cpe610-v2|\
9191
tplink,cpe710-v1|\
92+
tplink,cpe710-v2|\
9293
tplink,eap225-outdoor-v1|\
9394
tplink,eap225-outdoor-v3|\
9495
tplink,eap225-v1|\

target/linux/ath79/image/generic-tp-link.mk

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,17 @@ define Device/tplink_cpe710-v1
391391
endef
392392
TARGET_DEVICES += tplink_cpe710-v1
393393

394+
define Device/tplink_cpe710-v2
395+
$(Device/tplink-safeloader-uimage)
396+
SOC := qca9563
397+
IMAGE_SIZE := 15680k
398+
DEVICE_MODEL := CPE710
399+
DEVICE_VARIANT := v2
400+
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
401+
TPLINK_BOARD_ID := CPE710V2
402+
endef
403+
TARGET_DEVICES += tplink_cpe710-v2
404+
394405
define Device/tplink-eap2x5
395406
$(Device/tplink-safeloader)
396407
LOADER_TYPE := elf

0 commit comments

Comments
 (0)