xref: /rk3399_ARM-atf/plat/arm/board/tc/fdts/tc_spmc_common_sp_manifest.dtsi (revision df21d41b771149c6cdaf1137bb9fc8ae150b768d)
1/*
2 * Copyright (c) 2023-2024, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7/*
8 * Secure world memory map. For a full view of the DRAM map, see platform_def.h
9 *
10 *  0xf900_c000  ------------------
11 *               |       ...      |
12 *  0xf901_c000  ------------------
13 *               |     (63MB)     |  Trusty (=/=> OP-TEE)
14 *  0xfcf1_c000  ------------------
15 *               |       ...      |
16 *  0xfd00_0000  ------------------
17 *               |     (512K)     |  Hafnium
18 *  0xfd08_0000  ------------------
19 *               |       ...      |  Hafnium stack
20 *  0xfd28_0000  ------------------
21 *               |     (11MB)     |  OP-TEE (=/=> Trusty)
22 *  0xfdd8_0000  ------------------
23 *               |       ...      |
24 *  0xfde0_0000  ------------------
25 *               |     (2MB)      |  Firmware Upgrade
26 *  0xfec0_0000  ------------------
27 *               |     (2MB)      |  Crypto
28 *  0xfee0_0000	 ------------------
29 *               |     (2MB)      |  Internal Truested Storage
30 *  0xff00_0000  ------------------
31 */
32&hafnium {
33	vm1 {
34		is_ffa_partition;
35		vcpu_count = <8>;
36		/* partition information filled in separately */
37	};
38#ifdef TS_SP_FW_CONFIG
39	vm2 {
40		is_ffa_partition;
41		debug_name = "internal-trusted-storage";
42		load_address = <0xfee00000>;
43		vcpu_count = <1>;
44		mem_size = <0x200000>; /* 2MB TZC DRAM */
45	};
46	vm3 {
47		is_ffa_partition;
48		debug_name = "crypto";
49		load_address = <0xfec00000>;
50		vcpu_count = <1>;
51		mem_size = <0x200000>; /* 2MB TZC DRAM */
52	};
53	vm4 {
54		is_ffa_partition;
55		debug_name = "firmware-update";
56		load_address = <0xfde00000>;
57		vcpu_count = <1>;
58		mem_size = <0xe00000>; /* 14MB TZC DRAM */
59	};
60#endif
61};
62