config: mediatek: add UFS defconfigs for Genio 520/720 EVKs

Add variants of the Genio 520/720 EVK defconfigs for UFS boot. These
have a different devicetree when the boot DIP switches/jumpers on the
EVK are set for UFS instead of eMMC. These also enable UFS and related
drivers that aren't enabled in the eMMC defconfigs since UFS is
disconnected in that case.

Reviewed-by: Macpaul Lin <macpaul.lin@mediatek.com>
Link: https://patch.msgid.link/20260330-mtk-genio-720-ufs-v1-6-3bad8362ed70@baylibre.com
Signed-off-by: David Lechner <dlechner@baylibre.com>
This commit is contained in:
David Lechner 2026-03-30 15:42:18 -05:00
parent 58a60707ae
commit c09e994585
4 changed files with 19 additions and 0 deletions

View File

@ -5,9 +5,12 @@ F: arch/arm/dts/mt8371-genio-520-evk-u-boot.dtsi
F: arch/arm/dts/mt8371-genio-common-u-boot.dtsi
F: arch/arm/dts/mt8371-genio-common-ufs.dtso
F: arch/arm/dts/mt8391-genio-720-evk-u-boot.dtsi
F: configs/mt8189-ufs.config
F: configs/mt8189.config
F: configs/mt8371_genio_520_evk_defconfig
F: configs/mt8371_genio_520_evk_ufs_defconfig
F: configs/mt8391_genio_720_evk_defconfig
F: configs/mt8391_genio_720_evk_ufs_defconfig
MT8365 EVK
M: Julien Masson <jmasson@baylibre.com>

View File

@ -0,0 +1,8 @@
#include <configs/mt8189.config>
CONFIG_PHY=y
CONFIG_PHY_MTK_UFS=y
CONFIG_SCSI=y
CONFIG_UFS=y
CONFIG_UFS_MEDIATEK=y
CONFIG_CMD_UFS=y

View File

@ -0,0 +1,4 @@
#include <configs/mt8189-ufs.config>
CONFIG_DEFAULT_DEVICE_TREE="mt8371-genio-520-evk-ufs"
CONFIG_DEFAULT_FDT_FILE="mt8371-genio-520-evk-ufs"

View File

@ -0,0 +1,4 @@
#include <configs/mt8189-ufs.config>
CONFIG_DEFAULT_DEVICE_TREE="mt8391-genio-720-evk-ufs"
CONFIG_DEFAULT_FDT_FILE="mt8391-genio-720-evk-ufs"