blob: c616c003b60cfbbc3402275321fcaca401b972ee [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
386 hdlcd: hdlcd@7ff60000 {
387 compatible = "arm,hdlcd";
388 reg = <0x0 0x7ff60000 0x0 0x1000>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100389 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100390 clocks = <&fake_hdlcd_clk>;
391 clock-names = "pxlclk";
Avinash Mehtadf71a602020-07-22 16:40:07 +0100392 status = "disabled";
Usama Arifbec5afd2020-04-17 16:13:39 +0100393
394 port {
395 hdlcd_out: endpoint {
396 remote-endpoint = <&vencoder_in>;
397 };
398 };
399 };
400
401 fake_hdlcd_clk: fake-hdlcd-clk {
402 compatible = "fixed-clock";
403 #clock-cells = <0>;
404 clock-frequency = <25175000>;
405 clock-output-names = "pxlclk";
406 };
407
408 ethernet@18000000 {
409 compatible = "smsc,lan91c111";
410 reg = <0x0 0x18000000 0x0 0x10000>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100411 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100412 };
413
414 kmi@1c060000 {
415 compatible = "arm,pl050", "arm,primecell";
416 reg = <0x0 0x001c060000 0x0 0x1000>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100417 interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100418 clocks = <&bp_clock24mhz>, <&bp_clock24mhz>;
419 clock-names = "KMIREFCLK", "apb_pclk";
420 };
421
422 kmi@1c070000 {
423 compatible = "arm,pl050", "arm,primecell";
424 reg = <0x0 0x001c070000 0x0 0x1000>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100425 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100426 clocks = <&bp_clock24mhz>, <&bp_clock24mhz>;
427 clock-names = "KMIREFCLK", "apb_pclk";
428 };
429
430 bp_clock24mhz: clock24mhz {
431 compatible = "fixed-clock";
432 #clock-cells = <0>;
433 clock-frequency = <24000000>;
434 clock-output-names = "bp:clock24mhz";
435 };
436
437 virtio_block@1c130000 {
438 compatible = "virtio,mmio";
439 reg = <0x0 0x1c130000 0x0 0x200>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100440 /* spec lists this wrong */
441 interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100442 };
443
Usama Arif1cd56dc2020-06-10 16:27:53 +0100444 sysreg: sysreg@1c010000 {
445 compatible = "arm,vexpress-sysreg";
446 reg = <0x0 0x001c010000 0x0 0x1000>;
447 gpio-controller;
448 #gpio-cells = <2>;
449 };
450
451 fixed_3v3: v2m-3v3 {
452 compatible = "regulator-fixed";
453 regulator-name = "3V3";
454 regulator-min-microvolt = <3300000>;
455 regulator-max-microvolt = <3300000>;
456 regulator-always-on;
457 };
458
459 mmci@1c050000 {
460 compatible = "arm,pl180", "arm,primecell";
461 reg = <0x0 0x001c050000 0x0 0x1000>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100462 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
463 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
Usama Arif1cd56dc2020-06-10 16:27:53 +0100464 cd-gpios = <&sysreg 0 0>;
465 wp-gpios = <&sysreg 1 0>;
466 bus-width = <8>;
467 max-frequency = <12000000>;
468 vmmc-supply = <&fixed_3v3>;
469 clocks = <&bp_clock24mhz>, <&bp_clock24mhz>;
470 clock-names = "mclk", "apb_pclk";
471 };
472
Rupinderjit Singhb2a75b82023-02-03 09:29:57 +0000473 gpu_clk: gpu_clk {
474 compatible = "fixed-clock";
475 #clock-cells = <0>;
476 clock-frequency = <1000000000>;
477 };
478
479 gpu_core_clk: gpu_core_clk {
480 compatible = "fixed-clock";
481 #clock-cells = <0>;
482 clock-frequency = <1000000000>;
483 };
484
Anders Dellien7a849802022-01-01 21:51:21 +0000485 gpu: gpu@2d000000 {
486 compatible = "arm,mali-midgard";
487 reg = <0x0 0x2d000000 0x0 0x200000>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100488 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
489 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
490 <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
Anders Dellien7a849802022-01-01 21:51:21 +0000491 interrupt-names = "JOB", "MMU", "GPU";
Ben Horgan80781a52023-07-26 20:45:27 +0100492 clocks = <&gpu_core_clk>;
493 clock-names = "shadercores";
494 power-domains = <&scmi_devpd 9>;
495 scmi-perf-domain = <3>;
Davidson Kce633122022-11-21 17:49:51 +0530496 iommus = <&smmu_700 0x200>;
Anders Dellien7a849802022-01-01 21:51:21 +0000497 };
498
Rupinderjit Singhb2a75b82023-02-03 09:29:57 +0000499 power_model@simple {
500 /*
501 * Numbers used are irrelevant to Titan,
502 * it helps suppressing the kernel warnings.
503 */
504 compatible = "arm,mali-simple-power-model";
505 static-coefficient = <2427750>;
506 dynamic-coefficient = <4687>;
507 ts = <20000 2000 (-20) 2>;
508 thermal-zone = "";
509 };
510
Davidson Kce633122022-11-21 17:49:51 +0530511 smmu_700: smmu_700@3f000000 {
Anders Delliena1914132022-01-01 21:56:25 +0000512 #iommu-cells = <1>;
513 compatible = "arm,smmu-v3";
Davidson Kce633122022-11-21 17:49:51 +0530514 reg = <0x0 0x3f000000 0x0 0x5000000>;
Kshitij Sisodiab32a8f42023-08-16 09:46:05 +0100515 interrupts = <GIC_SPI 228 IRQ_TYPE_EDGE_RISING>,
516 <GIC_SPI 229 IRQ_TYPE_EDGE_RISING>,
517 <GIC_SPI 230 IRQ_TYPE_EDGE_RISING>;
518 interrupt-names = "eventq", "cmdq-sync", "gerror";
Davidson Kce633122022-11-21 17:49:51 +0530519 dma-coherent;
Anders Delliena1914132022-01-01 21:56:25 +0000520 };
521
Usama Arifbec5afd2020-04-17 16:13:39 +0100522 dp0: display@2cc00000 {
523 #address-cells = <1>;
524 #size-cells = <0>;
525 compatible = "arm,mali-d71";
526 reg = <0 0x2cc00000 0 0x20000>;
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100527 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100528 interrupt-names = "DPU";
529 clocks = <&scmi_clk 0>;
530 clock-names = "aclk";
Davidson Kce633122022-11-21 17:49:51 +0530531 iommus = <&smmu_700 0x100>;
Ben Horgan80781a52023-07-26 20:45:27 +0100532 power-domains = <&scmi_devpd 10>;
Usama Arifbec5afd2020-04-17 16:13:39 +0100533 pl0: pipeline@0 {
534 reg = <0>;
535 clocks = <&scmi_clk 1>;
536 clock-names = "pxclk";
537 pl_id = <0>;
538 ports {
539 #address-cells = <1>;
540 #size-cells = <0>;
541 port@0 {
542 reg = <0>;
543 dp_pl0_out0: endpoint {
544 remote-endpoint = <&vencoder_in>;
545 };
546 };
547 };
548 };
549
550 pl1: pipeline@1 {
551 reg = <1>;
552 clocks = <&scmi_clk 2>;
553 clock-names = "pxclk";
554 pl_id = <1>;
555 ports {
556 #address-cells = <1>;
557 #size-cells = <0>;
558 port@0 {
559 reg = <0>;
560 };
561 };
562 };
563 };
Arunachalam Ganapathyc44e43d2020-11-17 15:05:01 +0000564
Davidson K1ad2c412023-01-13 14:02:13 +0530565 /*
566 * L3 cache in the DSU is the Memory System Component (MSC)
567 * The MPAM registers are accessed through utility bus in the DSU
568 */
569 msc0 {
570 compatible = "arm,mpam-msc";
571 reg = <0x1 0x00010000 0x0 0x2000>;
572 };
573
Davidson K65361052021-10-13 18:49:41 +0530574 ete0 {
575 compatible = "arm,embedded-trace-extension";
576 cpu = <&CPU0>;
577 };
578
579 ete1 {
580 compatible = "arm,embedded-trace-extension";
581 cpu = <&CPU1>;
582 };
583
584 ete2 {
585 compatible = "arm,embedded-trace-extension";
586 cpu = <&CPU2>;
587 };
588
589 ete3 {
590 compatible = "arm,embedded-trace-extension";
591 cpu = <&CPU3>;
592 };
593
594 ete4 {
595 compatible = "arm,embedded-trace-extension";
596 cpu = <&CPU4>;
597 };
598
599 ete5 {
600 compatible = "arm,embedded-trace-extension";
601 cpu = <&CPU5>;
602 };
603
604 ete6 {
605 compatible = "arm,embedded-trace-extension";
606 cpu = <&CPU6>;
607 };
608
609 ete7 {
610 compatible = "arm,embedded-trace-extension";
611 cpu = <&CPU7>;
612 };
613
614 trbe0 {
615 compatible = "arm,trace-buffer-extension";
Boyan Karatotev25c4fb72023-08-08 15:37:52 +0100616 interrupts = <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>;
Davidson K65361052021-10-13 18:49:41 +0530617 };
Arunachalam Ganapathy63128dc2022-04-11 14:43:15 +0100618
619 trusty {
620 #size-cells = <0x02>;
621 #address-cells = <0x02>;
622 ranges = <0x00>;
623 compatible = "android,trusty-v1";
624
625 virtio {
626 compatible = "android,trusty-virtio-v1";
627 };
628
629 test {
630 compatible = "android,trusty-test-v1";
631 };
632
633 log {
634 compatible = "android,trusty-log-v1";
635 };
636
637 irq {
638 ipi-range = <0x08 0x0f 0x08>;
639 interrupt-ranges = <0x00 0x0f 0x00 0x10 0x1f 0x01 0x20 0x3f 0x02>;
640 interrupt-templates = <0x01 0x00 0x8001 0x01 0x01 0x04 0x8001 0x01 0x00 0x04>;
641 compatible = "android,trusty-irq-v1";
642 };
643 };
Usama Arifbec5afd2020-04-17 16:13:39 +0100644};