From: Julien Stephan Date: Wed, 1 Jul 2026 15:05:12 +0000 (+0200) Subject: arm: dts: mediatek: add U-Boot dtsi overrides for Genio 510 and Genio 700 X-Git-Tag: v2026.10-rc1~17^2~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e9fa1d62e0917e9a2c5a201f370e3ba38547986;p=thirdparty%2Fu-boot.git arm: dts: mediatek: add U-Boot dtsi overrides for Genio 510 and Genio 700 U-Boot applies DTS overrides by searching for files in the following priority order [1]: -u-boot.dtsi -u-boot.dtsi -u-boot.dtsi -u-boot.dtsi u-boot.dtsi For Genio 510 and Genio 700, the common mt8188-u-boot.dtsi override is never applied because none of the lookup paths resolve to it (CONFIG_SYS_SOC="mediatek", CONFIG_SYS_CPU="armv8", CONFIG_SYS_VENDOR="mediatek"). Add board-specific overrides for mt8370-genio-510-evk and mt8390-genio-700-evk that include mt8188-u-boot.dtsi. While at it, also add mt8188-u-boot.dtsi into board/mediatek/MAINTAINERS. [1]: https://docs.u-boot.org/en/stable/develop/devicetree/control.html#adding-tweaks-for-u-boot Signed-off-by: Julien Stephan Reviewed-by: Mattijs Korpershoek Link: https://patch.msgid.link/20260701-fix-genio-510-genio-700-dts-override-v1-1-cb571f8c9296@baylibre.com Signed-off-by: David Lechner --- diff --git a/arch/arm/dts/mt8370-genio-510-evk-u-boot.dtsi b/arch/arm/dts/mt8370-genio-510-evk-u-boot.dtsi new file mode 100644 index 00000000000..586d15bf72e --- /dev/null +++ b/arch/arm/dts/mt8370-genio-510-evk-u-boot.dtsi @@ -0,0 +1,7 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (c) 2026 BayLibre, SAS. + * Author: Julien Stephan + */ + +#include "mt8188-u-boot.dtsi" diff --git a/arch/arm/dts/mt8390-genio-700-evk-u-boot.dtsi b/arch/arm/dts/mt8390-genio-700-evk-u-boot.dtsi new file mode 100644 index 00000000000..586d15bf72e --- /dev/null +++ b/arch/arm/dts/mt8390-genio-700-evk-u-boot.dtsi @@ -0,0 +1,7 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (c) 2026 BayLibre, SAS. + * Author: Julien Stephan + */ + +#include "mt8188-u-boot.dtsi" diff --git a/board/mediatek/MAINTAINERS b/board/mediatek/MAINTAINERS index 37ca35b4dd4..d99c6d708b2 100644 --- a/board/mediatek/MAINTAINERS +++ b/board/mediatek/MAINTAINERS @@ -21,6 +21,9 @@ MT8188/MT8370/MT8390 M: Macpaul Lin M: Julien Stephan S: Maintained +F: arch/arm/dts/mt8188-u-boot.dtsi +F: arch/arm/dts/mt8370-genio-510-evk-u-boot.dtsi +F: arch/arm/dts/mt8390-genio-700-evk-u-boot.dtsi F: configs/mt8188.config F: configs/mt8370_genio_510_evk_defconfig F: configs/mt8390_genio_700_evk_defconfig