diff options
| author | David Lechner <[email protected]> | 2026-03-30 15:42:17 -0500 |
|---|---|---|
| committer | David Lechner <[email protected]> | 2026-04-17 17:05:54 -0500 |
| commit | 58a60707ae07a6896d68195e81685d7b62fee50a (patch) | |
| tree | 6ea2d4eda7d13891ff0d500f32f050fe2a8a7e96 | |
| parent | 21530890bf456dd64fa6c34b18d46f0fa6e31963 (diff) | |
arm: dts: mediatek: add UFS variant of Genio 520/720 EVK
Add a devicetree overlay and UFS variants of the Genio 520 and Genio 720
EVK devicetree targets. There are dip switches and jumpers on the EVK
that disconnect the eMMC and connect the UFS instead. The overlay
adjusts the devicetree for this.
Reviewed-by: Macpaul Lin <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: David Lechner <[email protected]>
| -rw-r--r-- | arch/arm/dts/Makefile | 5 | ||||
| -rw-r--r-- | arch/arm/dts/mt8371-genio-common-ufs.dtso | 18 | ||||
| -rw-r--r-- | board/mediatek/MAINTAINERS | 1 |
3 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 4085d4c2de1..bff341d6118 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -1105,6 +1105,9 @@ dtb-$(CONFIG_SOC_K3_AM62D2) += k3-am62d2-r5-evm.dtb dtb-$(CONFIG_SOC_K3_AM62P5) += k3-am62p5-r5-sk.dtb \ k3-am62p5-verdin-r5.dtb +mt8371-genio-520-evk-ufs-dtbs := mt8371-genio-520-evk.dtb mt8371-genio-common-ufs.dtbo +mt8391-genio-720-evk-ufs-dtbs := mt8391-genio-720-evk.dtb mt8371-genio-common-ufs.dtbo + dtb-$(CONFIG_ARCH_MEDIATEK) += \ mt7622-rfb.dtb \ mt7623a-unielec-u7623-02-emmc.dtb \ @@ -1125,7 +1128,9 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \ mt7988-sd-rfb.dtb \ mt8183-pumpkin.dtb \ mt8371-genio-520-evk.dtb \ + mt8371-genio-520-evk-ufs.dtb \ mt8391-genio-720-evk.dtb \ + mt8391-genio-720-evk-ufs.dtb \ mt8512-bm1-emmc.dtb \ mt8516-pumpkin.dtb \ mt8518-ap1-emmc.dtb diff --git a/arch/arm/dts/mt8371-genio-common-ufs.dtso b/arch/arm/dts/mt8371-genio-common-ufs.dtso new file mode 100644 index 00000000000..b75fdafcf9b --- /dev/null +++ b/arch/arm/dts/mt8371-genio-common-ufs.dtso @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (C) 2026 MediaTek Inc. + * + * Adjusts for when boot DIP switches/jumpers on EVK are set for UFS boot + * instead of eMMC. + */ + +/dts-v1/; +/plugin/; + +&ufshci { + status = "okay"; +}; + +&mmc0 { + status = "disabled"; +}; diff --git a/board/mediatek/MAINTAINERS b/board/mediatek/MAINTAINERS index 7a388409742..b0fbffd26ea 100644 --- a/board/mediatek/MAINTAINERS +++ b/board/mediatek/MAINTAINERS @@ -3,6 +3,7 @@ M: Macpaul Lin <[email protected]> S: Maintained 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.config F: configs/mt8371_genio_520_evk_defconfig |
