ARM: dts: stm32: remove shmem for scmi-optee on stm32mp15
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 5 Jul 2023 15:44:58 +0000 (17:44 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Mon, 10 Jul 2023 14:32:49 +0000 (16:32 +0200)
commitabb32edfc140b1c6cecc9bcc28fd0d3d0b833f91
tree436f4dbefeef9f65825124041514ae20e74f842c
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
ARM: dts: stm32: remove shmem for scmi-optee on stm32mp15

Since the OP-TEE commit "plat-stm32mp1: scmi_server: default use OP-TEE
shared memory", integrated in OP-TEE 3.22.0-rc1, the default configuration
for STM32MP15x SoCs changes and CFG_STM32MP1_SCMI_SHM_SYSRAM is disabled
by default and the OP-TEE SMCI server uses OP-TEE native shared memory
registered by clients.

To be compatible with this configuration and the next OP-TEE versions,
this patch removes in the STM32MP15 SCMI device tree the SHMEM used by
OP-TEE SCMI and the associated reserved memory in the last 4KByte page
of SRAM.

Fixes: ea3414e1249e ("ARM: dts: stm32: move SCMI related nodes in a dedicated file for stm32mp15")
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/st/stm32mp15-scmi.dtsi