openwrt/target/linux
Piotr Dymacz 9c335accfe ath79: add support for TP-Link Archer A9 v6
TP-Link Archer A9 v6 (FCCID: TE7A9V6) is an AC1900 Wave-2 gigabit home
router based on a combination of Qualcomm QCN5502 (most likely a 4x4:4
version of the QCA9563 WiSOC), QCA9984 and QCA8337N.

The vendor's firmware content reveals that the same device might be
available on the US market under name 'Archer C90 v6'. Due to lack of
access to such hardware, support introduced in this commit was tested
only on the EU version (sold under 'Archer A9 v6' name).

Based on the information on the PL version of the vendor website, this
device has been already phased out and is no longer available.

Specifications:

- Qualcomm QCN5502 (775 MHz)
- 128 MB of RAM (DDR2)
- 16 MB of flash (SPI NOR)
- 5x Gbps Ethernet (Qualcomm QCA8337N over SGMII)
- Wi-Fi:
  - 802.11b/g/n on 2.4 GHz: Qualcomm QCN5502* in 4x4:4 mode
  - 802.11a/n/ac on 5 GHz: Qualcomm QCA9984 in 3x3:3 mode
  - 3x non-detachable, dual-band external antennas (~3.5 dBi for 5 GHz,
    ~2.2 dBi for 2.4 GHz, IPEX/U.FL connectors)
  - 1x internal PCB antenna for 2.4 GHz (~1.8 dBi)
- 1x USB 2.0 Type-A
- 11x LED (4x connected to QCA8337N, 7x connected to QCN5502)
- 2x button (reset, WPS)
- UART (4-pin, 2.54 mm pitch) header on PCB (not populated)
- 1x mechanical power switch
- 1x DC jack (12 V)

  *) unsupported due to missing support for QCN550x in ath9k

UART system serial console notice:

The RX signal of the main SOC's UART on this device is shared with the
WPS button's GPIO. The first-stage U-Boot by default disables the RX,
resulting in a non-functional UART input.
If you press and keep 'ENTER' on the serial console during early
boot-up, the first-stage U-Boot will enable RX input.

Vendor firmware allows password-less access to the system over serial.

Flash instruction (vendor GUI):

1. It is recommended to first upgrade vendor firmware to the latest
   version (1.1.1 Build 20210315 rel.40637 at the time of writing).
2. Use the 'factory' image directly in the vendor's GUI.

Flash instruction (TFTP based recovery in second-stage U-Boot):

1. Rename 'factory' image to 'ArcherA9v6_tp_recovery.bin'
2. Setup a TFTP server on your PC with IP 192.168.0.66/24.
3. Press and hold the reset button for ~5 sec while turning on power.
4. The device will download image, flash it and reboot.

Flash instruction (web based recovery in first-stage U-Boot):

1. Use 'CTRL+C' during power-up to enable CLI in first-stage U-Boot.
2. Connect a PC with IP set to 192.168.0.1 to one of the LAN ports.
3. Issue 'httpd' command and visit http://192.168.0.1 in browser.
4. Use the 'factory' image.

If you would like to restore vendor's firmware, follow one of the
recovery methods described above.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2022-02-27 16:54:55 +01:00
..
apm821xx apm821xx: WNDR4700: use upstream tc654 cooling devices 2022-02-19 19:34:18 +01:00
archs38 kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
armvirt kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
at91 at91: remove pm debug features from sama5 kernel config 2022-02-26 19:52:41 +01:00
ath25 ath25: drop Linux 5.4 support 2022-02-17 11:08:58 +01:00
ath79 ath79: add support for TP-Link Archer A9 v6 2022-02-27 16:54:55 +01:00
bcm27xx Revert "bcm27xx: bcm27xx: update defconfig" 2022-02-24 20:45:12 +01:00
bcm47xx bcm47xx: switch to kernel 5.10 2021-11-08 15:56:39 +01:00
bcm53xx kernel: bump 5.10 to 5.10.92 2022-01-16 20:51:14 +01:00
bcm63xx bcm63xx: switch to Kernel 5.10 2022-02-27 14:41:28 +01:00
bcm4908 bcm4908: fix USB PHY support 2022-02-25 10:48:32 +01:00
bmips kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
gemini kernel: bump 5.10 to 5.10.94 2022-02-01 23:34:07 +00:00
generic mpc85xx: HiveAP-330: add tmp125 temperature sensor 2022-02-25 17:54:56 +01:00
imx imx: bump SDMA firmware to v3.6 2022-01-13 09:33:29 +01:00
ipq40xx ipq40xx: mikrotik: fix LED script 2022-02-20 14:24:43 +01:00
ipq806x ipq806x: Increase kernel size to 4 MB for EA8500/EA7500v1 2022-02-26 19:52:06 +01:00
kirkwood target/linux: replace egrep with grep -E 2022-02-07 00:03:27 +01:00
lantiq kernel: bump 5.10 to 5.10.94 2022-02-01 23:34:07 +00:00
layerscape kernel: bump 5.4 to 5.4.174 2022-01-28 22:06:03 +01:00
malta kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
mediatek mediatek: mt7623: drop RAMFS_COPY_BIN 2022-02-22 19:19:46 +00:00
mpc85xx mpc85xx: HiveAP-330: add tmp125 temperature sensor 2022-02-25 17:54:56 +01:00
mvebu mvebu: add targz feature flag 2022-02-24 15:32:57 +01:00
mxs kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
octeon octeon: switch to Kernel 5.10 2022-02-11 14:24:01 +01:00
octeontx octeontx: switch to 5.10 Kernel 2022-02-05 14:39:20 +01:00
omap omap: make use of 'rootfs-part' feature 2022-01-23 19:48:20 +00:00
oxnas kernel: bump 5.10 to 5.10.85 2021-12-17 15:10:22 +01:00
pistachio kernel: bump 5.10 to 5.10.95 2022-02-01 23:34:07 +00:00
qoriq qoriq: Expand generic subtarget description 2022-01-05 10:54:59 +02:00
ramips ramips: support TP-Link EAP615-Wall 2022-02-27 12:01:22 +02:00
realtek realtek: remove debugging code from timer 2022-02-20 16:23:58 +00:00
rockchip rockchip: disable UHS modes for NanoPi R4S 2022-01-27 01:44:28 +01:00
sunxi sunix: fix typo in kmod-ata-core 2022-02-18 01:31:15 +01:00
tegra kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
uml uml: make use of 'rootfs-part' feature 2022-01-23 19:48:31 +00:00
x86 x86: geode: fix package nameing kmod-crypto-ebc does not exist 2022-02-26 13:36:30 +01:00
zynq kernel: 5.10: consolidate mac80211 crypto options 2021-12-17 16:16:34 +01:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00