dts: ARM: stm32mp15: add OP-TEE node in u-boot DTSI
authorEtienne Carriere <etienne.carriere@linaro.org>
Fri, 5 Jun 2020 07:24:30 +0000 (09:24 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Tue, 16 Jun 2020 08:39:28 +0000 (10:39 +0200)
commit9e696965065c43b59901e49e75435b1549fa55c7
treed83d608bd4bea2c6eddc9513047814f09ee6a6c7
parent164873a0c02ddbc9a59ad3a0670f17684fc00737
dts: ARM: stm32mp15: add OP-TEE node in u-boot DTSI

Add OP-TEE firmware node in stm32mp15 U-Boot DTSI. This node is
needed since commit [1] that changed U-Boot/stm32mp15 to detect
OP-TEE availability by probing the resource instead of relying on
U-Boot configuration. The software sequence implemented by [1] is
fine but U-Boot DTS/DTSI files were not updated accordingly since,
hence OP-TEE presence is never detected by U-Boot, preventing Linux
kernel from using OP-TEE resources.

For consistency and to synchronize stm32mp15 DTSI files (excluding
U-Boot specific DTSI files) with the Linux kernel ones, this change
also moves the OP-TEE reserved memory nodes from board generic DTSI
files to U-Boot specific board DTSI files.

Link: [1] commit 43df0a159df6 ("stm32mp1: dynamically detect op-tee presence")
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi
arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
arch/arm/dts/stm32mp157c-ed1.dts
arch/arm/dts/stm32mp15xx-dkx.dtsi