xref: /rk3399_ARM-atf/plat/arm/board/tc/fdts/tc_tb_fw_config.dts (revision 06f3c7058c42a9f1a9f7df75ea2de71a000855e8)
1/*
2 * Copyright (c) 2020-2024, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include <lib/libc/cdefs.h>
8
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		 * The following two entries are placeholders for Mbed TLS
19		 * heap information. The default values don't matter since
20		 * they will be overwritten by BL1.
21		 * In case of having shared Mbed TLS heap between BL1 and BL2,
22		 * BL1 will populate these two properties with the respective
23		 * info about the shared heap. This info will be available for
24		 * BL2 in order to locate and re-use the heap.
25		 */
26		mbedtls_heap_addr = <0x0 0x0>;
27		mbedtls_heap_size = <0x0>;
28	};
29
30	secure-partitions {
31		compatible = "arm,sp";
32#ifdef ARM_BL2_SP_LIST_DTS
33	#include __XSTRING(ARM_BL2_SP_LIST_DTS)
34#else
35#ifdef TS_SP_FW_CONFIG
36		internal-trusted-storage {
37		       uuid = "dc1eef48-b17a-4ccf-ac8b-dfcff7711b14";
38		       load-address = <0xfee00000>;
39		};
40		crypto {
41		       uuid = "d9df52d5-16a2-4bb2-9aa4-d26d3b84e8c0";
42		       load-address = <0xfec00000>;
43		};
44		firmware-update {
45		       uuid = "6823a838-1b06-470e-9774-0cce8bfb53fd";
46		       load-address = <0xfde00000>;
47		};
48#endif
49#if OPTEE_SP_FW_CONFIG
50		op-tee {
51		       uuid = "486178e0-e7f8-11e3-bc5e-0002a5d5c51b";
52		       load-address = <0xfd280000>;
53		};
54#elif TRUSTY_SP_FW_CONFIG
55		trusty {
56		       uuid = "40ee25f0-a2bc-304c-8c4c-a173c57d8af1";
57		       load-address = <0xf901c000>;
58		};
59#else
60		cactus-primary {
61			uuid = "b4b5671e-4a90-4fe1-b81f-fb13dae1dacb";
62			load-address = <0xfe000000>;
63			owner = "SiP";
64		};
65
66		cactus-secondary {
67			uuid = "d1582309-f023-47b9-827c-4464f5578fc8";
68			load-address = <0xfe100000>;
69			owner = "Plat";
70		};
71
72		cactus-tertiary {
73			uuid = "79b55c73-1d8c-44b9-8593-61e1770ad8d2";
74			load-address = <0xfe200000>;
75		};
76
77		ivy {
78			uuid = "eaba83d8-baaf-4eaf-8144-f7fdcbe544a7";
79			load-address = <0xfe600000>;
80			owner = "Plat";
81		};
82#endif
83#endif /* ARM_BL2_SP_LIST_DTS */
84	};
85#if DICE_PROTECTION_ENVIRONMENT
86	#include "dice_prot_env.dtsi"
87#endif
88};
89