Achin Gupta | da6ef0e | 2019-10-11 14:54:48 +0100 | [diff] [blame] | 1 | /* |
2 | * Copyright (c) 2020, Arm Limited. All rights reserved. | ||||
3 | * | ||||
4 | * SPDX-License-Identifier: BSD-3-Clause | ||||
5 | */ | ||||
6 | /dts-v1/; | ||||
7 | |||||
Olivier Deprez | 8f6f268 | 2020-10-08 08:38:58 +0200 | [diff] [blame] | 8 | #define AFF 00 |
Olivier Deprez | d4095b2 | 2020-06-12 18:10:28 +0200 | [diff] [blame] | 9 | |
10 | #include "fvp-defs.dtsi" | ||||
11 | #undef POST | ||||
Olivier Deprez | 8f6f268 | 2020-10-08 08:38:58 +0200 | [diff] [blame] | 12 | #define POST \ |
13 | }; | ||||
Olivier Deprez | d4095b2 | 2020-06-12 18:10:28 +0200 | [diff] [blame] | 14 | |
Achin Gupta | da6ef0e | 2019-10-11 14:54:48 +0100 | [diff] [blame] | 15 | / { |
J-Alves | 2672cde | 2020-05-07 18:42:25 +0100 | [diff] [blame] | 16 | compatible = "arm,ffa-core-manifest-1.0"; |
17 | #address-cells = <2>; | ||||
18 | #size-cells = <1>; | ||||
Achin Gupta | da6ef0e | 2019-10-11 14:54:48 +0100 | [diff] [blame] | 19 | |
20 | attribute { | ||||
Max Shvetsov | e79062e | 2020-03-12 15:16:40 +0000 | [diff] [blame] | 21 | spmc_id = <0x8000>; |
J-Alves | 2672cde | 2020-05-07 18:42:25 +0100 | [diff] [blame] | 22 | maj_ver = <0x1>; |
23 | min_ver = <0x0>; | ||||
Achin Gupta | da6ef0e | 2019-10-11 14:54:48 +0100 | [diff] [blame] | 24 | exec_state = <0x0>; |
25 | load_address = <0x0 0x6000000>; | ||||
26 | entrypoint = <0x0 0x6000000>; | ||||
Olivier Deprez | d4095b2 | 2020-06-12 18:10:28 +0200 | [diff] [blame] | 27 | binary_size = <0x80000>; |
Achin Gupta | da6ef0e | 2019-10-11 14:54:48 +0100 | [diff] [blame] | 28 | }; |
Olivier Deprez | 92e4c64 | 2020-02-28 12:12:08 +0100 | [diff] [blame] | 29 | |
30 | chosen { | ||||
31 | linux,initrd-start = <0>; | ||||
32 | linux,initrd-end = <0>; | ||||
33 | }; | ||||
34 | |||||
35 | hypervisor { | ||||
36 | compatible = "hafnium,hafnium"; | ||||
37 | vm1 { | ||||
J-Alves | 2672cde | 2020-05-07 18:42:25 +0100 | [diff] [blame] | 38 | is_ffa_partition; |
Olivier Deprez | 92e4c64 | 2020-02-28 12:12:08 +0100 | [diff] [blame] | 39 | debug_name = "cactus-primary"; |
Louis Mayencourt | 634304d | 2020-03-31 10:51:46 +0100 | [diff] [blame] | 40 | load_address = <0x7000000>; |
Olivier Deprez | 92e4c64 | 2020-02-28 12:12:08 +0100 | [diff] [blame] | 41 | }; |
42 | vm2 { | ||||
J-Alves | 2672cde | 2020-05-07 18:42:25 +0100 | [diff] [blame] | 43 | is_ffa_partition; |
Olivier Deprez | 92e4c64 | 2020-02-28 12:12:08 +0100 | [diff] [blame] | 44 | debug_name = "cactus-secondary"; |
Louis Mayencourt | 634304d | 2020-03-31 10:51:46 +0100 | [diff] [blame] | 45 | load_address = <0x7100000>; |
Olivier Deprez | 40946a4 | 2020-09-15 17:23:47 +0200 | [diff] [blame] | 46 | vcpu_count = <8>; |
Olivier Deprez | 92e4c64 | 2020-02-28 12:12:08 +0100 | [diff] [blame] | 47 | mem_size = <1048576>; |
48 | }; | ||||
Ruari Phipps | d442a0d | 2020-07-17 16:43:50 +0100 | [diff] [blame] | 49 | vm3 { |
50 | is_ffa_partition; | ||||
51 | debug_name = "cactus-tertiary"; | ||||
52 | load_address = <0x7200000>; | ||||
Olivier Deprez | 40946a4 | 2020-09-15 17:23:47 +0200 | [diff] [blame] | 53 | vcpu_count = <8>; |
Ruari Phipps | d442a0d | 2020-07-17 16:43:50 +0100 | [diff] [blame] | 54 | mem_size = <1048576>; |
55 | }; | ||||
Olivier Deprez | 92e4c64 | 2020-02-28 12:12:08 +0100 | [diff] [blame] | 56 | }; |
57 | |||||
58 | cpus { | ||||
59 | #address-cells = <0x2>; | ||||
60 | #size-cells = <0x0>; | ||||
61 | |||||
Olivier Deprez | d4095b2 | 2020-06-12 18:10:28 +0200 | [diff] [blame] | 62 | CPU_0 |
Olivier Deprez | 8f6f268 | 2020-10-08 08:38:58 +0200 | [diff] [blame] | 63 | |
64 | /* | ||||
65 | * SPMC (Hafnium) requires secondary core nodes are declared | ||||
66 | * in descending order. | ||||
67 | */ | ||||
Olivier Deprez | d4095b2 | 2020-06-12 18:10:28 +0200 | [diff] [blame] | 68 | CPU_7 |
69 | CPU_6 | ||||
70 | CPU_5 | ||||
71 | CPU_4 | ||||
72 | CPU_3 | ||||
73 | CPU_2 | ||||
74 | CPU_1 | ||||
Olivier Deprez | 92e4c64 | 2020-02-28 12:12:08 +0100 | [diff] [blame] | 75 | }; |
76 | |||||
Olivier Deprez | 8f6f268 | 2020-10-08 08:38:58 +0200 | [diff] [blame] | 77 | device-memory@0 { |
78 | device_type = "device-memory"; | ||||
79 | reg = <0x0 0x0 0x6000000 0x0 0x8000000 0x78000000>; | ||||
80 | }; | ||||
81 | |||||
82 | memory@6000000 { | ||||
Olivier Deprez | 92e4c64 | 2020-02-28 12:12:08 +0100 | [diff] [blame] | 83 | device_type = "memory"; |
J-Alves | 2672cde | 2020-05-07 18:42:25 +0100 | [diff] [blame] | 84 | reg = <0x0 0x6000000 0x2000000>; /* Trusted DRAM */ |
Olivier Deprez | 92e4c64 | 2020-02-28 12:12:08 +0100 | [diff] [blame] | 85 | }; |
Achin Gupta | da6ef0e | 2019-10-11 14:54:48 +0100 | [diff] [blame] | 86 | }; |