2 * Device Tree Source for the r8a7790 SoC
4 * Copyright (C) 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/r8a7790-clock.h>
14 #include <dt-bindings/interrupt-controller/arm-gic.h>
15 #include <dt-bindings/interrupt-controller/irq.h>
18 compatible = "renesas,r8a7790";
19 interrupt-parent = <&gic>;
49 compatible = "arm,cortex-a15";
51 clock-frequency = <1300000000>;
52 voltage-tolerance = <1>; /* 1% */
53 clocks = <&cpg_clocks R8A7790_CLK_Z>;
54 clock-latency = <300000>; /* 300 us */
56 /* kHz - uV - OPPs unknown yet */
57 operating-points = <1400000 1000000>,
67 compatible = "arm,cortex-a15";
69 clock-frequency = <1300000000>;
74 compatible = "arm,cortex-a15";
76 clock-frequency = <1300000000>;
81 compatible = "arm,cortex-a15";
83 clock-frequency = <1300000000>;
88 compatible = "arm,cortex-a7";
90 clock-frequency = <780000000>;
95 compatible = "arm,cortex-a7";
97 clock-frequency = <780000000>;
102 compatible = "arm,cortex-a7";
104 clock-frequency = <780000000>;
109 compatible = "arm,cortex-a7";
111 clock-frequency = <780000000>;
115 gic: interrupt-controller@f1001000 {
116 compatible = "arm,gic-400";
117 #interrupt-cells = <3>;
118 #address-cells = <0>;
119 interrupt-controller;
120 reg = <0 0xf1001000 0 0x1000>,
121 <0 0xf1002000 0 0x1000>,
122 <0 0xf1004000 0 0x2000>,
123 <0 0xf1006000 0 0x2000>;
124 interrupts = <1 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
127 gpio0: gpio@e6050000 {
128 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
129 reg = <0 0xe6050000 0 0x50>;
130 interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>;
133 gpio-ranges = <&pfc 0 0 32>;
134 #interrupt-cells = <2>;
135 interrupt-controller;
136 clocks = <&mstp9_clks R8A7790_CLK_GPIO0>;
137 power-domains = <&cpg_clocks>;
140 gpio1: gpio@e6051000 {
141 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
142 reg = <0 0xe6051000 0 0x50>;
143 interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>;
146 gpio-ranges = <&pfc 0 32 32>;
147 #interrupt-cells = <2>;
148 interrupt-controller;
149 clocks = <&mstp9_clks R8A7790_CLK_GPIO1>;
150 power-domains = <&cpg_clocks>;
153 gpio2: gpio@e6052000 {
154 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
155 reg = <0 0xe6052000 0 0x50>;
156 interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>;
159 gpio-ranges = <&pfc 0 64 32>;
160 #interrupt-cells = <2>;
161 interrupt-controller;
162 clocks = <&mstp9_clks R8A7790_CLK_GPIO2>;
163 power-domains = <&cpg_clocks>;
166 gpio3: gpio@e6053000 {
167 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
168 reg = <0 0xe6053000 0 0x50>;
169 interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>;
172 gpio-ranges = <&pfc 0 96 32>;
173 #interrupt-cells = <2>;
174 interrupt-controller;
175 clocks = <&mstp9_clks R8A7790_CLK_GPIO3>;
176 power-domains = <&cpg_clocks>;
179 gpio4: gpio@e6054000 {
180 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
181 reg = <0 0xe6054000 0 0x50>;
182 interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>;
185 gpio-ranges = <&pfc 0 128 32>;
186 #interrupt-cells = <2>;
187 interrupt-controller;
188 clocks = <&mstp9_clks R8A7790_CLK_GPIO4>;
189 power-domains = <&cpg_clocks>;
192 gpio5: gpio@e6055000 {
193 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
194 reg = <0 0xe6055000 0 0x50>;
195 interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>;
198 gpio-ranges = <&pfc 0 160 32>;
199 #interrupt-cells = <2>;
200 interrupt-controller;
201 clocks = <&mstp9_clks R8A7790_CLK_GPIO5>;
202 power-domains = <&cpg_clocks>;
206 compatible = "renesas,thermal-r8a7790", "renesas,rcar-thermal";
207 reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>;
208 interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>;
209 clocks = <&mstp5_clks R8A7790_CLK_THERMAL>;
210 power-domains = <&cpg_clocks>;
214 compatible = "arm,armv7-timer";
215 interrupts = <1 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
216 <1 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
217 <1 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
218 <1 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
221 cmt0: timer@ffca0000 {
222 compatible = "renesas,cmt-48-r8a7790", "renesas,cmt-48-gen2";
223 reg = <0 0xffca0000 0 0x1004>;
224 interrupts = <0 142 IRQ_TYPE_LEVEL_HIGH>,
225 <0 143 IRQ_TYPE_LEVEL_HIGH>;
226 clocks = <&mstp1_clks R8A7790_CLK_CMT0>;
228 power-domains = <&cpg_clocks>;
230 renesas,channels-mask = <0x60>;
235 cmt1: timer@e6130000 {
236 compatible = "renesas,cmt-48-r8a7790", "renesas,cmt-48-gen2";
237 reg = <0 0xe6130000 0 0x1004>;
238 interrupts = <0 120 IRQ_TYPE_LEVEL_HIGH>,
239 <0 121 IRQ_TYPE_LEVEL_HIGH>,
240 <0 122 IRQ_TYPE_LEVEL_HIGH>,
241 <0 123 IRQ_TYPE_LEVEL_HIGH>,
242 <0 124 IRQ_TYPE_LEVEL_HIGH>,
243 <0 125 IRQ_TYPE_LEVEL_HIGH>,
244 <0 126 IRQ_TYPE_LEVEL_HIGH>,
245 <0 127 IRQ_TYPE_LEVEL_HIGH>;
246 clocks = <&mstp3_clks R8A7790_CLK_CMT1>;
248 power-domains = <&cpg_clocks>;
250 renesas,channels-mask = <0xff>;
255 irqc0: interrupt-controller@e61c0000 {
256 compatible = "renesas,irqc-r8a7790", "renesas,irqc";
257 #interrupt-cells = <2>;
258 interrupt-controller;
259 reg = <0 0xe61c0000 0 0x200>;
260 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>,
261 <0 1 IRQ_TYPE_LEVEL_HIGH>,
262 <0 2 IRQ_TYPE_LEVEL_HIGH>,
263 <0 3 IRQ_TYPE_LEVEL_HIGH>;
264 clocks = <&mstp4_clks R8A7790_CLK_IRQC>;
265 power-domains = <&cpg_clocks>;
268 dmac0: dma-controller@e6700000 {
269 compatible = "renesas,rcar-dmac";
270 reg = <0 0xe6700000 0 0x20000>;
271 interrupts = <0 197 IRQ_TYPE_LEVEL_HIGH
272 0 200 IRQ_TYPE_LEVEL_HIGH
273 0 201 IRQ_TYPE_LEVEL_HIGH
274 0 202 IRQ_TYPE_LEVEL_HIGH
275 0 203 IRQ_TYPE_LEVEL_HIGH
276 0 204 IRQ_TYPE_LEVEL_HIGH
277 0 205 IRQ_TYPE_LEVEL_HIGH
278 0 206 IRQ_TYPE_LEVEL_HIGH
279 0 207 IRQ_TYPE_LEVEL_HIGH
280 0 208 IRQ_TYPE_LEVEL_HIGH
281 0 209 IRQ_TYPE_LEVEL_HIGH
282 0 210 IRQ_TYPE_LEVEL_HIGH
283 0 211 IRQ_TYPE_LEVEL_HIGH
284 0 212 IRQ_TYPE_LEVEL_HIGH
285 0 213 IRQ_TYPE_LEVEL_HIGH
286 0 214 IRQ_TYPE_LEVEL_HIGH>;
287 interrupt-names = "error",
288 "ch0", "ch1", "ch2", "ch3",
289 "ch4", "ch5", "ch6", "ch7",
290 "ch8", "ch9", "ch10", "ch11",
291 "ch12", "ch13", "ch14";
292 clocks = <&mstp2_clks R8A7790_CLK_SYS_DMAC0>;
294 power-domains = <&cpg_clocks>;
299 dmac1: dma-controller@e6720000 {
300 compatible = "renesas,rcar-dmac";
301 reg = <0 0xe6720000 0 0x20000>;
302 interrupts = <0 220 IRQ_TYPE_LEVEL_HIGH
303 0 216 IRQ_TYPE_LEVEL_HIGH
304 0 217 IRQ_TYPE_LEVEL_HIGH
305 0 218 IRQ_TYPE_LEVEL_HIGH
306 0 219 IRQ_TYPE_LEVEL_HIGH
307 0 308 IRQ_TYPE_LEVEL_HIGH
308 0 309 IRQ_TYPE_LEVEL_HIGH
309 0 310 IRQ_TYPE_LEVEL_HIGH
310 0 311 IRQ_TYPE_LEVEL_HIGH
311 0 312 IRQ_TYPE_LEVEL_HIGH
312 0 313 IRQ_TYPE_LEVEL_HIGH
313 0 314 IRQ_TYPE_LEVEL_HIGH
314 0 315 IRQ_TYPE_LEVEL_HIGH
315 0 316 IRQ_TYPE_LEVEL_HIGH
316 0 317 IRQ_TYPE_LEVEL_HIGH
317 0 318 IRQ_TYPE_LEVEL_HIGH>;
318 interrupt-names = "error",
319 "ch0", "ch1", "ch2", "ch3",
320 "ch4", "ch5", "ch6", "ch7",
321 "ch8", "ch9", "ch10", "ch11",
322 "ch12", "ch13", "ch14";
323 clocks = <&mstp2_clks R8A7790_CLK_SYS_DMAC1>;
325 power-domains = <&cpg_clocks>;
330 audma0: dma-controller@ec700000 {
331 compatible = "renesas,rcar-dmac";
332 reg = <0 0xec700000 0 0x10000>;
333 interrupts = <0 346 IRQ_TYPE_LEVEL_HIGH
334 0 320 IRQ_TYPE_LEVEL_HIGH
335 0 321 IRQ_TYPE_LEVEL_HIGH
336 0 322 IRQ_TYPE_LEVEL_HIGH
337 0 323 IRQ_TYPE_LEVEL_HIGH
338 0 324 IRQ_TYPE_LEVEL_HIGH
339 0 325 IRQ_TYPE_LEVEL_HIGH
340 0 326 IRQ_TYPE_LEVEL_HIGH
341 0 327 IRQ_TYPE_LEVEL_HIGH
342 0 328 IRQ_TYPE_LEVEL_HIGH
343 0 329 IRQ_TYPE_LEVEL_HIGH
344 0 330 IRQ_TYPE_LEVEL_HIGH
345 0 331 IRQ_TYPE_LEVEL_HIGH
346 0 332 IRQ_TYPE_LEVEL_HIGH>;
347 interrupt-names = "error",
348 "ch0", "ch1", "ch2", "ch3",
349 "ch4", "ch5", "ch6", "ch7",
350 "ch8", "ch9", "ch10", "ch11",
352 clocks = <&mstp5_clks R8A7790_CLK_AUDIO_DMAC0>;
354 power-domains = <&cpg_clocks>;
359 audma1: dma-controller@ec720000 {
360 compatible = "renesas,rcar-dmac";
361 reg = <0 0xec720000 0 0x10000>;
362 interrupts = <0 347 IRQ_TYPE_LEVEL_HIGH
363 0 333 IRQ_TYPE_LEVEL_HIGH
364 0 334 IRQ_TYPE_LEVEL_HIGH
365 0 335 IRQ_TYPE_LEVEL_HIGH
366 0 336 IRQ_TYPE_LEVEL_HIGH
367 0 337 IRQ_TYPE_LEVEL_HIGH
368 0 338 IRQ_TYPE_LEVEL_HIGH
369 0 339 IRQ_TYPE_LEVEL_HIGH
370 0 340 IRQ_TYPE_LEVEL_HIGH
371 0 341 IRQ_TYPE_LEVEL_HIGH
372 0 342 IRQ_TYPE_LEVEL_HIGH
373 0 343 IRQ_TYPE_LEVEL_HIGH
374 0 344 IRQ_TYPE_LEVEL_HIGH
375 0 345 IRQ_TYPE_LEVEL_HIGH>;
376 interrupt-names = "error",
377 "ch0", "ch1", "ch2", "ch3",
378 "ch4", "ch5", "ch6", "ch7",
379 "ch8", "ch9", "ch10", "ch11",
381 clocks = <&mstp5_clks R8A7790_CLK_AUDIO_DMAC1>;
383 power-domains = <&cpg_clocks>;
388 usb_dmac0: dma-controller@e65a0000 {
389 compatible = "renesas,usb-dmac";
390 reg = <0 0xe65a0000 0 0x100>;
391 interrupts = <0 109 IRQ_TYPE_LEVEL_HIGH
392 0 109 IRQ_TYPE_LEVEL_HIGH>;
393 interrupt-names = "ch0", "ch1";
394 clocks = <&mstp3_clks R8A7790_CLK_USBDMAC0>;
395 power-domains = <&cpg_clocks>;
400 usb_dmac1: dma-controller@e65b0000 {
401 compatible = "renesas,usb-dmac";
402 reg = <0 0xe65b0000 0 0x100>;
403 interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH
404 0 110 IRQ_TYPE_LEVEL_HIGH>;
405 interrupt-names = "ch0", "ch1";
406 clocks = <&mstp3_clks R8A7790_CLK_USBDMAC1>;
407 power-domains = <&cpg_clocks>;
413 #address-cells = <1>;
415 compatible = "renesas,i2c-r8a7790";
416 reg = <0 0xe6508000 0 0x40>;
417 interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>;
418 clocks = <&mstp9_clks R8A7790_CLK_I2C0>;
419 power-domains = <&cpg_clocks>;
424 #address-cells = <1>;
426 compatible = "renesas,i2c-r8a7790";
427 reg = <0 0xe6518000 0 0x40>;
428 interrupts = <0 288 IRQ_TYPE_LEVEL_HIGH>;
429 clocks = <&mstp9_clks R8A7790_CLK_I2C1>;
430 power-domains = <&cpg_clocks>;
435 #address-cells = <1>;
437 compatible = "renesas,i2c-r8a7790";
438 reg = <0 0xe6530000 0 0x40>;
439 interrupts = <0 286 IRQ_TYPE_LEVEL_HIGH>;
440 clocks = <&mstp9_clks R8A7790_CLK_I2C2>;
441 power-domains = <&cpg_clocks>;
446 #address-cells = <1>;
448 compatible = "renesas,i2c-r8a7790";
449 reg = <0 0xe6540000 0 0x40>;
450 interrupts = <0 290 IRQ_TYPE_LEVEL_HIGH>;
451 clocks = <&mstp9_clks R8A7790_CLK_I2C3>;
452 power-domains = <&cpg_clocks>;
457 #address-cells = <1>;
459 compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic";
460 reg = <0 0xe6500000 0 0x425>;
461 interrupts = <0 174 IRQ_TYPE_LEVEL_HIGH>;
462 clocks = <&mstp3_clks R8A7790_CLK_IIC0>;
463 dmas = <&dmac0 0x61>, <&dmac0 0x62>;
464 dma-names = "tx", "rx";
465 power-domains = <&cpg_clocks>;
470 #address-cells = <1>;
472 compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic";
473 reg = <0 0xe6510000 0 0x425>;
474 interrupts = <0 175 IRQ_TYPE_LEVEL_HIGH>;
475 clocks = <&mstp3_clks R8A7790_CLK_IIC1>;
476 dmas = <&dmac0 0x65>, <&dmac0 0x66>;
477 dma-names = "tx", "rx";
478 power-domains = <&cpg_clocks>;
483 #address-cells = <1>;
485 compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic";
486 reg = <0 0xe6520000 0 0x425>;
487 interrupts = <0 176 IRQ_TYPE_LEVEL_HIGH>;
488 clocks = <&mstp3_clks R8A7790_CLK_IIC2>;
489 dmas = <&dmac0 0x69>, <&dmac0 0x6a>;
490 dma-names = "tx", "rx";
491 power-domains = <&cpg_clocks>;
496 #address-cells = <1>;
498 compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic";
499 reg = <0 0xe60b0000 0 0x425>;
500 interrupts = <0 173 IRQ_TYPE_LEVEL_HIGH>;
501 clocks = <&mstp9_clks R8A7790_CLK_IICDVFS>;
502 dmas = <&dmac0 0x77>, <&dmac0 0x78>;
503 dma-names = "tx", "rx";
504 power-domains = <&cpg_clocks>;
508 mmcif0: mmc@ee200000 {
509 compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif";
510 reg = <0 0xee200000 0 0x80>;
511 interrupts = <0 169 IRQ_TYPE_LEVEL_HIGH>;
512 clocks = <&mstp3_clks R8A7790_CLK_MMCIF0>;
513 dmas = <&dmac0 0xd1>, <&dmac0 0xd2>;
514 dma-names = "tx", "rx";
515 power-domains = <&cpg_clocks>;
518 max-frequency = <97500000>;
521 mmcif1: mmc@ee220000 {
522 compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif";
523 reg = <0 0xee220000 0 0x80>;
524 interrupts = <0 170 IRQ_TYPE_LEVEL_HIGH>;
525 clocks = <&mstp3_clks R8A7790_CLK_MMCIF1>;
526 dmas = <&dmac0 0xe1>, <&dmac0 0xe2>;
527 dma-names = "tx", "rx";
528 power-domains = <&cpg_clocks>;
531 max-frequency = <97500000>;
535 compatible = "renesas,pfc-r8a7790";
536 reg = <0 0xe6060000 0 0x250>;
540 compatible = "renesas,sdhi-r8a7790";
541 reg = <0 0xee100000 0 0x328>;
542 interrupts = <0 165 IRQ_TYPE_LEVEL_HIGH>;
543 clocks = <&mstp3_clks R8A7790_CLK_SDHI0>;
544 dmas = <&dmac1 0xcd>, <&dmac1 0xce>;
545 dma-names = "tx", "rx";
546 power-domains = <&cpg_clocks>;
551 compatible = "renesas,sdhi-r8a7790";
552 reg = <0 0xee120000 0 0x328>;
553 interrupts = <0 166 IRQ_TYPE_LEVEL_HIGH>;
554 clocks = <&mstp3_clks R8A7790_CLK_SDHI1>;
555 dmas = <&dmac1 0xc9>, <&dmac1 0xca>;
556 dma-names = "tx", "rx";
557 power-domains = <&cpg_clocks>;
562 compatible = "renesas,sdhi-r8a7790";
563 reg = <0 0xee140000 0 0x100>;
564 interrupts = <0 167 IRQ_TYPE_LEVEL_HIGH>;
565 clocks = <&mstp3_clks R8A7790_CLK_SDHI2>;
566 dmas = <&dmac1 0xc1>, <&dmac1 0xc2>;
567 dma-names = "tx", "rx";
568 power-domains = <&cpg_clocks>;
573 compatible = "renesas,sdhi-r8a7790";
574 reg = <0 0xee160000 0 0x100>;
575 interrupts = <0 168 IRQ_TYPE_LEVEL_HIGH>;
576 clocks = <&mstp3_clks R8A7790_CLK_SDHI3>;
577 dmas = <&dmac1 0xd3>, <&dmac1 0xd4>;
578 dma-names = "tx", "rx";
579 power-domains = <&cpg_clocks>;
583 scifa0: serial@e6c40000 {
584 compatible = "renesas,scifa-r8a7790", "renesas,scifa";
585 reg = <0 0xe6c40000 0 64>;
586 interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>;
587 clocks = <&mstp2_clks R8A7790_CLK_SCIFA0>;
588 clock-names = "sci_ick";
589 dmas = <&dmac0 0x21>, <&dmac0 0x22>;
590 dma-names = "tx", "rx";
591 power-domains = <&cpg_clocks>;
595 scifa1: serial@e6c50000 {
596 compatible = "renesas,scifa-r8a7790", "renesas,scifa";
597 reg = <0 0xe6c50000 0 64>;
598 interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>;
599 clocks = <&mstp2_clks R8A7790_CLK_SCIFA1>;
600 clock-names = "sci_ick";
601 dmas = <&dmac0 0x25>, <&dmac0 0x26>;
602 dma-names = "tx", "rx";
603 power-domains = <&cpg_clocks>;
607 scifa2: serial@e6c60000 {
608 compatible = "renesas,scifa-r8a7790", "renesas,scifa";
609 reg = <0 0xe6c60000 0 64>;
610 interrupts = <0 151 IRQ_TYPE_LEVEL_HIGH>;
611 clocks = <&mstp2_clks R8A7790_CLK_SCIFA2>;
612 clock-names = "sci_ick";
613 dmas = <&dmac0 0x27>, <&dmac0 0x28>;
614 dma-names = "tx", "rx";
615 power-domains = <&cpg_clocks>;
619 scifb0: serial@e6c20000 {
620 compatible = "renesas,scifb-r8a7790", "renesas,scifb";
621 reg = <0 0xe6c20000 0 64>;
622 interrupts = <0 148 IRQ_TYPE_LEVEL_HIGH>;
623 clocks = <&mstp2_clks R8A7790_CLK_SCIFB0>;
624 clock-names = "sci_ick";
625 dmas = <&dmac0 0x3d>, <&dmac0 0x3e>;
626 dma-names = "tx", "rx";
627 power-domains = <&cpg_clocks>;
631 scifb1: serial@e6c30000 {
632 compatible = "renesas,scifb-r8a7790", "renesas,scifb";
633 reg = <0 0xe6c30000 0 64>;
634 interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH>;
635 clocks = <&mstp2_clks R8A7790_CLK_SCIFB1>;
636 clock-names = "sci_ick";
637 dmas = <&dmac0 0x19>, <&dmac0 0x1a>;
638 dma-names = "tx", "rx";
639 power-domains = <&cpg_clocks>;
643 scifb2: serial@e6ce0000 {
644 compatible = "renesas,scifb-r8a7790", "renesas,scifb";
645 reg = <0 0xe6ce0000 0 64>;
646 interrupts = <0 150 IRQ_TYPE_LEVEL_HIGH>;
647 clocks = <&mstp2_clks R8A7790_CLK_SCIFB2>;
648 clock-names = "sci_ick";
649 dmas = <&dmac0 0x1d>, <&dmac0 0x1e>;
650 dma-names = "tx", "rx";
651 power-domains = <&cpg_clocks>;
655 scif0: serial@e6e60000 {
656 compatible = "renesas,scif-r8a7790", "renesas,scif";
657 reg = <0 0xe6e60000 0 64>;
658 interrupts = <0 152 IRQ_TYPE_LEVEL_HIGH>;
659 clocks = <&mstp7_clks R8A7790_CLK_SCIF0>;
660 clock-names = "sci_ick";
661 dmas = <&dmac0 0x29>, <&dmac0 0x2a>;
662 dma-names = "tx", "rx";
663 power-domains = <&cpg_clocks>;
667 scif1: serial@e6e68000 {
668 compatible = "renesas,scif-r8a7790", "renesas,scif";
669 reg = <0 0xe6e68000 0 64>;
670 interrupts = <0 153 IRQ_TYPE_LEVEL_HIGH>;
671 clocks = <&mstp7_clks R8A7790_CLK_SCIF1>;
672 clock-names = "sci_ick";
673 dmas = <&dmac0 0x2d>, <&dmac0 0x2e>;
674 dma-names = "tx", "rx";
675 power-domains = <&cpg_clocks>;
679 hscif0: serial@e62c0000 {
680 compatible = "renesas,hscif-r8a7790", "renesas,hscif";
681 reg = <0 0xe62c0000 0 96>;
682 interrupts = <0 154 IRQ_TYPE_LEVEL_HIGH>;
683 clocks = <&mstp7_clks R8A7790_CLK_HSCIF0>;
684 clock-names = "sci_ick";
685 dmas = <&dmac0 0x39>, <&dmac0 0x3a>;
686 dma-names = "tx", "rx";
687 power-domains = <&cpg_clocks>;
691 hscif1: serial@e62c8000 {
692 compatible = "renesas,hscif-r8a7790", "renesas,hscif";
693 reg = <0 0xe62c8000 0 96>;
694 interrupts = <0 155 IRQ_TYPE_LEVEL_HIGH>;
695 clocks = <&mstp7_clks R8A7790_CLK_HSCIF1>;
696 clock-names = "sci_ick";
697 dmas = <&dmac0 0x4d>, <&dmac0 0x4e>;
698 dma-names = "tx", "rx";
699 power-domains = <&cpg_clocks>;
703 ether: ethernet@ee700000 {
704 compatible = "renesas,ether-r8a7790";
705 reg = <0 0xee700000 0 0x400>;
706 interrupts = <0 162 IRQ_TYPE_LEVEL_HIGH>;
707 clocks = <&mstp8_clks R8A7790_CLK_ETHER>;
708 power-domains = <&cpg_clocks>;
710 #address-cells = <1>;
715 avb: ethernet@e6800000 {
716 compatible = "renesas,etheravb-r8a7790";
717 reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>;
718 interrupts = <0 163 IRQ_TYPE_LEVEL_HIGH>;
719 clocks = <&mstp8_clks R8A7790_CLK_ETHERAVB>;
720 power-domains = <&cpg_clocks>;
721 #address-cells = <1>;
726 sata0: sata@ee300000 {
727 compatible = "renesas,sata-r8a7790";
728 reg = <0 0xee300000 0 0x2000>;
729 interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>;
730 clocks = <&mstp8_clks R8A7790_CLK_SATA0>;
731 power-domains = <&cpg_clocks>;
735 sata1: sata@ee500000 {
736 compatible = "renesas,sata-r8a7790";
737 reg = <0 0xee500000 0 0x2000>;
738 interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>;
739 clocks = <&mstp8_clks R8A7790_CLK_SATA1>;
740 power-domains = <&cpg_clocks>;
744 hsusb: usb@e6590000 {
745 compatible = "renesas,usbhs-r8a7790";
746 reg = <0 0xe6590000 0 0x100>;
747 interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
748 clocks = <&mstp7_clks R8A7790_CLK_HSUSB>;
749 dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
750 <&usb_dmac1 0>, <&usb_dmac1 1>;
751 dma-names = "ch0", "ch1", "ch2", "ch3";
752 power-domains = <&cpg_clocks>;
753 renesas,buswait = <4>;
759 usbphy: usb-phy@e6590100 {
760 compatible = "renesas,usb-phy-r8a7790";
761 reg = <0 0xe6590100 0 0x100>;
762 #address-cells = <1>;
764 clocks = <&mstp7_clks R8A7790_CLK_HSUSB>;
765 clock-names = "usbhs";
766 power-domains = <&cpg_clocks>;
769 usb0: usb-channel@0 {
773 usb2: usb-channel@2 {
779 vin0: video@e6ef0000 {
780 compatible = "renesas,vin-r8a7790";
781 reg = <0 0xe6ef0000 0 0x1000>;
782 interrupts = <0 188 IRQ_TYPE_LEVEL_HIGH>;
783 clocks = <&mstp8_clks R8A7790_CLK_VIN0>;
784 power-domains = <&cpg_clocks>;
788 vin1: video@e6ef1000 {
789 compatible = "renesas,vin-r8a7790";
790 reg = <0 0xe6ef1000 0 0x1000>;
791 interrupts = <0 189 IRQ_TYPE_LEVEL_HIGH>;
792 clocks = <&mstp8_clks R8A7790_CLK_VIN1>;
793 power-domains = <&cpg_clocks>;
797 vin2: video@e6ef2000 {
798 compatible = "renesas,vin-r8a7790";
799 reg = <0 0xe6ef2000 0 0x1000>;
800 interrupts = <0 190 IRQ_TYPE_LEVEL_HIGH>;
801 clocks = <&mstp8_clks R8A7790_CLK_VIN2>;
802 power-domains = <&cpg_clocks>;
806 vin3: video@e6ef3000 {
807 compatible = "renesas,vin-r8a7790";
808 reg = <0 0xe6ef3000 0 0x1000>;
809 interrupts = <0 191 IRQ_TYPE_LEVEL_HIGH>;
810 clocks = <&mstp8_clks R8A7790_CLK_VIN3>;
811 power-domains = <&cpg_clocks>;
816 compatible = "renesas,vsp1";
817 reg = <0 0xfe920000 0 0x8000>;
818 interrupts = <0 266 IRQ_TYPE_LEVEL_HIGH>;
819 clocks = <&mstp1_clks R8A7790_CLK_VSP1_R>;
820 power-domains = <&cpg_clocks>;
829 compatible = "renesas,vsp1";
830 reg = <0 0xfe928000 0 0x8000>;
831 interrupts = <0 267 IRQ_TYPE_LEVEL_HIGH>;
832 clocks = <&mstp1_clks R8A7790_CLK_VSP1_S>;
833 power-domains = <&cpg_clocks>;
843 compatible = "renesas,vsp1";
844 reg = <0 0xfe930000 0 0x8000>;
845 interrupts = <0 246 IRQ_TYPE_LEVEL_HIGH>;
846 clocks = <&mstp1_clks R8A7790_CLK_VSP1_DU0>;
847 power-domains = <&cpg_clocks>;
857 compatible = "renesas,vsp1";
858 reg = <0 0xfe938000 0 0x8000>;
859 interrupts = <0 247 IRQ_TYPE_LEVEL_HIGH>;
860 clocks = <&mstp1_clks R8A7790_CLK_VSP1_DU1>;
861 power-domains = <&cpg_clocks>;
870 du: display@feb00000 {
871 compatible = "renesas,du-r8a7790";
872 reg = <0 0xfeb00000 0 0x70000>,
873 <0 0xfeb90000 0 0x1c>,
874 <0 0xfeb94000 0 0x1c>;
875 reg-names = "du", "lvds.0", "lvds.1";
876 interrupts = <0 256 IRQ_TYPE_LEVEL_HIGH>,
877 <0 268 IRQ_TYPE_LEVEL_HIGH>,
878 <0 269 IRQ_TYPE_LEVEL_HIGH>;
879 clocks = <&mstp7_clks R8A7790_CLK_DU0>,
880 <&mstp7_clks R8A7790_CLK_DU1>,
881 <&mstp7_clks R8A7790_CLK_DU2>,
882 <&mstp7_clks R8A7790_CLK_LVDS0>,
883 <&mstp7_clks R8A7790_CLK_LVDS1>;
884 clock-names = "du.0", "du.1", "du.2", "lvds.0", "lvds.1";
888 #address-cells = <1>;
893 du_out_rgb: endpoint {
898 du_out_lvds0: endpoint {
903 du_out_lvds1: endpoint {
910 compatible = "renesas,can-r8a7790";
911 reg = <0 0xe6e80000 0 0x1000>;
912 interrupts = <0 186 IRQ_TYPE_LEVEL_HIGH>;
913 clocks = <&mstp9_clks R8A7790_CLK_RCAN0>,
914 <&cpg_clocks R8A7790_CLK_RCAN>, <&can_clk>;
915 clock-names = "clkp1", "clkp2", "can_clk";
916 power-domains = <&cpg_clocks>;
921 compatible = "renesas,can-r8a7790";
922 reg = <0 0xe6e88000 0 0x1000>;
923 interrupts = <0 187 IRQ_TYPE_LEVEL_HIGH>;
924 clocks = <&mstp9_clks R8A7790_CLK_RCAN1>,
925 <&cpg_clocks R8A7790_CLK_RCAN>, <&can_clk>;
926 clock-names = "clkp1", "clkp2", "can_clk";
927 power-domains = <&cpg_clocks>;
931 jpu: jpeg-codec@fe980000 {
932 compatible = "renesas,jpu-r8a7790";
933 reg = <0 0xfe980000 0 0x10300>;
934 interrupts = <0 272 IRQ_TYPE_LEVEL_HIGH>;
935 clocks = <&mstp1_clks R8A7790_CLK_JPU>;
936 power-domains = <&cpg_clocks>;
940 #address-cells = <2>;
944 /* External root clock */
945 extal_clk: extal_clk {
946 compatible = "fixed-clock";
948 /* This value must be overriden by the board. */
949 clock-frequency = <0>;
950 clock-output-names = "extal";
953 /* External PCIe clock - can be overridden by the board */
954 pcie_bus_clk: pcie_bus_clk {
955 compatible = "fixed-clock";
957 clock-frequency = <100000000>;
958 clock-output-names = "pcie_bus";
963 * The external audio clocks are configured as 0 Hz fixed frequency clocks by
964 * default. Boards that provide audio clocks should override them.
966 audio_clk_a: audio_clk_a {
967 compatible = "fixed-clock";
969 clock-frequency = <0>;
970 clock-output-names = "audio_clk_a";
972 audio_clk_b: audio_clk_b {
973 compatible = "fixed-clock";
975 clock-frequency = <0>;
976 clock-output-names = "audio_clk_b";
978 audio_clk_c: audio_clk_c {
979 compatible = "fixed-clock";
981 clock-frequency = <0>;
982 clock-output-names = "audio_clk_c";
985 /* External USB clock - can be overridden by the board */
986 usb_extal_clk: usb_extal_clk {
987 compatible = "fixed-clock";
989 clock-frequency = <48000000>;
990 clock-output-names = "usb_extal";
993 /* External CAN clock */
995 compatible = "fixed-clock";
997 /* This value must be overridden by the board. */
998 clock-frequency = <0>;
999 clock-output-names = "can_clk";
1000 status = "disabled";
1003 /* Special CPG clocks */
1004 cpg_clocks: cpg_clocks@e6150000 {
1005 compatible = "renesas,r8a7790-cpg-clocks",
1006 "renesas,rcar-gen2-cpg-clocks";
1007 reg = <0 0xe6150000 0 0x1000>;
1008 clocks = <&extal_clk &usb_extal_clk>;
1010 clock-output-names = "main", "pll0", "pll1", "pll3",
1011 "lb", "qspi", "sdh", "sd0", "sd1",
1012 "z", "rcan", "adsp";
1013 #power-domain-cells = <0>;
1016 /* Variable factor clocks */
1017 sd2_clk: sd2_clk@e6150078 {
1018 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
1019 reg = <0 0xe6150078 0 4>;
1020 clocks = <&pll1_div2_clk>;
1022 clock-output-names = "sd2";
1024 sd3_clk: sd3_clk@e615026c {
1025 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
1026 reg = <0 0xe615026c 0 4>;
1027 clocks = <&pll1_div2_clk>;
1029 clock-output-names = "sd3";
1031 mmc0_clk: mmc0_clk@e6150240 {
1032 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
1033 reg = <0 0xe6150240 0 4>;
1034 clocks = <&pll1_div2_clk>;
1036 clock-output-names = "mmc0";
1038 mmc1_clk: mmc1_clk@e6150244 {
1039 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
1040 reg = <0 0xe6150244 0 4>;
1041 clocks = <&pll1_div2_clk>;
1043 clock-output-names = "mmc1";
1045 ssp_clk: ssp_clk@e6150248 {
1046 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
1047 reg = <0 0xe6150248 0 4>;
1048 clocks = <&pll1_div2_clk>;
1050 clock-output-names = "ssp";
1052 ssprs_clk: ssprs_clk@e615024c {
1053 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
1054 reg = <0 0xe615024c 0 4>;
1055 clocks = <&pll1_div2_clk>;
1057 clock-output-names = "ssprs";
1060 /* Fixed factor clocks */
1061 pll1_div2_clk: pll1_div2_clk {
1062 compatible = "fixed-factor-clock";
1063 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1067 clock-output-names = "pll1_div2";
1070 compatible = "fixed-factor-clock";
1071 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1075 clock-output-names = "z2";
1078 compatible = "fixed-factor-clock";
1079 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1083 clock-output-names = "zg";
1086 compatible = "fixed-factor-clock";
1087 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1091 clock-output-names = "zx";
1094 compatible = "fixed-factor-clock";
1095 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1099 clock-output-names = "zs";
1102 compatible = "fixed-factor-clock";
1103 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1107 clock-output-names = "hp";
1110 compatible = "fixed-factor-clock";
1111 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1115 clock-output-names = "i";
1118 compatible = "fixed-factor-clock";
1119 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1123 clock-output-names = "b";
1126 compatible = "fixed-factor-clock";
1127 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1131 clock-output-names = "p";
1134 compatible = "fixed-factor-clock";
1135 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1139 clock-output-names = "cl";
1142 compatible = "fixed-factor-clock";
1143 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1147 clock-output-names = "m2";
1150 compatible = "fixed-factor-clock";
1151 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1155 clock-output-names = "imp";
1157 rclk_clk: rclk_clk {
1158 compatible = "fixed-factor-clock";
1159 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1161 clock-div = <(48 * 1024)>;
1163 clock-output-names = "rclk";
1165 oscclk_clk: oscclk_clk {
1166 compatible = "fixed-factor-clock";
1167 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
1169 clock-div = <(12 * 1024)>;
1171 clock-output-names = "oscclk";
1174 compatible = "fixed-factor-clock";
1175 clocks = <&cpg_clocks R8A7790_CLK_PLL3>;
1179 clock-output-names = "zb3";
1181 zb3d2_clk: zb3d2_clk {
1182 compatible = "fixed-factor-clock";
1183 clocks = <&cpg_clocks R8A7790_CLK_PLL3>;
1187 clock-output-names = "zb3d2";
1190 compatible = "fixed-factor-clock";
1191 clocks = <&cpg_clocks R8A7790_CLK_PLL3>;
1195 clock-output-names = "ddr";
1198 compatible = "fixed-factor-clock";
1199 clocks = <&pll1_div2_clk>;
1203 clock-output-names = "mp";
1206 compatible = "fixed-factor-clock";
1207 clocks = <&extal_clk>;
1211 clock-output-names = "cp";
1215 mstp0_clks: mstp0_clks@e6150130 {
1216 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1217 reg = <0 0xe6150130 0 4>, <0 0xe6150030 0 4>;
1220 clock-indices = <R8A7790_CLK_MSIOF0>;
1221 clock-output-names = "msiof0";
1223 mstp1_clks: mstp1_clks@e6150134 {
1224 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1225 reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>;
1226 clocks = <&zs_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>, <&m2_clk>,
1227 <&zs_clk>, <&p_clk>, <&zg_clk>, <&zs_clk>, <&zs_clk>,
1228 <&zs_clk>, <&zs_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>,
1229 <&cp_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>;
1232 R8A7790_CLK_VCP1 R8A7790_CLK_VCP0 R8A7790_CLK_VPC1
1233 R8A7790_CLK_VPC0 R8A7790_CLK_JPU R8A7790_CLK_SSP1
1234 R8A7790_CLK_TMU1 R8A7790_CLK_3DG R8A7790_CLK_2DDMAC
1235 R8A7790_CLK_FDP1_2 R8A7790_CLK_FDP1_1 R8A7790_CLK_FDP1_0
1236 R8A7790_CLK_TMU3 R8A7790_CLK_TMU2 R8A7790_CLK_CMT0
1237 R8A7790_CLK_TMU0 R8A7790_CLK_VSP1_DU1 R8A7790_CLK_VSP1_DU0
1238 R8A7790_CLK_VSP1_R R8A7790_CLK_VSP1_S
1240 clock-output-names =
1241 "vcp1", "vcp0", "vpc1", "vpc0", "jpu", "ssp1",
1242 "tmu1", "3dg", "2ddmac", "fdp1-2", "fdp1-1",
1243 "fdp1-0", "tmu3", "tmu2", "cmt0", "tmu0",
1244 "vsp1-du1", "vsp1-du0", "vsp1-rt", "vsp1-sy";
1246 mstp2_clks: mstp2_clks@e6150138 {
1247 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1248 reg = <0 0xe6150138 0 4>, <0 0xe6150040 0 4>;
1249 clocks = <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>,
1250 <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>, <&zs_clk>,
1254 R8A7790_CLK_SCIFA2 R8A7790_CLK_SCIFA1 R8A7790_CLK_SCIFA0
1255 R8A7790_CLK_MSIOF2 R8A7790_CLK_SCIFB0 R8A7790_CLK_SCIFB1
1256 R8A7790_CLK_MSIOF1 R8A7790_CLK_MSIOF3 R8A7790_CLK_SCIFB2
1257 R8A7790_CLK_SYS_DMAC1 R8A7790_CLK_SYS_DMAC0
1259 clock-output-names =
1260 "scifa2", "scifa1", "scifa0", "msiof2", "scifb0",
1261 "scifb1", "msiof1", "msiof3", "scifb2",
1262 "sys-dmac1", "sys-dmac0";
1264 mstp3_clks: mstp3_clks@e615013c {
1265 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1266 reg = <0 0xe615013c 0 4>, <0 0xe6150048 0 4>;
1267 clocks = <&hp_clk>, <&cp_clk>, <&mmc1_clk>, <&sd3_clk>,
1268 <&sd2_clk>, <&cpg_clocks R8A7790_CLK_SD1>, <&cpg_clocks R8A7790_CLK_SD0>, <&mmc0_clk>,
1269 <&hp_clk>, <&mp_clk>, <&hp_clk>, <&mp_clk>, <&rclk_clk>,
1270 <&hp_clk>, <&hp_clk>;
1273 R8A7790_CLK_IIC2 R8A7790_CLK_TPU0 R8A7790_CLK_MMCIF1 R8A7790_CLK_SDHI3
1274 R8A7790_CLK_SDHI2 R8A7790_CLK_SDHI1 R8A7790_CLK_SDHI0 R8A7790_CLK_MMCIF0
1275 R8A7790_CLK_IIC0 R8A7790_CLK_PCIEC R8A7790_CLK_IIC1 R8A7790_CLK_SSUSB R8A7790_CLK_CMT1
1276 R8A7790_CLK_USBDMAC0 R8A7790_CLK_USBDMAC1
1278 clock-output-names =
1279 "iic2", "tpu0", "mmcif1", "sdhi3",
1280 "sdhi2", "sdhi1", "sdhi0", "mmcif0",
1281 "iic0", "pciec", "iic1", "ssusb", "cmt1",
1282 "usbdmac0", "usbdmac1";
1284 mstp4_clks: mstp4_clks@e6150140 {
1285 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1286 reg = <0 0xe6150140 0 4>, <0 0xe615004c 0 4>;
1289 clock-indices = <R8A7790_CLK_IRQC>;
1290 clock-output-names = "irqc";
1292 mstp5_clks: mstp5_clks@e6150144 {
1293 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1294 reg = <0 0xe6150144 0 4>, <0 0xe615003c 0 4>;
1295 clocks = <&hp_clk>, <&hp_clk>, <&cpg_clocks R8A7790_CLK_ADSP>,
1296 <&extal_clk>, <&p_clk>;
1299 R8A7790_CLK_AUDIO_DMAC0 R8A7790_CLK_AUDIO_DMAC1
1300 R8A7790_CLK_ADSP_MOD R8A7790_CLK_THERMAL
1303 clock-output-names = "audmac0", "audmac1", "adsp_mod",
1306 mstp7_clks: mstp7_clks@e615014c {
1307 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1308 reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>;
1309 clocks = <&mp_clk>, <&hp_clk>, <&zs_clk>, <&zs_clk>, <&p_clk>,
1310 <&p_clk>, <&zx_clk>, <&zx_clk>, <&zx_clk>, <&zx_clk>,
1314 R8A7790_CLK_EHCI R8A7790_CLK_HSUSB R8A7790_CLK_HSCIF1
1315 R8A7790_CLK_HSCIF0 R8A7790_CLK_SCIF1 R8A7790_CLK_SCIF0
1316 R8A7790_CLK_DU2 R8A7790_CLK_DU1 R8A7790_CLK_DU0
1317 R8A7790_CLK_LVDS1 R8A7790_CLK_LVDS0
1319 clock-output-names =
1320 "ehci", "hsusb", "hscif1", "hscif0", "scif1",
1321 "scif0", "du2", "du1", "du0", "lvds1", "lvds0";
1323 mstp8_clks: mstp8_clks@e6150990 {
1324 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1325 reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>;
1326 clocks = <&hp_clk>, <&zg_clk>, <&zg_clk>, <&zg_clk>,
1327 <&zg_clk>, <&hp_clk>, <&p_clk>, <&zs_clk>,
1331 R8A7790_CLK_MLB R8A7790_CLK_VIN3 R8A7790_CLK_VIN2
1332 R8A7790_CLK_VIN1 R8A7790_CLK_VIN0
1333 R8A7790_CLK_ETHERAVB R8A7790_CLK_ETHER
1334 R8A7790_CLK_SATA1 R8A7790_CLK_SATA0
1336 clock-output-names =
1337 "mlb", "vin3", "vin2", "vin1", "vin0",
1338 "etheravb", "ether", "sata1", "sata0";
1340 mstp9_clks: mstp9_clks@e6150994 {
1341 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1342 reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>;
1343 clocks = <&cp_clk>, <&cp_clk>, <&cp_clk>,
1344 <&cp_clk>, <&cp_clk>, <&cp_clk>,
1345 <&p_clk>, <&p_clk>, <&cpg_clocks R8A7790_CLK_QSPI>, <&cp_clk>,
1346 <&hp_clk>, <&hp_clk>, <&hp_clk>, <&hp_clk>;
1349 R8A7790_CLK_GPIO5 R8A7790_CLK_GPIO4 R8A7790_CLK_GPIO3
1350 R8A7790_CLK_GPIO2 R8A7790_CLK_GPIO1 R8A7790_CLK_GPIO0
1351 R8A7790_CLK_RCAN1 R8A7790_CLK_RCAN0 R8A7790_CLK_QSPI_MOD R8A7790_CLK_IICDVFS
1352 R8A7790_CLK_I2C3 R8A7790_CLK_I2C2 R8A7790_CLK_I2C1 R8A7790_CLK_I2C0
1354 clock-output-names =
1355 "gpio5", "gpio4", "gpio3", "gpio2", "gpio1", "gpio0",
1356 "rcan1", "rcan0", "qspi_mod", "iic3",
1357 "i2c3", "i2c2", "i2c1", "i2c0";
1359 mstp10_clks: mstp10_clks@e6150998 {
1360 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1361 reg = <0 0xe6150998 0 4>, <0 0xe61509a8 0 4>;
1363 <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
1364 <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
1366 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
1367 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
1368 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
1369 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
1370 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
1371 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
1372 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>;
1377 R8A7790_CLK_SSI9 R8A7790_CLK_SSI8 R8A7790_CLK_SSI7 R8A7790_CLK_SSI6 R8A7790_CLK_SSI5
1378 R8A7790_CLK_SSI4 R8A7790_CLK_SSI3 R8A7790_CLK_SSI2 R8A7790_CLK_SSI1 R8A7790_CLK_SSI0
1380 R8A7790_CLK_SCU_DVC1 R8A7790_CLK_SCU_DVC0
1381 R8A7790_CLK_SCU_CTU1_MIX1 R8A7790_CLK_SCU_CTU0_MIX0
1382 R8A7790_CLK_SCU_SRC9 R8A7790_CLK_SCU_SRC8 R8A7790_CLK_SCU_SRC7 R8A7790_CLK_SCU_SRC6 R8A7790_CLK_SCU_SRC5
1383 R8A7790_CLK_SCU_SRC4 R8A7790_CLK_SCU_SRC3 R8A7790_CLK_SCU_SRC2 R8A7790_CLK_SCU_SRC1 R8A7790_CLK_SCU_SRC0
1385 clock-output-names =
1387 "ssi9", "ssi8", "ssi7", "ssi6", "ssi5",
1388 "ssi4", "ssi3", "ssi2", "ssi1", "ssi0",
1390 "scu-dvc1", "scu-dvc0",
1391 "scu-ctu1-mix1", "scu-ctu0-mix0",
1392 "scu-src9", "scu-src8", "scu-src7", "scu-src6", "scu-src5",
1393 "scu-src4", "scu-src3", "scu-src2", "scu-src1", "scu-src0";
1397 qspi: spi@e6b10000 {
1398 compatible = "renesas,qspi-r8a7790", "renesas,qspi";
1399 reg = <0 0xe6b10000 0 0x2c>;
1400 interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>;
1401 clocks = <&mstp9_clks R8A7790_CLK_QSPI_MOD>;
1402 dmas = <&dmac0 0x17>, <&dmac0 0x18>;
1403 dma-names = "tx", "rx";
1404 power-domains = <&cpg_clocks>;
1406 #address-cells = <1>;
1408 status = "disabled";
1411 msiof0: spi@e6e20000 {
1412 compatible = "renesas,msiof-r8a7790";
1413 reg = <0 0xe6e20000 0 0x0064>;
1414 interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>;
1415 clocks = <&mstp0_clks R8A7790_CLK_MSIOF0>;
1416 dmas = <&dmac0 0x51>, <&dmac0 0x52>;
1417 dma-names = "tx", "rx";
1418 power-domains = <&cpg_clocks>;
1419 #address-cells = <1>;
1421 status = "disabled";
1424 msiof1: spi@e6e10000 {
1425 compatible = "renesas,msiof-r8a7790";
1426 reg = <0 0xe6e10000 0 0x0064>;
1427 interrupts = <0 157 IRQ_TYPE_LEVEL_HIGH>;
1428 clocks = <&mstp2_clks R8A7790_CLK_MSIOF1>;
1429 dmas = <&dmac0 0x55>, <&dmac0 0x56>;
1430 dma-names = "tx", "rx";
1431 power-domains = <&cpg_clocks>;
1432 #address-cells = <1>;
1434 status = "disabled";
1437 msiof2: spi@e6e00000 {
1438 compatible = "renesas,msiof-r8a7790";
1439 reg = <0 0xe6e00000 0 0x0064>;
1440 interrupts = <0 158 IRQ_TYPE_LEVEL_HIGH>;
1441 clocks = <&mstp2_clks R8A7790_CLK_MSIOF2>;
1442 dmas = <&dmac0 0x41>, <&dmac0 0x42>;
1443 dma-names = "tx", "rx";
1444 power-domains = <&cpg_clocks>;
1445 #address-cells = <1>;
1447 status = "disabled";
1450 msiof3: spi@e6c90000 {
1451 compatible = "renesas,msiof-r8a7790";
1452 reg = <0 0xe6c90000 0 0x0064>;
1453 interrupts = <0 159 IRQ_TYPE_LEVEL_HIGH>;
1454 clocks = <&mstp2_clks R8A7790_CLK_MSIOF3>;
1455 dmas = <&dmac0 0x45>, <&dmac0 0x46>;
1456 dma-names = "tx", "rx";
1457 power-domains = <&cpg_clocks>;
1458 #address-cells = <1>;
1460 status = "disabled";
1463 xhci: usb@ee000000 {
1464 compatible = "renesas,xhci-r8a7790";
1465 reg = <0 0xee000000 0 0xc00>;
1466 interrupts = <0 101 IRQ_TYPE_LEVEL_HIGH>;
1467 clocks = <&mstp3_clks R8A7790_CLK_SSUSB>;
1468 power-domains = <&cpg_clocks>;
1471 status = "disabled";
1474 pci0: pci@ee090000 {
1475 compatible = "renesas,pci-r8a7790";
1476 device_type = "pci";
1477 reg = <0 0xee090000 0 0xc00>,
1478 <0 0xee080000 0 0x1100>;
1479 interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
1480 clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
1481 power-domains = <&cpg_clocks>;
1482 status = "disabled";
1485 #address-cells = <3>;
1487 #interrupt-cells = <1>;
1488 ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>;
1489 interrupt-map-mask = <0xff00 0 0 0x7>;
1490 interrupt-map = <0x0000 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH
1491 0x0800 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH
1492 0x1000 0 0 2 &gic 0 108 IRQ_TYPE_LEVEL_HIGH>;
1495 reg = <0x800 0 0 0 0>;
1496 device_type = "pci";
1502 reg = <0x1000 0 0 0 0>;
1503 device_type = "pci";
1509 pci1: pci@ee0b0000 {
1510 compatible = "renesas,pci-r8a7790";
1511 device_type = "pci";
1512 reg = <0 0xee0b0000 0 0xc00>,
1513 <0 0xee0a0000 0 0x1100>;
1514 interrupts = <0 112 IRQ_TYPE_LEVEL_HIGH>;
1515 clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
1516 power-domains = <&cpg_clocks>;
1517 status = "disabled";
1520 #address-cells = <3>;
1522 #interrupt-cells = <1>;
1523 ranges = <0x02000000 0 0xee0a0000 0 0xee0a0000 0 0x00010000>;
1524 interrupt-map-mask = <0xff00 0 0 0x7>;
1525 interrupt-map = <0x0000 0 0 1 &gic 0 112 IRQ_TYPE_LEVEL_HIGH
1526 0x0800 0 0 1 &gic 0 112 IRQ_TYPE_LEVEL_HIGH
1527 0x1000 0 0 2 &gic 0 112 IRQ_TYPE_LEVEL_HIGH>;
1530 pci2: pci@ee0d0000 {
1531 compatible = "renesas,pci-r8a7790";
1532 device_type = "pci";
1533 clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
1534 power-domains = <&cpg_clocks>;
1535 reg = <0 0xee0d0000 0 0xc00>,
1536 <0 0xee0c0000 0 0x1100>;
1537 interrupts = <0 113 IRQ_TYPE_LEVEL_HIGH>;
1538 status = "disabled";
1541 #address-cells = <3>;
1543 #interrupt-cells = <1>;
1544 ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>;
1545 interrupt-map-mask = <0xff00 0 0 0x7>;
1546 interrupt-map = <0x0000 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH
1547 0x0800 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH
1548 0x1000 0 0 2 &gic 0 113 IRQ_TYPE_LEVEL_HIGH>;
1551 reg = <0x800 0 0 0 0>;
1552 device_type = "pci";
1558 reg = <0x1000 0 0 0 0>;
1559 device_type = "pci";
1565 pciec: pcie@fe000000 {
1566 compatible = "renesas,pcie-r8a7790";
1567 reg = <0 0xfe000000 0 0x80000>;
1568 #address-cells = <3>;
1570 bus-range = <0x00 0xff>;
1571 device_type = "pci";
1572 ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000
1573 0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000
1574 0x02000000 0 0x30000000 0 0x30000000 0 0x08000000
1575 0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
1576 /* Map all possible DDR as inbound ranges */
1577 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000
1578 0x43000000 1 0x80000000 1 0x80000000 0 0x80000000>;
1579 interrupts = <0 116 IRQ_TYPE_LEVEL_HIGH>,
1580 <0 117 IRQ_TYPE_LEVEL_HIGH>,
1581 <0 118 IRQ_TYPE_LEVEL_HIGH>;
1582 #interrupt-cells = <1>;
1583 interrupt-map-mask = <0 0 0 0>;
1584 interrupt-map = <0 0 0 0 &gic 0 116 IRQ_TYPE_LEVEL_HIGH>;
1585 clocks = <&mstp3_clks R8A7790_CLK_PCIEC>, <&pcie_bus_clk>;
1586 clock-names = "pcie", "pcie_bus";
1587 power-domains = <&cpg_clocks>;
1588 status = "disabled";
1591 rcar_sound: sound@ec500000 {
1593 * #sound-dai-cells is required
1595 * Single DAI : #sound-dai-cells = <0>; <&rcar_sound>;
1596 * Multi DAI : #sound-dai-cells = <1>; <&rcar_sound N>;
1598 compatible = "renesas,rcar_sound-r8a7790", "renesas,rcar_sound-gen2";
1599 reg = <0 0xec500000 0 0x1000>, /* SCU */
1600 <0 0xec5a0000 0 0x100>, /* ADG */
1601 <0 0xec540000 0 0x1000>, /* SSIU */
1602 <0 0xec541000 0 0x280>, /* SSI */
1603 <0 0xec740000 0 0x200>; /* Audio DMAC peri peri*/
1604 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
1606 clocks = <&mstp10_clks R8A7790_CLK_SSI_ALL>,
1607 <&mstp10_clks R8A7790_CLK_SSI9>, <&mstp10_clks R8A7790_CLK_SSI8>,
1608 <&mstp10_clks R8A7790_CLK_SSI7>, <&mstp10_clks R8A7790_CLK_SSI6>,
1609 <&mstp10_clks R8A7790_CLK_SSI5>, <&mstp10_clks R8A7790_CLK_SSI4>,
1610 <&mstp10_clks R8A7790_CLK_SSI3>, <&mstp10_clks R8A7790_CLK_SSI2>,
1611 <&mstp10_clks R8A7790_CLK_SSI1>, <&mstp10_clks R8A7790_CLK_SSI0>,
1612 <&mstp10_clks R8A7790_CLK_SCU_SRC9>, <&mstp10_clks R8A7790_CLK_SCU_SRC8>,
1613 <&mstp10_clks R8A7790_CLK_SCU_SRC7>, <&mstp10_clks R8A7790_CLK_SCU_SRC6>,
1614 <&mstp10_clks R8A7790_CLK_SCU_SRC5>, <&mstp10_clks R8A7790_CLK_SCU_SRC4>,
1615 <&mstp10_clks R8A7790_CLK_SCU_SRC3>, <&mstp10_clks R8A7790_CLK_SCU_SRC2>,
1616 <&mstp10_clks R8A7790_CLK_SCU_SRC1>, <&mstp10_clks R8A7790_CLK_SCU_SRC0>,
1617 <&mstp10_clks R8A7790_CLK_SCU_CTU0_MIX0>, <&mstp10_clks R8A7790_CLK_SCU_CTU1_MIX1>,
1618 <&mstp10_clks R8A7790_CLK_SCU_CTU0_MIX0>, <&mstp10_clks R8A7790_CLK_SCU_CTU1_MIX1>,
1619 <&mstp10_clks R8A7790_CLK_SCU_DVC0>, <&mstp10_clks R8A7790_CLK_SCU_DVC1>,
1620 <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>, <&m2_clk>;
1621 clock-names = "ssi-all",
1622 "ssi.9", "ssi.8", "ssi.7", "ssi.6", "ssi.5",
1623 "ssi.4", "ssi.3", "ssi.2", "ssi.1", "ssi.0",
1624 "src.9", "src.8", "src.7", "src.6", "src.5",
1625 "src.4", "src.3", "src.2", "src.1", "src.0",
1629 "clk_a", "clk_b", "clk_c", "clk_i";
1630 power-domains = <&cpg_clocks>;
1632 status = "disabled";
1636 dmas = <&audma0 0xbc>;
1640 dmas = <&audma0 0xbe>;
1663 interrupts = <0 352 IRQ_TYPE_LEVEL_HIGH>;
1664 dmas = <&audma0 0x85>, <&audma1 0x9a>;
1665 dma-names = "rx", "tx";
1668 interrupts = <0 353 IRQ_TYPE_LEVEL_HIGH>;
1669 dmas = <&audma0 0x87>, <&audma1 0x9c>;
1670 dma-names = "rx", "tx";
1673 interrupts = <0 354 IRQ_TYPE_LEVEL_HIGH>;
1674 dmas = <&audma0 0x89>, <&audma1 0x9e>;
1675 dma-names = "rx", "tx";
1678 interrupts = <0 355 IRQ_TYPE_LEVEL_HIGH>;
1679 dmas = <&audma0 0x8b>, <&audma1 0xa0>;
1680 dma-names = "rx", "tx";
1683 interrupts = <0 356 IRQ_TYPE_LEVEL_HIGH>;
1684 dmas = <&audma0 0x8d>, <&audma1 0xb0>;
1685 dma-names = "rx", "tx";
1688 interrupts = <0 357 IRQ_TYPE_LEVEL_HIGH>;
1689 dmas = <&audma0 0x8f>, <&audma1 0xb2>;
1690 dma-names = "rx", "tx";
1693 interrupts = <0 358 IRQ_TYPE_LEVEL_HIGH>;
1694 dmas = <&audma0 0x91>, <&audma1 0xb4>;
1695 dma-names = "rx", "tx";
1698 interrupts = <0 359 IRQ_TYPE_LEVEL_HIGH>;
1699 dmas = <&audma0 0x93>, <&audma1 0xb6>;
1700 dma-names = "rx", "tx";
1703 interrupts = <0 360 IRQ_TYPE_LEVEL_HIGH>;
1704 dmas = <&audma0 0x95>, <&audma1 0xb8>;
1705 dma-names = "rx", "tx";
1708 interrupts = <0 361 IRQ_TYPE_LEVEL_HIGH>;
1709 dmas = <&audma0 0x97>, <&audma1 0xba>;
1710 dma-names = "rx", "tx";
1716 interrupts = <0 370 IRQ_TYPE_LEVEL_HIGH>;
1717 dmas = <&audma0 0x01>, <&audma1 0x02>, <&audma0 0x15>, <&audma1 0x16>;
1718 dma-names = "rx", "tx", "rxu", "txu";
1721 interrupts = <0 371 IRQ_TYPE_LEVEL_HIGH>;
1722 dmas = <&audma0 0x03>, <&audma1 0x04>, <&audma0 0x49>, <&audma1 0x4a>;
1723 dma-names = "rx", "tx", "rxu", "txu";
1726 interrupts = <0 372 IRQ_TYPE_LEVEL_HIGH>;
1727 dmas = <&audma0 0x05>, <&audma1 0x06>, <&audma0 0x63>, <&audma1 0x64>;
1728 dma-names = "rx", "tx", "rxu", "txu";
1731 interrupts = <0 373 IRQ_TYPE_LEVEL_HIGH>;
1732 dmas = <&audma0 0x07>, <&audma1 0x08>, <&audma0 0x6f>, <&audma1 0x70>;
1733 dma-names = "rx", "tx", "rxu", "txu";
1736 interrupts = <0 374 IRQ_TYPE_LEVEL_HIGH>;
1737 dmas = <&audma0 0x09>, <&audma1 0x0a>, <&audma0 0x71>, <&audma1 0x72>;
1738 dma-names = "rx", "tx", "rxu", "txu";
1741 interrupts = <0 375 IRQ_TYPE_LEVEL_HIGH>;
1742 dmas = <&audma0 0x0b>, <&audma1 0x0c>, <&audma0 0x73>, <&audma1 0x74>;
1743 dma-names = "rx", "tx", "rxu", "txu";
1746 interrupts = <0 376 IRQ_TYPE_LEVEL_HIGH>;
1747 dmas = <&audma0 0x0d>, <&audma1 0x0e>, <&audma0 0x75>, <&audma1 0x76>;
1748 dma-names = "rx", "tx", "rxu", "txu";
1751 interrupts = <0 377 IRQ_TYPE_LEVEL_HIGH>;
1752 dmas = <&audma0 0x0f>, <&audma1 0x10>, <&audma0 0x79>, <&audma1 0x7a>;
1753 dma-names = "rx", "tx", "rxu", "txu";
1756 interrupts = <0 378 IRQ_TYPE_LEVEL_HIGH>;
1757 dmas = <&audma0 0x11>, <&audma1 0x12>, <&audma0 0x7b>, <&audma1 0x7c>;
1758 dma-names = "rx", "tx", "rxu", "txu";
1761 interrupts = <0 379 IRQ_TYPE_LEVEL_HIGH>;
1762 dmas = <&audma0 0x13>, <&audma1 0x14>, <&audma0 0x7d>, <&audma1 0x7e>;
1763 dma-names = "rx", "tx", "rxu", "txu";
1768 ipmmu_sy0: mmu@e6280000 {
1769 compatible = "renesas,ipmmu-vmsa";
1770 reg = <0 0xe6280000 0 0x1000>;
1771 interrupts = <0 223 IRQ_TYPE_LEVEL_HIGH>,
1772 <0 224 IRQ_TYPE_LEVEL_HIGH>;
1774 status = "disabled";
1777 ipmmu_sy1: mmu@e6290000 {
1778 compatible = "renesas,ipmmu-vmsa";
1779 reg = <0 0xe6290000 0 0x1000>;
1780 interrupts = <0 225 IRQ_TYPE_LEVEL_HIGH>;
1782 status = "disabled";
1785 ipmmu_ds: mmu@e6740000 {
1786 compatible = "renesas,ipmmu-vmsa";
1787 reg = <0 0xe6740000 0 0x1000>;
1788 interrupts = <0 198 IRQ_TYPE_LEVEL_HIGH>,
1789 <0 199 IRQ_TYPE_LEVEL_HIGH>;
1791 status = "disabled";
1794 ipmmu_mp: mmu@ec680000 {
1795 compatible = "renesas,ipmmu-vmsa";
1796 reg = <0 0xec680000 0 0x1000>;
1797 interrupts = <0 226 IRQ_TYPE_LEVEL_HIGH>;
1799 status = "disabled";
1802 ipmmu_mx: mmu@fe951000 {
1803 compatible = "renesas,ipmmu-vmsa";
1804 reg = <0 0xfe951000 0 0x1000>;
1805 interrupts = <0 222 IRQ_TYPE_LEVEL_HIGH>,
1806 <0 221 IRQ_TYPE_LEVEL_HIGH>;
1808 status = "disabled";
1811 ipmmu_rt: mmu@ffc80000 {
1812 compatible = "renesas,ipmmu-vmsa";
1813 reg = <0 0xffc80000 0 0x1000>;
1814 interrupts = <0 307 IRQ_TYPE_LEVEL_HIGH>;
1816 status = "disabled";