aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files/etc/hotplug.d
diff options
context:
space:
mode:
authorRyan Mounce <ryan@mounce.com.au>2019-05-25 22:06:05 +0930
committerPetr Štetiar <ynezz@true.cz>2019-05-27 22:44:08 +0200
commit6d6985ff0e41c89650d72d2b5c0c938c2f39906e (patch)
tree52e51137e26935d7e5e8102b4a6309c8d13038ea /target/linux/ath79/base-files/etc/hotplug.d
parent7d7787923673300c327faa0cc84ca55909f0c5f1 (diff)
downloadupstream-6d6985ff0e41c89650d72d2b5c0c938c2f39906e.tar.gz
upstream-6d6985ff0e41c89650d72d2b5c0c938c2f39906e.tar.bz2
upstream-6d6985ff0e41c89650d72d2b5c0c938c2f39906e.zip
ath79: add support for WD My Net N750
SoC: AR9344 RAM: 128MB Flash: 16MiB Winbond 25Q128BVFG SPI NOR 5GHz WiFi: AR9380 PCIe 3x3:3 802.11n 2.4GHz WiFi: AR9344 (SoC) AHB 2x2:2 802.11n 5x Gigabit ethernet via AR8327N switch (green + amber LEDs) 2x USB 2.0 via GL850G hub 4x front LEDs from SoC GPIO 1x front WPS button from SoC GPIO 1x bottom reset button from SoC GPIO Known issues: AR8327N LEDs only have default functionality, not presented in sysfs. This is a regression from ar71xx. UART header JP1, 115200 no parity 1 stop TX GND VCC (N/P) RX See https://openwrt.org/toh/wd/n750 for flashing detail. Procedures unchanged from ar71xx. Tested sysupgrade + factory flash from WD Emergency Recovery Signed-off-by: Ryan Mounce <ryan@mounce.com.au>
Diffstat (limited to 'target/linux/ath79/base-files/etc/hotplug.d')
-rw-r--r--target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom12
1 files changed, 7 insertions, 5 deletions
diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
index 3321f28bcc..ce4df2521b 100644
--- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
+++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
@@ -105,7 +105,9 @@ case "$FIRMWARE" in
ath9k_eeprom_extract "art" 4096 1088
ath9k_patch_fw_mac_crc $(mtd_get_mac_text "mac" 4) 2
;;
- dlink,dir-859-a1)
+ dlink,dir-859-a1|\
+ nec,wg1200cr|\
+ wd,mynet-n750)
ath9k_eeprom_extract "art" 4096 1088
ath9k_patch_fw_mac $(mtd_get_mac_ascii devdata "wlan24mac") 2
;;
@@ -121,10 +123,6 @@ case "$FIRMWARE" in
ath9k_eeprom_extract "art" 4096 1088
ath9k_patch_fw_mac $(mtd_get_mac_ascii u-boot-env ethaddr) 2
;;
- nec,wg1200cr)
- ath9k_eeprom_extract "art" 4096 1088
- ath9k_patch_fw_mac $(mtd_get_mac_ascii devdata wlan24mac) 2
- ;;
nec,wg800hp)
ath9k_eeprom_extract "art" 4096 1088
ath9k_patch_fw_mac $(mtd_get_mac_text board_data 1664) 2
@@ -184,6 +182,10 @@ case "$FIRMWARE" in
ubnt,unifi)
ath9k_eeprom_extract "art" 4096 2048
;;
+ wd,mynet-n750)
+ ath9k_eeprom_extract "art" 20480 1088
+ ath9k_patch_fw_mac $(mtd_get_mac_ascii devdata "wlan5mac") 2
+ ;;
wd,mynet-wifi-rangeextender)
ath9k_eeprom_extract "art" 4096 4096
ath9k_patch_fw_mac_crc $(nvram get wl0_hwaddr) "$mac" 2