From 8d2e568f762c56e4d8370257755b655063429b61 Mon Sep 17 00:00:00 2001 From: Etienne Carriere Date: Tue, 27 Apr 2021 17:32:29 +0200 Subject: [PATCH] arm: dts: define OP-TEE resources for STM32MP1 ED1 and EV1 This change fixes EV1 configuration which lacked OP-TEE reserved memory. This change also makes ED1 board ready the host OP-TEE by enabling OP-TEE node and defining the OP-TEE reserved memory for that board. This change defines these resources in ED1 DTS file which is included in EV1 DTS file. Signed-off-by: Etienne Carriere Acked-by: Jerome Forissier --- arch/arm/boot/dts/stm32mp157c-ed1.dts | 9 +++++++++ arch/arm/boot/dts/stm32mp157c-ev1.dts | 4 ---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts index ca109dc182388d..e514b948bf39fd 100644 --- a/arch/arm/boot/dts/stm32mp157c-ed1.dts +++ b/arch/arm/boot/dts/stm32mp157c-ed1.dts @@ -70,6 +70,11 @@ reg = <0xe8000000 0x8000000>; no-map; }; + + optee_memory: optee@fe000000 { + reg = <0xfe000000 0x2000000>; + no-map; + }; }; aliases { @@ -293,6 +298,10 @@ status = "okay"; }; +&optee { + status = "okay"; +}; + &pwr_regulators { vdd-supply = <&vdd>; vdd_3v3_usbfs-supply = <&vdd_usb>; diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts b/arch/arm/boot/dts/stm32mp157c-ev1.dts index fa515206161f7c..85628e16d2d568 100644 --- a/arch/arm/boot/dts/stm32mp157c-ev1.dts +++ b/arch/arm/boot/dts/stm32mp157c-ev1.dts @@ -372,7 +372,3 @@ &usbphyc { status = "okay"; }; - -&optee { - status = "okay"; -};