blob: 06c29371020756ecd67edc762a72e514afd88064 [file] [log] [blame]
Boyan Karatotev8dec1f52023-12-20 16:28:23 +00001/*
2 * Copyright (c) 2023-2024, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
Tudor Cretu77b301a2021-09-24 12:09:53 +00007/*
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 */
Boyan Karatotev8dec1f52023-12-20 16:28:23 +000032&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 };
Tudor Cretu77b301a2021-09-24 12:09:53 +000053 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 };
Boyan Karatotev8dec1f52023-12-20 16:28:23 +000060#endif
61};