aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt7620
diff options
context:
space:
mode:
authorNuno Goncalves <nunojpg@gmail.com>2020-08-13 23:26:13 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-10-27 21:20:16 +0100
commit2a860bf4f4d5e76bd61235eeade834b6f8e2c9fa (patch)
tree01428f5852c97ba7fa511e877018ca834619c98d /target/linux/ramips/mt7620
parent29804086ee7b740224d01012656162a9518deb97 (diff)
downloadupstream-2a860bf4f4d5e76bd61235eeade834b6f8e2c9fa.tar.gz
upstream-2a860bf4f4d5e76bd61235eeade834b6f8e2c9fa.tar.bz2
upstream-2a860bf4f4d5e76bd61235eeade834b6f8e2c9fa.zip
ramips: add support for Wavlink WL-WN530HG4
Same hardware as Phicomm K2G but different flash layout. Specification: - SoC: MediaTek MT7620A - Flash: 8 MB - RAM: 64 MB - Ethernet: 4 FE ports and 1 GE port (RTL8211F on port 5) - Wireless radio: MT7620 for 2.4G and MT7612E for 5G, both equipped with external PA. - UART: 1 x UART on PCB - 57600 8N1 Flash instruction: To avoid requiring UART for TFTP a dual flash procedure is suggested to install the squashfs image: 1. Rename openwrt-ramips-mt7620-wavlink_wl-wn530hg4-initramfs-kernel.bin to WN530HG4-WAVLINK. 2. Flash this file with the factory web interface. 3. With OpenWRT now running use standard sysupgrade to install the squashfs image. Signed-off-by: Nuno Goncalves <nunojpg@gmail.com> [remove dts-v1, remove model from LED labels, wrap commit message] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/mt7620')
-rwxr-xr-xtarget/linux/ramips/mt7620/base-files/etc/board.d/02_network6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
index 3fdd42bbff..e884390c31 100755
--- a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
@@ -193,7 +193,8 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"4:lan" "0:wan" "6@eth0"
;;
- phicomm,k2g)
+ phicomm,k2g|\
+ wavlink,wl-wn530hg4)
ucidef_add_switch "switch0" \
"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5:wan" "6@eth0"
;;
@@ -334,7 +335,8 @@ ramips_setup_macs()
lenovo,newifi-y1|\
lenovo,newifi-y1s|\
ohyeah,oy-0001|\
- phicomm,k2g)
+ phicomm,k2g|\
+ wavlink,wl-wn530hg4)
wan_mac=$(mtd_get_mac_binary factory 0x2e)
;;
linksys,e1700)