xref: /rk3399_ARM-atf/plat/arm/board/fvp/fdts/fvp_spmc_manifest.dts (revision d7b5f40823d449cc79e6440174390997cf11a9d9)
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		enable-method = "psci"; \
14		};
15
16/ {
17	compatible = "arm,ffa-core-manifest-1.0";
18	#address-cells = <2>;
19	#size-cells = <1>;
20
21	attribute {
22		spmc_id = <0x8000>;
23		maj_ver = <0x1>;
24		min_ver = <0x0>;
25		exec_state = <0x0>;
26		load_address = <0x0 0x6000000>;
27		entrypoint = <0x0 0x6000000>;
28		binary_size = <0x80000>;
29	};
30
31	chosen {
32		linux,initrd-start = <0>;
33		linux,initrd-end = <0>;
34	};
35
36	hypervisor {
37		compatible = "hafnium,hafnium";
38		vm1 {
39			is_ffa_partition;
40			debug_name = "cactus-primary";
41			load_address = <0x7000000>;
42		};
43		vm2 {
44			is_ffa_partition;
45			debug_name = "cactus-secondary";
46			load_address = <0x7100000>;
47			vcpu_count = <8>;
48			mem_size = <1048576>;
49		};
50		vm3 {
51			is_ffa_partition;
52			debug_name = "cactus-tertiary";
53			load_address = <0x7200000>;
54			vcpu_count = <8>;
55			mem_size = <1048576>;
56		};
57	};
58
59	cpus {
60		#address-cells = <0x2>;
61		#size-cells = <0x0>;
62
63		CPU_0
64		/* SPM(Hafnium) requires secondary cpu nodes are declared in descending order */
65		CPU_7
66		CPU_6
67		CPU_5
68		CPU_4
69		CPU_3
70		CPU_2
71		CPU_1
72	};
73
74	memory@60000000 {
75		device_type = "memory";
76		reg = <0x0 0x6000000 0x2000000>; /* Trusted DRAM */
77	};
78};
79