[PATCH v8 1/5] arm: dts: st: add bootph properties for STM32MP13 boards

From: Patrice Chotard

Date: Fri Dec 04 2026 - 11:39:00 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/arm/boot/dts/st/stm32mp135f-dhcor-dhsbc.dts | 126 +++++++++++++++++++++++
arch/arm/boot/dts/st/stm32mp135f-dk.dts | 96 +++++++++++++++++
2 files changed, 222 insertions(+)

diff --git a/arch/arm/boot/dts/st/stm32mp135f-dhcor-dhsbc.dts b/arch/arm/boot/dts/st/stm32mp135f-dhcor-dhsbc.dts
index 9b8baed6a022..bb60e8ef673d 100644
--- a/arch/arm/boot/dts/st/stm32mp135f-dhcor-dhsbc.dts
+++ b/arch/arm/boot/dts/st/stm32mp135f-dhcor-dhsbc.dts
@@ -31,6 +31,20 @@ aliases {
chosen {
stdout-path = "serial0:115200n8";
};
+
+ firmware {
+ optee {
+ bootph-all;
+ };
+ };
+
+ psci {
+ bootph-some-ram;
+ };
+
+ soc {
+ bootph-all;
+ };
};

&adc_1 {
@@ -74,6 +88,10 @@ channel@12 {
};
};

+&bsec {
+ bootph-all;
+};
+
&ethernet1 {
nvmem-cell-names = "mac-address";
nvmem-cells = <&ethernet_mac1_address>;
@@ -176,11 +194,20 @@ led@1 {
};
};

+&etzpc {
+ bootph-all;
+};
+
+&flash0 {
+ bootph-all;
+};
+
&gpioa {
gpio-line-names = "", "", "", "",
"", "DHSBC_USB_PWR_CC1", "", "",
"", "", "", "DHSBC_nETH1_RST",
"", "DHCOR_HW-CODING_0", "", "DHSBC_HW-CODE_2";
+ bootph-all;
};

