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