mbox series

[0/6] ath79: support for TP-Link single-port EAP2x5 devices

Message ID 20201020084435.11797-1-sander@svanheule.net
Headers show
Series ath79: support for TP-Link single-port EAP2x5 devices | expand


Sander Vanheule Oct. 20, 2020, 8:44 a.m. UTC
This patch series adds support for a number of TP-Link devices:
  * EAP225 v3
  * EAP225-Outdoor v1
  * EAP245 v1

These devices are all based on the same platform, mainly differing in
5GHz radio and LEDs. Due to the bootloader not initialising the network
interface, two ag71xx patches are required to configure it correctly.

These patches have been submitted earlier:
  * RFC v2: https://patchwork.ozlabs.org/project/openwrt/list/?series=190805
  * Github pull-request: https://github.com/openwrt/openwrt/pull/3408

Since the pull-request on Github has been open for a month already, with
only a few minor comments from Adrian, I'm reposting here to also reach
those who don't follow Github.

Known issues:
  * Not compatible with Canadian firmware devices, which contain an
    extra property "region=CA" in the product-info partition.

Julien Dusser (1):
  ath79: add QCA956x SERDES init workaround

Sander Vanheule (5):
  ath79: ensure QCA956x gmac0 mux selects sgmii
  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

 .../dts/qca9563_tplink_eap225-outdoor-v1.dts  |  30 ++++
 .../ath79/dts/qca9563_tplink_eap225-v3.dts    |  30 ++++
 .../ath79/dts/qca9563_tplink_eap245-v1.dts    |  44 ++++++
 .../dts/qca9563_tplink_eap2x5-1port.dtsi      | 135 ++++++++++++++++++
 .../net/ethernet/atheros/ag71xx/ag71xx_main.c | 111 ++++++++++++++
 .../generic/base-files/etc/board.d/02_network |   3 +
 .../etc/hotplug.d/firmware/11-ath10k-caldata  |  13 +-
 target/linux/ath79/image/generic-tp-link.mk   |  33 +++++
 tools/firmware-utils/src/tplink-safeloader.c  |  84 +++++++++++
 9 files changed, 478 insertions(+), 5 deletions(-)
 create mode 100644 target/linux/ath79/dts/qca9563_tplink_eap225-outdoor-v1.dts
 create mode 100644 target/linux/ath79/dts/qca9563_tplink_eap225-v3.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