From: Vincent Jardin Date: Fri, 8 May 2026 13:54:08 +0000 (+0200) Subject: arm: dts: armada-8040-nbx: add U-Boot dtsi for conditional OP-TEE X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7e9312917368ac4d6467158ce00f36b92b6d64b0;p=thirdparty%2Fu-boot.git arm: dts: armada-8040-nbx: add U-Boot dtsi for conditional OP-TEE 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 Reviewed-by: Stefan Roese --- 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 index 00000000000..dec473b7156 --- /dev/null +++ b/arch/arm/dts/armada-8040-nbx-u-boot.dtsi @@ -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