blob: 4543671a997501b62c2227589002485dbba1d409 [file] [log] [blame]
Achin Guptada6ef0e2019-10-11 14:54:48 +01001/*
Olivier Deprez5c5eca22022-06-15 11:18:48 +02002 * Copyright (c) 2020-2022, Arm Limited. All rights reserved.
Achin Guptada6ef0e2019-10-11 14:54:48 +01003 *
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>;
J-Alves481c52f2021-03-11 17:46:47 +000023 min_ver = <0x1>;
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 };
Daniel Boulby4fd059b2021-03-22 22:00:56 +000053 vm4 {
54 is_ffa_partition;
55 debug_name = "ivy";
56 load_address = <0x7600000>;
57 vcpu_count = <1>;
58 mem_size = <1048576>;
59 };
Olivier Deprez92e4c642020-02-28 12:12:08 +010060 };
61
62 cpus {
63 #address-cells = <0x2>;
64 #size-cells = <0x0>;
65
Olivier Deprezd4095b22020-06-12 18:10:28 +020066 CPU_0
Olivier Deprez8f6f2682020-10-08 08:38:58 +020067
68 /*
69 * SPMC (Hafnium) requires secondary core nodes are declared
70 * in descending order.
71 */
Olivier Deprezd4095b22020-06-12 18:10:28 +020072 CPU_7
73 CPU_6
74 CPU_5
75 CPU_4
76 CPU_3
77 CPU_2
78 CPU_1
Olivier Deprez92e4c642020-02-28 12:12:08 +010079 };
80
Olivier Deprez8f6f2682020-10-08 08:38:58 +020081 memory@6000000 {
Olivier Deprez92e4c642020-02-28 12:12:08 +010082 device_type = "memory";
J-Alves2672cde2020-05-07 18:42:25 +010083 reg = <0x0 0x6000000 0x2000000>; /* Trusted DRAM */
Olivier Deprez92e4c642020-02-28 12:12:08 +010084 };
Olivier Deprez5c5eca22022-06-15 11:18:48 +020085
86#if MEASURED_BOOT
87#include "event_log.dtsi"
88#endif
Achin Guptada6ef0e2019-10-11 14:54:48 +010089};