[PATCH v8 4/5] arm64: dts: st: add bootph properties for STM32MP23 boards

From: Patrice Chotard

Date: Fri Dec 04 2026 - 11:39:02 EST


The bootph-all flag was introduced in dt-schema
(dtschema/schemas/bootph.yaml) to define node usage across
different boot phases.

Mirror the bootph-* phase flags that U-Boot currently sets in its
arch/arm/dts/*-u-boot.dtsi overlays for these boards. This describes
the nodes needed by early boot stages (timer, gpio, syscfg, clock,
uart, ...) in the upstream device tree, so U-Boot no longer needs to
add them in its overlays.

Signed-off-by: Patrice Chotard <patrice.chotard@xxxxxxxxxxx>
---
arch/arm64/boot/dts/st/stm32mp235f-dk.dts | 92 +++++++++++++++++++++++++++++++
1 file changed, 92 insertions(+)

diff --git a/arch/arm64/boot/dts/st/stm32mp235f-dk.dts b/arch/arm64/boot/dts/st/stm32mp235f-dk.dts
index 1f9dfa390f19..cc575246b88b 100644
--- a/arch/arm64/boot/dts/st/stm32mp235f-dk.dts
+++ b/arch/arm64/boot/dts/st/stm32mp235f-dk.dts
@@ -37,6 +37,16 @@ clk_ext_camera: clk-ext-camera {
};
};

+ firmware {
+ optee {
+ bootph-all;
+ };
+
+ scmi {
+ bootph-all;
+ };
+ };
+
gpio-keys {
compatible = "gpio-keys";

@@ -130,6 +140,10 @@ panel_lvds_backlight: backlight {
status = "okay";
};

+ psci {
+ bootph-all;
+ };
+
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
@@ -141,6 +155,10 @@ fw@80000000 {
no-map;
};
};
+
+ soc@0 {
+ bootph-all;
+ };
};

&arm_wdt {
@@ -148,6 +166,10 @@ &arm_wdt {
status = "okay";
};

+&bsec {
+ bootph-all;
+};
+
&csi {
vdd-supply = <&scmi_vddcore>;
vdda18-supply = <&scmi_v1v8>;
@@ -206,8 +228,13 @@ phy1_eth1: ethernet-phy@1 {
};
};

+&gpioa {
+ bootph-all;
+};
+
&gpiob {
/* Enable the IMX335 power line */
+ bootph-all;
imx335-en-hog {
gpio-hog;
gpios = <11 GPIO_ACTIVE_HIGH>;
@@ -216,6 +243,38 @@ imx335-en-hog {
};
};

+&gpioc {
+ bootph-all;
+};
+
+&gpiod {
+ bootph-all;
+};
+
+&gpioe {
+ bootph-all;
+};
+
+&gpiof {
+ bootph-all;
+};
+
+&gpiog {
+ bootph-all;
+};
+
+&gpioh {
+ bootph-all;
+};
+
+&gpioi {
+ bootph-all;
+};
+
+&gpioz {
+ bootph-all;
+};
+
&i2c2 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&i2c2_pins_b>;
@@ -277,6 +336,7 @@ &iwdg2 {
};

&ltdc {
+ bootph-all;
status = "okay";
port {
ltdc_ep0_out: endpoint {
@@ -307,6 +367,22 @@ lvds_out0: endpoint {
};
};

+&pinctrl {
+ bootph-all;
+};
+
+&rcc {
+ bootph-all;
+};
+
+&rifsc {
+ bootph-all;
+};
+
+&scmi_clk {
+ bootph-all;
+};
+
&scmi_regu {
scmi_vddio1: regulator@0 {
regulator-min-microvolt = <1800000>;
@@ -360,6 +436,10 @@ &sdmmc1 {
status = "okay";
};

+&syscfg {
+ bootph-all;
+};
+
&usart2 {
pinctrl-names = "default", "idle", "sleep";
pinctrl-0 = <&usart2_pins_a>;
@@ -367,5 +447,17 @@ &usart2 {
pinctrl-2 = <&usart2_sleep_pins_a>;
/delete-property/dmas;
/delete-property/dma-names;
+ bootph-all;
status = "okay";
};
+
+&usart2_pins_a {
+ bootph-all;
+ pins1 {
+ bootph-all;
+ };
+
+ pins2 {
+ bootph-all;
+ };
+};

--
2.43.0