board: mediatek: add MT7987 reference boards
authorWeijie Gao <weijie.gao@mediatek.com>
Thu, 23 Jan 2025 08:55:05 +0000 (16:55 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 30 Jan 2025 20:35:14 +0000 (14:35 -0600)
commitc80a3fb96135394d4724bbd2c887c8a372b8f5ee
treec217fe5303f576abf835f3cb73a625a20a4d37bd
parent2d6962e0618aab4cf91784aae4ea06d8f88128e2
board: mediatek: add MT7987 reference boards

This patch adds general board files based on MT7987 SoC.

MT7987 uses one mmc controller for booting from both SD and eMMC, and the
pins of mmc controller are also shared with one spi controller.
So three configs are need for these boot types:

1. mt7987_rfb_defconfig - SPI-NOR (spi2) and SPI-NAND (spi0)
2. mt7987_emmc_rfb_defconfig - eMMC + SPI-NOR (spi2)
3. mt7987_sd_rfb_defconfig - SD + SPI-NOR (spi2)

Note: spi2 also supports booting from SPI-NAND, but not the default option.

Signed-off-by: Sam Shih <sam.shih@mediatek.com>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
13 files changed:
arch/arm/dts/mt7987a-emmc-rfb-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/mt7987a-emmc-rfb.dts [new file with mode: 0644]
arch/arm/dts/mt7987a-rfb-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/mt7987a-rfb.dts [new file with mode: 0644]
arch/arm/dts/mt7987a-sd-rfb-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/mt7987a-sd-rfb.dts [new file with mode: 0644]
board/mediatek/mt7987/MAINTAINERS [new file with mode: 0644]
board/mediatek/mt7987/Makefile [new file with mode: 0644]
board/mediatek/mt7987/mt7987_rfb.c [new file with mode: 0644]
configs/mt7987_emmc_rfb_defconfig [new file with mode: 0644]
configs/mt7987_rfb_defconfig [new file with mode: 0644]
configs/mt7987_sd_rfb_defconfig [new file with mode: 0644]
include/configs/mt7987.h [new file with mode: 0644]