Manish V Badarkhe | 64616a5 | 2020-05-31 08:53:40 +0100 | [diff] [blame] | 1 | /* |
Rob Hughes | f2e400b | 2023-01-20 10:40:27 +0000 | [diff] [blame] | 2 | * Copyright (c) 2020-2023, ARM Limited. All rights reserved. |
Manish V Badarkhe | 64616a5 | 2020-05-31 08:53:40 +0100 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
Balint Dobszay | 9f68976 | 2021-03-26 15:19:11 +0100 | [diff] [blame] | 7 | #include <lib/libc/cdefs.h> |
| 8 | |
Manish V Badarkhe | 64616a5 | 2020-05-31 08:53:40 +0100 | [diff] [blame] | 9 | /dts-v1/; |
| 10 | |
| 11 | / { |
| 12 | tb_fw-config { |
| 13 | compatible = "arm,tb_fw"; |
| 14 | |
| 15 | /* Disable authentication for development */ |
| 16 | disable_auth = <0x0>; |
| 17 | |
| 18 | /* |
| 19 | * The following two entries are placeholders for Mbed TLS |
| 20 | * heap information. The default values don't matter since |
| 21 | * they will be overwritten by BL1. |
| 22 | * In case of having shared Mbed TLS heap between BL1 and BL2, |
| 23 | * BL1 will populate these two properties with the respective |
| 24 | * info about the shared heap. This info will be available for |
| 25 | * BL2 in order to locate and re-use the heap. |
| 26 | */ |
| 27 | mbedtls_heap_addr = <0x0 0x0>; |
| 28 | mbedtls_heap_size = <0x0>; |
Manish V Badarkhe | 64616a5 | 2020-05-31 08:53:40 +0100 | [diff] [blame] | 29 | }; |
| 30 | |
| 31 | /* |
Ruari Phipps | 57d48a0 | 2020-08-10 15:53:45 +0100 | [diff] [blame] | 32 | * UUID's here are UUID RFC 4122 compliant meaning fieds are stored in |
| 33 | * network order (big endian) |
Manish V Badarkhe | 64616a5 | 2020-05-31 08:53:40 +0100 | [diff] [blame] | 34 | */ |
Ruari Phipps | 57d48a0 | 2020-08-10 15:53:45 +0100 | [diff] [blame] | 35 | |
Manish V Badarkhe | 64616a5 | 2020-05-31 08:53:40 +0100 | [diff] [blame] | 36 | #if ARM_IO_IN_DTB |
| 37 | arm-io_policies { |
| 38 | fip-handles { |
| 39 | compatible = "arm,io-fip-handle"; |
David Horstmann | b2df4c1 | 2021-04-08 14:50:21 +0100 | [diff] [blame] | 40 | scp_bl2_uuid = "9766fd3d-89be-e849-ae5d-78a140608213"; |
| 41 | bl31_uuid = "47d4086d-4cfe-9846-9b95-2950cbbd5a00"; |
| 42 | bl32_uuid = "05d0e189-53dc-1347-8d2b-500a4b7a3e38"; |
Yann Gautier | c874403 | 2021-05-03 11:52:50 +0200 | [diff] [blame] | 43 | bl32_extra1_uuid = "0b70c29b-2a5a-7840-9f65-0a5682738288"; |
David Horstmann | b2df4c1 | 2021-04-08 14:50:21 +0100 | [diff] [blame] | 44 | bl32_extra2_uuid = "8ea87bb1-cfa2-3f4d-85fd-e7bba50220d9"; |
| 45 | bl33_uuid = "d6d0eea7-fcea-d54b-9782-9934f234b6e4"; |
| 46 | hw_cfg_uuid = "08b8f1d9-c9cf-9349-a962-6fbc6b7265cc"; |
| 47 | soc_fw_cfg_uuid = "9979814b-0376-fb46-8c8e-8d267f7859e0"; |
| 48 | tos_fw_cfg_uuid = "26257c1a-dbc6-7f47-8d96-c4c4b0248021"; |
| 49 | nt_fw_cfg_uuid = "28da9815-93e8-7e44-ac66-1aaf801550f9"; |
laurenw-arm | 2307546 | 2022-04-21 17:03:30 -0500 | [diff] [blame] | 50 | cca_cert_uuid = "36d83d85-761d-4daf-96f1-cd99d6569b00"; |
| 51 | core_swd_cert_uuid = "52222d31-820f-494d-8bbc-ea6825d3c35a"; |
| 52 | plat_cert_uuid = "d43cd902-5b9f-412e-8ac6-92b6d18be60d"; |
Yann Gautier | c874403 | 2021-05-03 11:52:50 +0200 | [diff] [blame] | 53 | t_key_cert_uuid = "827ee890-f860-e411-a1b4-777a21b4f94c"; |
David Horstmann | b2df4c1 | 2021-04-08 14:50:21 +0100 | [diff] [blame] | 54 | scp_fw_key_uuid = "024221a1-f860-e411-8d9b-f33c0e15a014"; |
| 55 | soc_fw_key_uuid = "8ab8becc-f960-e411-9ad0-eb4822d8dcf8"; |
| 56 | tos_fw_key_cert_uuid = "9477d603-fb60-e411-85dd-b7105b8cee04"; |
| 57 | nt_fw_key_cert_uuid = "8ad5832a-fb60-e411-8aaf-df30bbc49859"; |
| 58 | scp_fw_content_cert_uuid = "44be6f04-5e63-e411-b28b-73d8eaae9656"; |
| 59 | soc_fw_content_cert_uuid = "e2b20c20-5e63-e411-9ce8-abccf92bb666"; |
| 60 | tos_fw_content_cert_uuid = "a49f4411-5e63-e411-8728-3f05722af33d"; |
| 61 | nt_fw_content_cert_uuid = "8ec4c1f3-5d63-e411-a7a9-87ee40b23fa7"; |
Rob Hughes | f2e400b | 2023-01-20 10:40:27 +0000 | [diff] [blame] | 62 | plat_sp_content_cert_uuid = "776dfd44-8697-4c3b-91eb-c13e025a2a6f"; |
Manish V Badarkhe | 64616a5 | 2020-05-31 08:53:40 +0100 | [diff] [blame] | 63 | }; |
| 64 | }; |
| 65 | #endif /* ARM_IO_IN_DTB */ |
| 66 | |
| 67 | secure-partitions { |
| 68 | compatible = "arm,sp"; |
Balint Dobszay | 9f68976 | 2021-03-26 15:19:11 +0100 | [diff] [blame] | 69 | |
| 70 | #ifdef ARM_BL2_SP_LIST_DTS |
| 71 | #include __XSTRING(ARM_BL2_SP_LIST_DTS) |
| 72 | #else |
Olivier Deprez | bcaa068 | 2020-04-01 21:28:26 +0200 | [diff] [blame] | 73 | #ifdef OPTEE_SP_FW_CONFIG |
| 74 | op-tee { |
David Horstmann | b2df4c1 | 2021-04-08 14:50:21 +0100 | [diff] [blame] | 75 | uuid = "486178e0-e7f8-11e3-bc5e-0002a5d5c51b"; |
Olivier Deprez | bcaa068 | 2020-04-01 21:28:26 +0200 | [diff] [blame] | 76 | load-address = <0x6280000>; |
| 77 | }; |
| 78 | #else |
Manish V Badarkhe | 64616a5 | 2020-05-31 08:53:40 +0100 | [diff] [blame] | 79 | cactus-primary { |
David Horstmann | b2df4c1 | 2021-04-08 14:50:21 +0100 | [diff] [blame] | 80 | uuid = "b4b5671e-4a90-4fe1-b81f-fb13dae1dacb"; |
Manish V Badarkhe | 64616a5 | 2020-05-31 08:53:40 +0100 | [diff] [blame] | 81 | load-address = <0x7000000>; |
Ruari Phipps | 960e99c | 2020-08-11 15:28:03 +0100 | [diff] [blame] | 82 | owner = "SiP"; |
Manish V Badarkhe | 64616a5 | 2020-05-31 08:53:40 +0100 | [diff] [blame] | 83 | }; |
| 84 | |
| 85 | cactus-secondary { |
David Horstmann | b2df4c1 | 2021-04-08 14:50:21 +0100 | [diff] [blame] | 86 | uuid = "d1582309-f023-47b9-827c-4464f5578fc8"; |
Manish V Badarkhe | 64616a5 | 2020-05-31 08:53:40 +0100 | [diff] [blame] | 87 | load-address = <0x7100000>; |
Ruari Phipps | 960e99c | 2020-08-11 15:28:03 +0100 | [diff] [blame] | 88 | owner = "Plat"; |
Manish V Badarkhe | 64616a5 | 2020-05-31 08:53:40 +0100 | [diff] [blame] | 89 | }; |
Ruari Phipps | d442a0d | 2020-07-17 16:43:50 +0100 | [diff] [blame] | 90 | |
| 91 | cactus-tertiary { |
David Horstmann | b2df4c1 | 2021-04-08 14:50:21 +0100 | [diff] [blame] | 92 | uuid = "79b55c73-1d8c-44b9-8593-61e1770ad8d2"; |
Ruari Phipps | d442a0d | 2020-07-17 16:43:50 +0100 | [diff] [blame] | 93 | load-address = <0x7200000>; |
Daniel Boulby | 4fd059b | 2021-03-22 22:00:56 +0000 | [diff] [blame] | 94 | owner = "Plat"; |
| 95 | }; |
| 96 | |
| 97 | ivy { |
| 98 | uuid = "eaba83d8-baaf-4eaf-8144-f7fdcbe544a7"; |
| 99 | load-address = <0x7600000>; |
| 100 | owner = "Plat"; |
Ruari Phipps | d442a0d | 2020-07-17 16:43:50 +0100 | [diff] [blame] | 101 | }; |
Olivier Deprez | bcaa068 | 2020-04-01 21:28:26 +0200 | [diff] [blame] | 102 | #endif |
Balint Dobszay | 9f68976 | 2021-03-26 15:19:11 +0100 | [diff] [blame] | 103 | #endif /* ARM_BL2_SP_LIST_DTS */ |
Manish V Badarkhe | 64616a5 | 2020-05-31 08:53:40 +0100 | [diff] [blame] | 104 | }; |
Manish V Badarkhe | 0bafa82 | 2020-06-29 11:14:07 +0100 | [diff] [blame] | 105 | |
| 106 | #if COT_DESC_IN_DTB |
| 107 | #include "cot_descriptors.dtsi" |
| 108 | #endif |
| 109 | |
Manish V Badarkhe | 3a17096 | 2021-08-11 10:45:03 +0100 | [diff] [blame] | 110 | #if MEASURED_BOOT |
| 111 | #include "event_log.dtsi" |
| 112 | #endif |
| 113 | |
Manish V Badarkhe | 0bafa82 | 2020-06-29 11:14:07 +0100 | [diff] [blame] | 114 | }; |
| 115 | |
| 116 | #if COT_DESC_IN_DTB |
| 117 | |
| 118 | #include "../fvp_def.h" |
| 119 | |
| 120 | &trusted_nv_counter { |
| 121 | reg = <TFW_NVCTR_BASE>; |
| 122 | }; |
| 123 | |
| 124 | &non_trusted_nv_counter { |
| 125 | reg = <NTFW_CTR_BASE>; |
Manish V Badarkhe | 64616a5 | 2020-05-31 08:53:40 +0100 | [diff] [blame] | 126 | }; |
Manish V Badarkhe | 0bafa82 | 2020-06-29 11:14:07 +0100 | [diff] [blame] | 127 | #endif |