From b9a16995c467cc18cc26716d566c512fbac11069 Mon Sep 17 00:00:00 2001 From: Jens Wiklander Date: Thu, 30 Jun 2022 21:48:49 +0200 Subject: [PATCH] arm64: dt: OP-TEE for FVP Base RevC Configures FVP Base RevC with OP-TEE. With commit 1bf41f5d9b0d ("fvp: add Trusted Services support") in https://github.com/OP-TEE/build there is support for building running with the FVP Base RevC model. However, some updates to the DTB passed to the kernel is missing for the OP-TEE driver to be probed. So fix that by adding an OP-TEE node in the DTS. Signed-off-by: Jens Wiklander --- arch/arm64/boot/dts/arm/fvp-base-revc.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/arm/fvp-base-revc.dts b/arch/arm64/boot/dts/arm/fvp-base-revc.dts index 269b649934b5ab..b642131f25cebc 100644 --- a/arch/arm64/boot/dts/arm/fvp-base-revc.dts +++ b/arch/arm64/boot/dts/arm/fvp-base-revc.dts @@ -110,6 +110,11 @@ reg = <0x00000000 0x18000000 0 0x00800000>; no-map; }; + + optee@83000000 { + reg = <0x00000000 0x83000000 0 0x01000000>; + no-map; + }; }; gic: interrupt-controller@2f000000 { @@ -243,4 +248,11 @@ <0 0 43 &gic 0 0 GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>, <0 0 44 &gic 0 0 GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; }; + + firmware { + optee { + compatible = "linaro,optee-tz"; + method = "smc"; + }; + }; };