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

8
9
10
11
12
13
14
15
#define AFF 00

#include "fvp-defs.dtsi"
#undef POST
#define POST \
		enable-method = "psci"; \
		};

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

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

	chosen {
		linux,initrd-start = <0>;
		linux,initrd-end = <0>;
	};

	hypervisor {
		compatible = "hafnium,hafnium";
		vm1 {
J-Alves's avatar
J-Alves committed
39
			is_ffa_partition;
40
			debug_name = "cactus-primary";
41
			load_address = <0x7000000>;
42
43
		};
		vm2 {
J-Alves's avatar
J-Alves committed
44
			is_ffa_partition;
45
			debug_name = "cactus-secondary";
46
			load_address = <0x7100000>;
47
48
49
			vcpu_count = <2>;
			mem_size = <1048576>;
		};
50
51
52
53
54
55
56
		vm3 {
			is_ffa_partition;
			debug_name = "cactus-tertiary";
			load_address = <0x7200000>;
			vcpu_count = <2>;
			mem_size = <1048576>;
		};
57
58
59
60
61
62
	};

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

63
64
65
66
67
68
69
70
71
		CPU_0
		/* SPM(Hafnium) requires secondary cpu nodes are declared in descending order */
		CPU_7
		CPU_6
		CPU_5
		CPU_4
		CPU_3
		CPU_2
		CPU_1
72
73
74
75
	};

	memory@60000000 {
		device_type = "memory";
J-Alves's avatar
J-Alves committed
76
		reg = <0x0 0x6000000 0x2000000>; /* Trusted DRAM */
77
	};
78
};