xref: /rk3399_ARM-atf/plat/arm/board/fvp/fdts/fvp_spmc_manifest.dts (revision 5134fcbb47e83bdfc5427c44ce7f1f4238456c0d)
1/*
2 * Copyright (c) 2020, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6/dts-v1/;
7
8#define	AFF	00
9
10#include "fvp-defs.dtsi"
11#undef POST
12#define	POST \
13	};
14
15/ {
16	compatible = "arm,ffa-core-manifest-1.0";
17	#address-cells = <2>;
18	#size-cells = <1>;
19
20	attribute {
21		spmc_id = <0x8000>;
22		maj_ver = <0x1>;
23		min_ver = <0x0>;
24		exec_state = <0x0>;
25		load_address = <0x0 0x6000000>;
26		entrypoint = <0x0 0x6000000>;
27		binary_size = <0x80000>;
28	};
29
30	hypervisor {
31		compatible = "hafnium,hafnium";
32		vm1 {
33			is_ffa_partition;
34			debug_name = "cactus-primary";
35			load_address = <0x7000000>;
36		};
37		vm2 {
38			is_ffa_partition;
39			debug_name = "cactus-secondary";
40			load_address = <0x7100000>;
41			vcpu_count = <8>;
42			mem_size = <1048576>;
43		};
44		vm3 {
45			is_ffa_partition;
46			debug_name = "cactus-tertiary";
47			load_address = <0x7200000>;
48			vcpu_count = <8>;
49			mem_size = <1048576>;
50		};
51	};
52
53	cpus {
54		#address-cells = <0x2>;
55		#size-cells = <0x0>;
56
57		CPU_0
58
59		/*
60		 * SPMC (Hafnium) requires secondary core nodes are declared
61		 * in descending order.
62		 */
63		CPU_7
64		CPU_6
65		CPU_5
66		CPU_4
67		CPU_3
68		CPU_2
69		CPU_1
70	};
71
72	memory@6000000 {
73		device_type = "memory";
74		reg = <0x0 0x6000000 0x2000000>; /* Trusted DRAM */
75	};
76};
77