Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 1 | /* |
annsai01 | 7c607f2 | 2023-02-20 13:34:57 +0000 | [diff] [blame] | 2 | * Copyright (c) 2020-2024, Arm Limited. All rights reserved. |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | /dts-v1/; |
| 8 | |
Kshitij Sisodia | b32a8f4 | 2023-08-16 09:46:05 +0100 | [diff] [blame] | 9 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 10 | #include <dt-bindings/interrupt-controller/irq.h> |
Boyan Karatotev | 192ad5d | 2023-12-12 15:59:01 +0000 | [diff] [blame] | 11 | #include "platform_def.h" |
Boyan Karatotev | 6ed3bf6 | 2023-07-07 13:33:19 +0000 | [diff] [blame] | 12 | #include "tc_vers.dtsi" |
Boyan Karatotev | 9ac73a4 | 2023-11-14 09:38:08 +0000 | [diff] [blame] | 13 | #if TARGET_FLAVOUR_FVP |
| 14 | #include "tc_fvp.dtsi" |
| 15 | #endif /* TARGET_FLAVOUR_FVP */ |
Kshitij Sisodia | b32a8f4 | 2023-08-16 09:46:05 +0100 | [diff] [blame] | 16 | |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 17 | / { |
Usama Arif | f151362 | 2021-04-09 17:07:41 +0100 | [diff] [blame] | 18 | compatible = "arm,tc"; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 19 | interrupt-parent = <&gic>; |
| 20 | #address-cells = <2>; |
| 21 | #size-cells = <2>; |
| 22 | |
| 23 | aliases { |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 24 | serial0 = &os_uart; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 25 | }; |
| 26 | |
| 27 | chosen { |
Boyan Karatotev | 9556276 | 2023-11-15 11:54:33 +0000 | [diff] [blame] | 28 | stdout-path = STDOUT_PATH; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 29 | }; |
| 30 | |
| 31 | cpus { |
| 32 | #address-cells = <1>; |
| 33 | #size-cells = <0>; |
| 34 | |
| 35 | cpu-map { |
| 36 | cluster0 { |
| 37 | core0 { |
| 38 | cpu = <&CPU0>; |
| 39 | }; |
| 40 | core1 { |
| 41 | cpu = <&CPU1>; |
| 42 | }; |
| 43 | core2 { |
| 44 | cpu = <&CPU2>; |
| 45 | }; |
| 46 | core3 { |
| 47 | cpu = <&CPU3>; |
| 48 | }; |
Avinash Mehta | f68a084 | 2020-10-28 16:43:28 +0000 | [diff] [blame] | 49 | core4 { |
| 50 | cpu = <&CPU4>; |
| 51 | }; |
| 52 | core5 { |
| 53 | cpu = <&CPU5>; |
| 54 | }; |
| 55 | core6 { |
| 56 | cpu = <&CPU6>; |
| 57 | }; |
| 58 | core7 { |
| 59 | cpu = <&CPU7>; |
| 60 | }; |
Boyan Karatotev | 192ad5d | 2023-12-12 15:59:01 +0000 | [diff] [blame] | 61 | #if TARGET_FLAVOUR_FPGA && TARGET_PLATFORM <= 2 |
| 62 | core8 { |
| 63 | cpu = <&CPU8>; |
| 64 | }; |
| 65 | core9 { |
| 66 | cpu = <&CPU9>; |
| 67 | }; |
| 68 | core10 { |
| 69 | cpu = <&CPU10>; |
| 70 | }; |
| 71 | core11 { |
| 72 | cpu = <&CPU11>; |
| 73 | }; |
| 74 | core12 { |
| 75 | cpu = <&CPU12>; |
| 76 | }; |
| 77 | core13 { |
| 78 | cpu = <&CPU13>; |
| 79 | }; |
| 80 | #endif /* TARGET_FLAVOUR_FPGA && TARGET_PLATFORM <= 2 */ |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 81 | }; |
| 82 | }; |
| 83 | |
Usama Arif | 5790078 | 2020-08-12 17:14:37 +0100 | [diff] [blame] | 84 | /* |
| 85 | * The timings below are just to demonstrate working cpuidle. |
| 86 | * These values may be inaccurate. |
| 87 | */ |
| 88 | idle-states { |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 89 | entry-method = "psci"; |
Usama Arif | 5790078 | 2020-08-12 17:14:37 +0100 | [diff] [blame] | 90 | |
| 91 | CPU_SLEEP_0: cpu-sleep-0 { |
| 92 | compatible = "arm,idle-state"; |
| 93 | arm,psci-suspend-param = <0x0010000>; |
| 94 | local-timer-stop; |
| 95 | entry-latency-us = <300>; |
| 96 | exit-latency-us = <1200>; |
| 97 | min-residency-us = <2000>; |
| 98 | }; |
| 99 | CLUSTER_SLEEP_0: cluster-sleep-0 { |
| 100 | compatible = "arm,idle-state"; |
| 101 | arm,psci-suspend-param = <0x1010000>; |
| 102 | local-timer-stop; |
| 103 | entry-latency-us = <400>; |
| 104 | exit-latency-us = <1200>; |
| 105 | min-residency-us = <2500>; |
| 106 | }; |
| 107 | }; |
| 108 | |
Chris Kay | c2d29ba | 2021-05-18 18:49:51 +0100 | [diff] [blame] | 109 | amus { |
| 110 | amu: amu-0 { |
| 111 | #address-cells = <1>; |
| 112 | #size-cells = <0>; |
| 113 | |
| 114 | mpmm_gear0: counter@0 { |
| 115 | reg = <0>; |
Chris Kay | c2d29ba | 2021-05-18 18:49:51 +0100 | [diff] [blame] | 116 | enable-at-el3; |
| 117 | }; |
| 118 | |
| 119 | mpmm_gear1: counter@1 { |
| 120 | reg = <1>; |
Chris Kay | c2d29ba | 2021-05-18 18:49:51 +0100 | [diff] [blame] | 121 | enable-at-el3; |
| 122 | }; |
| 123 | |
| 124 | mpmm_gear2: counter@2 { |
| 125 | reg = <2>; |
Chris Kay | c2d29ba | 2021-05-18 18:49:51 +0100 | [diff] [blame] | 126 | enable-at-el3; |
| 127 | }; |
| 128 | }; |
| 129 | }; |
| 130 | |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 131 | CPU0:cpu@0 { |
| 132 | device_type = "cpu"; |
| 133 | compatible = "arm,armv8"; |
| 134 | reg = <0x0>; |
| 135 | enable-method = "psci"; |
| 136 | clocks = <&scmi_dvfs 0>; |
Usama Arif | 5790078 | 2020-08-12 17:14:37 +0100 | [diff] [blame] | 137 | cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; |
Boyan Karatotev | 192ad5d | 2023-12-12 15:59:01 +0000 | [diff] [blame] | 138 | capacity-dmips-mhz = <LIT_CAPACITY>; |
Chris Kay | c2d29ba | 2021-05-18 18:49:51 +0100 | [diff] [blame] | 139 | amu = <&amu>; |
| 140 | supports-mpmm; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 141 | }; |
| 142 | |
| 143 | CPU1:cpu@100 { |
| 144 | device_type = "cpu"; |
| 145 | compatible = "arm,armv8"; |
| 146 | reg = <0x100>; |
| 147 | enable-method = "psci"; |
| 148 | clocks = <&scmi_dvfs 0>; |
Usama Arif | 5790078 | 2020-08-12 17:14:37 +0100 | [diff] [blame] | 149 | cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; |
Boyan Karatotev | 192ad5d | 2023-12-12 15:59:01 +0000 | [diff] [blame] | 150 | capacity-dmips-mhz = <LIT_CAPACITY>; |
Chris Kay | c2d29ba | 2021-05-18 18:49:51 +0100 | [diff] [blame] | 151 | amu = <&amu>; |
| 152 | supports-mpmm; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 153 | }; |
| 154 | |
| 155 | CPU2:cpu@200 { |
| 156 | device_type = "cpu"; |
| 157 | compatible = "arm,armv8"; |
| 158 | reg = <0x200>; |
| 159 | enable-method = "psci"; |
Usama Arif | 5790078 | 2020-08-12 17:14:37 +0100 | [diff] [blame] | 160 | cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; |
Boyan Karatotev | 192ad5d | 2023-12-12 15:59:01 +0000 | [diff] [blame] | 161 | #if TARGET_PLATFORM <= 2 |
| 162 | clocks = <&scmi_dvfs 0>; |
| 163 | capacity-dmips-mhz = <LIT_CAPACITY>; |
| 164 | #elif TARGET_PLATFORM == 3 |
| 165 | clocks = <&scmi_dvfs 1>; |
| 166 | capacity-dmips-mhz = <MID_CAPACITY>; |
| 167 | #endif /* TARGET_PLATFORM == 3 */ |
Chris Kay | c2d29ba | 2021-05-18 18:49:51 +0100 | [diff] [blame] | 168 | amu = <&amu>; |
| 169 | supports-mpmm; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 170 | }; |
| 171 | |
| 172 | CPU3:cpu@300 { |
| 173 | device_type = "cpu"; |
| 174 | compatible = "arm,armv8"; |
| 175 | reg = <0x300>; |
| 176 | enable-method = "psci"; |
Usama Arif | 5790078 | 2020-08-12 17:14:37 +0100 | [diff] [blame] | 177 | cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; |
Boyan Karatotev | 192ad5d | 2023-12-12 15:59:01 +0000 | [diff] [blame] | 178 | #if TARGET_PLATFORM <= 2 |
| 179 | clocks = <&scmi_dvfs 0>; |
| 180 | capacity-dmips-mhz = <LIT_CAPACITY>; |
| 181 | #elif TARGET_PLATFORM == 3 |
| 182 | clocks = <&scmi_dvfs 1>; |
| 183 | capacity-dmips-mhz = <MID_CAPACITY>; |
| 184 | #endif /* TARGET_PLATFORM == 3 */ |
Chris Kay | c2d29ba | 2021-05-18 18:49:51 +0100 | [diff] [blame] | 185 | amu = <&amu>; |
| 186 | supports-mpmm; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 187 | }; |
| 188 | |
Avinash Mehta | f68a084 | 2020-10-28 16:43:28 +0000 | [diff] [blame] | 189 | CPU4:cpu@400 { |
| 190 | device_type = "cpu"; |
| 191 | compatible = "arm,armv8"; |
| 192 | reg = <0x400>; |
| 193 | enable-method = "psci"; |
Usama Arif | 75edb75 | 2021-02-03 15:40:46 +0000 | [diff] [blame] | 194 | clocks = <&scmi_dvfs 1>; |
Avinash Mehta | f68a084 | 2020-10-28 16:43:28 +0000 | [diff] [blame] | 195 | cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; |
Boyan Karatotev | 192ad5d | 2023-12-12 15:59:01 +0000 | [diff] [blame] | 196 | capacity-dmips-mhz = <MID_CAPACITY>; |
Chris Kay | c2d29ba | 2021-05-18 18:49:51 +0100 | [diff] [blame] | 197 | amu = <&amu>; |
| 198 | supports-mpmm; |
Avinash Mehta | f68a084 | 2020-10-28 16:43:28 +0000 | [diff] [blame] | 199 | }; |
| 200 | |
| 201 | CPU5:cpu@500 { |
| 202 | device_type = "cpu"; |
| 203 | compatible = "arm,armv8"; |
| 204 | reg = <0x500>; |
| 205 | enable-method = "psci"; |
Usama Arif | 75edb75 | 2021-02-03 15:40:46 +0000 | [diff] [blame] | 206 | clocks = <&scmi_dvfs 1>; |
Avinash Mehta | f68a084 | 2020-10-28 16:43:28 +0000 | [diff] [blame] | 207 | cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; |
Boyan Karatotev | 192ad5d | 2023-12-12 15:59:01 +0000 | [diff] [blame] | 208 | capacity-dmips-mhz = <MID_CAPACITY>; |
Chris Kay | c2d29ba | 2021-05-18 18:49:51 +0100 | [diff] [blame] | 209 | amu = <&amu>; |
| 210 | supports-mpmm; |
Avinash Mehta | f68a084 | 2020-10-28 16:43:28 +0000 | [diff] [blame] | 211 | }; |
| 212 | |
| 213 | CPU6:cpu@600 { |
| 214 | device_type = "cpu"; |
| 215 | compatible = "arm,armv8"; |
| 216 | reg = <0x600>; |
| 217 | enable-method = "psci"; |
Avinash Mehta | f68a084 | 2020-10-28 16:43:28 +0000 | [diff] [blame] | 218 | cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; |
Boyan Karatotev | 192ad5d | 2023-12-12 15:59:01 +0000 | [diff] [blame] | 219 | #if TARGET_PLATFORM <= 2 |
| 220 | clocks = <&scmi_dvfs 1>; |
| 221 | capacity-dmips-mhz = <MID_CAPACITY>; |
| 222 | #elif TARGET_PLATFORM == 3 |
| 223 | clocks = <&scmi_dvfs 2>; |
| 224 | capacity-dmips-mhz = <BIG_CAPACITY>; |
| 225 | #endif /* TARGET_PLATFORM == 3 */ |
Chris Kay | c2d29ba | 2021-05-18 18:49:51 +0100 | [diff] [blame] | 226 | amu = <&amu>; |
| 227 | supports-mpmm; |
Avinash Mehta | f68a084 | 2020-10-28 16:43:28 +0000 | [diff] [blame] | 228 | }; |
| 229 | |
| 230 | CPU7:cpu@700 { |
| 231 | device_type = "cpu"; |
| 232 | compatible = "arm,armv8"; |
| 233 | reg = <0x700>; |
| 234 | enable-method = "psci"; |
Avinash Mehta | f68a084 | 2020-10-28 16:43:28 +0000 | [diff] [blame] | 235 | cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; |
Boyan Karatotev | 192ad5d | 2023-12-12 15:59:01 +0000 | [diff] [blame] | 236 | #if TARGET_FLAVOUR_FPGA && TARGET_PLATFORM <= 2 |
| 237 | clocks = <&scmi_dvfs 1>; |
| 238 | capacity-dmips-mhz = <MID_CAPACITY>; |
| 239 | #else |
| 240 | clocks = <&scmi_dvfs 2>; |
| 241 | capacity-dmips-mhz = <BIG_CAPACITY>; |
| 242 | #endif /* TARGET_FLAVOUR_FPGA && TARGET_PLATFORM <= 2 */ |
| 243 | amu = <&amu>; |
| 244 | supports-mpmm; |
| 245 | }; |
| 246 | |
| 247 | #if TARGET_FLAVOUR_FPGA && TARGET_PLATFORM <= 2 |
| 248 | CPU8:cpu@800 { |
| 249 | device_type = "cpu"; |
| 250 | compatible = "arm,armv8"; |
| 251 | reg = <0x800>; |
| 252 | enable-method = "psci"; |
| 253 | clocks = <&scmi_dvfs 1>; |
| 254 | capacity-dmips-mhz = <MID_CAPACITY>; |
| 255 | amu = <&amu>; |
| 256 | supports-mpmm; |
| 257 | }; |
| 258 | |
| 259 | CPU9:cpu@900 { |
| 260 | device_type = "cpu"; |
| 261 | compatible = "arm,armv8"; |
| 262 | reg = <0x900>; |
| 263 | enable-method = "psci"; |
| 264 | clocks = <&scmi_dvfs 2>; |
| 265 | capacity-dmips-mhz = <BIG2_CAPACITY>; |
| 266 | amu = <&amu>; |
| 267 | supports-mpmm; |
| 268 | }; |
| 269 | |
| 270 | CPU10:cpu@A00 { |
| 271 | device_type = "cpu"; |
| 272 | compatible = "arm,armv8"; |
| 273 | reg = <0xA00>; |
| 274 | enable-method = "psci"; |
| 275 | clocks = <&scmi_dvfs 2>; |
| 276 | capacity-dmips-mhz = <BIG2_CAPACITY>; |
| 277 | amu = <&amu>; |
| 278 | supports-mpmm; |
| 279 | }; |
| 280 | |
| 281 | CPU11:cpu@B00 { |
| 282 | device_type = "cpu"; |
| 283 | compatible = "arm,armv8"; |
| 284 | reg = <0xB00>; |
| 285 | enable-method = "psci"; |
| 286 | clocks = <&scmi_dvfs 2>; |
| 287 | capacity-dmips-mhz = <BIG2_CAPACITY>; |
Chris Kay | c2d29ba | 2021-05-18 18:49:51 +0100 | [diff] [blame] | 288 | amu = <&amu>; |
| 289 | supports-mpmm; |
Avinash Mehta | f68a084 | 2020-10-28 16:43:28 +0000 | [diff] [blame] | 290 | }; |
| 291 | |
Boyan Karatotev | 192ad5d | 2023-12-12 15:59:01 +0000 | [diff] [blame] | 292 | CPU12:cpu@C00 { |
| 293 | device_type = "cpu"; |
| 294 | compatible = "arm,armv8"; |
| 295 | reg = <0xC00>; |
| 296 | enable-method = "psci"; |
| 297 | clocks = <&scmi_dvfs 3>; |
| 298 | capacity-dmips-mhz = <BIG_CAPACITY>; |
| 299 | amu = <&amu>; |
| 300 | supports-mpmm; |
| 301 | }; |
| 302 | |
| 303 | CPU13:cpu@D00 { |
| 304 | device_type = "cpu"; |
| 305 | compatible = "arm,armv8"; |
| 306 | reg = <0xD00>; |
| 307 | enable-method = "psci"; |
| 308 | clocks = <&scmi_dvfs 3>; |
| 309 | capacity-dmips-mhz = <BIG_CAPACITY>; |
| 310 | amu = <&amu>; |
| 311 | supports-mpmm; |
| 312 | }; |
| 313 | #endif /* TARGET_FLAVOUR_FPGA && TARGET_PLATFORM <= 2 */ |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 314 | }; |
| 315 | |
Arunachalam Ganapathy | 948bb44 | 2020-12-14 12:31:32 +0000 | [diff] [blame] | 316 | reserved-memory { |
| 317 | #address-cells = <2>; |
| 318 | #size-cells = <2>; |
| 319 | ranges; |
| 320 | |
Anders Dellien | a6c9b72 | 2021-12-08 21:57:21 +0000 | [diff] [blame] | 321 | linux,cma { |
| 322 | compatible = "shared-dma-pool"; |
| 323 | reusable; |
| 324 | size = <0x0 0x8000000>; |
| 325 | linux,cma-default; |
| 326 | }; |
| 327 | |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 328 | optee@f8e00000 { |
Davidson K | 4662a88 | 2022-12-14 17:38:14 +0530 | [diff] [blame] | 329 | compatible = "restricted-dma-pool"; |
Arunachalam Ganapathy | ac9e120 | 2022-04-11 17:38:17 +0100 | [diff] [blame] | 330 | reg = <0x00000000 0xf8e00000 0 0x00200000>; |
Arunachalam Ganapathy | 948bb44 | 2020-12-14 12:31:32 +0000 | [diff] [blame] | 331 | }; |
Tudor Cretu | 77b301a | 2021-09-24 12:09:53 +0000 | [diff] [blame] | 332 | |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 333 | fwu_mm@fca00000 { |
Tudor Cretu | 77b301a | 2021-09-24 12:09:53 +0000 | [diff] [blame] | 334 | reg = <0x00000000 0xfca00000 0 0x00400000>; |
| 335 | no-map; |
| 336 | }; |
Arunachalam Ganapathy | 948bb44 | 2020-12-14 12:31:32 +0000 | [diff] [blame] | 337 | }; |
| 338 | |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 339 | psci { |
Usama Arif | 7a64bfa | 2021-05-27 20:09:17 +0100 | [diff] [blame] | 340 | compatible = "arm,psci-1.0", "arm,psci-0.2"; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 341 | method = "smc"; |
| 342 | }; |
| 343 | |
Boyan Karatotev | 4fef47c | 2023-11-15 11:29:59 +0000 | [diff] [blame] | 344 | cpu-pmu { |
| 345 | compatible = "arm,armv8-pmuv3"; |
| 346 | interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>; |
| 347 | interrupt-affinity = <&CPU0>, <&CPU1>, <&CPU2>, <&CPU3>, |
| 348 | <&CPU4>, <&CPU5>, <&CPU6>, <&CPU7> |
Boyan Karatotev | 192ad5d | 2023-12-12 15:59:01 +0000 | [diff] [blame] | 349 | #if TARGET_FLAVOUR_FPGA && TARGET_PLATFORM <= 2 |
| 350 | ,<&CPU8>, <&CPU9>, <&CPU10>, <&CPU11>, |
| 351 | <&CPU12>, <&CPU13> |
| 352 | #endif /* TARGET_FLAVOUR_FPGA && TARGET_PLATFORM <= 2 */ |
Boyan Karatotev | 4fef47c | 2023-11-15 11:29:59 +0000 | [diff] [blame] | 353 | ; |
| 354 | }; |
| 355 | |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 356 | sram: sram@6000000 { |
| 357 | compatible = "mmio-sram"; |
| 358 | reg = <0x0 0x06000000 0x0 0x8000>; |
| 359 | |
| 360 | #address-cells = <1>; |
| 361 | #size-cells = <1>; |
| 362 | ranges = <0 0x0 0x06000000 0x8000>; |
| 363 | |
| 364 | cpu_scp_scmi_mem: scp-shmem@0 { |
| 365 | compatible = "arm,scmi-shmem"; |
| 366 | reg = <0x0 0x80>; |
| 367 | }; |
| 368 | }; |
| 369 | |
Boyan Karatotev | 6ed3bf6 | 2023-07-07 13:33:19 +0000 | [diff] [blame] | 370 | mbox_db_rx: mhu@MHU_RX_ADDR() { |
Usama Arif | b315c70 | 2021-05-27 20:01:39 +0100 | [diff] [blame] | 371 | compatible = "arm,mhuv2-rx","arm,primecell"; |
Boyan Karatotev | 6ed3bf6 | 2023-07-07 13:33:19 +0000 | [diff] [blame] | 372 | reg = <0x0 MHU_RX_ADDR(0x) 0x0 0x1000>; |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 373 | clocks = <&soc_refclk>; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 374 | clock-names = "apb_pclk"; |
Usama Arif | b315c70 | 2021-05-27 20:01:39 +0100 | [diff] [blame] | 375 | #mbox-cells = <2>; |
Boyan Karatotev | 6ed3bf6 | 2023-07-07 13:33:19 +0000 | [diff] [blame] | 376 | interrupts = <GIC_SPI INT_MBOX_RX IRQ_TYPE_LEVEL_HIGH>; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 377 | interrupt-names = "mhu_rx"; |
| 378 | mhu-protocol = "doorbell"; |
Usama Arif | b315c70 | 2021-05-27 20:01:39 +0100 | [diff] [blame] | 379 | arm,mhuv2-protocols = <0 1>; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 380 | }; |
| 381 | |
Boyan Karatotev | 6ed3bf6 | 2023-07-07 13:33:19 +0000 | [diff] [blame] | 382 | mbox_db_tx: mhu@MHU_TX_ADDR() { |
Usama Arif | b315c70 | 2021-05-27 20:01:39 +0100 | [diff] [blame] | 383 | compatible = "arm,mhuv2-tx","arm,primecell"; |
Boyan Karatotev | 6ed3bf6 | 2023-07-07 13:33:19 +0000 | [diff] [blame] | 384 | reg = <0x0 MHU_TX_ADDR(0x) 0x0 0x1000>; |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 385 | clocks = <&soc_refclk>; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 386 | clock-names = "apb_pclk"; |
Usama Arif | b315c70 | 2021-05-27 20:01:39 +0100 | [diff] [blame] | 387 | #mbox-cells = <2>; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 388 | interrupt-names = "mhu_tx"; |
| 389 | mhu-protocol = "doorbell"; |
Usama Arif | b315c70 | 2021-05-27 20:01:39 +0100 | [diff] [blame] | 390 | arm,mhuv2-protocols = <0 1>; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 391 | }; |
| 392 | |
| 393 | scmi { |
| 394 | compatible = "arm,scmi"; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 395 | mbox-names = "tx", "rx"; |
Usama Arif | b315c70 | 2021-05-27 20:01:39 +0100 | [diff] [blame] | 396 | mboxes = <&mbox_db_tx 0 0 &mbox_db_rx 0 0 >; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 397 | shmem = <&cpu_scp_scmi_mem &cpu_scp_scmi_mem>; |
| 398 | #address-cells = <1>; |
| 399 | #size-cells = <0>; |
| 400 | |
Kshitij Sisodia | 090a6aa | 2023-11-22 17:03:45 +0000 | [diff] [blame^] | 401 | #if TC_SCMI_PD_CTRL_EN |
Ben Horgan | 80781a5 | 2023-07-26 20:45:27 +0100 | [diff] [blame] | 402 | scmi_devpd: protocol@11 { |
| 403 | reg = <0x11>; |
| 404 | #power-domain-cells = <1>; |
| 405 | }; |
Kshitij Sisodia | 090a6aa | 2023-11-22 17:03:45 +0000 | [diff] [blame^] | 406 | #endif /* TC_SCMI_PD_CTRL_EN */ |
Ben Horgan | 80781a5 | 2023-07-26 20:45:27 +0100 | [diff] [blame] | 407 | |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 408 | scmi_dvfs: protocol@13 { |
| 409 | reg = <0x13>; |
| 410 | #clock-cells = <1>; |
| 411 | }; |
| 412 | |
| 413 | scmi_clk: protocol@14 { |
| 414 | reg = <0x14>; |
| 415 | #clock-cells = <1>; |
| 416 | }; |
| 417 | }; |
| 418 | |
Boyan Karatotev | 9556276 | 2023-11-15 11:54:33 +0000 | [diff] [blame] | 419 | gic: interrupt-controller@GIC_CTRL_ADDR { |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 420 | compatible = "arm,gic-v3"; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 421 | #address-cells = <2>; |
| 422 | #interrupt-cells = <3>; |
| 423 | #size-cells = <2>; |
| 424 | ranges; |
| 425 | interrupt-controller; |
| 426 | reg = <0x0 0x30000000 0 0x10000>, /* GICD */ |
Boyan Karatotev | 9556276 | 2023-11-15 11:54:33 +0000 | [diff] [blame] | 427 | <0x0 0x30080000 0 GIC_GICR_OFFSET>; /* GICR */ |
Boyan Karatotev | 25c4fb7 | 2023-08-08 15:37:52 +0100 | [diff] [blame] | 428 | interrupts = <GIC_PPI 0x9 IRQ_TYPE_LEVEL_LOW>; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 429 | }; |
| 430 | |
| 431 | timer { |
| 432 | compatible = "arm,armv8-timer"; |
Boyan Karatotev | 25c4fb7 | 2023-08-08 15:37:52 +0100 | [diff] [blame] | 433 | interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, |
| 434 | <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, |
| 435 | <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, |
| 436 | <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 437 | }; |
| 438 | |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 439 | soc_refclk: refclk { |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 440 | compatible = "fixed-clock"; |
| 441 | #clock-cells = <0>; |
Boyan Karatotev | 9556276 | 2023-11-15 11:54:33 +0000 | [diff] [blame] | 442 | clock-frequency = <1000000000>; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 443 | clock-output-names = "apb_pclk"; |
| 444 | }; |
| 445 | |
| 446 | soc_refclk60mhz: refclk60mhz { |
| 447 | compatible = "fixed-clock"; |
| 448 | #clock-cells = <0>; |
| 449 | clock-frequency = <60000000>; |
| 450 | clock-output-names = "iofpga_clk"; |
| 451 | }; |
| 452 | |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 453 | soc_uartclk: uartclk { |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 454 | compatible = "fixed-clock"; |
| 455 | #clock-cells = <0>; |
Boyan Karatotev | 6ed3bf6 | 2023-07-07 13:33:19 +0000 | [diff] [blame] | 456 | clock-frequency = <UARTCLK_FREQ>; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 457 | clock-output-names = "uartclk"; |
| 458 | }; |
| 459 | |
Boyan Karatotev | 9556276 | 2023-11-15 11:54:33 +0000 | [diff] [blame] | 460 | /* soc_uart0 on FPGA, ap_ns_uart on FVP */ |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 461 | os_uart: serial@2a400000 { |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 462 | compatible = "arm,pl011", "arm,primecell"; |
Boyan Karatotev | 9556276 | 2023-11-15 11:54:33 +0000 | [diff] [blame] | 463 | reg = <0x0 0x2A400000 0x0 UART_OFFSET>; |
Boyan Karatotev | 25c4fb7 | 2023-08-08 15:37:52 +0100 | [diff] [blame] | 464 | interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>; |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 465 | clocks = <&soc_uartclk>, <&soc_refclk>; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 466 | clock-names = "uartclk", "apb_pclk"; |
| 467 | status = "okay"; |
| 468 | }; |
| 469 | |
| 470 | vencoder { |
| 471 | compatible = "drm,virtual-encoder"; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 472 | port { |
| 473 | vencoder_in: endpoint { |
Avinash Mehta | df71a60 | 2020-07-22 16:40:07 +0100 | [diff] [blame] | 474 | remote-endpoint = <&dp_pl0_out0>; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 475 | }; |
| 476 | }; |
| 477 | |
| 478 | display-timings { |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 479 | timing-panel { |
Boyan Karatotev | 9556276 | 2023-11-15 11:54:33 +0000 | [diff] [blame] | 480 | VENCODER_TIMING; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 481 | }; |
| 482 | }; |
| 483 | |
| 484 | }; |
| 485 | |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 486 | ethernet@18000000 { |
Boyan Karatotev | 9556276 | 2023-11-15 11:54:33 +0000 | [diff] [blame] | 487 | compatible = ETH_COMPATIBLE; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 488 | reg = <0x0 0x18000000 0x0 0x10000>; |
Boyan Karatotev | 25c4fb7 | 2023-08-08 15:37:52 +0100 | [diff] [blame] | 489 | interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>; |
Boyan Karatotev | 9556276 | 2023-11-15 11:54:33 +0000 | [diff] [blame] | 490 | |
| 491 | /* FPGA only but will work on FVP. Keep for simplicity */ |
| 492 | phy-mode = "mii"; |
| 493 | reg-io-width = <2>; |
| 494 | smsc,irq-push-pull; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 495 | }; |
| 496 | |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 497 | bp_clock24mhz: clock24mhz { |
| 498 | compatible = "fixed-clock"; |
| 499 | #clock-cells = <0>; |
| 500 | clock-frequency = <24000000>; |
| 501 | clock-output-names = "bp:clock24mhz"; |
| 502 | }; |
| 503 | |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 504 | |
Usama Arif | 1cd56dc | 2020-06-10 16:27:53 +0100 | [diff] [blame] | 505 | sysreg: sysreg@1c010000 { |
| 506 | compatible = "arm,vexpress-sysreg"; |
| 507 | reg = <0x0 0x001c010000 0x0 0x1000>; |
| 508 | gpio-controller; |
| 509 | #gpio-cells = <2>; |
| 510 | }; |
| 511 | |
| 512 | fixed_3v3: v2m-3v3 { |
| 513 | compatible = "regulator-fixed"; |
| 514 | regulator-name = "3V3"; |
| 515 | regulator-min-microvolt = <3300000>; |
| 516 | regulator-max-microvolt = <3300000>; |
| 517 | regulator-always-on; |
| 518 | }; |
| 519 | |
| 520 | mmci@1c050000 { |
| 521 | compatible = "arm,pl180", "arm,primecell"; |
| 522 | reg = <0x0 0x001c050000 0x0 0x1000>; |
Boyan Karatotev | 25c4fb7 | 2023-08-08 15:37:52 +0100 | [diff] [blame] | 523 | interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>, |
| 524 | <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; |
Boyan Karatotev | 9556276 | 2023-11-15 11:54:33 +0000 | [diff] [blame] | 525 | MMC_REMOVABLE; |
Usama Arif | 1cd56dc | 2020-06-10 16:27:53 +0100 | [diff] [blame] | 526 | wp-gpios = <&sysreg 1 0>; |
Boyan Karatotev | 9556276 | 2023-11-15 11:54:33 +0000 | [diff] [blame] | 527 | bus-width = <4>; |
| 528 | max-frequency = <25000000>; |
Usama Arif | 1cd56dc | 2020-06-10 16:27:53 +0100 | [diff] [blame] | 529 | vmmc-supply = <&fixed_3v3>; |
| 530 | clocks = <&bp_clock24mhz>, <&bp_clock24mhz>; |
| 531 | clock-names = "mclk", "apb_pclk"; |
| 532 | }; |
| 533 | |
Rupinderjit Singh | b2a75b8 | 2023-02-03 09:29:57 +0000 | [diff] [blame] | 534 | gpu_clk: gpu_clk { |
| 535 | compatible = "fixed-clock"; |
| 536 | #clock-cells = <0>; |
| 537 | clock-frequency = <1000000000>; |
| 538 | }; |
| 539 | |
| 540 | gpu_core_clk: gpu_core_clk { |
| 541 | compatible = "fixed-clock"; |
| 542 | #clock-cells = <0>; |
| 543 | clock-frequency = <1000000000>; |
| 544 | }; |
| 545 | |
Anders Dellien | 7a84980 | 2022-01-01 21:51:21 +0000 | [diff] [blame] | 546 | gpu: gpu@2d000000 { |
| 547 | compatible = "arm,mali-midgard"; |
| 548 | reg = <0x0 0x2d000000 0x0 0x200000>; |
Boyan Karatotev | 25c4fb7 | 2023-08-08 15:37:52 +0100 | [diff] [blame] | 549 | interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>, |
| 550 | <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>, |
| 551 | <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; |
Anders Dellien | 7a84980 | 2022-01-01 21:51:21 +0000 | [diff] [blame] | 552 | interrupt-names = "JOB", "MMU", "GPU"; |
Ben Horgan | 80781a5 | 2023-07-26 20:45:27 +0100 | [diff] [blame] | 553 | clocks = <&gpu_core_clk>; |
| 554 | clock-names = "shadercores"; |
Kshitij Sisodia | 090a6aa | 2023-11-22 17:03:45 +0000 | [diff] [blame^] | 555 | #if TC_SCMI_PD_CTRL_EN |
Boyan Karatotev | 192ad5d | 2023-12-12 15:59:01 +0000 | [diff] [blame] | 556 | power-domains = <&scmi_devpd GPU_SCMI_PD_IDX>; |
Ben Horgan | 80781a5 | 2023-07-26 20:45:27 +0100 | [diff] [blame] | 557 | scmi-perf-domain = <3>; |
Kshitij Sisodia | 090a6aa | 2023-11-22 17:03:45 +0000 | [diff] [blame^] | 558 | #endif /* TC_SCMI_PD_CTRL_EN */ |
| 559 | |
| 560 | #if TC_IOMMU_EN |
Davidson K | ce63312 | 2022-11-21 17:49:51 +0530 | [diff] [blame] | 561 | iommus = <&smmu_700 0x200>; |
Kshitij Sisodia | 090a6aa | 2023-11-22 17:03:45 +0000 | [diff] [blame^] | 562 | #endif /* TC_IOMMU_EN */ |
Anders Dellien | 7a84980 | 2022-01-01 21:51:21 +0000 | [diff] [blame] | 563 | }; |
| 564 | |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 565 | power_model_simple { |
Rupinderjit Singh | b2a75b8 | 2023-02-03 09:29:57 +0000 | [diff] [blame] | 566 | /* |
| 567 | * Numbers used are irrelevant to Titan, |
| 568 | * it helps suppressing the kernel warnings. |
| 569 | */ |
| 570 | compatible = "arm,mali-simple-power-model"; |
| 571 | static-coefficient = <2427750>; |
| 572 | dynamic-coefficient = <4687>; |
| 573 | ts = <20000 2000 (-20) 2>; |
| 574 | thermal-zone = ""; |
| 575 | }; |
| 576 | |
Kshitij Sisodia | 090a6aa | 2023-11-22 17:03:45 +0000 | [diff] [blame^] | 577 | #if TC_IOMMU_EN |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 578 | smmu_700: iommu@3f000000 { |
Anders Dellien | a191413 | 2022-01-01 21:56:25 +0000 | [diff] [blame] | 579 | #iommu-cells = <1>; |
| 580 | compatible = "arm,smmu-v3"; |
Davidson K | ce63312 | 2022-11-21 17:49:51 +0530 | [diff] [blame] | 581 | reg = <0x0 0x3f000000 0x0 0x5000000>; |
Kshitij Sisodia | b32a8f4 | 2023-08-16 09:46:05 +0100 | [diff] [blame] | 582 | interrupts = <GIC_SPI 228 IRQ_TYPE_EDGE_RISING>, |
| 583 | <GIC_SPI 229 IRQ_TYPE_EDGE_RISING>, |
| 584 | <GIC_SPI 230 IRQ_TYPE_EDGE_RISING>; |
| 585 | interrupt-names = "eventq", "cmdq-sync", "gerror"; |
Davidson K | ce63312 | 2022-11-21 17:49:51 +0530 | [diff] [blame] | 586 | dma-coherent; |
Anders Dellien | a191413 | 2022-01-01 21:56:25 +0000 | [diff] [blame] | 587 | }; |
Kshitij Sisodia | 090a6aa | 2023-11-22 17:03:45 +0000 | [diff] [blame^] | 588 | #endif /* TC_IOMMU_EN */ |
Anders Dellien | a191413 | 2022-01-01 21:56:25 +0000 | [diff] [blame] | 589 | |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 590 | dp0: display@2cc00000 { |
| 591 | #address-cells = <1>; |
| 592 | #size-cells = <0>; |
| 593 | compatible = "arm,mali-d71"; |
| 594 | reg = <0 0x2cc00000 0 0x20000>; |
Boyan Karatotev | 25c4fb7 | 2023-08-08 15:37:52 +0100 | [diff] [blame] | 595 | interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 596 | interrupt-names = "DPU"; |
Boyan Karatotev | 9556276 | 2023-11-15 11:54:33 +0000 | [diff] [blame] | 597 | DPU_CLK_ATTR1; |
Kshitij Sisodia | 090a6aa | 2023-11-22 17:03:45 +0000 | [diff] [blame^] | 598 | #if TC_IOMMU_EN |
Davidson K | ce63312 | 2022-11-21 17:49:51 +0530 | [diff] [blame] | 599 | iommus = <&smmu_700 0x100>; |
Kshitij Sisodia | 090a6aa | 2023-11-22 17:03:45 +0000 | [diff] [blame^] | 600 | #endif /* TC_IOMMU_EN */ |
| 601 | #if TC_SCMI_PD_CTRL_EN && (TARGET_PLATFORM != 3) |
Boyan Karatotev | 192ad5d | 2023-12-12 15:59:01 +0000 | [diff] [blame] | 602 | power-domains = <&scmi_devpd DPU_SCMI_PD_IDX>; |
Kshitij Sisodia | 090a6aa | 2023-11-22 17:03:45 +0000 | [diff] [blame^] | 603 | #endif /* TC_SCMI_PD_CTRL_EN && (TARGET_PLATFORM != 3) */ |
| 604 | |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 605 | pl0: pipeline@0 { |
| 606 | reg = <0>; |
Boyan Karatotev | 9556276 | 2023-11-15 11:54:33 +0000 | [diff] [blame] | 607 | DPU_CLK_ATTR2; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 608 | pl_id = <0>; |
| 609 | ports { |
| 610 | #address-cells = <1>; |
| 611 | #size-cells = <0>; |
| 612 | port@0 { |
| 613 | reg = <0>; |
| 614 | dp_pl0_out0: endpoint { |
| 615 | remote-endpoint = <&vencoder_in>; |
| 616 | }; |
| 617 | }; |
| 618 | }; |
| 619 | }; |
| 620 | |
| 621 | pl1: pipeline@1 { |
| 622 | reg = <1>; |
Boyan Karatotev | 9556276 | 2023-11-15 11:54:33 +0000 | [diff] [blame] | 623 | DPU_CLK_ATTR3; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 624 | pl_id = <1>; |
| 625 | ports { |
| 626 | #address-cells = <1>; |
| 627 | #size-cells = <0>; |
| 628 | port@0 { |
| 629 | reg = <0>; |
| 630 | }; |
| 631 | }; |
| 632 | }; |
| 633 | }; |
Arunachalam Ganapathy | c44e43d | 2020-11-17 15:05:01 +0000 | [diff] [blame] | 634 | |
Davidson K | 1ad2c41 | 2023-01-13 14:02:13 +0530 | [diff] [blame] | 635 | /* |
| 636 | * L3 cache in the DSU is the Memory System Component (MSC) |
| 637 | * The MPAM registers are accessed through utility bus in the DSU |
| 638 | */ |
| 639 | msc0 { |
| 640 | compatible = "arm,mpam-msc"; |
Boyan Karatotev | 6ed3bf6 | 2023-07-07 13:33:19 +0000 | [diff] [blame] | 641 | reg = <MPAM_ADDR 0x0 0x2000>; |
Davidson K | 1ad2c41 | 2023-01-13 14:02:13 +0530 | [diff] [blame] | 642 | }; |
| 643 | |
Davidson K | 6536105 | 2021-10-13 18:49:41 +0530 | [diff] [blame] | 644 | ete0 { |
| 645 | compatible = "arm,embedded-trace-extension"; |
| 646 | cpu = <&CPU0>; |
| 647 | }; |
| 648 | |
| 649 | ete1 { |
| 650 | compatible = "arm,embedded-trace-extension"; |
| 651 | cpu = <&CPU1>; |
| 652 | }; |
| 653 | |
| 654 | ete2 { |
| 655 | compatible = "arm,embedded-trace-extension"; |
| 656 | cpu = <&CPU2>; |
| 657 | }; |
| 658 | |
| 659 | ete3 { |
| 660 | compatible = "arm,embedded-trace-extension"; |
| 661 | cpu = <&CPU3>; |
| 662 | }; |
| 663 | |
| 664 | ete4 { |
| 665 | compatible = "arm,embedded-trace-extension"; |
| 666 | cpu = <&CPU4>; |
| 667 | }; |
| 668 | |
| 669 | ete5 { |
| 670 | compatible = "arm,embedded-trace-extension"; |
| 671 | cpu = <&CPU5>; |
| 672 | }; |
| 673 | |
| 674 | ete6 { |
| 675 | compatible = "arm,embedded-trace-extension"; |
| 676 | cpu = <&CPU6>; |
| 677 | }; |
| 678 | |
| 679 | ete7 { |
| 680 | compatible = "arm,embedded-trace-extension"; |
| 681 | cpu = <&CPU7>; |
| 682 | }; |
Boyan Karatotev | 192ad5d | 2023-12-12 15:59:01 +0000 | [diff] [blame] | 683 | |
| 684 | #if TARGET_FLAVOUR_FPGA && TARGET_PLATFORM <= 2 |
| 685 | ete8 { |
| 686 | compatible = "arm,embedded-trace-extension"; |
| 687 | cpu = <&CPU8>; |
| 688 | }; |
| 689 | |
| 690 | ete9 { |
| 691 | compatible = "arm,embedded-trace-extension"; |
| 692 | cpu = <&CPU9>; |
| 693 | }; |
| 694 | |
| 695 | ete10 { |
| 696 | compatible = "arm,embedded-trace-extension"; |
| 697 | cpu = <&CPU10>; |
| 698 | }; |
| 699 | |
| 700 | ete11 { |
| 701 | compatible = "arm,embedded-trace-extension"; |
| 702 | cpu = <&CPU11>; |
| 703 | }; |
| 704 | |
| 705 | ete12 { |
| 706 | compatible = "arm,embedded-trace-extension"; |
| 707 | cpu = <&CPU12>; |
| 708 | }; |
| 709 | |
| 710 | ete13 { |
| 711 | compatible = "arm,embedded-trace-extension"; |
| 712 | cpu = <&CPU13>; |
| 713 | }; |
| 714 | #endif /* TARGET_FLAVOUR_FPGA && TARGET_PLATFORM <= 2 */ |
Davidson K | 6536105 | 2021-10-13 18:49:41 +0530 | [diff] [blame] | 715 | |
Boyan Karatotev | 13b8e74 | 2023-11-14 13:57:56 +0000 | [diff] [blame] | 716 | trbe { |
Davidson K | 6536105 | 2021-10-13 18:49:41 +0530 | [diff] [blame] | 717 | compatible = "arm,trace-buffer-extension"; |
Boyan Karatotev | 25c4fb7 | 2023-08-08 15:37:52 +0100 | [diff] [blame] | 718 | interrupts = <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>; |
Davidson K | 6536105 | 2021-10-13 18:49:41 +0530 | [diff] [blame] | 719 | }; |
Arunachalam Ganapathy | 63128dc | 2022-04-11 14:43:15 +0100 | [diff] [blame] | 720 | |
| 721 | trusty { |
| 722 | #size-cells = <0x02>; |
| 723 | #address-cells = <0x02>; |
| 724 | ranges = <0x00>; |
| 725 | compatible = "android,trusty-v1"; |
| 726 | |
| 727 | virtio { |
| 728 | compatible = "android,trusty-virtio-v1"; |
| 729 | }; |
| 730 | |
| 731 | test { |
| 732 | compatible = "android,trusty-test-v1"; |
| 733 | }; |
| 734 | |
| 735 | log { |
| 736 | compatible = "android,trusty-log-v1"; |
| 737 | }; |
| 738 | |
| 739 | irq { |
| 740 | ipi-range = <0x08 0x0f 0x08>; |
| 741 | interrupt-ranges = <0x00 0x0f 0x00 0x10 0x1f 0x01 0x20 0x3f 0x02>; |
| 742 | interrupt-templates = <0x01 0x00 0x8001 0x01 0x01 0x04 0x8001 0x01 0x00 0x04>; |
| 743 | compatible = "android,trusty-irq-v1"; |
| 744 | }; |
| 745 | }; |
Usama Arif | bec5afd | 2020-04-17 16:13:39 +0100 | [diff] [blame] | 746 | }; |