blob: 4838396b5fb0cdc24485f1090cb98a66b952871d [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
Olivier Deprez92e4c642020-02-28 12:12:08 +010030 hypervisor {
31 compatible = "hafnium,hafnium";
32 vm1 {
J-Alves2672cde2020-05-07 18:42:25 +010033 is_ffa_partition;
Olivier Deprez92e4c642020-02-28 12:12:08 +010034 debug_name = "cactus-primary";
Louis Mayencourt634304d2020-03-31 10:51:46 +010035 load_address = <0x7000000>;
Olivier Deprez562b8e72020-11-25 10:29:41 +010036 vcpu_count = <8>;
37 mem_size = <1048576>;
Olivier Deprez92e4c642020-02-28 12:12:08 +010038 };
39 vm2 {
J-Alves2672cde2020-05-07 18:42:25 +010040 is_ffa_partition;
Olivier Deprez92e4c642020-02-28 12:12:08 +010041 debug_name = "cactus-secondary";
Louis Mayencourt634304d2020-03-31 10:51:46 +010042 load_address = <0x7100000>;
Olivier Deprez40946a42020-09-15 17:23:47 +020043 vcpu_count = <8>;
Olivier Deprez92e4c642020-02-28 12:12:08 +010044 mem_size = <1048576>;
45 };
Ruari Phippsd442a0d2020-07-17 16:43:50 +010046 vm3 {
47 is_ffa_partition;
48 debug_name = "cactus-tertiary";
49 load_address = <0x7200000>;
Olivier Deprezc7433332021-02-11 09:33:02 +010050 vcpu_count = <1>;
Ruari Phippsd442a0d2020-07-17 16:43:50 +010051 mem_size = <1048576>;
52 };
Olivier Deprez92e4c642020-02-28 12:12:08 +010053 };
54
55 cpus {
56 #address-cells = <0x2>;
57 #size-cells = <0x0>;
58
Olivier Deprezd4095b22020-06-12 18:10:28 +020059 CPU_0
Olivier Deprez8f6f2682020-10-08 08:38:58 +020060
61 /*
62 * SPMC (Hafnium) requires secondary core nodes are declared
63 * in descending order.
64 */
Olivier Deprezd4095b22020-06-12 18:10:28 +020065 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
Olivier Deprez8f6f2682020-10-08 08:38:58 +020074 memory@6000000 {
Olivier Deprez92e4c642020-02-28 12:12:08 +010075 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};