* [PATCH] arm64: dts: mediatek: mt8390-genio-700: Add boot phase tags
@ 2026-07-21 13:24 Carlo Caione
2026-07-29 18:59 ` David Lechner
0 siblings, 1 reply; 2+ messages in thread
From: Carlo Caione @ 2026-07-21 13:24 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
AngeloGioacchino Del Regno
Cc: devicetree, linux-kernel, linux-arm-kernel, linux-mediatek,
David Lechner, Julien Stephan, Carlo Caione
U-Boot SPL runs after the platform DDR loader has initialized DRAM. It
needs the debug UART and eMMC controller, together with their clock,
syscon, pinctrl, interrupt and watchdog providers, to load the firmware
FIT.
Mark the nodes consumed by the current SPL configuration with
'bootph-pre-ram' so that the canonical devicetree carries the boot-phase
information and bootloaders do not need local overrides.
Signed-off-by: Carlo Caione <ccaione@baylibre.com>
---
.../boot/dts/mediatek/mt8390-genio-700-evk.dts | 81 ++++++++++++++++++++++
1 file changed, 81 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8390-genio-700-evk.dts b/arch/arm64/boot/dts/mediatek/mt8390-genio-700-evk.dts
index 0d5a75efb2ee..83f2d10fd28d 100644
--- a/arch/arm64/boot/dts/mediatek/mt8390-genio-700-evk.dts
+++ b/arch/arm64/boot/dts/mediatek/mt8390-genio-700-evk.dts
@@ -16,11 +16,20 @@ / {
"mediatek,mt8188";
memory@40000000 {
+ bootph-pre-ram;
device_type = "memory";
reg = <0 0x40000000 0x2 0x00000000>;
};
};
+&apmixedsys {
+ bootph-pre-ram;
+};
+
+&clk26m {
+ bootph-pre-ram;
+};
+
&cpu4 {
cpu-supply = <&mt6359_vcore_buck_reg>;
};
@@ -28,3 +37,75 @@ &cpu4 {
&cpu5 {
cpu-supply = <&mt6359_vcore_buck_reg>;
};
+
+&gic {
+ bootph-pre-ram;
+};
+
+&infracfg_ao {
+ bootph-pre-ram;
+};
+
+&mmc0 {
+ bootph-pre-ram;
+};
+
+&mmc0_default_pins {
+ bootph-pre-ram;
+
+ pins-clk {
+ bootph-pre-ram;
+ };
+
+ pins-cmd-dat {
+ bootph-pre-ram;
+ };
+
+ pins-rst {
+ bootph-pre-ram;
+ };
+};
+
+&mmc0_uhs_pins {
+ bootph-pre-ram;
+
+ pins-clk {
+ bootph-pre-ram;
+ };
+
+ pins-cmd-dat {
+ bootph-pre-ram;
+ };
+
+ pins-ds {
+ bootph-pre-ram;
+ };
+
+ pins-rst {
+ bootph-pre-ram;
+ };
+};
+
+&pio {
+ bootph-pre-ram;
+};
+
+&topckgen {
+ bootph-pre-ram;
+};
+
+&uart0 {
+ bootph-pre-ram;
+};
+
+&uart0_pins {
+ bootph-pre-ram;
+
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&watchdog {
+ bootph-pre-ram;
+};
---
base-commit: b95f03f04d475aa6719d15a636ddf32222d55657
change-id: 20260721-ccaione-upstream-mt8390-bootph-ea7a2444292c
Best regards,
--
Carlo Caione <ccaione@baylibre.com>
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] arm64: dts: mediatek: mt8390-genio-700: Add boot phase tags
2026-07-21 13:24 [PATCH] arm64: dts: mediatek: mt8390-genio-700: Add boot phase tags Carlo Caione
@ 2026-07-29 18:59 ` David Lechner
0 siblings, 0 replies; 2+ messages in thread
From: David Lechner @ 2026-07-29 18:59 UTC (permalink / raw)
To: Carlo Caione, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Matthias Brugger, AngeloGioacchino Del Regno
Cc: devicetree, linux-kernel, linux-arm-kernel, linux-mediatek,
Julien Stephan
On 7/21/26 8:24 AM, Carlo Caione wrote:
> U-Boot SPL runs after the platform DDR loader has initialized DRAM. It
> needs the debug UART and eMMC controller, together with their clock,
> syscon, pinctrl, interrupt and watchdog providers, to load the firmware
> FIT.
>
> Mark the nodes consumed by the current SPL configuration with
> 'bootph-pre-ram' so that the canonical devicetree carries the boot-phase
> information and bootloaders do not need local overrides.
>
> Signed-off-by: Carlo Caione <ccaione@baylibre.com>
> ---
> .../boot/dts/mediatek/mt8390-genio-700-evk.dts | 81 ++++++++++++++++++++++
It seems like this would be better placed in mt8390-genio-common.dtsi
so that we don't have to duplicate it for Genio 510. Julien can test
it.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-07-29 18:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-21 13:24 [PATCH] arm64: dts: mediatek: mt8390-genio-700: Add boot phase tags Carlo Caione
2026-07-29 18:59 ` David Lechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®