mediatek: add support for reyee AX3200-E5
authorAlex Hansen <mralexh123@gmail.com>
Thu, 13 Oct 2022 18:36:40 +0000 (14:36 -0400)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 6 Dec 2022 12:43:15 +0000 (12:43 +0000)
commit7dbac3433fef1af0f76a515e962db450c3407c19
treef88fac6ee6a750356de58e6698d2f823aac698d9
parent84183f0d98c5da8d3b8e509a9d750f71e4b934e2
mediatek: add support for reyee AX3200-E5

This is yet another model of the Ruijie RG-EW3200GX PRO with a slightly
different flash layout, install process is the same.

Specifications:
SoC: MT7622B
RAM: 256MB
Flash: XMC XM25QH128C or Winbond WQ25Q128JVSQ 16MB SPI NOR
Ethernet: 5x1GbE
Switch: MT7531BE
WiFi: 2.4G: MT7622 5G: MT7915AN+MT7975AN
3LEDs: System LED(blue) + Mesh LED(green) + Mesh LED(red)
2Keys: Mesh button + Reset button
UART: Marked J19 on board. 3.3v, 115200n1
Power: 12V 2.5A

Flash instruction:
1. Serve the initramfs.img using a TFTP server with address 10.10.10.3.
2. Interrupt the uboot startup process via UART.
3. Select "System Load Linux to SDRAM via TFTP" item.
4. (important) Back up firmware(mtd7) partitions with:
    dd if=/dev/mtd7 of=/tmp/firmware.bin
    and then download the firmware.bin image via SCP.
5. Flash the OpenWrt sysupgrade firmware.

Recovery stock firmware:

1. Transfer the firmware.bin image to the device.
2. Flash the image with:
    mtd write firmware.bin firmware

Signed-off-by: Alex Hansen <mralexh123@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/mediatek/dts/mt7622-reyee-ax3200-e5.dts [new file with mode: 0644]
target/linux/mediatek/dts/mt7622-ruijie-rg-ew3200.dtsi [new file with mode: 0644]
target/linux/mediatek/dts/mt7622-ruijie-rg-ew3200gx-pro.dts
target/linux/mediatek/image/mt7622.mk
target/linux/mediatek/mt7622/base-files/etc/board.d/02_network
target/linux/mediatek/mt7622/base-files/etc/hotplug.d/ieee80211/11_fix_wifi_mac