From 3cf080ed61e90668f0c44ca7f577e51c081e5c7c Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Tue, 23 Nov 2021 14:47:40 +0000 Subject: [PATCH] feat(fvp/tsp_manifest): add example manifest for TSP Add an example manifest for the EL3 SPMC on the FVP Platform that allows booting the TSP example partition. Signed-off-by: Marc Bonnici Change-Id: Ie7f40328e0313abb5b1a121dfdc22a5f7387587f Signed-off-by: Shruti Gupta --- .../board/fvp/fdts/fvp_tsp_sp_manifest.dts | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 plat/arm/board/fvp/fdts/fvp_tsp_sp_manifest.dts diff --git a/plat/arm/board/fvp/fdts/fvp_tsp_sp_manifest.dts b/plat/arm/board/fvp/fdts/fvp_tsp_sp_manifest.dts new file mode 100644 index 000000000..1587c72b0 --- /dev/null +++ b/plat/arm/board/fvp/fdts/fvp_tsp_sp_manifest.dts @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2022, Arm Limited. All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ +/dts-v1/; + +#define AFF 00 + +#include "fvp-defs.dtsi" +#undef POST +#define POST \ + }; + +#define S_EL0 (0x1) +#define S_EL1 (0x2) + +/* For consumption by EL3 SPMC. */ +/ { + compatible = "arm,ffa-manifest-1.0"; + #address-cells = <2>; + #size-cells = <1>; + + ffa-version = <0x00010001>; /* 31:16 - Major, 15:0 - Minor */ + id = <0x8001>; + uuid = <0x6b43b460 0x74a24b78 0xade24502 0x40682886>; + messaging-method = <0x3>; /* Direct Messaging Only */ + exception-level = ; + execution-state = <0>; + execution-ctx-count = <8>; + gp-register-num = <0>; + /* Subscribe to CPU_OFF, CPU_SUSPEND and CPU_SUSPEND_RESUME PM Msgs */ + power-management-messages = <0x7>; +};