2 * Device Tree Source for the r8a7794 SoC
4 * Copyright (C) 2014 Renesas Electronics Corporation
5 * Copyright (C) 2014 Ulrich Hecht
7 * This file is licensed under the terms of the GNU General Public License
8 * version 2. This program is licensed "as is" without any warranty of any
9 * kind, whether express or implied.
12 #include <dt-bindings/clock/r8a7794-clock.h>
13 #include <dt-bindings/interrupt-controller/arm-gic.h>
14 #include <dt-bindings/interrupt-controller/irq.h>
17 compatible = "renesas,r8a7794";
18 interrupt-parent = <&gic>;
40 compatible = "arm,cortex-a7";
42 clock-frequency = <1000000000>;
47 compatible = "arm,cortex-a7";
49 clock-frequency = <1000000000>;
53 gic: interrupt-controller@f1001000 {
54 compatible = "arm,gic-400";
55 #interrupt-cells = <3>;
58 reg = <0 0xf1001000 0 0x1000>,
59 <0 0xf1002000 0 0x1000>,
60 <0 0xf1004000 0 0x2000>,
61 <0 0xf1006000 0 0x2000>;
62 interrupts = <1 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
65 gpio0: gpio@e6050000 {
66 compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
67 reg = <0 0xe6050000 0 0x50>;
68 interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>;
71 gpio-ranges = <&pfc 0 0 32>;
72 #interrupt-cells = <2>;
74 clocks = <&mstp9_clks R8A7794_CLK_GPIO0>;
75 power-domains = <&cpg_clocks>;
78 gpio1: gpio@e6051000 {
79 compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
80 reg = <0 0xe6051000 0 0x50>;
81 interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>;
84 gpio-ranges = <&pfc 0 32 26>;
85 #interrupt-cells = <2>;
87 clocks = <&mstp9_clks R8A7794_CLK_GPIO1>;
88 power-domains = <&cpg_clocks>;
91 gpio2: gpio@e6052000 {
92 compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
93 reg = <0 0xe6052000 0 0x50>;
94 interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>;
97 gpio-ranges = <&pfc 0 64 32>;
98 #interrupt-cells = <2>;
100 clocks = <&mstp9_clks R8A7794_CLK_GPIO2>;
101 power-domains = <&cpg_clocks>;
104 gpio3: gpio@e6053000 {
105 compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
106 reg = <0 0xe6053000 0 0x50>;
107 interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>;
110 gpio-ranges = <&pfc 0 96 32>;
111 #interrupt-cells = <2>;
112 interrupt-controller;
113 clocks = <&mstp9_clks R8A7794_CLK_GPIO3>;
114 power-domains = <&cpg_clocks>;
117 gpio4: gpio@e6054000 {
118 compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
119 reg = <0 0xe6054000 0 0x50>;
120 interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>;
123 gpio-ranges = <&pfc 0 128 32>;
124 #interrupt-cells = <2>;
125 interrupt-controller;
126 clocks = <&mstp9_clks R8A7794_CLK_GPIO4>;
127 power-domains = <&cpg_clocks>;
130 gpio5: gpio@e6055000 {
131 compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
132 reg = <0 0xe6055000 0 0x50>;
133 interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>;
136 gpio-ranges = <&pfc 0 160 28>;
137 #interrupt-cells = <2>;
138 interrupt-controller;
139 clocks = <&mstp9_clks R8A7794_CLK_GPIO5>;
140 power-domains = <&cpg_clocks>;
143 gpio6: gpio@e6055400 {
144 compatible = "renesas,gpio-r8a7794", "renesas,gpio-rcar";
145 reg = <0 0xe6055400 0 0x50>;
146 interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>;
149 gpio-ranges = <&pfc 0 192 26>;
150 #interrupt-cells = <2>;
151 interrupt-controller;
152 clocks = <&mstp9_clks R8A7794_CLK_GPIO6>;
153 power-domains = <&cpg_clocks>;
156 cmt0: timer@ffca0000 {
157 compatible = "renesas,cmt-48-gen2";
158 reg = <0 0xffca0000 0 0x1004>;
159 interrupts = <0 142 IRQ_TYPE_LEVEL_HIGH>,
160 <0 143 IRQ_TYPE_LEVEL_HIGH>;
161 clocks = <&mstp1_clks R8A7794_CLK_CMT0>;
163 power-domains = <&cpg_clocks>;
165 renesas,channels-mask = <0x60>;
170 cmt1: timer@e6130000 {
171 compatible = "renesas,cmt-48-gen2";
172 reg = <0 0xe6130000 0 0x1004>;
173 interrupts = <0 120 IRQ_TYPE_LEVEL_HIGH>,
174 <0 121 IRQ_TYPE_LEVEL_HIGH>,
175 <0 122 IRQ_TYPE_LEVEL_HIGH>,
176 <0 123 IRQ_TYPE_LEVEL_HIGH>,
177 <0 124 IRQ_TYPE_LEVEL_HIGH>,
178 <0 125 IRQ_TYPE_LEVEL_HIGH>,
179 <0 126 IRQ_TYPE_LEVEL_HIGH>,
180 <0 127 IRQ_TYPE_LEVEL_HIGH>;
181 clocks = <&mstp3_clks R8A7794_CLK_CMT1>;
183 power-domains = <&cpg_clocks>;
185 renesas,channels-mask = <0xff>;
191 compatible = "arm,armv7-timer";
192 interrupts = <1 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
193 <1 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
194 <1 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
195 <1 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
198 irqc0: interrupt-controller@e61c0000 {
199 compatible = "renesas,irqc-r8a7794", "renesas,irqc";
200 #interrupt-cells = <2>;
201 interrupt-controller;
202 reg = <0 0xe61c0000 0 0x200>;
203 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>,
204 <0 1 IRQ_TYPE_LEVEL_HIGH>,
205 <0 2 IRQ_TYPE_LEVEL_HIGH>,
206 <0 3 IRQ_TYPE_LEVEL_HIGH>,
207 <0 12 IRQ_TYPE_LEVEL_HIGH>,
208 <0 13 IRQ_TYPE_LEVEL_HIGH>,
209 <0 14 IRQ_TYPE_LEVEL_HIGH>,
210 <0 15 IRQ_TYPE_LEVEL_HIGH>,
211 <0 16 IRQ_TYPE_LEVEL_HIGH>,
212 <0 17 IRQ_TYPE_LEVEL_HIGH>;
213 clocks = <&mstp4_clks R8A7794_CLK_IRQC>;
214 power-domains = <&cpg_clocks>;
217 pfc: pin-controller@e6060000 {
218 compatible = "renesas,pfc-r8a7794";
219 reg = <0 0xe6060000 0 0x11c>;
220 #gpio-range-cells = <3>;
223 dmac0: dma-controller@e6700000 {
224 compatible = "renesas,rcar-dmac";
225 reg = <0 0xe6700000 0 0x20000>;
226 interrupts = <0 197 IRQ_TYPE_LEVEL_HIGH
227 0 200 IRQ_TYPE_LEVEL_HIGH
228 0 201 IRQ_TYPE_LEVEL_HIGH
229 0 202 IRQ_TYPE_LEVEL_HIGH
230 0 203 IRQ_TYPE_LEVEL_HIGH
231 0 204 IRQ_TYPE_LEVEL_HIGH
232 0 205 IRQ_TYPE_LEVEL_HIGH
233 0 206 IRQ_TYPE_LEVEL_HIGH
234 0 207 IRQ_TYPE_LEVEL_HIGH
235 0 208 IRQ_TYPE_LEVEL_HIGH
236 0 209 IRQ_TYPE_LEVEL_HIGH
237 0 210 IRQ_TYPE_LEVEL_HIGH
238 0 211 IRQ_TYPE_LEVEL_HIGH
239 0 212 IRQ_TYPE_LEVEL_HIGH
240 0 213 IRQ_TYPE_LEVEL_HIGH
241 0 214 IRQ_TYPE_LEVEL_HIGH>;
242 interrupt-names = "error",
243 "ch0", "ch1", "ch2", "ch3",
244 "ch4", "ch5", "ch6", "ch7",
245 "ch8", "ch9", "ch10", "ch11",
246 "ch12", "ch13", "ch14";
247 clocks = <&mstp2_clks R8A7794_CLK_SYS_DMAC0>;
249 power-domains = <&cpg_clocks>;
254 dmac1: dma-controller@e6720000 {
255 compatible = "renesas,rcar-dmac";
256 reg = <0 0xe6720000 0 0x20000>;
257 interrupts = <0 220 IRQ_TYPE_LEVEL_HIGH
258 0 216 IRQ_TYPE_LEVEL_HIGH
259 0 217 IRQ_TYPE_LEVEL_HIGH
260 0 218 IRQ_TYPE_LEVEL_HIGH
261 0 219 IRQ_TYPE_LEVEL_HIGH
262 0 308 IRQ_TYPE_LEVEL_HIGH
263 0 309 IRQ_TYPE_LEVEL_HIGH
264 0 310 IRQ_TYPE_LEVEL_HIGH
265 0 311 IRQ_TYPE_LEVEL_HIGH
266 0 312 IRQ_TYPE_LEVEL_HIGH
267 0 313 IRQ_TYPE_LEVEL_HIGH
268 0 314 IRQ_TYPE_LEVEL_HIGH
269 0 315 IRQ_TYPE_LEVEL_HIGH
270 0 316 IRQ_TYPE_LEVEL_HIGH
271 0 317 IRQ_TYPE_LEVEL_HIGH
272 0 318 IRQ_TYPE_LEVEL_HIGH>;
273 interrupt-names = "error",
274 "ch0", "ch1", "ch2", "ch3",
275 "ch4", "ch5", "ch6", "ch7",
276 "ch8", "ch9", "ch10", "ch11",
277 "ch12", "ch13", "ch14";
278 clocks = <&mstp2_clks R8A7794_CLK_SYS_DMAC1>;
280 power-domains = <&cpg_clocks>;
285 scifa0: serial@e6c40000 {
286 compatible = "renesas,scifa-r8a7794", "renesas,scifa";
287 reg = <0 0xe6c40000 0 64>;
288 interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>;
289 clocks = <&mstp2_clks R8A7794_CLK_SCIFA0>;
290 clock-names = "sci_ick";
291 dmas = <&dmac0 0x21>, <&dmac0 0x22>;
292 dma-names = "tx", "rx";
293 power-domains = <&cpg_clocks>;
297 scifa1: serial@e6c50000 {
298 compatible = "renesas,scifa-r8a7794", "renesas,scifa";
299 reg = <0 0xe6c50000 0 64>;
300 interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>;
301 clocks = <&mstp2_clks R8A7794_CLK_SCIFA1>;
302 clock-names = "sci_ick";
303 dmas = <&dmac0 0x25>, <&dmac0 0x26>;
304 dma-names = "tx", "rx";
305 power-domains = <&cpg_clocks>;
309 scifa2: serial@e6c60000 {
310 compatible = "renesas,scifa-r8a7794", "renesas,scifa";
311 reg = <0 0xe6c60000 0 64>;
312 interrupts = <0 151 IRQ_TYPE_LEVEL_HIGH>;
313 clocks = <&mstp2_clks R8A7794_CLK_SCIFA2>;
314 clock-names = "sci_ick";
315 dmas = <&dmac0 0x27>, <&dmac0 0x28>;
316 dma-names = "tx", "rx";
317 power-domains = <&cpg_clocks>;
321 scifa3: serial@e6c70000 {
322 compatible = "renesas,scifa-r8a7794", "renesas,scifa";
323 reg = <0 0xe6c70000 0 64>;
324 interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>;
325 clocks = <&mstp11_clks R8A7794_CLK_SCIFA3>;
326 clock-names = "sci_ick";
327 dmas = <&dmac0 0x1b>, <&dmac0 0x1c>;
328 dma-names = "tx", "rx";
329 power-domains = <&cpg_clocks>;
333 scifa4: serial@e6c78000 {
334 compatible = "renesas,scifa-r8a7794", "renesas,scifa";
335 reg = <0 0xe6c78000 0 64>;
336 interrupts = <0 30 IRQ_TYPE_LEVEL_HIGH>;
337 clocks = <&mstp11_clks R8A7794_CLK_SCIFA4>;
338 clock-names = "sci_ick";
339 dmas = <&dmac0 0x1f>, <&dmac0 0x20>;
340 dma-names = "tx", "rx";
341 power-domains = <&cpg_clocks>;
345 scifa5: serial@e6c80000 {
346 compatible = "renesas,scifa-r8a7794", "renesas,scifa";
347 reg = <0 0xe6c80000 0 64>;
348 interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>;
349 clocks = <&mstp11_clks R8A7794_CLK_SCIFA5>;
350 clock-names = "sci_ick";
351 dmas = <&dmac0 0x23>, <&dmac0 0x24>;
352 dma-names = "tx", "rx";
353 power-domains = <&cpg_clocks>;
357 scifb0: serial@e6c20000 {
358 compatible = "renesas,scifb-r8a7794", "renesas,scifb";
359 reg = <0 0xe6c20000 0 64>;
360 interrupts = <0 148 IRQ_TYPE_LEVEL_HIGH>;
361 clocks = <&mstp2_clks R8A7794_CLK_SCIFB0>;
362 clock-names = "sci_ick";
363 dmas = <&dmac0 0x3d>, <&dmac0 0x3e>;
364 dma-names = "tx", "rx";
365 power-domains = <&cpg_clocks>;
369 scifb1: serial@e6c30000 {
370 compatible = "renesas,scifb-r8a7794", "renesas,scifb";
371 reg = <0 0xe6c30000 0 64>;
372 interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH>;
373 clocks = <&mstp2_clks R8A7794_CLK_SCIFB1>;
374 clock-names = "sci_ick";
375 dmas = <&dmac0 0x19>, <&dmac0 0x1a>;
376 dma-names = "tx", "rx";
377 power-domains = <&cpg_clocks>;
381 scifb2: serial@e6ce0000 {
382 compatible = "renesas,scifb-r8a7794", "renesas,scifb";
383 reg = <0 0xe6ce0000 0 64>;
384 interrupts = <0 150 IRQ_TYPE_LEVEL_HIGH>;
385 clocks = <&mstp2_clks R8A7794_CLK_SCIFB2>;
386 clock-names = "sci_ick";
387 dmas = <&dmac0 0x1d>, <&dmac0 0x1e>;
388 dma-names = "tx", "rx";
389 power-domains = <&cpg_clocks>;
393 scif0: serial@e6e60000 {
394 compatible = "renesas,scif-r8a7794", "renesas,scif";
395 reg = <0 0xe6e60000 0 64>;
396 interrupts = <0 152 IRQ_TYPE_LEVEL_HIGH>;
397 clocks = <&mstp7_clks R8A7794_CLK_SCIF0>;
398 clock-names = "sci_ick";
399 dmas = <&dmac0 0x29>, <&dmac0 0x2a>;
400 dma-names = "tx", "rx";
401 power-domains = <&cpg_clocks>;
405 scif1: serial@e6e68000 {
406 compatible = "renesas,scif-r8a7794", "renesas,scif";
407 reg = <0 0xe6e68000 0 64>;
408 interrupts = <0 153 IRQ_TYPE_LEVEL_HIGH>;
409 clocks = <&mstp7_clks R8A7794_CLK_SCIF1>;
410 clock-names = "sci_ick";
411 dmas = <&dmac0 0x2d>, <&dmac0 0x2e>;
412 dma-names = "tx", "rx";
413 power-domains = <&cpg_clocks>;
417 scif2: serial@e6e58000 {
418 compatible = "renesas,scif-r8a7794", "renesas,scif";
419 reg = <0 0xe6e58000 0 64>;
420 interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>;
421 clocks = <&mstp7_clks R8A7794_CLK_SCIF2>;
422 clock-names = "sci_ick";
423 dmas = <&dmac0 0x2b>, <&dmac0 0x2c>;
424 dma-names = "tx", "rx";
425 power-domains = <&cpg_clocks>;
429 scif3: serial@e6ea8000 {
430 compatible = "renesas,scif-r8a7794", "renesas,scif";
431 reg = <0 0xe6ea8000 0 64>;
432 interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>;
433 clocks = <&mstp7_clks R8A7794_CLK_SCIF3>;
434 clock-names = "sci_ick";
435 dmas = <&dmac0 0x2f>, <&dmac0 0x30>;
436 dma-names = "tx", "rx";
437 power-domains = <&cpg_clocks>;
441 scif4: serial@e6ee0000 {
442 compatible = "renesas,scif-r8a7794", "renesas,scif";
443 reg = <0 0xe6ee0000 0 64>;
444 interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>;
445 clocks = <&mstp7_clks R8A7794_CLK_SCIF4>;
446 clock-names = "sci_ick";
447 dmas = <&dmac0 0xfb>, <&dmac0 0xfc>;
448 dma-names = "tx", "rx";
449 power-domains = <&cpg_clocks>;
453 scif5: serial@e6ee8000 {
454 compatible = "renesas,scif-r8a7794", "renesas,scif";
455 reg = <0 0xe6ee8000 0 64>;
456 interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>;
457 clocks = <&mstp7_clks R8A7794_CLK_SCIF5>;
458 clock-names = "sci_ick";
459 dmas = <&dmac0 0xfd>, <&dmac0 0xfe>;
460 dma-names = "tx", "rx";
461 power-domains = <&cpg_clocks>;
465 hscif0: serial@e62c0000 {
466 compatible = "renesas,hscif-r8a7794", "renesas,hscif";
467 reg = <0 0xe62c0000 0 96>;
468 interrupts = <0 154 IRQ_TYPE_LEVEL_HIGH>;
469 clocks = <&mstp7_clks R8A7794_CLK_HSCIF0>;
470 clock-names = "sci_ick";
471 dmas = <&dmac0 0x39>, <&dmac0 0x3a>;
472 dma-names = "tx", "rx";
473 power-domains = <&cpg_clocks>;
477 hscif1: serial@e62c8000 {
478 compatible = "renesas,hscif-r8a7794", "renesas,hscif";
479 reg = <0 0xe62c8000 0 96>;
480 interrupts = <0 155 IRQ_TYPE_LEVEL_HIGH>;
481 clocks = <&mstp7_clks R8A7794_CLK_HSCIF1>;
482 clock-names = "sci_ick";
483 dmas = <&dmac0 0x4d>, <&dmac0 0x4e>;
484 dma-names = "tx", "rx";
485 power-domains = <&cpg_clocks>;
489 hscif2: serial@e62d0000 {
490 compatible = "renesas,hscif-r8a7794", "renesas,hscif";
491 reg = <0 0xe62d0000 0 96>;
492 interrupts = <0 21 IRQ_TYPE_LEVEL_HIGH>;
493 clocks = <&mstp7_clks R8A7794_CLK_HSCIF2>;
494 clock-names = "sci_ick";
495 dmas = <&dmac0 0x3b>, <&dmac0 0x3c>;
496 dma-names = "tx", "rx";
497 power-domains = <&cpg_clocks>;
501 ether: ethernet@ee700000 {
502 compatible = "renesas,ether-r8a7794";
503 reg = <0 0xee700000 0 0x400>;
504 interrupts = <0 162 IRQ_TYPE_LEVEL_HIGH>;
505 clocks = <&mstp8_clks R8A7794_CLK_ETHER>;
506 power-domains = <&cpg_clocks>;
508 #address-cells = <1>;
513 /* The memory map in the User's Manual maps the cores to bus numbers */
515 compatible = "renesas,i2c-r8a7794";
516 reg = <0 0xe6508000 0 0x40>;
517 interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>;
518 clocks = <&mstp9_clks R8A7794_CLK_I2C0>;
519 power-domains = <&cpg_clocks>;
520 #address-cells = <1>;
526 compatible = "renesas,i2c-r8a7794";
527 reg = <0 0xe6518000 0 0x40>;
528 interrupts = <0 288 IRQ_TYPE_LEVEL_HIGH>;
529 clocks = <&mstp9_clks R8A7794_CLK_I2C1>;
530 power-domains = <&cpg_clocks>;
531 #address-cells = <1>;
537 compatible = "renesas,i2c-r8a7794";
538 reg = <0 0xe6530000 0 0x40>;
539 interrupts = <0 286 IRQ_TYPE_LEVEL_HIGH>;
540 clocks = <&mstp9_clks R8A7794_CLK_I2C2>;
541 power-domains = <&cpg_clocks>;
542 #address-cells = <1>;
548 compatible = "renesas,i2c-r8a7794";
549 reg = <0 0xe6540000 0 0x40>;
550 interrupts = <0 290 IRQ_TYPE_LEVEL_HIGH>;
551 clocks = <&mstp9_clks R8A7794_CLK_I2C3>;
552 power-domains = <&cpg_clocks>;
553 #address-cells = <1>;
559 compatible = "renesas,i2c-r8a7794";
560 reg = <0 0xe6520000 0 0x40>;
561 interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>;
562 clocks = <&mstp9_clks R8A7794_CLK_I2C4>;
563 power-domains = <&cpg_clocks>;
564 #address-cells = <1>;
570 compatible = "renesas,i2c-r8a7794";
571 reg = <0 0xe6528000 0 0x40>;
572 interrupts = <0 20 IRQ_TYPE_LEVEL_HIGH>;
573 clocks = <&mstp9_clks R8A7794_CLK_I2C5>;
574 power-domains = <&cpg_clocks>;
575 #address-cells = <1>;
580 mmcif0: mmc@ee200000 {
581 compatible = "renesas,mmcif-r8a7794", "renesas,sh-mmcif";
582 reg = <0 0xee200000 0 0x80>;
583 interrupts = <0 169 IRQ_TYPE_LEVEL_HIGH>;
584 clocks = <&mstp3_clks R8A7794_CLK_MMCIF0>;
585 dmas = <&dmac0 0xd1>, <&dmac0 0xd2>;
586 dma-names = "tx", "rx";
587 power-domains = <&cpg_clocks>;
593 compatible = "renesas,sdhi-r8a7794";
594 reg = <0 0xee100000 0 0x200>;
595 interrupts = <0 165 IRQ_TYPE_LEVEL_HIGH>;
596 clocks = <&mstp3_clks R8A7794_CLK_SDHI0>;
597 power-domains = <&cpg_clocks>;
602 compatible = "renesas,sdhi-r8a7794";
603 reg = <0 0xee140000 0 0x100>;
604 interrupts = <0 167 IRQ_TYPE_LEVEL_HIGH>;
605 clocks = <&mstp3_clks R8A7794_CLK_SDHI1>;
606 power-domains = <&cpg_clocks>;
611 compatible = "renesas,sdhi-r8a7794";
612 reg = <0 0xee160000 0 0x100>;
613 interrupts = <0 168 IRQ_TYPE_LEVEL_HIGH>;
614 clocks = <&mstp3_clks R8A7794_CLK_SDHI2>;
615 power-domains = <&cpg_clocks>;
620 compatible = "renesas,qspi-r8a7794", "renesas,qspi";
621 reg = <0 0xe6b10000 0 0x2c>;
622 interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>;
623 clocks = <&mstp9_clks R8A7794_CLK_QSPI_MOD>;
624 dmas = <&dmac0 0x17>, <&dmac0 0x18>;
625 dma-names = "tx", "rx";
626 power-domains = <&cpg_clocks>;
628 #address-cells = <1>;
633 vin0: video@e6ef0000 {
634 compatible = "renesas,vin-r8a7794";
635 reg = <0 0xe6ef0000 0 0x1000>;
636 interrupts = <0 188 IRQ_TYPE_LEVEL_HIGH>;
637 clocks = <&mstp8_clks R8A7794_CLK_VIN0>;
638 power-domains = <&cpg_clocks>;
642 vin1: video@e6ef1000 {
643 compatible = "renesas,vin-r8a7794";
644 reg = <0 0xe6ef1000 0 0x1000>;
645 interrupts = <0 189 IRQ_TYPE_LEVEL_HIGH>;
646 clocks = <&mstp8_clks R8A7794_CLK_VIN1>;
647 power-domains = <&cpg_clocks>;
652 compatible = "renesas,pci-r8a7794";
654 reg = <0 0xee090000 0 0xc00>,
655 <0 0xee080000 0 0x1100>;
656 interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
657 clocks = <&mstp7_clks R8A7794_CLK_EHCI>;
658 power-domains = <&cpg_clocks>;
662 #address-cells = <3>;
664 #interrupt-cells = <1>;
665 ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>;
666 interrupt-map-mask = <0xff00 0 0 0x7>;
667 interrupt-map = <0x0000 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH
668 0x0800 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH
669 0x1000 0 0 2 &gic 0 108 IRQ_TYPE_LEVEL_HIGH>;
672 reg = <0x800 0 0 0 0>;
679 reg = <0x1000 0 0 0 0>;
687 compatible = "renesas,pci-r8a7794";
689 reg = <0 0xee0d0000 0 0xc00>,
690 <0 0xee0c0000 0 0x1100>;
691 interrupts = <0 113 IRQ_TYPE_LEVEL_HIGH>;
692 clocks = <&mstp7_clks R8A7794_CLK_EHCI>;
693 power-domains = <&cpg_clocks>;
697 #address-cells = <3>;
699 #interrupt-cells = <1>;
700 ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>;
701 interrupt-map-mask = <0xff00 0 0 0x7>;
702 interrupt-map = <0x0000 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH
703 0x0800 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH
704 0x1000 0 0 2 &gic 0 113 IRQ_TYPE_LEVEL_HIGH>;
707 reg = <0x800 0 0 0 0>;
714 reg = <0x1000 0 0 0 0>;
721 hsusb: usb@e6590000 {
722 compatible = "renesas,usbhs-r8a7794";
723 reg = <0 0xe6590000 0 0x100>;
724 interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
725 clocks = <&mstp7_clks R8A7794_CLK_HSUSB>;
726 power-domains = <&cpg_clocks>;
727 renesas,buswait = <4>;
733 usbphy: usb-phy@e6590100 {
734 compatible = "renesas,usb-phy-r8a7794";
735 reg = <0 0xe6590100 0 0x100>;
736 #address-cells = <1>;
738 clocks = <&mstp7_clks R8A7794_CLK_HSUSB>;
739 clock-names = "usbhs";
740 power-domains = <&cpg_clocks>;
743 usb0: usb-channel@0 {
747 usb2: usb-channel@2 {
754 #address-cells = <2>;
758 /* External root clock */
759 extal_clk: extal_clk {
760 compatible = "fixed-clock";
762 /* This value must be overriden by the board. */
763 clock-frequency = <0>;
764 clock-output-names = "extal";
767 /* Special CPG clocks */
768 cpg_clocks: cpg_clocks@e6150000 {
769 compatible = "renesas,r8a7794-cpg-clocks",
770 "renesas,rcar-gen2-cpg-clocks";
771 reg = <0 0xe6150000 0 0x1000>;
772 clocks = <&extal_clk>;
774 clock-output-names = "main", "pll0", "pll1", "pll3",
775 "lb", "qspi", "sdh", "sd0", "z";
776 #power-domain-cells = <0>;
778 /* Variable factor clocks */
779 sd2_clk: sd2_clk@e6150078 {
780 compatible = "renesas,r8a7794-div6-clock", "renesas,cpg-div6-clock";
781 reg = <0 0xe6150078 0 4>;
782 clocks = <&pll1_div2_clk>;
784 clock-output-names = "sd2";
786 sd3_clk: sd3_clk@e615026c {
787 compatible = "renesas,r8a7794-div6-clock", "renesas,cpg-div6-clock";
788 reg = <0 0xe615026c 0 4>;
789 clocks = <&pll1_div2_clk>;
791 clock-output-names = "sd3";
793 mmc0_clk: mmc0_clk@e6150240 {
794 compatible = "renesas,r8a7794-div6-clock", "renesas,cpg-div6-clock";
795 reg = <0 0xe6150240 0 4>;
796 clocks = <&pll1_div2_clk>;
798 clock-output-names = "mmc0";
801 /* Fixed factor clocks */
802 pll1_div2_clk: pll1_div2_clk {
803 compatible = "fixed-factor-clock";
804 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
808 clock-output-names = "pll1_div2";
811 compatible = "fixed-factor-clock";
812 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
816 clock-output-names = "zg";
819 compatible = "fixed-factor-clock";
820 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
824 clock-output-names = "zx";
827 compatible = "fixed-factor-clock";
828 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
832 clock-output-names = "zs";
835 compatible = "fixed-factor-clock";
836 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
840 clock-output-names = "hp";
843 compatible = "fixed-factor-clock";
844 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
848 clock-output-names = "i";
851 compatible = "fixed-factor-clock";
852 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
856 clock-output-names = "b";
859 compatible = "fixed-factor-clock";
860 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
864 clock-output-names = "p";
867 compatible = "fixed-factor-clock";
868 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
872 clock-output-names = "cl";
875 compatible = "fixed-factor-clock";
876 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
880 clock-output-names = "m2";
883 compatible = "fixed-factor-clock";
884 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
888 clock-output-names = "imp";
891 compatible = "fixed-factor-clock";
892 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
894 clock-div = <(48 * 1024)>;
896 clock-output-names = "rclk";
898 oscclk_clk: oscclk_clk {
899 compatible = "fixed-factor-clock";
900 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
902 clock-div = <(12 * 1024)>;
904 clock-output-names = "oscclk";
907 compatible = "fixed-factor-clock";
908 clocks = <&cpg_clocks R8A7794_CLK_PLL3>;
912 clock-output-names = "zb3";
914 zb3d2_clk: zb3d2_clk {
915 compatible = "fixed-factor-clock";
916 clocks = <&cpg_clocks R8A7794_CLK_PLL3>;
920 clock-output-names = "zb3d2";
923 compatible = "fixed-factor-clock";
924 clocks = <&cpg_clocks R8A7794_CLK_PLL3>;
928 clock-output-names = "ddr";
931 compatible = "fixed-factor-clock";
932 clocks = <&pll1_div2_clk>;
936 clock-output-names = "mp";
939 compatible = "fixed-factor-clock";
940 clocks = <&cpg_clocks R8A7794_CLK_PLL1>;
944 clock-output-names = "cp";
948 compatible = "fixed-factor-clock";
949 clocks = <&extal_clk>;
953 clock-output-names = "acp";
957 mstp0_clks: mstp0_clks@e6150130 {
958 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
959 reg = <0 0xe6150130 0 4>, <0 0xe6150030 0 4>;
962 clock-indices = <R8A7794_CLK_MSIOF0>;
963 clock-output-names = "msiof0";
965 mstp1_clks: mstp1_clks@e6150134 {
966 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
967 reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>;
968 clocks = <&zs_clk>, <&zs_clk>, <&p_clk>, <&zg_clk>, <&zs_clk>,
969 <&zs_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>, <&cp_clk>,
970 <&zs_clk>, <&zs_clk>;
973 R8A7794_CLK_VCP0 R8A7794_CLK_VPC0 R8A7794_CLK_TMU1
974 R8A7794_CLK_3DG R8A7794_CLK_2DDMAC R8A7794_CLK_FDP1_0
975 R8A7794_CLK_TMU3 R8A7794_CLK_TMU2 R8A7794_CLK_CMT0
976 R8A7794_CLK_TMU0 R8A7794_CLK_VSP1_DU0 R8A7794_CLK_VSP1_S
979 "vcp0", "vpc0", "tmu1", "3dg", "2ddmac", "fdp1-0",
980 "tmu3", "tmu2", "cmt0", "tmu0", "vsp1-du0", "vsps";
982 mstp2_clks: mstp2_clks@e6150138 {
983 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
984 reg = <0 0xe6150138 0 4>, <0 0xe6150040 0 4>;
985 clocks = <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>,
986 <&mp_clk>, <&mp_clk>, <&mp_clk>,
987 <&zs_clk>, <&zs_clk>;
990 R8A7794_CLK_SCIFA2 R8A7794_CLK_SCIFA1 R8A7794_CLK_SCIFA0
991 R8A7794_CLK_MSIOF2 R8A7794_CLK_SCIFB0 R8A7794_CLK_SCIFB1
992 R8A7794_CLK_MSIOF1 R8A7794_CLK_SCIFB2
993 R8A7794_CLK_SYS_DMAC1 R8A7794_CLK_SYS_DMAC0
996 "scifa2", "scifa1", "scifa0", "msiof2", "scifb0",
997 "scifb1", "msiof1", "scifb2",
998 "sys-dmac1", "sys-dmac0";
1000 mstp3_clks: mstp3_clks@e615013c {
1001 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
1002 reg = <0 0xe615013c 0 4>, <0 0xe6150048 0 4>;
1003 clocks = <&sd3_clk>, <&sd2_clk>, <&cpg_clocks R8A7794_CLK_SD0>,
1004 <&mmc0_clk>, <&rclk_clk>, <&hp_clk>, <&hp_clk>;
1007 R8A7794_CLK_SDHI2 R8A7794_CLK_SDHI1 R8A7794_CLK_SDHI0
1008 R8A7794_CLK_MMCIF0 R8A7794_CLK_CMT1
1009 R8A7794_CLK_USBDMAC0 R8A7794_CLK_USBDMAC1
1011 clock-output-names =
1012 "sdhi2", "sdhi1", "sdhi0",
1013 "mmcif0", "cmt1", "usbdmac0", "usbdmac1";
1015 mstp4_clks: mstp4_clks@e6150140 {
1016 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
1017 reg = <0 0xe6150140 0 4>, <0 0xe615004c 0 4>;
1020 clock-indices = <R8A7794_CLK_IRQC>;
1021 clock-output-names = "irqc";
1023 mstp7_clks: mstp7_clks@e615014c {
1024 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
1025 reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>;
1026 clocks = <&mp_clk>, <&mp_clk>,
1027 <&zs_clk>, <&p_clk>, <&p_clk>, <&zs_clk>,
1028 <&zs_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>;
1031 R8A7794_CLK_EHCI R8A7794_CLK_HSUSB
1032 R8A7794_CLK_HSCIF2 R8A7794_CLK_SCIF5
1033 R8A7794_CLK_SCIF4 R8A7794_CLK_HSCIF1 R8A7794_CLK_HSCIF0
1034 R8A7794_CLK_SCIF3 R8A7794_CLK_SCIF2 R8A7794_CLK_SCIF1
1037 clock-output-names =
1039 "hscif2", "scif5", "scif4", "hscif1", "hscif0",
1040 "scif3", "scif2", "scif1", "scif0";
1042 mstp8_clks: mstp8_clks@e6150990 {
1043 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
1044 reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>;
1045 clocks = <&zg_clk>, <&zg_clk>, <&p_clk>;
1048 R8A7794_CLK_VIN1 R8A7794_CLK_VIN0 R8A7794_CLK_ETHER
1050 clock-output-names =
1051 "vin1", "vin0", "ether";
1053 mstp9_clks: mstp9_clks@e6150994 {
1054 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
1055 reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>;
1056 clocks = <&cp_clk>, <&cp_clk>, <&cp_clk>, <&cp_clk>,
1057 <&cp_clk>, <&cp_clk>, <&cp_clk>,
1058 <&cpg_clocks R8A7794_CLK_QSPI>, <&hp_clk>, <&hp_clk>,
1059 <&hp_clk>, <&hp_clk>, <&hp_clk>, <&hp_clk>;
1061 clock-indices = <R8A7794_CLK_GPIO6 R8A7794_CLK_GPIO5
1062 R8A7794_CLK_GPIO4 R8A7794_CLK_GPIO3
1063 R8A7794_CLK_GPIO2 R8A7794_CLK_GPIO1
1064 R8A7794_CLK_GPIO0 R8A7794_CLK_QSPI_MOD
1065 R8A7794_CLK_I2C5 R8A7794_CLK_I2C4
1066 R8A7794_CLK_I2C3 R8A7794_CLK_I2C2
1067 R8A7794_CLK_I2C1 R8A7794_CLK_I2C0>;
1068 clock-output-names =
1069 "gpio6", "gpio5", "gpio4", "gpio3", "gpio2",
1070 "gpio1", "gpio0", "qspi_mod",
1071 "i2c5", "i2c4", "i2c3", "i2c2", "i2c1", "i2c0";
1073 mstp11_clks: mstp11_clks@e615099c {
1074 compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
1075 reg = <0 0xe615099c 0 4>, <0 0xe61509ac 0 4>;
1076 clocks = <&mp_clk>, <&mp_clk>, <&mp_clk>;
1079 R8A7794_CLK_SCIFA3 R8A7794_CLK_SCIFA4 R8A7794_CLK_SCIFA5
1081 clock-output-names = "scifa3", "scifa4", "scifa5";
1085 ipmmu_sy0: mmu@e6280000 {
1086 compatible = "renesas,ipmmu-vmsa";
1087 reg = <0 0xe6280000 0 0x1000>;
1088 interrupts = <0 223 IRQ_TYPE_LEVEL_HIGH>,
1089 <0 224 IRQ_TYPE_LEVEL_HIGH>;
1091 status = "disabled";
1094 ipmmu_sy1: mmu@e6290000 {
1095 compatible = "renesas,ipmmu-vmsa";
1096 reg = <0 0xe6290000 0 0x1000>;
1097 interrupts = <0 225 IRQ_TYPE_LEVEL_HIGH>;
1099 status = "disabled";
1102 ipmmu_ds: mmu@e6740000 {
1103 compatible = "renesas,ipmmu-vmsa";
1104 reg = <0 0xe6740000 0 0x1000>;
1105 interrupts = <0 198 IRQ_TYPE_LEVEL_HIGH>,
1106 <0 199 IRQ_TYPE_LEVEL_HIGH>;
1110 ipmmu_mp: mmu@ec680000 {
1111 compatible = "renesas,ipmmu-vmsa";
1112 reg = <0 0xec680000 0 0x1000>;
1113 interrupts = <0 226 IRQ_TYPE_LEVEL_HIGH>;
1115 status = "disabled";
1118 ipmmu_mx: mmu@fe951000 {
1119 compatible = "renesas,ipmmu-vmsa";
1120 reg = <0 0xfe951000 0 0x1000>;
1121 interrupts = <0 222 IRQ_TYPE_LEVEL_HIGH>,
1122 <0 221 IRQ_TYPE_LEVEL_HIGH>;
1126 ipmmu_gp: mmu@e62a0000 {
1127 compatible = "renesas,ipmmu-vmsa";
1128 reg = <0 0xe62a0000 0 0x1000>;
1129 interrupts = <0 260 IRQ_TYPE_LEVEL_HIGH>,
1130 <0 261 IRQ_TYPE_LEVEL_HIGH>;
1132 status = "disabled";