]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: dts: armada-8040-nbx: add U-Boot dtsi for conditional OP-TEE
authorVincent Jardin <vjardin@free.fr>
Fri, 8 May 2026 13:54:08 +0000 (15:54 +0200)
committerStefan Roese <stefan.roese@mailbox.org>
Wed, 10 Jun 2026 09:23:26 +0000 (11:23 +0200)
Add armada-8040-nbx-u-boot.dtsi with the firmware/optee node guarded
by CONFIG_OPTEE. This allows U-Boot to probe the OP-TEE driver only
when OP-TEE support is enabled in the configuration.

Signed-off-by: Vincent Jardin <vjardin@free.fr>
Reviewed-by: Stefan Roese <stefan.roese@mailbox.org>
arch/arm/dts/armada-8040-nbx-u-boot.dtsi [new file with mode: 0644]

diff --git a/arch/arm/dts/armada-8040-nbx-u-boot.dtsi b/arch/arm/dts/armada-8040-nbx-u-boot.dtsi
new file mode 100644 (file)
index 0000000..dec473b
--- /dev/null
@@ -0,0 +1,15 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2026 Free Mobile, Vincent Jardin
+ */
+
+#ifdef CONFIG_OPTEE
+/ {
+       firmware {
+               optee {
+                       compatible = "linaro,optee-tz";
+                       method = "smc";
+               };
+       };
+};
+#endif