blob: 4168e2f8d2b502654d875d79e363d515e94f11a4 [file] [log] [blame]
Balint Dobszay1bf41f52022-05-30 12:56:38 +02001/* SPDX-License-Identifier: BSD-3-Clause */
2/*
Julian Hallb0c8fc22022-11-30 12:24:38 +00003 * Copyright (c) 2022-2023, Arm Limited. All rights reserved.
Balint Dobszay1bf41f52022-05-30 12:56:38 +02004 */
5
6/dts-v1/;
7
8/ {
9 compatible = "arm,ffa-core-manifest-1.0";
10 #address-cells = <2>;
11 #size-cells = <1>;
12
13 attribute {
14 spmc_id = <0x8000>;
15 maj_ver = <0x1>;
Sudeep Holla127b7352024-05-19 22:14:24 +010016 min_ver = <0x1>;
Balint Dobszay1bf41f52022-05-30 12:56:38 +020017 exec_state = <0x0>;
18 load_address = <0x0 0x6000000>;
19 entrypoint = <0x0 0x6000000>;
20 binary_size = <0x80000>;
21 };
22
Sudeep Holla127b7352024-05-19 22:14:24 +010023 /* Secure world memory */
24 memory@6000000 {
25 device_type = "memory";
26 reg = <0x0 0x6000000 0x1000000>; /* Trusted DRAM */
27 };
28
Balint Dobszay1bf41f52022-05-30 12:56:38 +020029/*
30 * This file will be preprocessed by TF-A's build system. If Measured Boot is
31 * enabled in TF-A's config, the build system will add the MEASURED_BOOT=1 macro
32 * to the preprocessor arguments.
33 */
34#if MEASURED_BOOT
35 tpm_event_log {
36 compatible = "arm,tpm_event_log";
37 tpm_event_log_addr = <0x0 0x0>;
38 tpm_event_log_size = <0x0>;
Gyorgy Szinga64aa832023-10-11 17:03:04 +000039 tpm_event_log_max_size = <0x0>;
Balint Dobszay1bf41f52022-05-30 12:56:38 +020040 };
41#endif
Balint Dobszaydb9b8f02022-09-01 11:20:23 +020042
43/* If the ARM_BL2_SP_LIST_DTS is defined, SPs should be loaded from FIP */
44#ifdef ARM_BL2_SP_LIST_DTS
45 sp_packages {
46 compatible = "arm,sp_pkg";
Jelle Selsc26422b2022-12-15 10:21:49 +010047#if !SPMC_TESTS
Gabor Ambrus557af272023-08-16 12:59:55 +020048#if TS_LOGGING_SP
49 logging_sp {
50 uuid = <0xbdff9dda 0xed4090d5 0xc6195f97 0xd3523d5a>;
51 load-address = <0x0 0x7e00000>;
52 };
53#endif /* TS_LOGGING_SP */
54
Julian Hallb0c8fc22022-11-30 12:24:38 +000055 block_storage {
56 uuid = <0x806e6463 0x2f4652eb 0xdf8c4fac 0x9c518739>;
57 load-address = <0x0 0x7a00000>;
58 };
Balint Dobszaydb9b8f02022-09-01 11:20:23 +020059 internal_trusted_storage {
60 uuid = <0x48ef1edc 0xcf4c7ab1 0xcfdf8bac 0x141b71f7>;
Julian Hallb0c8fc22022-11-30 12:24:38 +000061 load-address = <0x0 0x7a80000>;
Balint Dobszaydb9b8f02022-09-01 11:20:23 +020062 };
63
64 protected_storage_sp {
65 uuid = <0x01f81b75 0x6847de3d 0x100f14a5 0x9017edae>;
66 load-address = <0x0 0x7b00000>;
67 };
68
69 crypto_sp {
70 uuid = <0xd552dfd9 0xb24ba216 0x6dd2a49a 0xc0e8843b>;
Julian Hallb0c8fc22022-11-30 12:24:38 +000071 load-address = <0x0 0x7b80000>;
Balint Dobszaydb9b8f02022-09-01 11:20:23 +020072 };
73
74#if MEASURED_BOOT
75 initial_attestation_sp {
76 uuid = <0x55f1baa1 0x95467688 0x95547c8f 0x74b98d5e>;
Julian Hallb0c8fc22022-11-30 12:24:38 +000077 load-address = <0x0 0x7c80000>;
Balint Dobszaydb9b8f02022-09-01 11:20:23 +020078 };
79#endif
80
Imre Kis0dbd3df2023-04-05 13:31:22 +020081#if TS_SMM_GATEWAY
Balint Dobszaydb9b8f02022-09-01 11:20:23 +020082 smm_gateway {
83 uuid = <0x33d532ed 0x0942e699 0x722dc09c 0xa798d9cd>;
Julian Hallb0c8fc22022-11-30 12:24:38 +000084 load-address = <0x0 0x7d00000>;
Balint Dobszaydb9b8f02022-09-01 11:20:23 +020085 };
Imre Kis0dbd3df2023-04-05 13:31:22 +020086#endif /* TS_SMM_GATEWAY */
Jelle Selsc26422b2022-12-15 10:21:49 +010087
Gyorgy Szing08d69742023-04-05 07:30:08 +000088#if TS_FW_UPDATE
89 fwu {
90 uuid = <0x38a82368 0x0e47061b 0xce0c7497 0xfd53fb8b>;
91 load-address = <0x0 0x7d80000>;
92 };
93#endif /* TS_FW_UPDATE */
94
Imre Kis0dbd3df2023-04-05 13:31:22 +020095#else /* SPMC_TESTS */
Jelle Selsc26422b2022-12-15 10:21:49 +010096 test_sp1 {
97 uuid = <0xc3db9e5c 0x67433a7b 0x197c839f 0x376ae81a>;
98 load-address = <0x0 0x7a00000>;
99 };
100
101 test_sp2 {
102 uuid = <0x4c161778 0x1a4d0cc4 0xb29b7a86 0x1af48c27>;
Imre Kis8a2098e2023-04-05 13:40:01 +0200103 load-address = <0x0 0x7a20000>;
Jelle Selsc26422b2022-12-15 10:21:49 +0100104 };
105
106 test_sp3 {
107 uuid = <0x0001eb23 0x97442ae3 0x112f5290 0xa6af84e5>;
Imre Kis8a2098e2023-04-05 13:40:01 +0200108 load-address = <0x0 0x7a40000>;
Jelle Selsc26422b2022-12-15 10:21:49 +0100109 };
110
Jelle Sels7fe310e2022-09-07 11:25:29 +0200111 test_sp4 {
112 /* SP binary UUID */
113 uuid = <0xed623742 0x6f407277 0x270cd899 0xf8bb0ada>;
Imre Kis8a2098e2023-04-05 13:40:01 +0200114 load-address = <0x0 0x7a80000>;
Jelle Sels7fe310e2022-09-07 11:25:29 +0200115 };
Imre Kis0dbd3df2023-04-05 13:31:22 +0200116#endif /* SPMC_TESTS */
Jelle Selsc26422b2022-12-15 10:21:49 +0100117
Balint Dobszaydb9b8f02022-09-01 11:20:23 +0200118 };
Imre Kis0dbd3df2023-04-05 13:31:22 +0200119#endif /* ARM_BL2_SP_LIST_DTS */
Balint Dobszay1bf41f52022-05-30 12:56:38 +0200120};