[PATCH 1/2] ARM: dts: stm32mp13: add OP-TEE nodes
Patrice CHOTARD
patrice.chotard at foss.st.com
Thu Jul 7 08:23:51 CEST 2022
Hi Patrick
On 7/6/22 18:20, Patrick Delaunay wrote:
> Add the node for OP-TEE firmware with the associated reserved memory nodes
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
> ---
>
> arch/arm/dts/stm32mp13-u-boot.dtsi | 4 ++++
> arch/arm/dts/stm32mp131.dtsi | 7 +++++++
> arch/arm/dts/stm32mp135f-dk.dts | 11 +++++++++++
> 3 files changed, 22 insertions(+)
>
> diff --git a/arch/arm/dts/stm32mp13-u-boot.dtsi b/arch/arm/dts/stm32mp13-u-boot.dtsi
> index 1b5b3586905..adc7e67ee58 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 950e172e455..652743fd06e 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 ee100d108ea..31c510f976a 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 at de000000 {
> + reg = <0xde000000 0x2000000>;
> + no-map;
> + };
> + };
> +
> vdd_sd: vdd-sd {
> compatible = "regulator-fixed";
> regulator-name = "vdd_sd";
Reviewed-by: Patrice Chotard <patrice.chotard at foss.st.com>
Thanks
Patrice
More information about the U-Boot
mailing list