[OpenWrt-Devel] [PATCH v2 0/4] ath79: add support for QCA9563-based Netgear WNDR routers

John Crispin john at phrozen.org
Wed Jan 15 15:02:46 EST 2020


On 22/12/2019 21:50, Michal Cieslakiewicz wrote:
> This patchset introduces support for two Netgear dual-band routers
> based on the same PCB (29764821) with QCA9563 SoC, AR9580 5GHz chip,
> 128 MiB RAM, 2 MiB SPI-NOR + 128 MiB SPI-NAND flash:
> * Netgear WNDR4300 v2
> * Netgear WNDR4500 v3
> 
> WNDR4300v2 has been tested successfully with this patchset applied
> to master branch. Since I have no access to 4500v3, configuration
> for this device is based on information provided by various websites,
> including abandoned ar71xx patch https://patchwork.ozlabs.org/patch/809227/
> 
> Note: technical wikis claim device is running CPU @ 750 MHz, while on my
> WNDR4300v2 both u-boot and OpenWrt report CPU clock value of 775 MHz.
> 
> MAC address printed on device label is for LAN interface (ART offset 0x0).
> 
> Patch #1 is a prerequisite and allows to unmask certain pins for
> ath9k-compatible wireless chips using Device Tree definition. Parameter
> is labelled "qca,gpio-mask" and accepts u32 value (see *_GPIO_MASK
> constants in ath9k/reg.h file). One of main reasons for blocking access
> to these pins is that they provide only one-way communication (in or out).
> Here - setting new mask to 0xf6ff (default one is 0xf4ff) enables RFKILL
> button wired to input pin 9.

Merged, thanks !

> Changes v1->v2:
> * kernel partition size increased from 2 MiB to 4 MiB for all Netgear WNDR
>    routers with NAND flash, including AR9344 models (WNDR4300 and WNDR3700v4)
>    already in master (patch 2/4 added)
> * dropped 'firmware' overlay partition
> 
> Patch list (4):
>    mac80211: ath9k: add GPIO mask dts property
>    ath79: WNDR4300: increase kernel partition to 4M
>    ath79: add support for Netgear WNDR4300 v2
>    ath79: add support for Netgear WNDR4500 v3
> 
>   package/boot/uboot-envtools/files/ath79       |   2 +
>   .../patches/ath/553-ath9k_of_gpio_mask.patch  |  25 ++
>   .../linux/ath79/dts/ar9344_netgear_wndr.dtsi  |  10 +-
>   .../linux/ath79/dts/qca9563_netgear_wndr.dtsi | 256 ++++++++++++++++++
>   .../ath79/dts/qca9563_netgear_wndr4300-v2.dts |  19 ++
>   .../ath79/dts/qca9563_netgear_wndr4500-v3.dts |  41 +++
>   target/linux/ath79/image/nand.mk              |  24 +-
>   .../ath79/nand/base-files/etc/board.d/01_leds |   4 +-
>   .../nand/base-files/etc/board.d/02_network    |   8 +-
>   .../etc/hotplug.d/firmware/10-ath9k-eeprom    |   8 +-
>   10 files changed, 386 insertions(+), 11 deletions(-)
>   create mode 100644 package/kernel/mac80211/patches/ath/553-ath9k_of_gpio_mask.patch
>   create mode 100644 target/linux/ath79/dts/qca9563_netgear_wndr.dtsi
>   create mode 100644 target/linux/ath79/dts/qca9563_netgear_wndr4300-v2.dts
>   create mode 100644 target/linux/ath79/dts/qca9563_netgear_wndr4500-v3.dts
> 


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list