From: Patrick Delaunay Date: Wed, 6 Jul 2022 16:20:24 +0000 (+0200) Subject: ARM: dts: stm32mp13: add OP-TEE nodes X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=0b69ce6a816c39502941deb90543e23619e02896;p=u-boot.git ARM: dts: stm32mp13: add OP-TEE nodes Add the node for OP-TEE firmware with the associated reserved memory nodes Signed-off-by: Patrick Delaunay Reviewed-by: Patrice Chotard --- diff --git a/arch/arm/dts/stm32mp13-u-boot.dtsi b/arch/arm/dts/stm32mp13-u-boot.dtsi index 1b5b358690..adc7e67ee5 100644 --- a/arch/arm/dts/stm32mp13-u-boot.dtsi +++ b/arch/arm/dts/stm32mp13-u-boot.dtsi @@ -82,6 +82,10 @@ u-boot,dm-pre-reloc; }; +&optee { + u-boot,dm-pre-reloc; +}; + &pinctrl { u-boot,dm-pre-reloc; }; diff --git a/arch/arm/dts/stm32mp131.dtsi b/arch/arm/dts/stm32mp131.dtsi index 950e172e45..652743fd06 100644 --- a/arch/arm/dts/stm32mp131.dtsi +++ b/arch/arm/dts/stm32mp131.dtsi @@ -27,6 +27,13 @@ interrupt-parent = <&intc>; }; + firmware { + optee: optee { + method = "smc"; + compatible = "linaro,optee-tz"; + }; + }; + clocks { clk_axi: clk-axi { #clock-cells = <0>; diff --git a/arch/arm/dts/stm32mp135f-dk.dts b/arch/arm/dts/stm32mp135f-dk.dts index ee100d108e..31c510f976 100644 --- a/arch/arm/dts/stm32mp135f-dk.dts +++ b/arch/arm/dts/stm32mp135f-dk.dts @@ -23,6 +23,17 @@ reg = <0xc0000000 0x20000000>; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + optee@de000000 { + reg = <0xde000000 0x2000000>; + no-map; + }; + }; + vdd_sd: vdd-sd { compatible = "regulator-fixed"; regulator-name = "vdd_sd";