]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: dts: mediatek: add U-Boot dtsi overrides for Genio 510 and Genio 700
authorJulien Stephan <jstephan@baylibre.com>
Wed, 1 Jul 2026 15:05:12 +0000 (17:05 +0200)
committerDavid Lechner <dlechner@baylibre.com>
Wed, 22 Jul 2026 16:47:37 +0000 (11:47 -0500)
U-Boot applies DTS overrides by searching for files in the following
priority order [1]:

  <orig_filename>-u-boot.dtsi
  <CONFIG_SYS_SOC>-u-boot.dtsi
  <CONFIG_SYS_CPU>-u-boot.dtsi
  <CONFIG_SYS_VENDOR>-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 <jstephan@baylibre.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
Link: https://patch.msgid.link/20260701-fix-genio-510-genio-700-dts-override-v1-1-cb571f8c9296@baylibre.com
Signed-off-by: David Lechner <dlechner@baylibre.com>
arch/arm/dts/mt8370-genio-510-evk-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/mt8390-genio-700-evk-u-boot.dtsi [new file with mode: 0644]
board/mediatek/MAINTAINERS

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 (file)
index 0000000..586d15b
--- /dev/null
@@ -0,0 +1,7 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Copyright (c) 2026 BayLibre, SAS.
+ * Author: Julien Stephan <jstephan@baylibre.com>
+ */
+
+#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 (file)
index 0000000..586d15b
--- /dev/null
@@ -0,0 +1,7 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Copyright (c) 2026 BayLibre, SAS.
+ * Author: Julien Stephan <jstephan@baylibre.com>
+ */
+
+#include "mt8188-u-boot.dtsi"
index 37ca35b4dd4655bfafad4e343da00baf7f432c50..d99c6d708b2d721aefede9ecde9b4b2fe81da84b 100644 (file)
@@ -21,6 +21,9 @@ MT8188/MT8370/MT8390
 M:     Macpaul Lin <Macpaul.Lin@mediatek.com>
 M:     Julien Stephan <jstephan@baylibre.com>
 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