[PATCH v2 2/2] imx93: Add support for OPTEE

Mathieu Dubois-Briand mathieu.dubois-briand at bootlin.com
Wed Jun 10 16:17:10 CEST 2026


From: Krzysztof Drobiński <krzysztof at kd-solutions.pl>

OPTEE-OS starts correctly when "opteed" is enabled for Secure Payload
Dispatcher in TF-A (tested on OP-TEE version: 4.9.0), however imx93
devices require a patch for OPTEE targets because binman does not see
the tee.bin file when it is available.

Enable conditional OPTEE support for imx93 devices.

Signed-off-by: Krzysztof Drobiński <krzysztof at kd-solutions.pl>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand at bootlin.com>
---
 arch/arm/dts/imx93-u-boot.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/dts/imx93-u-boot.dtsi b/arch/arm/dts/imx93-u-boot.dtsi
index dc86746ac909..60648bd10a5c 100644
--- a/arch/arm/dts/imx93-u-boot.dtsi
+++ b/arch/arm/dts/imx93-u-boot.dtsi
@@ -69,6 +69,9 @@
 				container;
 				image0 = "a55", "bl31.bin", "0x204E0000";
 				image1 = "a55", "u-boot.bin", "0x80200000";
+#if defined(CONFIG_OPTEE)
+				image2 = "a55", "tee.bin", "0x96000000";
+#endif
 			};
 		};
 	};

-- 
2.47.3



More information about the U-Boot mailing list