From 35aecc9d4a735c36d5eefe6e821c5930f736635f Mon Sep 17 00:00:00 2001 From: Ryan Mounce Date: Tue, 16 Nov 2021 21:55:19 +1030 Subject: ath79: add support for WD My Net N600 SoC: AR9344 RAM: 128MB Flash: 16MiB SPI NOR 5GHz WiFi: AR9382 PCIe 2x2:2 802.11n 2.4GHz WiFi: AR9344 (SoC) AHB 2x2:2 802.11n 5x Fast ethernet via SoC switch (green LEDs) 1x USB 2.0 4x front LEDs from SoC GPIO 1x front WPS button from SoC GPIO 1x bottom reset button from SoC GPIO UART header JP1, 115200 no parity 1 stop TX GND VCC (N/P) RX Flash factory image via "emergency room" recovery: - Configure your computer with a static IP 192.168.1.123/24 - Connect to LAN port on the N600 switch - Hold reset putton - Power on, holding reset until the power LED blinks slowly - Visit http://192.168.1.1/ and upload OpenWrt factory image - Wait at least 5 minutes for flashing, reboot and key generation - Visit http://192.168.1.1/ (OpenWrt LuCI) and upload OpenWrt sysupgrade image Signed-off-by: Ryan Mounce [dt leds preparations] Signed-off-by: Christian Lamparter --- target/linux/ath79/generic/base-files/etc/board.d/02_network | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'target/linux/ath79/generic/base-files/etc/board.d/02_network') 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 45b002330e..edd79b606e 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 @@ -130,7 +130,8 @@ ath79_setup_interfaces() pcs,cr3000|\ tplink,archer-c58-v1|\ tplink,archer-c59-v1|\ - tplink,archer-c59-v2) + tplink,archer-c59-v2|\ + wd,mynet-n600) ucidef_set_interface_wan "eth1" ucidef_add_switch "switch0" \ "0@eth0" "1:lan:1" "2:lan:4" "3:lan:3" "4:lan:2" @@ -595,6 +596,7 @@ ath79_setup_macs() ;; dlink,dir-859-a1|\ qihoo,c301|\ + wd,mynet-n600|\ wd,mynet-n750) lan_mac=$(mtd_get_mac_ascii devdata "lanmac") wan_mac=$(mtd_get_mac_ascii devdata "wanmac") -- cgit v1.2.3