&gpiob {
@@ -188,6 +215,7 @@ &gpiob {
"", "", "", "DHCOR_BT_HOST_WAKE",
"", "", "", "",
"", "DHSBC_nTPM_CS", "", "";
+ bootph-all;
};

&gpioc {
@@ -195,6 +223,7 @@ &gpioc {
"", "", "", "",
"", "", "", "",
"", "", "", "";
+ bootph-all;
};

&gpiod {
@@ -202,6 +231,7 @@ &gpiod {
"", "DHCOR_RAM-CODING_0", "", "",
"", "DHCOR_RAM-CODING_1", "", "",
"", "DHSBC_HW-CODE_1", "", "";
+ bootph-all;
};

&gpioe {
@@ -209,6 +239,7 @@ &gpioe {
"", "", "", "",
"", "DHSBC_nTPM_RST", "", "",
"DHSBC_nTPM_PIRQ", "", "DHCOR_WL_HOST_WAKE", "";
+ bootph-all;
};

&gpiof {
@@ -216,6 +247,7 @@ &gpiof {
"", "", "", "",
"", "", "", "",
"DHCOR_WL_REG_ON", "DHSBC_USB_PWR_CC2", "", "";
+ bootph-all;
};

&gpiog {
@@ -223,6 +255,7 @@ &gpiog {
"", "", "", "",
"DHSBC_nETH2_RST", "DHCOR_BT_DEV_WAKE", "", "",
"DHSBC_ETH1_INTB", "", "", "DHSBC_ETH2_INTB";
+ bootph-all;
};

&gpioh {
@@ -230,6 +263,7 @@ &gpioh {
"", "", "", "",
"", "", "", "",
"", "", "", "";
+ bootph-all;
};

&gpioi {
@@ -237,6 +271,7 @@ &gpioi {
"DHCOR_BT_REG_ON", "DHCOR_PMIC_nINT",
"DHSBC_BOOT0", "DHSBC_BOOT1",
"DHSBC_BOOT2", "DHSBC_USB-C_DATA_VBUS";
+ bootph-all;
};

&i2c1 { /* Expansion connector: SDA:pin27 SCL:pin28 */
@@ -265,6 +300,10 @@ &i2c5 { /* Expansion connector: SDA:pin3 SCL:pin5 */
/delete-property/dma-names;
};

+&iwdg2 {
+ bootph-all;
+};
+
&m_can1 { /* Expansion connector: TX:pin16 RX:pin18 */
pinctrl-names = "default", "sleep";
pinctrl-0 = <&m_can1_pins_a>;
@@ -279,12 +318,45 @@ &m_can2 { /* Expansion connector: TX:pin22 RX:pin26 */
status = "okay";
};

+&pinctrl {
+ bootph-all;
+};
+
&pwr_regulators {
vdd-supply = <&vdd>;
vdd_3v3_usbfs-supply = <&vdd_usb>;
status = "okay";
};

+&qspi {
+ bootph-all;
+};
+
+&qspi_bk1_pins_a {
+ bootph-all;
+ pins {
+ bootph-all;
+ };
+};
+
+&qspi_clk_pins_a {
+ bootph-all;
+ pins {
+ bootph-all;
+ };
+};
+
+&qspi_cs1_pins_a {
+ bootph-all;
+ pins {
+ bootph-all;
+ };
+};
+
+&rcc {
+ bootph-all;
+};
+
&sai1 { /* Expansion connector: SCK-A:pin12 FS-A:pin35 SD-A:pin38 SD-B:pin40 */
clocks = <&rcc SAI1>, <&rcc PLL3_Q>, <&rcc PLL3_R>;
clock-names = "pclk", "x8k", "x11k";
@@ -293,6 +365,18 @@ &sai1 { /* Expansion connector: SCK-A:pin12 FS-A:pin35 SD-A:pin38 SD-B:pin40 */
pinctrl-1 = <&sai1a_sleep_pins_a &sai1b_sleep_pins_a>;
};

+&scmi {
+ bootph-all;
+};
+
+&scmi_clk {
+ bootph-all;
+};
+
+&scmi_reset {
+ bootph-all;
+};
+
&scmi_voltd {
status = "disabled";
};
@@ -322,6 +406,10 @@ &spi3 { /* Expansion connector: MOSI:pin19 MISO:pin21 SCK:pin22 nCS:pin24 */
status = "disabled";
};

+&syscfg {
+ bootph-all;
+};
+
&timers5 { /* Expansion connector: CH3:pin31 */
/delete-property/dmas;
/delete-property/dma-names;
@@ -354,6 +442,21 @@ timer@c {
};
};

+&uart4 {
+ bootph-all;
+};
+
+&uart4_pins_b {
+ bootph-all;
+ pins1 {
+ bootph-all;
+ };
+
+ pins2 {
+ bootph-all;
+ };
+};
+
&usart1 { /* Expansion connector: RX:pin33 TX:pin37 */
pinctrl-names = "default", "sleep", "idle";
pinctrl-0 = <&usart1_pins_b>;
@@ -390,6 +493,7 @@ &usbotg_hs {
};

&usbphyc {
+ bootph-all;
status = "okay";
vdda1v1-supply = <&reg11>;
vdda1v8-supply = <&reg18>;
@@ -434,12 +538,21 @@ connector {
};
};

+&vdd {
+ bootph-all;
+};
+
+&vdd_ddr {
+ bootph-all;
+};
+
/* LDO2 is expansion connector 3V3 supply on STM32MP13xx DHCOR DHSBC rev.200 */
&vdd_ldo2 {
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
+ bootph-all;
};

/* LDO5 is carrier board 3V3 supply on STM32MP13xx DHCOR DHSBC rev.200 */
@@ -448,4 +561,17 @@ &vdd_sd {
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
+ bootph-all;
+};
+
+&vddcore {
+ bootph-all;
+};
+
+&vddcpu {
+ bootph-all;
+};
+
+&vref_ddr {
+ bootph-all;
};
diff --git a/arch/arm/boot/dts/st/stm32mp135f-dk.dts b/arch/arm/boot/dts/st/stm32mp135f-dk.dts
index 716e806d9a62..d1a4118550a7 100644
--- a/arch/arm/boot/dts/st/stm32mp135f-dk.dts
+++ b/arch/arm/boot/dts/st/stm32mp135f-dk.dts
@@ -45,6 +45,12 @@ clk_mco1: clk-mco1 {
};
};

+ firmware {
+ optee {
+ bootph-all;
+ };
+ };
+
memory@c0000000 {
device_type = "memory";
reg = <0xc0000000 0x20000000>;
@@ -128,6 +134,14 @@ panel_in_rgb: endpoint {
};
};

+ psci {
+ bootph-some-ram;
+ };
+
+ soc {
+ bootph-all;
+ };
+
v3v3_ao: v3v3-ao {
compatible = "regulator-fixed";
regulator-name = "v3v3_ao";
@@ -172,6 +186,10 @@ &arm_wdt {
status = "okay";
};

+&bsec {
+ bootph-all;
+};
+
&crc1 {
status = "okay";
};
@@ -243,6 +261,46 @@ phy0_eth1: ethernet-phy@0 {
};
};

+&etzpc {
+ bootph-all;
+};
+
+&gpioa {
+ bootph-all;
+};
+
+&gpiob {
+ bootph-all;
+};
+
+&gpioc {
+ bootph-all;
+};
+
+&gpiod {
+ bootph-all;
+};
+
+&gpioe {
+ bootph-all;
+};
+
+&gpiof {
+ bootph-all;
+};
+
+&gpiog {
+ bootph-all;
+};
+
+&gpioh {
+ bootph-all;
+};
+
+&gpioi {
+ bootph-all;
+};
+
&i2c1 {
pinctrl-names = "default", "sleep";
/* SDA on PE8 = CN8.27, SCL on PD12 = CN8.28 */
@@ -378,6 +436,7 @@ goodix: goodix-ts@5d {

&iwdg2 {
timeout-sec = <32>;
+ bootph-all;
status = "okay";
};

@@ -394,6 +453,14 @@ ltdc_out_rgb: endpoint {
};
};

+&pinctrl {
+ bootph-all;
+};
+
+&rcc {
+ bootph-all;
+};
+
&rtc {
pinctrl-names = "default";
pinctrl-0 = <&rtc_rsvd_pins_a>;
@@ -405,6 +472,14 @@ rtc_lsco_pins_a: rtc-lsco-0 {
};
};

+&scmi {
+ bootph-all;
+};
+
+&scmi_clk {
+ bootph-all;
+};
+
&scmi_regu {
scmi_vdd_adc: regulator@10 {
reg = <VOLTD_SCMI_STPMIC1_LDO1>;
@@ -428,6 +503,10 @@ scmi_v3v3_sw: regulator@19 {
};
};

+&scmi_reset {
+ bootph-all;
+};
+
&sdmmc1 {
pinctrl-names = "default", "opendrain", "sleep";
pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_clk_pins_a>;
@@ -484,6 +563,10 @@ spi5_dma_pool: dma-sram@1000 {
};
};

+&syscfg {
+ bootph-all;
+};
+
&timers3 {
/delete-property/dmas;
/delete-property/dma-names;
@@ -577,9 +660,21 @@ &uart4 {
pinctrl-2 = <&uart4_idle_pins_a>;
/delete-property/dmas;
/delete-property/dma-names;
+ bootph-all;
status = "okay";
};

+&uart4_pins_a {
+ bootph-all;
+ pins1 {
+ bootph-all;
+ };
+
+ pins2 {
+ bootph-all;
+ };
+};
+
&uart8 {
pinctrl-names = "default", "sleep", "idle";
/* TX on PE1 = CN8.37, RX on PF9 = CN8.33 */
@@ -648,6 +743,7 @@ usbotg_hs_ep: endpoint {
};

&usbphyc {
+ bootph-all;
status = "okay";
};


--
2.43.0