1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the R-Car V3M (R8A77970) SoC
5 * Copyright (C) 2016-2017 Renesas Electronics Corp.
6 * Copyright (C) 2017 Cogent Embedded, Inc.
9 #include <dt-bindings/clock/r8a77970-cpg-mssr.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/power/r8a77970-sysc.h>
15 compatible = "renesas,r8a77970";
27 /* External CAN clock - to be overridden by boards that provide it */
29 compatible = "fixed-clock";
31 clock-frequency = <0>;
40 compatible = "arm,cortex-a53";
42 clocks = <&cpg CPG_CORE R8A77970_CLK_Z2>;
43 power-domains = <&sysc R8A77970_PD_CA53_CPU0>;
44 next-level-cache = <&L2_CA53>;
45 enable-method = "psci";
50 compatible = "arm,cortex-a53";
52 clocks = <&cpg CPG_CORE R8A77970_CLK_Z2>;
53 power-domains = <&sysc R8A77970_PD_CA53_CPU1>;
54 next-level-cache = <&L2_CA53>;
55 enable-method = "psci";
58 L2_CA53: cache-controller {
60 power-domains = <&sysc R8A77970_PD_CA53_SCU>;
67 compatible = "fixed-clock";
69 /* This value must be overridden by the board */
70 clock-frequency = <0>;
74 compatible = "fixed-clock";
76 /* This value must be overridden by the board */
77 clock-frequency = <0>;
81 compatible = "arm,cortex-a53-pmu";
82 interrupts-extended = <&gic GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
83 <&gic GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
84 interrupt-affinity = <&a53_0>, <&a53_1>;
88 compatible = "arm,psci-1.0", "arm,psci-0.2";
92 /* External SCIF clock - to be overridden by boards that provide it */
94 compatible = "fixed-clock";
96 clock-frequency = <0>;
100 compatible = "simple-bus";
101 interrupt-parent = <&gic>;
103 #address-cells = <2>;
107 rwdt: watchdog@e6020000 {
108 compatible = "renesas,r8a77970-wdt",
109 "renesas,rcar-gen3-wdt";
110 reg = <0 0xe6020000 0 0x0c>;
111 clocks = <&cpg CPG_MOD 402>;
112 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
117 gpio0: gpio@e6050000 {
118 compatible = "renesas,gpio-r8a77970",
119 "renesas,rcar-gen3-gpio";
120 reg = <0 0xe6050000 0 0x50>;
121 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
124 gpio-ranges = <&pfc 0 0 22>;
125 #interrupt-cells = <2>;
126 interrupt-controller;
127 clocks = <&cpg CPG_MOD 912>;
128 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
132 gpio1: gpio@e6051000 {
133 compatible = "renesas,gpio-r8a77970",
134 "renesas,rcar-gen3-gpio";
135 reg = <0 0xe6051000 0 0x50>;
136 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
139 gpio-ranges = <&pfc 0 32 28>;
140 #interrupt-cells = <2>;
141 interrupt-controller;
142 clocks = <&cpg CPG_MOD 911>;
143 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
147 gpio2: gpio@e6052000 {
148 compatible = "renesas,gpio-r8a77970",
149 "renesas,rcar-gen3-gpio";
150 reg = <0 0xe6052000 0 0x50>;
151 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
154 gpio-ranges = <&pfc 0 64 17>;
155 #interrupt-cells = <2>;
156 interrupt-controller;
157 clocks = <&cpg CPG_MOD 910>;
158 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
162 gpio3: gpio@e6053000 {
163 compatible = "renesas,gpio-r8a77970",
164 "renesas,rcar-gen3-gpio";
165 reg = <0 0xe6053000 0 0x50>;
166 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
169 gpio-ranges = <&pfc 0 96 17>;
170 #interrupt-cells = <2>;
171 interrupt-controller;
172 clocks = <&cpg CPG_MOD 909>;
173 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
177 gpio4: gpio@e6054000 {
178 compatible = "renesas,gpio-r8a77970",
179 "renesas,rcar-gen3-gpio";
180 reg = <0 0xe6054000 0 0x50>;
181 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
184 gpio-ranges = <&pfc 0 128 6>;
185 #interrupt-cells = <2>;
186 interrupt-controller;
187 clocks = <&cpg CPG_MOD 908>;
188 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
192 gpio5: gpio@e6055000 {
193 compatible = "renesas,gpio-r8a77970",
194 "renesas,rcar-gen3-gpio";
195 reg = <0 0xe6055000 0 0x50>;
196 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
199 gpio-ranges = <&pfc 0 160 15>;
200 #interrupt-cells = <2>;
201 interrupt-controller;
202 clocks = <&cpg CPG_MOD 907>;
203 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
207 pfc: pinctrl@e6060000 {
208 compatible = "renesas,pfc-r8a77970";
209 reg = <0 0xe6060000 0 0x504>;
212 cmt0: timer@e60f0000 {
213 compatible = "renesas,r8a77970-cmt0",
214 "renesas,rcar-gen3-cmt0";
215 reg = <0 0xe60f0000 0 0x1004>;
216 interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
217 <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
218 clocks = <&cpg CPG_MOD 303>;
220 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
225 cmt1: timer@e6130000 {
226 compatible = "renesas,r8a77970-cmt1",
227 "renesas,rcar-gen3-cmt1";
228 reg = <0 0xe6130000 0 0x1004>;
229 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
230 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
231 <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
232 <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
233 <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
234 <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
235 <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
236 <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
237 clocks = <&cpg CPG_MOD 302>;
239 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
244 cmt2: timer@e6140000 {
245 compatible = "renesas,r8a77970-cmt1",
246 "renesas,rcar-gen3-cmt1";
247 reg = <0 0xe6140000 0 0x1004>;
248 interrupts = <GIC_SPI 258 IRQ_TYPE_LEVEL_HIGH>,
249 <GIC_SPI 259 IRQ_TYPE_LEVEL_HIGH>,
250 <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>,
251 <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>,
252 <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>,
253 <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>,
254 <GIC_SPI 264 IRQ_TYPE_LEVEL_HIGH>,
255 <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
256 clocks = <&cpg CPG_MOD 301>;
258 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
263 cmt3: timer@e6148000 {
264 compatible = "renesas,r8a77970-cmt1",
265 "renesas,rcar-gen3-cmt1";
266 reg = <0 0xe6148000 0 0x1004>;
267 interrupts = <GIC_SPI 273 IRQ_TYPE_LEVEL_HIGH>,
268 <GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH>,
269 <GIC_SPI 275 IRQ_TYPE_LEVEL_HIGH>,
270 <GIC_SPI 276 IRQ_TYPE_LEVEL_HIGH>,
271 <GIC_SPI 277 IRQ_TYPE_LEVEL_HIGH>,
272 <GIC_SPI 278 IRQ_TYPE_LEVEL_HIGH>,
273 <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
274 <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>;
275 clocks = <&cpg CPG_MOD 300>;
277 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
282 cpg: clock-controller@e6150000 {
283 compatible = "renesas,r8a77970-cpg-mssr";
284 reg = <0 0xe6150000 0 0x1000>;
285 clocks = <&extal_clk>, <&extalr_clk>;
286 clock-names = "extal", "extalr";
288 #power-domain-cells = <0>;
292 rst: reset-controller@e6160000 {
293 compatible = "renesas,r8a77970-rst";
294 reg = <0 0xe6160000 0 0x200>;
297 sysc: system-controller@e6180000 {
298 compatible = "renesas,r8a77970-sysc";
299 reg = <0 0xe6180000 0 0x440>;
300 #power-domain-cells = <1>;
303 thermal: thermal@e6190000 {
304 compatible = "renesas,thermal-r8a77970";
305 reg = <0 0xe6190000 0 0x10>,
306 <0 0xe6190100 0 0x120>;
307 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
308 <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
309 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
310 clocks = <&cpg CPG_MOD 522>;
311 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
313 #thermal-sensor-cells = <0>;
316 intc_ex: interrupt-controller@e61c0000 {
317 compatible = "renesas,intc-ex-r8a77970", "renesas,irqc";
318 #interrupt-cells = <2>;
319 interrupt-controller;
320 reg = <0 0xe61c0000 0 0x200>;
321 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
322 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
323 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
324 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
325 <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
326 <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
327 clocks = <&cpg CPG_MOD 407>;
328 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
332 tmu0: timer@e61e0000 {
333 compatible = "renesas,tmu-r8a77970", "renesas,tmu";
334 reg = <0 0xe61e0000 0 0x30>;
335 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
336 <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
337 <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
338 clocks = <&cpg CPG_MOD 125>;
340 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
345 tmu1: timer@e6fc0000 {
346 compatible = "renesas,tmu-r8a77970", "renesas,tmu";
347 reg = <0 0xe6fc0000 0 0x30>;
348 interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
349 <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
350 <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
351 clocks = <&cpg CPG_MOD 124>;
353 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
358 tmu2: timer@e6fd0000 {
359 compatible = "renesas,tmu-r8a77970", "renesas,tmu";
360 reg = <0 0xe6fd0000 0 0x30>;
361 interrupts = <GIC_SPI 303 IRQ_TYPE_LEVEL_HIGH>,
362 <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
363 <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
364 clocks = <&cpg CPG_MOD 123>;
366 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
371 tmu3: timer@e6fe0000 {
372 compatible = "renesas,tmu-r8a77970", "renesas,tmu";
373 reg = <0 0xe6fe0000 0 0x30>;
374 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
375 <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>,
376 <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
377 clocks = <&cpg CPG_MOD 122>;
379 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
384 tmu4: timer@ffc00000 {
385 compatible = "renesas,tmu-r8a77970", "renesas,tmu";
386 reg = <0 0xffc00000 0 0x30>;
387 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
388 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
389 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
390 clocks = <&cpg CPG_MOD 121>;
392 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
398 compatible = "renesas,i2c-r8a77970",
399 "renesas,rcar-gen3-i2c";
400 reg = <0 0xe6500000 0 0x40>;
401 interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
402 clocks = <&cpg CPG_MOD 931>;
403 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
405 dmas = <&dmac1 0x91>, <&dmac1 0x90>,
406 <&dmac2 0x91>, <&dmac2 0x90>;
407 dma-names = "tx", "rx", "tx", "rx";
408 i2c-scl-internal-delay-ns = <6>;
409 #address-cells = <1>;
415 compatible = "renesas,i2c-r8a77970",
416 "renesas,rcar-gen3-i2c";
417 reg = <0 0xe6508000 0 0x40>;
418 interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
419 clocks = <&cpg CPG_MOD 930>;
420 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
422 dmas = <&dmac1 0x93>, <&dmac1 0x92>,
423 <&dmac2 0x93>, <&dmac2 0x92>;
424 dma-names = "tx", "rx", "tx", "rx";
425 i2c-scl-internal-delay-ns = <6>;
426 #address-cells = <1>;
432 compatible = "renesas,i2c-r8a77970",
433 "renesas,rcar-gen3-i2c";
434 reg = <0 0xe6510000 0 0x40>;
435 interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
436 clocks = <&cpg CPG_MOD 929>;
437 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
439 dmas = <&dmac1 0x95>, <&dmac1 0x94>,
440 <&dmac2 0x95>, <&dmac2 0x94>;
441 dma-names = "tx", "rx", "tx", "rx";
442 i2c-scl-internal-delay-ns = <6>;
443 #address-cells = <1>;
449 compatible = "renesas,i2c-r8a77970",
450 "renesas,rcar-gen3-i2c";
451 reg = <0 0xe66d0000 0 0x40>;
452 interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
453 clocks = <&cpg CPG_MOD 928>;
454 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
456 dmas = <&dmac1 0x97>, <&dmac1 0x96>,
457 <&dmac2 0x97>, <&dmac2 0x96>;
458 dma-names = "tx", "rx", "tx", "rx";
459 i2c-scl-internal-delay-ns = <6>;
460 #address-cells = <1>;
466 compatible = "renesas,i2c-r8a77970",
467 "renesas,rcar-gen3-i2c";
468 reg = <0 0xe66d8000 0 0x40>;
469 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
470 clocks = <&cpg CPG_MOD 927>;
471 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
473 dmas = <&dmac1 0x99>, <&dmac1 0x98>,
474 <&dmac2 0x99>, <&dmac2 0x98>;
475 dma-names = "tx", "rx", "tx", "rx";
476 i2c-scl-internal-delay-ns = <6>;
477 #address-cells = <1>;
482 hscif0: serial@e6540000 {
483 compatible = "renesas,hscif-r8a77970",
484 "renesas,rcar-gen3-hscif",
486 reg = <0 0xe6540000 0 96>;
487 interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
488 clocks = <&cpg CPG_MOD 520>,
489 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
491 clock-names = "fck", "brg_int", "scif_clk";
492 dmas = <&dmac1 0x31>, <&dmac1 0x30>,
493 <&dmac2 0x31>, <&dmac2 0x30>;
494 dma-names = "tx", "rx", "tx", "rx";
495 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
500 hscif1: serial@e6550000 {
501 compatible = "renesas,hscif-r8a77970",
502 "renesas,rcar-gen3-hscif",
504 reg = <0 0xe6550000 0 96>;
505 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
506 clocks = <&cpg CPG_MOD 519>,
507 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
509 clock-names = "fck", "brg_int", "scif_clk";
510 dmas = <&dmac1 0x33>, <&dmac1 0x32>,
511 <&dmac2 0x33>, <&dmac2 0x32>;
512 dma-names = "tx", "rx", "tx", "rx";
513 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
518 hscif2: serial@e6560000 {
519 compatible = "renesas,hscif-r8a77970",
520 "renesas,rcar-gen3-hscif",
522 reg = <0 0xe6560000 0 96>;
523 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
524 clocks = <&cpg CPG_MOD 518>,
525 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
527 clock-names = "fck", "brg_int", "scif_clk";
528 dmas = <&dmac1 0x35>, <&dmac1 0x34>,
529 <&dmac2 0x35>, <&dmac2 0x34>;
530 dma-names = "tx", "rx", "tx", "rx";
531 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
536 hscif3: serial@e66a0000 {
537 compatible = "renesas,hscif-r8a77970",
538 "renesas,rcar-gen3-hscif", "renesas,hscif";
539 reg = <0 0xe66a0000 0 96>;
540 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
541 clocks = <&cpg CPG_MOD 517>,
542 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
544 clock-names = "fck", "brg_int", "scif_clk";
545 dmas = <&dmac1 0x37>, <&dmac1 0x36>,
546 <&dmac2 0x37>, <&dmac2 0x36>;
547 dma-names = "tx", "rx", "tx", "rx";
548 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
553 canfd: can@e66c0000 {
554 compatible = "renesas,r8a77970-canfd",
555 "renesas,rcar-gen3-canfd";
556 reg = <0 0xe66c0000 0 0x8000>;
557 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
558 <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
559 clocks = <&cpg CPG_MOD 914>,
560 <&cpg CPG_CORE R8A77970_CLK_CANFD>,
562 clock-names = "fck", "canfd", "can_clk";
563 assigned-clocks = <&cpg CPG_CORE R8A77970_CLK_CANFD>;
564 assigned-clock-rates = <40000000>;
565 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
578 avb: ethernet@e6800000 {
579 compatible = "renesas,etheravb-r8a77970",
580 "renesas,etheravb-rcar-gen3";
581 reg = <0 0xe6800000 0 0x800>;
582 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
583 <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
584 <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
585 <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
586 <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
587 <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
588 <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
589 <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
590 <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
591 <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
592 <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
593 <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
594 <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
595 <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
596 <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
597 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
598 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
599 <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
600 <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
601 <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
602 <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
603 <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
604 <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
605 <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
606 <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
607 interrupt-names = "ch0", "ch1", "ch2", "ch3",
608 "ch4", "ch5", "ch6", "ch7",
609 "ch8", "ch9", "ch10", "ch11",
610 "ch12", "ch13", "ch14", "ch15",
611 "ch16", "ch17", "ch18", "ch19",
612 "ch20", "ch21", "ch22", "ch23",
614 clocks = <&cpg CPG_MOD 812>;
615 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
618 rx-internal-delay-ps = <0>;
619 tx-internal-delay-ps = <0>;
620 iommus = <&ipmmu_rt 3>;
621 #address-cells = <1>;
627 compatible = "renesas,pwm-r8a77970", "renesas,pwm-rcar";
628 reg = <0 0xe6e30000 0 8>;
630 clocks = <&cpg CPG_MOD 523>;
631 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
637 compatible = "renesas,pwm-r8a77970", "renesas,pwm-rcar";
638 reg = <0 0xe6e31000 0 8>;
640 clocks = <&cpg CPG_MOD 523>;
641 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
647 compatible = "renesas,pwm-r8a77970", "renesas,pwm-rcar";
648 reg = <0 0xe6e32000 0 8>;
650 clocks = <&cpg CPG_MOD 523>;
651 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
657 compatible = "renesas,pwm-r8a77970", "renesas,pwm-rcar";
658 reg = <0 0xe6e33000 0 8>;
660 clocks = <&cpg CPG_MOD 523>;
661 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
667 compatible = "renesas,pwm-r8a77970", "renesas,pwm-rcar";
668 reg = <0 0xe6e34000 0 8>;
670 clocks = <&cpg CPG_MOD 523>;
671 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
676 scif0: serial@e6e60000 {
677 compatible = "renesas,scif-r8a77970",
678 "renesas,rcar-gen3-scif",
680 reg = <0 0xe6e60000 0 64>;
681 interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
682 clocks = <&cpg CPG_MOD 207>,
683 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
685 clock-names = "fck", "brg_int", "scif_clk";
686 dmas = <&dmac1 0x51>, <&dmac1 0x50>,
687 <&dmac2 0x51>, <&dmac2 0x50>;
688 dma-names = "tx", "rx", "tx", "rx";
689 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
694 scif1: serial@e6e68000 {
695 compatible = "renesas,scif-r8a77970",
696 "renesas,rcar-gen3-scif",
698 reg = <0 0xe6e68000 0 64>;
699 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
700 clocks = <&cpg CPG_MOD 206>,
701 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
703 clock-names = "fck", "brg_int", "scif_clk";
704 dmas = <&dmac1 0x53>, <&dmac1 0x52>,
705 <&dmac2 0x53>, <&dmac2 0x52>;
706 dma-names = "tx", "rx", "tx", "rx";
707 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
712 scif3: serial@e6c50000 {
713 compatible = "renesas,scif-r8a77970",
714 "renesas,rcar-gen3-scif",
716 reg = <0 0xe6c50000 0 64>;
717 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
718 clocks = <&cpg CPG_MOD 204>,
719 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
721 clock-names = "fck", "brg_int", "scif_clk";
722 dmas = <&dmac1 0x57>, <&dmac1 0x56>,
723 <&dmac2 0x57>, <&dmac2 0x56>;
724 dma-names = "tx", "rx", "tx", "rx";
725 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
730 scif4: serial@e6c40000 {
731 compatible = "renesas,scif-r8a77970",
732 "renesas,rcar-gen3-scif", "renesas,scif";
733 reg = <0 0xe6c40000 0 64>;
734 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
735 clocks = <&cpg CPG_MOD 203>,
736 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
738 clock-names = "fck", "brg_int", "scif_clk";
739 dmas = <&dmac1 0x59>, <&dmac1 0x58>,
740 <&dmac2 0x59>, <&dmac2 0x58>;
741 dma-names = "tx", "rx", "tx", "rx";
742 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
748 compatible = "renesas,tpu-r8a77970", "renesas,tpu";
749 reg = <0 0xe6e80000 0 0x148>;
750 interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
751 clocks = <&cpg CPG_MOD 304>;
752 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
758 msiof0: spi@e6e90000 {
759 compatible = "renesas,msiof-r8a77970",
760 "renesas,rcar-gen3-msiof";
761 reg = <0 0xe6e90000 0 0x64>;
762 interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
763 clocks = <&cpg CPG_MOD 211>;
764 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
766 dmas = <&dmac1 0x41>, <&dmac1 0x40>,
767 <&dmac2 0x41>, <&dmac2 0x40>;
768 dma-names = "tx", "rx", "tx", "rx";
769 #address-cells = <1>;
774 msiof1: spi@e6ea0000 {
775 compatible = "renesas,msiof-r8a77970",
776 "renesas,rcar-gen3-msiof";
777 reg = <0 0xe6ea0000 0 0x0064>;
778 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
779 clocks = <&cpg CPG_MOD 210>;
780 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
782 dmas = <&dmac1 0x43>, <&dmac1 0x42>,
783 <&dmac2 0x43>, <&dmac2 0x42>;
784 dma-names = "tx", "rx", "tx", "rx";
785 #address-cells = <1>;
790 msiof2: spi@e6c00000 {
791 compatible = "renesas,msiof-r8a77970",
792 "renesas,rcar-gen3-msiof";
793 reg = <0 0xe6c00000 0 0x0064>;
794 interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
795 clocks = <&cpg CPG_MOD 209>;
796 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
798 dmas = <&dmac1 0x45>, <&dmac1 0x44>,
799 <&dmac2 0x45>, <&dmac2 0x44>;
800 dma-names = "tx", "rx", "tx", "rx";
801 #address-cells = <1>;
806 msiof3: spi@e6c10000 {
807 compatible = "renesas,msiof-r8a77970",
808 "renesas,rcar-gen3-msiof";
809 reg = <0 0xe6c10000 0 0x0064>;
810 interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
811 clocks = <&cpg CPG_MOD 208>;
812 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
814 dmas = <&dmac1 0x47>, <&dmac1 0x46>,
815 <&dmac2 0x47>, <&dmac2 0x46>;
816 dma-names = "tx", "rx", "tx", "rx";
817 #address-cells = <1>;
822 vin0: video@e6ef0000 {
823 compatible = "renesas,vin-r8a77970";
824 reg = <0 0xe6ef0000 0 0x1000>;
825 interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
826 clocks = <&cpg CPG_MOD 811>;
827 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
833 #address-cells = <1>;
837 #address-cells = <1>;
842 vin0csi40: endpoint@2 {
844 remote-endpoint = <&csi40vin0>;
850 vin1: video@e6ef1000 {
851 compatible = "renesas,vin-r8a77970";
852 reg = <0 0xe6ef1000 0 0x1000>;
853 interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
854 clocks = <&cpg CPG_MOD 810>;
855 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
861 #address-cells = <1>;
865 #address-cells = <1>;
870 vin1csi40: endpoint@2 {
872 remote-endpoint = <&csi40vin1>;
878 vin2: video@e6ef2000 {
879 compatible = "renesas,vin-r8a77970";
880 reg = <0 0xe6ef2000 0 0x1000>;
881 interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
882 clocks = <&cpg CPG_MOD 809>;
883 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
889 #address-cells = <1>;
893 #address-cells = <1>;
898 vin2csi40: endpoint@2 {
900 remote-endpoint = <&csi40vin2>;
906 vin3: video@e6ef3000 {
907 compatible = "renesas,vin-r8a77970";
908 reg = <0 0xe6ef3000 0 0x1000>;
909 interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
910 clocks = <&cpg CPG_MOD 808>;
911 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
917 #address-cells = <1>;
921 #address-cells = <1>;
926 vin3csi40: endpoint@2 {
928 remote-endpoint = <&csi40vin3>;
934 dmac1: dma-controller@e7300000 {
935 compatible = "renesas,dmac-r8a77970",
937 reg = <0 0xe7300000 0 0x10000>;
938 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>,
939 <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>,
940 <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
941 <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>,
942 <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
943 <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>,
944 <GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>,
945 <GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH>,
946 <GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH>;
947 interrupt-names = "error",
948 "ch0", "ch1", "ch2", "ch3",
949 "ch4", "ch5", "ch6", "ch7";
950 clocks = <&cpg CPG_MOD 218>;
952 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
956 iommus = <&ipmmu_ds1 0>, <&ipmmu_ds1 1>,
957 <&ipmmu_ds1 2>, <&ipmmu_ds1 3>,
958 <&ipmmu_ds1 4>, <&ipmmu_ds1 5>,
959 <&ipmmu_ds1 6>, <&ipmmu_ds1 7>;
962 dmac2: dma-controller@e7310000 {
963 compatible = "renesas,dmac-r8a77970",
965 reg = <0 0xe7310000 0 0x10000>;
966 interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>,
967 <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>,
968 <GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH>,
969 <GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH>,
970 <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
971 <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
972 <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
973 <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
974 <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>;
975 interrupt-names = "error",
976 "ch0", "ch1", "ch2", "ch3",
977 "ch4", "ch5", "ch6", "ch7";
978 clocks = <&cpg CPG_MOD 217>;
980 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
984 iommus = <&ipmmu_ds1 16>, <&ipmmu_ds1 17>,
985 <&ipmmu_ds1 18>, <&ipmmu_ds1 19>,
986 <&ipmmu_ds1 20>, <&ipmmu_ds1 21>,
987 <&ipmmu_ds1 22>, <&ipmmu_ds1 23>;
990 ipmmu_ds1: iommu@e7740000 {
991 compatible = "renesas,ipmmu-r8a77970";
992 reg = <0 0xe7740000 0 0x1000>;
993 renesas,ipmmu-main = <&ipmmu_mm 0>;
994 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
998 ipmmu_ir: iommu@ff8b0000 {
999 compatible = "renesas,ipmmu-r8a77970";
1000 reg = <0 0xff8b0000 0 0x1000>;
1001 renesas,ipmmu-main = <&ipmmu_mm 3>;
1002 power-domains = <&sysc R8A77970_PD_A3IR>;
1006 ipmmu_mm: iommu@e67b0000 {
1007 compatible = "renesas,ipmmu-r8a77970";
1008 reg = <0 0xe67b0000 0 0x1000>;
1009 interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
1010 <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
1011 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1015 ipmmu_rt: iommu@ffc80000 {
1016 compatible = "renesas,ipmmu-r8a77970";
1017 reg = <0 0xffc80000 0 0x1000>;
1018 renesas,ipmmu-main = <&ipmmu_mm 7>;
1019 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1023 ipmmu_vi0: iommu@febd0000 {
1024 compatible = "renesas,ipmmu-r8a77970";
1025 reg = <0 0xfebd0000 0 0x1000>;
1026 renesas,ipmmu-main = <&ipmmu_mm 9>;
1027 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1031 mmc0: mmc@ee140000 {
1032 compatible = "renesas,sdhi-r8a77970",
1033 "renesas,rcar-gen3-sdhi";
1034 reg = <0 0xee140000 0 0x2000>;
1035 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
1036 clocks = <&cpg CPG_MOD 314>;
1037 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1038 resets = <&cpg 314>;
1039 max-frequency = <200000000>;
1040 iommus = <&ipmmu_ds1 32>;
1041 status = "disabled";
1045 compatible = "renesas,r8a77970-rpc-if",
1046 "renesas,rcar-gen3-rpc-if";
1047 reg = <0 0xee200000 0 0x200>,
1048 <0 0x08000000 0 0x4000000>,
1049 <0 0xee208000 0 0x100>;
1050 reg-names = "regs", "dirmap", "wbuf";
1051 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
1052 clocks = <&cpg CPG_MOD 917>;
1053 clock-names = "rpc";
1054 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1055 resets = <&cpg 917>;
1056 #address-cells = <1>;
1058 status = "disabled";
1061 gic: interrupt-controller@f1010000 {
1062 compatible = "arm,gic-400";
1063 #interrupt-cells = <3>;
1064 #address-cells = <0>;
1065 interrupt-controller;
1066 reg = <0 0xf1010000 0 0x1000>,
1067 <0 0xf1020000 0 0x20000>,
1068 <0 0xf1040000 0 0x20000>,
1069 <0 0xf1060000 0 0x20000>;
1070 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) |
1071 IRQ_TYPE_LEVEL_HIGH)>;
1072 clocks = <&cpg CPG_MOD 408>;
1073 clock-names = "clk";
1074 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1075 resets = <&cpg 408>;
1078 vspd0: vsp@fea20000 {
1079 compatible = "renesas,vsp2";
1080 reg = <0 0xfea20000 0 0x5000>;
1081 interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
1082 clocks = <&cpg CPG_MOD 623>;
1083 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1084 resets = <&cpg 623>;
1085 renesas,fcp = <&fcpvd0>;
1088 fcpvd0: fcp@fea27000 {
1089 compatible = "renesas,fcpv";
1090 reg = <0 0xfea27000 0 0x200>;
1091 clocks = <&cpg CPG_MOD 603>;
1092 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1093 resets = <&cpg 603>;
1096 csi40: csi2@feaa0000 {
1097 compatible = "renesas,r8a77970-csi2";
1098 reg = <0 0xfeaa0000 0 0x10000>;
1099 interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
1100 clocks = <&cpg CPG_MOD 716>;
1101 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1102 resets = <&cpg 716>;
1103 status = "disabled";
1106 #address-cells = <1>;
1110 #address-cells = <1>;
1115 csi40vin0: endpoint@0 {
1117 remote-endpoint = <&vin0csi40>;
1119 csi40vin1: endpoint@1 {
1121 remote-endpoint = <&vin1csi40>;
1123 csi40vin2: endpoint@2 {
1125 remote-endpoint = <&vin2csi40>;
1127 csi40vin3: endpoint@3 {
1129 remote-endpoint = <&vin3csi40>;
1135 du: display@feb00000 {
1136 compatible = "renesas,du-r8a77970";
1137 reg = <0 0xfeb00000 0 0x80000>;
1138 interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
1139 clocks = <&cpg CPG_MOD 724>;
1140 clock-names = "du.0";
1141 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1142 resets = <&cpg 724>;
1143 reset-names = "du.0";
1144 renesas,vsps = <&vspd0 0>;
1146 status = "disabled";
1149 #address-cells = <1>;
1154 du_out_rgb: endpoint {
1160 du_out_lvds0: endpoint {
1161 remote-endpoint = <&lvds0_in>;
1167 lvds0: lvds-encoder@feb90000 {
1168 compatible = "renesas,r8a77970-lvds";
1169 reg = <0 0xfeb90000 0 0x14>;
1170 clocks = <&cpg CPG_MOD 727>;
1171 power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1172 resets = <&cpg 727>;
1173 status = "disabled";
1176 #address-cells = <1>;
1181 lvds0_in: endpoint {
1188 lvds0_out: endpoint {
1194 prr: chipid@fff00044 {
1195 compatible = "renesas,prr";
1196 reg = <0 0xfff00044 0 4>;
1202 polling-delay-passive = <250>;
1203 polling-delay = <1000>;
1204 thermal-sensors = <&thermal>;
1211 temperature = <120000>;
1212 hysteresis = <2000>;
1220 compatible = "arm,armv8-timer";
1221 interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1222 <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1223 <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1224 <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;