From c32008a37b81d0ab1062993241a1e9f0a8e73102 Mon Sep 17 00:00:00 2001 From: Wenli Looi Date: Sat, 12 Jun 2021 16:32:33 -0700 Subject: ath79: add partial support for Netgear EX7300v2 Hardware -------- SoC: QCN5502 Flash: 16 MiB RAM: 128 MiB Ethernet: 1 gigabit port Wireless No1: QCN5502 on-chip 2.4GHz 4x4 Wireless No2: QCA9984 pcie 5GHz 4x4 USB: none Installation ------------ Flash the factory image using the stock web interface or TFTP the factory image to the bootloader. What works ---------- - LEDs - Ethernet port - 5GHz wifi (QCA9984 pcie) What doesn't work ----------------- - 2.4GHz wifi (QCN5502 on-chip) (I was not able to make this work, probably because ath9k requires some changes to support QCN5502.) Signed-off-by: Wenli Looi --- target/linux/ath79/generic/base-files/etc/board.d/02_network | 1 + .../ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'target/linux/ath79/generic/base-files') diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network index 83e74f0651..b80f8cd266 100644 --- a/target/linux/ath79/generic/base-files/etc/board.d/02_network +++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network @@ -44,6 +44,7 @@ ath79_setup_interfaces() meraki,mr16|\ netgear,ex6400|\ netgear,ex7300|\ + netgear,ex7300-v2|\ ocedo,koala|\ ocedo,raccoon|\ onion,omega|\ diff --git a/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata index 109b33795a..787d56c237 100644 --- a/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata +++ b/target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata @@ -218,6 +218,10 @@ case "$FIRMWARE" in caldata_extract "caldata" 0x5000 0x2f20 ath10k_patch_mac $(mtd_get_mac_binary caldata 0xc) ;; + netgear,ex7300-v2) + caldata_extract "art" 0x5000 0x2f20 + ath10k_patch_mac $(mtd_get_mac_binary artmtd 0xc) + ;; phicomm,k2t) caldata_extract "art" 0x5000 0x2f20 ath10k_patch_mac $(k2t_get_mac "5g_mac") -- cgit v1.2.3