ramips: add support for Wavlink WL-WN570HA1
authorThomas Vincent-Cross <me@tvc.id.au>
Mon, 22 Oct 2018 15:21:16 +0000 (02:21 +1100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:48:19 +0000 (17:48 +0100)
commit9917f521f08f856a58fc471091a27be018fcb3da
tree95bc4fefd55a00f5c88b090fbe29043c1cec4531
parent923a778be08c6e90a13ecc8348212096014a9cde
ramips: add support for Wavlink WL-WN570HA1

This commit adds support for the Wavlink WL-WN570HA1, a dual-band PoE
wireless router with the following specifications:

 - CPU: MediaTek MT7688AN 580MHz
 - Flash: 8MB
 - RAM: 64MB
 - Ethernet: 1x 10/100Mbps
 - 2.4 GHz: 802.11b/g/n SoC, 1T1R, 27 dBm
 - 5 GHz: 802.11a/n/ac MT7610E, 1T1R, 25 dBm
 - Antennas: 2x external (1 per radio), detachable
 - LEDs: 3 programmable + Wi-Fi, WAN/LAN, Power
 - Buttons: Reset

Flashing instructions:

Factory U-boot launches a TFTP client if reset button is pressed during power-on.
Rename the sysupgrade file and configure TFTP as follows:

 - Client (WL-WN570HA1) IP: 192.168.10.101
 - Server IP: 192.168.10.100
 - Filename: firmware.bin

Signed-off-by: Thomas Vincent-Cross <me@tvc.id.au>
[use generic board detection, add firmware partition compatible]
Signed-off-by: Mathias Kresin <dev@kresin.me>
(backported from a160f50d4f240019fafe95e80701ebb871c788fe)
target/linux/ramips/base-files/etc/board.d/01_leds
target/linux/ramips/base-files/etc/board.d/02_network
target/linux/ramips/base-files/lib/upgrade/platform.sh
target/linux/ramips/dts/WL-WN570HA1.dts [new file with mode: 0644]
target/linux/ramips/image/mt76x8.mk