fvp_spmc_manifest.dts 1.41 KB
Newer Older
1
/*
2
 * Copyright (c) 2020-2021, Arm Limited. All rights reserved.
3
4
5
6
7
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */
/dts-v1/;

8
#define	AFF	00
9
10
11

#include "fvp-defs.dtsi"
#undef POST
12
13
#define	POST \
	};
14

15
/ {
J-Alves's avatar
J-Alves committed
16
17
18
	compatible = "arm,ffa-core-manifest-1.0";
	#address-cells = <2>;
	#size-cells = <1>;
19
20

	attribute {
21
		spmc_id = <0x8000>;
J-Alves's avatar
J-Alves committed
22
		maj_ver = <0x1>;
23
		min_ver = <0x1>;
24
25
26
		exec_state = <0x0>;
		load_address = <0x0 0x6000000>;
		entrypoint = <0x0 0x6000000>;
27
		binary_size = <0x80000>;
28
	};
29
30
31
32

	hypervisor {
		compatible = "hafnium,hafnium";
		vm1 {
J-Alves's avatar
J-Alves committed
33
			is_ffa_partition;
34
			debug_name = "cactus-primary";
35
			load_address = <0x7000000>;
36
37
			vcpu_count = <8>;
			mem_size = <1048576>;
38
39
		};
		vm2 {
J-Alves's avatar
J-Alves committed
40
			is_ffa_partition;
41
			debug_name = "cactus-secondary";
42
			load_address = <0x7100000>;
43
			vcpu_count = <8>;
44
45
			mem_size = <1048576>;
		};
46
47
48
49
		vm3 {
			is_ffa_partition;
			debug_name = "cactus-tertiary";
			load_address = <0x7200000>;
50
			vcpu_count = <1>;
51
52
			mem_size = <1048576>;
		};
53
54
55
56
57
58
59
		vm4 {
			is_ffa_partition;
			debug_name = "ivy";
			load_address = <0x7600000>;
			vcpu_count = <1>;
			mem_size = <1048576>;
		};
60
61
62
63
64
65
	};

	cpus {
		#address-cells = <0x2>;
		#size-cells = <0x0>;

66
		CPU_0
67
68
69
70
71

		/*
		 * SPMC (Hafnium) requires secondary core nodes are declared
		 * in descending order.
		 */
72
73
74
75
76
77
78
		CPU_7
		CPU_6
		CPU_5
		CPU_4
		CPU_3
		CPU_2
		CPU_1
79
80
	};

81
	memory@6000000 {
82
		device_type = "memory";
J-Alves's avatar
J-Alves committed
83
		reg = <0x0 0x6000000 0x2000000>; /* Trusted DRAM */
84
	};
85
};