]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitf6d16f853caa8611664e678b2a7d70ef87cdde67
treed83d608bd4bea2c6eddc9513047814f09ee6a6c7
parent9100b147bc8d060f33aa572d4aaf21fc1b6affc7
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 a59a3b33a743 ("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