blob: 934a01afc7615bcb08aa927014126f7150d3e10f [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 Deprezd4095b22020-06-12 18:10:28 +02008#define AFF 00
9
10#include "fvp-defs.dtsi"
11#undef POST
12#define POST \
13 enable-method = "psci"; \
14 };
15
Achin Guptada6ef0e2019-10-11 14:54:48 +010016/ {
J-Alves2672cde2020-05-07 18:42:25 +010017 compatible = "arm,ffa-core-manifest-1.0";
18 #address-cells = <2>;
19 #size-cells = <1>;
Achin Guptada6ef0e2019-10-11 14:54:48 +010020
21 attribute {
Max Shvetsove79062e2020-03-12 15:16:40 +000022 spmc_id = <0x8000>;
J-Alves2672cde2020-05-07 18:42:25 +010023 maj_ver = <0x1>;
24 min_ver = <0x0>;
Achin Guptada6ef0e2019-10-11 14:54:48 +010025 exec_state = <0x0>;
26 load_address = <0x0 0x6000000>;
27 entrypoint = <0x0 0x6000000>;
Olivier Deprezd4095b22020-06-12 18:10:28 +020028 binary_size = <0x80000>;
Achin Guptada6ef0e2019-10-11 14:54:48 +010029 };
Olivier Deprez92e4c642020-02-28 12:12:08 +010030
31 chosen {
32 linux,initrd-start = <0>;
33 linux,initrd-end = <0>;
34 };
35
36 hypervisor {
37 compatible = "hafnium,hafnium";
38 vm1 {
J-Alves2672cde2020-05-07 18:42:25 +010039 is_ffa_partition;
Olivier Deprez92e4c642020-02-28 12:12:08 +010040 debug_name = "cactus-primary";
Louis Mayencourt634304d2020-03-31 10:51:46 +010041 load_address = <0x7000000>;
Olivier Deprez92e4c642020-02-28 12:12:08 +010042 };
43 vm2 {
J-Alves2672cde2020-05-07 18:42:25 +010044 is_ffa_partition;
Olivier Deprez92e4c642020-02-28 12:12:08 +010045 debug_name = "cactus-secondary";
Louis Mayencourt634304d2020-03-31 10:51:46 +010046 load_address = <0x7100000>;
Olivier Deprez40946a42020-09-15 17:23:47 +020047 vcpu_count = <8>;
Olivier Deprez92e4c642020-02-28 12:12:08 +010048 mem_size = <1048576>;
49 };
Ruari Phippsd442a0d2020-07-17 16:43:50 +010050 vm3 {
51 is_ffa_partition;
52 debug_name = "cactus-tertiary";
53 load_address = <0x7200000>;
Olivier Deprez40946a42020-09-15 17:23:47 +020054 vcpu_count = <8>;
Ruari Phippsd442a0d2020-07-17 16:43:50 +010055 mem_size = <1048576>;
56 };
Olivier Deprez92e4c642020-02-28 12:12:08 +010057 };
58
59 cpus {
60 #address-cells = <0x2>;
61 #size-cells = <0x0>;
62
Olivier Deprezd4095b22020-06-12 18:10:28 +020063 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
Olivier Deprez92e4c642020-02-28 12:12:08 +010072 };
73
74 memory@60000000 {
75 device_type = "memory";
J-Alves2672cde2020-05-07 18:42:25 +010076 reg = <0x0 0x6000000 0x2000000>; /* Trusted DRAM */
Olivier Deprez92e4c642020-02-28 12:12:08 +010077 };
Achin Guptada6ef0e2019-10-11 14:54:48 +010078};