Re: [PATCH] Revert "arm64: zynqmp: Add an OP-TEE node to the device tree"

From: Michal Simek
Date: Tue Nov 25 2025 - 05:31:21 EST




On 11/25/25 08:53, Tomas Melin wrote:
This reverts commit 06d22ed6b6635b17551f386b50bb5aaff9b75fbe.

OP-TEE logic in U-Boot automatically injects a reserved-memory
node along with optee firmware node to kernel device tree.
The injection logic is dependent on that there is no manually
defined optee node. Having the node in zynqmp.dtsi effectively
breaks OP-TEE's insertion of the reserved-memory node, causing
memory access violations during runtime.

Signed-off-by: Tomas Melin <tomas.melin@xxxxxxxxxxx>
---
For further information about the U-Boot logic related
to this, see lib/optee/optee.c in U-Boot repository.

What's the behavior with EDK2?

U-Boot also have optee driver. How is it probed when you remove this node?

Thanks,
Michal