* [PATCH v8 0/5] Add boot phase tags for STMicroelectronics boards
@ 2026-12-04 16:38 Patrice Chotard
2026-12-04 16:38 ` [PATCH v8 1/5] arm: dts: st: add bootph properties for STM32MP13 boards Patrice Chotard
` (4 more replies)
0 siblings, 5 replies; 11+ messages in thread
From: Patrice Chotard @ 2026-12-04 16:38 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Alexandre Torgue, Patrick Delaunay, Christoph Niedermaier,
Marek Vasut, Marek Vasut
Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel, kernel,
Patrice Chotard
The bootph-all flag was introduced in dt-schema
(dtschema/schemas/bootph.yaml) to define node usage across
different boot phases.
To ensure SD boot, timer, gpio, syscfg, clock and uart nodes need to be
present in all boot stages, so add missing bootph-all phase flag
to these nodes to support SD boot.
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
Changes in v8:
- Rebase on top of stm32-dt-for-v7.5-1.
- Fix issues found by Sashiko ran locally.
- Remove patchs related to STM32 F4/F7/H7 as these platforms are deprecated and will be removed.
- Link to v7: https://lore.kernel.org/r/20260526-upstream_uboot_properties-v7-0-e17cd424d5db@foss.st.com
Changes in v7:
- Rebase on top of stm32-next.
_ Fix sdmmc2_b4_pins_a's node in stm32mp15xx-dhcom-som.dtsi.
- Link to v6: https://lore.kernel.org/r/20260203-upstream_uboot_properties-v6-0-0a2280e84d31@foss.st.com
Changes in v6:
- Add bootph-all property in syscfg node of stm32mp215f-dk.dtsi.
- Split patch 4 in 2 parts, first part for reordering nodes, second part
for adding bootph-all property.
- Rebase on top of stm32-dt-for-v6.20-1.
- Link to v5: https://lore.kernel.org/r/20260123-upstream_uboot_properties-v5-0-5167929d5af5@foss.st.com
Changes in v5:
- Initial implementation allows to factorize and add bootph-* properties in a limited number of DT files.
After internal discussion with Alexandre, choice has been done to add bootph-* properties only
in board DT files instead of SoCs/pinctrl/boards DT files.This impacts a greater number of DT boards files.
- Link to v4: https://lore.kernel.org/r/20260109-upstream_uboot_properties-v4-0-75e06657c600@foss.st.com
Changes in v4:
- Remove useless nodes in stm32mp15-scmi.dtsi
- Link to v3: https://lore.kernel.org/r/20260108-upstream_uboot_properties-v3-0-c1b9d4f2ce8d@foss.st.com
Changes in v3:
- Remove duplicate bootph-all property in ltdc node
- Link to v2: https://lore.kernel.org/r/20251114-upstream_uboot_properties-v2-0-3784ff668ae0@foss.st.com
Changes in v2:
- Fix 'pinmux' is a required property for arch/arm/boot/dts/st/stm32mp157c-ev1-scmi.dtb
bash: line 1: q: command not found
To: Rob Herring <robh@kernel.org>
To: Krzysztof Kozlowski <krzk+dt@kernel.org>
To: Conor Dooley <conor+dt@kernel.org>
To: Christoph Niedermaier <cniedermaier@dh-electronics.com>
To: Marek Vasut <marex@nabladev.com>
To: Maxime Coquelin <mcoquelin.stm32@gmail.com>
To: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: devicetree@vger.kernel.org
Cc: kernel@dh-electronics.com
Cc: linux-stm32@st-md-mailman.stormreply.com
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
---
Patrice Chotard (5):
arm: dts: st: add bootph properties for STM32MP13 boards
arm: dts: st: add bootph properties for STM32MP15 boards
arm64: dts: st: add bootph properties for STM32MP21 boards
arm64: dts: st: add bootph properties for STM32MP23 boards
arm64: dts: st: add bootph properties for STM32MP25 boards
arch/arm/boot/dts/st/stm32mp135f-dhcor-dhsbc.dts | 126 ++++++++++
arch/arm/boot/dts/st/stm32mp135f-dk.dts | 96 ++++++++
.../boot/dts/st/stm32mp151a-dhcor-testbench.dts | 259 ++++++++++++++++++++
arch/arm/boot/dts/st/stm32mp153c-dhcom-drc02.dts | 258 ++++++++++++++++++++
.../boot/dts/st/stm32mp153c-dhcor-drc-compact.dts | 259 ++++++++++++++++++++
.../boot/dts/st/stm32mp157a-dhcor-avenger96.dts | 263 +++++++++++++++++++++
arch/arm/boot/dts/st/stm32mp157a-dk1-scmi.dts | 90 +++++++
arch/arm/boot/dts/st/stm32mp157a-dk1.dts | 157 ++++++++++++
.../dts/st/stm32mp157a-icore-stm32mp1-ctouch2.dts | 180 ++++++++++++++
.../dts/st/stm32mp157a-icore-stm32mp1-edimm2.2.dts | 177 ++++++++++++++
...m32mp157a-microgea-stm32mp1-microdev2.0-of7.dts | 146 ++++++++++++
.../stm32mp157a-microgea-stm32mp1-microdev2.0.dts | 152 ++++++++++++
arch/arm/boot/dts/st/stm32mp157c-dhcom-pdk2.dts | 258 ++++++++++++++++++++
arch/arm/boot/dts/st/stm32mp157c-dhcom-picoitx.dts | 258 ++++++++++++++++++++
arch/arm/boot/dts/st/stm32mp157c-dk2-scmi.dts | 90 +++++++
arch/arm/boot/dts/st/stm32mp157c-dk2.dts | 154 ++++++++++++
arch/arm/boot/dts/st/stm32mp157c-ed1-scmi.dts | 90 +++++++
arch/arm/boot/dts/st/stm32mp157c-ed1.dts | 172 ++++++++++++++
arch/arm/boot/dts/st/stm32mp157c-ev1-scmi.dts | 119 +++++++++-
arch/arm/boot/dts/st/stm32mp157c-ev1.dts | 221 +++++++++++++++++
arch/arm/boot/dts/st/stm32mp157c-odyssey.dts | 172 ++++++++++++++
arch/arm64/boot/dts/st/stm32mp215f-dk.dts | 5 +
arch/arm64/boot/dts/st/stm32mp235f-dk.dts | 92 +++++++
arch/arm64/boot/dts/st/stm32mp257f-dk.dts | 101 ++++++++
arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 101 ++++++++
25 files changed, 3994 insertions(+), 2 deletions(-)
---
base-commit: be2b11562f8376102c9ec69f7116be873242ba1e
change-id: 20251112-upstream_uboot_properties-22480b0b4b1c
Best regards,
--
Patrice Chotard <patrice.chotard@foss.st.com>
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH v8 1/5] arm: dts: st: add bootph properties for STM32MP13 boards
2026-12-04 16:38 [PATCH v8 0/5] Add boot phase tags for STMicroelectronics boards Patrice Chotard
@ 2026-12-04 16:38 ` Patrice Chotard
2026-12-04 17:05 ` sashiko-bot
2026-12-04 16:38 ` [PATCH v8 2/5] arm: dts: st: add bootph properties for STM32MP15 boards Patrice Chotard
` (3 subsequent siblings)
4 siblings, 1 reply; 11+ messages in thread
From: Patrice Chotard @ 2026-12-04 16:38 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Alexandre Torgue, Patrick Delaunay, Christoph Niedermaier,
Marek Vasut, Marek Vasut
Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel, kernel,
Patrice Chotard
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@foss.st.com>
---
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;
+};
+
ðernet1 {
nvmem-cell-names = "mac-address";
nvmem-cells = <ðernet_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 = <®11>;
vdda1v8-supply = <®18>;
@@ -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
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH v8 2/5] arm: dts: st: add bootph properties for STM32MP15 boards
2026-12-04 16:38 [PATCH v8 0/5] Add boot phase tags for STMicroelectronics boards Patrice Chotard
2026-12-04 16:38 ` [PATCH v8 1/5] arm: dts: st: add bootph properties for STM32MP13 boards Patrice Chotard
@ 2026-12-04 16:38 ` Patrice Chotard
2026-12-04 17:29 ` sashiko-bot
2026-12-04 16:38 ` [PATCH v8 3/5] arm64: dts: st: add bootph properties for STM32MP21 boards Patrice Chotard
` (2 subsequent siblings)
4 siblings, 1 reply; 11+ messages in thread
From: Patrice Chotard @ 2026-12-04 16:38 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Alexandre Torgue, Patrick Delaunay, Christoph Niedermaier,
Marek Vasut, Marek Vasut
Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel, kernel,
Patrice Chotard
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@foss.st.com>
---
.../boot/dts/st/stm32mp151a-dhcor-testbench.dts | 259 ++++++++++++++++++++
arch/arm/boot/dts/st/stm32mp153c-dhcom-drc02.dts | 258 ++++++++++++++++++++
.../boot/dts/st/stm32mp153c-dhcor-drc-compact.dts | 259 ++++++++++++++++++++
.../boot/dts/st/stm32mp157a-dhcor-avenger96.dts | 263 +++++++++++++++++++++
arch/arm/boot/dts/st/stm32mp157a-dk1-scmi.dts | 90 +++++++
arch/arm/boot/dts/st/stm32mp157a-dk1.dts | 157 ++++++++++++
.../dts/st/stm32mp157a-icore-stm32mp1-ctouch2.dts | 180 ++++++++++++++
.../dts/st/stm32mp157a-icore-stm32mp1-edimm2.2.dts | 177 ++++++++++++++
...m32mp157a-microgea-stm32mp1-microdev2.0-of7.dts | 146 ++++++++++++
.../stm32mp157a-microgea-stm32mp1-microdev2.0.dts | 152 ++++++++++++
arch/arm/boot/dts/st/stm32mp157c-dhcom-pdk2.dts | 258 ++++++++++++++++++++
arch/arm/boot/dts/st/stm32mp157c-dhcom-picoitx.dts | 258 ++++++++++++++++++++
arch/arm/boot/dts/st/stm32mp157c-dk2-scmi.dts | 90 +++++++
arch/arm/boot/dts/st/stm32mp157c-dk2.dts | 154 ++++++++++++
arch/arm/boot/dts/st/stm32mp157c-ed1-scmi.dts | 90 +++++++
arch/arm/boot/dts/st/stm32mp157c-ed1.dts | 172 ++++++++++++++
arch/arm/boot/dts/st/stm32mp157c-ev1-scmi.dts | 119 +++++++++-
arch/arm/boot/dts/st/stm32mp157c-ev1.dts | 221 +++++++++++++++++
arch/arm/boot/dts/st/stm32mp157c-odyssey.dts | 172 ++++++++++++++
19 files changed, 3473 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/st/stm32mp151a-dhcor-testbench.dts b/arch/arm/boot/dts/st/stm32mp151a-dhcor-testbench.dts
index e0f828ecc2fa..31f82f444465 100644
--- a/arch/arm/boot/dts/st/stm32mp151a-dhcor-testbench.dts
+++ b/arch/arm/boot/dts/st/stm32mp151a-dhcor-testbench.dts
@@ -14,4 +14,263 @@ / {
compatible = "dh,stm32mp151a-dhcor-testbench",
"dh,stm32mp151a-dhcor-som",
"st,stm32mp151";
+
+ bootph-all;
+ clocks {
+ bootph-all;
+ };
+
+ psci {
+ bootph-some-ram;
+ };
+
+ soc {
+ bootph-all;
+ };
+};
+
+&bsec {
+ bootph-all;
+};
+
+&clk_csi {
+ bootph-all;
+};
+
+&clk_hse {
+ bootph-all;
+};
+
+&clk_hsi {
+ bootph-all;
+};
+
+&clk_lse {
+ bootph-all;
+};
+
+&clk_lsi {
+ bootph-all;
+};
+
+&etzpc {
+ bootph-all;
+};
+
+&flash0 {
+ bootph-pre-ram;
+};
+
+&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;
+};
+
+&gpioj {
+ bootph-all;
+};
+
+&gpiok {
+ bootph-all;
+};
+
+&gpioz {
+ bootph-all;
+};
+
+&i2c4 {
+ bootph-all;
+};
+
+&i2c4_pins_a {
+ bootph-all;
+ pins {
+ bootph-all;
+ };
+};
+
+&iwdg2 {
+ bootph-all;
+};
+
+<dc {
+ bootph-some-ram;
+};
+
+&pinctrl {
+ bootph-all;
+};
+
+&pinctrl_z {
+ bootph-all;
+};
+
+&pmic {
+ bootph-all;
+ regulators {
+ bootph-all;
+ };
+};
+
+&pwr_regulators {
+ bootph-all;
+};
+
+&qspi {
+ bootph-pre-ram;
+};
+
+&qspi_bk1_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&qspi_clk_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&qspi_cs1_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&rcc {
+ bootph-all;
+};
+
+®11 {
+ bootph-pre-ram;
+};
+
+®18 {
+ bootph-pre-ram;
+};
+
+&sdmmc1 {
+ bootph-pre-ram;
+};
+
+&sdmmc1_b4_pins_a {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
+&sdmmc1_dir_pins_b {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
+&sdmmc2 {
+ bootph-pre-ram;
+};
+
+&sdmmc2_b4_pins_a {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
+&sdmmc2_d47_pins_c {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&uart4 {
+ bootph-all;
+};
+
+&uart4_pins_b {
+ bootph-all;
+ pins1 {
+ bootph-all;
+ };
+
+ pins2 {
+ bootph-all;
+ };
+};
+
+&usb33 {
+ bootph-pre-ram;
+};
+
+&usbotg_hs {
+ bootph-pre-ram;
+};
+
+&usbotg_hs_pins_a {
+ bootph-pre-ram;
+};
+
+&usbphyc {
+ bootph-pre-ram;
+};
+
+&usbphyc_port0 {
+ bootph-pre-ram;
+};
+
+&usbphyc_port1 {
+ bootph-pre-ram;
+};
+
+&vdd_usb {
+ bootph-pre-ram;
};
diff --git a/arch/arm/boot/dts/st/stm32mp153c-dhcom-drc02.dts b/arch/arm/boot/dts/st/stm32mp153c-dhcom-drc02.dts
index b4e504f026ce..9d9e4b4635c5 100644
--- a/arch/arm/boot/dts/st/stm32mp153c-dhcom-drc02.dts
+++ b/arch/arm/boot/dts/st/stm32mp153c-dhcom-drc02.dts
@@ -18,12 +18,123 @@ / {
model = "DH electronics STM32MP153C DHCOM DRC02";
compatible = "dh,stm32mp153c-dhcom-drc02", "dh,stm32mp153c-dhcom-som",
"st,stm32mp153";
+
+ clocks {
+ bootph-all;
+ };
+
+ psci {
+ bootph-some-ram;
+ };
+
+ soc {
+ bootph-all;
+ };
+};
+
+&bsec {
+ bootph-all;
+};
+
+&clk_csi {
+ bootph-all;
+};
+
+&clk_hse {
+ bootph-all;
+};
+
+&clk_hsi {
+ bootph-all;
+};
+
+&clk_lse {
+ bootph-all;
+};
+
+&clk_lsi {
+ bootph-all;
};
&cryp1 {
status = "okay";
};
+&etzpc {
+ bootph-all;
+};
+
+&flash0 {
+ bootph-pre-ram;
+};
+
+&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;
+};
+
+&gpioj {
+ bootph-all;
+};
+
+&gpiok {
+ bootph-all;
+};
+
+&gpioz {
+ bootph-all;
+};
+
+&i2c4 {
+ bootph-all;
+};
+
+&i2c4_pins_a {
+ bootph-all;
+ pins {
+ bootph-all;
+ };
+};
+
+&iwdg2 {
+ bootph-all;
+};
+
+<dc {
+ bootph-some-ram;
+};
+
&m_can1 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&m_can1_pins_a>;
@@ -37,3 +148,150 @@ &m_can2 {
pinctrl-1 = <&m_can2_sleep_pins_a>;
status = "okay";
};
+
+&pinctrl {
+ bootph-all;
+};
+
+&pinctrl_z {
+ bootph-all;
+};
+
+&pmic {
+ bootph-pre-ram;
+ regulators {
+ bootph-pre-ram;
+ };
+};
+
+&pwr_regulators {
+ bootph-all;
+};
+
+&qspi {
+ bootph-pre-ram;
+};
+
+&qspi_bk1_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&qspi_clk_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&qspi_cs1_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&rcc {
+ bootph-all;
+};
+
+®11 {
+ bootph-pre-ram;
+};
+
+®18 {
+ bootph-pre-ram;
+};
+
+&sdmmc1 {
+ bootph-pre-ram;
+};
+
+&sdmmc1_b4_pins_a {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
+&sdmmc1_dir_pins_a {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
+&sdmmc2 {
+ bootph-pre-ram;
+};
+
+&sdmmc2_b4_pins_a {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
+&sdmmc2_d47_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&uart4 {
+ bootph-all;
+};
+
+&uart4_pins_a {
+ bootph-all;
+ pins1 {
+ bootph-all;
+ };
+
+ pins2 {
+ bootph-all;
+ };
+};
+
+&usb33 {
+ bootph-pre-ram;
+};
+
+&usbotg_hs {
+ bootph-pre-ram;
+};
+
+&usbotg_hs_pins_a {
+ bootph-pre-ram;
+};
+
+&usbphyc {
+ bootph-pre-ram;
+};
+
+&usbphyc_port0 {
+ bootph-pre-ram;
+};
+
+&usbphyc_port1 {
+ bootph-pre-ram;
+};
+
+&vdd_usb {
+ bootph-pre-ram;
+};
diff --git a/arch/arm/boot/dts/st/stm32mp153c-dhcor-drc-compact.dts b/arch/arm/boot/dts/st/stm32mp153c-dhcor-drc-compact.dts
index c8b9818499ea..1c1ac74659ee 100644
--- a/arch/arm/boot/dts/st/stm32mp153c-dhcor-drc-compact.dts
+++ b/arch/arm/boot/dts/st/stm32mp153c-dhcor-drc-compact.dts
@@ -20,6 +20,118 @@ / {
compatible = "dh,stm32mp153c-dhcor-drc-compact",
"dh,stm32mp153c-dhcor-som",
"st,stm32mp153";
+
+ bootph-all;
+ clocks {
+ bootph-all;
+ };
+
+ psci {
+ bootph-some-ram;
+ };
+
+ soc {
+ bootph-all;
+ };
+};
+
+&bsec {
+ bootph-all;
+};
+
+&clk_csi {
+ bootph-all;
+};
+
+&clk_hse {
+ bootph-all;
+};
+
+&clk_hsi {
+ bootph-all;
+};
+
+&clk_lse {
+ bootph-all;
+};
+
+&clk_lsi {
+ bootph-all;
+};
+
+&etzpc {
+ bootph-all;
+};
+
+&flash0 {
+ bootph-pre-ram;
+};
+
+&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;
+};
+
+&gpioj {
+ bootph-all;
+};
+
+&gpiok {
+ bootph-all;
+};
+
+&gpioz {
+ bootph-all;
+};
+
+&i2c4 {
+ bootph-all;
+};
+
+&i2c4_pins_a {
+ bootph-all;
+ pins {
+ bootph-all;
+ };
+};
+
+&iwdg2 {
+ bootph-all;
+};
+
+<dc {
+ bootph-some-ram;
};
&m_can1 {
@@ -28,3 +140,150 @@ &m_can1 {
pinctrl-1 = <&m_can1_sleep_pins_c>;
status = "okay";
};
+
+&pinctrl {
+ bootph-all;
+};
+
+&pinctrl_z {
+ bootph-all;
+};
+
+&pmic {
+ bootph-pre-ram;
+ regulators {
+ bootph-pre-ram;
+ };
+};
+
+&pwr_regulators {
+ bootph-pre-ram;
+};
+
+&qspi {
+ bootph-pre-ram;
+};
+
+&qspi_bk1_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&qspi_clk_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&qspi_cs1_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&rcc {
+ bootph-all;
+};
+
+®11 {
+ bootph-pre-ram;
+};
+
+®18 {
+ bootph-pre-ram;
+};
+
+&sdmmc1 {
+ bootph-pre-ram;
+};
+
+&sdmmc1_b4_pins_a {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
+&sdmmc1_dir_pins_b {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
+&sdmmc2 {
+ bootph-pre-ram;
+};
+
+&sdmmc2_b4_pins_a {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
+&sdmmc2_d47_pins_c {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&uart4 {
+ bootph-all;
+};
+
+&uart4_pins_d {
+ bootph-all;
+ pins1 {
+ bootph-all;
+ };
+
+ pins2 {
+ bootph-all;
+ };
+};
+
+&usb33 {
+ bootph-pre-ram;
+};
+
+&usbotg_hs {
+ bootph-pre-ram;
+};
+
+&usbotg_hs_pins_a {
+ bootph-pre-ram;
+};
+
+&usbphyc {
+ bootph-pre-ram;
+};
+
+&usbphyc_port0 {
+ bootph-pre-ram;
+};
+
+&usbphyc_port1 {
+ bootph-pre-ram;
+};
+
+&vdd_usb {
+ bootph-pre-ram;
+};
diff --git a/arch/arm/boot/dts/st/stm32mp157a-dhcor-avenger96.dts b/arch/arm/boot/dts/st/stm32mp157a-dhcor-avenger96.dts
index 275167f26fd9..8ab51a76d64f 100644
--- a/arch/arm/boot/dts/st/stm32mp157a-dhcor-avenger96.dts
+++ b/arch/arm/boot/dts/st/stm32mp157a-dhcor-avenger96.dts
@@ -20,6 +20,118 @@ / {
model = "Arrow Electronics STM32MP157A Avenger96 board";
compatible = "arrow,stm32mp157a-avenger96", "dh,stm32mp157a-dhcor-som",
"st,stm32mp157";
+
+ bootph-all;
+ clocks {
+ bootph-all;
+ };
+
+ psci {
+ bootph-some-ram;
+ };
+
+ soc {
+ bootph-all;
+ };
+};
+
+&bsec {
+ bootph-all;
+};
+
+&clk_csi {
+ bootph-all;
+};
+
+&clk_hse {
+ bootph-all;
+};
+
+&clk_hsi {
+ bootph-all;
+};
+
+&clk_lse {
+ bootph-all;
+};
+
+&clk_lsi {
+ bootph-all;
+};
+
+&etzpc {
+ bootph-all;
+};
+
+&flash0 {
+ bootph-pre-ram;
+};
+
+&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;
+};
+
+&gpioj {
+ bootph-all;
+};
+
+&gpiok {
+ bootph-all;
+};
+
+&gpioz {
+ bootph-all;
+};
+
+&i2c4 {
+ bootph-all;
+};
+
+&i2c4_pins_a {
+ bootph-all;
+ pins {
+ bootph-all;
+ };
+};
+
+&iwdg2 {
+ bootph-all;
+};
+
+<dc {
+ bootph-some-ram;
};
&m_can1 {
@@ -35,3 +147,154 @@ &m_can2 {
pinctrl-1 = <&m_can2_sleep_pins_a>;
status = "disabled";
};
+
+&pinctrl {
+ bootph-all;
+};
+
+&pinctrl_z {
+ bootph-all;
+};
+
+&pmic {
+ bootph-pre-ram;
+ regulators {
+ bootph-pre-ram;
+ };
+};
+
+&pwr_regulators {
+ bootph-pre-ram;
+};
+
+&qspi {
+ bootph-pre-ram;
+};
+
+&qspi_bk1_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&qspi_clk_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&qspi_cs1_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&rcc {
+ bootph-all;
+};
+
+®11 {
+ bootph-pre-ram;
+};
+
+®18 {
+ bootph-pre-ram;
+};
+
+&sdmmc1 {
+ bootph-pre-ram;
+};
+
+&sdmmc1_b4_pins_a {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
+&sdmmc1_dir_pins_b {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
+&sdmmc2 {
+ bootph-pre-ram;
+};
+
+&sdmmc2_b4_pins_a {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
+&sdmmc2_d47_pins_c {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&uart4 {
+ bootph-all;
+};
+
+&uart4_pins_b {
+ bootph-all;
+ pins1 {
+ bootph-all;
+ };
+
+ pins2 {
+ bootph-all;
+ };
+};
+
+&usb33 {
+ bootph-pre-ram;
+};
+
+&usbotg_hs {
+ bootph-pre-ram;
+};
+
+&usbotg_hs_pins_a {
+ bootph-pre-ram;
+};
+
+&usbphyc {
+ bootph-pre-ram;
+};
+
+&usbphyc_port0 {
+ bootph-pre-ram;
+};
+
+&usbphyc_port1 {
+ bootph-pre-ram;
+};
+
+&vdd_io {
+ bootph-pre-ram;
+};
+
+&vdd_usb {
+ bootph-pre-ram;
+};
diff --git a/arch/arm/boot/dts/st/stm32mp157a-dk1-scmi.dts b/arch/arm/boot/dts/st/stm32mp157a-dk1-scmi.dts
index 2f4d212de3e9..90b6b7d909f5 100644
--- a/arch/arm/boot/dts/st/stm32mp157a-dk1-scmi.dts
+++ b/arch/arm/boot/dts/st/stm32mp157a-dk1-scmi.dts
@@ -23,6 +23,14 @@ optee@de000000 {
no-map;
};
};
+
+ soc {
+ bootph-all;
+ };
+
+ psci {
+ bootph-some-ram;
+ };
};
&arm_wdt {
@@ -30,6 +38,10 @@ &arm_wdt {
status = "okay";
};
+&bsec {
+ bootph-all;
+};
+
&cpu0 {
clocks = <&scmi_clk CK_SCMI_MPU>;
};
@@ -42,8 +54,53 @@ &dsi {
clocks = <&rcc DSI>, <&scmi_clk CK_SCMI_HSE>, <&rcc DSI_PX>;
};
+&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;
+};
+
+&gpioj {
+ bootph-all;
+};
+
+&gpiok {
+ bootph-all;
+};
+
&gpioz {
clocks = <&scmi_clk CK_SCMI_GPIOZ>;
+ bootph-all;
};
&hash1 {
@@ -60,6 +117,10 @@ &iwdg2 {
clocks = <&rcc IWDG2>, <&scmi_clk CK_SCMI_LSI>;
};
+<dc {
+ bootph-some-ram;
+};
+
&m4_rproc {
/delete-property/ st,syscfg-holdboot;
resets = <&scmi_reset RST_SCMI_MCU>,
@@ -74,6 +135,15 @@ &mdma1 {
&optee {
interrupt-parent = <&intc>;
interrupts = <GIC_PPI 15 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
+ bootph-some-ram;
+};
+
+&pinctrl {
+ bootph-all;
+};
+
+&pinctrl_z {
+ bootph-all;
};
&rcc {
@@ -84,6 +154,7 @@ &rcc {
<&scmi_clk CK_SCMI_CSI>,
<&scmi_clk CK_SCMI_LSE>,
<&scmi_clk CK_SCMI_LSI>;
+ bootph-all;
};
&rng1 {
@@ -94,3 +165,22 @@ &rng1 {
&rtc {
clocks = <&scmi_clk CK_SCMI_RTCAPB>, <&scmi_clk CK_SCMI_RTC>;
};
+
+&scmi {
+ bootph-some-ram;
+};
+
+&uart4 {
+ bootph-all;
+};
+
+&uart4_pins_a {
+ bootph-all;
+ pins1 {
+ bootph-all;
+ };
+
+ pins2 {
+ bootph-all;
+ };
+};
diff --git a/arch/arm/boot/dts/st/stm32mp157a-dk1.dts b/arch/arm/boot/dts/st/stm32mp157a-dk1.dts
index 0da3667ab1e0..1b314bc71ce0 100644
--- a/arch/arm/boot/dts/st/stm32mp157a-dk1.dts
+++ b/arch/arm/boot/dts/st/stm32mp157a-dk1.dts
@@ -22,4 +22,161 @@ aliases {
chosen {
stdout-path = "serial0:115200n8";
};
+
+ clocks {
+ bootph-all;
+ };
+
+ psci {
+ bootph-some-ram;
+ };
+
+ soc {
+ bootph-all;
+ };
+};
+
+&bsec {
+ bootph-all;
+};
+
+&clk_csi {
+ bootph-all;
+};
+
+&clk_hse {
+ bootph-all;
+};
+
+&clk_hsi {
+ bootph-all;
+};
+
+&clk_lse {
+ bootph-all;
+};
+
+&clk_lsi {
+ bootph-all;
+};
+
+&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;
+};
+
+&gpioj {
+ bootph-all;
+};
+
+&gpiok {
+ bootph-all;
+};
+
+&gpioz {
+ bootph-all;
+};
+
+&i2c4 {
+ bootph-all;
+};
+
+&i2c4_pins_a {
+ bootph-all;
+ pins {
+ bootph-all;
+ };
+};
+
+&iwdg2 {
+ bootph-all;
+};
+
+<dc {
+ bootph-some-ram;
+};
+
+&pinctrl {
+ bootph-all;
+};
+
+&pinctrl_z {
+ bootph-all;
+};
+
+&pmic {
+ bootph-all;
+};
+
+&pwr_regulators {
+ bootph-all;
+};
+
+&rcc {
+ bootph-all;
+};
+
+&sdmmc1 {
+ bootph-pre-ram;
+};
+
+&sdmmc1_b4_pins_a {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
+&uart4 {
+ bootph-all;
+};
+
+&uart4_pins_a {
+ bootph-all;
+ pins1 {
+ bootph-all;
+ };
+
+ pins2 {
+ bootph-all;
+ };
};
diff --git a/arch/arm/boot/dts/st/stm32mp157a-icore-stm32mp1-ctouch2.dts b/arch/arm/boot/dts/st/stm32mp157a-icore-stm32mp1-ctouch2.dts
index 60ce4425a7fd..d546ef9e59bf 100644
--- a/arch/arm/boot/dts/st/stm32mp157a-icore-stm32mp1-ctouch2.dts
+++ b/arch/arm/boot/dts/st/stm32mp157a-icore-stm32mp1-ctouch2.dts
@@ -24,6 +24,118 @@ aliases {
chosen {
stdout-path = "serial0:115200n8";
};
+
+ clocks {
+ bootph-all;
+ };
+
+ psci {
+ bootph-some-ram;
+ };
+
+ soc {
+ bootph-all;
+ };
+};
+
+&bsec {
+ bootph-all;
+};
+
+&clk_csi {
+ bootph-all;
+};
+
+&clk_hse {
+ bootph-all;
+};
+
+&clk_hsi {
+ bootph-all;
+};
+
+&clk_lse {
+ bootph-all;
+};
+
+&clk_lsi {
+ bootph-all;
+};
+
+&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;
+};
+
+&gpioj {
+ bootph-all;
+};
+
+&gpiok {
+ bootph-all;
+};
+
+&gpioz {
+ bootph-all;
+};
+
+&iwdg2 {
+ bootph-all;
+};
+
+<dc {
+ bootph-some-ram;
+};
+
+&pinctrl {
+ bootph-all;
+};
+
+&pinctrl_z {
+ bootph-all;
+};
+
+&pwr_regulators {
+ bootph-all;
+};
+
+&rcc {
+ bootph-all;
};
&sdmmc1 {
@@ -35,9 +147,21 @@ &sdmmc1 {
pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
st,neg-edge;
vmmc-supply = <&v3v3>;
+ bootph-all;
status = "okay";
};
+&sdmmc1_b4_pins_a {
+ bootph-all;
+ pins1 {
+ bootph-all;
+ };
+
+ pins2 {
+ bootph-all;
+ };
+};
+
&uart4 {
pinctrl-names = "default", "sleep", "idle";
pinctrl-0 = <&uart4_pins_a>;
@@ -45,5 +169,61 @@ &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;
+ };
+};
+
+&v1v8 {
+ bootph-all;
+};
+
+&v2v8 {
+ bootph-all;
+};
+
+&v3v3 {
+ bootph-all;
+};
+
+&vdd {
+ bootph-all;
+};
+
+&vdd_ddr {
+ bootph-all;
+};
+
+&vdd_sd {
+ bootph-all;
+};
+
+&vdd_usb {
+ bootph-all;
+};
+
+&vdda {
+ bootph-all;
+};
+
+&vddcore {
+ bootph-all;
+};
+
+&vref_ddr {
+ bootph-all;
+};
+
+&vtt_ddr {
+ bootph-all;
+};
diff --git a/arch/arm/boot/dts/st/stm32mp157a-icore-stm32mp1-edimm2.2.dts b/arch/arm/boot/dts/st/stm32mp157a-icore-stm32mp1-edimm2.2.dts
index f8e404346396..61106278b972 100644
--- a/arch/arm/boot/dts/st/stm32mp157a-icore-stm32mp1-edimm2.2.dts
+++ b/arch/arm/boot/dts/st/stm32mp157a-icore-stm32mp1-edimm2.2.dts
@@ -42,6 +42,42 @@ panel_out_bridge: endpoint {
};
};
};
+
+ clocks {
+ bootph-all;
+ };
+
+ psci {
+ bootph-some-ram;
+ };
+
+ soc {
+ bootph-all;
+ };
+};
+
+&bsec {
+ bootph-all;
+};
+
+&clk_csi {
+ bootph-all;
+};
+
+&clk_hse {
+ bootph-all;
+};
+
+&clk_hsi {
+ bootph-all;
+};
+
+&clk_lse {
+ bootph-all;
+};
+
+&clk_lsi {
+ bootph-all;
};
&dsi {
@@ -56,6 +92,58 @@ &dsi_out {
remote-endpoint = <&bridge_in_dsi>;
};
+&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;
+};
+
+&gpioj {
+ bootph-all;
+};
+
+&gpiok {
+ bootph-all;
+};
+
+&gpioz {
+ bootph-all;
+};
+
&i2c6 {
i2c-scl-falling-time-ns = <20>;
i2c-scl-rising-time-ns = <185>;
@@ -91,7 +179,12 @@ bridge_out_panel: endpoint {
};
};
+&iwdg2 {
+ bootph-all;
+};
+
<dc {
+ bootph-some-ram;
status = "okay";
port {
@@ -101,6 +194,22 @@ ltdc_out_dsi: endpoint {
};
};
+&pinctrl {
+ bootph-all;
+};
+
+&pinctrl_z {
+ bootph-all;
+};
+
+&pwr_regulators {
+ bootph-all;
+};
+
+&rcc {
+ bootph-all;
+};
+
&sdmmc1 {
bus-width = <4>;
disable-wp;
@@ -110,9 +219,21 @@ &sdmmc1 {
pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
st,neg-edge;
vmmc-supply = <&v3v3>;
+ bootph-all;
status = "okay";
};
+&sdmmc1_b4_pins_a {
+ bootph-all;
+ pins1 {
+ bootph-all;
+ };
+
+ pins2 {
+ bootph-all;
+ };
+};
+
&uart4 {
pinctrl-names = "default", "sleep", "idle";
pinctrl-0 = <&uart4_pins_a>;
@@ -120,5 +241,61 @@ &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;
+ };
+};
+
+&v1v8 {
+ bootph-all;
+};
+
+&v2v8 {
+ bootph-all;
+};
+
+&v3v3 {
+ bootph-all;
+};
+
+&vdd {
+ bootph-all;
+};
+
+&vdd_ddr {
+ bootph-all;
+};
+
+&vdd_sd {
+ bootph-all;
+};
+
+&vdd_usb {
+ bootph-all;
+};
+
+&vdda {
+ bootph-all;
+};
+
+&vddcore {
+ bootph-all;
+};
+
+&vref_ddr {
+ bootph-all;
+};
+
+&vtt_ddr {
+ bootph-all;
+};
diff --git a/arch/arm/boot/dts/st/stm32mp157a-microgea-stm32mp1-microdev2.0-of7.dts b/arch/arm/boot/dts/st/stm32mp157a-microgea-stm32mp1-microdev2.0-of7.dts
index 5116a7785201..b88ebc073e7e 100644
--- a/arch/arm/boot/dts/st/stm32mp157a-microgea-stm32mp1-microdev2.0-of7.dts
+++ b/arch/arm/boot/dts/st/stm32mp157a-microgea-stm32mp1-microdev2.0-of7.dts
@@ -64,6 +64,94 @@ panel_in: endpoint {
};
};
};
+
+ clocks {
+ bootph-all;
+ };
+
+ psci {
+ bootph-some-ram;
+ };
+
+ soc {
+ bootph-all;
+ };
+};
+
+&bsec {
+ bootph-all;
+};
+
+&clk_csi {
+ bootph-all;
+};
+
+&clk_hse {
+ bootph-all;
+};
+
+&clk_hsi {
+ bootph-all;
+};
+
+&clk_lse {
+ bootph-all;
+};
+
+&clk_lsi {
+ bootph-all;
+};
+
+&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;
+};
+
+&gpioj {
+ bootph-all;
+};
+
+&gpiok {
+ bootph-all;
+};
+
+&gpioz {
+ bootph-all;
};
&i2c2 {
@@ -75,9 +163,14 @@ &i2c2 {
status = "okay";
};
+&iwdg2 {
+ bootph-all;
+};
+
<dc {
pinctrl-names = "default";
pinctrl-0 = <<dc_pins>;
+ bootph-some-ram;
status = "okay";
port {
@@ -88,6 +181,7 @@ ltdc_ep0_out: endpoint {
};
&pinctrl {
+ bootph-all;
ltdc_pins: ltdc-0 {
pins {
pinmux = <STM32_PINMUX('G', 10, AF14)>, /* LTDC_B2 */
@@ -125,6 +219,18 @@ pins {
};
};
+&pinctrl_z {
+ bootph-all;
+};
+
+&pwr_regulators {
+ bootph-all;
+};
+
+&rcc {
+ bootph-all;
+};
+
&sdmmc1 {
bus-width = <4>;
disable-wp;
@@ -134,9 +240,21 @@ &sdmmc1 {
pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
st,neg-edge;
vmmc-supply = <&vdd>;
+ bootph-all;
status = "okay";
};
+&sdmmc1_b4_pins_a {
+ bootph-all;
+ pins1 {
+ bootph-all;
+ };
+
+ pins2 {
+ bootph-all;
+ };
+};
+
&uart4 {
pinctrl-names = "default", "sleep", "idle";
pinctrl-0 = <&uart4_pins_a>;
@@ -144,9 +262,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;
+ };
+};
+
/* J31: RS323 */
&uart8 {
pinctrl-names = "default";
@@ -155,3 +285,19 @@ &uart8 {
/delete-property/dma-names;
status = "okay";
};
+
+&vdd {
+ bootph-all;
+};
+
+&vddcore {
+ bootph-all;
+};
+
+&vddq_ddr {
+ bootph-all;
+};
+
+&vin {
+ bootph-all;
+};
diff --git a/arch/arm/boot/dts/st/stm32mp157a-microgea-stm32mp1-microdev2.0.dts b/arch/arm/boot/dts/st/stm32mp157a-microgea-stm32mp1-microdev2.0.dts
index d949559be020..b24fcbd65fbc 100644
--- a/arch/arm/boot/dts/st/stm32mp157a-microgea-stm32mp1-microdev2.0.dts
+++ b/arch/arm/boot/dts/st/stm32mp157a-microgea-stm32mp1-microdev2.0.dts
@@ -25,6 +25,118 @@ aliases {
chosen {
stdout-path = "serial0:115200n8";
};
+
+ clocks {
+ bootph-all;
+ };
+
+ psci {
+ bootph-some-ram;
+ };
+
+ soc {
+ bootph-all;
+ };
+};
+
+&bsec {
+ bootph-all;
+};
+
+&clk_csi {
+ bootph-all;
+};
+
+&clk_hse {
+ bootph-all;
+};
+
+&clk_hsi {
+ bootph-all;
+};
+
+&clk_lse {
+ bootph-all;
+};
+
+&clk_lsi {
+ bootph-all;
+};
+
+&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;
+};
+
+&gpioj {
+ bootph-all;
+};
+
+&gpiok {
+ bootph-all;
+};
+
+&gpioz {
+ bootph-all;
+};
+
+&iwdg2 {
+ bootph-all;
+};
+
+<dc {
+ bootph-some-ram;
+};
+
+&pinctrl {
+ bootph-all;
+};
+
+&pinctrl_z {
+ bootph-all;
+};
+
+&pwr_regulators {
+ bootph-all;
+};
+
+&rcc {
+ bootph-all;
};
&sdmmc1 {
@@ -36,9 +148,21 @@ &sdmmc1 {
pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
st,neg-edge;
vmmc-supply = <&vdd>;
+ bootph-all;
status = "okay";
};
+&sdmmc1_b4_pins_a {
+ bootph-all;
+ pins1 {
+ bootph-all;
+ };
+
+ pins2 {
+ bootph-all;
+ };
+};
+
&uart4 {
pinctrl-names = "default", "sleep", "idle";
pinctrl-0 = <&uart4_pins_a>;
@@ -46,9 +170,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;
+ };
+};
+
/* J31: RS323 */
&uart8 {
pinctrl-names = "default";
@@ -57,3 +193,19 @@ &uart8 {
/delete-property/dma-names;
status = "okay";
};
+
+&vdd {
+ bootph-all;
+};
+
+&vddcore {
+ bootph-all;
+};
+
+&vddq_ddr {
+ bootph-all;
+};
+
+&vin {
+ bootph-all;
+};
diff --git a/arch/arm/boot/dts/st/stm32mp157c-dhcom-pdk2.dts b/arch/arm/boot/dts/st/stm32mp157c-dhcom-pdk2.dts
index 6dd8216c235e..e53d0a1153a4 100644
--- a/arch/arm/boot/dts/st/stm32mp157c-dhcom-pdk2.dts
+++ b/arch/arm/boot/dts/st/stm32mp157c-dhcom-pdk2.dts
@@ -18,15 +18,273 @@ / {
model = "DH electronics STM32MP157C DHCOM Premium Developer Kit (2)";
compatible = "dh,stm32mp157c-dhcom-pdk2", "dh,stm32mp157c-dhcom-som",
"st,stm32mp157";
+
+ clocks {
+ bootph-all;
+ };
+
+ psci {
+ bootph-some-ram;
+ };
+
+ soc {
+ bootph-all;
+ };
+};
+
+&bsec {
+ bootph-all;
+};
+
+&clk_csi {
+ bootph-all;
+};
+
+&clk_hse {
+ bootph-all;
+};
+
+&clk_hsi {
+ bootph-all;
+};
+
+&clk_lse {
+ bootph-all;
+};
+
+&clk_lsi {
+ bootph-all;
};
&cryp1 {
status = "okay";
};
+&etzpc {
+ bootph-all;
+};
+
+&flash0 {
+ bootph-pre-ram;
+};
+
+&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;
+};
+
+&gpioj {
+ bootph-all;
+};
+
+&gpiok {
+ bootph-all;
+};
+
+&gpioz {
+ bootph-all;
+};
+
+&i2c4 {
+ bootph-all;
+};
+
+&i2c4_pins_a {
+ bootph-all;
+ pins {
+ bootph-all;
+ };
+};
+
+&iwdg2 {
+ bootph-all;
+};
+
+<dc {
+ bootph-some-ram;
+};
+
&m_can1 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&m_can1_pins_a>;
pinctrl-1 = <&m_can1_sleep_pins_a>;
status = "okay";
};
+
+&pinctrl {
+ bootph-all;
+};
+
+&pinctrl_z {
+ bootph-all;
+};
+
+&pmic {
+ bootph-pre-ram;
+ regulators {
+ bootph-pre-ram;
+ };
+};
+
+&pwr_regulators {
+ bootph-all;
+};
+
+&qspi {
+ bootph-pre-ram;
+};
+
+&qspi_bk1_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&qspi_clk_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&qspi_cs1_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&rcc {
+ bootph-all;
+};
+
+®11 {
+ bootph-pre-ram;
+};
+
+®18 {
+ bootph-pre-ram;
+};
+
+&sdmmc1 {
+ bootph-pre-ram;
+};
+
+&sdmmc1_b4_pins_a {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
+&sdmmc1_dir_pins_a {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
+&sdmmc2 {
+ bootph-pre-ram;
+};
+
+&sdmmc2_b4_pins_a {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
+&sdmmc2_d47_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&uart4 {
+ bootph-all;
+};
+
+&uart4_pins_a {
+ bootph-all;
+ pins1 {
+ bootph-all;
+ };
+
+ pins2 {
+ bootph-all;
+ };
+};
+
+&usb33 {
+ bootph-pre-ram;
+};
+
+&usbotg_hs {
+ bootph-pre-ram;
+};
+
+&usbotg_hs_pins_a {
+ bootph-pre-ram;
+};
+
+&usbphyc {
+ bootph-pre-ram;
+};
+
+&usbphyc_port0 {
+ bootph-pre-ram;
+};
+
+&usbphyc_port1 {
+ bootph-pre-ram;
+};
+
+&vdd_usb {
+ bootph-pre-ram;
+};
diff --git a/arch/arm/boot/dts/st/stm32mp157c-dhcom-picoitx.dts b/arch/arm/boot/dts/st/stm32mp157c-dhcom-picoitx.dts
index 7067a860aaff..c0fb57fb4b24 100644
--- a/arch/arm/boot/dts/st/stm32mp157c-dhcom-picoitx.dts
+++ b/arch/arm/boot/dts/st/stm32mp157c-dhcom-picoitx.dts
@@ -18,12 +18,123 @@ / {
model = "DH electronics STM32MP157C DHCOM PicoITX";
compatible = "dh,stm32mp157c-dhcom-picoitx", "dh,stm32mp157c-dhcom-som",
"st,stm32mp157";
+
+ clocks {
+ bootph-all;
+ };
+
+ psci {
+ bootph-some-ram;
+ };
+
+ soc {
+ bootph-all;
+ };
+};
+
+&bsec {
+ bootph-all;
+};
+
+&clk_csi {
+ bootph-all;
+};
+
+&clk_hse {
+ bootph-all;
+};
+
+&clk_hsi {
+ bootph-all;
+};
+
+&clk_lse {
+ bootph-all;
+};
+
+&clk_lsi {
+ bootph-all;
};
&cryp1 {
status = "okay";
};
+&etzpc {
+ bootph-all;
+};
+
+&flash0 {
+ bootph-pre-ram;
+};
+
+&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;
+};
+
+&gpioj {
+ bootph-all;
+};
+
+&gpiok {
+ bootph-all;
+};
+
+&gpioz {
+ bootph-all;
+};
+
+&i2c4 {
+ bootph-all;
+};
+
+&i2c4_pins_a {
+ bootph-all;
+ pins {
+ bootph-all;
+ };
+};
+
+&iwdg2 {
+ bootph-all;
+};
+
+<dc {
+ bootph-some-ram;
+};
+
&m_can1 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&m_can1_pins_a>;
@@ -37,3 +148,150 @@ &m_can2 {
pinctrl-1 = <&m_can2_sleep_pins_a>;
status = "okay";
};
+
+&pinctrl {
+ bootph-all;
+};
+
+&pinctrl_z {
+ bootph-all;
+};
+
+&pmic {
+ bootph-pre-ram;
+ regulators {
+ bootph-pre-ram;
+ };
+};
+
+&pwr_regulators {
+ bootph-all;
+};
+
+&qspi {
+ bootph-pre-ram;
+};
+
+&qspi_bk1_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&qspi_clk_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&qspi_cs1_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&rcc {
+ bootph-all;
+};
+
+®11 {
+ bootph-pre-ram;
+};
+
+®18 {
+ bootph-pre-ram;
+};
+
+&sdmmc1 {
+ bootph-pre-ram;
+};
+
+&sdmmc1_b4_pins_a {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
+&sdmmc1_dir_pins_a {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
+&sdmmc2 {
+ bootph-pre-ram;
+};
+
+&sdmmc2_b4_pins_a {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
+&sdmmc2_d47_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&uart4 {
+ bootph-all;
+};
+
+&uart4_pins_a {
+ bootph-all;
+ pins1 {
+ bootph-all;
+ };
+
+ pins2 {
+ bootph-all;
+ };
+};
+
+&usb33 {
+ bootph-pre-ram;
+};
+
+&usbotg_hs {
+ bootph-pre-ram;
+};
+
+&usbotg_hs_pins_a {
+ bootph-pre-ram;
+};
+
+&usbphyc {
+ bootph-pre-ram;
+};
+
+&usbphyc_port0 {
+ bootph-pre-ram;
+};
+
+&usbphyc_port1 {
+ bootph-pre-ram;
+};
+
+&vdd_usb {
+ bootph-pre-ram;
+};
diff --git a/arch/arm/boot/dts/st/stm32mp157c-dk2-scmi.dts b/arch/arm/boot/dts/st/stm32mp157c-dk2-scmi.dts
index 41ba8a5b756b..d3d86f1791f2 100644
--- a/arch/arm/boot/dts/st/stm32mp157c-dk2-scmi.dts
+++ b/arch/arm/boot/dts/st/stm32mp157c-dk2-scmi.dts
@@ -23,6 +23,14 @@ optee@de000000 {
no-map;
};
};
+
+ soc {
+ bootph-all;
+ };
+
+ psci {
+ bootph-some-ram;
+ };
};
&arm_wdt {
@@ -30,6 +38,10 @@ &arm_wdt {
status = "okay";
};
+&bsec {
+ bootph-all;
+};
+
&cpu0 {
clocks = <&scmi_clk CK_SCMI_MPU>;
};
@@ -48,8 +60,53 @@ &dsi {
clocks = <&rcc DSI>, <&scmi_clk CK_SCMI_HSE>, <&rcc DSI_PX>;
};
+&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;
+};
+
+&gpioj {
+ bootph-all;
+};
+
+&gpiok {
+ bootph-all;
+};
+
&gpioz {
clocks = <&scmi_clk CK_SCMI_GPIOZ>;
+ bootph-all;
};
&hash1 {
@@ -66,6 +123,10 @@ &iwdg2 {
clocks = <&rcc IWDG2>, <&scmi_clk CK_SCMI_LSI>;
};
+<dc {
+ bootph-some-ram;
+};
+
&m4_rproc {
/delete-property/ st,syscfg-holdboot;
resets = <&scmi_reset RST_SCMI_MCU>,
@@ -80,6 +141,15 @@ &mdma1 {
&optee {
interrupt-parent = <&intc>;
interrupts = <GIC_PPI 15 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
+ bootph-some-ram;
+};
+
+&pinctrl {
+ bootph-all;
+};
+
+&pinctrl_z {
+ bootph-all;
};
&rcc {
@@ -90,6 +160,7 @@ &rcc {
<&scmi_clk CK_SCMI_CSI>,
<&scmi_clk CK_SCMI_LSE>,
<&scmi_clk CK_SCMI_LSI>;
+ bootph-all;
};
&rng1 {
@@ -100,3 +171,22 @@ &rng1 {
&rtc {
clocks = <&scmi_clk CK_SCMI_RTCAPB>, <&scmi_clk CK_SCMI_RTC>;
};
+
+&scmi {
+ bootph-some-ram;
+};
+
+&uart4 {
+ bootph-all;
+};
+
+&uart4_pins_a {
+ bootph-all;
+ pins1 {
+ bootph-all;
+ };
+
+ pins2 {
+ bootph-all;
+ };
+};
diff --git a/arch/arm/boot/dts/st/stm32mp157c-dk2.dts b/arch/arm/boot/dts/st/stm32mp157c-dk2.dts
index 1ec3b8f2faa9..a9c4b51f3985 100644
--- a/arch/arm/boot/dts/st/stm32mp157c-dk2.dts
+++ b/arch/arm/boot/dts/st/stm32mp157c-dk2.dts
@@ -29,6 +29,42 @@ wifi_pwrseq: wifi-pwrseq {
compatible = "mmc-pwrseq-simple";
reset-gpios = <&gpioh 4 GPIO_ACTIVE_LOW>;
};
+
+ clocks {
+ bootph-all;
+ };
+
+ psci {
+ bootph-some-ram;
+ };
+
+ soc {
+ bootph-all;
+ };
+};
+
+&bsec {
+ bootph-all;
+};
+
+&clk_csi {
+ bootph-all;
+};
+
+&clk_hse {
+ bootph-all;
+};
+
+&clk_hsi {
+ bootph-all;
+};
+
+&clk_lse {
+ bootph-all;
+};
+
+&clk_lsi {
+ bootph-all;
};
&cryp1 {
@@ -62,6 +98,58 @@ &dsi_out {
remote-endpoint = <&panel_in>;
};
+&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;
+};
+
+&gpioj {
+ bootph-all;
+};
+
+&gpiok {
+ bootph-all;
+};
+
+&gpioz {
+ bootph-all;
+};
+
&hdp {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&hdp2_gpo &hdp2_pins_a>;
@@ -79,7 +167,23 @@ touchscreen@38 {
};
};
+&i2c4 {
+ bootph-all;
+};
+
+&i2c4_pins_a {
+ bootph-all;
+ pins {
+ bootph-all;
+ };
+};
+
+&iwdg2 {
+ bootph-all;
+};
+
<dc {
+ bootph-some-ram;
status = "okay";
port {
@@ -93,6 +197,26 @@ ltdc_ep1_out: endpoint@1 {
};
};
+&pinctrl {
+ bootph-all;
+};
+
+&pinctrl_z {
+ bootph-all;
+};
+
+&pmic {
+ bootph-all;
+};
+
+&pwr_regulators {
+ bootph-all;
+};
+
+&rcc {
+ bootph-all;
+};
+
&rtc {
pinctrl-names = "default";
pinctrl-0 = <&rtc_rsvd_pins_a>;
@@ -103,6 +227,21 @@ rtc_lsco_pins_a: rtc-lsco-0 {
};
};
+&sdmmc1 {
+ bootph-pre-ram;
+};
+
+&sdmmc1_b4_pins_a {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
/* Wifi */
&sdmmc2 {
pinctrl-names = "default", "opendrain", "sleep";
@@ -127,6 +266,21 @@ brcmf: wifi@1 {
};
};
+&uart4 {
+ bootph-all;
+};
+
+&uart4_pins_a {
+ bootph-all;
+ pins1 {
+ bootph-all;
+ };
+
+ pins2 {
+ bootph-all;
+ };
+};
+
/* Bluetooth */
&usart2 {
pinctrl-names = "default", "sleep", "idle";
diff --git a/arch/arm/boot/dts/st/stm32mp157c-ed1-scmi.dts b/arch/arm/boot/dts/st/stm32mp157c-ed1-scmi.dts
index 2fad04ed6016..1e3e029e96cc 100644
--- a/arch/arm/boot/dts/st/stm32mp157c-ed1-scmi.dts
+++ b/arch/arm/boot/dts/st/stm32mp157c-ed1-scmi.dts
@@ -23,6 +23,14 @@ optee@fe000000 {
no-map;
};
};
+
+ soc {
+ bootph-all;
+ };
+
+ psci {
+ bootph-some-ram;
+ };
};
&arm_wdt {
@@ -30,6 +38,10 @@ &arm_wdt {
status = "okay";
};
+&bsec {
+ bootph-all;
+};
+
&cpu0 {
clocks = <&scmi_clk CK_SCMI_MPU>;
};
@@ -47,8 +59,53 @@ &dsi {
clocks = <&rcc DSI>, <&scmi_clk CK_SCMI_HSE>, <&rcc DSI_PX>;
};
+&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;
+};
+
+&gpioj {
+ bootph-all;
+};
+
+&gpiok {
+ bootph-all;
+};
+
&gpioz {
clocks = <&scmi_clk CK_SCMI_GPIOZ>;
+ bootph-all;
};
&hash1 {
@@ -65,6 +122,10 @@ &iwdg2 {
clocks = <&rcc IWDG2>, <&scmi_clk CK_SCMI_LSI>;
};
+<dc {
+ bootph-some-ram;
+};
+
&m4_rproc {
/delete-property/ st,syscfg-holdboot;
resets = <&scmi_reset RST_SCMI_MCU>,
@@ -79,6 +140,15 @@ &mdma1 {
&optee {
interrupt-parent = <&intc>;
interrupts = <GIC_PPI 15 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
+ bootph-some-ram;
+};
+
+&pinctrl {
+ bootph-all;
+};
+
+&pinctrl_z {
+ bootph-all;
};
&rcc {
@@ -89,6 +159,7 @@ &rcc {
<&scmi_clk CK_SCMI_CSI>,
<&scmi_clk CK_SCMI_LSE>,
<&scmi_clk CK_SCMI_LSI>;
+ bootph-all;
};
&rng1 {
@@ -99,3 +170,22 @@ &rng1 {
&rtc {
clocks = <&scmi_clk CK_SCMI_RTCAPB>, <&scmi_clk CK_SCMI_RTC>;
};
+
+&scmi {
+ bootph-some-ram;
+};
+
+&uart4 {
+ bootph-all;
+};
+
+&uart4_pins_a {
+ bootph-all;
+ pins1 {
+ bootph-all;
+ };
+
+ pins2 {
+ bootph-all;
+ };
+};
diff --git a/arch/arm/boot/dts/st/stm32mp157c-ed1.dts b/arch/arm/boot/dts/st/stm32mp157c-ed1.dts
index 6c7dfbee2952..8636c733c48b 100644
--- a/arch/arm/boot/dts/st/stm32mp157c-ed1.dts
+++ b/arch/arm/boot/dts/st/stm32mp157c-ed1.dts
@@ -118,6 +118,18 @@ vin: vin {
regulator-max-microvolt = <5000000>;
regulator-always-on;
};
+
+ clocks {
+ bootph-all;
+ };
+
+ psci {
+ bootph-some-ram;
+ };
+
+ soc {
+ bootph-all;
+ };
};
&adc {
@@ -146,6 +158,30 @@ channel@6 {
};
};
+&bsec {
+ bootph-all;
+};
+
+&clk_csi {
+ bootph-all;
+};
+
+&clk_hse {
+ bootph-all;
+};
+
+&clk_hsi {
+ bootph-all;
+};
+
+&clk_lse {
+ bootph-all;
+};
+
+&clk_lsi {
+ bootph-all;
+};
+
&crc1 {
status = "okay";
};
@@ -171,6 +207,58 @@ &dts {
status = "okay";
};
+&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;
+};
+
+&gpioj {
+ bootph-all;
+};
+
+&gpiok {
+ bootph-all;
+};
+
+&gpioz {
+ bootph-all;
+};
+
&hash1 {
status = "okay";
};
@@ -182,6 +270,7 @@ &i2c4 {
i2c-scl-rising-time-ns = <185>;
i2c-scl-falling-time-ns = <20>;
clock-frequency = <400000>;
+ bootph-all;
status = "okay";
/* spare dmas for other usage */
/delete-property/dmas;
@@ -328,6 +417,13 @@ watchdog {
};
};
+&i2c4_pins_a {
+ bootph-all;
+ pins {
+ bootph-all;
+ };
+};
+
&ipcc {
status = "okay";
};
@@ -339,9 +435,14 @@ &iwdg1 {
&iwdg2 {
timeout-sec = <32>;
+ bootph-all;
status = "okay";
};
+<dc {
+ bootph-some-ram;
+};
+
&m4_rproc {
memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>,
<&vdev0vring1>, <&vdev0buffer>;
@@ -354,9 +455,26 @@ &m4_rproc {
status = "okay";
};
+&pinctrl {
+ bootph-all;
+};
+
+&pinctrl_z {
+ bootph-all;
+};
+
+&pmic {
+ bootph-all;
+};
+
&pwr_regulators {
vdd-supply = <&vdd>;
vdd_3v3_usbfs-supply = <&vdd_usb>;
+ bootph-all;
+};
+
+&rcc {
+ bootph-all;
};
&rng1 {
@@ -384,9 +502,32 @@ &sdmmc1 {
sd-uhs-sdr25;
sd-uhs-sdr50;
sd-uhs-ddr50;
+ bootph-pre-ram;
status = "okay";
};
+&sdmmc1_b4_pins_a {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
+&sdmmc1_dir_pins_a {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
&sdmmc2 {
pinctrl-names = "default", "opendrain", "sleep";
pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_a>;
@@ -400,9 +541,28 @@ &sdmmc2 {
vmmc-supply = <&v3v3>;
vqmmc-supply = <&vdd>;
mmc-ddr-3_3v;
+ bootph-pre-ram;
status = "okay";
};
+&sdmmc2_b4_pins_a {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
+&sdmmc2_d47_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
&timers6 {
status = "okay";
/* spare dmas for other usage */
@@ -420,9 +580,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;
+ };
+};
+
&usbotg_hs {
vbus-supply = <&vbus_otg>;
};
diff --git a/arch/arm/boot/dts/st/stm32mp157c-ev1-scmi.dts b/arch/arm/boot/dts/st/stm32mp157c-ev1-scmi.dts
index d14506e9b6f0..ba33fdd37a78 100644
--- a/arch/arm/boot/dts/st/stm32mp157c-ev1-scmi.dts
+++ b/arch/arm/boot/dts/st/stm32mp157c-ev1-scmi.dts
@@ -23,6 +23,14 @@ optee@fe000000 {
no-map;
};
};
+
+ soc {
+ bootph-all;
+ };
+
+ psci {
+ bootph-some-ram;
+ };
};
&arm_wdt {
@@ -30,6 +38,10 @@ &arm_wdt {
status = "okay";
};
+&bsec {
+ bootph-all;
+};
+
&cpu0 {
clocks = <&scmi_clk CK_SCMI_MPU>;
};
@@ -48,8 +60,53 @@ &dsi {
clocks = <&rcc DSI>, <&scmi_clk CK_SCMI_HSE>, <&rcc DSI_PX>;
};
+&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;
+};
+
+&gpioj {
+ bootph-all;
+};
+
+&gpiok {
+ bootph-all;
+};
+
&gpioz {
clocks = <&scmi_clk CK_SCMI_GPIOZ>;
+ bootph-all;
};
&hash1 {
@@ -66,8 +123,8 @@ &iwdg2 {
clocks = <&rcc IWDG2>, <&scmi_clk CK_SCMI_LSI>;
};
-&m_can1 {
- clocks = <&scmi_clk CK_SCMI_HSE>, <&rcc FDCAN_K>;
+<dc {
+ bootph-some-ram;
};
&m4_rproc {
@@ -77,6 +134,10 @@ &m4_rproc {
reset-names = "mcu_rst", "hold_boot";
};
+&m_can1 {
+ clocks = <&scmi_clk CK_SCMI_HSE>, <&rcc FDCAN_K>;
+};
+
&mdma1 {
resets = <&scmi_reset RST_SCMI_MDMA>;
};
@@ -84,6 +145,40 @@ &mdma1 {
&optee {
interrupt-parent = <&intc>;
interrupts = <GIC_PPI 15 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
+ bootph-some-ram;
+};
+
+&pinctrl {
+ bootph-all;
+};
+
+&pinctrl_z {
+ bootph-all;
+};
+
+&qspi {
+ bootph-pre-ram;
+};
+
+&qspi_bk1_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&qspi_bk2_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&qspi_clk_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
};
&rcc {
@@ -94,6 +189,7 @@ &rcc {
<&scmi_clk CK_SCMI_CSI>,
<&scmi_clk CK_SCMI_LSE>,
<&scmi_clk CK_SCMI_LSI>;
+ bootph-all;
};
&rng1 {
@@ -104,3 +200,22 @@ &rng1 {
&rtc {
clocks = <&scmi_clk CK_SCMI_RTCAPB>, <&scmi_clk CK_SCMI_RTC>;
};
+
+&scmi {
+ bootph-some-ram;
+};
+
+&uart4 {
+ bootph-all;
+};
+
+&uart4_pins_a {
+ bootph-all;
+ pins1 {
+ bootph-all;
+ };
+
+ pins2 {
+ bootph-all;
+ };
+};
diff --git a/arch/arm/boot/dts/st/stm32mp157c-ev1.dts b/arch/arm/boot/dts/st/stm32mp157c-ev1.dts
index beba90ab1a2a..45b8f59ec6d9 100644
--- a/arch/arm/boot/dts/st/stm32mp157c-ev1.dts
+++ b/arch/arm/boot/dts/st/stm32mp157c-ev1.dts
@@ -24,6 +24,7 @@ chosen {
};
clocks {
+ bootph-all;
clk_ext_camera: clk-ext-camera {
#clock-cells = <0>;
compatible = "fixed-clock";
@@ -73,6 +74,18 @@ panel_backlight: panel-backlight {
default-on;
status = "okay";
};
+
+ psci {
+ bootph-some-ram;
+ };
+
+ soc {
+ bootph-all;
+ };
+};
+
+&bsec {
+ bootph-all;
};
&cec {
@@ -81,6 +94,26 @@ &cec {
status = "okay";
};
+&clk_csi {
+ bootph-all;
+};
+
+&clk_hse {
+ bootph-all;
+};
+
+&clk_hsi {
+ bootph-all;
+};
+
+&clk_lse {
+ bootph-all;
+};
+
+&clk_lsi {
+ bootph-all;
+};
+
&cs_cti_cpu0 {
status = "okay";
};
@@ -195,6 +228,10 @@ phy0: ethernet-phy@0 {
};
};
+&etzpc {
+ bootph-all;
+};
+
&fmc {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&fmc_pins_a>;
@@ -213,6 +250,54 @@ nand@0 {
};
};
+&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;
+};
+
+&gpioj {
+ bootph-all;
+};
+
+&gpiok {
+ bootph-all;
+};
+
+&gpioz {
+ bootph-all;
+};
+
&i2c2 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&i2c2_pins_a>;
@@ -271,6 +356,17 @@ joystick_pins: joystick-pins {
};
};
+&i2c4 {
+ bootph-all;
+};
+
+&i2c4_pins_a {
+ bootph-all;
+ pins {
+ bootph-all;
+ };
+};
+
&i2c5 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&i2c5_pins_a>;
@@ -282,7 +378,12 @@ &i2c5 {
status = "okay";
};
+&iwdg2 {
+ bootph-all;
+};
+
<dc {
+ bootph-some-ram;
status = "okay";
port {
@@ -299,6 +400,22 @@ &m_can1 {
status = "okay";
};
+&pinctrl {
+ bootph-all;
+};
+
+&pinctrl_z {
+ bootph-all;
+};
+
+&pmic {
+ bootph-all;
+};
+
+&pwr_regulators {
+ bootph-all;
+};
+
&qspi {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&qspi_clk_pins_a
@@ -314,6 +431,7 @@ &qspi_bk2_sleep_pins_a
reg = <0x58003000 0x1000>, <0x70000000 0x4000000>;
#address-cells = <1>;
#size-cells = <0>;
+ bootph-pre-ram;
status = "okay";
flash0: flash@0 {
@@ -323,6 +441,7 @@ flash0: flash@0 {
spi-max-frequency = <108000000>;
#address-cells = <1>;
#size-cells = <1>;
+ bootph-pre-ram;
};
flash1: flash@1 {
@@ -335,6 +454,93 @@ flash1: flash@1 {
};
};
+&qspi_bk1_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&qspi_bk2_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&qspi_clk_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&qspi_cs1_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&qspi_cs2_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
+&rcc {
+ bootph-all;
+};
+
+&sdmmc1 {
+ bootph-pre-ram;
+};
+
+&sdmmc1_b4_pins_a {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
+&sdmmc1_dir_pins_a {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
+&sdmmc2 {
+ bootph-pre-ram;
+};
+
+&sdmmc2_b4_pins_a {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
+&sdmmc2_d47_pins_a {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
&sdmmc3 {
pinctrl-names = "default", "opendrain", "sleep";
pinctrl-0 = <&sdmmc3_b4_pins_a>;
@@ -416,6 +622,21 @@ timer@b {
};
};
+&uart4 {
+ bootph-all;
+};
+
+&uart4_pins_a {
+ bootph-all;
+ pins1 {
+ bootph-all;
+ };
+
+ pins2 {
+ bootph-all;
+ };
+};
+
&usart3 {
pinctrl-names = "default", "sleep", "idle";
pinctrl-0 = <&usart3_pins_b>;
diff --git a/arch/arm/boot/dts/st/stm32mp157c-odyssey.dts b/arch/arm/boot/dts/st/stm32mp157c-odyssey.dts
index a8b3f7a54703..759a8bb1919e 100644
--- a/arch/arm/boot/dts/st/stm32mp157c-odyssey.dts
+++ b/arch/arm/boot/dts/st/stm32mp157c-odyssey.dts
@@ -20,6 +20,42 @@ aliases {
chosen {
stdout-path = "serial0:115200n8";
};
+
+ clocks {
+ bootph-all;
+ };
+
+ psci {
+ bootph-some-ram;
+ };
+
+ soc {
+ bootph-all;
+ };
+};
+
+&bsec {
+ bootph-all;
+};
+
+&clk_csi {
+ bootph-all;
+};
+
+&clk_hse {
+ bootph-all;
+};
+
+&clk_hsi {
+ bootph-all;
+};
+
+&clk_lse {
+ bootph-all;
+};
+
+&clk_lsi {
+ bootph-all;
};
&dcmi {
@@ -54,6 +90,58 @@ phy0: ethernet-phy@7 { /* KSZ9031RN */
};
};
+&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;
+};
+
+&gpioj {
+ bootph-all;
+};
+
+&gpiok {
+ bootph-all;
+};
+
+&gpioz {
+ bootph-all;
+};
+
&i2c1 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&i2c1_pins_a>;
@@ -65,6 +153,45 @@ &i2c1 {
/delete-property/dma-names;
};
+&i2c2 {
+ bootph-all;
+};
+
+&i2c2_pins_a {
+ bootph-all;
+ pins {
+ bootph-all;
+ };
+};
+
+&iwdg2 {
+ bootph-all;
+};
+
+<dc {
+ bootph-some-ram;
+};
+
+&pinctrl {
+ bootph-all;
+};
+
+&pinctrl_z {
+ bootph-all;
+};
+
+&pmic {
+ bootph-all;
+};
+
+&pwr_regulators {
+ bootph-all;
+};
+
+&rcc {
+ bootph-all;
+};
+
&sdmmc1 {
pinctrl-names = "default", "opendrain", "sleep";
pinctrl-0 = <&sdmmc1_b4_pins_a>;
@@ -75,14 +202,59 @@ &sdmmc1 {
st,neg-edge;
bus-width = <4>;
vmmc-supply = <&v3v3>;
+ bootph-pre-ram;
status = "okay";
};
+&sdmmc1_b4_pins_a {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
+&sdmmc2 {
+ bootph-pre-ram;
+};
+
+&sdmmc2_b4_pins_a {
+ bootph-pre-ram;
+ pins1 {
+ bootph-pre-ram;
+ };
+
+ pins2 {
+ bootph-pre-ram;
+ };
+};
+
+&sdmmc2_d47_pins_d {
+ bootph-pre-ram;
+ pins {
+ bootph-pre-ram;
+ };
+};
+
&uart4 {
pinctrl-names = "default";
pinctrl-0 = <&uart4_pins_a>;
/delete-property/dmas;
/delete-property/dma-names;
+ bootph-all;
status = "okay";
};
+&uart4_pins_a {
+ bootph-all;
+ pins1 {
+ bootph-all;
+ };
+
+ pins2 {
+ bootph-all;
+ };
+};
--
2.43.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH v8 3/5] arm64: dts: st: add bootph properties for STM32MP21 boards
2026-12-04 16:38 [PATCH v8 0/5] Add boot phase tags for STMicroelectronics boards Patrice Chotard
2026-12-04 16:38 ` [PATCH v8 1/5] arm: dts: st: add bootph properties for STM32MP13 boards Patrice Chotard
2026-12-04 16:38 ` [PATCH v8 2/5] arm: dts: st: add bootph properties for STM32MP15 boards Patrice Chotard
@ 2026-12-04 16:38 ` Patrice Chotard
2026-12-04 17:37 ` sashiko-bot
2026-12-04 16:38 ` [PATCH v8 4/5] arm64: dts: st: add bootph properties for STM32MP23 boards Patrice Chotard
2026-12-04 16:38 ` [PATCH v8 5/5] arm64: dts: st: add bootph properties for STM32MP25 boards Patrice Chotard
4 siblings, 1 reply; 11+ messages in thread
From: Patrice Chotard @ 2026-12-04 16:38 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Alexandre Torgue, Patrick Delaunay, Christoph Niedermaier,
Marek Vasut, Marek Vasut
Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel, kernel,
Patrice Chotard
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@foss.st.com>
---
arch/arm64/boot/dts/st/stm32mp215f-dk.dts | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/st/stm32mp215f-dk.dts b/arch/arm64/boot/dts/st/stm32mp215f-dk.dts
index a1285abc80ca..8bcd68cecebb 100644
--- a/arch/arm64/boot/dts/st/stm32mp215f-dk.dts
+++ b/arch/arm64/boot/dts/st/stm32mp215f-dk.dts
@@ -48,6 +48,11 @@ &bsec {
bootph-all;
};
+&syscfg {
+ bootph-all;
+};
+
&usart2 {
+ bootph-all;
status = "okay";
};
--
2.43.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH v8 4/5] arm64: dts: st: add bootph properties for STM32MP23 boards
2026-12-04 16:38 [PATCH v8 0/5] Add boot phase tags for STMicroelectronics boards Patrice Chotard
` (2 preceding siblings ...)
2026-12-04 16:38 ` [PATCH v8 3/5] arm64: dts: st: add bootph properties for STM32MP21 boards Patrice Chotard
@ 2026-12-04 16:38 ` Patrice Chotard
2026-12-04 17:51 ` sashiko-bot
2026-12-04 16:38 ` [PATCH v8 5/5] arm64: dts: st: add bootph properties for STM32MP25 boards Patrice Chotard
4 siblings, 1 reply; 11+ messages in thread
From: Patrice Chotard @ 2026-12-04 16:38 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Alexandre Torgue, Patrick Delaunay, Christoph Niedermaier,
Marek Vasut, Marek Vasut
Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel, kernel,
Patrice Chotard
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@foss.st.com>
---
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 {
};
<dc {
+ 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
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH v8 5/5] arm64: dts: st: add bootph properties for STM32MP25 boards
2026-12-04 16:38 [PATCH v8 0/5] Add boot phase tags for STMicroelectronics boards Patrice Chotard
` (3 preceding siblings ...)
2026-12-04 16:38 ` [PATCH v8 4/5] arm64: dts: st: add bootph properties for STM32MP23 boards Patrice Chotard
@ 2026-12-04 16:38 ` Patrice Chotard
2026-12-04 18:07 ` sashiko-bot
4 siblings, 1 reply; 11+ messages in thread
From: Patrice Chotard @ 2026-12-04 16:38 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Alexandre Torgue, Patrick Delaunay, Christoph Niedermaier,
Marek Vasut, Marek Vasut
Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel, kernel,
Patrice Chotard
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@foss.st.com>
---
arch/arm64/boot/dts/st/stm32mp257f-dk.dts | 101 +++++++++++++++++++++++++++++
arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 101 +++++++++++++++++++++++++++++
2 files changed, 202 insertions(+)
diff --git a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts b/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
index 00210a2052af..8bd1e8666d7d 100644
--- a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
+++ b/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
@@ -150,6 +150,24 @@ fw@80000000 {
no-map;
};
};
+
+ firmware {
+ optee {
+ bootph-all;
+ };
+
+ scmi {
+ bootph-all;
+ };
+ };
+
+ psci {
+ bootph-all;
+ };
+
+ soc@0 {
+ bootph-all;
+ };
};
&arm_wdt {
@@ -157,6 +175,10 @@ &arm_wdt {
status = "okay";
};
+&bsec {
+ bootph-all;
+};
+
&csi {
vdd-supply = <&scmi_vddcore>;
vdda18-supply = <&scmi_v1v8>;
@@ -215,8 +237,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>;
@@ -225,6 +252,46 @@ imx335-en-hog {
};
};
+&gpioc {
+ bootph-all;
+};
+
+&gpiod {
+ bootph-all;
+};
+
+&gpioe {
+ bootph-all;
+};
+
+&gpiof {
+ bootph-all;
+};
+
+&gpiog {
+ bootph-all;
+};
+
+&gpioh {
+ bootph-all;
+};
+
+&gpioi {
+ bootph-all;
+};
+
+&gpioj {
+ bootph-all;
+};
+
+&gpiok {
+ bootph-all;
+};
+
+&gpioz {
+ bootph-all;
+};
+
&i2c2 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&i2c2_pins_b>;
@@ -285,6 +352,7 @@ &iwdg2 {
};
<dc {
+ bootph-all;
status = "okay";
port {
ltdc_ep0_out: endpoint {
@@ -315,6 +383,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>;
@@ -385,6 +469,10 @@ &sdmmc2 {
status = "okay";
};
+&syscfg {
+ bootph-all;
+};
+
&usart2 {
pinctrl-names = "default", "idle", "sleep";
pinctrl-0 = <&usart2_pins_a>;
@@ -392,5 +480,18 @@ &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;
+ };
+};
diff --git a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
index 181f07421649..3c4e2f50d57c 100644
--- a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
+++ b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
@@ -76,6 +76,16 @@ ddr_channel: sdram-channel-0 {
io-width = <32>;
};
+ firmware {
+ optee {
+ bootph-all;
+ };
+
+ scmi {
+ bootph-all;
+ };
+ };
+
imx335_reset_delay: imx335-reset-delay {
compatible = "gpio-delay";
#gpio-cells = <3>;
@@ -131,6 +141,10 @@ panel_lvds_backlight: backlight {
status = "okay";
};
+ psci {
+ bootph-all;
+ };
+
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
@@ -155,6 +169,10 @@ vdiv_ana0: voltage-divider-ana0 {
full-ohms = <1030000>;
status = "disabled";
};
+
+ soc@0 {
+ bootph-all;
+ };
};
&adc_12 {
@@ -176,6 +194,10 @@ &arm_wdt {
status = "okay";
};
+&bsec {
+ bootph-all;
+};
+
&combophy {
clocks = <&rcc CK_BUS_USB3PCIEPHY>, <&rcc CK_KER_USB3PCIEPHY>, <&pad_clk>;
clock-names = "apb", "ker", "pad";
@@ -262,8 +284,41 @@ phy0_eth2: ethernet-phy@1 {
};
};
+&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 {
/* Enable the IMX335 power line */
+ bootph-all;
imx335-en-hog {
gpio-hog;
gpios = <0 GPIO_ACTIVE_HIGH>;
@@ -272,6 +327,18 @@ imx335-en-hog {
};
};
+&gpioj {
+ bootph-all;
+};
+
+&gpiok {
+ bootph-all;
+};
+
+&gpioz {
+ bootph-all;
+};
+
&i2c2 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&i2c2_pins_a>;
@@ -340,6 +407,7 @@ timer {
};
<dc {
+ bootph-all;
status = "okay";
port {
ltdc_ep0_out: endpoint {
@@ -419,10 +487,26 @@ pcie@0,0 {
};
};
+&pinctrl {
+ bootph-all;
+};
+
+&rcc {
+ bootph-all;
+};
+
+&rifsc {
+ bootph-all;
+};
+
&rtc {
status = "okay";
};
+&scmi_clk {
+ bootph-all;
+};
+
&scmi_regu {
scmi_vddio1: regulator@0 {
regulator-min-microvolt = <1800000>;
@@ -499,6 +583,10 @@ &spi8 {
status = "disabled";
};
+&syscfg {
+ bootph-all;
+};
+
&timers3 {
status = "disabled";
counter {
@@ -564,9 +652,22 @@ &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;
+ };
+};
+
&usart6 {
pinctrl-names = "default", "idle", "sleep";
pinctrl-0 = <&usart6_pins_a>;
--
2.43.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH v8 1/5] arm: dts: st: add bootph properties for STM32MP13 boards
2026-12-04 16:38 ` [PATCH v8 1/5] arm: dts: st: add bootph properties for STM32MP13 boards Patrice Chotard
@ 2026-12-04 17:05 ` sashiko-bot
0 siblings, 0 replies; 11+ messages in thread
From: sashiko-bot @ 2026-12-04 17:05 UTC (permalink / raw)
To: Patrice Chotard; +Cc: devicetree, robh, conor+dt
Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Medium] ARM: dts: stm32: missing bootph-all on PMIC ancestor nodes in
dhcor-dhsbc
- [Low] arm: dts: st: duplicate SoC and SoM bootph properties in board
DTS files
--
commit f55e23a90bdae51a53a485e10f5ebbd1d35eeafb
Author: Patrice Chotard <patrice.chotard@foss.st.com>
arm: dts: st: add bootph properties for STM32MP13 boards
This commit adds bootph-* properties to the STM32MP135F DHCOR DHSBC and
STM32MP135F DK device trees to describe nodes needed in early boot phases.
> diff --git a/arch/arm/boot/dts/st/stm32mp135f-dhcor-dhsbc.dts b/arch/arm/boot/dts/st/stm32mp135f-dhcor-dhsbc.dts
> index 9b8baed6a022a..bb60e8ef673d6 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;
> + };
> };
[Severity: Low]
This isn't a bug, but stm32mp135f-dhcor-dhsbc.dts and stm32mp135f-dk.dts
duplicate identical bootph-* properties for 20 always-enabled SoC nodes
from stm32mp131.dtsi (/firmware/optee, /psci, /soc, bsec, etzpc,
gpioa-gpioi, pinctrl, rcc, scmi, scmi_clk, scmi_reset, and syscfg).
Similarly, stm32mp135f-dhcor-dhsbc.dts tags SoM nodes defined in
stm32mp13xx-dhcor-som.dtsi (iwdg2, qspi, flash0, uart4, and the core
PMIC rails). Moving these into stm32mp131.dtsi and
stm32mp13xx-dhcor-som.dtsi would avoid duplicating them across boards.
[ ... ]
> @@ -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;
> };
[Severity: Medium]
Are bootph-all properties missing on the parent nodes of these STPMIC1
regulators (i2c3, pmic, and regulators) and on the vin supply?
In stm32mp131.dtsi and stm32mp13xx-dhcor-som.dtsi, these seven
regulators sit under i2c3 -> pmic -> regulators, and vdd_ldo2 and vdd_sd
take vin as their supply, none of which carry a bootph-* property.
Because bootph-* flags do not propagate upward, early-boot DT filtering
strips the untagged ancestors and pre-relocation driver binding cannot
probe i2c3 or the STPMIC1 MFD, leaving these regulators unreachable.
Adding bootph-all to i2c3, pmic, regulators, and vin would fix this.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-upstream_uboot_properties-v8-0-d6d1e68661cc@foss.st.com?part=1
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v8 2/5] arm: dts: st: add bootph properties for STM32MP15 boards
2026-12-04 16:38 ` [PATCH v8 2/5] arm: dts: st: add bootph properties for STM32MP15 boards Patrice Chotard
@ 2026-12-04 17:29 ` sashiko-bot
0 siblings, 0 replies; 11+ messages in thread
From: sashiko-bot @ 2026-12-04 17:29 UTC (permalink / raw)
To: Patrice Chotard; +Cc: devicetree, robh, conor+dt
Thank you for your contribution! Sashiko AI review found 6 potential
issues to consider:
- [Medium] arm: dts: st: missing bootph-pre-ram on usbotg_hs_pins_a pins
child node
- [Medium] arm: dts: st: SCMI boards silently inherit non-SCMI bootph
properties
- [Medium] ARM: dts: st: missing bootph tags on scmi_clk and scmi_reset
on STM32MP15
- [Low] arm: dts: st: bootph properties added to unused or disabled
board nodes
- [Low] arm: dts: st: root bootph-all and inconsistent DHCOR pmic bootph
tags
- [Low] arm: dts: st: duplicated bootph properties across board and
included DTS
--
commit 9a2b75e649d59825a505ba419de4590d694ec1c4
Author: Patrice Chotard <patrice.chotard@foss.st.com>
arm: dts: st: add bootph properties for STM32MP15 boards
This commit adds bootph-* properties to 19 STM32MP15 board device tree
files, mirroring the early boot-phase tags previously carried in U-Boot
*-u-boot.dtsi overlays.
> diff --git a/arch/arm/boot/dts/st/stm32mp151a-dhcor-testbench.dts b/arch/arm/boot/dts/st/stm32mp151a-dhcor-testbench.dts
> index e0f828ecc2faf..31f82f4444651 100644
> --- a/arch/arm/boot/dts/st/stm32mp151a-dhcor-testbench.dts
> +++ b/arch/arm/boot/dts/st/stm32mp151a-dhcor-testbench.dts
> @@ -14,4 +14,263 @@ / {
> compatible = "dh,stm32mp151a-dhcor-testbench",
> "dh,stm32mp151a-dhcor-som",
> "st,stm32mp151";
> +
> + bootph-all;
> + clocks {
> + bootph-all;
> + };
[Severity: Low]
Should bootph-all be set on the root node /? The root node is always
present in every boot phase, and none of the other 16 boards in this patch
set it (it is also added on / in stm32mp153c-dhcor-drc-compact.dts and
stm32mp157a-dhcor-avenger96.dts).
In addition, &pmic and &pwr_regulators are tagged bootph-all here, whereas
stm32mp153c-dhcor-drc-compact.dts and stm32mp157a-dhcor-avenger96.dts tag
the same DHCOR SoM nodes from stm32mp15xx-dhcor-som.dtsi with
bootph-pre-ram.
[ ... ]
> +&usbotg_hs {
> + bootph-pre-ram;
> +};
> +
> +&usbotg_hs_pins_a {
> + bootph-pre-ram;
> +};
[Severity: Medium]
Does &usbotg_hs_pins_a also need bootph-pre-ram on its pins child node?
In arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi, usbotg_hs_pins_a defines
its pinmux property inside a pins subnode. Because bootph-* properties
propagate upward to ancestors and not downward to children, pre-RAM DTB
filtering (such as U-Boot SPL fdtgrep) strips the untagged pins subnode
and leaves usbotg-hs-0 without the PA10 OTG_ID pinmux configuration.
The same omission appears in stm32mp153c-dhcom-drc02.dts,
stm32mp153c-dhcor-drc-compact.dts, stm32mp157a-dhcor-avenger96.dts,
stm32mp157c-dhcom-pdk2.dts, and stm32mp157c-dhcom-picoitx.dts. Adding
pins { bootph-pre-ram; }; inside &usbotg_hs_pins_a matches the other
pinctrl nodes in these files.
> diff --git a/arch/arm/boot/dts/st/stm32mp153c-dhcom-drc02.dts b/arch/arm/boot/dts/st/stm32mp153c-dhcom-drc02.dts
> index b4e504f026ce7..9d9e4b4635c50 100644
> --- a/arch/arm/boot/dts/st/stm32mp153c-dhcom-drc02.dts
> +++ b/arch/arm/boot/dts/st/stm32mp153c-dhcom-drc02.dts
[ ... ]
> +&usbotg_hs {
> + bootph-pre-ram;
> +};
> +
> +&usbotg_hs_pins_a {
> + bootph-pre-ram;
> +};
[Severity: Low]
Should bootph-pre-ram be added to &usbotg_hs and &usbotg_hs_pins_a here
when usbotg_hs is disabled and usbotg_hs_pins_a is unreferenced on DHCOM
DRC02? Because stm32mp153c-dhcom-drc02.dtb is built with dtc -@ as an
overlay base, the unreferenced usbotg_hs_pins_a node is retained in the
compiled DTB with bootph-pre-ram.
There are a few similar dead tags in this patch: &sdmmc1_dir_pins_b in
stm32mp153c-dhcor-drc-compact.dts is never referenced by
stm32mp15xx-dhcor-drc-compact.dtsi, &gpioj and &gpiok are tagged
bootph-all on AC-package boards using stm32mp15xxac-pinctrl.dtsi where
those banks do not exist, and <dc is tagged bootph-some-ram on boards
that leave it disabled.
> diff --git a/arch/arm/boot/dts/st/stm32mp157a-dk1-scmi.dts b/arch/arm/boot/dts/st/stm32mp157a-dk1-scmi.dts
> index 2f4d212de3e9c..90b6b7d909f50 100644
> --- a/arch/arm/boot/dts/st/stm32mp157a-dk1-scmi.dts
> +++ b/arch/arm/boot/dts/st/stm32mp157a-dk1-scmi.dts
[ ... ]
> @@ -94,3 +165,22 @@ &rng1 {
> &rtc {
> clocks = <&scmi_clk CK_SCMI_RTCAPB>, <&scmi_clk CK_SCMI_RTC>;
> };
> +
> +&scmi {
> + bootph-some-ram;
> +};
[Severity: Medium]
Do the scmi_clk (protocol@14) and scmi_reset (protocol@16) child nodes
under &scmi also need bootph tags?
In arch/arm/boot/dts/st/stm32mp15-scmi.dtsi, scmi_clk and scmi_reset are
child nodes of scmi with no bootph-* properties, and bootph-* does not
propagate downward. Early-boot consumers tagged bootph-all (&rcc, &gpioz,
and the inherited &i2c4 and &iwdg2) directly reference scmi_clk and
scmi_reset, so DTB filtering or strict boot-phase binding can omit those
providers and break clock or reset resolution.
There is also a phase mismatch between the bootph-all consumers and the
bootph-some-ram tags on &optee and &scmi. This affects all four SCMI
boards (dk1-scmi, dk2-scmi, ed1-scmi, and ev1-scmi).
> diff --git a/arch/arm/boot/dts/st/stm32mp157a-dk1.dts b/arch/arm/boot/dts/st/stm32mp157a-dk1.dts
> index 0da3667ab1e0e..1b314bc71ce0c 100644
> --- a/arch/arm/boot/dts/st/stm32mp157a-dk1.dts
> +++ b/arch/arm/boot/dts/st/stm32mp157a-dk1.dts
> @@ -22,4 +22,161 @@ aliases {
> chosen {
> stdout-path = "serial0:115200n8";
> };
> +
> + clocks {
> + bootph-all;
> + };
[Severity: Medium]
Does adding non-SCMI bootph-* properties directly to stm32mp157a-dk1.dts
leak them into stm32mp157a-dk1-scmi.dtb?
stm32mp157a-dk1-scmi.dts includes stm32mp157a-dk1.dts and
stm32mp15-scmi.dtsi, and neither deletes any inherited bootph-*
properties. As a result, stm32mp157a-dk1-scmi.dtb ends up with an empty
/clocks node tagged bootph-all (after stm32mp15-scmi.dtsi deletes the
five fixed clocks), along with bootph-all on &etzpc, &i2c4, &i2c4_pins_a,
&iwdg2, &pmic, &pwr_regulators, and bootph-pre-ram on &sdmmc1 and its pin
groups despite the SCMI board omitting them.
The same inheritance issue affects stm32mp157c-dk2-scmi.dtb,
stm32mp157c-ed1-scmi.dtb, and stm32mp157c-ev1-scmi.dtb. Non-SCMI-only
bootph-* properties should either be kept out of files included by the
SCMI boards or removed with /delete-property/ in the SCMI files.
> diff --git a/arch/arm/boot/dts/st/stm32mp157c-ev1.dts b/arch/arm/boot/dts/st/stm32mp157c-ev1.dts
> index beba90ab1a2a5..45b8f59ec6d98 100644
> --- a/arch/arm/boot/dts/st/stm32mp157c-ev1.dts
> +++ b/arch/arm/boot/dts/st/stm32mp157c-ev1.dts
[ ... ]
> @@ -73,6 +74,18 @@ panel_backlight: panel-backlight {
> default-on;
> status = "okay";
> };
> +
> + psci {
> + bootph-some-ram;
> + };
> +
> + soc {
> + bootph-all;
> + };
> +};
> +
> +&bsec {
> + bootph-all;
> };
[Severity: Low]
This isn't a bug, but stm32mp157c-ev1.dts includes stm32mp157c-ed1.dts and
repeats most of the identical bootph-* annotations already added there.
The four *-scmi.dts files likewise repeat the shared tags from their
included base .dts files, with stm32mp157c-ev1-scmi.dts declaring them a
third time and duplicating &qspi and its pin groups.
More broadly, factoring the SoC-wide and SoM-wide bootph-* properties into
the shared .dtsi files (such as stm32mp151.dtsi,
stm32mp15xx-dhcom-som.dtsi, and stm32mp15xx-dhcor-som.dtsi) would avoid
duplicating them across all 19 leaf boards and prevent sibling boards like
stm32mp157a-icore-stm32mp1-ctouch2-of10.dts from missing them.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-upstream_uboot_properties-v8-0-d6d1e68661cc@foss.st.com?part=2
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v8 3/5] arm64: dts: st: add bootph properties for STM32MP21 boards
2026-12-04 16:38 ` [PATCH v8 3/5] arm64: dts: st: add bootph properties for STM32MP21 boards Patrice Chotard
@ 2026-12-04 17:37 ` sashiko-bot
0 siblings, 0 replies; 11+ messages in thread
From: sashiko-bot @ 2026-12-04 17:37 UTC (permalink / raw)
To: Patrice Chotard; +Cc: devicetree, robh, conor+dt
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] arm64: dts: st: stm32mp215f-dk omits bootph-all on usart2
dependencies
--
commit 18be501ef9a6419821c24580c8488a81f7e36228
Author: Patrice Chotard <patrice.chotard@foss.st.com>
arm64: dts: st: add bootph properties for STM32MP21 boards
This commit adds bootph-all properties to the syscfg and usart2 nodes in
arch/arm64/boot/dts/st/stm32mp215f-dk.dts so early boot stages can use
the upstream device tree without U-Boot overlays.
> diff --git a/arch/arm64/boot/dts/st/stm32mp215f-dk.dts b/arch/arm64/boot/dts/st/stm32mp215f-dk.dts
> index a1285abc80ca5..8bcd68cecebbb 100644
> --- a/arch/arm64/boot/dts/st/stm32mp215f-dk.dts
> +++ b/arch/arm64/boot/dts/st/stm32mp215f-dk.dts
> @@ -48,6 +48,11 @@ &bsec {
> bootph-all;
> };
>
> +&syscfg {
> + bootph-all;
> +};
> +
> &usart2 {
> + bootph-all;
> status = "okay";
> };
[Severity: Medium]
Should the parent bus, access-controller, clock, and firmware nodes that
usart2 depends on also carry bootph-all?
In arch/arm64/boot/dts/st/stm32mp211.dtsi, usart2 sits under soc@0 and
rifsc and references &rcc and &rifsc, while rcc depends on &scmi_clk
under firmware/scmi (backed by firmware/optee) and &rifsc. None of
those nodes, nor psci, have bootph-all in the stm32mp21 dtsi/dts files.
Because bootph-* properties do not propagate across phandle references,
early boot stages filtering on bootph-* will not be able to bind usart2
and its clock providers from the upstream device tree alone, unlike the
sibling stm32mp23 and stm32mp25 boards updated in this series.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-upstream_uboot_properties-v8-0-d6d1e68661cc@foss.st.com?part=3
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v8 4/5] arm64: dts: st: add bootph properties for STM32MP23 boards
2026-12-04 16:38 ` [PATCH v8 4/5] arm64: dts: st: add bootph properties for STM32MP23 boards Patrice Chotard
@ 2026-12-04 17:51 ` sashiko-bot
0 siblings, 0 replies; 11+ messages in thread
From: sashiko-bot @ 2026-12-04 17:51 UTC (permalink / raw)
To: Patrice Chotard; +Cc: devicetree, robh, conor+dt
Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Medium] arm64: dts: st: missing bootph-all on pinctrl_z parent of
gpioz
- [Low] arm64: dts: st: bootph-all splits imx335-en-hog comment in gpiob
--
commit 53e453cf9b482d50c95a6b9a7f9939a7fe0e9f21
Author: Patrice Chotard <patrice.chotard@foss.st.com>
arm64: dts: st: add bootph properties for STM32MP23 boards
This commit adds bootph-all properties to nodes in stm32mp235f-dk.dts
that are needed during early boot stages, mirroring the U-Boot overlays.
> diff --git a/arch/arm64/boot/dts/st/stm32mp235f-dk.dts b/arch/arm64/boot/dts/st/stm32mp235f-dk.dts
> index 1f9dfa390f19c..cc575246b88b7 100644
> --- a/arch/arm64/boot/dts/st/stm32mp235f-dk.dts
> +++ b/arch/arm64/boot/dts/st/stm32mp235f-dk.dts
[ ... ]
> &gpiob {
> /* Enable the IMX335 power line */
> + bootph-all;
> imx335-en-hog {
> gpio-hog;
> gpios = <11 GPIO_ACTIVE_HIGH>;
[Severity: Low]
This isn't a bug, but placing bootph-all; here splits the comment from
the imx335-en-hog node it describes. Moving bootph-all; above the
comment keeps the comment attached to imx335-en-hog.
[ ... ]
> +&gpioz {
> + bootph-all;
> +};
[Severity: Medium]
Does gpioz also need bootph-all on its parent controller pinctrl_z?
In stm32mp231.dtsi, gpioz is a child of pinctrl_z rather than pinctrl
and has no compatible property of its own. In stm32mp25xxak-pinctrl.dtsi,
gpioz also references pinctrl_z via gpio-ranges.
This patch marks pinctrl with bootph-all but omits pinctrl_z, so
pre-relocation boot stages will not bind pinctrl_z, leaving gpioz
unbound and making bootph-all on gpioz ineffective.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-upstream_uboot_properties-v8-0-d6d1e68661cc@foss.st.com?part=4
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v8 5/5] arm64: dts: st: add bootph properties for STM32MP25 boards
2026-12-04 16:38 ` [PATCH v8 5/5] arm64: dts: st: add bootph properties for STM32MP25 boards Patrice Chotard
@ 2026-12-04 18:07 ` sashiko-bot
0 siblings, 0 replies; 11+ messages in thread
From: sashiko-bot @ 2026-12-04 18:07 UTC (permalink / raw)
To: Patrice Chotard; +Cc: devicetree, robh, conor+dt
Thank you for your contribution! Sashiko AI review found 4 potential
issues to consider:
- [Medium] arm64: dts: st: missing bootph-all on pinctrl_z parent of
gpioz
- [Low] arm64: dts: st: bootph-all added to absent disabled gpioj/gpiok
on DK
- [Low] arm64: dts: st: commit message lists timer though no timer node
is tagged
- [Low] arm64: dts: st: duplicate SoC-level bootph-all in board DTS
files
--
commit e1480b56a6e7c09a990201fcdb6943f0627a49ef
Author: Patrice Chotard <patrice.chotard@foss.st.com>
arm64: dts: st: add bootph properties for STM32MP25 boards
This commit adds bootph-all properties to early-boot device tree nodes in
stm32mp257f-dk.dts and stm32mp257f-ev1.dts to mirror the existing U-Boot
overlays.
> 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.
[Severity: Low]
Does the commit message still need to list timer? Neither board file
adds bootph-all to any timer node.
> diff --git a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts b/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
> index 00210a2052af8..8bd1e8666d7d0 100644
> --- a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
> +++ b/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
> @@ -150,6 +150,24 @@ fw@80000000 {
> no-map;
> };
> };
> +
> + firmware {
> + optee {
> + bootph-all;
> + };
> +
> + scmi {
> + bootph-all;
> + };
> + };
> +
> + psci {
> + bootph-all;
> + };
> +
> + soc@0 {
> + bootph-all;
> + };
> };
[Severity: Low]
Should these SoC-level bootph-all properties live in stm32mp251.dtsi
instead of being duplicated across board files?
The overrides for firmware, psci, soc@0, bsec, pinctrl, rcc, rifsc,
scmi_clk, syscfg, and the gpio banks are repeated verbatim in
stm32mp257f-ev1.dts.
Moving core SoC tags to stm32mp251.dtsi and package gpio tags to
stm32mp25xxak-pinctrl.dtsi and stm32mp25xxai-pinctrl.dtsi would let other
STM32MP25 boards inherit them and avoid package mismatches.
[ ... ]
> +&gpioj {
> + bootph-all;
> +};
> +
> +&gpiok {
> + bootph-all;
> +};
[Severity: Low]
Should bootph-all be dropped from gpioj and gpiok on stm32mp257f-dk?
This board includes stm32mp25xxak-pinctrl.dtsi (STM32MP_PKG_AK), where
PJ0-PJ15 and PK0-PK7 do not exist and gpioj and gpiok remain disabled.
Tagging them with bootph-all misrepresents the package and causes early
DTB filtering tools such as fdtgrep to retain unused disabled nodes.
> +
> +&gpioz {
> + bootph-all;
> +};
[Severity: Medium]
Does tagging gpioz with bootph-all also require bootph-all on pinctrl_z?
In stm32mp251.dtsi, gpioz is a child of pinctrl_z (pinctrl@46200000)
rather than pinctrl, has no compatible property of its own, and
references pinctrl_z via gpio-ranges. Both stm32mp257f-dk.dts and
stm32mp257f-ev1.dts tag pinctrl and gpioz but omit pinctrl_z.
Because early boot stages bind nodes top-down, leaving pinctrl_z untagged
prevents st,stm32mp257-z-pinctrl from binding pre-relocation and renders
bootph-all on gpioz ineffective.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-upstream_uboot_properties-v8-0-d6d1e68661cc@foss.st.com?part=5
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2026-12-04 18:07 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04 16:38 [PATCH v8 0/5] Add boot phase tags for STMicroelectronics boards Patrice Chotard
2026-12-04 16:38 ` [PATCH v8 1/5] arm: dts: st: add bootph properties for STM32MP13 boards Patrice Chotard
2026-12-04 17:05 ` sashiko-bot
2026-12-04 16:38 ` [PATCH v8 2/5] arm: dts: st: add bootph properties for STM32MP15 boards Patrice Chotard
2026-12-04 17:29 ` sashiko-bot
2026-12-04 16:38 ` [PATCH v8 3/5] arm64: dts: st: add bootph properties for STM32MP21 boards Patrice Chotard
2026-12-04 17:37 ` sashiko-bot
2026-12-04 16:38 ` [PATCH v8 4/5] arm64: dts: st: add bootph properties for STM32MP23 boards Patrice Chotard
2026-12-04 17:51 ` sashiko-bot
2026-12-04 16:38 ` [PATCH v8 5/5] arm64: dts: st: add bootph properties for STM32MP25 boards Patrice Chotard
2026-12-04 18:07 ` sashiko-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox