Balint Dobszay | 1bf41f5 | 2022-05-30 12:56:38 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: BSD-3-Clause */ |
| 2 | /* |
Julian Hall | b0c8fc2 | 2022-11-30 12:24:38 +0000 | [diff] [blame] | 3 | * Copyright (c) 2022-2023, Arm Limited. All rights reserved. |
Balint Dobszay | 1bf41f5 | 2022-05-30 12:56:38 +0200 | [diff] [blame] | 4 | */ |
| 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 Holla | 127b735 | 2024-05-19 22:14:24 +0100 | [diff] [blame] | 16 | min_ver = <0x1>; |
Balint Dobszay | 1bf41f5 | 2022-05-30 12:56:38 +0200 | [diff] [blame] | 17 | exec_state = <0x0>; |
| 18 | load_address = <0x0 0x6000000>; |
| 19 | entrypoint = <0x0 0x6000000>; |
| 20 | binary_size = <0x80000>; |
| 21 | }; |
| 22 | |
Sudeep Holla | 127b735 | 2024-05-19 22:14:24 +0100 | [diff] [blame] | 23 | /* Secure world memory */ |
| 24 | memory@6000000 { |
| 25 | device_type = "memory"; |
| 26 | reg = <0x0 0x6000000 0x1000000>; /* Trusted DRAM */ |
| 27 | }; |
| 28 | |
Balint Dobszay | 1bf41f5 | 2022-05-30 12:56:38 +0200 | [diff] [blame] | 29 | /* |
| 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 Szing | a64aa83 | 2023-10-11 17:03:04 +0000 | [diff] [blame] | 39 | tpm_event_log_max_size = <0x0>; |
Balint Dobszay | 1bf41f5 | 2022-05-30 12:56:38 +0200 | [diff] [blame] | 40 | }; |
| 41 | #endif |
Balint Dobszay | db9b8f0 | 2022-09-01 11:20:23 +0200 | [diff] [blame] | 42 | |
| 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 Sels | c26422b | 2022-12-15 10:21:49 +0100 | [diff] [blame] | 47 | #if !SPMC_TESTS |
Gabor Ambrus | 557af27 | 2023-08-16 12:59:55 +0200 | [diff] [blame] | 48 | #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 Hall | b0c8fc2 | 2022-11-30 12:24:38 +0000 | [diff] [blame] | 55 | block_storage { |
| 56 | uuid = <0x806e6463 0x2f4652eb 0xdf8c4fac 0x9c518739>; |
| 57 | load-address = <0x0 0x7a00000>; |
| 58 | }; |
Balint Dobszay | db9b8f0 | 2022-09-01 11:20:23 +0200 | [diff] [blame] | 59 | internal_trusted_storage { |
| 60 | uuid = <0x48ef1edc 0xcf4c7ab1 0xcfdf8bac 0x141b71f7>; |
Julian Hall | b0c8fc2 | 2022-11-30 12:24:38 +0000 | [diff] [blame] | 61 | load-address = <0x0 0x7a80000>; |
Balint Dobszay | db9b8f0 | 2022-09-01 11:20:23 +0200 | [diff] [blame] | 62 | }; |
| 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 Hall | b0c8fc2 | 2022-11-30 12:24:38 +0000 | [diff] [blame] | 71 | load-address = <0x0 0x7b80000>; |
Balint Dobszay | db9b8f0 | 2022-09-01 11:20:23 +0200 | [diff] [blame] | 72 | }; |
| 73 | |
| 74 | #if MEASURED_BOOT |
| 75 | initial_attestation_sp { |
| 76 | uuid = <0x55f1baa1 0x95467688 0x95547c8f 0x74b98d5e>; |
Julian Hall | b0c8fc2 | 2022-11-30 12:24:38 +0000 | [diff] [blame] | 77 | load-address = <0x0 0x7c80000>; |
Balint Dobszay | db9b8f0 | 2022-09-01 11:20:23 +0200 | [diff] [blame] | 78 | }; |
| 79 | #endif |
| 80 | |
Imre Kis | 0dbd3df | 2023-04-05 13:31:22 +0200 | [diff] [blame] | 81 | #if TS_SMM_GATEWAY |
Balint Dobszay | db9b8f0 | 2022-09-01 11:20:23 +0200 | [diff] [blame] | 82 | smm_gateway { |
| 83 | uuid = <0x33d532ed 0x0942e699 0x722dc09c 0xa798d9cd>; |
Julian Hall | b0c8fc2 | 2022-11-30 12:24:38 +0000 | [diff] [blame] | 84 | load-address = <0x0 0x7d00000>; |
Balint Dobszay | db9b8f0 | 2022-09-01 11:20:23 +0200 | [diff] [blame] | 85 | }; |
Imre Kis | 0dbd3df | 2023-04-05 13:31:22 +0200 | [diff] [blame] | 86 | #endif /* TS_SMM_GATEWAY */ |
Jelle Sels | c26422b | 2022-12-15 10:21:49 +0100 | [diff] [blame] | 87 | |
Gyorgy Szing | 08d6974 | 2023-04-05 07:30:08 +0000 | [diff] [blame] | 88 | #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 Kis | 0dbd3df | 2023-04-05 13:31:22 +0200 | [diff] [blame] | 95 | #else /* SPMC_TESTS */ |
Jelle Sels | c26422b | 2022-12-15 10:21:49 +0100 | [diff] [blame] | 96 | 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 Kis | 8a2098e | 2023-04-05 13:40:01 +0200 | [diff] [blame] | 103 | load-address = <0x0 0x7a20000>; |
Jelle Sels | c26422b | 2022-12-15 10:21:49 +0100 | [diff] [blame] | 104 | }; |
| 105 | |
| 106 | test_sp3 { |
| 107 | uuid = <0x0001eb23 0x97442ae3 0x112f5290 0xa6af84e5>; |
Imre Kis | 8a2098e | 2023-04-05 13:40:01 +0200 | [diff] [blame] | 108 | load-address = <0x0 0x7a40000>; |
Jelle Sels | c26422b | 2022-12-15 10:21:49 +0100 | [diff] [blame] | 109 | }; |
| 110 | |
Jelle Sels | 7fe310e | 2022-09-07 11:25:29 +0200 | [diff] [blame] | 111 | test_sp4 { |
| 112 | /* SP binary UUID */ |
| 113 | uuid = <0xed623742 0x6f407277 0x270cd899 0xf8bb0ada>; |
Imre Kis | 8a2098e | 2023-04-05 13:40:01 +0200 | [diff] [blame] | 114 | load-address = <0x0 0x7a80000>; |
Jelle Sels | 7fe310e | 2022-09-07 11:25:29 +0200 | [diff] [blame] | 115 | }; |
Imre Kis | 0dbd3df | 2023-04-05 13:31:22 +0200 | [diff] [blame] | 116 | #endif /* SPMC_TESTS */ |
Jelle Sels | c26422b | 2022-12-15 10:21:49 +0100 | [diff] [blame] | 117 | |
Balint Dobszay | db9b8f0 | 2022-09-01 11:20:23 +0200 | [diff] [blame] | 118 | }; |
Imre Kis | 0dbd3df | 2023-04-05 13:31:22 +0200 | [diff] [blame] | 119 | #endif /* ARM_BL2_SP_LIST_DTS */ |
Balint Dobszay | 1bf41f5 | 2022-05-30 12:56:38 +0200 | [diff] [blame] | 120 | }; |