[PATCH v2 4/7] arm: dts: st: stm32mp157c-ed1: Add bootph-pre-ram tag on optee reserved memory

Mathieu Dubois-Briand <[email protected]> Wed, 15 Jul 2026 16:22:21 +0200
Newsgroups org.ozlabs.lists.openbmc,dev.linux.lists.imx,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Add bootph-pre-ram property to bind optee reserved-memory during the SPL
phase.

Reported-by: Sashiko <[email protected]>
Link: https://sashiko.dev/#/patchset/[email protected]?part=2
Signed-off-by: Mathieu Dubois-Briand <[email protected]>
---
 arch/arm/boot/dts/st/stm32mp157c-ed1.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/st/stm32mp157c-ed1.dts b/arch/arm/boot/dts/st/stm32mp157c-ed1.dts
index 7da726035086..827480e9bf7d 100644
--- a/arch/arm/boot/dts/st/stm32mp157c-ed1.dts
+++ b/arch/arm/boot/dts/st/stm32mp157c-ed1.dts
@@ -34,6 +34,7 @@ reserved-memory {
 		#address-cells = <1>;
 		#size-cells = <1>;
 		ranges;
+		bootph-pre-ram;
 
 		mcuram2: mcuram2@10000000 {
 			compatible = "shared-dma-pool";
@@ -74,6 +75,7 @@ retram: retram@38000000 {
 		optee@fe000000 {
 			reg = <0xfe000000 0x02000000>;
 			no-map;
+			bootph-pre-ram;
 		};
 	};
 

-- 
2.47.3