[RFC PATCH 0/7] ath79: support for TP-Link EAP2x5 devices

Sander Vanheule sander at svanheule.net
Fri Jul 17 07:37:33 EDT 2020


This patch series seeks to add support for the following devices:
 * TP-Link EAP245 v1
 * TP-Link EAP225 v3
 * TP-Link EAP225-Outdoor v1
Currently not included:
 * TP-Link EAP225 v1/v2

Note that the patches cannot be applied straight to master, but require
(at least) the first four patches (elf splitter and tplink safeloader)
of my pull request for the EAP245v3. (CC ynezz, rmilecki)
For these patches, see https://github.com/openwrt/openwrt/pull/3130 and
https://patchwork.ozlabs.org/project/openwrt/patch/c429526040b8753011fc905af8d32747c8da6d1b.1594471105.git.sander@svanheule.net/

The three first patches of this series are (derived from) work done by
Julien Dusser and were submitted earlier in the following pull requests
(reviewed by blogic, blocktrron, CodeFetch)
 * ar71xx: add support for TP-Link EAP245 v1
   https://github.com/openwrt/openwrt/pull/599
 * ath79: extra gmac configurations from DT on qca956x
   https://github.com/openwrt/openwrt/pull/2441

I have included Julien's patches verbatim for now (hence the RFC), but
can to strip them down to include only what's required for the last
four patches.

Questions:
 * I'm guessing you would like patches #1 and #2 to be submitted
   upstream to linux-mips?
 * The EAP245 v1 factory partition layout is different from, though
   compatible with, the layout provide in patch #4. The only difference
   this would make, is a slightly smaller firmware partition and perhaps
   the odd confused user downloading seeking to extract the original
   user-config partition. Using only one layout does simplify the DTs,
   which is why I went with the current approach.
 * I can probably provide working support for the EAP225 v1/v2, given
   the minimal differences between the devices. However, I do not have
   this device to test an image, nor has anyone offered to test on the
   forums. This device would have a similar flashing procedure as the
   EAP245 v1. Would you nevertheless want me to provide a patch?

Julien Dusser (3):
  ath79: add lots of missing regs for QCA956x
  ath79: export more QCA956x GMAC settings to DT
  ath79: add QCA956x SERDES init workaround

Sander Vanheule (4):
  ath79: prepare for 1-port TP-Link EAP2x5 devices
  ath79: support for TP-Link EAP245 v1
  ath79: support for TP-Link EAP225-Outdoor v1
  ath79: support for TP-Link EAP225 v3

 .../ath79/dts/qca9563_tplink_eap225-v3.dts    |  21 ++
 .../ath79/dts/qca9563_tplink_eap225od-v1.dts  |  21 ++
 .../ath79/dts/qca9563_tplink_eap245-v1.dts    |  26 +++
 .../dts/qca9563_tplink_eap2x5_1port.dtsi      | 174 ++++++++++++++++
 .../net/ethernet/atheros/ag71xx/ag71xx_gmac.c |  14 ++
 .../net/ethernet/atheros/ag71xx/ag71xx_main.c |  78 ++++++++
 .../generic/base-files/etc/board.d/02_network |   3 +
 .../etc/hotplug.d/firmware/11-ath10k-caldata  |  10 +-
 target/linux/ath79/image/generic-tp-link.mk   |  38 ++++
 .../920-qca956x-add-more-registers.patch      | 186 ++++++++++++++++++
 .../920-qca956x-add-more-registers.patch      | 186 ++++++++++++++++++
 tools/firmware-utils/src/tplink-safeloader.c  |  85 ++++++++
 12 files changed, 841 insertions(+), 1 deletion(-)
 create mode 100644 target/linux/ath79/dts/qca9563_tplink_eap225-v3.dts
 create mode 100644 target/linux/ath79/dts/qca9563_tplink_eap225od-v1.dts
 create mode 100644 target/linux/ath79/dts/qca9563_tplink_eap245-v1.dts
 create mode 100644 target/linux/ath79/dts/qca9563_tplink_eap2x5_1port.dtsi
 create mode 100644 target/linux/ath79/patches-4.19/920-qca956x-add-more-registers.patch
 create mode 100644 target/linux/ath79/patches-5.4/920-qca956x-add-more-registers.patch

-- 
2.26.2




More information about the openwrt-devel mailing list