mediatek: filogic: add Unielec U7981-01 support
authorAllen Zhao <allenzhao@unielecinc.com>
Sat, 9 Mar 2024 02:44:58 +0000 (10:44 +0800)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 25 Mar 2024 18:14:19 +0000 (18:14 +0000)
commit640b0b79ff05c42991e99a49ed81efb3fac25045
tree28e9f92e75ec42f39c36eddc15dc0077d25ee05f
parentff064b68d415ad425a156dc82735b5b66f109bd0
mediatek: filogic: add Unielec U7981-01 support

Hardware specification:
  SoC: MediaTek MT7981B 2x A53
  Flash: 8GB eMMC or 128 MB SPI-NAND
  RAM: 256MB
  Ethernet: 5x 10/100/1000 Mbps
  Switch: MediaTek MT7531AE
  WiFi: MediaTek MT7976C
  Button: Reset
  USB: M.2(B-key) for 4G/5G Module
  Power: DC 12V 1A
  UART: 3.3v, 115200n8
  --------------------------
  |         Layout         |
  |   -----------------    |
  | 4 | VCC RX TX GND | <= |
  |   -----------------    |
  --------------------------

The U-boot menu will automatically appear at startup, and then select
the required options through UP/DOWN Key.

NAND Flash and eMMC Flash instructions:
1. Set your computers IP adress to 192.168.1.2.
2. Run a TFTP server providing the sysupgrade.bin image.
3. Power on the router, into the U-Boot menu.
4. Select "2. Upgrade firmware"
5. Update sysupgrade.bin file name, input server IP and input device
   IP (if they deviate from the defaults)
6. Wait for automatic startup after burning

Signed-off-by: Allen Zhao <allenzhao@unielecinc.com>
target/linux/mediatek/dts/mt7981b-unielec-u7981-01-emmc.dts [new file with mode: 0644]
target/linux/mediatek/dts/mt7981b-unielec-u7981-01-nand.dts [new file with mode: 0644]
target/linux/mediatek/dts/mt7981b-unielec-u7981-01.dtsi [new file with mode: 0644]
target/linux/mediatek/filogic/base-files/etc/board.d/02_network
target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh
target/linux/mediatek/image/filogic.mk