2 * Device Tree Source for the r8a7791 SoC
4 * Copyright (C) 2013-2015 Renesas Electronics Corporation
5 * Copyright (C) 2013-2014 Renesas Solutions Corp.
6 * Copyright (C) 2014 Cogent Embedded Inc.
8 * This file is licensed under the terms of the GNU General Public License
9 * version 2. This program is licensed "as is" without any warranty of any
10 * kind, whether express or implied.
13 #include <dt-bindings/clock/r8a7791-cpg-mssr.h>
14 #include <dt-bindings/interrupt-controller/arm-gic.h>
15 #include <dt-bindings/interrupt-controller/irq.h>
16 #include <dt-bindings/power/r8a7791-sysc.h>
19 compatible = "renesas,r8a7791";
20 interrupt-parent = <&gic>;
46 enable-method = "renesas,apmu";
50 compatible = "arm,cortex-a15";
52 clock-frequency = <1500000000>;
53 voltage-tolerance = <1>; /* 1% */
54 clocks = <&cpg CPG_CORE R8A7791_CLK_Z>;
55 clock-latency = <300000>; /* 300 us */
56 power-domains = <&sysc R8A7791_PD_CA15_CPU0>;
57 next-level-cache = <&L2_CA15>;
59 /* kHz - uV - OPPs unknown yet */
60 operating-points = <1500000 1000000>,
70 compatible = "arm,cortex-a15";
72 clock-frequency = <1500000000>;
73 clocks = <&cpg CPG_CORE R8A7791_CLK_Z>;
74 power-domains = <&sysc R8A7791_PD_CA15_CPU1>;
75 next-level-cache = <&L2_CA15>;
78 L2_CA15: cache-controller-0 {
80 power-domains = <&sysc R8A7791_PD_CA15_SCU>;
87 cpu_thermal: cpu-thermal {
88 polling-delay-passive = <0>;
91 thermal-sensors = <&thermal>;
95 temperature = <95000>;
106 compatible = "renesas,r8a7791-apmu", "renesas,apmu";
107 reg = <0 0xe6152000 0 0x188>;
108 cpus = <&cpu0 &cpu1>;
111 gic: interrupt-controller@f1001000 {
112 compatible = "arm,gic-400";
113 #interrupt-cells = <3>;
114 #address-cells = <0>;
115 interrupt-controller;
116 reg = <0 0xf1001000 0 0x1000>,
117 <0 0xf1002000 0 0x2000>,
118 <0 0xf1004000 0 0x2000>,
119 <0 0xf1006000 0 0x2000>;
120 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
121 clocks = <&cpg CPG_MOD 408>;
123 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
127 gpio0: gpio@e6050000 {
128 compatible = "renesas,gpio-r8a7791", "renesas,rcar-gen2-gpio";
129 reg = <0 0xe6050000 0 0x50>;
130 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
133 gpio-ranges = <&pfc 0 0 32>;
134 #interrupt-cells = <2>;
135 interrupt-controller;
136 clocks = <&cpg CPG_MOD 912>;
137 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
141 gpio1: gpio@e6051000 {
142 compatible = "renesas,gpio-r8a7791", "renesas,rcar-gen2-gpio";
143 reg = <0 0xe6051000 0 0x50>;
144 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
147 gpio-ranges = <&pfc 0 32 26>;
148 #interrupt-cells = <2>;
149 interrupt-controller;
150 clocks = <&cpg CPG_MOD 911>;
151 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
155 gpio2: gpio@e6052000 {
156 compatible = "renesas,gpio-r8a7791", "renesas,rcar-gen2-gpio";
157 reg = <0 0xe6052000 0 0x50>;
158 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
161 gpio-ranges = <&pfc 0 64 32>;
162 #interrupt-cells = <2>;
163 interrupt-controller;
164 clocks = <&cpg CPG_MOD 910>;
165 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
169 gpio3: gpio@e6053000 {
170 compatible = "renesas,gpio-r8a7791", "renesas,rcar-gen2-gpio";
171 reg = <0 0xe6053000 0 0x50>;
172 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
175 gpio-ranges = <&pfc 0 96 32>;
176 #interrupt-cells = <2>;
177 interrupt-controller;
178 clocks = <&cpg CPG_MOD 909>;
179 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
183 gpio4: gpio@e6054000 {
184 compatible = "renesas,gpio-r8a7791", "renesas,rcar-gen2-gpio";
185 reg = <0 0xe6054000 0 0x50>;
186 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
189 gpio-ranges = <&pfc 0 128 32>;
190 #interrupt-cells = <2>;
191 interrupt-controller;
192 clocks = <&cpg CPG_MOD 908>;
193 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
197 gpio5: gpio@e6055000 {
198 compatible = "renesas,gpio-r8a7791", "renesas,rcar-gen2-gpio";
199 reg = <0 0xe6055000 0 0x50>;
200 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
203 gpio-ranges = <&pfc 0 160 32>;
204 #interrupt-cells = <2>;
205 interrupt-controller;
206 clocks = <&cpg CPG_MOD 907>;
207 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
211 gpio6: gpio@e6055400 {
212 compatible = "renesas,gpio-r8a7791", "renesas,rcar-gen2-gpio";
213 reg = <0 0xe6055400 0 0x50>;
214 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
217 gpio-ranges = <&pfc 0 192 32>;
218 #interrupt-cells = <2>;
219 interrupt-controller;
220 clocks = <&cpg CPG_MOD 905>;
221 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
225 gpio7: gpio@e6055800 {
226 compatible = "renesas,gpio-r8a7791", "renesas,rcar-gen2-gpio";
227 reg = <0 0xe6055800 0 0x50>;
228 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
231 gpio-ranges = <&pfc 0 224 26>;
232 #interrupt-cells = <2>;
233 interrupt-controller;
234 clocks = <&cpg CPG_MOD 904>;
235 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
239 thermal: thermal@e61f0000 {
240 compatible = "renesas,thermal-r8a7791",
241 "renesas,rcar-gen2-thermal",
242 "renesas,rcar-thermal";
243 reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>;
244 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
245 clocks = <&cpg CPG_MOD 522>;
246 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
248 #thermal-sensor-cells = <0>;
252 compatible = "arm,armv7-timer";
253 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
254 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
255 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
256 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
259 cmt0: timer@ffca0000 {
260 compatible = "renesas,r8a7791-cmt0", "renesas,rcar-gen2-cmt0";
261 reg = <0 0xffca0000 0 0x1004>;
262 interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
263 <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
264 clocks = <&cpg CPG_MOD 124>;
266 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
272 cmt1: timer@e6130000 {
273 compatible = "renesas,r8a7791-cmt1", "renesas,rcar-gen2-cmt1";
274 reg = <0 0xe6130000 0 0x1004>;
275 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
276 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
277 <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
278 <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
279 <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
280 <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
281 <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
282 <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
283 clocks = <&cpg CPG_MOD 329>;
285 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
291 irqc0: interrupt-controller@e61c0000 {
292 compatible = "renesas,irqc-r8a7791", "renesas,irqc";
293 #interrupt-cells = <2>;
294 interrupt-controller;
295 reg = <0 0xe61c0000 0 0x200>;
296 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
297 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
298 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
299 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
300 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
301 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
302 <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
303 <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
304 <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
305 <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
306 clocks = <&cpg CPG_MOD 407>;
307 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
311 dmac0: dma-controller@e6700000 {
312 compatible = "renesas,dmac-r8a7791", "renesas,rcar-dmac";
313 reg = <0 0xe6700000 0 0x20000>;
314 interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH
315 GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH
316 GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH
317 GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH
318 GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH
319 GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH
320 GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH
321 GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH
322 GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH
323 GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH
324 GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH
325 GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH
326 GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH
327 GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH
328 GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH
329 GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>;
330 interrupt-names = "error",
331 "ch0", "ch1", "ch2", "ch3",
332 "ch4", "ch5", "ch6", "ch7",
333 "ch8", "ch9", "ch10", "ch11",
334 "ch12", "ch13", "ch14";
335 clocks = <&cpg CPG_MOD 219>;
337 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
343 dmac1: dma-controller@e6720000 {
344 compatible = "renesas,dmac-r8a7791", "renesas,rcar-dmac";
345 reg = <0 0xe6720000 0 0x20000>;
346 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
347 GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
348 GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
349 GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
350 GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
351 GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
352 GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
353 GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
354 GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
355 GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
356 GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
357 GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
358 GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
359 GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
360 GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
361 GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>;
362 interrupt-names = "error",
363 "ch0", "ch1", "ch2", "ch3",
364 "ch4", "ch5", "ch6", "ch7",
365 "ch8", "ch9", "ch10", "ch11",
366 "ch12", "ch13", "ch14";
367 clocks = <&cpg CPG_MOD 218>;
369 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
375 audma0: dma-controller@ec700000 {
376 compatible = "renesas,dmac-r8a7791", "renesas,rcar-dmac";
377 reg = <0 0xec700000 0 0x10000>;
378 interrupts = <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH
379 GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH
380 GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH
381 GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH
382 GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH
383 GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH
384 GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH
385 GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH
386 GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH
387 GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH
388 GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH
389 GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH
390 GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH
391 GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>;
392 interrupt-names = "error",
393 "ch0", "ch1", "ch2", "ch3",
394 "ch4", "ch5", "ch6", "ch7",
395 "ch8", "ch9", "ch10", "ch11",
397 clocks = <&cpg CPG_MOD 502>;
399 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
405 audma1: dma-controller@ec720000 {
406 compatible = "renesas,dmac-r8a7791", "renesas,rcar-dmac";
407 reg = <0 0xec720000 0 0x10000>;
408 interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH
409 GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH
410 GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH
411 GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH
412 GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH
413 GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH
414 GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH
415 GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH
416 GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH
417 GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH
418 GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH
419 GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH
420 GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH
421 GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>;
422 interrupt-names = "error",
423 "ch0", "ch1", "ch2", "ch3",
424 "ch4", "ch5", "ch6", "ch7",
425 "ch8", "ch9", "ch10", "ch11",
427 clocks = <&cpg CPG_MOD 501>;
429 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
435 usb_dmac0: dma-controller@e65a0000 {
436 compatible = "renesas,r8a7791-usb-dmac", "renesas,usb-dmac";
437 reg = <0 0xe65a0000 0 0x100>;
438 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH
439 GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
440 interrupt-names = "ch0", "ch1";
441 clocks = <&cpg CPG_MOD 330>;
442 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
448 usb_dmac1: dma-controller@e65b0000 {
449 compatible = "renesas,r8a7791-usb-dmac", "renesas,usb-dmac";
450 reg = <0 0xe65b0000 0 0x100>;
451 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH
452 GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
453 interrupt-names = "ch0", "ch1";
454 clocks = <&cpg CPG_MOD 331>;
455 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
461 /* The memory map in the User's Manual maps the cores to bus numbers */
463 #address-cells = <1>;
465 compatible = "renesas,i2c-r8a7791", "renesas,rcar-gen2-i2c";
466 reg = <0 0xe6508000 0 0x40>;
467 interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
468 clocks = <&cpg CPG_MOD 931>;
469 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
471 i2c-scl-internal-delay-ns = <6>;
476 #address-cells = <1>;
478 compatible = "renesas,i2c-r8a7791", "renesas,rcar-gen2-i2c";
479 reg = <0 0xe6518000 0 0x40>;
480 interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
481 clocks = <&cpg CPG_MOD 930>;
482 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
484 i2c-scl-internal-delay-ns = <6>;
489 #address-cells = <1>;
491 compatible = "renesas,i2c-r8a7791", "renesas,rcar-gen2-i2c";
492 reg = <0 0xe6530000 0 0x40>;
493 interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
494 clocks = <&cpg CPG_MOD 929>;
495 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
497 i2c-scl-internal-delay-ns = <6>;
502 #address-cells = <1>;
504 compatible = "renesas,i2c-r8a7791", "renesas,rcar-gen2-i2c";
505 reg = <0 0xe6540000 0 0x40>;
506 interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
507 clocks = <&cpg CPG_MOD 928>;
508 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
510 i2c-scl-internal-delay-ns = <6>;
515 #address-cells = <1>;
517 compatible = "renesas,i2c-r8a7791", "renesas,rcar-gen2-i2c";
518 reg = <0 0xe6520000 0 0x40>;
519 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
520 clocks = <&cpg CPG_MOD 927>;
521 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
523 i2c-scl-internal-delay-ns = <6>;
528 /* doesn't need pinmux */
529 #address-cells = <1>;
531 compatible = "renesas,i2c-r8a7791", "renesas,rcar-gen2-i2c";
532 reg = <0 0xe6528000 0 0x40>;
533 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
534 clocks = <&cpg CPG_MOD 925>;
535 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
537 i2c-scl-internal-delay-ns = <110>;
542 /* doesn't need pinmux */
543 #address-cells = <1>;
545 compatible = "renesas,iic-r8a7791", "renesas,rcar-gen2-iic",
546 "renesas,rmobile-iic";
547 reg = <0 0xe60b0000 0 0x425>;
548 interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
549 clocks = <&cpg CPG_MOD 926>;
550 dmas = <&dmac0 0x77>, <&dmac0 0x78>,
551 <&dmac1 0x77>, <&dmac1 0x78>;
552 dma-names = "tx", "rx", "tx", "rx";
553 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
559 #address-cells = <1>;
561 compatible = "renesas,iic-r8a7791", "renesas,rcar-gen2-iic",
562 "renesas,rmobile-iic";
563 reg = <0 0xe6500000 0 0x425>;
564 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
565 clocks = <&cpg CPG_MOD 318>;
566 dmas = <&dmac0 0x61>, <&dmac0 0x62>,
567 <&dmac1 0x61>, <&dmac1 0x62>;
568 dma-names = "tx", "rx", "tx", "rx";
569 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
575 #address-cells = <1>;
577 compatible = "renesas,iic-r8a7791", "renesas,rcar-gen2-iic",
578 "renesas,rmobile-iic";
579 reg = <0 0xe6510000 0 0x425>;
580 interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
581 clocks = <&cpg CPG_MOD 323>;
582 dmas = <&dmac0 0x65>, <&dmac0 0x66>,
583 <&dmac1 0x65>, <&dmac1 0x66>;
584 dma-names = "tx", "rx", "tx", "rx";
585 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
590 pfc: pin-controller@e6060000 {
591 compatible = "renesas,pfc-r8a7791";
592 reg = <0 0xe6060000 0 0x250>;
595 mmcif0: mmc@ee200000 {
596 compatible = "renesas,mmcif-r8a7791", "renesas,sh-mmcif";
597 reg = <0 0xee200000 0 0x80>;
598 interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
599 clocks = <&cpg CPG_MOD 315>;
600 dmas = <&dmac0 0xd1>, <&dmac0 0xd2>,
601 <&dmac1 0xd1>, <&dmac1 0xd2>;
602 dma-names = "tx", "rx", "tx", "rx";
603 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
607 max-frequency = <97500000>;
611 compatible = "renesas,sdhi-r8a7791",
612 "renesas,rcar-gen2-sdhi";
613 reg = <0 0xee100000 0 0x328>;
614 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
615 clocks = <&cpg CPG_MOD 314>;
616 dmas = <&dmac0 0xcd>, <&dmac0 0xce>,
617 <&dmac1 0xcd>, <&dmac1 0xce>;
618 dma-names = "tx", "rx", "tx", "rx";
619 max-frequency = <195000000>;
620 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
626 compatible = "renesas,sdhi-r8a7791",
627 "renesas,rcar-gen2-sdhi";
628 reg = <0 0xee140000 0 0x100>;
629 interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
630 clocks = <&cpg CPG_MOD 312>;
631 dmas = <&dmac0 0xc1>, <&dmac0 0xc2>,
632 <&dmac1 0xc1>, <&dmac1 0xc2>;
633 dma-names = "tx", "rx", "tx", "rx";
634 max-frequency = <97500000>;
635 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
641 compatible = "renesas,sdhi-r8a7791",
642 "renesas,rcar-gen2-sdhi";
643 reg = <0 0xee160000 0 0x100>;
644 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
645 clocks = <&cpg CPG_MOD 311>;
646 dmas = <&dmac0 0xd3>, <&dmac0 0xd4>,
647 <&dmac1 0xd3>, <&dmac1 0xd4>;
648 dma-names = "tx", "rx", "tx", "rx";
649 max-frequency = <97500000>;
650 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
655 scifa0: serial@e6c40000 {
656 compatible = "renesas,scifa-r8a7791",
657 "renesas,rcar-gen2-scifa", "renesas,scifa";
658 reg = <0 0xe6c40000 0 64>;
659 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
660 clocks = <&cpg CPG_MOD 204>;
662 dmas = <&dmac0 0x21>, <&dmac0 0x22>,
663 <&dmac1 0x21>, <&dmac1 0x22>;
664 dma-names = "tx", "rx", "tx", "rx";
665 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
670 scifa1: serial@e6c50000 {
671 compatible = "renesas,scifa-r8a7791",
672 "renesas,rcar-gen2-scifa", "renesas,scifa";
673 reg = <0 0xe6c50000 0 64>;
674 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
675 clocks = <&cpg CPG_MOD 203>;
677 dmas = <&dmac0 0x25>, <&dmac0 0x26>,
678 <&dmac1 0x25>, <&dmac1 0x26>;
679 dma-names = "tx", "rx", "tx", "rx";
680 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
685 scifa2: serial@e6c60000 {
686 compatible = "renesas,scifa-r8a7791",
687 "renesas,rcar-gen2-scifa", "renesas,scifa";
688 reg = <0 0xe6c60000 0 64>;
689 interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
690 clocks = <&cpg CPG_MOD 202>;
692 dmas = <&dmac0 0x27>, <&dmac0 0x28>,
693 <&dmac1 0x27>, <&dmac1 0x28>;
694 dma-names = "tx", "rx", "tx", "rx";
695 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
700 scifa3: serial@e6c70000 {
701 compatible = "renesas,scifa-r8a7791",
702 "renesas,rcar-gen2-scifa", "renesas,scifa";
703 reg = <0 0xe6c70000 0 64>;
704 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
705 clocks = <&cpg CPG_MOD 1106>;
707 dmas = <&dmac0 0x1b>, <&dmac0 0x1c>,
708 <&dmac1 0x1b>, <&dmac1 0x1c>;
709 dma-names = "tx", "rx", "tx", "rx";
710 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
711 resets = <&cpg 1106>;
715 scifa4: serial@e6c78000 {
716 compatible = "renesas,scifa-r8a7791",
717 "renesas,rcar-gen2-scifa", "renesas,scifa";
718 reg = <0 0xe6c78000 0 64>;
719 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
720 clocks = <&cpg CPG_MOD 1107>;
722 dmas = <&dmac0 0x1f>, <&dmac0 0x20>,
723 <&dmac1 0x1f>, <&dmac1 0x20>;
724 dma-names = "tx", "rx", "tx", "rx";
725 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
726 resets = <&cpg 1107>;
730 scifa5: serial@e6c80000 {
731 compatible = "renesas,scifa-r8a7791",
732 "renesas,rcar-gen2-scifa", "renesas,scifa";
733 reg = <0 0xe6c80000 0 64>;
734 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
735 clocks = <&cpg CPG_MOD 1108>;
737 dmas = <&dmac0 0x23>, <&dmac0 0x24>,
738 <&dmac1 0x23>, <&dmac1 0x24>;
739 dma-names = "tx", "rx", "tx", "rx";
740 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
741 resets = <&cpg 1108>;
745 scifb0: serial@e6c20000 {
746 compatible = "renesas,scifb-r8a7791",
747 "renesas,rcar-gen2-scifb", "renesas,scifb";
748 reg = <0 0xe6c20000 0 0x100>;
749 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
750 clocks = <&cpg CPG_MOD 206>;
752 dmas = <&dmac0 0x3d>, <&dmac0 0x3e>,
753 <&dmac1 0x3d>, <&dmac1 0x3e>;
754 dma-names = "tx", "rx", "tx", "rx";
755 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
760 scifb1: serial@e6c30000 {
761 compatible = "renesas,scifb-r8a7791",
762 "renesas,rcar-gen2-scifb", "renesas,scifb";
763 reg = <0 0xe6c30000 0 0x100>;
764 interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
765 clocks = <&cpg CPG_MOD 207>;
767 dmas = <&dmac0 0x19>, <&dmac0 0x1a>,
768 <&dmac1 0x19>, <&dmac1 0x1a>;
769 dma-names = "tx", "rx", "tx", "rx";
770 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
775 scifb2: serial@e6ce0000 {
776 compatible = "renesas,scifb-r8a7791",
777 "renesas,rcar-gen2-scifb", "renesas,scifb";
778 reg = <0 0xe6ce0000 0 0x100>;
779 interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
780 clocks = <&cpg CPG_MOD 216>;
782 dmas = <&dmac0 0x1d>, <&dmac0 0x1e>,
783 <&dmac1 0x1d>, <&dmac1 0x1e>;
784 dma-names = "tx", "rx", "tx", "rx";
785 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
790 scif0: serial@e6e60000 {
791 compatible = "renesas,scif-r8a7791", "renesas,rcar-gen2-scif",
793 reg = <0 0xe6e60000 0 64>;
794 interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
795 clocks = <&cpg CPG_MOD 721>, <&cpg CPG_CORE R8A7791_CLK_ZS>,
797 clock-names = "fck", "brg_int", "scif_clk";
798 dmas = <&dmac0 0x29>, <&dmac0 0x2a>,
799 <&dmac1 0x29>, <&dmac1 0x2a>;
800 dma-names = "tx", "rx", "tx", "rx";
801 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
806 scif1: serial@e6e68000 {
807 compatible = "renesas,scif-r8a7791", "renesas,rcar-gen2-scif",
809 reg = <0 0xe6e68000 0 64>;
810 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
811 clocks = <&cpg CPG_MOD 720>, <&cpg CPG_CORE R8A7791_CLK_ZS>,
813 clock-names = "fck", "brg_int", "scif_clk";
814 dmas = <&dmac0 0x2d>, <&dmac0 0x2e>,
815 <&dmac1 0x2d>, <&dmac1 0x2e>;
816 dma-names = "tx", "rx", "tx", "rx";
817 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
823 compatible = "renesas,r8a7791-gyroadc", "renesas,rcar-gyroadc";
824 reg = <0 0xe6e54000 0 64>;
825 clocks = <&cpg CPG_MOD 901>;
827 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
832 scif2: serial@e6e58000 {
833 compatible = "renesas,scif-r8a7791", "renesas,rcar-gen2-scif",
835 reg = <0 0xe6e58000 0 64>;
836 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
837 clocks = <&cpg CPG_MOD 719>, <&cpg CPG_CORE R8A7791_CLK_ZS>,
839 clock-names = "fck", "brg_int", "scif_clk";
840 dmas = <&dmac0 0x2b>, <&dmac0 0x2c>,
841 <&dmac1 0x2b>, <&dmac1 0x2c>;
842 dma-names = "tx", "rx", "tx", "rx";
843 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
848 scif3: serial@e6ea8000 {
849 compatible = "renesas,scif-r8a7791", "renesas,rcar-gen2-scif",
851 reg = <0 0xe6ea8000 0 64>;
852 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
853 clocks = <&cpg CPG_MOD 718>, <&cpg CPG_CORE R8A7791_CLK_ZS>,
855 clock-names = "fck", "brg_int", "scif_clk";
856 dmas = <&dmac0 0x2f>, <&dmac0 0x30>,
857 <&dmac1 0x2f>, <&dmac1 0x30>;
858 dma-names = "tx", "rx", "tx", "rx";
859 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
864 scif4: serial@e6ee0000 {
865 compatible = "renesas,scif-r8a7791", "renesas,rcar-gen2-scif",
867 reg = <0 0xe6ee0000 0 64>;
868 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
869 clocks = <&cpg CPG_MOD 715>, <&cpg CPG_CORE R8A7791_CLK_ZS>,
871 clock-names = "fck", "brg_int", "scif_clk";
872 dmas = <&dmac0 0xfb>, <&dmac0 0xfc>,
873 <&dmac1 0xfb>, <&dmac1 0xfc>;
874 dma-names = "tx", "rx", "tx", "rx";
875 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
880 scif5: serial@e6ee8000 {
881 compatible = "renesas,scif-r8a7791", "renesas,rcar-gen2-scif",
883 reg = <0 0xe6ee8000 0 64>;
884 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
885 clocks = <&cpg CPG_MOD 714>, <&cpg CPG_CORE R8A7791_CLK_ZS>,
887 clock-names = "fck", "brg_int", "scif_clk";
888 dmas = <&dmac0 0xfd>, <&dmac0 0xfe>,
889 <&dmac1 0xfd>, <&dmac1 0xfe>;
890 dma-names = "tx", "rx", "tx", "rx";
891 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
896 hscif0: serial@e62c0000 {
897 compatible = "renesas,hscif-r8a7791",
898 "renesas,rcar-gen2-hscif", "renesas,hscif";
899 reg = <0 0xe62c0000 0 96>;
900 interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
901 clocks = <&cpg CPG_MOD 717>, <&cpg CPG_CORE R8A7791_CLK_ZS>,
903 clock-names = "fck", "brg_int", "scif_clk";
904 dmas = <&dmac0 0x39>, <&dmac0 0x3a>,
905 <&dmac1 0x39>, <&dmac1 0x3a>;
906 dma-names = "tx", "rx", "tx", "rx";
907 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
912 hscif1: serial@e62c8000 {
913 compatible = "renesas,hscif-r8a7791",
914 "renesas,rcar-gen2-hscif", "renesas,hscif";
915 reg = <0 0xe62c8000 0 96>;
916 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
917 clocks = <&cpg CPG_MOD 716>, <&cpg CPG_CORE R8A7791_CLK_ZS>,
919 clock-names = "fck", "brg_int", "scif_clk";
920 dmas = <&dmac0 0x4d>, <&dmac0 0x4e>,
921 <&dmac1 0x4d>, <&dmac1 0x4e>;
922 dma-names = "tx", "rx", "tx", "rx";
923 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
928 hscif2: serial@e62d0000 {
929 compatible = "renesas,hscif-r8a7791",
930 "renesas,rcar-gen2-hscif", "renesas,hscif";
931 reg = <0 0xe62d0000 0 96>;
932 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
933 clocks = <&cpg CPG_MOD 713>, <&cpg CPG_CORE R8A7791_CLK_ZS>,
935 clock-names = "fck", "brg_int", "scif_clk";
936 dmas = <&dmac0 0x3b>, <&dmac0 0x3c>,
937 <&dmac1 0x3b>, <&dmac1 0x3c>;
938 dma-names = "tx", "rx", "tx", "rx";
939 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
944 icram0: sram@e63a0000 {
945 compatible = "mmio-sram";
946 reg = <0 0xe63a0000 0 0x12000>;
949 icram1: sram@e63c0000 {
950 compatible = "mmio-sram";
951 reg = <0 0xe63c0000 0 0x1000>;
952 #address-cells = <1>;
954 ranges = <0 0 0xe63c0000 0x1000>;
957 compatible = "renesas,smp-sram";
962 ether: ethernet@ee700000 {
963 compatible = "renesas,ether-r8a7791",
964 "renesas,rcar-gen2-ether";
965 reg = <0 0xee700000 0 0x400>;
966 interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
967 clocks = <&cpg CPG_MOD 813>;
968 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
971 #address-cells = <1>;
976 avb: ethernet@e6800000 {
977 compatible = "renesas,etheravb-r8a7791",
978 "renesas,etheravb-rcar-gen2";
979 reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>;
980 interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
981 clocks = <&cpg CPG_MOD 812>;
982 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
984 #address-cells = <1>;
989 sata0: sata@ee300000 {
990 compatible = "renesas,sata-r8a7791", "renesas,rcar-gen2-sata";
991 reg = <0 0xee300000 0 0x2000>;
992 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
993 clocks = <&cpg CPG_MOD 815>;
994 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
999 sata1: sata@ee500000 {
1000 compatible = "renesas,sata-r8a7791", "renesas,rcar-gen2-sata";
1001 reg = <0 0xee500000 0 0x2000>;
1002 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
1003 clocks = <&cpg CPG_MOD 814>;
1004 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1005 resets = <&cpg 814>;
1006 status = "disabled";
1009 hsusb: usb@e6590000 {
1010 compatible = "renesas,usbhs-r8a7791", "renesas,rcar-gen2-usbhs";
1011 reg = <0 0xe6590000 0 0x100>;
1012 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
1013 clocks = <&cpg CPG_MOD 704>;
1014 dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
1015 <&usb_dmac1 0>, <&usb_dmac1 1>;
1016 dma-names = "ch0", "ch1", "ch2", "ch3";
1017 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1018 resets = <&cpg 704>;
1019 renesas,buswait = <4>;
1022 status = "disabled";
1025 usbphy: usb-phy@e6590100 {
1026 compatible = "renesas,usb-phy-r8a7791",
1027 "renesas,rcar-gen2-usb-phy";
1028 reg = <0 0xe6590100 0 0x100>;
1029 #address-cells = <1>;
1031 clocks = <&cpg CPG_MOD 704>;
1032 clock-names = "usbhs";
1033 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1034 resets = <&cpg 704>;
1035 status = "disabled";
1037 usb0: usb-channel@0 {
1041 usb2: usb-channel@2 {
1047 vin0: video@e6ef0000 {
1048 compatible = "renesas,vin-r8a7791", "renesas,rcar-gen2-vin";
1049 reg = <0 0xe6ef0000 0 0x1000>;
1050 interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
1051 clocks = <&cpg CPG_MOD 811>;
1052 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1053 resets = <&cpg 811>;
1054 status = "disabled";
1057 vin1: video@e6ef1000 {
1058 compatible = "renesas,vin-r8a7791", "renesas,rcar-gen2-vin";
1059 reg = <0 0xe6ef1000 0 0x1000>;
1060 interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
1061 clocks = <&cpg CPG_MOD 810>;
1062 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1063 resets = <&cpg 810>;
1064 status = "disabled";
1067 vin2: video@e6ef2000 {
1068 compatible = "renesas,vin-r8a7791", "renesas,rcar-gen2-vin";
1069 reg = <0 0xe6ef2000 0 0x1000>;
1070 interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
1071 clocks = <&cpg CPG_MOD 809>;
1072 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1073 resets = <&cpg 809>;
1074 status = "disabled";
1078 compatible = "renesas,vsp1";
1079 reg = <0 0xfe928000 0 0x8000>;
1080 interrupts = <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>;
1081 clocks = <&cpg CPG_MOD 131>;
1082 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1083 resets = <&cpg 131>;
1087 compatible = "renesas,vsp1";
1088 reg = <0 0xfe930000 0 0x8000>;
1089 interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
1090 clocks = <&cpg CPG_MOD 128>;
1091 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1092 resets = <&cpg 128>;
1096 compatible = "renesas,vsp1";
1097 reg = <0 0xfe938000 0 0x8000>;
1098 interrupts = <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>;
1099 clocks = <&cpg CPG_MOD 127>;
1100 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1101 resets = <&cpg 127>;
1104 du: display@feb00000 {
1105 compatible = "renesas,du-r8a7791";
1106 reg = <0 0xfeb00000 0 0x40000>,
1107 <0 0xfeb90000 0 0x1c>;
1108 reg-names = "du", "lvds.0";
1109 interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
1110 <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
1111 clocks = <&cpg CPG_MOD 724>,
1114 clock-names = "du.0", "du.1", "lvds.0";
1115 status = "disabled";
1118 #address-cells = <1>;
1123 du_out_rgb: endpoint {
1128 du_out_lvds0: endpoint {
1134 can0: can@e6e80000 {
1135 compatible = "renesas,can-r8a7791", "renesas,rcar-gen2-can";
1136 reg = <0 0xe6e80000 0 0x1000>;
1137 interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
1138 clocks = <&cpg CPG_MOD 916>, <&cpg CPG_CORE R8A7791_CLK_RCAN>,
1140 clock-names = "clkp1", "clkp2", "can_clk";
1141 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1142 resets = <&cpg 916>;
1143 status = "disabled";
1146 can1: can@e6e88000 {
1147 compatible = "renesas,can-r8a7791", "renesas,rcar-gen2-can";
1148 reg = <0 0xe6e88000 0 0x1000>;
1149 interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
1150 clocks = <&cpg CPG_MOD 915>, <&cpg CPG_CORE R8A7791_CLK_RCAN>,
1152 clock-names = "clkp1", "clkp2", "can_clk";
1153 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1154 resets = <&cpg 915>;
1155 status = "disabled";
1158 jpu: jpeg-codec@fe980000 {
1159 compatible = "renesas,jpu-r8a7791", "renesas,rcar-gen2-jpu";
1160 reg = <0 0xfe980000 0 0x10300>;
1161 interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
1162 clocks = <&cpg CPG_MOD 106>;
1163 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1164 resets = <&cpg 106>;
1167 /* External root clock */
1169 compatible = "fixed-clock";
1171 /* This value must be overridden by the board. */
1172 clock-frequency = <0>;
1176 * The external audio clocks are configured as 0 Hz fixed frequency
1177 * clocks by default.
1178 * Boards that provide audio clocks should override them.
1180 audio_clk_a: audio_clk_a {
1181 compatible = "fixed-clock";
1183 clock-frequency = <0>;
1185 audio_clk_b: audio_clk_b {
1186 compatible = "fixed-clock";
1188 clock-frequency = <0>;
1190 audio_clk_c: audio_clk_c {
1191 compatible = "fixed-clock";
1193 clock-frequency = <0>;
1196 /* External PCIe clock - can be overridden by the board */
1197 pcie_bus_clk: pcie_bus {
1198 compatible = "fixed-clock";
1200 clock-frequency = <0>;
1203 /* External SCIF clock */
1205 compatible = "fixed-clock";
1207 /* This value must be overridden by the board. */
1208 clock-frequency = <0>;
1211 /* External USB clock - can be overridden by the board */
1212 usb_extal_clk: usb_extal {
1213 compatible = "fixed-clock";
1215 clock-frequency = <48000000>;
1218 /* External CAN clock */
1220 compatible = "fixed-clock";
1222 /* This value must be overridden by the board. */
1223 clock-frequency = <0>;
1226 cpg: clock-controller@e6150000 {
1227 compatible = "renesas,r8a7791-cpg-mssr";
1228 reg = <0 0xe6150000 0 0x1000>;
1229 clocks = <&extal_clk>, <&usb_extal_clk>;
1230 clock-names = "extal", "usb_extal";
1232 #power-domain-cells = <0>;
1236 rst: reset-controller@e6160000 {
1237 compatible = "renesas,r8a7791-rst";
1238 reg = <0 0xe6160000 0 0x0100>;
1241 prr: chipid@ff000044 {
1242 compatible = "renesas,prr";
1243 reg = <0 0xff000044 0 4>;
1246 sysc: system-controller@e6180000 {
1247 compatible = "renesas,r8a7791-sysc";
1248 reg = <0 0xe6180000 0 0x0200>;
1249 #power-domain-cells = <1>;
1252 qspi: spi@e6b10000 {
1253 compatible = "renesas,qspi-r8a7791", "renesas,qspi";
1254 reg = <0 0xe6b10000 0 0x2c>;
1255 interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
1256 clocks = <&cpg CPG_MOD 917>;
1257 dmas = <&dmac0 0x17>, <&dmac0 0x18>,
1258 <&dmac1 0x17>, <&dmac1 0x18>;
1259 dma-names = "tx", "rx", "tx", "rx";
1260 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1261 resets = <&cpg 917>;
1263 #address-cells = <1>;
1265 status = "disabled";
1268 msiof0: spi@e6e20000 {
1269 compatible = "renesas,msiof-r8a7791",
1270 "renesas,rcar-gen2-msiof";
1271 reg = <0 0xe6e20000 0 0x0064>;
1272 interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
1273 clocks = <&cpg CPG_MOD 000>;
1274 dmas = <&dmac0 0x51>, <&dmac0 0x52>,
1275 <&dmac1 0x51>, <&dmac1 0x52>;
1276 dma-names = "tx", "rx", "tx", "rx";
1277 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1279 #address-cells = <1>;
1281 status = "disabled";
1284 msiof1: spi@e6e10000 {
1285 compatible = "renesas,msiof-r8a7791",
1286 "renesas,rcar-gen2-msiof";
1287 reg = <0 0xe6e10000 0 0x0064>;
1288 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
1289 clocks = <&cpg CPG_MOD 208>;
1290 dmas = <&dmac0 0x55>, <&dmac0 0x56>,
1291 <&dmac1 0x55>, <&dmac1 0x56>;
1292 dma-names = "tx", "rx", "tx", "rx";
1293 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1294 resets = <&cpg 208>;
1295 #address-cells = <1>;
1297 status = "disabled";
1300 msiof2: spi@e6e00000 {
1301 compatible = "renesas,msiof-r8a7791",
1302 "renesas,rcar-gen2-msiof";
1303 reg = <0 0xe6e00000 0 0x0064>;
1304 interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
1305 clocks = <&cpg CPG_MOD 205>;
1306 dmas = <&dmac0 0x41>, <&dmac0 0x42>,
1307 <&dmac1 0x41>, <&dmac1 0x42>;
1308 dma-names = "tx", "rx", "tx", "rx";
1309 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1310 resets = <&cpg 205>;
1311 #address-cells = <1>;
1313 status = "disabled";
1316 xhci: usb@ee000000 {
1317 compatible = "renesas,xhci-r8a7791", "renesas,rcar-gen2-xhci";
1318 reg = <0 0xee000000 0 0xc00>;
1319 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
1320 clocks = <&cpg CPG_MOD 328>;
1321 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1322 resets = <&cpg 328>;
1325 status = "disabled";
1328 pci0: pci@ee090000 {
1329 compatible = "renesas,pci-r8a7791", "renesas,pci-rcar-gen2";
1330 device_type = "pci";
1331 reg = <0 0xee090000 0 0xc00>,
1332 <0 0xee080000 0 0x1100>;
1333 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1334 clocks = <&cpg CPG_MOD 703>;
1335 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1336 resets = <&cpg 703>;
1337 status = "disabled";
1340 #address-cells = <3>;
1342 #interrupt-cells = <1>;
1343 ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>;
1344 interrupt-map-mask = <0xff00 0 0 0x7>;
1345 interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH
1346 0x0800 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH
1347 0x1000 0 0 2 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1350 reg = <0x800 0 0 0 0>;
1356 reg = <0x1000 0 0 0 0>;
1362 pci1: pci@ee0d0000 {
1363 compatible = "renesas,pci-r8a7791", "renesas,pci-rcar-gen2";
1364 device_type = "pci";
1365 reg = <0 0xee0d0000 0 0xc00>,
1366 <0 0xee0c0000 0 0x1100>;
1367 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
1368 clocks = <&cpg CPG_MOD 703>;
1369 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1370 resets = <&cpg 703>;
1371 status = "disabled";
1374 #address-cells = <3>;
1376 #interrupt-cells = <1>;
1377 ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>;
1378 interrupt-map-mask = <0xff00 0 0 0x7>;
1379 interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH
1380 0x0800 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH
1381 0x1000 0 0 2 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
1384 reg = <0x10800 0 0 0 0>;
1390 reg = <0x11000 0 0 0 0>;
1396 pciec: pcie@fe000000 {
1397 compatible = "renesas,pcie-r8a7791", "renesas,pcie-rcar-gen2";
1398 reg = <0 0xfe000000 0 0x80000>;
1399 #address-cells = <3>;
1401 bus-range = <0x00 0xff>;
1402 device_type = "pci";
1403 ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000
1404 0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000
1405 0x02000000 0 0x30000000 0 0x30000000 0 0x08000000
1406 0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
1407 /* Map all possible DDR as inbound ranges */
1408 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000
1409 0x43000000 2 0x00000000 2 0x00000000 1 0x00000000>;
1410 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
1411 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
1412 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
1413 #interrupt-cells = <1>;
1414 interrupt-map-mask = <0 0 0 0>;
1415 interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
1416 clocks = <&cpg CPG_MOD 319>, <&pcie_bus_clk>;
1417 clock-names = "pcie", "pcie_bus";
1418 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1419 resets = <&cpg 319>;
1420 status = "disabled";
1423 ipmmu_sy0: mmu@e6280000 {
1424 compatible = "renesas,ipmmu-r8a7791", "renesas,ipmmu-vmsa";
1425 reg = <0 0xe6280000 0 0x1000>;
1426 interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>,
1427 <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>;
1429 status = "disabled";
1432 ipmmu_sy1: mmu@e6290000 {
1433 compatible = "renesas,ipmmu-r8a7791", "renesas,ipmmu-vmsa";
1434 reg = <0 0xe6290000 0 0x1000>;
1435 interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>;
1437 status = "disabled";
1440 ipmmu_ds: mmu@e6740000 {
1441 compatible = "renesas,ipmmu-r8a7791", "renesas,ipmmu-vmsa";
1442 reg = <0 0xe6740000 0 0x1000>;
1443 interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>,
1444 <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>;
1446 status = "disabled";
1449 ipmmu_mp: mmu@ec680000 {
1450 compatible = "renesas,ipmmu-r8a7791", "renesas,ipmmu-vmsa";
1451 reg = <0 0xec680000 0 0x1000>;
1452 interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
1454 status = "disabled";
1457 ipmmu_mx: mmu@fe951000 {
1458 compatible = "renesas,ipmmu-r8a7791", "renesas,ipmmu-vmsa";
1459 reg = <0 0xfe951000 0 0x1000>;
1460 interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>,
1461 <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
1463 status = "disabled";
1466 ipmmu_rt: mmu@ffc80000 {
1467 compatible = "renesas,ipmmu-r8a7791", "renesas,ipmmu-vmsa";
1468 reg = <0 0xffc80000 0 0x1000>;
1469 interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>;
1471 status = "disabled";
1474 ipmmu_gp: mmu@e62a0000 {
1475 compatible = "renesas,ipmmu-r8a7791", "renesas,ipmmu-vmsa";
1476 reg = <0 0xe62a0000 0 0x1000>;
1477 interrupts = <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>,
1478 <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>;
1480 status = "disabled";
1483 rcar_sound: sound@ec500000 {
1485 * #sound-dai-cells is required
1487 * Single DAI : #sound-dai-cells = <0>; <&rcar_sound>;
1488 * Multi DAI : #sound-dai-cells = <1>; <&rcar_sound N>;
1490 compatible = "renesas,rcar_sound-r8a7791", "renesas,rcar_sound-gen2";
1491 reg = <0 0xec500000 0 0x1000>, /* SCU */
1492 <0 0xec5a0000 0 0x100>, /* ADG */
1493 <0 0xec540000 0 0x1000>, /* SSIU */
1494 <0 0xec541000 0 0x280>, /* SSI */
1495 <0 0xec740000 0 0x200>; /* Audio DMAC peri peri*/
1496 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
1498 clocks = <&cpg CPG_MOD 1005>,
1499 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
1500 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
1501 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
1502 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
1503 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
1504 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
1505 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
1506 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
1507 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
1508 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
1509 <&cpg CPG_MOD 1021>, <&cpg CPG_MOD 1020>,
1510 <&cpg CPG_MOD 1021>, <&cpg CPG_MOD 1020>,
1511 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
1512 <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>,
1513 <&cpg CPG_CORE R8A7791_CLK_M2>;
1514 clock-names = "ssi-all",
1515 "ssi.9", "ssi.8", "ssi.7", "ssi.6", "ssi.5",
1516 "ssi.4", "ssi.3", "ssi.2", "ssi.1", "ssi.0",
1517 "src.9", "src.8", "src.7", "src.6", "src.5",
1518 "src.4", "src.3", "src.2", "src.1", "src.0",
1522 "clk_a", "clk_b", "clk_c", "clk_i";
1523 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
1524 resets = <&cpg 1005>,
1525 <&cpg 1006>, <&cpg 1007>, <&cpg 1008>, <&cpg 1009>,
1526 <&cpg 1010>, <&cpg 1011>, <&cpg 1012>, <&cpg 1013>,
1527 <&cpg 1014>, <&cpg 1015>;
1528 reset-names = "ssi-all",
1529 "ssi.9", "ssi.8", "ssi.7", "ssi.6", "ssi.5",
1530 "ssi.4", "ssi.3", "ssi.2", "ssi.1", "ssi.0";
1532 status = "disabled";
1536 dmas = <&audma1 0xbc>;
1540 dmas = <&audma1 0xbe>;
1563 interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
1564 dmas = <&audma0 0x85>, <&audma1 0x9a>;
1565 dma-names = "rx", "tx";
1568 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1569 dmas = <&audma0 0x87>, <&audma1 0x9c>;
1570 dma-names = "rx", "tx";
1573 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1574 dmas = <&audma0 0x89>, <&audma1 0x9e>;
1575 dma-names = "rx", "tx";
1578 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1579 dmas = <&audma0 0x8b>, <&audma1 0xa0>;
1580 dma-names = "rx", "tx";
1583 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1584 dmas = <&audma0 0x8d>, <&audma1 0xb0>;
1585 dma-names = "rx", "tx";
1588 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1589 dmas = <&audma0 0x8f>, <&audma1 0xb2>;
1590 dma-names = "rx", "tx";
1593 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1594 dmas = <&audma0 0x91>, <&audma1 0xb4>;
1595 dma-names = "rx", "tx";
1598 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1599 dmas = <&audma0 0x93>, <&audma1 0xb6>;
1600 dma-names = "rx", "tx";
1603 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1604 dmas = <&audma0 0x95>, <&audma1 0xb8>;
1605 dma-names = "rx", "tx";
1608 interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
1609 dmas = <&audma0 0x97>, <&audma1 0xba>;
1610 dma-names = "rx", "tx";
1616 interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
1617 dmas = <&audma0 0x01>, <&audma1 0x02>, <&audma0 0x15>, <&audma1 0x16>;
1618 dma-names = "rx", "tx", "rxu", "txu";
1621 interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
1622 dmas = <&audma0 0x03>, <&audma1 0x04>, <&audma0 0x49>, <&audma1 0x4a>;
1623 dma-names = "rx", "tx", "rxu", "txu";
1626 interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>;
1627 dmas = <&audma0 0x05>, <&audma1 0x06>, <&audma0 0x63>, <&audma1 0x64>;
1628 dma-names = "rx", "tx", "rxu", "txu";
1631 interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
1632 dmas = <&audma0 0x07>, <&audma1 0x08>, <&audma0 0x6f>, <&audma1 0x70>;
1633 dma-names = "rx", "tx", "rxu", "txu";
1636 interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
1637 dmas = <&audma0 0x09>, <&audma1 0x0a>, <&audma0 0x71>, <&audma1 0x72>;
1638 dma-names = "rx", "tx", "rxu", "txu";
1641 interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
1642 dmas = <&audma0 0x0b>, <&audma1 0x0c>, <&audma0 0x73>, <&audma1 0x74>;
1643 dma-names = "rx", "tx", "rxu", "txu";
1646 interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>;
1647 dmas = <&audma0 0x0d>, <&audma1 0x0e>, <&audma0 0x75>, <&audma1 0x76>;
1648 dma-names = "rx", "tx", "rxu", "txu";
1651 interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>;
1652 dmas = <&audma0 0x0f>, <&audma1 0x10>, <&audma0 0x79>, <&audma1 0x7a>;
1653 dma-names = "rx", "tx", "rxu", "txu";
1656 interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>;
1657 dmas = <&audma0 0x11>, <&audma1 0x12>, <&audma0 0x7b>, <&audma1 0x7c>;
1658 dma-names = "rx", "tx", "rxu", "txu";
1661 interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
1662 dmas = <&audma0 0x13>, <&audma1 0x14>, <&audma0 0x7d>, <&audma1 0x7e>;
1663 dma-names = "rx", "tx", "rxu", "txu";