mediatek: filogic: add Unielec U7981-01 support
authorAllen Zhao <allenzhao@unielecinc.com>
Sat, 9 Mar 2024 02:44:58 +0000 (10:44 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 31 Mar 2024 18:45:20 +0000 (20:45 +0200)
commite2f3aefea5d38916d663829e2e3f9dd4761c196d
tree3e8013cb2beabde8b8cbb565864d56755998e95e
parent705954a51ada4926cc4b7f1b4d40b3995ceef8a9
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>
(cherry picked from commit 640b0b79ff05c42991e99a49ed81efb3fac25045)
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