blob: 8b9c281e2c1e76247275fa5c2f41a919c38a2faf [file] [log] [blame]
Achin Guptada6ef0e2019-10-11 14:54:48 +01001/*
2 * Copyright (c) 2020, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6/dts-v1/;
7
Olivier Deprez8f6f2682020-10-08 08:38:58 +02008#define AFF 00
Olivier Deprezd4095b22020-06-12 18:10:28 +02009
10#include "fvp-defs.dtsi"
11#undef POST
Olivier Deprez8f6f2682020-10-08 08:38:58 +020012#define POST \
13 };
Olivier Deprezd4095b22020-06-12 18:10:28 +020014
Achin Guptada6ef0e2019-10-11 14:54:48 +010015/ {
J-Alves2672cde2020-05-07 18:42:25 +010016 compatible = "arm,ffa-core-manifest-1.0";
17 #address-cells = <2>;
18 #size-cells = <1>;
Achin Guptada6ef0e2019-10-11 14:54:48 +010019
20 attribute {
Max Shvetsove79062e2020-03-12 15:16:40 +000021 spmc_id = <0x8000>;
J-Alves2672cde2020-05-07 18:42:25 +010022 maj_ver = <0x1>;
23 min_ver = <0x0>;
Achin Guptada6ef0e2019-10-11 14:54:48 +010024 exec_state = <0x0>;
25 load_address = <0x0 0x6000000>;
26 entrypoint = <0x0 0x6000000>;
Olivier Deprezd4095b22020-06-12 18:10:28 +020027 binary_size = <0x80000>;
Achin Guptada6ef0e2019-10-11 14:54:48 +010028 };
Olivier Deprez92e4c642020-02-28 12:12:08 +010029
30 chosen {
31 linux,initrd-start = <0>;
32 linux,initrd-end = <0>;
33 };
34
35 hypervisor {
36 compatible = "hafnium,hafnium";
37 vm1 {
J-Alves2672cde2020-05-07 18:42:25 +010038 is_ffa_partition;
Olivier Deprez92e4c642020-02-28 12:12:08 +010039 debug_name = "cactus-primary";
Louis Mayencourt634304d2020-03-31 10:51:46 +010040 load_address = <0x7000000>;
Olivier Deprez92e4c642020-02-28 12:12:08 +010041 };
42 vm2 {
J-Alves2672cde2020-05-07 18:42:25 +010043 is_ffa_partition;
Olivier Deprez92e4c642020-02-28 12:12:08 +010044 debug_name = "cactus-secondary";
Louis Mayencourt634304d2020-03-31 10:51:46 +010045 load_address = <0x7100000>;
Olivier Deprez40946a42020-09-15 17:23:47 +020046 vcpu_count = <8>;
Olivier Deprez92e4c642020-02-28 12:12:08 +010047 mem_size = <1048576>;
48 };
Ruari Phippsd442a0d2020-07-17 16:43:50 +010049 vm3 {
50 is_ffa_partition;
51 debug_name = "cactus-tertiary";
52 load_address = <0x7200000>;
Olivier Deprez40946a42020-09-15 17:23:47 +020053 vcpu_count = <8>;
Ruari Phippsd442a0d2020-07-17 16:43:50 +010054 mem_size = <1048576>;
55 };
Olivier Deprez92e4c642020-02-28 12:12:08 +010056 };
57
58 cpus {
59 #address-cells = <0x2>;
60 #size-cells = <0x0>;
61
Olivier Deprezd4095b22020-06-12 18:10:28 +020062 CPU_0
Olivier Deprez8f6f2682020-10-08 08:38:58 +020063
64 /*
65 * SPMC (Hafnium) requires secondary core nodes are declared
66 * in descending order.
67 */
Olivier Deprezd4095b22020-06-12 18:10:28 +020068 CPU_7
69 CPU_6
70 CPU_5
71 CPU_4
72 CPU_3
73 CPU_2
74 CPU_1
Olivier Deprez92e4c642020-02-28 12:12:08 +010075 };
76
Olivier Deprez8f6f2682020-10-08 08:38:58 +020077 device-memory@0 {
78 device_type = "device-memory";
79 reg = <0x0 0x0 0x6000000 0x0 0x8000000 0x78000000>;
80 };
81
82 memory@6000000 {
Olivier Deprez92e4c642020-02-28 12:12:08 +010083 device_type = "memory";
J-Alves2672cde2020-05-07 18:42:25 +010084 reg = <0x0 0x6000000 0x2000000>; /* Trusted DRAM */
Olivier Deprez92e4c642020-02-28 12:12:08 +010085 };
Achin Guptada6ef0e2019-10-11 14:54:48 +010086};