xref: /rk3399_ARM-atf/plat/arm/board/tc/fdts/tc_tb_fw_config.dts (revision e7d14fa83f3dd50d2ee2aa1e269851eb9e351951)
16ec0c65bSUsama Arif/*
2ba197f5fSArunachalam Ganapathy * Copyright (c) 2020-2024, Arm Limited. All rights reserved.
36ec0c65bSUsama Arif *
46ec0c65bSUsama Arif * SPDX-License-Identifier: BSD-3-Clause
56ec0c65bSUsama Arif */
66ec0c65bSUsama Arif
738f79045SDavidson K#include <lib/libc/cdefs.h>
838f79045SDavidson K
96ec0c65bSUsama Arif/dts-v1/;
106ec0c65bSUsama Arif
116ec0c65bSUsama Arif/ {
126ec0c65bSUsama Arif	tb_fw-config {
136ec0c65bSUsama Arif		compatible = "arm,tb_fw";
146ec0c65bSUsama Arif
156ec0c65bSUsama Arif		/* Disable authentication for development */
166ec0c65bSUsama Arif		disable_auth = <0x0>;
176ec0c65bSUsama Arif		/*
186ec0c65bSUsama Arif		 * The following two entries are placeholders for Mbed TLS
196ec0c65bSUsama Arif		 * heap information. The default values don't matter since
206ec0c65bSUsama Arif		 * they will be overwritten by BL1.
216ec0c65bSUsama Arif		 * In case of having shared Mbed TLS heap between BL1 and BL2,
226ec0c65bSUsama Arif		 * BL1 will populate these two properties with the respective
236ec0c65bSUsama Arif		 * info about the shared heap. This info will be available for
246ec0c65bSUsama Arif		 * BL2 in order to locate and re-use the heap.
256ec0c65bSUsama Arif		 */
266ec0c65bSUsama Arif		mbedtls_heap_addr = <0x0 0x0>;
276ec0c65bSUsama Arif		mbedtls_heap_size = <0x0>;
286ec0c65bSUsama Arif	};
296ec0c65bSUsama Arif
306ec0c65bSUsama Arif	secure-partitions {
316ec0c65bSUsama Arif		compatible = "arm,sp";
3238f79045SDavidson K#ifdef ARM_BL2_SP_LIST_DTS
3338f79045SDavidson K	#include __XSTRING(ARM_BL2_SP_LIST_DTS)
3438f79045SDavidson K#else
356ec0c65bSUsama Arif#ifdef TS_SP_FW_CONFIG
3638f79045SDavidson K		internal-trusted-storage {
376ec0c65bSUsama Arif		       uuid = "dc1eef48-b17a-4ccf-ac8b-dfcff7711b14";
386ec0c65bSUsama Arif		       load-address = <0xfee00000>;
396ec0c65bSUsama Arif		};
406ec0c65bSUsama Arif		crypto {
416ec0c65bSUsama Arif		       uuid = "d9df52d5-16a2-4bb2-9aa4-d26d3b84e8c0";
426ec0c65bSUsama Arif		       load-address = <0xfec00000>;
436ec0c65bSUsama Arif		};
44d0628728STudor Cretu		firmware-update {
45d0628728STudor Cretu		       uuid = "6823a838-1b06-470e-9774-0cce8bfb53fd";
46d0628728STudor Cretu		       load-address = <0xfde00000>;
47d0628728STudor Cretu		};
486ec0c65bSUsama Arif#endif
496ec0c65bSUsama Arif#if OPTEE_SP_FW_CONFIG
506ec0c65bSUsama Arif		op-tee {
516ec0c65bSUsama Arif		       uuid = "486178e0-e7f8-11e3-bc5e-0002a5d5c51b";
526ec0c65bSUsama Arif		       load-address = <0xfd280000>;
536ec0c65bSUsama Arif		};
54ba197f5fSArunachalam Ganapathy#elif TRUSTY_SP_FW_CONFIG
55ba197f5fSArunachalam Ganapathy		trusty {
56ba197f5fSArunachalam Ganapathy		       uuid = "40ee25f0-a2bc-304c-8c4c-a173c57d8af1";
57ba197f5fSArunachalam Ganapathy		       load-address = <0xf901c000>;
58ba197f5fSArunachalam Ganapathy		};
596ec0c65bSUsama Arif#else
606ec0c65bSUsama Arif		cactus-primary {
616ec0c65bSUsama Arif			uuid = "b4b5671e-4a90-4fe1-b81f-fb13dae1dacb";
626ec0c65bSUsama Arif			load-address = <0xfe000000>;
636ec0c65bSUsama Arif			owner = "SiP";
646ec0c65bSUsama Arif		};
656ec0c65bSUsama Arif
666ec0c65bSUsama Arif		cactus-secondary {
676ec0c65bSUsama Arif			uuid = "d1582309-f023-47b9-827c-4464f5578fc8";
686ec0c65bSUsama Arif			load-address = <0xfe100000>;
696ec0c65bSUsama Arif			owner = "Plat";
706ec0c65bSUsama Arif		};
716ec0c65bSUsama Arif
726ec0c65bSUsama Arif		cactus-tertiary {
736ec0c65bSUsama Arif			uuid = "79b55c73-1d8c-44b9-8593-61e1770ad8d2";
746ec0c65bSUsama Arif			load-address = <0xfe200000>;
756ec0c65bSUsama Arif		};
76a19bd32eSOlivier Deprez
77a19bd32eSOlivier Deprez		ivy {
78a19bd32eSOlivier Deprez			uuid = "eaba83d8-baaf-4eaf-8144-f7fdcbe544a7";
79a19bd32eSOlivier Deprez			load-address = <0xfe600000>;
80a19bd32eSOlivier Deprez			owner = "Plat";
81a19bd32eSOlivier Deprez		};
826ec0c65bSUsama Arif#endif
8338f79045SDavidson K#endif /* ARM_BL2_SP_LIST_DTS */
846ec0c65bSUsama Arif	};
85*1f47a713STamas Ban#if DICE_PROTECTION_ENVIRONMENT
86*1f47a713STamas Ban	#include "dice_prot_env.dtsi"
87*1f47a713STamas Ban#endif
886ec0c65bSUsama Arif};
89