blob: 30f1760a0ecdb8a2f670d786245b550dd8e30798 [file] [log] [blame]
Achin Guptada6ef0e2019-10-11 14:54:48 +01001/*
Daniel Boulby658865d2024-03-14 16:01:59 +00002 * Copyright (c) 2020-2024, 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>;
J-Alves92928182023-03-16 15:26:52 +000018 #size-cells = <2>;
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>;
Kathleen Capellafa435ea2023-09-05 14:33:29 -040023 min_ver = <0x2>;
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>;
Madhukar Pappireddy3b228e12023-08-24 16:57:22 -050038 /*
39 * Platform specific SiP SMC call handled at EL3. Used
40 * to pend an interrupt for testing purpose.
41 */
42 smc_whitelist = <0x82000100>;
Olivier Deprez92e4c642020-02-28 12:12:08 +010043 };
44 vm2 {
J-Alves2672cde2020-05-07 18:42:25 +010045 is_ffa_partition;
Olivier Deprez92e4c642020-02-28 12:12:08 +010046 debug_name = "cactus-secondary";
Louis Mayencourt634304d2020-03-31 10:51:46 +010047 load_address = <0x7100000>;
Olivier Deprez40946a42020-09-15 17:23:47 +020048 vcpu_count = <8>;
Olivier Deprez92e4c642020-02-28 12:12:08 +010049 mem_size = <1048576>;
50 };
Ruari Phippsd442a0d2020-07-17 16:43:50 +010051 vm3 {
52 is_ffa_partition;
53 debug_name = "cactus-tertiary";
54 load_address = <0x7200000>;
Olivier Deprezc7433332021-02-11 09:33:02 +010055 vcpu_count = <1>;
Ruari Phippsd442a0d2020-07-17 16:43:50 +010056 mem_size = <1048576>;
57 };
Daniel Boulby4fd059b2021-03-22 22:00:56 +000058 vm4 {
59 is_ffa_partition;
60 debug_name = "ivy";
61 load_address = <0x7600000>;
62 vcpu_count = <1>;
63 mem_size = <1048576>;
64 };
Olivier Deprez92e4c642020-02-28 12:12:08 +010065 };
66
67 cpus {
68 #address-cells = <0x2>;
69 #size-cells = <0x0>;
70
Olivier Deprezd4095b22020-06-12 18:10:28 +020071 CPU_0
Olivier Deprez8f6f2682020-10-08 08:38:58 +020072
73 /*
74 * SPMC (Hafnium) requires secondary core nodes are declared
75 * in descending order.
76 */
Olivier Deprezd4095b22020-06-12 18:10:28 +020077 CPU_7
78 CPU_6
79 CPU_5
80 CPU_4
81 CPU_3
82 CPU_2
83 CPU_1
Olivier Deprez92e4c642020-02-28 12:12:08 +010084 };
85
J-Alves92928182023-03-16 15:26:52 +000086 memory@0 {
Olivier Deprez92e4c642020-02-28 12:12:08 +010087 device_type = "memory";
J-Alves92928182023-03-16 15:26:52 +000088 reg = <0x0 0xfd000000 0x0 0x2000000>,
89 <0x0 0x7000000 0x0 0x1000000>,
90 <0x0 0xff000000 0x0 0x1000000>;
91 };
92
93 memory@1 {
94 device_type = "ns-memory";
95 reg = <0x00008800 0x80000000 0x0 0x7f000000>,
96 <0x0 0x88000000 0x0 0x10000000>;
Olivier Deprez92e4c642020-02-28 12:12:08 +010097 };
Olivier Deprez5c5eca22022-06-15 11:18:48 +020098
Daniel Boulby658865d2024-03-14 16:01:59 +000099 memory@2 {
100 device_type = "device-memory";
101 reg = <0x0 0x1c090000 0x0 0x40000>, /* UART */
102 <0x0 0x2bfe0000 0x0 0x20000>, /* SMMUv3TestEngine */
103 <0x0 0x2a490000 0x0 0x20000>, /* SP805 Trusted Watchdog */
104 <0x0 0x1c130000 0x0 0x10000>; /* Virtio block device */
105 };
106
107
Olivier Deprez5c5eca22022-06-15 11:18:48 +0200108#if MEASURED_BOOT
109#include "event_log.dtsi"
110#endif
Achin Guptada6ef0e2019-10-11 14:54:48 +0100111};