[PATCH v2 3/7] arm: dts: st: Import optee node from u-boot device trees
Mathieu Dubois-Briand <[email protected]> Wed, 15 Jul 2026 16:22:20 +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]> |
U-Boot is importing kernel device trees for these platforms, but adding a firmware node to enable communication with OP-TEE. Importing changes here will allow to remove these additions in U-Boot. Also import the corresponding reserved-memory region. Signed-off-by: Mathieu Dubois-Briand <[email protected]> --- arch/arm/boot/dts/st/stm32mp157a-dk1.dts | 17 +++++++++++++++++ arch/arm/boot/dts/st/stm32mp157c-ed1.dts | 12 ++++++++++++ 2 files changed, 29 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32mp157a-dk1.dts b/arch/arm/boot/dts/st/stm32mp157a-dk1.dts index 0da3667ab1e0..236da589eb90 100644 --- a/arch/arm/boot/dts/st/stm32mp157a-dk1.dts +++ b/arch/arm/boot/dts/st/stm32mp157a-dk1.dts @@ -22,4 +22,21 @@ aliases { chosen { stdout-path = "serial0:115200n8"; }; + + reserved-memory { + bootph-pre-ram; + + optee@de000000 { + reg = <0xde000000 0x02000000>; + no-map; + bootph-pre-ram; + }; + }; + + firmware { + optee: optee { + compatible = "linaro,optee-tz"; + method = "smc"; + }; + }; }; diff --git a/arch/arm/boot/dts/st/stm32mp157c-ed1.dts b/arch/arm/boot/dts/st/stm32mp157c-ed1.dts index 49dd555cc228..7da726035086 100644 --- a/arch/arm/boot/dts/st/stm32mp157c-ed1.dts +++ b/arch/arm/boot/dts/st/stm32mp157c-ed1.dts @@ -70,6 +70,18 @@ retram: retram@38000000 { reg = <0x38000000 0x10000>; no-map; }; + + optee@fe000000 { + reg = <0xfe000000 0x02000000>; + no-map; + }; + }; + + firmware { + optee: optee { + compatible = "linaro,optee-tz"; + method = "smc"; + }; }; led { -- 2.47.3