1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the r8a7791 SoC
5 * Copyright (C) 2013-2015 Renesas Electronics Corporation
6 * Copyright (C) 2013-2014 Renesas Solutions Corp.
7 * Copyright (C) 2014 Cogent Embedded Inc.
10 #include <dt-bindings/clock/r8a7791-cpg-mssr.h>
11 #include <dt-bindings/interrupt-controller/arm-gic.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
13 #include <dt-bindings/power/r8a7791-sysc.h>
16 compatible = "renesas,r8a7791";
40 * The external audio clocks are configured as 0 Hz fixed frequency
42 * Boards that provide audio clocks should override them.
44 audio_clk_a: audio_clk_a {
45 compatible = "fixed-clock";
47 clock-frequency = <0>;
49 audio_clk_b: audio_clk_b {
50 compatible = "fixed-clock";
52 clock-frequency = <0>;
54 audio_clk_c: audio_clk_c {
55 compatible = "fixed-clock";
57 clock-frequency = <0>;
60 /* External CAN clock */
62 compatible = "fixed-clock";
64 /* This value must be overridden by the board. */
65 clock-frequency = <0>;
71 enable-method = "renesas,apmu";
75 compatible = "arm,cortex-a15";
77 clock-frequency = <1500000000>;
78 voltage-tolerance = <1>; /* 1% */
79 clocks = <&cpg CPG_CORE R8A7791_CLK_Z>;
80 clock-latency = <300000>; /* 300 us */
81 power-domains = <&sysc R8A7791_PD_CA15_CPU0>;
82 next-level-cache = <&L2_CA15>;
84 /* kHz - uV - OPPs unknown yet */
85 operating-points = <1500000 1000000>,
95 compatible = "arm,cortex-a15";
97 clock-frequency = <1500000000>;
98 clocks = <&cpg CPG_CORE R8A7791_CLK_Z>;
99 power-domains = <&sysc R8A7791_PD_CA15_CPU1>;
100 next-level-cache = <&L2_CA15>;
103 L2_CA15: cache-controller-0 {
104 compatible = "cache";
105 power-domains = <&sysc R8A7791_PD_CA15_SCU>;
111 /* External root clock */
113 compatible = "fixed-clock";
115 /* This value must be overridden by the board. */
116 clock-frequency = <0>;
119 /* External PCIe clock - can be overridden by the board */
120 pcie_bus_clk: pcie_bus {
121 compatible = "fixed-clock";
123 clock-frequency = <0>;
126 /* External SCIF clock */
128 compatible = "fixed-clock";
130 /* This value must be overridden by the board. */
131 clock-frequency = <0>;
135 compatible = "simple-bus";
136 interrupt-parent = <&gic>;
138 #address-cells = <2>;
142 gpio0: gpio@e6050000 {
143 compatible = "renesas,gpio-r8a7791",
144 "renesas,rcar-gen2-gpio";
145 reg = <0 0xe6050000 0 0x50>;
146 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
149 gpio-ranges = <&pfc 0 0 32>;
150 #interrupt-cells = <2>;
151 interrupt-controller;
152 clocks = <&cpg CPG_MOD 912>;
153 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
157 gpio1: gpio@e6051000 {
158 compatible = "renesas,gpio-r8a7791",
159 "renesas,rcar-gen2-gpio";
160 reg = <0 0xe6051000 0 0x50>;
161 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
164 gpio-ranges = <&pfc 0 32 26>;
165 #interrupt-cells = <2>;
166 interrupt-controller;
167 clocks = <&cpg CPG_MOD 911>;
168 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
172 gpio2: gpio@e6052000 {
173 compatible = "renesas,gpio-r8a7791",
174 "renesas,rcar-gen2-gpio";
175 reg = <0 0xe6052000 0 0x50>;
176 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
179 gpio-ranges = <&pfc 0 64 32>;
180 #interrupt-cells = <2>;
181 interrupt-controller;
182 clocks = <&cpg CPG_MOD 910>;
183 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
187 gpio3: gpio@e6053000 {
188 compatible = "renesas,gpio-r8a7791",
189 "renesas,rcar-gen2-gpio";
190 reg = <0 0xe6053000 0 0x50>;
191 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
194 gpio-ranges = <&pfc 0 96 32>;
195 #interrupt-cells = <2>;
196 interrupt-controller;
197 clocks = <&cpg CPG_MOD 909>;
198 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
202 gpio4: gpio@e6054000 {
203 compatible = "renesas,gpio-r8a7791",
204 "renesas,rcar-gen2-gpio";
205 reg = <0 0xe6054000 0 0x50>;
206 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
209 gpio-ranges = <&pfc 0 128 32>;
210 #interrupt-cells = <2>;
211 interrupt-controller;
212 clocks = <&cpg CPG_MOD 908>;
213 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
217 gpio5: gpio@e6055000 {
218 compatible = "renesas,gpio-r8a7791",
219 "renesas,rcar-gen2-gpio";
220 reg = <0 0xe6055000 0 0x50>;
221 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
224 gpio-ranges = <&pfc 0 160 32>;
225 #interrupt-cells = <2>;
226 interrupt-controller;
227 clocks = <&cpg CPG_MOD 907>;
228 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
232 gpio6: gpio@e6055400 {
233 compatible = "renesas,gpio-r8a7791",
234 "renesas,rcar-gen2-gpio";
235 reg = <0 0xe6055400 0 0x50>;
236 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
239 gpio-ranges = <&pfc 0 192 32>;
240 #interrupt-cells = <2>;
241 interrupt-controller;
242 clocks = <&cpg CPG_MOD 905>;
243 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
247 gpio7: gpio@e6055800 {
248 compatible = "renesas,gpio-r8a7791",
249 "renesas,rcar-gen2-gpio";
250 reg = <0 0xe6055800 0 0x50>;
251 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
254 gpio-ranges = <&pfc 0 224 26>;
255 #interrupt-cells = <2>;
256 interrupt-controller;
257 clocks = <&cpg CPG_MOD 904>;
258 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
262 pfc: pin-controller@e6060000 {
263 compatible = "renesas,pfc-r8a7791";
264 reg = <0 0xe6060000 0 0x250>;
267 cpg: clock-controller@e6150000 {
268 compatible = "renesas,r8a7791-cpg-mssr";
269 reg = <0 0xe6150000 0 0x1000>;
270 clocks = <&extal_clk>, <&usb_extal_clk>;
271 clock-names = "extal", "usb_extal";
273 #power-domain-cells = <0>;
278 compatible = "renesas,r8a7791-apmu", "renesas,apmu";
279 reg = <0 0xe6152000 0 0x188>;
280 cpus = <&cpu0 &cpu1>;
283 rst: reset-controller@e6160000 {
284 compatible = "renesas,r8a7791-rst";
285 reg = <0 0xe6160000 0 0x0100>;
288 sysc: system-controller@e6180000 {
289 compatible = "renesas,r8a7791-sysc";
290 reg = <0 0xe6180000 0 0x0200>;
291 #power-domain-cells = <1>;
294 irqc0: interrupt-controller@e61c0000 {
295 compatible = "renesas,irqc-r8a7791", "renesas,irqc";
296 #interrupt-cells = <2>;
297 interrupt-controller;
298 reg = <0 0xe61c0000 0 0x200>;
299 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
300 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
301 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
302 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
303 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
304 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
305 <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
306 <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
307 <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
308 <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
309 clocks = <&cpg CPG_MOD 407>;
310 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
314 thermal: thermal@e61f0000 {
315 compatible = "renesas,thermal-r8a7791",
316 "renesas,rcar-gen2-thermal",
317 "renesas,rcar-thermal";
318 reg = <0 0xe61f0000 0 0x10>, <0 0xe61f0100 0 0x38>;
319 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
320 clocks = <&cpg CPG_MOD 522>;
321 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
323 #thermal-sensor-cells = <0>;
326 ipmmu_sy0: mmu@e6280000 {
327 compatible = "renesas,ipmmu-r8a7791",
328 "renesas,ipmmu-vmsa";
329 reg = <0 0xe6280000 0 0x1000>;
330 interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>,
331 <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>;
336 ipmmu_sy1: mmu@e6290000 {
337 compatible = "renesas,ipmmu-r8a7791",
338 "renesas,ipmmu-vmsa";
339 reg = <0 0xe6290000 0 0x1000>;
340 interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>;
345 ipmmu_ds: mmu@e6740000 {
346 compatible = "renesas,ipmmu-r8a7791",
347 "renesas,ipmmu-vmsa";
348 reg = <0 0xe6740000 0 0x1000>;
349 interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>,
350 <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>;
355 ipmmu_mp: mmu@ec680000 {
356 compatible = "renesas,ipmmu-r8a7791",
357 "renesas,ipmmu-vmsa";
358 reg = <0 0xec680000 0 0x1000>;
359 interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
364 ipmmu_mx: mmu@fe951000 {
365 compatible = "renesas,ipmmu-r8a7791",
366 "renesas,ipmmu-vmsa";
367 reg = <0 0xfe951000 0 0x1000>;
368 interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>,
369 <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
374 ipmmu_rt: mmu@ffc80000 {
375 compatible = "renesas,ipmmu-r8a7791",
376 "renesas,ipmmu-vmsa";
377 reg = <0 0xffc80000 0 0x1000>;
378 interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>;
383 ipmmu_gp: mmu@e62a0000 {
384 compatible = "renesas,ipmmu-r8a7791",
385 "renesas,ipmmu-vmsa";
386 reg = <0 0xe62a0000 0 0x1000>;
387 interrupts = <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>,
388 <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>;
393 icram0: sram@e63a0000 {
394 compatible = "mmio-sram";
395 reg = <0 0xe63a0000 0 0x12000>;
398 icram1: sram@e63c0000 {
399 compatible = "mmio-sram";
400 reg = <0 0xe63c0000 0 0x1000>;
401 #address-cells = <1>;
403 ranges = <0 0 0xe63c0000 0x1000>;
406 compatible = "renesas,smp-sram";
411 /* The memory map in the User's Manual maps the cores to
415 #address-cells = <1>;
417 compatible = "renesas,i2c-r8a7791",
418 "renesas,rcar-gen2-i2c";
419 reg = <0 0xe6508000 0 0x40>;
420 interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
421 clocks = <&cpg CPG_MOD 931>;
422 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
424 i2c-scl-internal-delay-ns = <6>;
429 #address-cells = <1>;
431 compatible = "renesas,i2c-r8a7791",
432 "renesas,rcar-gen2-i2c";
433 reg = <0 0xe6518000 0 0x40>;
434 interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
435 clocks = <&cpg CPG_MOD 930>;
436 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
438 i2c-scl-internal-delay-ns = <6>;
443 #address-cells = <1>;
445 compatible = "renesas,i2c-r8a7791",
446 "renesas,rcar-gen2-i2c";
447 reg = <0 0xe6530000 0 0x40>;
448 interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
449 clocks = <&cpg CPG_MOD 929>;
450 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
452 i2c-scl-internal-delay-ns = <6>;
457 #address-cells = <1>;
459 compatible = "renesas,i2c-r8a7791",
460 "renesas,rcar-gen2-i2c";
461 reg = <0 0xe6540000 0 0x40>;
462 interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
463 clocks = <&cpg CPG_MOD 928>;
464 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
466 i2c-scl-internal-delay-ns = <6>;
471 #address-cells = <1>;
473 compatible = "renesas,i2c-r8a7791",
474 "renesas,rcar-gen2-i2c";
475 reg = <0 0xe6520000 0 0x40>;
476 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
477 clocks = <&cpg CPG_MOD 927>;
478 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
480 i2c-scl-internal-delay-ns = <6>;
485 /* doesn't need pinmux */
486 #address-cells = <1>;
488 compatible = "renesas,i2c-r8a7791",
489 "renesas,rcar-gen2-i2c";
490 reg = <0 0xe6528000 0 0x40>;
491 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
492 clocks = <&cpg CPG_MOD 925>;
493 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
495 i2c-scl-internal-delay-ns = <110>;
500 /* doesn't need pinmux */
501 #address-cells = <1>;
503 compatible = "renesas,iic-r8a7791",
504 "renesas,rcar-gen2-iic",
505 "renesas,rmobile-iic";
506 reg = <0 0xe60b0000 0 0x425>;
507 interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
508 clocks = <&cpg CPG_MOD 926>;
509 dmas = <&dmac0 0x77>, <&dmac0 0x78>,
510 <&dmac1 0x77>, <&dmac1 0x78>;
511 dma-names = "tx", "rx", "tx", "rx";
512 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
518 #address-cells = <1>;
520 compatible = "renesas,iic-r8a7791",
521 "renesas,rcar-gen2-iic",
522 "renesas,rmobile-iic";
523 reg = <0 0xe6500000 0 0x425>;
524 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
525 clocks = <&cpg CPG_MOD 318>;
526 dmas = <&dmac0 0x61>, <&dmac0 0x62>,
527 <&dmac1 0x61>, <&dmac1 0x62>;
528 dma-names = "tx", "rx", "tx", "rx";
529 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
535 #address-cells = <1>;
537 compatible = "renesas,iic-r8a7791",
538 "renesas,rcar-gen2-iic",
539 "renesas,rmobile-iic";
540 reg = <0 0xe6510000 0 0x425>;
541 interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
542 clocks = <&cpg CPG_MOD 323>;
543 dmas = <&dmac0 0x65>, <&dmac0 0x66>,
544 <&dmac1 0x65>, <&dmac1 0x66>;
545 dma-names = "tx", "rx", "tx", "rx";
546 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
551 hsusb: usb@e6590000 {
552 compatible = "renesas,usbhs-r8a7791",
553 "renesas,rcar-gen2-usbhs";
554 reg = <0 0xe6590000 0 0x100>;
555 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
556 clocks = <&cpg CPG_MOD 704>;
557 dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
558 <&usb_dmac1 0>, <&usb_dmac1 1>;
559 dma-names = "ch0", "ch1", "ch2", "ch3";
560 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
562 renesas,buswait = <4>;
568 usbphy: usb-phy@e6590100 {
569 compatible = "renesas,usb-phy-r8a7791",
570 "renesas,rcar-gen2-usb-phy";
571 reg = <0 0xe6590100 0 0x100>;
572 #address-cells = <1>;
574 clocks = <&cpg CPG_MOD 704>;
575 clock-names = "usbhs";
576 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
580 usb0: usb-channel@0 {
584 usb2: usb-channel@2 {
590 usb_dmac0: dma-controller@e65a0000 {
591 compatible = "renesas,r8a7791-usb-dmac",
593 reg = <0 0xe65a0000 0 0x100>;
594 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH
595 GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
596 interrupt-names = "ch0", "ch1";
597 clocks = <&cpg CPG_MOD 330>;
598 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
604 usb_dmac1: dma-controller@e65b0000 {
605 compatible = "renesas,r8a7791-usb-dmac",
607 reg = <0 0xe65b0000 0 0x100>;
608 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH
609 GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
610 interrupt-names = "ch0", "ch1";
611 clocks = <&cpg CPG_MOD 331>;
612 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
618 dmac0: dma-controller@e6700000 {
619 compatible = "renesas,dmac-r8a7791",
621 reg = <0 0xe6700000 0 0x20000>;
622 interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH
623 GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH
624 GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH
625 GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH
626 GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH
627 GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH
628 GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH
629 GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH
630 GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH
631 GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH
632 GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH
633 GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH
634 GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH
635 GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH
636 GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH
637 GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>;
638 interrupt-names = "error",
639 "ch0", "ch1", "ch2", "ch3",
640 "ch4", "ch5", "ch6", "ch7",
641 "ch8", "ch9", "ch10", "ch11",
642 "ch12", "ch13", "ch14";
643 clocks = <&cpg CPG_MOD 219>;
645 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
651 dmac1: dma-controller@e6720000 {
652 compatible = "renesas,dmac-r8a7791",
654 reg = <0 0xe6720000 0 0x20000>;
655 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
656 GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
657 GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
658 GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
659 GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
660 GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
661 GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
662 GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
663 GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
664 GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
665 GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
666 GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
667 GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
668 GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
669 GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
670 GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>;
671 interrupt-names = "error",
672 "ch0", "ch1", "ch2", "ch3",
673 "ch4", "ch5", "ch6", "ch7",
674 "ch8", "ch9", "ch10", "ch11",
675 "ch12", "ch13", "ch14";
676 clocks = <&cpg CPG_MOD 218>;
678 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
684 avb: ethernet@e6800000 {
685 compatible = "renesas,etheravb-r8a7791",
686 "renesas,etheravb-rcar-gen2";
687 reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>;
688 interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
689 clocks = <&cpg CPG_MOD 812>;
690 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
692 #address-cells = <1>;
698 compatible = "renesas,qspi-r8a7791", "renesas,qspi";
699 reg = <0 0xe6b10000 0 0x2c>;
700 interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
701 clocks = <&cpg CPG_MOD 917>;
702 dmas = <&dmac0 0x17>, <&dmac0 0x18>,
703 <&dmac1 0x17>, <&dmac1 0x18>;
704 dma-names = "tx", "rx", "tx", "rx";
705 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
708 #address-cells = <1>;
713 scifa0: serial@e6c40000 {
714 compatible = "renesas,scifa-r8a7791",
715 "renesas,rcar-gen2-scifa", "renesas,scifa";
716 reg = <0 0xe6c40000 0 64>;
717 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
718 clocks = <&cpg CPG_MOD 204>;
720 dmas = <&dmac0 0x21>, <&dmac0 0x22>,
721 <&dmac1 0x21>, <&dmac1 0x22>;
722 dma-names = "tx", "rx", "tx", "rx";
723 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
728 scifa1: serial@e6c50000 {
729 compatible = "renesas,scifa-r8a7791",
730 "renesas,rcar-gen2-scifa", "renesas,scifa";
731 reg = <0 0xe6c50000 0 64>;
732 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
733 clocks = <&cpg CPG_MOD 203>;
735 dmas = <&dmac0 0x25>, <&dmac0 0x26>,
736 <&dmac1 0x25>, <&dmac1 0x26>;
737 dma-names = "tx", "rx", "tx", "rx";
738 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
743 scifa2: serial@e6c60000 {
744 compatible = "renesas,scifa-r8a7791",
745 "renesas,rcar-gen2-scifa", "renesas,scifa";
746 reg = <0 0xe6c60000 0 64>;
747 interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
748 clocks = <&cpg CPG_MOD 202>;
750 dmas = <&dmac0 0x27>, <&dmac0 0x28>,
751 <&dmac1 0x27>, <&dmac1 0x28>;
752 dma-names = "tx", "rx", "tx", "rx";
753 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
758 scifa3: serial@e6c70000 {
759 compatible = "renesas,scifa-r8a7791",
760 "renesas,rcar-gen2-scifa", "renesas,scifa";
761 reg = <0 0xe6c70000 0 64>;
762 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
763 clocks = <&cpg CPG_MOD 1106>;
765 dmas = <&dmac0 0x1b>, <&dmac0 0x1c>,
766 <&dmac1 0x1b>, <&dmac1 0x1c>;
767 dma-names = "tx", "rx", "tx", "rx";
768 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
769 resets = <&cpg 1106>;
773 scifa4: serial@e6c78000 {
774 compatible = "renesas,scifa-r8a7791",
775 "renesas,rcar-gen2-scifa", "renesas,scifa";
776 reg = <0 0xe6c78000 0 64>;
777 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
778 clocks = <&cpg CPG_MOD 1107>;
780 dmas = <&dmac0 0x1f>, <&dmac0 0x20>,
781 <&dmac1 0x1f>, <&dmac1 0x20>;
782 dma-names = "tx", "rx", "tx", "rx";
783 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
784 resets = <&cpg 1107>;
788 scifa5: serial@e6c80000 {
789 compatible = "renesas,scifa-r8a7791",
790 "renesas,rcar-gen2-scifa", "renesas,scifa";
791 reg = <0 0xe6c80000 0 64>;
792 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
793 clocks = <&cpg CPG_MOD 1108>;
795 dmas = <&dmac0 0x23>, <&dmac0 0x24>,
796 <&dmac1 0x23>, <&dmac1 0x24>;
797 dma-names = "tx", "rx", "tx", "rx";
798 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
799 resets = <&cpg 1108>;
803 scifb0: serial@e6c20000 {
804 compatible = "renesas,scifb-r8a7791",
805 "renesas,rcar-gen2-scifb", "renesas,scifb";
806 reg = <0 0xe6c20000 0 0x100>;
807 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
808 clocks = <&cpg CPG_MOD 206>;
810 dmas = <&dmac0 0x3d>, <&dmac0 0x3e>,
811 <&dmac1 0x3d>, <&dmac1 0x3e>;
812 dma-names = "tx", "rx", "tx", "rx";
813 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
818 scifb1: serial@e6c30000 {
819 compatible = "renesas,scifb-r8a7791",
820 "renesas,rcar-gen2-scifb", "renesas,scifb";
821 reg = <0 0xe6c30000 0 0x100>;
822 interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
823 clocks = <&cpg CPG_MOD 207>;
825 dmas = <&dmac0 0x19>, <&dmac0 0x1a>,
826 <&dmac1 0x19>, <&dmac1 0x1a>;
827 dma-names = "tx", "rx", "tx", "rx";
828 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
833 scifb2: serial@e6ce0000 {
834 compatible = "renesas,scifb-r8a7791",
835 "renesas,rcar-gen2-scifb", "renesas,scifb";
836 reg = <0 0xe6ce0000 0 0x100>;
837 interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
838 clocks = <&cpg CPG_MOD 216>;
840 dmas = <&dmac0 0x1d>, <&dmac0 0x1e>,
841 <&dmac1 0x1d>, <&dmac1 0x1e>;
842 dma-names = "tx", "rx", "tx", "rx";
843 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
848 scif0: serial@e6e60000 {
849 compatible = "renesas,scif-r8a7791",
850 "renesas,rcar-gen2-scif", "renesas,scif";
851 reg = <0 0xe6e60000 0 64>;
852 interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
853 clocks = <&cpg CPG_MOD 721>, <&cpg CPG_CORE R8A7791_CLK_ZS>,
855 clock-names = "fck", "brg_int", "scif_clk";
856 dmas = <&dmac0 0x29>, <&dmac0 0x2a>,
857 <&dmac1 0x29>, <&dmac1 0x2a>;
858 dma-names = "tx", "rx", "tx", "rx";
859 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
864 scif1: serial@e6e68000 {
865 compatible = "renesas,scif-r8a7791",
866 "renesas,rcar-gen2-scif", "renesas,scif";
867 reg = <0 0xe6e68000 0 64>;
868 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
869 clocks = <&cpg CPG_MOD 720>, <&cpg CPG_CORE R8A7791_CLK_ZS>,
871 clock-names = "fck", "brg_int", "scif_clk";
872 dmas = <&dmac0 0x2d>, <&dmac0 0x2e>,
873 <&dmac1 0x2d>, <&dmac1 0x2e>;
874 dma-names = "tx", "rx", "tx", "rx";
875 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
880 scif2: serial@e6e58000 {
881 compatible = "renesas,scif-r8a7791",
882 "renesas,rcar-gen2-scif", "renesas,scif";
883 reg = <0 0xe6e58000 0 64>;
884 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
885 clocks = <&cpg CPG_MOD 719>, <&cpg CPG_CORE R8A7791_CLK_ZS>,
887 clock-names = "fck", "brg_int", "scif_clk";
888 dmas = <&dmac0 0x2b>, <&dmac0 0x2c>,
889 <&dmac1 0x2b>, <&dmac1 0x2c>;
890 dma-names = "tx", "rx", "tx", "rx";
891 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
896 scif3: serial@e6ea8000 {
897 compatible = "renesas,scif-r8a7791",
898 "renesas,rcar-gen2-scif", "renesas,scif";
899 reg = <0 0xe6ea8000 0 64>;
900 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
901 clocks = <&cpg CPG_MOD 718>, <&cpg CPG_CORE R8A7791_CLK_ZS>,
903 clock-names = "fck", "brg_int", "scif_clk";
904 dmas = <&dmac0 0x2f>, <&dmac0 0x30>,
905 <&dmac1 0x2f>, <&dmac1 0x30>;
906 dma-names = "tx", "rx", "tx", "rx";
907 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
912 scif4: serial@e6ee0000 {
913 compatible = "renesas,scif-r8a7791",
914 "renesas,rcar-gen2-scif", "renesas,scif";
915 reg = <0 0xe6ee0000 0 64>;
916 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
917 clocks = <&cpg CPG_MOD 715>, <&cpg CPG_CORE R8A7791_CLK_ZS>,
919 clock-names = "fck", "brg_int", "scif_clk";
920 dmas = <&dmac0 0xfb>, <&dmac0 0xfc>,
921 <&dmac1 0xfb>, <&dmac1 0xfc>;
922 dma-names = "tx", "rx", "tx", "rx";
923 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
928 scif5: serial@e6ee8000 {
929 compatible = "renesas,scif-r8a7791",
930 "renesas,rcar-gen2-scif", "renesas,scif";
931 reg = <0 0xe6ee8000 0 64>;
932 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
933 clocks = <&cpg CPG_MOD 714>, <&cpg CPG_CORE R8A7791_CLK_ZS>,
935 clock-names = "fck", "brg_int", "scif_clk";
936 dmas = <&dmac0 0xfd>, <&dmac0 0xfe>,
937 <&dmac1 0xfd>, <&dmac1 0xfe>;
938 dma-names = "tx", "rx", "tx", "rx";
939 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
944 hscif0: serial@e62c0000 {
945 compatible = "renesas,hscif-r8a7791",
946 "renesas,rcar-gen2-hscif", "renesas,hscif";
947 reg = <0 0xe62c0000 0 96>;
948 interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
949 clocks = <&cpg CPG_MOD 717>, <&cpg CPG_CORE R8A7791_CLK_ZS>,
951 clock-names = "fck", "brg_int", "scif_clk";
952 dmas = <&dmac0 0x39>, <&dmac0 0x3a>,
953 <&dmac1 0x39>, <&dmac1 0x3a>;
954 dma-names = "tx", "rx", "tx", "rx";
955 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
960 hscif1: serial@e62c8000 {
961 compatible = "renesas,hscif-r8a7791",
962 "renesas,rcar-gen2-hscif", "renesas,hscif";
963 reg = <0 0xe62c8000 0 96>;
964 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
965 clocks = <&cpg CPG_MOD 716>, <&cpg CPG_CORE R8A7791_CLK_ZS>,
967 clock-names = "fck", "brg_int", "scif_clk";
968 dmas = <&dmac0 0x4d>, <&dmac0 0x4e>,
969 <&dmac1 0x4d>, <&dmac1 0x4e>;
970 dma-names = "tx", "rx", "tx", "rx";
971 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
976 hscif2: serial@e62d0000 {
977 compatible = "renesas,hscif-r8a7791",
978 "renesas,rcar-gen2-hscif", "renesas,hscif";
979 reg = <0 0xe62d0000 0 96>;
980 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
981 clocks = <&cpg CPG_MOD 713>, <&cpg CPG_CORE R8A7791_CLK_ZS>,
983 clock-names = "fck", "brg_int", "scif_clk";
984 dmas = <&dmac0 0x3b>, <&dmac0 0x3c>,
985 <&dmac1 0x3b>, <&dmac1 0x3c>;
986 dma-names = "tx", "rx", "tx", "rx";
987 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
992 msiof0: spi@e6e20000 {
993 compatible = "renesas,msiof-r8a7791",
994 "renesas,rcar-gen2-msiof";
995 reg = <0 0xe6e20000 0 0x0064>;
996 interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
997 clocks = <&cpg CPG_MOD 000>;
998 dmas = <&dmac0 0x51>, <&dmac0 0x52>,
999 <&dmac1 0x51>, <&dmac1 0x52>;
1000 dma-names = "tx", "rx", "tx", "rx";
1001 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1003 #address-cells = <1>;
1005 status = "disabled";
1008 msiof1: spi@e6e10000 {
1009 compatible = "renesas,msiof-r8a7791",
1010 "renesas,rcar-gen2-msiof";
1011 reg = <0 0xe6e10000 0 0x0064>;
1012 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
1013 clocks = <&cpg CPG_MOD 208>;
1014 dmas = <&dmac0 0x55>, <&dmac0 0x56>,
1015 <&dmac1 0x55>, <&dmac1 0x56>;
1016 dma-names = "tx", "rx", "tx", "rx";
1017 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1018 resets = <&cpg 208>;
1019 #address-cells = <1>;
1021 status = "disabled";
1024 msiof2: spi@e6e00000 {
1025 compatible = "renesas,msiof-r8a7791",
1026 "renesas,rcar-gen2-msiof";
1027 reg = <0 0xe6e00000 0 0x0064>;
1028 interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
1029 clocks = <&cpg CPG_MOD 205>;
1030 dmas = <&dmac0 0x41>, <&dmac0 0x42>,
1031 <&dmac1 0x41>, <&dmac1 0x42>;
1032 dma-names = "tx", "rx", "tx", "rx";
1033 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1034 resets = <&cpg 205>;
1035 #address-cells = <1>;
1037 status = "disabled";
1041 compatible = "renesas,r8a7791-gyroadc",
1042 "renesas,rcar-gyroadc";
1043 reg = <0 0xe6e54000 0 64>;
1044 clocks = <&cpg CPG_MOD 901>;
1045 clock-names = "fck";
1046 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1047 resets = <&cpg 901>;
1048 status = "disabled";
1051 can0: can@e6e80000 {
1052 compatible = "renesas,can-r8a7791",
1053 "renesas,rcar-gen2-can";
1054 reg = <0 0xe6e80000 0 0x1000>;
1055 interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
1056 clocks = <&cpg CPG_MOD 916>,
1057 <&cpg CPG_CORE R8A7791_CLK_RCAN>, <&can_clk>;
1058 clock-names = "clkp1", "clkp2", "can_clk";
1059 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1060 resets = <&cpg 916>;
1061 status = "disabled";
1064 can1: can@e6e88000 {
1065 compatible = "renesas,can-r8a7791",
1066 "renesas,rcar-gen2-can";
1067 reg = <0 0xe6e88000 0 0x1000>;
1068 interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
1069 clocks = <&cpg CPG_MOD 915>,
1070 <&cpg CPG_CORE R8A7791_CLK_RCAN>, <&can_clk>;
1071 clock-names = "clkp1", "clkp2", "can_clk";
1072 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1073 resets = <&cpg 915>;
1074 status = "disabled";
1077 vin0: video@e6ef0000 {
1078 compatible = "renesas,vin-r8a7791",
1079 "renesas,rcar-gen2-vin";
1080 reg = <0 0xe6ef0000 0 0x1000>;
1081 interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
1082 clocks = <&cpg CPG_MOD 811>;
1083 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1084 resets = <&cpg 811>;
1085 status = "disabled";
1088 vin1: video@e6ef1000 {
1089 compatible = "renesas,vin-r8a7791",
1090 "renesas,rcar-gen2-vin";
1091 reg = <0 0xe6ef1000 0 0x1000>;
1092 interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
1093 clocks = <&cpg CPG_MOD 810>;
1094 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1095 resets = <&cpg 810>;
1096 status = "disabled";
1099 vin2: video@e6ef2000 {
1100 compatible = "renesas,vin-r8a7791",
1101 "renesas,rcar-gen2-vin";
1102 reg = <0 0xe6ef2000 0 0x1000>;
1103 interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
1104 clocks = <&cpg CPG_MOD 809>;
1105 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1106 resets = <&cpg 809>;
1107 status = "disabled";
1110 rcar_sound: sound@ec500000 {
1112 * #sound-dai-cells is required
1114 * Single DAI : #sound-dai-cells = <0>; <&rcar_sound>;
1115 * Multi DAI : #sound-dai-cells = <1>; <&rcar_sound N>;
1117 compatible = "renesas,rcar_sound-r8a7791",
1118 "renesas,rcar_sound-gen2";
1119 reg = <0 0xec500000 0 0x1000>, /* SCU */
1120 <0 0xec5a0000 0 0x100>, /* ADG */
1121 <0 0xec540000 0 0x1000>, /* SSIU */
1122 <0 0xec541000 0 0x280>, /* SSI */
1123 <0 0xec740000 0 0x200>; /* Audio DMAC peri peri*/
1124 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
1126 clocks = <&cpg CPG_MOD 1005>,
1127 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
1128 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
1129 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
1130 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
1131 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
1132 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
1133 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
1134 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
1135 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
1136 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
1137 <&cpg CPG_MOD 1021>, <&cpg CPG_MOD 1020>,
1138 <&cpg CPG_MOD 1021>, <&cpg CPG_MOD 1020>,
1139 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
1140 <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>,
1141 <&cpg CPG_CORE R8A7791_CLK_M2>;
1142 clock-names = "ssi-all",
1143 "ssi.9", "ssi.8", "ssi.7", "ssi.6",
1144 "ssi.5", "ssi.4", "ssi.3", "ssi.2",
1145 "ssi.1", "ssi.0", "src.9", "src.8",
1146 "src.7", "src.6", "src.5", "src.4",
1147 "src.3", "src.2", "src.1", "src.0",
1151 "clk_a", "clk_b", "clk_c", "clk_i";
1152 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1153 resets = <&cpg 1005>,
1154 <&cpg 1006>, <&cpg 1007>,
1155 <&cpg 1008>, <&cpg 1009>,
1156 <&cpg 1010>, <&cpg 1011>,
1157 <&cpg 1012>, <&cpg 1013>,
1158 <&cpg 1014>, <&cpg 1015>;
1159 reset-names = "ssi-all",
1160 "ssi.9", "ssi.8", "ssi.7", "ssi.6",
1161 "ssi.5", "ssi.4", "ssi.3", "ssi.2",
1164 status = "disabled";
1168 dmas = <&audma1 0xbc>;
1172 dmas = <&audma1 0xbe>;
1195 interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
1196 dmas = <&audma0 0x85>, <&audma1 0x9a>;
1197 dma-names = "rx", "tx";
1200 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1201 dmas = <&audma0 0x87>, <&audma1 0x9c>;
1202 dma-names = "rx", "tx";
1205 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1206 dmas = <&audma0 0x89>, <&audma1 0x9e>;
1207 dma-names = "rx", "tx";
1210 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1211 dmas = <&audma0 0x8b>, <&audma1 0xa0>;
1212 dma-names = "rx", "tx";
1215 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1216 dmas = <&audma0 0x8d>, <&audma1 0xb0>;
1217 dma-names = "rx", "tx";
1220 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1221 dmas = <&audma0 0x8f>, <&audma1 0xb2>;
1222 dma-names = "rx", "tx";
1225 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1226 dmas = <&audma0 0x91>, <&audma1 0xb4>;
1227 dma-names = "rx", "tx";
1230 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1231 dmas = <&audma0 0x93>, <&audma1 0xb6>;
1232 dma-names = "rx", "tx";
1235 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1236 dmas = <&audma0 0x95>, <&audma1 0xb8>;
1237 dma-names = "rx", "tx";
1240 interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
1241 dmas = <&audma0 0x97>, <&audma1 0xba>;
1242 dma-names = "rx", "tx";
1248 interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
1249 dmas = <&audma0 0x01>, <&audma1 0x02>,
1250 <&audma0 0x15>, <&audma1 0x16>;
1251 dma-names = "rx", "tx", "rxu", "txu";
1254 interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
1255 dmas = <&audma0 0x03>, <&audma1 0x04>,
1256 <&audma0 0x49>, <&audma1 0x4a>;
1257 dma-names = "rx", "tx", "rxu", "txu";
1260 interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>;
1261 dmas = <&audma0 0x05>, <&audma1 0x06>,
1262 <&audma0 0x63>, <&audma1 0x64>;
1263 dma-names = "rx", "tx", "rxu", "txu";
1266 interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
1267 dmas = <&audma0 0x07>, <&audma1 0x08>,
1268 <&audma0 0x6f>, <&audma1 0x70>;
1269 dma-names = "rx", "tx", "rxu", "txu";
1272 interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
1273 dmas = <&audma0 0x09>, <&audma1 0x0a>,
1274 <&audma0 0x71>, <&audma1 0x72>;
1275 dma-names = "rx", "tx", "rxu", "txu";
1278 interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
1279 dmas = <&audma0 0x0b>, <&audma1 0x0c>,
1280 <&audma0 0x73>, <&audma1 0x74>;
1281 dma-names = "rx", "tx", "rxu", "txu";
1284 interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>;
1285 dmas = <&audma0 0x0d>, <&audma1 0x0e>,
1286 <&audma0 0x75>, <&audma1 0x76>;
1287 dma-names = "rx", "tx", "rxu", "txu";
1290 interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>;
1291 dmas = <&audma0 0x0f>, <&audma1 0x10>,
1292 <&audma0 0x79>, <&audma1 0x7a>;
1293 dma-names = "rx", "tx", "rxu", "txu";
1296 interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>;
1297 dmas = <&audma0 0x11>, <&audma1 0x12>,
1298 <&audma0 0x7b>, <&audma1 0x7c>;
1299 dma-names = "rx", "tx", "rxu", "txu";
1302 interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
1303 dmas = <&audma0 0x13>, <&audma1 0x14>,
1304 <&audma0 0x7d>, <&audma1 0x7e>;
1305 dma-names = "rx", "tx", "rxu", "txu";
1310 audma0: dma-controller@ec700000 {
1311 compatible = "renesas,dmac-r8a7791",
1312 "renesas,rcar-dmac";
1313 reg = <0 0xec700000 0 0x10000>;
1314 interrupts = <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH
1315 GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH
1316 GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH
1317 GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH
1318 GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH
1319 GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH
1320 GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH
1321 GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH
1322 GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH
1323 GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH
1324 GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH
1325 GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH
1326 GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH
1327 GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>;
1328 interrupt-names = "error",
1329 "ch0", "ch1", "ch2", "ch3",
1330 "ch4", "ch5", "ch6", "ch7",
1331 "ch8", "ch9", "ch10", "ch11",
1333 clocks = <&cpg CPG_MOD 502>;
1334 clock-names = "fck";
1335 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1336 resets = <&cpg 502>;
1338 dma-channels = <13>;
1341 audma1: dma-controller@ec720000 {
1342 compatible = "renesas,dmac-r8a7791",
1343 "renesas,rcar-dmac";
1344 reg = <0 0xec720000 0 0x10000>;
1345 interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH
1346 GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH
1347 GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH
1348 GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH
1349 GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH
1350 GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH
1351 GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH
1352 GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH
1353 GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH
1354 GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH
1355 GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH
1356 GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH
1357 GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH
1358 GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>;
1359 interrupt-names = "error",
1360 "ch0", "ch1", "ch2", "ch3",
1361 "ch4", "ch5", "ch6", "ch7",
1362 "ch8", "ch9", "ch10", "ch11",
1364 clocks = <&cpg CPG_MOD 501>;
1365 clock-names = "fck";
1366 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1367 resets = <&cpg 501>;
1369 dma-channels = <13>;
1372 xhci: usb@ee000000 {
1373 compatible = "renesas,xhci-r8a7791",
1374 "renesas,rcar-gen2-xhci";
1375 reg = <0 0xee000000 0 0xc00>;
1376 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
1377 clocks = <&cpg CPG_MOD 328>;
1378 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1379 resets = <&cpg 328>;
1382 status = "disabled";
1385 pci0: pci@ee090000 {
1386 compatible = "renesas,pci-r8a7791",
1387 "renesas,pci-rcar-gen2";
1388 device_type = "pci";
1389 reg = <0 0xee090000 0 0xc00>,
1390 <0 0xee080000 0 0x1100>;
1391 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1392 clocks = <&cpg CPG_MOD 703>;
1393 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1394 resets = <&cpg 703>;
1395 status = "disabled";
1398 #address-cells = <3>;
1400 #interrupt-cells = <1>;
1401 ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>;
1402 interrupt-map-mask = <0xff00 0 0 0x7>;
1403 interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH
1404 0x0800 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH
1405 0x1000 0 0 2 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1408 reg = <0x800 0 0 0 0>;
1414 reg = <0x1000 0 0 0 0>;
1420 pci1: pci@ee0d0000 {
1421 compatible = "renesas,pci-r8a7791",
1422 "renesas,pci-rcar-gen2";
1423 device_type = "pci";
1424 reg = <0 0xee0d0000 0 0xc00>,
1425 <0 0xee0c0000 0 0x1100>;
1426 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
1427 clocks = <&cpg CPG_MOD 703>;
1428 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1429 resets = <&cpg 703>;
1430 status = "disabled";
1433 #address-cells = <3>;
1435 #interrupt-cells = <1>;
1436 ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>;
1437 interrupt-map-mask = <0xff00 0 0 0x7>;
1438 interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH
1439 0x0800 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH
1440 0x1000 0 0 2 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
1443 reg = <0x10800 0 0 0 0>;
1449 reg = <0x11000 0 0 0 0>;
1455 sdhi0: sd@ee100000 {
1456 compatible = "renesas,sdhi-r8a7791",
1457 "renesas,rcar-gen2-sdhi";
1458 reg = <0 0xee100000 0 0x328>;
1459 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
1460 clocks = <&cpg CPG_MOD 314>;
1461 dmas = <&dmac0 0xcd>, <&dmac0 0xce>,
1462 <&dmac1 0xcd>, <&dmac1 0xce>;
1463 dma-names = "tx", "rx", "tx", "rx";
1464 max-frequency = <195000000>;
1465 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1466 resets = <&cpg 314>;
1467 status = "disabled";
1470 sdhi1: sd@ee140000 {
1471 compatible = "renesas,sdhi-r8a7791",
1472 "renesas,rcar-gen2-sdhi";
1473 reg = <0 0xee140000 0 0x100>;
1474 interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
1475 clocks = <&cpg CPG_MOD 312>;
1476 dmas = <&dmac0 0xc1>, <&dmac0 0xc2>,
1477 <&dmac1 0xc1>, <&dmac1 0xc2>;
1478 dma-names = "tx", "rx", "tx", "rx";
1479 max-frequency = <97500000>;
1480 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1481 resets = <&cpg 312>;
1482 status = "disabled";
1485 sdhi2: sd@ee160000 {
1486 compatible = "renesas,sdhi-r8a7791",
1487 "renesas,rcar-gen2-sdhi";
1488 reg = <0 0xee160000 0 0x100>;
1489 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
1490 clocks = <&cpg CPG_MOD 311>;
1491 dmas = <&dmac0 0xd3>, <&dmac0 0xd4>,
1492 <&dmac1 0xd3>, <&dmac1 0xd4>;
1493 dma-names = "tx", "rx", "tx", "rx";
1494 max-frequency = <97500000>;
1495 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1496 resets = <&cpg 311>;
1497 status = "disabled";
1500 mmcif0: mmc@ee200000 {
1501 compatible = "renesas,mmcif-r8a7791",
1503 reg = <0 0xee200000 0 0x80>;
1504 interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
1505 clocks = <&cpg CPG_MOD 315>;
1506 dmas = <&dmac0 0xd1>, <&dmac0 0xd2>,
1507 <&dmac1 0xd1>, <&dmac1 0xd2>;
1508 dma-names = "tx", "rx", "tx", "rx";
1509 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1510 resets = <&cpg 315>;
1512 status = "disabled";
1513 max-frequency = <97500000>;
1516 sata0: sata@ee300000 {
1517 compatible = "renesas,sata-r8a7791",
1518 "renesas,rcar-gen2-sata";
1519 reg = <0 0xee300000 0 0x2000>;
1520 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
1521 clocks = <&cpg CPG_MOD 815>;
1522 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1523 resets = <&cpg 815>;
1524 status = "disabled";
1527 sata1: sata@ee500000 {
1528 compatible = "renesas,sata-r8a7791",
1529 "renesas,rcar-gen2-sata";
1530 reg = <0 0xee500000 0 0x2000>;
1531 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
1532 clocks = <&cpg CPG_MOD 814>;
1533 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1534 resets = <&cpg 814>;
1535 status = "disabled";
1538 ether: ethernet@ee700000 {
1539 compatible = "renesas,ether-r8a7791",
1540 "renesas,rcar-gen2-ether";
1541 reg = <0 0xee700000 0 0x400>;
1542 interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
1543 clocks = <&cpg CPG_MOD 813>;
1544 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1545 resets = <&cpg 813>;
1547 #address-cells = <1>;
1549 status = "disabled";
1552 gic: interrupt-controller@f1001000 {
1553 compatible = "arm,gic-400";
1554 #interrupt-cells = <3>;
1555 #address-cells = <0>;
1556 interrupt-controller;
1557 reg = <0 0xf1001000 0 0x1000>, <0 0xf1002000 0 0x2000>,
1558 <0 0xf1004000 0 0x2000>, <0 0xf1006000 0 0x2000>;
1559 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
1560 clocks = <&cpg CPG_MOD 408>;
1561 clock-names = "clk";
1562 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1563 resets = <&cpg 408>;
1566 pciec: pcie@fe000000 {
1567 compatible = "renesas,pcie-r8a7791",
1568 "renesas,pcie-rcar-gen2";
1569 reg = <0 0xfe000000 0 0x80000>;
1570 #address-cells = <3>;
1572 bus-range = <0x00 0xff>;
1573 device_type = "pci";
1574 ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000
1575 0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000
1576 0x02000000 0 0x30000000 0 0x30000000 0 0x08000000
1577 0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
1578 /* Map all possible DDR as inbound ranges */
1579 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000
1580 0x43000000 2 0x00000000 2 0x00000000 1 0x00000000>;
1581 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
1582 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
1583 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
1584 #interrupt-cells = <1>;
1585 interrupt-map-mask = <0 0 0 0>;
1586 interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
1587 clocks = <&cpg CPG_MOD 319>, <&pcie_bus_clk>;
1588 clock-names = "pcie", "pcie_bus";
1589 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1590 resets = <&cpg 319>;
1591 status = "disabled";
1595 compatible = "renesas,vsp1";
1596 reg = <0 0xfe928000 0 0x8000>;
1597 interrupts = <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>;
1598 clocks = <&cpg CPG_MOD 131>;
1599 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1600 resets = <&cpg 131>;
1604 compatible = "renesas,vsp1";
1605 reg = <0 0xfe930000 0 0x8000>;
1606 interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
1607 clocks = <&cpg CPG_MOD 128>;
1608 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1609 resets = <&cpg 128>;
1613 compatible = "renesas,vsp1";
1614 reg = <0 0xfe938000 0 0x8000>;
1615 interrupts = <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>;
1616 clocks = <&cpg CPG_MOD 127>;
1617 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1618 resets = <&cpg 127>;
1621 jpu: jpeg-codec@fe980000 {
1622 compatible = "renesas,jpu-r8a7791",
1623 "renesas,rcar-gen2-jpu";
1624 reg = <0 0xfe980000 0 0x10300>;
1625 interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
1626 clocks = <&cpg CPG_MOD 106>;
1627 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1628 resets = <&cpg 106>;
1631 du: display@feb00000 {
1632 compatible = "renesas,du-r8a7791";
1633 reg = <0 0xfeb00000 0 0x40000>;
1634 interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
1635 <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
1636 clocks = <&cpg CPG_MOD 724>,
1638 clock-names = "du.0", "du.1";
1639 status = "disabled";
1642 #address-cells = <1>;
1647 du_out_rgb: endpoint {
1652 du_out_lvds0: endpoint {
1653 remote-endpoint = <&lvds0_in>;
1659 lvds0: lvds@feb90000 {
1660 compatible = "renesas,r8a7791-lvds";
1661 reg = <0 0xfeb90000 0 0x1c>;
1662 clocks = <&cpg CPG_MOD 726>;
1663 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1664 resets = <&cpg 726>;
1665 status = "disabled";
1668 #address-cells = <1>;
1673 lvds0_in: endpoint {
1674 remote-endpoint = <&du_out_lvds0>;
1679 lvds0_out: endpoint {
1685 prr: chipid@ff000044 {
1686 compatible = "renesas,prr";
1687 reg = <0 0xff000044 0 4>;
1690 cmt0: timer@ffca0000 {
1691 compatible = "renesas,r8a7791-cmt0",
1692 "renesas,rcar-gen2-cmt0";
1693 reg = <0 0xffca0000 0 0x1004>;
1694 interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
1695 <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
1696 clocks = <&cpg CPG_MOD 124>;
1697 clock-names = "fck";
1698 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1699 resets = <&cpg 124>;
1701 status = "disabled";
1704 cmt1: timer@e6130000 {
1705 compatible = "renesas,r8a7791-cmt1",
1706 "renesas,rcar-gen2-cmt1";
1707 reg = <0 0xe6130000 0 0x1004>;
1708 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
1709 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
1710 <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
1711 <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
1712 <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
1713 <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
1714 <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
1715 <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
1716 clocks = <&cpg CPG_MOD 329>;
1717 clock-names = "fck";
1718 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1719 resets = <&cpg 329>;
1721 status = "disabled";
1726 cpu_thermal: cpu-thermal {
1727 polling-delay-passive = <0>;
1728 polling-delay = <0>;
1730 thermal-sensors = <&thermal>;
1734 temperature = <95000>;
1745 compatible = "arm,armv7-timer";
1746 interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1747 <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1748 <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1749 <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
1752 /* External USB clock - can be overridden by the board */
1753 usb_extal_clk: usb_extal {
1754 compatible = "fixed-clock";
1756 clock-frequency = <48000000>;