aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/generic/base-files
diff options
context:
space:
mode:
authorWenli Looi <wlooi@ucalgary.ca>2021-06-12 16:32:33 -0700
committerHauke Mehrtens <hauke@hauke-m.de>2022-02-07 00:03:27 +0100
commitc32008a37b81d0ab1062993241a1e9f0a8e73102 (patch)
treebde00c3a371be4fb24cd10a19202cfc3f4d64a05 /target/linux/ath79/generic/base-files
parent6ede645282f94c32a33a2c6858375b8c2f609922 (diff)
downloadupstream-c32008a37b81d0ab1062993241a1e9f0a8e73102.tar.gz
upstream-c32008a37b81d0ab1062993241a1e9f0a8e73102.tar.bz2
upstream-c32008a37b81d0ab1062993241a1e9f0a8e73102.zip
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 <wlooi@ucalgary.ca>
Diffstat (limited to 'target/linux/ath79/generic/base-files')
-rw-r--r--target/linux/ath79/generic/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ath79/generic/base-files/etc/hotplug.d/firmware/11-ath10k-caldata4
2 files changed, 5 insertions, 0 deletions
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")