blob: 32100b1f8051055b08adb6f294c5ba127b76b1d8 [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 };
223 };
224
Usama Arifbec5afd2020-04-17 16:13:39 +0100225 psci {
Usama Arif7a64bfa2021-05-27 20:09:17 +0100226 compatible = "arm,psci-1.0", "arm,psci-0.2";
Usama Arifbec5afd2020-04-17 16:13:39 +0100227 method = "smc";
228 };
229
230 sram: sram@6000000 {
231 compatible = "mmio-sram";
232 reg = <0x0 0x06000000 0x0 0x8000>;
233
234 #address-cells = <1>;
235 #size-cells = <1>;
236 ranges = <0 0x0 0x06000000 0x8000>;
237
238 cpu_scp_scmi_mem: scp-shmem@0 {
239 compatible = "arm,scmi-shmem";
240 reg = <0x0 0x80>;
241 };
242 };
243
244 mbox_db_rx: mhu@45010000 {
Usama Arifb315c702021-05-27 20:01:39 +0100245 compatible = "arm,mhuv2-rx","arm,primecell";
Usama Arifbec5afd2020-04-17 16:13:39 +0100246 reg = <0x0 0x45010000 0x0 0x1000>;
247 clocks = <&soc_refclk100mhz>;
248 clock-names = "apb_pclk";
Usama Arifb315c702021-05-27 20:01:39 +0100249 #mbox-cells = <2>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100250 interrupts = <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100251 interrupt-names = "mhu_rx";
252 mhu-protocol = "doorbell";
Usama Arifb315c702021-05-27 20:01:39 +0100253 arm,mhuv2-protocols = <0 1>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100254 };
255
256 mbox_db_tx: mhu@45000000 {
Usama Arifb315c702021-05-27 20:01:39 +0100257 compatible = "arm,mhuv2-tx","arm,primecell";
Usama Arifbec5afd2020-04-17 16:13:39 +0100258 reg = <0x0 0x45000000 0x0 0x1000>;
259 clocks = <&soc_refclk100mhz>;
260 clock-names = "apb_pclk";
Usama Arifb315c702021-05-27 20:01:39 +0100261 #mbox-cells = <2>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100262 interrupt-names = "mhu_tx";
263 mhu-protocol = "doorbell";
Usama Arifb315c702021-05-27 20:01:39 +0100264 arm,mhuv2-protocols = <0 1>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100265 };
266
Rupinderjit Singh8c901962022-02-22 21:50:33 +0000267 cmn-pmu {
268 compatible = "arm,ci-700";
269 reg = <0x0 0x50000000 0x0 0x10000000>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100270 interrupts = <GIC_SPI 460 IRQ_TYPE_LEVEL_HIGH>;
Rupinderjit Singh8c901962022-02-22 21:50:33 +0000271 };
272
Usama Arifbec5afd2020-04-17 16:13:39 +0100273 scmi {
274 compatible = "arm,scmi";
Usama Arifbec5afd2020-04-17 16:13:39 +0100275 mbox-names = "tx", "rx";
Usama Arifb315c702021-05-27 20:01:39 +0100276 mboxes = <&mbox_db_tx 0 0 &mbox_db_rx 0 0 >;
Usama Arifbec5afd2020-04-17 16:13:39 +0100277 shmem = <&cpu_scp_scmi_mem &cpu_scp_scmi_mem>;
278 #address-cells = <1>;
279 #size-cells = <0>;
280
Ben Horgan80781a52023-07-26 20:45:27 +0100281 scmi_devpd: protocol@11 {
282 reg = <0x11>;
283 #power-domain-cells = <1>;
284 };
285
Usama Arifbec5afd2020-04-17 16:13:39 +0100286 scmi_dvfs: protocol@13 {
287 reg = <0x13>;
288 #clock-cells = <1>;
289 };
290
291 scmi_clk: protocol@14 {
292 reg = <0x14>;
293 #clock-cells = <1>;
294 };
295 };
296
297 gic: interrupt-controller@2c010000 {
298 compatible = "arm,gic-600", "arm,gic-v3";
299 #address-cells = <2>;
300 #interrupt-cells = <3>;
301 #size-cells = <2>;
302 ranges;
303 interrupt-controller;
304 reg = <0x0 0x30000000 0 0x10000>, /* GICD */
Usama Ariffdfd2502021-03-30 16:39:19 +0100305 <0x0 0x30080000 0 0x200000>; /* GICR */
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100306 interrupts = <GIC_PPI 0x9 IRQ_TYPE_LEVEL_LOW>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100307 };
308
309 timer {
310 compatible = "arm,armv8-timer";
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100311 interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
312 <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
313 <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
314 <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100315 };
316
317 soc_refclk100mhz: refclk100mhz {
318 compatible = "fixed-clock";
319 #clock-cells = <0>;
320 clock-frequency = <100000000>;
321 clock-output-names = "apb_pclk";
322 };
323
324 soc_refclk60mhz: refclk60mhz {
325 compatible = "fixed-clock";
326 #clock-cells = <0>;
327 clock-frequency = <60000000>;
328 clock-output-names = "iofpga_clk";
329 };
330
331 soc_uartclk: uartclk {
332 compatible = "fixed-clock";
333 #clock-cells = <0>;
334 clock-frequency = <50000000>;
335 clock-output-names = "uartclk";
336 };
337
annsai017c607f22023-02-20 13:34:57 +0000338 ap_ns_uart: uart@2A400000 {
Usama Arifbec5afd2020-04-17 16:13:39 +0100339 compatible = "arm,pl011", "arm,primecell";
annsai017c607f22023-02-20 13:34:57 +0000340 reg = <0x0 0x2A400000 0x0 0x1000>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100341 interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100342 clocks = <&soc_uartclk>, <&soc_refclk100mhz>;
343 clock-names = "uartclk", "apb_pclk";
344 status = "okay";
345 };
346
Jayanth Dodderi Chidanand2858cf52022-09-28 11:41:48 +0100347 rtc0: rtc@1C170000 {
348 compatible = "arm,pl031", "arm,primecell";
349 reg = <0x0 0x1C170000 0x0 0x1000>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100350 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
Jayanth Dodderi Chidanand2858cf52022-09-28 11:41:48 +0100351 clocks = <&soc_refclk100mhz>;
352 clock-names = "apb_pclk";
353 wakeup-source;
354 };
Rupinderjit Singhd2d02982022-09-12 17:25:32 +0100355
Usama Arifbec5afd2020-04-17 16:13:39 +0100356 vencoder {
357 compatible = "drm,virtual-encoder";
358
359 port {
360 vencoder_in: endpoint {
Avinash Mehtadf71a602020-07-22 16:40:07 +0100361 remote-endpoint = <&dp_pl0_out0>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100362 };
363 };
364
365 display-timings {
366 panel-timing {
367 clock-frequency = <25175000>;
368 hactive = <640>;
369 vactive = <480>;
370 hfront-porch = <16>;
371 hback-porch = <48>;
372 hsync-len = <96>;
373 vfront-porch = <10>;
374 vback-porch = <33>;
375 vsync-len = <2>;
376 };
377 };
378
379 };
380
381 hdlcd: hdlcd@7ff60000 {
382 compatible = "arm,hdlcd";
383 reg = <0x0 0x7ff60000 0x0 0x1000>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100384 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100385 clocks = <&fake_hdlcd_clk>;
386 clock-names = "pxlclk";
Avinash Mehtadf71a602020-07-22 16:40:07 +0100387 status = "disabled";
Usama Arifbec5afd2020-04-17 16:13:39 +0100388
389 port {
390 hdlcd_out: endpoint {
391 remote-endpoint = <&vencoder_in>;
392 };
393 };
394 };
395
396 fake_hdlcd_clk: fake-hdlcd-clk {
397 compatible = "fixed-clock";
398 #clock-cells = <0>;
399 clock-frequency = <25175000>;
400 clock-output-names = "pxlclk";
401 };
402
403 ethernet@18000000 {
404 compatible = "smsc,lan91c111";
405 reg = <0x0 0x18000000 0x0 0x10000>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100406 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100407 };
408
409 kmi@1c060000 {
410 compatible = "arm,pl050", "arm,primecell";
411 reg = <0x0 0x001c060000 0x0 0x1000>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100412 interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100413 clocks = <&bp_clock24mhz>, <&bp_clock24mhz>;
414 clock-names = "KMIREFCLK", "apb_pclk";
415 };
416
417 kmi@1c070000 {
418 compatible = "arm,pl050", "arm,primecell";
419 reg = <0x0 0x001c070000 0x0 0x1000>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100420 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100421 clocks = <&bp_clock24mhz>, <&bp_clock24mhz>;
422 clock-names = "KMIREFCLK", "apb_pclk";
423 };
424
425 bp_clock24mhz: clock24mhz {
426 compatible = "fixed-clock";
427 #clock-cells = <0>;
428 clock-frequency = <24000000>;
429 clock-output-names = "bp:clock24mhz";
430 };
431
432 virtio_block@1c130000 {
433 compatible = "virtio,mmio";
434 reg = <0x0 0x1c130000 0x0 0x200>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100435 /* spec lists this wrong */
436 interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100437 };
438
Usama Arif1cd56dc2020-06-10 16:27:53 +0100439 sysreg: sysreg@1c010000 {
440 compatible = "arm,vexpress-sysreg";
441 reg = <0x0 0x001c010000 0x0 0x1000>;
442 gpio-controller;
443 #gpio-cells = <2>;
444 };
445
446 fixed_3v3: v2m-3v3 {
447 compatible = "regulator-fixed";
448 regulator-name = "3V3";
449 regulator-min-microvolt = <3300000>;
450 regulator-max-microvolt = <3300000>;
451 regulator-always-on;
452 };
453
454 mmci@1c050000 {
455 compatible = "arm,pl180", "arm,primecell";
456 reg = <0x0 0x001c050000 0x0 0x1000>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100457 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
458 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
Usama Arif1cd56dc2020-06-10 16:27:53 +0100459 cd-gpios = <&sysreg 0 0>;
460 wp-gpios = <&sysreg 1 0>;
461 bus-width = <8>;
462 max-frequency = <12000000>;
463 vmmc-supply = <&fixed_3v3>;
464 clocks = <&bp_clock24mhz>, <&bp_clock24mhz>;
465 clock-names = "mclk", "apb_pclk";
466 };
467
Rupinderjit Singhb2a75b82023-02-03 09:29:57 +0000468 gpu_clk: gpu_clk {
469 compatible = "fixed-clock";
470 #clock-cells = <0>;
471 clock-frequency = <1000000000>;
472 };
473
474 gpu_core_clk: gpu_core_clk {
475 compatible = "fixed-clock";
476 #clock-cells = <0>;
477 clock-frequency = <1000000000>;
478 };
479
Anders Dellien7a849802022-01-01 21:51:21 +0000480 gpu: gpu@2d000000 {
481 compatible = "arm,mali-midgard";
482 reg = <0x0 0x2d000000 0x0 0x200000>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100483 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
484 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
485 <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
Anders Dellien7a849802022-01-01 21:51:21 +0000486 interrupt-names = "JOB", "MMU", "GPU";
Ben Horgan80781a52023-07-26 20:45:27 +0100487 clocks = <&gpu_core_clk>;
488 clock-names = "shadercores";
489 power-domains = <&scmi_devpd 9>;
490 scmi-perf-domain = <3>;
Davidson Kce633122022-11-21 17:49:51 +0530491 iommus = <&smmu_700 0x200>;
Anders Dellien7a849802022-01-01 21:51:21 +0000492 };
493
Rupinderjit Singhb2a75b82023-02-03 09:29:57 +0000494 power_model@simple {
495 /*
496 * Numbers used are irrelevant to Titan,
497 * it helps suppressing the kernel warnings.
498 */
499 compatible = "arm,mali-simple-power-model";
500 static-coefficient = <2427750>;
501 dynamic-coefficient = <4687>;
502 ts = <20000 2000 (-20) 2>;
503 thermal-zone = "";
504 };
505
Davidson Kce633122022-11-21 17:49:51 +0530506 smmu_700: smmu_700@3f000000 {
Anders Delliena1914132022-01-01 21:56:25 +0000507 #iommu-cells = <1>;
508 compatible = "arm,smmu-v3";
Davidson Kce633122022-11-21 17:49:51 +0530509 reg = <0x0 0x3f000000 0x0 0x5000000>;
Kshitij Sisodiab32a8f42023-08-16 09:46:05 +0100510 interrupts = <GIC_SPI 228 IRQ_TYPE_EDGE_RISING>,
511 <GIC_SPI 229 IRQ_TYPE_EDGE_RISING>,
512 <GIC_SPI 230 IRQ_TYPE_EDGE_RISING>;
513 interrupt-names = "eventq", "cmdq-sync", "gerror";
Davidson Kce633122022-11-21 17:49:51 +0530514 dma-coherent;
Anders Delliena1914132022-01-01 21:56:25 +0000515 };
516
Usama Arifbec5afd2020-04-17 16:13:39 +0100517 dp0: display@2cc00000 {
518 #address-cells = <1>;
519 #size-cells = <0>;
520 compatible = "arm,mali-d71";
521 reg = <0 0x2cc00000 0 0x20000>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100522 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100523 interrupt-names = "DPU";
524 clocks = <&scmi_clk 0>;
525 clock-names = "aclk";
Davidson Kce633122022-11-21 17:49:51 +0530526 iommus = <&smmu_700 0x100>;
Ben Horgan80781a52023-07-26 20:45:27 +0100527 power-domains = <&scmi_devpd 10>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100528 pl0: pipeline@0 {
529 reg = <0>;
530 clocks = <&scmi_clk 1>;
531 clock-names = "pxclk";
532 pl_id = <0>;
533 ports {
534 #address-cells = <1>;
535 #size-cells = <0>;
536 port@0 {
537 reg = <0>;
538 dp_pl0_out0: endpoint {
539 remote-endpoint = <&vencoder_in>;
540 };
541 };
542 };
543 };
544
545 pl1: pipeline@1 {
546 reg = <1>;
547 clocks = <&scmi_clk 2>;
548 clock-names = "pxclk";
549 pl_id = <1>;
550 ports {
551 #address-cells = <1>;
552 #size-cells = <0>;
553 port@0 {
554 reg = <0>;
555 };
556 };
557 };
558 };
Arunachalam Ganapathyc44e43d2020-11-17 15:05:01 +0000559
Davidson K1ad2c412023-01-13 14:02:13 +0530560 /*
561 * L3 cache in the DSU is the Memory System Component (MSC)
562 * The MPAM registers are accessed through utility bus in the DSU
563 */
564 msc0 {
565 compatible = "arm,mpam-msc";
566 reg = <0x1 0x00010000 0x0 0x2000>;
567 };
568
Davidson K65361052021-10-13 18:49:41 +0530569 ete0 {
570 compatible = "arm,embedded-trace-extension";
571 cpu = <&CPU0>;
572 };
573
574 ete1 {
575 compatible = "arm,embedded-trace-extension";
576 cpu = <&CPU1>;
577 };
578
579 ete2 {
580 compatible = "arm,embedded-trace-extension";
581 cpu = <&CPU2>;
582 };
583
584 ete3 {
585 compatible = "arm,embedded-trace-extension";
586 cpu = <&CPU3>;
587 };
588
589 ete4 {
590 compatible = "arm,embedded-trace-extension";
591 cpu = <&CPU4>;
592 };
593
594 ete5 {
595 compatible = "arm,embedded-trace-extension";
596 cpu = <&CPU5>;
597 };
598
599 ete6 {
600 compatible = "arm,embedded-trace-extension";
601 cpu = <&CPU6>;
602 };
603
604 ete7 {
605 compatible = "arm,embedded-trace-extension";
606 cpu = <&CPU7>;
607 };
608
609 trbe0 {
610 compatible = "arm,trace-buffer-extension";
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100611 interrupts = <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>;
Davidson K65361052021-10-13 18:49:41 +0530612 };
Usama Arifbec5afd2020-04-17 16:13:39 +0100613};