blob: e94d6bb24dfe99a7e239f365387fe68e42b3c831 [file] [log] [blame]
Usama Arifbec5afd2020-04-17 16:13:39 +01001/*
annsai017c607f22023-02-20 13:34:57 +00002 * Copyright (c) 2020-2024, Arm Limited. All rights reserved.
Usama Arifbec5afd2020-04-17 16:13:39 +01003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7/dts-v1/;
8
Kshitij Sisodiab32a8f42023-08-16 09:46:05 +01009#include <dt-bindings/interrupt-controller/arm-gic.h>
10#include <dt-bindings/interrupt-controller/irq.h>
11
Usama Arifbec5afd2020-04-17 16:13:39 +010012/ {
Usama Ariff1513622021-04-09 17:07:41 +010013 compatible = "arm,tc";
Usama Arifbec5afd2020-04-17 16:13:39 +010014 interrupt-parent = <&gic>;
15 #address-cells = <2>;
16 #size-cells = <2>;
17
18 aliases {
annsai017c607f22023-02-20 13:34:57 +000019 serial0 = &ap_ns_uart;
Usama Arifbec5afd2020-04-17 16:13:39 +010020 };
21
22 chosen {
Nikos Nikoleris35800bd2021-01-21 13:50:25 +000023 stdout-path = "serial0:115200n8";
Usama Arifbec5afd2020-04-17 16:13:39 +010024 };
25
26 cpus {
27 #address-cells = <1>;
28 #size-cells = <0>;
29
30 cpu-map {
31 cluster0 {
32 core0 {
33 cpu = <&CPU0>;
34 };
35 core1 {
36 cpu = <&CPU1>;
37 };
38 core2 {
39 cpu = <&CPU2>;
40 };
41 core3 {
42 cpu = <&CPU3>;
43 };
Avinash Mehtaf68a0842020-10-28 16:43:28 +000044 core4 {
45 cpu = <&CPU4>;
46 };
47 core5 {
48 cpu = <&CPU5>;
49 };
50 core6 {
51 cpu = <&CPU6>;
52 };
53 core7 {
54 cpu = <&CPU7>;
55 };
Usama Arifbec5afd2020-04-17 16:13:39 +010056 };
57 };
58
Usama Arif57900782020-08-12 17:14:37 +010059 /*
60 * The timings below are just to demonstrate working cpuidle.
61 * These values may be inaccurate.
62 */
63 idle-states {
64 entry-method = "arm,psci";
65
66 CPU_SLEEP_0: cpu-sleep-0 {
67 compatible = "arm,idle-state";
68 arm,psci-suspend-param = <0x0010000>;
69 local-timer-stop;
70 entry-latency-us = <300>;
71 exit-latency-us = <1200>;
72 min-residency-us = <2000>;
73 };
74 CLUSTER_SLEEP_0: cluster-sleep-0 {
75 compatible = "arm,idle-state";
76 arm,psci-suspend-param = <0x1010000>;
77 local-timer-stop;
78 entry-latency-us = <400>;
79 exit-latency-us = <1200>;
80 min-residency-us = <2500>;
81 };
82 };
83
Chris Kayc2d29ba2021-05-18 18:49:51 +010084 amus {
85 amu: amu-0 {
86 #address-cells = <1>;
87 #size-cells = <0>;
88
89 mpmm_gear0: counter@0 {
90 reg = <0>;
91
92 enable-at-el3;
93 };
94
95 mpmm_gear1: counter@1 {
96 reg = <1>;
97
98 enable-at-el3;
99 };
100
101 mpmm_gear2: counter@2 {
102 reg = <2>;
103
104 enable-at-el3;
105 };
106 };
107 };
108
Usama Arifbec5afd2020-04-17 16:13:39 +0100109 CPU0:cpu@0 {
110 device_type = "cpu";
111 compatible = "arm,armv8";
112 reg = <0x0>;
113 enable-method = "psci";
114 clocks = <&scmi_dvfs 0>;
Usama Arif57900782020-08-12 17:14:37 +0100115 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
Usama Arifecbc8462021-06-14 12:38:37 +0100116 capacity-dmips-mhz = <406>;
Chris Kayc2d29ba2021-05-18 18:49:51 +0100117 amu = <&amu>;
118 supports-mpmm;
Usama Arifbec5afd2020-04-17 16:13:39 +0100119 };
120
121 CPU1:cpu@100 {
122 device_type = "cpu";
123 compatible = "arm,armv8";
124 reg = <0x100>;
125 enable-method = "psci";
126 clocks = <&scmi_dvfs 0>;
Usama Arif57900782020-08-12 17:14:37 +0100127 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
Usama Arifecbc8462021-06-14 12:38:37 +0100128 capacity-dmips-mhz = <406>;
Chris Kayc2d29ba2021-05-18 18:49:51 +0100129 amu = <&amu>;
130 supports-mpmm;
Usama Arifbec5afd2020-04-17 16:13:39 +0100131 };
132
133 CPU2:cpu@200 {
134 device_type = "cpu";
135 compatible = "arm,armv8";
136 reg = <0x200>;
137 enable-method = "psci";
138 clocks = <&scmi_dvfs 0>;
Usama Arif57900782020-08-12 17:14:37 +0100139 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
Usama Arifecbc8462021-06-14 12:38:37 +0100140 capacity-dmips-mhz = <406>;
Chris Kayc2d29ba2021-05-18 18:49:51 +0100141 amu = <&amu>;
142 supports-mpmm;
Usama Arifbec5afd2020-04-17 16:13:39 +0100143 };
144
145 CPU3:cpu@300 {
146 device_type = "cpu";
147 compatible = "arm,armv8";
148 reg = <0x300>;
149 enable-method = "psci";
150 clocks = <&scmi_dvfs 0>;
Usama Arif57900782020-08-12 17:14:37 +0100151 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
Usama Arifecbc8462021-06-14 12:38:37 +0100152 capacity-dmips-mhz = <406>;
Chris Kayc2d29ba2021-05-18 18:49:51 +0100153 amu = <&amu>;
154 supports-mpmm;
Usama Arifbec5afd2020-04-17 16:13:39 +0100155 };
156
Avinash Mehtaf68a0842020-10-28 16:43:28 +0000157 CPU4:cpu@400 {
158 device_type = "cpu";
159 compatible = "arm,armv8";
160 reg = <0x400>;
161 enable-method = "psci";
Usama Arif75edb752021-02-03 15:40:46 +0000162 clocks = <&scmi_dvfs 1>;
Avinash Mehtaf68a0842020-10-28 16:43:28 +0000163 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
Usama Arifecbc8462021-06-14 12:38:37 +0100164 capacity-dmips-mhz = <912>;
Chris Kayc2d29ba2021-05-18 18:49:51 +0100165 amu = <&amu>;
166 supports-mpmm;
Avinash Mehtaf68a0842020-10-28 16:43:28 +0000167 };
168
169 CPU5:cpu@500 {
170 device_type = "cpu";
171 compatible = "arm,armv8";
172 reg = <0x500>;
173 enable-method = "psci";
Usama Arif75edb752021-02-03 15:40:46 +0000174 clocks = <&scmi_dvfs 1>;
Avinash Mehtaf68a0842020-10-28 16:43:28 +0000175 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
Usama Arifecbc8462021-06-14 12:38:37 +0100176 capacity-dmips-mhz = <912>;
Chris Kayc2d29ba2021-05-18 18:49:51 +0100177 amu = <&amu>;
178 supports-mpmm;
Avinash Mehtaf68a0842020-10-28 16:43:28 +0000179 };
180
181 CPU6:cpu@600 {
182 device_type = "cpu";
183 compatible = "arm,armv8";
184 reg = <0x600>;
185 enable-method = "psci";
Usama Arif75edb752021-02-03 15:40:46 +0000186 clocks = <&scmi_dvfs 1>;
Avinash Mehtaf68a0842020-10-28 16:43:28 +0000187 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
Usama Arifecbc8462021-06-14 12:38:37 +0100188 capacity-dmips-mhz = <912>;
Chris Kayc2d29ba2021-05-18 18:49:51 +0100189 amu = <&amu>;
190 supports-mpmm;
Avinash Mehtaf68a0842020-10-28 16:43:28 +0000191 };
192
193 CPU7:cpu@700 {
194 device_type = "cpu";
195 compatible = "arm,armv8";
196 reg = <0x700>;
197 enable-method = "psci";
Usama Arif410d50d2021-04-07 11:48:22 +0100198 clocks = <&scmi_dvfs 2>;
Avinash Mehtaf68a0842020-10-28 16:43:28 +0000199 cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
Usama Arifecbc8462021-06-14 12:38:37 +0100200 capacity-dmips-mhz = <1024>;
Chris Kayc2d29ba2021-05-18 18:49:51 +0100201 amu = <&amu>;
202 supports-mpmm;
Avinash Mehtaf68a0842020-10-28 16:43:28 +0000203 };
204
Usama Arifbec5afd2020-04-17 16:13:39 +0100205 };
206
Arunachalam Ganapathy948bb442020-12-14 12:31:32 +0000207 reserved-memory {
208 #address-cells = <2>;
209 #size-cells = <2>;
210 ranges;
211
Anders Delliena6c9b722021-12-08 21:57:21 +0000212 linux,cma {
213 compatible = "shared-dma-pool";
214 reusable;
215 size = <0x0 0x8000000>;
216 linux,cma-default;
217 };
218
Arunachalam Ganapathyac9e1202022-04-11 17:38:17 +0100219 optee@0xf8e00000 {
Davidson K4662a882022-12-14 17:38:14 +0530220 compatible = "restricted-dma-pool";
Arunachalam Ganapathyac9e1202022-04-11 17:38:17 +0100221 reg = <0x00000000 0xf8e00000 0 0x00200000>;
Arunachalam Ganapathy948bb442020-12-14 12:31:32 +0000222 };
Tudor Cretu77b301a2021-09-24 12:09:53 +0000223
224 fwu_mm@0xfca00000 {
225 reg = <0x00000000 0xfca00000 0 0x00400000>;
226 no-map;
227 };
Arunachalam Ganapathy948bb442020-12-14 12:31:32 +0000228 };
229
Usama Arifbec5afd2020-04-17 16:13:39 +0100230 psci {
Usama Arif7a64bfa2021-05-27 20:09:17 +0100231 compatible = "arm,psci-1.0", "arm,psci-0.2";
Usama Arifbec5afd2020-04-17 16:13:39 +0100232 method = "smc";
233 };
234
235 sram: sram@6000000 {
236 compatible = "mmio-sram";
237 reg = <0x0 0x06000000 0x0 0x8000>;
238
239 #address-cells = <1>;
240 #size-cells = <1>;
241 ranges = <0 0x0 0x06000000 0x8000>;
242
243 cpu_scp_scmi_mem: scp-shmem@0 {
244 compatible = "arm,scmi-shmem";
245 reg = <0x0 0x80>;
246 };
247 };
248
249 mbox_db_rx: mhu@45010000 {
Usama Arifb315c702021-05-27 20:01:39 +0100250 compatible = "arm,mhuv2-rx","arm,primecell";
Usama Arifbec5afd2020-04-17 16:13:39 +0100251 reg = <0x0 0x45010000 0x0 0x1000>;
252 clocks = <&soc_refclk100mhz>;
253 clock-names = "apb_pclk";
Usama Arifb315c702021-05-27 20:01:39 +0100254 #mbox-cells = <2>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100255 interrupts = <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100256 interrupt-names = "mhu_rx";
257 mhu-protocol = "doorbell";
Usama Arifb315c702021-05-27 20:01:39 +0100258 arm,mhuv2-protocols = <0 1>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100259 };
260
261 mbox_db_tx: mhu@45000000 {
Usama Arifb315c702021-05-27 20:01:39 +0100262 compatible = "arm,mhuv2-tx","arm,primecell";
Usama Arifbec5afd2020-04-17 16:13:39 +0100263 reg = <0x0 0x45000000 0x0 0x1000>;
264 clocks = <&soc_refclk100mhz>;
265 clock-names = "apb_pclk";
Usama Arifb315c702021-05-27 20:01:39 +0100266 #mbox-cells = <2>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100267 interrupt-names = "mhu_tx";
268 mhu-protocol = "doorbell";
Usama Arifb315c702021-05-27 20:01:39 +0100269 arm,mhuv2-protocols = <0 1>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100270 };
271
Rupinderjit Singh8c901962022-02-22 21:50:33 +0000272 cmn-pmu {
273 compatible = "arm,ci-700";
274 reg = <0x0 0x50000000 0x0 0x10000000>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100275 interrupts = <GIC_SPI 460 IRQ_TYPE_LEVEL_HIGH>;
Rupinderjit Singh8c901962022-02-22 21:50:33 +0000276 };
277
Usama Arifbec5afd2020-04-17 16:13:39 +0100278 scmi {
279 compatible = "arm,scmi";
Usama Arifbec5afd2020-04-17 16:13:39 +0100280 mbox-names = "tx", "rx";
Usama Arifb315c702021-05-27 20:01:39 +0100281 mboxes = <&mbox_db_tx 0 0 &mbox_db_rx 0 0 >;
Usama Arifbec5afd2020-04-17 16:13:39 +0100282 shmem = <&cpu_scp_scmi_mem &cpu_scp_scmi_mem>;
283 #address-cells = <1>;
284 #size-cells = <0>;
285
Ben Horgan80781a52023-07-26 20:45:27 +0100286 scmi_devpd: protocol@11 {
287 reg = <0x11>;
288 #power-domain-cells = <1>;
289 };
290
Usama Arifbec5afd2020-04-17 16:13:39 +0100291 scmi_dvfs: protocol@13 {
292 reg = <0x13>;
293 #clock-cells = <1>;
294 };
295
296 scmi_clk: protocol@14 {
297 reg = <0x14>;
298 #clock-cells = <1>;
299 };
300 };
301
302 gic: interrupt-controller@2c010000 {
303 compatible = "arm,gic-600", "arm,gic-v3";
304 #address-cells = <2>;
305 #interrupt-cells = <3>;
306 #size-cells = <2>;
307 ranges;
308 interrupt-controller;
309 reg = <0x0 0x30000000 0 0x10000>, /* GICD */
Usama Ariffdfd2502021-03-30 16:39:19 +0100310 <0x0 0x30080000 0 0x200000>; /* GICR */
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100311 interrupts = <GIC_PPI 0x9 IRQ_TYPE_LEVEL_LOW>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100312 };
313
314 timer {
315 compatible = "arm,armv8-timer";
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100316 interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
317 <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
318 <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
319 <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100320 };
321
322 soc_refclk100mhz: refclk100mhz {
323 compatible = "fixed-clock";
324 #clock-cells = <0>;
325 clock-frequency = <100000000>;
326 clock-output-names = "apb_pclk";
327 };
328
329 soc_refclk60mhz: refclk60mhz {
330 compatible = "fixed-clock";
331 #clock-cells = <0>;
332 clock-frequency = <60000000>;
333 clock-output-names = "iofpga_clk";
334 };
335
336 soc_uartclk: uartclk {
337 compatible = "fixed-clock";
338 #clock-cells = <0>;
339 clock-frequency = <50000000>;
340 clock-output-names = "uartclk";
341 };
342
annsai017c607f22023-02-20 13:34:57 +0000343 ap_ns_uart: uart@2A400000 {
Usama Arifbec5afd2020-04-17 16:13:39 +0100344 compatible = "arm,pl011", "arm,primecell";
annsai017c607f22023-02-20 13:34:57 +0000345 reg = <0x0 0x2A400000 0x0 0x1000>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100346 interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100347 clocks = <&soc_uartclk>, <&soc_refclk100mhz>;
348 clock-names = "uartclk", "apb_pclk";
349 status = "okay";
350 };
351
Jayanth Dodderi Chidanand2858cf52022-09-28 11:41:48 +0100352 rtc0: rtc@1C170000 {
353 compatible = "arm,pl031", "arm,primecell";
354 reg = <0x0 0x1C170000 0x0 0x1000>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100355 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
Jayanth Dodderi Chidanand2858cf52022-09-28 11:41:48 +0100356 clocks = <&soc_refclk100mhz>;
357 clock-names = "apb_pclk";
358 wakeup-source;
359 };
Rupinderjit Singhd2d02982022-09-12 17:25:32 +0100360
Usama Arifbec5afd2020-04-17 16:13:39 +0100361 vencoder {
362 compatible = "drm,virtual-encoder";
363
364 port {
365 vencoder_in: endpoint {
Avinash Mehtadf71a602020-07-22 16:40:07 +0100366 remote-endpoint = <&dp_pl0_out0>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100367 };
368 };
369
370 display-timings {
371 panel-timing {
372 clock-frequency = <25175000>;
373 hactive = <640>;
374 vactive = <480>;
375 hfront-porch = <16>;
376 hback-porch = <48>;
377 hsync-len = <96>;
378 vfront-porch = <10>;
379 vback-porch = <33>;
380 vsync-len = <2>;
381 };
382 };
383
384 };
385
Usama Arifbec5afd2020-04-17 16:13:39 +0100386 ethernet@18000000 {
387 compatible = "smsc,lan91c111";
388 reg = <0x0 0x18000000 0x0 0x10000>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100389 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100390 };
391
392 kmi@1c060000 {
393 compatible = "arm,pl050", "arm,primecell";
394 reg = <0x0 0x001c060000 0x0 0x1000>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100395 interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100396 clocks = <&bp_clock24mhz>, <&bp_clock24mhz>;
397 clock-names = "KMIREFCLK", "apb_pclk";
398 };
399
400 kmi@1c070000 {
401 compatible = "arm,pl050", "arm,primecell";
402 reg = <0x0 0x001c070000 0x0 0x1000>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100403 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100404 clocks = <&bp_clock24mhz>, <&bp_clock24mhz>;
405 clock-names = "KMIREFCLK", "apb_pclk";
406 };
407
408 bp_clock24mhz: clock24mhz {
409 compatible = "fixed-clock";
410 #clock-cells = <0>;
411 clock-frequency = <24000000>;
412 clock-output-names = "bp:clock24mhz";
413 };
414
415 virtio_block@1c130000 {
416 compatible = "virtio,mmio";
417 reg = <0x0 0x1c130000 0x0 0x200>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100418 /* spec lists this wrong */
419 interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100420 };
421
Usama Arif1cd56dc2020-06-10 16:27:53 +0100422 sysreg: sysreg@1c010000 {
423 compatible = "arm,vexpress-sysreg";
424 reg = <0x0 0x001c010000 0x0 0x1000>;
425 gpio-controller;
426 #gpio-cells = <2>;
427 };
428
429 fixed_3v3: v2m-3v3 {
430 compatible = "regulator-fixed";
431 regulator-name = "3V3";
432 regulator-min-microvolt = <3300000>;
433 regulator-max-microvolt = <3300000>;
434 regulator-always-on;
435 };
436
437 mmci@1c050000 {
438 compatible = "arm,pl180", "arm,primecell";
439 reg = <0x0 0x001c050000 0x0 0x1000>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100440 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
441 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
Usama Arif1cd56dc2020-06-10 16:27:53 +0100442 cd-gpios = <&sysreg 0 0>;
443 wp-gpios = <&sysreg 1 0>;
444 bus-width = <8>;
445 max-frequency = <12000000>;
446 vmmc-supply = <&fixed_3v3>;
447 clocks = <&bp_clock24mhz>, <&bp_clock24mhz>;
448 clock-names = "mclk", "apb_pclk";
449 };
450
Rupinderjit Singhb2a75b82023-02-03 09:29:57 +0000451 gpu_clk: gpu_clk {
452 compatible = "fixed-clock";
453 #clock-cells = <0>;
454 clock-frequency = <1000000000>;
455 };
456
457 gpu_core_clk: gpu_core_clk {
458 compatible = "fixed-clock";
459 #clock-cells = <0>;
460 clock-frequency = <1000000000>;
461 };
462
Anders Dellien7a849802022-01-01 21:51:21 +0000463 gpu: gpu@2d000000 {
464 compatible = "arm,mali-midgard";
465 reg = <0x0 0x2d000000 0x0 0x200000>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100466 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
467 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
468 <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
Anders Dellien7a849802022-01-01 21:51:21 +0000469 interrupt-names = "JOB", "MMU", "GPU";
Ben Horgan80781a52023-07-26 20:45:27 +0100470 clocks = <&gpu_core_clk>;
471 clock-names = "shadercores";
472 power-domains = <&scmi_devpd 9>;
473 scmi-perf-domain = <3>;
Davidson Kce633122022-11-21 17:49:51 +0530474 iommus = <&smmu_700 0x200>;
Anders Dellien7a849802022-01-01 21:51:21 +0000475 };
476
Rupinderjit Singhb2a75b82023-02-03 09:29:57 +0000477 power_model@simple {
478 /*
479 * Numbers used are irrelevant to Titan,
480 * it helps suppressing the kernel warnings.
481 */
482 compatible = "arm,mali-simple-power-model";
483 static-coefficient = <2427750>;
484 dynamic-coefficient = <4687>;
485 ts = <20000 2000 (-20) 2>;
486 thermal-zone = "";
487 };
488
Davidson Kce633122022-11-21 17:49:51 +0530489 smmu_700: smmu_700@3f000000 {
Anders Delliena1914132022-01-01 21:56:25 +0000490 #iommu-cells = <1>;
491 compatible = "arm,smmu-v3";
Davidson Kce633122022-11-21 17:49:51 +0530492 reg = <0x0 0x3f000000 0x0 0x5000000>;
Kshitij Sisodiab32a8f42023-08-16 09:46:05 +0100493 interrupts = <GIC_SPI 228 IRQ_TYPE_EDGE_RISING>,
494 <GIC_SPI 229 IRQ_TYPE_EDGE_RISING>,
495 <GIC_SPI 230 IRQ_TYPE_EDGE_RISING>;
496 interrupt-names = "eventq", "cmdq-sync", "gerror";
Davidson Kce633122022-11-21 17:49:51 +0530497 dma-coherent;
Anders Delliena1914132022-01-01 21:56:25 +0000498 };
499
Usama Arifbec5afd2020-04-17 16:13:39 +0100500 dp0: display@2cc00000 {
501 #address-cells = <1>;
502 #size-cells = <0>;
503 compatible = "arm,mali-d71";
504 reg = <0 0x2cc00000 0 0x20000>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100505 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100506 interrupt-names = "DPU";
507 clocks = <&scmi_clk 0>;
508 clock-names = "aclk";
Davidson Kce633122022-11-21 17:49:51 +0530509 iommus = <&smmu_700 0x100>;
Ben Horgan80781a52023-07-26 20:45:27 +0100510 power-domains = <&scmi_devpd 10>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100511 pl0: pipeline@0 {
512 reg = <0>;
513 clocks = <&scmi_clk 1>;
514 clock-names = "pxclk";
515 pl_id = <0>;
516 ports {
517 #address-cells = <1>;
518 #size-cells = <0>;
519 port@0 {
520 reg = <0>;
521 dp_pl0_out0: endpoint {
522 remote-endpoint = <&vencoder_in>;
523 };
524 };
525 };
526 };
527
528 pl1: pipeline@1 {
529 reg = <1>;
530 clocks = <&scmi_clk 2>;
531 clock-names = "pxclk";
532 pl_id = <1>;
533 ports {
534 #address-cells = <1>;
535 #size-cells = <0>;
536 port@0 {
537 reg = <0>;
538 };
539 };
540 };
541 };
Arunachalam Ganapathyc44e43d2020-11-17 15:05:01 +0000542
Davidson K1ad2c412023-01-13 14:02:13 +0530543 /*
544 * L3 cache in the DSU is the Memory System Component (MSC)
545 * The MPAM registers are accessed through utility bus in the DSU
546 */
547 msc0 {
548 compatible = "arm,mpam-msc";
549 reg = <0x1 0x00010000 0x0 0x2000>;
550 };
551
Davidson K65361052021-10-13 18:49:41 +0530552 ete0 {
553 compatible = "arm,embedded-trace-extension";
554 cpu = <&CPU0>;
555 };
556
557 ete1 {
558 compatible = "arm,embedded-trace-extension";
559 cpu = <&CPU1>;
560 };
561
562 ete2 {
563 compatible = "arm,embedded-trace-extension";
564 cpu = <&CPU2>;
565 };
566
567 ete3 {
568 compatible = "arm,embedded-trace-extension";
569 cpu = <&CPU3>;
570 };
571
572 ete4 {
573 compatible = "arm,embedded-trace-extension";
574 cpu = <&CPU4>;
575 };
576
577 ete5 {
578 compatible = "arm,embedded-trace-extension";
579 cpu = <&CPU5>;
580 };
581
582 ete6 {
583 compatible = "arm,embedded-trace-extension";
584 cpu = <&CPU6>;
585 };
586
587 ete7 {
588 compatible = "arm,embedded-trace-extension";
589 cpu = <&CPU7>;
590 };
591
592 trbe0 {
593 compatible = "arm,trace-buffer-extension";
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100594 interrupts = <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>;
Davidson K65361052021-10-13 18:49:41 +0530595 };
Arunachalam Ganapathy63128dc2022-04-11 14:43:15 +0100596
597 trusty {
598 #size-cells = <0x02>;
599 #address-cells = <0x02>;
600 ranges = <0x00>;
601 compatible = "android,trusty-v1";
602
603 virtio {
604 compatible = "android,trusty-virtio-v1";
605 };
606
607 test {
608 compatible = "android,trusty-test-v1";
609 };
610
611 log {
612 compatible = "android,trusty-log-v1";
613 };
614
615 irq {
616 ipi-range = <0x08 0x0f 0x08>;
617 interrupt-ranges = <0x00 0x0f 0x00 0x10 0x1f 0x01 0x20 0x3f 0x02>;
618 interrupt-templates = <0x01 0x00 0x8001 0x01 0x01 0x04 0x8001 0x01 0x00 0x04>;
619 compatible = "android,trusty-irq-v1";
620 };
621 };
Usama Arifbec5afd2020-04-17 16:13:39 +0100622};