blob: 75776decd2186f7dd586328dbba4cf44a5f538a7 [file] [log] [blame]
Biju Das25e0b962020-09-16 09:05:07 +01001// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for the r8a774b1 SoC
4 *
Adam Ford8d9bdf42021-02-03 06:57:18 -06005 * Copyright (C) 2019 Renesas Electronics Corp.
Biju Das25e0b962020-09-16 09:05:07 +01006 */
7
8#include <dt-bindings/interrupt-controller/irq.h>
9#include <dt-bindings/interrupt-controller/arm-gic.h>
10#include <dt-bindings/clock/r8a774b1-cpg-mssr.h>
11#include <dt-bindings/power/r8a774b1-sysc.h>
12
13#define CPG_AUDIO_CLK_I R8A774B1_CLK_S0D4
14
15/ {
16 compatible = "renesas,r8a774b1";
17 #address-cells = <2>;
18 #size-cells = <2>;
19
20 /*
21 * The external audio clocks are configured as 0 Hz fixed frequency
22 * clocks by default.
23 * Boards that provide audio clocks should override them.
24 */
25 audio_clk_a: audio_clk_a {
26 compatible = "fixed-clock";
27 #clock-cells = <0>;
28 clock-frequency = <0>;
29 };
30
31 audio_clk_b: audio_clk_b {
32 compatible = "fixed-clock";
33 #clock-cells = <0>;
34 clock-frequency = <0>;
35 };
36
37 audio_clk_c: audio_clk_c {
38 compatible = "fixed-clock";
39 #clock-cells = <0>;
40 clock-frequency = <0>;
41 };
42
43 /* External CAN clock - to be overridden by boards that provide it */
44 can_clk: can {
45 compatible = "fixed-clock";
46 #clock-cells = <0>;
47 clock-frequency = <0>;
48 };
49
Marek Vasut2a8450f2023-01-26 21:01:32 +010050 cluster0_opp: opp-table-0 {
Biju Das25e0b962020-09-16 09:05:07 +010051 compatible = "operating-points-v2";
52 opp-shared;
53
54 opp-500000000 {
55 opp-hz = /bits/ 64 <500000000>;
56 opp-microvolt = <830000>;
57 clock-latency-ns = <300000>;
58 };
59 opp-1000000000 {
60 opp-hz = /bits/ 64 <1000000000>;
61 opp-microvolt = <830000>;
62 clock-latency-ns = <300000>;
63 };
64 opp-1500000000 {
65 opp-hz = /bits/ 64 <1500000000>;
66 opp-microvolt = <830000>;
67 clock-latency-ns = <300000>;
68 opp-suspend;
69 };
70 };
71
72 cpus {
73 #address-cells = <1>;
74 #size-cells = <0>;
75
76 a57_0: cpu@0 {
77 compatible = "arm,cortex-a57";
78 reg = <0x0>;
79 device_type = "cpu";
80 power-domains = <&sysc R8A774B1_PD_CA57_CPU0>;
81 next-level-cache = <&L2_CA57>;
82 enable-method = "psci";
83 #cooling-cells = <2>;
84 dynamic-power-coefficient = <854>;
85 clocks = <&cpg CPG_CORE R8A774B1_CLK_Z>;
86 operating-points-v2 = <&cluster0_opp>;
87 };
88
89 a57_1: cpu@1 {
90 compatible = "arm,cortex-a57";
91 reg = <0x1>;
92 device_type = "cpu";
93 power-domains = <&sysc R8A774B1_PD_CA57_CPU1>;
94 next-level-cache = <&L2_CA57>;
95 enable-method = "psci";
96 clocks = <&cpg CPG_CORE R8A774B1_CLK_Z>;
97 operating-points-v2 = <&cluster0_opp>;
98 };
99
100 L2_CA57: cache-controller-0 {
101 compatible = "cache";
102 power-domains = <&sysc R8A774B1_PD_CA57_SCU>;
103 cache-unified;
104 cache-level = <2>;
105 };
106 };
107
108 extal_clk: extal {
109 compatible = "fixed-clock";
110 #clock-cells = <0>;
111 /* This value must be overridden by the board */
112 clock-frequency = <0>;
113 };
114
115 extalr_clk: extalr {
116 compatible = "fixed-clock";
117 #clock-cells = <0>;
118 /* This value must be overridden by the board */
119 clock-frequency = <0>;
120 };
121
122 /* External PCIe clock - can be overridden by the board */
123 pcie_bus_clk: pcie_bus {
124 compatible = "fixed-clock";
125 #clock-cells = <0>;
126 clock-frequency = <0>;
127 };
128
129 pmu_a57 {
130 compatible = "arm,cortex-a57-pmu";
131 interrupts-extended = <&gic GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
132 <&gic GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
133 interrupt-affinity = <&a57_0>, <&a57_1>;
134 };
135
136 psci {
137 compatible = "arm,psci-1.0", "arm,psci-0.2";
138 method = "smc";
139 };
140
141 /* External SCIF clock - to be overridden by boards that provide it */
142 scif_clk: scif {
143 compatible = "fixed-clock";
144 #clock-cells = <0>;
145 clock-frequency = <0>;
146 };
147
148 soc {
149 compatible = "simple-bus";
150 interrupt-parent = <&gic>;
151 #address-cells = <2>;
152 #size-cells = <2>;
153 ranges;
154
155 rwdt: watchdog@e6020000 {
156 compatible = "renesas,r8a774b1-wdt",
157 "renesas,rcar-gen3-wdt";
158 reg = <0 0xe6020000 0 0x0c>;
Marek Vasut2a8450f2023-01-26 21:01:32 +0100159 interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
Biju Das25e0b962020-09-16 09:05:07 +0100160 clocks = <&cpg CPG_MOD 402>;
161 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
162 resets = <&cpg 402>;
163 status = "disabled";
164 };
165
166 gpio0: gpio@e6050000 {
167 compatible = "renesas,gpio-r8a774b1",
168 "renesas,rcar-gen3-gpio";
169 reg = <0 0xe6050000 0 0x50>;
170 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
171 #gpio-cells = <2>;
172 gpio-controller;
173 gpio-ranges = <&pfc 0 0 16>;
174 #interrupt-cells = <2>;
175 interrupt-controller;
176 clocks = <&cpg CPG_MOD 912>;
177 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
178 resets = <&cpg 912>;
179 };
180
181 gpio1: gpio@e6051000 {
182 compatible = "renesas,gpio-r8a774b1",
183 "renesas,rcar-gen3-gpio";
184 reg = <0 0xe6051000 0 0x50>;
185 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
186 #gpio-cells = <2>;
187 gpio-controller;
188 gpio-ranges = <&pfc 0 32 29>;
189 #interrupt-cells = <2>;
190 interrupt-controller;
191 clocks = <&cpg CPG_MOD 911>;
192 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
193 resets = <&cpg 911>;
194 };
195
196 gpio2: gpio@e6052000 {
197 compatible = "renesas,gpio-r8a774b1",
198 "renesas,rcar-gen3-gpio";
199 reg = <0 0xe6052000 0 0x50>;
200 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
201 #gpio-cells = <2>;
202 gpio-controller;
203 gpio-ranges = <&pfc 0 64 15>;
204 #interrupt-cells = <2>;
205 interrupt-controller;
206 clocks = <&cpg CPG_MOD 910>;
207 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
208 resets = <&cpg 910>;
209 };
210
211 gpio3: gpio@e6053000 {
212 compatible = "renesas,gpio-r8a774b1",
213 "renesas,rcar-gen3-gpio";
214 reg = <0 0xe6053000 0 0x50>;
215 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
216 #gpio-cells = <2>;
217 gpio-controller;
218 gpio-ranges = <&pfc 0 96 16>;
219 #interrupt-cells = <2>;
220 interrupt-controller;
221 clocks = <&cpg CPG_MOD 909>;
222 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
223 resets = <&cpg 909>;
224 };
225
226 gpio4: gpio@e6054000 {
227 compatible = "renesas,gpio-r8a774b1",
228 "renesas,rcar-gen3-gpio";
229 reg = <0 0xe6054000 0 0x50>;
230 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
231 #gpio-cells = <2>;
232 gpio-controller;
233 gpio-ranges = <&pfc 0 128 18>;
234 #interrupt-cells = <2>;
235 interrupt-controller;
236 clocks = <&cpg CPG_MOD 908>;
237 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
238 resets = <&cpg 908>;
239 };
240
241 gpio5: gpio@e6055000 {
242 compatible = "renesas,gpio-r8a774b1",
243 "renesas,rcar-gen3-gpio";
244 reg = <0 0xe6055000 0 0x50>;
245 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
246 #gpio-cells = <2>;
247 gpio-controller;
248 gpio-ranges = <&pfc 0 160 26>;
249 #interrupt-cells = <2>;
250 interrupt-controller;
251 clocks = <&cpg CPG_MOD 907>;
252 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
253 resets = <&cpg 907>;
254 };
255
256 gpio6: gpio@e6055400 {
257 compatible = "renesas,gpio-r8a774b1",
258 "renesas,rcar-gen3-gpio";
259 reg = <0 0xe6055400 0 0x50>;
260 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
261 #gpio-cells = <2>;
262 gpio-controller;
263 gpio-ranges = <&pfc 0 192 32>;
264 #interrupt-cells = <2>;
265 interrupt-controller;
266 clocks = <&cpg CPG_MOD 906>;
267 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
268 resets = <&cpg 906>;
269 };
270
271 gpio7: gpio@e6055800 {
272 compatible = "renesas,gpio-r8a774b1",
273 "renesas,rcar-gen3-gpio";
274 reg = <0 0xe6055800 0 0x50>;
275 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
276 #gpio-cells = <2>;
277 gpio-controller;
278 gpio-ranges = <&pfc 0 224 4>;
279 #interrupt-cells = <2>;
280 interrupt-controller;
281 clocks = <&cpg CPG_MOD 905>;
282 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
283 resets = <&cpg 905>;
284 };
285
Adam Ford8d9bdf42021-02-03 06:57:18 -0600286 pfc: pinctrl@e6060000 {
Biju Das25e0b962020-09-16 09:05:07 +0100287 compatible = "renesas,pfc-r8a774b1";
288 reg = <0 0xe6060000 0 0x50c>;
289 };
290
291 cmt0: timer@e60f0000 {
292 compatible = "renesas,r8a774b1-cmt0",
293 "renesas,rcar-gen3-cmt0";
294 reg = <0 0xe60f0000 0 0x1004>;
295 interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
296 <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
297 clocks = <&cpg CPG_MOD 303>;
298 clock-names = "fck";
299 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
300 resets = <&cpg 303>;
301 status = "disabled";
302 };
303
304 cmt1: timer@e6130000 {
305 compatible = "renesas,r8a774b1-cmt1",
306 "renesas,rcar-gen3-cmt1";
307 reg = <0 0xe6130000 0 0x1004>;
308 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
309 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
310 <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
311 <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
312 <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
313 <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
314 <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
315 <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
316 clocks = <&cpg CPG_MOD 302>;
317 clock-names = "fck";
318 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
319 resets = <&cpg 302>;
320 status = "disabled";
321 };
322
323 cmt2: timer@e6140000 {
324 compatible = "renesas,r8a774b1-cmt1",
325 "renesas,rcar-gen3-cmt1";
326 reg = <0 0xe6140000 0 0x1004>;
327 interrupts = <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>,
328 <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>,
329 <GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>,
330 <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>,
331 <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>,
332 <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>,
333 <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>,
334 <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>;
335 clocks = <&cpg CPG_MOD 301>;
336 clock-names = "fck";
337 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
338 resets = <&cpg 301>;
339 status = "disabled";
340 };
341
342 cmt3: timer@e6148000 {
343 compatible = "renesas,r8a774b1-cmt1",
344 "renesas,rcar-gen3-cmt1";
345 reg = <0 0xe6148000 0 0x1004>;
346 interrupts = <GIC_SPI 470 IRQ_TYPE_LEVEL_HIGH>,
347 <GIC_SPI 471 IRQ_TYPE_LEVEL_HIGH>,
348 <GIC_SPI 472 IRQ_TYPE_LEVEL_HIGH>,
349 <GIC_SPI 473 IRQ_TYPE_LEVEL_HIGH>,
350 <GIC_SPI 474 IRQ_TYPE_LEVEL_HIGH>,
351 <GIC_SPI 475 IRQ_TYPE_LEVEL_HIGH>,
352 <GIC_SPI 476 IRQ_TYPE_LEVEL_HIGH>,
353 <GIC_SPI 477 IRQ_TYPE_LEVEL_HIGH>;
354 clocks = <&cpg CPG_MOD 300>;
355 clock-names = "fck";
356 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
357 resets = <&cpg 300>;
358 status = "disabled";
359 };
360
361 cpg: clock-controller@e6150000 {
362 compatible = "renesas,r8a774b1-cpg-mssr";
363 reg = <0 0xe6150000 0 0x1000>;
364 clocks = <&extal_clk>, <&extalr_clk>;
365 clock-names = "extal", "extalr";
366 #clock-cells = <2>;
367 #power-domain-cells = <0>;
368 #reset-cells = <1>;
369 };
370
371 rst: reset-controller@e6160000 {
372 compatible = "renesas,r8a774b1-rst";
373 reg = <0 0xe6160000 0 0x0200>;
374 };
375
376 sysc: system-controller@e6180000 {
377 compatible = "renesas,r8a774b1-sysc";
378 reg = <0 0xe6180000 0 0x0400>;
379 #power-domain-cells = <1>;
380 };
381
382 tsc: thermal@e6198000 {
383 compatible = "renesas,r8a774b1-thermal";
384 reg = <0 0xe6198000 0 0x100>,
385 <0 0xe61a0000 0 0x100>,
386 <0 0xe61a8000 0 0x100>;
387 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
388 <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
389 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
390 clocks = <&cpg CPG_MOD 522>;
391 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
392 resets = <&cpg 522>;
393 #thermal-sensor-cells = <1>;
394 };
395
396 intc_ex: interrupt-controller@e61c0000 {
397 compatible = "renesas,intc-ex-r8a774b1", "renesas,irqc";
398 #interrupt-cells = <2>;
399 interrupt-controller;
400 reg = <0 0xe61c0000 0 0x200>;
401 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
402 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
403 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
404 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
405 <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
406 <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
407 clocks = <&cpg CPG_MOD 407>;
408 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
409 resets = <&cpg 407>;
410 };
411
412 tmu0: timer@e61e0000 {
413 compatible = "renesas,tmu-r8a774b1", "renesas,tmu";
414 reg = <0 0xe61e0000 0 0x30>;
415 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
416 <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
417 <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
418 clocks = <&cpg CPG_MOD 125>;
419 clock-names = "fck";
420 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
421 resets = <&cpg 125>;
422 status = "disabled";
423 };
424
425 tmu1: timer@e6fc0000 {
426 compatible = "renesas,tmu-r8a774b1", "renesas,tmu";
427 reg = <0 0xe6fc0000 0 0x30>;
428 interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
429 <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
430 <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
431 clocks = <&cpg CPG_MOD 124>;
432 clock-names = "fck";
433 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
434 resets = <&cpg 124>;
435 status = "disabled";
436 };
437
438 tmu2: timer@e6fd0000 {
439 compatible = "renesas,tmu-r8a774b1", "renesas,tmu";
440 reg = <0 0xe6fd0000 0 0x30>;
441 interrupts = <GIC_SPI 303 IRQ_TYPE_LEVEL_HIGH>,
442 <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
443 <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
444 clocks = <&cpg CPG_MOD 123>;
445 clock-names = "fck";
446 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
447 resets = <&cpg 123>;
448 status = "disabled";
449 };
450
451 tmu3: timer@e6fe0000 {
452 compatible = "renesas,tmu-r8a774b1", "renesas,tmu";
453 reg = <0 0xe6fe0000 0 0x30>;
454 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
455 <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>,
456 <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
457 clocks = <&cpg CPG_MOD 122>;
458 clock-names = "fck";
459 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
460 resets = <&cpg 122>;
461 status = "disabled";
462 };
463
464 tmu4: timer@ffc00000 {
465 compatible = "renesas,tmu-r8a774b1", "renesas,tmu";
466 reg = <0 0xffc00000 0 0x30>;
467 interrupts = <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>,
468 <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>,
469 <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>;
470 clocks = <&cpg CPG_MOD 121>;
471 clock-names = "fck";
472 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
473 resets = <&cpg 121>;
474 status = "disabled";
475 };
476
477 i2c0: i2c@e6500000 {
478 #address-cells = <1>;
479 #size-cells = <0>;
480 compatible = "renesas,i2c-r8a774b1",
481 "renesas,rcar-gen3-i2c";
482 reg = <0 0xe6500000 0 0x40>;
483 interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
484 clocks = <&cpg CPG_MOD 931>;
485 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
486 resets = <&cpg 931>;
487 dmas = <&dmac1 0x91>, <&dmac1 0x90>,
488 <&dmac2 0x91>, <&dmac2 0x90>;
489 dma-names = "tx", "rx", "tx", "rx";
490 i2c-scl-internal-delay-ns = <110>;
491 status = "disabled";
492 };
493
494 i2c1: i2c@e6508000 {
495 #address-cells = <1>;
496 #size-cells = <0>;
497 compatible = "renesas,i2c-r8a774b1",
498 "renesas,rcar-gen3-i2c";
499 reg = <0 0xe6508000 0 0x40>;
500 interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
501 clocks = <&cpg CPG_MOD 930>;
502 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
503 resets = <&cpg 930>;
504 dmas = <&dmac1 0x93>, <&dmac1 0x92>,
505 <&dmac2 0x93>, <&dmac2 0x92>;
506 dma-names = "tx", "rx", "tx", "rx";
507 i2c-scl-internal-delay-ns = <6>;
508 status = "disabled";
509 };
510
511 i2c2: i2c@e6510000 {
512 #address-cells = <1>;
513 #size-cells = <0>;
514 compatible = "renesas,i2c-r8a774b1",
515 "renesas,rcar-gen3-i2c";
516 reg = <0 0xe6510000 0 0x40>;
517 interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
518 clocks = <&cpg CPG_MOD 929>;
519 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
520 resets = <&cpg 929>;
521 dmas = <&dmac1 0x95>, <&dmac1 0x94>,
522 <&dmac2 0x95>, <&dmac2 0x94>;
523 dma-names = "tx", "rx", "tx", "rx";
524 i2c-scl-internal-delay-ns = <6>;
525 status = "disabled";
526 };
527
528 i2c3: i2c@e66d0000 {
529 #address-cells = <1>;
530 #size-cells = <0>;
531 compatible = "renesas,i2c-r8a774b1",
532 "renesas,rcar-gen3-i2c";
533 reg = <0 0xe66d0000 0 0x40>;
534 interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
535 clocks = <&cpg CPG_MOD 928>;
536 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
537 resets = <&cpg 928>;
538 dmas = <&dmac0 0x97>, <&dmac0 0x96>;
539 dma-names = "tx", "rx";
540 i2c-scl-internal-delay-ns = <110>;
541 status = "disabled";
542 };
543
544 i2c4: i2c@e66d8000 {
545 #address-cells = <1>;
546 #size-cells = <0>;
547 compatible = "renesas,i2c-r8a774b1",
548 "renesas,rcar-gen3-i2c";
549 reg = <0 0xe66d8000 0 0x40>;
550 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
551 clocks = <&cpg CPG_MOD 927>;
552 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
553 resets = <&cpg 927>;
554 dmas = <&dmac0 0x99>, <&dmac0 0x98>;
555 dma-names = "tx", "rx";
556 i2c-scl-internal-delay-ns = <110>;
557 status = "disabled";
558 };
559
560 i2c5: i2c@e66e0000 {
561 #address-cells = <1>;
562 #size-cells = <0>;
563 compatible = "renesas,i2c-r8a774b1",
564 "renesas,rcar-gen3-i2c";
565 reg = <0 0xe66e0000 0 0x40>;
566 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
567 clocks = <&cpg CPG_MOD 919>;
568 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
569 resets = <&cpg 919>;
570 dmas = <&dmac0 0x9b>, <&dmac0 0x9a>;
571 dma-names = "tx", "rx";
572 i2c-scl-internal-delay-ns = <110>;
573 status = "disabled";
574 };
575
576 i2c6: i2c@e66e8000 {
577 #address-cells = <1>;
578 #size-cells = <0>;
579 compatible = "renesas,i2c-r8a774b1",
580 "renesas,rcar-gen3-i2c";
581 reg = <0 0xe66e8000 0 0x40>;
582 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
583 clocks = <&cpg CPG_MOD 918>;
584 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
585 resets = <&cpg 918>;
586 dmas = <&dmac0 0x9d>, <&dmac0 0x9c>;
587 dma-names = "tx", "rx";
588 i2c-scl-internal-delay-ns = <6>;
589 status = "disabled";
590 };
591
Marek Vasut2a8450f2023-01-26 21:01:32 +0100592 iic_pmic: i2c@e60b0000 {
Biju Das25e0b962020-09-16 09:05:07 +0100593 #address-cells = <1>;
594 #size-cells = <0>;
595 compatible = "renesas,iic-r8a774b1",
596 "renesas,rcar-gen3-iic",
597 "renesas,rmobile-iic";
598 reg = <0 0xe60b0000 0 0x425>;
599 interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
600 clocks = <&cpg CPG_MOD 926>;
601 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
602 resets = <&cpg 926>;
603 dmas = <&dmac0 0x11>, <&dmac0 0x10>;
604 dma-names = "tx", "rx";
605 status = "disabled";
606 };
607
608 hscif0: serial@e6540000 {
609 compatible = "renesas,hscif-r8a774b1",
610 "renesas,rcar-gen3-hscif",
611 "renesas,hscif";
612 reg = <0 0xe6540000 0 0x60>;
613 interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
614 clocks = <&cpg CPG_MOD 520>,
615 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
616 <&scif_clk>;
617 clock-names = "fck", "brg_int", "scif_clk";
618 dmas = <&dmac1 0x31>, <&dmac1 0x30>,
619 <&dmac2 0x31>, <&dmac2 0x30>;
620 dma-names = "tx", "rx", "tx", "rx";
621 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
622 resets = <&cpg 520>;
623 status = "disabled";
624 };
625
626 hscif1: serial@e6550000 {
627 compatible = "renesas,hscif-r8a774b1",
628 "renesas,rcar-gen3-hscif",
629 "renesas,hscif";
630 reg = <0 0xe6550000 0 0x60>;
631 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
632 clocks = <&cpg CPG_MOD 519>,
633 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
634 <&scif_clk>;
635 clock-names = "fck", "brg_int", "scif_clk";
636 dmas = <&dmac1 0x33>, <&dmac1 0x32>,
637 <&dmac2 0x33>, <&dmac2 0x32>;
638 dma-names = "tx", "rx", "tx", "rx";
639 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
640 resets = <&cpg 519>;
641 status = "disabled";
642 };
643
644 hscif2: serial@e6560000 {
645 compatible = "renesas,hscif-r8a774b1",
646 "renesas,rcar-gen3-hscif",
647 "renesas,hscif";
648 reg = <0 0xe6560000 0 0x60>;
649 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
650 clocks = <&cpg CPG_MOD 518>,
651 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
652 <&scif_clk>;
653 clock-names = "fck", "brg_int", "scif_clk";
654 dmas = <&dmac1 0x35>, <&dmac1 0x34>,
655 <&dmac2 0x35>, <&dmac2 0x34>;
656 dma-names = "tx", "rx", "tx", "rx";
657 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
658 resets = <&cpg 518>;
659 status = "disabled";
660 };
661
662 hscif3: serial@e66a0000 {
663 compatible = "renesas,hscif-r8a774b1",
664 "renesas,rcar-gen3-hscif",
665 "renesas,hscif";
666 reg = <0 0xe66a0000 0 0x60>;
667 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
668 clocks = <&cpg CPG_MOD 517>,
669 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
670 <&scif_clk>;
671 clock-names = "fck", "brg_int", "scif_clk";
672 dmas = <&dmac0 0x37>, <&dmac0 0x36>;
673 dma-names = "tx", "rx";
674 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
675 resets = <&cpg 517>;
676 status = "disabled";
677 };
678
679 hscif4: serial@e66b0000 {
680 compatible = "renesas,hscif-r8a774b1",
681 "renesas,rcar-gen3-hscif",
682 "renesas,hscif";
683 reg = <0 0xe66b0000 0 0x60>;
684 interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
685 clocks = <&cpg CPG_MOD 516>,
686 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
687 <&scif_clk>;
688 clock-names = "fck", "brg_int", "scif_clk";
689 dmas = <&dmac0 0x39>, <&dmac0 0x38>;
690 dma-names = "tx", "rx";
691 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
692 resets = <&cpg 516>;
693 status = "disabled";
694 };
695
696 hsusb: usb@e6590000 {
697 compatible = "renesas,usbhs-r8a774b1",
698 "renesas,rcar-gen3-usbhs";
699 reg = <0 0xe6590000 0 0x200>;
700 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
701 clocks = <&cpg CPG_MOD 704>, <&cpg CPG_MOD 703>;
702 dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
703 <&usb_dmac1 0>, <&usb_dmac1 1>;
704 dma-names = "ch0", "ch1", "ch2", "ch3";
705 renesas,buswait = <11>;
706 phys = <&usb2_phy0 3>;
707 phy-names = "usb";
708 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
709 resets = <&cpg 704>, <&cpg 703>;
710 status = "disabled";
711 };
712
Adam Ford8d9bdf42021-02-03 06:57:18 -0600713 usb2_clksel: clock-controller@e6590630 {
714 compatible = "renesas,r8a774b1-rcar-usb2-clock-sel",
715 "renesas,rcar-gen3-usb2-clock-sel";
716 reg = <0 0xe6590630 0 0x02>;
717 clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>,
718 <&usb_extal_clk>, <&usb3s0_clk>;
719 clock-names = "ehci_ohci", "hs-usb-if",
720 "usb_extal", "usb_xtal";
721 #clock-cells = <0>;
722 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
723 resets = <&cpg 703>, <&cpg 704>;
724 reset-names = "ehci_ohci", "hs-usb-if";
725 status = "disabled";
726 };
727
Biju Das25e0b962020-09-16 09:05:07 +0100728 usb_dmac0: dma-controller@e65a0000 {
729 compatible = "renesas,r8a774b1-usb-dmac",
730 "renesas,usb-dmac";
731 reg = <0 0xe65a0000 0 0x100>;
732 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
733 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
734 interrupt-names = "ch0", "ch1";
735 clocks = <&cpg CPG_MOD 330>;
736 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
737 resets = <&cpg 330>;
738 #dma-cells = <1>;
739 dma-channels = <2>;
740 };
741
742 usb_dmac1: dma-controller@e65b0000 {
743 compatible = "renesas,r8a774b1-usb-dmac",
744 "renesas,usb-dmac";
745 reg = <0 0xe65b0000 0 0x100>;
746 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
747 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
748 interrupt-names = "ch0", "ch1";
749 clocks = <&cpg CPG_MOD 331>;
750 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
751 resets = <&cpg 331>;
752 #dma-cells = <1>;
753 dma-channels = <2>;
754 };
755
756 usb3_phy0: usb-phy@e65ee000 {
757 compatible = "renesas,r8a774b1-usb3-phy",
758 "renesas,rcar-gen3-usb3-phy";
759 reg = <0 0xe65ee000 0 0x90>;
760 clocks = <&cpg CPG_MOD 328>, <&usb3s0_clk>,
761 <&usb_extal_clk>;
762 clock-names = "usb3-if", "usb3s_clk", "usb_extal";
763 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
764 resets = <&cpg 328>;
765 #phy-cells = <0>;
766 status = "disabled";
767 };
768
769 dmac0: dma-controller@e6700000 {
770 compatible = "renesas,dmac-r8a774b1",
771 "renesas,rcar-dmac";
772 reg = <0 0xe6700000 0 0x10000>;
773 interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>,
774 <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>,
775 <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>,
776 <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>,
777 <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>,
778 <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
779 <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>,
780 <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>,
781 <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>,
782 <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>,
783 <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>,
784 <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>,
785 <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>,
786 <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>,
787 <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>,
788 <GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>,
789 <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
790 interrupt-names = "error",
791 "ch0", "ch1", "ch2", "ch3",
792 "ch4", "ch5", "ch6", "ch7",
793 "ch8", "ch9", "ch10", "ch11",
794 "ch12", "ch13", "ch14", "ch15";
795 clocks = <&cpg CPG_MOD 219>;
796 clock-names = "fck";
797 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
798 resets = <&cpg 219>;
799 #dma-cells = <1>;
800 dma-channels = <16>;
801 iommus = <&ipmmu_ds0 0>, <&ipmmu_ds0 1>,
802 <&ipmmu_ds0 2>, <&ipmmu_ds0 3>,
803 <&ipmmu_ds0 4>, <&ipmmu_ds0 5>,
804 <&ipmmu_ds0 6>, <&ipmmu_ds0 7>,
805 <&ipmmu_ds0 8>, <&ipmmu_ds0 9>,
806 <&ipmmu_ds0 10>, <&ipmmu_ds0 11>,
807 <&ipmmu_ds0 12>, <&ipmmu_ds0 13>,
808 <&ipmmu_ds0 14>, <&ipmmu_ds0 15>;
809 };
810
811 dmac1: dma-controller@e7300000 {
812 compatible = "renesas,dmac-r8a774b1",
813 "renesas,rcar-dmac";
814 reg = <0 0xe7300000 0 0x10000>;
815 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>,
816 <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>,
817 <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
818 <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>,
819 <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
820 <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>,
821 <GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>,
822 <GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH>,
823 <GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH>,
824 <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>,
825 <GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH>,
826 <GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH>,
827 <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
828 <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
829 <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
830 <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
831 <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>;
832 interrupt-names = "error",
833 "ch0", "ch1", "ch2", "ch3",
834 "ch4", "ch5", "ch6", "ch7",
835 "ch8", "ch9", "ch10", "ch11",
836 "ch12", "ch13", "ch14", "ch15";
837 clocks = <&cpg CPG_MOD 218>;
838 clock-names = "fck";
839 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
840 resets = <&cpg 218>;
841 #dma-cells = <1>;
842 dma-channels = <16>;
843 iommus = <&ipmmu_ds1 0>, <&ipmmu_ds1 1>,
844 <&ipmmu_ds1 2>, <&ipmmu_ds1 3>,
845 <&ipmmu_ds1 4>, <&ipmmu_ds1 5>,
846 <&ipmmu_ds1 6>, <&ipmmu_ds1 7>,
847 <&ipmmu_ds1 8>, <&ipmmu_ds1 9>,
848 <&ipmmu_ds1 10>, <&ipmmu_ds1 11>,
849 <&ipmmu_ds1 12>, <&ipmmu_ds1 13>,
850 <&ipmmu_ds1 14>, <&ipmmu_ds1 15>;
851 };
852
853 dmac2: dma-controller@e7310000 {
854 compatible = "renesas,dmac-r8a774b1",
855 "renesas,rcar-dmac";
856 reg = <0 0xe7310000 0 0x10000>;
857 interrupts = <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
858 <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
859 <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
860 <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
861 <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
862 <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
863 <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
864 <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
865 <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
866 <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>,
867 <GIC_SPI 426 IRQ_TYPE_LEVEL_HIGH>,
868 <GIC_SPI 427 IRQ_TYPE_LEVEL_HIGH>,
869 <GIC_SPI 428 IRQ_TYPE_LEVEL_HIGH>,
870 <GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH>,
871 <GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH>,
872 <GIC_SPI 431 IRQ_TYPE_LEVEL_HIGH>,
873 <GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>;
874 interrupt-names = "error",
875 "ch0", "ch1", "ch2", "ch3",
876 "ch4", "ch5", "ch6", "ch7",
877 "ch8", "ch9", "ch10", "ch11",
878 "ch12", "ch13", "ch14", "ch15";
879 clocks = <&cpg CPG_MOD 217>;
880 clock-names = "fck";
881 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
882 resets = <&cpg 217>;
883 #dma-cells = <1>;
884 dma-channels = <16>;
885 iommus = <&ipmmu_ds1 16>, <&ipmmu_ds1 17>,
886 <&ipmmu_ds1 18>, <&ipmmu_ds1 19>,
887 <&ipmmu_ds1 20>, <&ipmmu_ds1 21>,
888 <&ipmmu_ds1 22>, <&ipmmu_ds1 23>,
889 <&ipmmu_ds1 24>, <&ipmmu_ds1 25>,
890 <&ipmmu_ds1 26>, <&ipmmu_ds1 27>,
891 <&ipmmu_ds1 28>, <&ipmmu_ds1 29>,
892 <&ipmmu_ds1 30>, <&ipmmu_ds1 31>;
893 };
894
895 ipmmu_ds0: iommu@e6740000 {
896 compatible = "renesas,ipmmu-r8a774b1";
897 reg = <0 0xe6740000 0 0x1000>;
898 renesas,ipmmu-main = <&ipmmu_mm 0>;
899 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
900 #iommu-cells = <1>;
901 };
902
903 ipmmu_ds1: iommu@e7740000 {
904 compatible = "renesas,ipmmu-r8a774b1";
905 reg = <0 0xe7740000 0 0x1000>;
906 renesas,ipmmu-main = <&ipmmu_mm 1>;
907 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
908 #iommu-cells = <1>;
909 };
910
911 ipmmu_hc: iommu@e6570000 {
912 compatible = "renesas,ipmmu-r8a774b1";
913 reg = <0 0xe6570000 0 0x1000>;
914 renesas,ipmmu-main = <&ipmmu_mm 2>;
915 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
916 #iommu-cells = <1>;
917 };
918
919 ipmmu_mm: iommu@e67b0000 {
920 compatible = "renesas,ipmmu-r8a774b1";
921 reg = <0 0xe67b0000 0 0x1000>;
922 interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
923 <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
924 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
925 #iommu-cells = <1>;
926 };
927
928 ipmmu_mp: iommu@ec670000 {
929 compatible = "renesas,ipmmu-r8a774b1";
930 reg = <0 0xec670000 0 0x1000>;
931 renesas,ipmmu-main = <&ipmmu_mm 4>;
932 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
933 #iommu-cells = <1>;
934 };
935
936 ipmmu_pv0: iommu@fd800000 {
937 compatible = "renesas,ipmmu-r8a774b1";
938 reg = <0 0xfd800000 0 0x1000>;
939 renesas,ipmmu-main = <&ipmmu_mm 6>;
940 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
941 #iommu-cells = <1>;
942 };
943
944 ipmmu_vc0: iommu@fe6b0000 {
945 compatible = "renesas,ipmmu-r8a774b1";
946 reg = <0 0xfe6b0000 0 0x1000>;
947 renesas,ipmmu-main = <&ipmmu_mm 12>;
948 power-domains = <&sysc R8A774B1_PD_A3VC>;
949 #iommu-cells = <1>;
950 };
951
952 ipmmu_vi0: iommu@febd0000 {
953 compatible = "renesas,ipmmu-r8a774b1";
954 reg = <0 0xfebd0000 0 0x1000>;
955 renesas,ipmmu-main = <&ipmmu_mm 14>;
956 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
957 #iommu-cells = <1>;
958 };
959
960 ipmmu_vp0: iommu@fe990000 {
961 compatible = "renesas,ipmmu-r8a774b1";
962 reg = <0 0xfe990000 0 0x1000>;
963 renesas,ipmmu-main = <&ipmmu_mm 16>;
964 power-domains = <&sysc R8A774B1_PD_A3VP>;
965 #iommu-cells = <1>;
966 };
967
968 avb: ethernet@e6800000 {
969 compatible = "renesas,etheravb-r8a774b1",
970 "renesas,etheravb-rcar-gen3";
971 reg = <0 0xe6800000 0 0x800>;
972 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
973 <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
974 <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
975 <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
976 <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
977 <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
978 <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
979 <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
980 <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
981 <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
982 <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
983 <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
984 <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
985 <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
986 <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
987 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
988 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
989 <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
990 <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
991 <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
992 <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
993 <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
994 <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
995 <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
996 <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
997 interrupt-names = "ch0", "ch1", "ch2", "ch3",
998 "ch4", "ch5", "ch6", "ch7",
999 "ch8", "ch9", "ch10", "ch11",
1000 "ch12", "ch13", "ch14", "ch15",
1001 "ch16", "ch17", "ch18", "ch19",
1002 "ch20", "ch21", "ch22", "ch23",
1003 "ch24";
1004 clocks = <&cpg CPG_MOD 812>;
Marek Vasut2a8450f2023-01-26 21:01:32 +01001005 clock-names = "fck";
Biju Das25e0b962020-09-16 09:05:07 +01001006 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1007 resets = <&cpg 812>;
1008 phy-mode = "rgmii";
Adam Ford8d9bdf42021-02-03 06:57:18 -06001009 rx-internal-delay-ps = <0>;
1010 tx-internal-delay-ps = <0>;
Biju Das25e0b962020-09-16 09:05:07 +01001011 iommus = <&ipmmu_ds0 16>;
1012 #address-cells = <1>;
1013 #size-cells = <0>;
1014 status = "disabled";
1015 };
1016
1017 can0: can@e6c30000 {
1018 compatible = "renesas,can-r8a774b1",
1019 "renesas,rcar-gen3-can";
1020 reg = <0 0xe6c30000 0 0x1000>;
1021 interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
1022 clocks = <&cpg CPG_MOD 916>,
1023 <&cpg CPG_CORE R8A774B1_CLK_CANFD>,
1024 <&can_clk>;
1025 clock-names = "clkp1", "clkp2", "can_clk";
1026 assigned-clocks = <&cpg CPG_CORE R8A774B1_CLK_CANFD>;
1027 assigned-clock-rates = <40000000>;
1028 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1029 resets = <&cpg 916>;
1030 status = "disabled";
1031 };
1032
1033 can1: can@e6c38000 {
1034 compatible = "renesas,can-r8a774b1",
1035 "renesas,rcar-gen3-can";
1036 reg = <0 0xe6c38000 0 0x1000>;
1037 interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
1038 clocks = <&cpg CPG_MOD 915>,
1039 <&cpg CPG_CORE R8A774B1_CLK_CANFD>,
1040 <&can_clk>;
1041 clock-names = "clkp1", "clkp2", "can_clk";
1042 assigned-clocks = <&cpg CPG_CORE R8A774B1_CLK_CANFD>;
1043 assigned-clock-rates = <40000000>;
1044 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1045 resets = <&cpg 915>;
1046 status = "disabled";
1047 };
1048
1049 canfd: can@e66c0000 {
1050 compatible = "renesas,r8a774b1-canfd",
1051 "renesas,rcar-gen3-canfd";
1052 reg = <0 0xe66c0000 0 0x8000>;
1053 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
1054 <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
Marek Vasut2a8450f2023-01-26 21:01:32 +01001055 interrupt-names = "ch_int", "g_int";
Biju Das25e0b962020-09-16 09:05:07 +01001056 clocks = <&cpg CPG_MOD 914>,
1057 <&cpg CPG_CORE R8A774B1_CLK_CANFD>,
1058 <&can_clk>;
1059 clock-names = "fck", "canfd", "can_clk";
1060 assigned-clocks = <&cpg CPG_CORE R8A774B1_CLK_CANFD>;
1061 assigned-clock-rates = <40000000>;
1062 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1063 resets = <&cpg 914>;
1064 status = "disabled";
1065
1066 channel0 {
1067 status = "disabled";
1068 };
1069
1070 channel1 {
1071 status = "disabled";
1072 };
1073 };
1074
1075 pwm0: pwm@e6e30000 {
1076 compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
1077 reg = <0 0xe6e30000 0 0x8>;
1078 #pwm-cells = <2>;
1079 clocks = <&cpg CPG_MOD 523>;
1080 resets = <&cpg 523>;
1081 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1082 status = "disabled";
1083 };
1084
1085 pwm1: pwm@e6e31000 {
1086 compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
1087 reg = <0 0xe6e31000 0 0x8>;
1088 #pwm-cells = <2>;
1089 clocks = <&cpg CPG_MOD 523>;
1090 resets = <&cpg 523>;
1091 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1092 status = "disabled";
1093 };
1094
1095 pwm2: pwm@e6e32000 {
1096 compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
1097 reg = <0 0xe6e32000 0 0x8>;
1098 #pwm-cells = <2>;
1099 clocks = <&cpg CPG_MOD 523>;
1100 resets = <&cpg 523>;
1101 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1102 status = "disabled";
1103 };
1104
1105 pwm3: pwm@e6e33000 {
1106 compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
1107 reg = <0 0xe6e33000 0 0x8>;
1108 #pwm-cells = <2>;
1109 clocks = <&cpg CPG_MOD 523>;
1110 resets = <&cpg 523>;
1111 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1112 status = "disabled";
1113 };
1114
1115 pwm4: pwm@e6e34000 {
1116 compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
1117 reg = <0 0xe6e34000 0 0x8>;
1118 #pwm-cells = <2>;
1119 clocks = <&cpg CPG_MOD 523>;
1120 resets = <&cpg 523>;
1121 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1122 status = "disabled";
1123 };
1124
1125 pwm5: pwm@e6e35000 {
1126 compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
1127 reg = <0 0xe6e35000 0 0x8>;
1128 #pwm-cells = <2>;
1129 clocks = <&cpg CPG_MOD 523>;
1130 resets = <&cpg 523>;
1131 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1132 status = "disabled";
1133 };
1134
1135 pwm6: pwm@e6e36000 {
1136 compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
1137 reg = <0 0xe6e36000 0 0x8>;
1138 #pwm-cells = <2>;
1139 clocks = <&cpg CPG_MOD 523>;
1140 resets = <&cpg 523>;
1141 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1142 status = "disabled";
1143 };
1144
1145 scif0: serial@e6e60000 {
1146 compatible = "renesas,scif-r8a774b1",
1147 "renesas,rcar-gen3-scif", "renesas,scif";
1148 reg = <0 0xe6e60000 0 0x40>;
1149 interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
1150 clocks = <&cpg CPG_MOD 207>,
1151 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
1152 <&scif_clk>;
1153 clock-names = "fck", "brg_int", "scif_clk";
1154 dmas = <&dmac1 0x51>, <&dmac1 0x50>,
1155 <&dmac2 0x51>, <&dmac2 0x50>;
1156 dma-names = "tx", "rx", "tx", "rx";
1157 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1158 resets = <&cpg 207>;
1159 status = "disabled";
1160 };
1161
1162 scif1: serial@e6e68000 {
1163 compatible = "renesas,scif-r8a774b1",
1164 "renesas,rcar-gen3-scif", "renesas,scif";
1165 reg = <0 0xe6e68000 0 0x40>;
1166 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
1167 clocks = <&cpg CPG_MOD 206>,
1168 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
1169 <&scif_clk>;
1170 clock-names = "fck", "brg_int", "scif_clk";
1171 dmas = <&dmac1 0x53>, <&dmac1 0x52>,
1172 <&dmac2 0x53>, <&dmac2 0x52>;
1173 dma-names = "tx", "rx", "tx", "rx";
1174 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1175 resets = <&cpg 206>;
1176 status = "disabled";
1177 };
1178
1179 scif2: serial@e6e88000 {
1180 compatible = "renesas,scif-r8a774b1",
1181 "renesas,rcar-gen3-scif", "renesas,scif";
1182 reg = <0 0xe6e88000 0 0x40>;
1183 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
1184 clocks = <&cpg CPG_MOD 310>,
1185 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
1186 <&scif_clk>;
1187 clock-names = "fck", "brg_int", "scif_clk";
1188 dmas = <&dmac1 0x13>, <&dmac1 0x12>,
1189 <&dmac2 0x13>, <&dmac2 0x12>;
1190 dma-names = "tx", "rx", "tx", "rx";
1191 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1192 resets = <&cpg 310>;
1193 status = "disabled";
1194 };
1195
1196 scif3: serial@e6c50000 {
1197 compatible = "renesas,scif-r8a774b1",
1198 "renesas,rcar-gen3-scif", "renesas,scif";
1199 reg = <0 0xe6c50000 0 0x40>;
1200 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
1201 clocks = <&cpg CPG_MOD 204>,
1202 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
1203 <&scif_clk>;
1204 clock-names = "fck", "brg_int", "scif_clk";
1205 dmas = <&dmac0 0x57>, <&dmac0 0x56>;
1206 dma-names = "tx", "rx";
1207 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1208 resets = <&cpg 204>;
1209 status = "disabled";
1210 };
1211
1212 scif4: serial@e6c40000 {
1213 compatible = "renesas,scif-r8a774b1",
1214 "renesas,rcar-gen3-scif", "renesas,scif";
1215 reg = <0 0xe6c40000 0 0x40>;
1216 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
1217 clocks = <&cpg CPG_MOD 203>,
1218 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
1219 <&scif_clk>;
1220 clock-names = "fck", "brg_int", "scif_clk";
1221 dmas = <&dmac0 0x59>, <&dmac0 0x58>;
1222 dma-names = "tx", "rx";
1223 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1224 resets = <&cpg 203>;
1225 status = "disabled";
1226 };
1227
1228 scif5: serial@e6f30000 {
1229 compatible = "renesas,scif-r8a774b1",
1230 "renesas,rcar-gen3-scif", "renesas,scif";
1231 reg = <0 0xe6f30000 0 0x40>;
1232 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
1233 clocks = <&cpg CPG_MOD 202>,
1234 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
1235 <&scif_clk>;
1236 clock-names = "fck", "brg_int", "scif_clk";
1237 dmas = <&dmac1 0x5b>, <&dmac1 0x5a>,
1238 <&dmac2 0x5b>, <&dmac2 0x5a>;
1239 dma-names = "tx", "rx", "tx", "rx";
1240 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1241 resets = <&cpg 202>;
1242 status = "disabled";
1243 };
1244
1245 msiof0: spi@e6e90000 {
1246 compatible = "renesas,msiof-r8a774b1",
1247 "renesas,rcar-gen3-msiof";
1248 reg = <0 0xe6e90000 0 0x0064>;
1249 interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
1250 clocks = <&cpg CPG_MOD 211>;
1251 dmas = <&dmac1 0x41>, <&dmac1 0x40>,
1252 <&dmac2 0x41>, <&dmac2 0x40>;
1253 dma-names = "tx", "rx", "tx", "rx";
1254 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1255 resets = <&cpg 211>;
1256 #address-cells = <1>;
1257 #size-cells = <0>;
1258 status = "disabled";
1259 };
1260
1261 msiof1: spi@e6ea0000 {
1262 compatible = "renesas,msiof-r8a774b1",
1263 "renesas,rcar-gen3-msiof";
1264 reg = <0 0xe6ea0000 0 0x0064>;
1265 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
1266 clocks = <&cpg CPG_MOD 210>;
1267 dmas = <&dmac1 0x43>, <&dmac1 0x42>,
1268 <&dmac2 0x43>, <&dmac2 0x42>;
1269 dma-names = "tx", "rx", "tx", "rx";
1270 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1271 resets = <&cpg 210>;
1272 #address-cells = <1>;
1273 #size-cells = <0>;
1274 status = "disabled";
1275 };
1276
1277 msiof2: spi@e6c00000 {
1278 compatible = "renesas,msiof-r8a774b1",
1279 "renesas,rcar-gen3-msiof";
1280 reg = <0 0xe6c00000 0 0x0064>;
1281 interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
1282 clocks = <&cpg CPG_MOD 209>;
1283 dmas = <&dmac0 0x45>, <&dmac0 0x44>;
1284 dma-names = "tx", "rx";
1285 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1286 resets = <&cpg 209>;
1287 #address-cells = <1>;
1288 #size-cells = <0>;
1289 status = "disabled";
1290 };
1291
1292 msiof3: spi@e6c10000 {
1293 compatible = "renesas,msiof-r8a774b1",
1294 "renesas,rcar-gen3-msiof";
1295 reg = <0 0xe6c10000 0 0x0064>;
1296 interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
1297 clocks = <&cpg CPG_MOD 208>;
1298 dmas = <&dmac0 0x47>, <&dmac0 0x46>;
1299 dma-names = "tx", "rx";
1300 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1301 resets = <&cpg 208>;
1302 #address-cells = <1>;
1303 #size-cells = <0>;
1304 status = "disabled";
1305 };
1306
1307 vin0: video@e6ef0000 {
1308 compatible = "renesas,vin-r8a774b1";
1309 reg = <0 0xe6ef0000 0 0x1000>;
1310 interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
1311 clocks = <&cpg CPG_MOD 811>;
1312 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1313 resets = <&cpg 811>;
1314 renesas,id = <0>;
1315 status = "disabled";
1316
1317 ports {
1318 #address-cells = <1>;
1319 #size-cells = <0>;
1320
1321 port@1 {
1322 #address-cells = <1>;
1323 #size-cells = <0>;
1324
1325 reg = <1>;
1326
1327 vin0csi20: endpoint@0 {
1328 reg = <0>;
1329 remote-endpoint = <&csi20vin0>;
1330 };
1331 vin0csi40: endpoint@2 {
1332 reg = <2>;
1333 remote-endpoint = <&csi40vin0>;
1334 };
1335 };
1336 };
1337 };
1338
1339 vin1: video@e6ef1000 {
1340 compatible = "renesas,vin-r8a774b1";
1341 reg = <0 0xe6ef1000 0 0x1000>;
1342 interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
1343 clocks = <&cpg CPG_MOD 810>;
1344 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1345 resets = <&cpg 810>;
1346 renesas,id = <1>;
1347 status = "disabled";
1348
1349 ports {
1350 #address-cells = <1>;
1351 #size-cells = <0>;
1352
1353 port@1 {
1354 #address-cells = <1>;
1355 #size-cells = <0>;
1356
1357 reg = <1>;
1358
1359 vin1csi20: endpoint@0 {
1360 reg = <0>;
1361 remote-endpoint = <&csi20vin1>;
1362 };
1363 vin1csi40: endpoint@2 {
1364 reg = <2>;
1365 remote-endpoint = <&csi40vin1>;
1366 };
1367 };
1368 };
1369 };
1370
1371 vin2: video@e6ef2000 {
1372 compatible = "renesas,vin-r8a774b1";
1373 reg = <0 0xe6ef2000 0 0x1000>;
1374 interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
1375 clocks = <&cpg CPG_MOD 809>;
1376 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1377 resets = <&cpg 809>;
1378 renesas,id = <2>;
1379 status = "disabled";
1380
1381 ports {
1382 #address-cells = <1>;
1383 #size-cells = <0>;
1384
1385 port@1 {
1386 #address-cells = <1>;
1387 #size-cells = <0>;
1388
1389 reg = <1>;
1390
1391 vin2csi20: endpoint@0 {
1392 reg = <0>;
1393 remote-endpoint = <&csi20vin2>;
1394 };
1395 vin2csi40: endpoint@2 {
1396 reg = <2>;
1397 remote-endpoint = <&csi40vin2>;
1398 };
1399 };
1400 };
1401 };
1402
1403 vin3: video@e6ef3000 {
1404 compatible = "renesas,vin-r8a774b1";
1405 reg = <0 0xe6ef3000 0 0x1000>;
1406 interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
1407 clocks = <&cpg CPG_MOD 808>;
1408 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1409 resets = <&cpg 808>;
1410 renesas,id = <3>;
1411 status = "disabled";
1412
1413 ports {
1414 #address-cells = <1>;
1415 #size-cells = <0>;
1416
1417 port@1 {
1418 #address-cells = <1>;
1419 #size-cells = <0>;
1420
1421 reg = <1>;
1422
1423 vin3csi20: endpoint@0 {
1424 reg = <0>;
1425 remote-endpoint = <&csi20vin3>;
1426 };
1427 vin3csi40: endpoint@2 {
1428 reg = <2>;
1429 remote-endpoint = <&csi40vin3>;
1430 };
1431 };
1432 };
1433 };
1434
1435 vin4: video@e6ef4000 {
1436 compatible = "renesas,vin-r8a774b1";
1437 reg = <0 0xe6ef4000 0 0x1000>;
1438 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
1439 clocks = <&cpg CPG_MOD 807>;
1440 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1441 resets = <&cpg 807>;
1442 renesas,id = <4>;
1443 status = "disabled";
1444
1445 ports {
1446 #address-cells = <1>;
1447 #size-cells = <0>;
1448
1449 port@1 {
1450 #address-cells = <1>;
1451 #size-cells = <0>;
1452
1453 reg = <1>;
1454
1455 vin4csi20: endpoint@0 {
1456 reg = <0>;
1457 remote-endpoint = <&csi20vin4>;
1458 };
1459 vin4csi40: endpoint@2 {
1460 reg = <2>;
1461 remote-endpoint = <&csi40vin4>;
1462 };
1463 };
1464 };
1465 };
1466
1467 vin5: video@e6ef5000 {
1468 compatible = "renesas,vin-r8a774b1";
1469 reg = <0 0xe6ef5000 0 0x1000>;
1470 interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
1471 clocks = <&cpg CPG_MOD 806>;
1472 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1473 resets = <&cpg 806>;
1474 renesas,id = <5>;
1475 status = "disabled";
1476
1477 ports {
1478 #address-cells = <1>;
1479 #size-cells = <0>;
1480
1481 port@1 {
1482 #address-cells = <1>;
1483 #size-cells = <0>;
1484
1485 reg = <1>;
1486
1487 vin5csi20: endpoint@0 {
1488 reg = <0>;
1489 remote-endpoint = <&csi20vin5>;
1490 };
1491 vin5csi40: endpoint@2 {
1492 reg = <2>;
1493 remote-endpoint = <&csi40vin5>;
1494 };
1495 };
1496 };
1497 };
1498
1499 vin6: video@e6ef6000 {
1500 compatible = "renesas,vin-r8a774b1";
1501 reg = <0 0xe6ef6000 0 0x1000>;
1502 interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
1503 clocks = <&cpg CPG_MOD 805>;
1504 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1505 resets = <&cpg 805>;
1506 renesas,id = <6>;
1507 status = "disabled";
1508
1509 ports {
1510 #address-cells = <1>;
1511 #size-cells = <0>;
1512
1513 port@1 {
1514 #address-cells = <1>;
1515 #size-cells = <0>;
1516
1517 reg = <1>;
1518
1519 vin6csi20: endpoint@0 {
1520 reg = <0>;
1521 remote-endpoint = <&csi20vin6>;
1522 };
1523 vin6csi40: endpoint@2 {
1524 reg = <2>;
1525 remote-endpoint = <&csi40vin6>;
1526 };
1527 };
1528 };
1529 };
1530
1531 vin7: video@e6ef7000 {
1532 compatible = "renesas,vin-r8a774b1";
1533 reg = <0 0xe6ef7000 0 0x1000>;
1534 interrupts = <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>;
1535 clocks = <&cpg CPG_MOD 804>;
1536 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1537 resets = <&cpg 804>;
1538 renesas,id = <7>;
1539 status = "disabled";
1540
1541 ports {
1542 #address-cells = <1>;
1543 #size-cells = <0>;
1544
1545 port@1 {
1546 #address-cells = <1>;
1547 #size-cells = <0>;
1548
1549 reg = <1>;
1550
1551 vin7csi20: endpoint@0 {
1552 reg = <0>;
1553 remote-endpoint = <&csi20vin7>;
1554 };
1555 vin7csi40: endpoint@2 {
1556 reg = <2>;
1557 remote-endpoint = <&csi40vin7>;
1558 };
1559 };
1560 };
1561 };
1562
1563 rcar_sound: sound@ec500000 {
1564 /*
Marek Vasut1a8f48e2023-09-17 16:13:16 +02001565 * #sound-dai-cells is required if simple-card
Biju Das25e0b962020-09-16 09:05:07 +01001566 *
1567 * Single DAI : #sound-dai-cells = <0>; <&rcar_sound>;
1568 * Multi DAI : #sound-dai-cells = <1>; <&rcar_sound N>;
1569 */
1570 /*
1571 * #clock-cells is required for audio_clkout0/1/2/3
1572 *
1573 * clkout : #clock-cells = <0>; <&rcar_sound>;
1574 * clkout0/1/2/3: #clock-cells = <1>; <&rcar_sound N>;
1575 */
Marek Vasut2a8450f2023-01-26 21:01:32 +01001576 compatible = "renesas,rcar_sound-r8a774b1", "renesas,rcar_sound-gen3";
Biju Das25e0b962020-09-16 09:05:07 +01001577 reg = <0 0xec500000 0 0x1000>, /* SCU */
1578 <0 0xec5a0000 0 0x100>, /* ADG */
1579 <0 0xec540000 0 0x1000>, /* SSIU */
1580 <0 0xec541000 0 0x280>, /* SSI */
1581 <0 0xec760000 0 0x200>; /* Audio DMAC peri peri*/
1582 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
1583
1584 clocks = <&cpg CPG_MOD 1005>,
1585 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
1586 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
1587 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
1588 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
1589 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
1590 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
1591 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
1592 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
1593 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
1594 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
1595 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
1596 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
1597 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
1598 <&audio_clk_a>, <&audio_clk_b>,
1599 <&audio_clk_c>,
1600 <&cpg CPG_CORE R8A774B1_CLK_S0D4>;
1601 clock-names = "ssi-all",
1602 "ssi.9", "ssi.8", "ssi.7", "ssi.6",
1603 "ssi.5", "ssi.4", "ssi.3", "ssi.2",
1604 "ssi.1", "ssi.0",
1605 "src.9", "src.8", "src.7", "src.6",
1606 "src.5", "src.4", "src.3", "src.2",
1607 "src.1", "src.0",
1608 "mix.1", "mix.0",
1609 "ctu.1", "ctu.0",
1610 "dvc.0", "dvc.1",
1611 "clk_a", "clk_b", "clk_c", "clk_i";
1612 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1613 resets = <&cpg 1005>,
1614 <&cpg 1006>, <&cpg 1007>,
1615 <&cpg 1008>, <&cpg 1009>,
1616 <&cpg 1010>, <&cpg 1011>,
1617 <&cpg 1012>, <&cpg 1013>,
1618 <&cpg 1014>, <&cpg 1015>;
1619 reset-names = "ssi-all",
1620 "ssi.9", "ssi.8", "ssi.7", "ssi.6",
1621 "ssi.5", "ssi.4", "ssi.3", "ssi.2",
1622 "ssi.1", "ssi.0";
1623 status = "disabled";
1624
1625 rcar_sound,ctu {
1626 ctu00: ctu-0 { };
1627 ctu01: ctu-1 { };
1628 ctu02: ctu-2 { };
1629 ctu03: ctu-3 { };
1630 ctu10: ctu-4 { };
1631 ctu11: ctu-5 { };
1632 ctu12: ctu-6 { };
1633 ctu13: ctu-7 { };
1634 };
1635
1636 rcar_sound,dvc {
1637 dvc0: dvc-0 {
1638 dmas = <&audma1 0xbc>;
1639 dma-names = "tx";
1640 };
1641 dvc1: dvc-1 {
1642 dmas = <&audma1 0xbe>;
1643 dma-names = "tx";
1644 };
1645 };
1646
1647 rcar_sound,mix {
1648 mix0: mix-0 { };
1649 mix1: mix-1 { };
1650 };
1651
1652 rcar_sound,src {
1653 src0: src-0 {
1654 interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
1655 dmas = <&audma0 0x85>, <&audma1 0x9a>;
1656 dma-names = "rx", "tx";
1657 };
1658 src1: src-1 {
1659 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1660 dmas = <&audma0 0x87>, <&audma1 0x9c>;
1661 dma-names = "rx", "tx";
1662 };
1663 src2: src-2 {
1664 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1665 dmas = <&audma0 0x89>, <&audma1 0x9e>;
1666 dma-names = "rx", "tx";
1667 };
1668 src3: src-3 {
1669 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1670 dmas = <&audma0 0x8b>, <&audma1 0xa0>;
1671 dma-names = "rx", "tx";
1672 };
1673 src4: src-4 {
1674 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1675 dmas = <&audma0 0x8d>, <&audma1 0xb0>;
1676 dma-names = "rx", "tx";
1677 };
1678 src5: src-5 {
1679 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1680 dmas = <&audma0 0x8f>, <&audma1 0xb2>;
1681 dma-names = "rx", "tx";
1682 };
1683 src6: src-6 {
1684 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1685 dmas = <&audma0 0x91>, <&audma1 0xb4>;
1686 dma-names = "rx", "tx";
1687 };
1688 src7: src-7 {
1689 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1690 dmas = <&audma0 0x93>, <&audma1 0xb6>;
1691 dma-names = "rx", "tx";
1692 };
1693 src8: src-8 {
1694 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1695 dmas = <&audma0 0x95>, <&audma1 0xb8>;
1696 dma-names = "rx", "tx";
1697 };
1698 src9: src-9 {
1699 interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
1700 dmas = <&audma0 0x97>, <&audma1 0xba>;
1701 dma-names = "rx", "tx";
1702 };
1703 };
1704
1705 rcar_sound,ssi {
1706 ssi0: ssi-0 {
1707 interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
1708 dmas = <&audma0 0x01>, <&audma1 0x02>;
1709 dma-names = "rx", "tx";
1710 };
1711 ssi1: ssi-1 {
1712 interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
1713 dmas = <&audma0 0x03>, <&audma1 0x04>;
1714 dma-names = "rx", "tx";
1715 };
1716 ssi2: ssi-2 {
1717 interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>;
1718 dmas = <&audma0 0x05>, <&audma1 0x06>;
1719 dma-names = "rx", "tx";
1720 };
1721 ssi3: ssi-3 {
1722 interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
1723 dmas = <&audma0 0x07>, <&audma1 0x08>;
1724 dma-names = "rx", "tx";
1725 };
1726 ssi4: ssi-4 {
1727 interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
1728 dmas = <&audma0 0x09>, <&audma1 0x0a>;
1729 dma-names = "rx", "tx";
1730 };
1731 ssi5: ssi-5 {
1732 interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
1733 dmas = <&audma0 0x0b>, <&audma1 0x0c>;
1734 dma-names = "rx", "tx";
1735 };
1736 ssi6: ssi-6 {
1737 interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>;
1738 dmas = <&audma0 0x0d>, <&audma1 0x0e>;
1739 dma-names = "rx", "tx";
1740 };
1741 ssi7: ssi-7 {
1742 interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>;
1743 dmas = <&audma0 0x0f>, <&audma1 0x10>;
1744 dma-names = "rx", "tx";
1745 };
1746 ssi8: ssi-8 {
1747 interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>;
1748 dmas = <&audma0 0x11>, <&audma1 0x12>;
1749 dma-names = "rx", "tx";
1750 };
1751 ssi9: ssi-9 {
1752 interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
1753 dmas = <&audma0 0x13>, <&audma1 0x14>;
1754 dma-names = "rx", "tx";
1755 };
1756 };
1757
1758 rcar_sound,ssiu {
1759 ssiu00: ssiu-0 {
1760 dmas = <&audma0 0x15>, <&audma1 0x16>;
1761 dma-names = "rx", "tx";
1762 };
1763 ssiu01: ssiu-1 {
1764 dmas = <&audma0 0x35>, <&audma1 0x36>;
1765 dma-names = "rx", "tx";
1766 };
1767 ssiu02: ssiu-2 {
1768 dmas = <&audma0 0x37>, <&audma1 0x38>;
1769 dma-names = "rx", "tx";
1770 };
1771 ssiu03: ssiu-3 {
1772 dmas = <&audma0 0x47>, <&audma1 0x48>;
1773 dma-names = "rx", "tx";
1774 };
1775 ssiu04: ssiu-4 {
1776 dmas = <&audma0 0x3F>, <&audma1 0x40>;
1777 dma-names = "rx", "tx";
1778 };
1779 ssiu05: ssiu-5 {
1780 dmas = <&audma0 0x43>, <&audma1 0x44>;
1781 dma-names = "rx", "tx";
1782 };
1783 ssiu06: ssiu-6 {
1784 dmas = <&audma0 0x4F>, <&audma1 0x50>;
1785 dma-names = "rx", "tx";
1786 };
1787 ssiu07: ssiu-7 {
1788 dmas = <&audma0 0x53>, <&audma1 0x54>;
1789 dma-names = "rx", "tx";
1790 };
1791 ssiu10: ssiu-8 {
1792 dmas = <&audma0 0x49>, <&audma1 0x4a>;
1793 dma-names = "rx", "tx";
1794 };
1795 ssiu11: ssiu-9 {
1796 dmas = <&audma0 0x4B>, <&audma1 0x4C>;
1797 dma-names = "rx", "tx";
1798 };
1799 ssiu12: ssiu-10 {
1800 dmas = <&audma0 0x57>, <&audma1 0x58>;
1801 dma-names = "rx", "tx";
1802 };
1803 ssiu13: ssiu-11 {
1804 dmas = <&audma0 0x59>, <&audma1 0x5A>;
1805 dma-names = "rx", "tx";
1806 };
1807 ssiu14: ssiu-12 {
1808 dmas = <&audma0 0x5F>, <&audma1 0x60>;
1809 dma-names = "rx", "tx";
1810 };
1811 ssiu15: ssiu-13 {
1812 dmas = <&audma0 0xC3>, <&audma1 0xC4>;
1813 dma-names = "rx", "tx";
1814 };
1815 ssiu16: ssiu-14 {
1816 dmas = <&audma0 0xC7>, <&audma1 0xC8>;
1817 dma-names = "rx", "tx";
1818 };
1819 ssiu17: ssiu-15 {
1820 dmas = <&audma0 0xCB>, <&audma1 0xCC>;
1821 dma-names = "rx", "tx";
1822 };
1823 ssiu20: ssiu-16 {
1824 dmas = <&audma0 0x63>, <&audma1 0x64>;
1825 dma-names = "rx", "tx";
1826 };
1827 ssiu21: ssiu-17 {
1828 dmas = <&audma0 0x67>, <&audma1 0x68>;
1829 dma-names = "rx", "tx";
1830 };
1831 ssiu22: ssiu-18 {
1832 dmas = <&audma0 0x6B>, <&audma1 0x6C>;
1833 dma-names = "rx", "tx";
1834 };
1835 ssiu23: ssiu-19 {
1836 dmas = <&audma0 0x6D>, <&audma1 0x6E>;
1837 dma-names = "rx", "tx";
1838 };
1839 ssiu24: ssiu-20 {
1840 dmas = <&audma0 0xCF>, <&audma1 0xCE>;
1841 dma-names = "rx", "tx";
1842 };
1843 ssiu25: ssiu-21 {
1844 dmas = <&audma0 0xEB>, <&audma1 0xEC>;
1845 dma-names = "rx", "tx";
1846 };
1847 ssiu26: ssiu-22 {
1848 dmas = <&audma0 0xED>, <&audma1 0xEE>;
1849 dma-names = "rx", "tx";
1850 };
1851 ssiu27: ssiu-23 {
1852 dmas = <&audma0 0xEF>, <&audma1 0xF0>;
1853 dma-names = "rx", "tx";
1854 };
1855 ssiu30: ssiu-24 {
1856 dmas = <&audma0 0x6f>, <&audma1 0x70>;
1857 dma-names = "rx", "tx";
1858 };
1859 ssiu31: ssiu-25 {
1860 dmas = <&audma0 0x21>, <&audma1 0x22>;
1861 dma-names = "rx", "tx";
1862 };
1863 ssiu32: ssiu-26 {
1864 dmas = <&audma0 0x23>, <&audma1 0x24>;
1865 dma-names = "rx", "tx";
1866 };
1867 ssiu33: ssiu-27 {
1868 dmas = <&audma0 0x25>, <&audma1 0x26>;
1869 dma-names = "rx", "tx";
1870 };
1871 ssiu34: ssiu-28 {
1872 dmas = <&audma0 0x27>, <&audma1 0x28>;
1873 dma-names = "rx", "tx";
1874 };
1875 ssiu35: ssiu-29 {
1876 dmas = <&audma0 0x29>, <&audma1 0x2A>;
1877 dma-names = "rx", "tx";
1878 };
1879 ssiu36: ssiu-30 {
1880 dmas = <&audma0 0x2B>, <&audma1 0x2C>;
1881 dma-names = "rx", "tx";
1882 };
1883 ssiu37: ssiu-31 {
1884 dmas = <&audma0 0x2D>, <&audma1 0x2E>;
1885 dma-names = "rx", "tx";
1886 };
1887 ssiu40: ssiu-32 {
Marek Vasut2a8450f2023-01-26 21:01:32 +01001888 dmas = <&audma0 0x71>, <&audma1 0x72>;
Biju Das25e0b962020-09-16 09:05:07 +01001889 dma-names = "rx", "tx";
1890 };
1891 ssiu41: ssiu-33 {
1892 dmas = <&audma0 0x17>, <&audma1 0x18>;
1893 dma-names = "rx", "tx";
1894 };
1895 ssiu42: ssiu-34 {
1896 dmas = <&audma0 0x19>, <&audma1 0x1A>;
1897 dma-names = "rx", "tx";
1898 };
1899 ssiu43: ssiu-35 {
1900 dmas = <&audma0 0x1B>, <&audma1 0x1C>;
1901 dma-names = "rx", "tx";
1902 };
1903 ssiu44: ssiu-36 {
1904 dmas = <&audma0 0x1D>, <&audma1 0x1E>;
1905 dma-names = "rx", "tx";
1906 };
1907 ssiu45: ssiu-37 {
1908 dmas = <&audma0 0x1F>, <&audma1 0x20>;
1909 dma-names = "rx", "tx";
1910 };
1911 ssiu46: ssiu-38 {
1912 dmas = <&audma0 0x31>, <&audma1 0x32>;
1913 dma-names = "rx", "tx";
1914 };
1915 ssiu47: ssiu-39 {
1916 dmas = <&audma0 0x33>, <&audma1 0x34>;
1917 dma-names = "rx", "tx";
1918 };
1919 ssiu50: ssiu-40 {
1920 dmas = <&audma0 0x73>, <&audma1 0x74>;
1921 dma-names = "rx", "tx";
1922 };
1923 ssiu60: ssiu-41 {
1924 dmas = <&audma0 0x75>, <&audma1 0x76>;
1925 dma-names = "rx", "tx";
1926 };
1927 ssiu70: ssiu-42 {
1928 dmas = <&audma0 0x79>, <&audma1 0x7a>;
1929 dma-names = "rx", "tx";
1930 };
1931 ssiu80: ssiu-43 {
1932 dmas = <&audma0 0x7b>, <&audma1 0x7c>;
1933 dma-names = "rx", "tx";
1934 };
1935 ssiu90: ssiu-44 {
1936 dmas = <&audma0 0x7d>, <&audma1 0x7e>;
1937 dma-names = "rx", "tx";
1938 };
1939 ssiu91: ssiu-45 {
1940 dmas = <&audma0 0x7F>, <&audma1 0x80>;
1941 dma-names = "rx", "tx";
1942 };
1943 ssiu92: ssiu-46 {
1944 dmas = <&audma0 0x81>, <&audma1 0x82>;
1945 dma-names = "rx", "tx";
1946 };
1947 ssiu93: ssiu-47 {
1948 dmas = <&audma0 0x83>, <&audma1 0x84>;
1949 dma-names = "rx", "tx";
1950 };
1951 ssiu94: ssiu-48 {
1952 dmas = <&audma0 0xA3>, <&audma1 0xA4>;
1953 dma-names = "rx", "tx";
1954 };
1955 ssiu95: ssiu-49 {
1956 dmas = <&audma0 0xA5>, <&audma1 0xA6>;
1957 dma-names = "rx", "tx";
1958 };
1959 ssiu96: ssiu-50 {
1960 dmas = <&audma0 0xA7>, <&audma1 0xA8>;
1961 dma-names = "rx", "tx";
1962 };
1963 ssiu97: ssiu-51 {
1964 dmas = <&audma0 0xA9>, <&audma1 0xAA>;
1965 dma-names = "rx", "tx";
1966 };
1967 };
1968 };
1969
1970 audma0: dma-controller@ec700000 {
1971 compatible = "renesas,dmac-r8a774b1",
1972 "renesas,rcar-dmac";
1973 reg = <0 0xec700000 0 0x10000>;
1974 interrupts = <GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH>,
1975 <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
1976 <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
1977 <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
1978 <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
1979 <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
1980 <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
1981 <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
1982 <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
1983 <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
1984 <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
1985 <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
1986 <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
1987 <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
1988 <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
1989 <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
1990 <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>;
1991 interrupt-names = "error",
1992 "ch0", "ch1", "ch2", "ch3",
1993 "ch4", "ch5", "ch6", "ch7",
1994 "ch8", "ch9", "ch10", "ch11",
1995 "ch12", "ch13", "ch14", "ch15";
1996 clocks = <&cpg CPG_MOD 502>;
1997 clock-names = "fck";
1998 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1999 resets = <&cpg 502>;
2000 #dma-cells = <1>;
2001 dma-channels = <16>;
2002 };
2003
2004 audma1: dma-controller@ec720000 {
2005 compatible = "renesas,dmac-r8a774b1",
2006 "renesas,rcar-dmac";
2007 reg = <0 0xec720000 0 0x10000>;
2008 interrupts = <GIC_SPI 351 IRQ_TYPE_LEVEL_HIGH>,
2009 <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
2010 <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
2011 <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
2012 <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
2013 <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
2014 <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
2015 <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
2016 <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>,
2017 <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>,
2018 <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>,
2019 <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH>,
2020 <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH>,
2021 <GIC_SPI 348 IRQ_TYPE_LEVEL_HIGH>,
2022 <GIC_SPI 349 IRQ_TYPE_LEVEL_HIGH>,
2023 <GIC_SPI 382 IRQ_TYPE_LEVEL_HIGH>,
2024 <GIC_SPI 383 IRQ_TYPE_LEVEL_HIGH>;
2025 interrupt-names = "error",
2026 "ch0", "ch1", "ch2", "ch3",
2027 "ch4", "ch5", "ch6", "ch7",
2028 "ch8", "ch9", "ch10", "ch11",
2029 "ch12", "ch13", "ch14", "ch15";
2030 clocks = <&cpg CPG_MOD 501>;
2031 clock-names = "fck";
2032 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2033 resets = <&cpg 501>;
2034 #dma-cells = <1>;
2035 dma-channels = <16>;
2036 };
2037
2038 xhci0: usb@ee000000 {
2039 compatible = "renesas,xhci-r8a774b1",
2040 "renesas,rcar-gen3-xhci";
2041 reg = <0 0xee000000 0 0xc00>;
2042 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
2043 clocks = <&cpg CPG_MOD 328>;
2044 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2045 resets = <&cpg 328>;
2046 status = "disabled";
2047 };
2048
2049 usb3_peri0: usb@ee020000 {
2050 compatible = "renesas,r8a774b1-usb3-peri",
2051 "renesas,rcar-gen3-usb3-peri";
2052 reg = <0 0xee020000 0 0x400>;
2053 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
2054 clocks = <&cpg CPG_MOD 328>;
2055 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2056 resets = <&cpg 328>;
2057 status = "disabled";
2058 };
2059
2060 ohci0: usb@ee080000 {
2061 compatible = "generic-ohci";
2062 reg = <0 0xee080000 0 0x100>;
2063 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
2064 clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
2065 phys = <&usb2_phy0 1>;
2066 phy-names = "usb";
2067 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2068 resets = <&cpg 703>, <&cpg 704>;
2069 status = "disabled";
2070 };
2071
2072 ohci1: usb@ee0a0000 {
2073 compatible = "generic-ohci";
2074 reg = <0 0xee0a0000 0 0x100>;
2075 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
2076 clocks = <&cpg CPG_MOD 702>;
2077 phys = <&usb2_phy1 1>;
2078 phy-names = "usb";
2079 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2080 resets = <&cpg 702>;
2081 status = "disabled";
2082 };
2083
2084 ehci0: usb@ee080100 {
2085 compatible = "generic-ehci";
2086 reg = <0 0xee080100 0 0x100>;
2087 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
2088 clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
2089 phys = <&usb2_phy0 2>;
2090 phy-names = "usb";
2091 companion = <&ohci0>;
2092 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2093 resets = <&cpg 703>, <&cpg 704>;
2094 status = "disabled";
2095 };
2096
2097 ehci1: usb@ee0a0100 {
2098 compatible = "generic-ehci";
2099 reg = <0 0xee0a0100 0 0x100>;
2100 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
2101 clocks = <&cpg CPG_MOD 702>;
2102 phys = <&usb2_phy1 2>;
2103 phy-names = "usb";
2104 companion = <&ohci1>;
2105 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2106 resets = <&cpg 702>;
2107 status = "disabled";
2108 };
2109
2110 usb2_phy0: usb-phy@ee080200 {
2111 compatible = "renesas,usb2-phy-r8a774b1",
2112 "renesas,rcar-gen3-usb2-phy";
2113 reg = <0 0xee080200 0 0x700>;
2114 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
2115 clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
2116 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2117 resets = <&cpg 703>, <&cpg 704>;
2118 #phy-cells = <1>;
2119 status = "disabled";
2120 };
2121
2122 usb2_phy1: usb-phy@ee0a0200 {
2123 compatible = "renesas,usb2-phy-r8a774b1",
2124 "renesas,rcar-gen3-usb2-phy";
2125 reg = <0 0xee0a0200 0 0x700>;
2126 clocks = <&cpg CPG_MOD 702>;
2127 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2128 resets = <&cpg 702>;
2129 #phy-cells = <1>;
2130 status = "disabled";
2131 };
2132
2133 sdhi0: mmc@ee100000 {
2134 compatible = "renesas,sdhi-r8a774b1",
2135 "renesas,rcar-gen3-sdhi";
2136 reg = <0 0xee100000 0 0x2000>;
2137 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
Marek Vasut2a8450f2023-01-26 21:01:32 +01002138 clocks = <&cpg CPG_MOD 314>, <&cpg CPG_CORE R8A774B1_CLK_SD0H>;
2139 clock-names = "core", "clkh";
Biju Das25e0b962020-09-16 09:05:07 +01002140 max-frequency = <200000000>;
2141 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2142 resets = <&cpg 314>;
2143 status = "disabled";
2144 };
2145
2146 sdhi1: mmc@ee120000 {
2147 compatible = "renesas,sdhi-r8a774b1",
2148 "renesas,rcar-gen3-sdhi";
2149 reg = <0 0xee120000 0 0x2000>;
2150 interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
Marek Vasut2a8450f2023-01-26 21:01:32 +01002151 clocks = <&cpg CPG_MOD 313>, <&cpg CPG_CORE R8A774B1_CLK_SD1H>;
2152 clock-names = "core", "clkh";
Biju Das25e0b962020-09-16 09:05:07 +01002153 max-frequency = <200000000>;
2154 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2155 resets = <&cpg 313>;
2156 status = "disabled";
2157 };
2158
2159 sdhi2: mmc@ee140000 {
2160 compatible = "renesas,sdhi-r8a774b1",
2161 "renesas,rcar-gen3-sdhi";
2162 reg = <0 0xee140000 0 0x2000>;
2163 interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
Marek Vasut2a8450f2023-01-26 21:01:32 +01002164 clocks = <&cpg CPG_MOD 312>, <&cpg CPG_CORE R8A774B1_CLK_SD2H>;
2165 clock-names = "core", "clkh";
Biju Das25e0b962020-09-16 09:05:07 +01002166 max-frequency = <200000000>;
2167 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2168 resets = <&cpg 312>;
2169 status = "disabled";
2170 };
2171
2172 sdhi3: mmc@ee160000 {
2173 compatible = "renesas,sdhi-r8a774b1",
2174 "renesas,rcar-gen3-sdhi";
2175 reg = <0 0xee160000 0 0x2000>;
2176 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
Marek Vasut2a8450f2023-01-26 21:01:32 +01002177 clocks = <&cpg CPG_MOD 311>, <&cpg CPG_CORE R8A774B1_CLK_SD3H>;
2178 clock-names = "core", "clkh";
Biju Das25e0b962020-09-16 09:05:07 +01002179 max-frequency = <200000000>;
2180 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2181 resets = <&cpg 311>;
2182 status = "disabled";
2183 };
2184
Adam Ford8d9bdf42021-02-03 06:57:18 -06002185 rpc: spi@ee200000 {
2186 compatible = "renesas,r8a774b1-rpc-if",
2187 "renesas,rcar-gen3-rpc-if";
2188 reg = <0 0xee200000 0 0x200>,
2189 <0 0x08000000 0 0x4000000>,
2190 <0 0xee208000 0 0x100>;
2191 reg-names = "regs", "dirmap", "wbuf";
2192 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
2193 clocks = <&cpg CPG_MOD 917>;
Adam Ford8d9bdf42021-02-03 06:57:18 -06002194 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2195 resets = <&cpg 917>;
2196 #address-cells = <1>;
2197 #size-cells = <0>;
2198 status = "disabled";
2199 };
2200
Biju Das25e0b962020-09-16 09:05:07 +01002201 sata: sata@ee300000 {
2202 compatible = "renesas,sata-r8a774b1",
2203 "renesas,rcar-gen3-sata";
2204 reg = <0 0xee300000 0 0x200000>;
2205 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
2206 clocks = <&cpg CPG_MOD 815>;
2207 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2208 resets = <&cpg 815>;
2209 status = "disabled";
2210 };
2211
2212 gic: interrupt-controller@f1010000 {
2213 compatible = "arm,gic-400";
2214 #interrupt-cells = <3>;
2215 #address-cells = <0>;
2216 interrupt-controller;
2217 reg = <0x0 0xf1010000 0 0x1000>,
2218 <0x0 0xf1020000 0 0x20000>,
2219 <0x0 0xf1040000 0 0x20000>,
2220 <0x0 0xf1060000 0 0x20000>;
2221 interrupts = <GIC_PPI 9
2222 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
2223 clocks = <&cpg CPG_MOD 408>;
2224 clock-names = "clk";
2225 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2226 resets = <&cpg 408>;
2227 };
2228
2229 pciec0: pcie@fe000000 {
2230 compatible = "renesas,pcie-r8a774b1",
2231 "renesas,pcie-rcar-gen3";
2232 reg = <0 0xfe000000 0 0x80000>;
2233 #address-cells = <3>;
2234 #size-cells = <2>;
2235 bus-range = <0x00 0xff>;
2236 device_type = "pci";
2237 ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000>,
2238 <0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000>,
2239 <0x02000000 0 0x30000000 0 0x30000000 0 0x08000000>,
2240 <0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
Marek Vasut1a8f48e2023-09-17 16:13:16 +02002241 /* Map all possible DDR/IOMMU as inbound ranges */
2242 dma-ranges = <0x42000000 0 0x00000000 0 0x00000000 1 0x00000000>;
Biju Das25e0b962020-09-16 09:05:07 +01002243 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
2244 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
2245 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
2246 #interrupt-cells = <1>;
2247 interrupt-map-mask = <0 0 0 0>;
2248 interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
2249 clocks = <&cpg CPG_MOD 319>, <&pcie_bus_clk>;
2250 clock-names = "pcie", "pcie_bus";
2251 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2252 resets = <&cpg 319>;
Marek Vasut1a8f48e2023-09-17 16:13:16 +02002253 iommu-map = <0 &ipmmu_hc 0 1>;
2254 iommu-map-mask = <0>;
Biju Das25e0b962020-09-16 09:05:07 +01002255 status = "disabled";
2256 };
2257
2258 pciec1: pcie@ee800000 {
2259 compatible = "renesas,pcie-r8a774b1",
2260 "renesas,pcie-rcar-gen3";
2261 reg = <0 0xee800000 0 0x80000>;
2262 #address-cells = <3>;
2263 #size-cells = <2>;
2264 bus-range = <0x00 0xff>;
2265 device_type = "pci";
2266 ranges = <0x01000000 0 0x00000000 0 0xee900000 0 0x00100000>,
2267 <0x02000000 0 0xeea00000 0 0xeea00000 0 0x00200000>,
2268 <0x02000000 0 0xc0000000 0 0xc0000000 0 0x08000000>,
2269 <0x42000000 0 0xc8000000 0 0xc8000000 0 0x08000000>;
Marek Vasut1a8f48e2023-09-17 16:13:16 +02002270 /* Map all possible DDR/IOMMU as inbound ranges */
2271 dma-ranges = <0x42000000 0 0x00000000 0 0x00000000 1 0x00000000>;
Biju Das25e0b962020-09-16 09:05:07 +01002272 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
2273 <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
2274 <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
2275 #interrupt-cells = <1>;
2276 interrupt-map-mask = <0 0 0 0>;
2277 interrupt-map = <0 0 0 0 &gic GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
2278 clocks = <&cpg CPG_MOD 318>, <&pcie_bus_clk>;
2279 clock-names = "pcie", "pcie_bus";
2280 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2281 resets = <&cpg 318>;
Marek Vasut1a8f48e2023-09-17 16:13:16 +02002282 iommu-map = <0 &ipmmu_hc 1 1>;
2283 iommu-map-mask = <0>;
Biju Das25e0b962020-09-16 09:05:07 +01002284 status = "disabled";
2285 };
2286
Adam Ford8d9bdf42021-02-03 06:57:18 -06002287 pciec0_ep: pcie-ep@fe000000 {
2288 compatible = "renesas,r8a774b1-pcie-ep",
2289 "renesas,rcar-gen3-pcie-ep";
2290 reg = <0x0 0xfe000000 0 0x80000>,
2291 <0x0 0xfe100000 0 0x100000>,
2292 <0x0 0xfe200000 0 0x200000>,
2293 <0x0 0x30000000 0 0x8000000>,
2294 <0x0 0x38000000 0 0x8000000>;
2295 reg-names = "apb-base", "memory0", "memory1", "memory2", "memory3";
2296 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
2297 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
2298 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
2299 clocks = <&cpg CPG_MOD 319>;
2300 clock-names = "pcie";
2301 resets = <&cpg 319>;
2302 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2303 status = "disabled";
2304 };
2305
2306 pciec1_ep: pcie-ep@ee800000 {
2307 compatible = "renesas,r8a774b1-pcie-ep",
2308 "renesas,rcar-gen3-pcie-ep";
2309 reg = <0x0 0xee800000 0 0x80000>,
2310 <0x0 0xee900000 0 0x100000>,
2311 <0x0 0xeea00000 0 0x200000>,
2312 <0x0 0xc0000000 0 0x8000000>,
2313 <0x0 0xc8000000 0 0x8000000>;
2314 reg-names = "apb-base", "memory0", "memory1", "memory2", "memory3";
2315 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
2316 <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
2317 <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
2318 clocks = <&cpg CPG_MOD 318>;
2319 clock-names = "pcie";
2320 resets = <&cpg 318>;
2321 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2322 status = "disabled";
2323 };
2324
Biju Das25e0b962020-09-16 09:05:07 +01002325 fdp1@fe940000 {
2326 compatible = "renesas,fdp1";
2327 reg = <0 0xfe940000 0 0x2400>;
2328 interrupts = <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>;
2329 clocks = <&cpg CPG_MOD 119>;
2330 power-domains = <&sysc R8A774B1_PD_A3VP>;
2331 resets = <&cpg 119>;
2332 renesas,fcp = <&fcpf0>;
2333 };
2334
2335 fcpf0: fcp@fe950000 {
2336 compatible = "renesas,fcpf";
2337 reg = <0 0xfe950000 0 0x200>;
2338 clocks = <&cpg CPG_MOD 615>;
2339 power-domains = <&sysc R8A774B1_PD_A3VP>;
2340 resets = <&cpg 615>;
2341 };
2342
2343 vspb: vsp@fe960000 {
2344 compatible = "renesas,vsp2";
2345 reg = <0 0xfe960000 0 0x8000>;
2346 interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
2347 clocks = <&cpg CPG_MOD 626>;
2348 power-domains = <&sysc R8A774B1_PD_A3VP>;
2349 resets = <&cpg 626>;
2350
2351 renesas,fcp = <&fcpvb0>;
2352 };
2353
2354 vspi0: vsp@fe9a0000 {
2355 compatible = "renesas,vsp2";
2356 reg = <0 0xfe9a0000 0 0x8000>;
2357 interrupts = <GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>;
2358 clocks = <&cpg CPG_MOD 631>;
2359 power-domains = <&sysc R8A774B1_PD_A3VP>;
2360 resets = <&cpg 631>;
2361
2362 renesas,fcp = <&fcpvi0>;
2363 };
2364
2365 vspd0: vsp@fea20000 {
2366 compatible = "renesas,vsp2";
2367 reg = <0 0xfea20000 0 0x5000>;
2368 interrupts = <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>;
2369 clocks = <&cpg CPG_MOD 623>;
2370 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2371 resets = <&cpg 623>;
2372
2373 renesas,fcp = <&fcpvd0>;
2374 };
2375
2376 vspd1: vsp@fea28000 {
2377 compatible = "renesas,vsp2";
2378 reg = <0 0xfea28000 0 0x5000>;
2379 interrupts = <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>;
2380 clocks = <&cpg CPG_MOD 622>;
2381 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2382 resets = <&cpg 622>;
2383
2384 renesas,fcp = <&fcpvd1>;
2385 };
2386
2387 fcpvb0: fcp@fe96f000 {
2388 compatible = "renesas,fcpv";
2389 reg = <0 0xfe96f000 0 0x200>;
2390 clocks = <&cpg CPG_MOD 607>;
2391 power-domains = <&sysc R8A774B1_PD_A3VP>;
2392 resets = <&cpg 607>;
2393 };
2394
2395 fcpvd0: fcp@fea27000 {
2396 compatible = "renesas,fcpv";
2397 reg = <0 0xfea27000 0 0x200>;
2398 clocks = <&cpg CPG_MOD 603>;
2399 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2400 resets = <&cpg 603>;
2401 };
2402
2403 fcpvd1: fcp@fea2f000 {
2404 compatible = "renesas,fcpv";
2405 reg = <0 0xfea2f000 0 0x200>;
2406 clocks = <&cpg CPG_MOD 602>;
2407 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2408 resets = <&cpg 602>;
2409 };
2410
2411 fcpvi0: fcp@fe9af000 {
2412 compatible = "renesas,fcpv";
2413 reg = <0 0xfe9af000 0 0x200>;
2414 clocks = <&cpg CPG_MOD 611>;
2415 power-domains = <&sysc R8A774B1_PD_A3VP>;
2416 resets = <&cpg 611>;
2417 };
2418
2419 csi20: csi2@fea80000 {
2420 compatible = "renesas,r8a774b1-csi2";
2421 reg = <0 0xfea80000 0 0x10000>;
2422 interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
2423 clocks = <&cpg CPG_MOD 714>;
2424 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2425 resets = <&cpg 714>;
2426 status = "disabled";
2427
2428 ports {
2429 #address-cells = <1>;
2430 #size-cells = <0>;
2431
Marek Vasut2a8450f2023-01-26 21:01:32 +01002432 port@0 {
2433 reg = <0>;
2434 };
2435
Biju Das25e0b962020-09-16 09:05:07 +01002436 port@1 {
2437 #address-cells = <1>;
2438 #size-cells = <0>;
2439
2440 reg = <1>;
2441
2442 csi20vin0: endpoint@0 {
2443 reg = <0>;
2444 remote-endpoint = <&vin0csi20>;
2445 };
2446 csi20vin1: endpoint@1 {
2447 reg = <1>;
2448 remote-endpoint = <&vin1csi20>;
2449 };
2450 csi20vin2: endpoint@2 {
2451 reg = <2>;
2452 remote-endpoint = <&vin2csi20>;
2453 };
2454 csi20vin3: endpoint@3 {
2455 reg = <3>;
2456 remote-endpoint = <&vin3csi20>;
2457 };
2458 csi20vin4: endpoint@4 {
2459 reg = <4>;
2460 remote-endpoint = <&vin4csi20>;
2461 };
2462 csi20vin5: endpoint@5 {
2463 reg = <5>;
2464 remote-endpoint = <&vin5csi20>;
2465 };
2466 csi20vin6: endpoint@6 {
2467 reg = <6>;
2468 remote-endpoint = <&vin6csi20>;
2469 };
2470 csi20vin7: endpoint@7 {
2471 reg = <7>;
2472 remote-endpoint = <&vin7csi20>;
2473 };
2474 };
2475 };
2476 };
2477
2478 csi40: csi2@feaa0000 {
2479 compatible = "renesas,r8a774b1-csi2";
2480 reg = <0 0xfeaa0000 0 0x10000>;
2481 interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
2482 clocks = <&cpg CPG_MOD 716>;
2483 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2484 resets = <&cpg 716>;
2485 status = "disabled";
2486
2487 ports {
2488 #address-cells = <1>;
2489 #size-cells = <0>;
2490
Marek Vasut2a8450f2023-01-26 21:01:32 +01002491 port@0 {
2492 reg = <0>;
2493 };
2494
Biju Das25e0b962020-09-16 09:05:07 +01002495 port@1 {
2496 #address-cells = <1>;
2497 #size-cells = <0>;
2498
2499 reg = <1>;
2500
2501 csi40vin0: endpoint@0 {
2502 reg = <0>;
2503 remote-endpoint = <&vin0csi40>;
2504 };
2505 csi40vin1: endpoint@1 {
2506 reg = <1>;
2507 remote-endpoint = <&vin1csi40>;
2508 };
2509 csi40vin2: endpoint@2 {
2510 reg = <2>;
2511 remote-endpoint = <&vin2csi40>;
2512 };
2513 csi40vin3: endpoint@3 {
2514 reg = <3>;
2515 remote-endpoint = <&vin3csi40>;
2516 };
2517 csi40vin4: endpoint@4 {
2518 reg = <4>;
2519 remote-endpoint = <&vin4csi40>;
2520 };
2521 csi40vin5: endpoint@5 {
2522 reg = <5>;
2523 remote-endpoint = <&vin5csi40>;
2524 };
2525 csi40vin6: endpoint@6 {
2526 reg = <6>;
2527 remote-endpoint = <&vin6csi40>;
2528 };
2529 csi40vin7: endpoint@7 {
2530 reg = <7>;
2531 remote-endpoint = <&vin7csi40>;
2532 };
2533 };
2534 };
2535 };
2536
2537 hdmi0: hdmi@fead0000 {
2538 compatible = "renesas,r8a774b1-hdmi",
2539 "renesas,rcar-gen3-hdmi";
2540 reg = <0 0xfead0000 0 0x10000>;
2541 interrupts = <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>;
2542 clocks = <&cpg CPG_MOD 729>,
2543 <&cpg CPG_CORE R8A774B1_CLK_HDMI>;
2544 clock-names = "iahb", "isfr";
2545 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2546 resets = <&cpg 729>;
2547 status = "disabled";
2548
2549 ports {
2550 #address-cells = <1>;
2551 #size-cells = <0>;
2552
2553 port@0 {
2554 reg = <0>;
2555 dw_hdmi0_in: endpoint {
2556 remote-endpoint = <&du_out_hdmi0>;
2557 };
2558 };
2559 port@1 {
2560 reg = <1>;
2561 };
2562 port@2 {
2563 /* HDMI sound */
2564 reg = <2>;
2565 };
2566 };
2567 };
2568
2569 du: display@feb00000 {
2570 compatible = "renesas,du-r8a774b1";
2571 reg = <0 0xfeb00000 0 0x80000>;
2572 interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
2573 <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
2574 <GIC_SPI 270 IRQ_TYPE_LEVEL_HIGH>;
2575 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>,
2576 <&cpg CPG_MOD 721>;
2577 clock-names = "du.0", "du.1", "du.3";
2578 resets = <&cpg 724>, <&cpg 722>;
2579 reset-names = "du.0", "du.3";
2580 status = "disabled";
2581
2582 renesas,vsps = <&vspd0 0>, <&vspd1 0>, <&vspd0 1>;
2583
2584 ports {
2585 #address-cells = <1>;
2586 #size-cells = <0>;
2587
2588 port@0 {
2589 reg = <0>;
Biju Das25e0b962020-09-16 09:05:07 +01002590 };
2591 port@1 {
2592 reg = <1>;
2593 du_out_hdmi0: endpoint {
2594 remote-endpoint = <&dw_hdmi0_in>;
2595 };
2596 };
2597 port@2 {
2598 reg = <2>;
2599 du_out_lvds0: endpoint {
2600 remote-endpoint = <&lvds0_in>;
2601 };
2602 };
2603 };
2604 };
2605
2606 lvds0: lvds@feb90000 {
2607 compatible = "renesas,r8a774b1-lvds";
2608 reg = <0 0xfeb90000 0 0x14>;
2609 clocks = <&cpg CPG_MOD 727>;
2610 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2611 resets = <&cpg 727>;
2612 status = "disabled";
2613
2614 ports {
2615 #address-cells = <1>;
2616 #size-cells = <0>;
2617
2618 port@0 {
2619 reg = <0>;
2620 lvds0_in: endpoint {
2621 remote-endpoint = <&du_out_lvds0>;
2622 };
2623 };
2624 port@1 {
2625 reg = <1>;
Biju Das25e0b962020-09-16 09:05:07 +01002626 };
2627 };
2628 };
2629
2630 prr: chipid@fff00044 {
2631 compatible = "renesas,prr";
2632 reg = <0 0xfff00044 0 4>;
2633 };
2634 };
2635
2636 thermal-zones {
Marek Vasut2a8450f2023-01-26 21:01:32 +01002637 sensor1_thermal: sensor1-thermal {
Biju Das25e0b962020-09-16 09:05:07 +01002638 polling-delay-passive = <250>;
2639 polling-delay = <1000>;
2640 thermal-sensors = <&tsc 0>;
2641 sustainable-power = <2439>;
2642
2643 trips {
2644 sensor1_crit: sensor1-crit {
2645 temperature = <120000>;
2646 hysteresis = <1000>;
2647 type = "critical";
2648 };
2649 };
2650 };
2651
Marek Vasut2a8450f2023-01-26 21:01:32 +01002652 sensor2_thermal: sensor2-thermal {
Biju Das25e0b962020-09-16 09:05:07 +01002653 polling-delay-passive = <250>;
2654 polling-delay = <1000>;
2655 thermal-sensors = <&tsc 1>;
2656 sustainable-power = <2439>;
2657
2658 trips {
2659 sensor2_crit: sensor2-crit {
2660 temperature = <120000>;
2661 hysteresis = <1000>;
2662 type = "critical";
2663 };
2664 };
2665 };
2666
Marek Vasut2a8450f2023-01-26 21:01:32 +01002667 sensor3_thermal: sensor3-thermal {
Biju Das25e0b962020-09-16 09:05:07 +01002668 polling-delay-passive = <250>;
2669 polling-delay = <1000>;
2670 thermal-sensors = <&tsc 2>;
2671 sustainable-power = <2439>;
2672
2673 cooling-maps {
2674 map0 {
2675 trip = <&target>;
2676 cooling-device = <&a57_0 0 2>;
2677 contribution = <1024>;
2678 };
2679 };
2680 trips {
2681 target: trip-point1 {
2682 temperature = <100000>;
2683 hysteresis = <1000>;
2684 type = "passive";
2685 };
2686
2687 sensor3_crit: sensor3-crit {
2688 temperature = <120000>;
2689 hysteresis = <1000>;
2690 type = "critical";
2691 };
2692 };
2693 };
2694 };
2695
2696 timer {
2697 compatible = "arm,armv8-timer";
2698 interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
2699 <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
2700 <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
2701 <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
2702 };
2703
2704 /* External USB clocks - can be overridden by the board */
2705 usb3s0_clk: usb3s0 {
2706 compatible = "fixed-clock";
2707 #clock-cells = <0>;
2708 clock-frequency = <0>;
2709 };
2710
2711 usb_extal_clk: usb_extal {
2712 compatible = "fixed-clock";
2713 #clock-cells = <0>;
2714 clock-frequency = <0>;
2715 };
2716};