2 * Device Tree Source for the r8a7791 SoC
4 * Copyright (C) 2013 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-clock.h>
14 #include <dt-bindings/interrupt-controller/arm-gic.h>
15 #include <dt-bindings/interrupt-controller/irq.h>
18 compatible = "renesas,r8a7791";
19 interrupt-parent = <&gic>;
45 compatible = "arm,cortex-a15";
47 clock-frequency = <1500000000>;
52 compatible = "arm,cortex-a15";
54 clock-frequency = <1500000000>;
58 gic: interrupt-controller@f1001000 {
59 compatible = "arm,cortex-a15-gic";
60 #interrupt-cells = <3>;
63 reg = <0 0xf1001000 0 0x1000>,
64 <0 0xf1002000 0 0x1000>,
65 <0 0xf1004000 0 0x2000>,
66 <0 0xf1006000 0 0x2000>;
67 interrupts = <1 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
70 gpio0: gpio@e6050000 {
71 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
72 reg = <0 0xe6050000 0 0x50>;
73 interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>;
76 gpio-ranges = <&pfc 0 0 32>;
77 #interrupt-cells = <2>;
81 gpio1: gpio@e6051000 {
82 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
83 reg = <0 0xe6051000 0 0x50>;
84 interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>;
87 gpio-ranges = <&pfc 0 32 32>;
88 #interrupt-cells = <2>;
92 gpio2: gpio@e6052000 {
93 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
94 reg = <0 0xe6052000 0 0x50>;
95 interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>;
98 gpio-ranges = <&pfc 0 64 32>;
99 #interrupt-cells = <2>;
100 interrupt-controller;
103 gpio3: gpio@e6053000 {
104 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
105 reg = <0 0xe6053000 0 0x50>;
106 interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>;
109 gpio-ranges = <&pfc 0 96 32>;
110 #interrupt-cells = <2>;
111 interrupt-controller;
114 gpio4: gpio@e6054000 {
115 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
116 reg = <0 0xe6054000 0 0x50>;
117 interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>;
120 gpio-ranges = <&pfc 0 128 32>;
121 #interrupt-cells = <2>;
122 interrupt-controller;
125 gpio5: gpio@e6055000 {
126 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
127 reg = <0 0xe6055000 0 0x50>;
128 interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>;
131 gpio-ranges = <&pfc 0 160 32>;
132 #interrupt-cells = <2>;
133 interrupt-controller;
136 gpio6: gpio@e6055400 {
137 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
138 reg = <0 0xe6055400 0 0x50>;
139 interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>;
142 gpio-ranges = <&pfc 0 192 32>;
143 #interrupt-cells = <2>;
144 interrupt-controller;
147 gpio7: gpio@e6055800 {
148 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
149 reg = <0 0xe6055800 0 0x50>;
150 interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>;
153 gpio-ranges = <&pfc 0 224 26>;
154 #interrupt-cells = <2>;
155 interrupt-controller;
159 compatible = "renesas,thermal-r8a7791", "renesas,rcar-thermal";
160 reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>;
161 interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>;
162 clocks = <&mstp5_clks R8A7791_CLK_THERMAL>;
166 compatible = "arm,armv7-timer";
167 interrupts = <1 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
168 <1 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
169 <1 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
170 <1 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
173 irqc0: interrupt-controller@e61c0000 {
174 compatible = "renesas,irqc-r8a7791", "renesas,irqc";
175 #interrupt-cells = <2>;
176 interrupt-controller;
177 reg = <0 0xe61c0000 0 0x200>;
178 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>,
179 <0 1 IRQ_TYPE_LEVEL_HIGH>,
180 <0 2 IRQ_TYPE_LEVEL_HIGH>,
181 <0 3 IRQ_TYPE_LEVEL_HIGH>,
182 <0 12 IRQ_TYPE_LEVEL_HIGH>,
183 <0 13 IRQ_TYPE_LEVEL_HIGH>,
184 <0 14 IRQ_TYPE_LEVEL_HIGH>,
185 <0 15 IRQ_TYPE_LEVEL_HIGH>,
186 <0 16 IRQ_TYPE_LEVEL_HIGH>,
187 <0 17 IRQ_TYPE_LEVEL_HIGH>;
190 /* The memory map in the User's Manual maps the cores to bus numbers */
192 #address-cells = <1>;
194 compatible = "renesas,i2c-r8a7791";
195 reg = <0 0xe6508000 0 0x40>;
196 interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>;
197 clocks = <&mstp9_clks R8A7791_CLK_I2C0>;
202 #address-cells = <1>;
204 compatible = "renesas,i2c-r8a7791";
205 reg = <0 0xe6518000 0 0x40>;
206 interrupts = <0 288 IRQ_TYPE_LEVEL_HIGH>;
207 clocks = <&mstp9_clks R8A7791_CLK_I2C1>;
212 #address-cells = <1>;
214 compatible = "renesas,i2c-r8a7791";
215 reg = <0 0xe6530000 0 0x40>;
216 interrupts = <0 286 IRQ_TYPE_LEVEL_HIGH>;
217 clocks = <&mstp9_clks R8A7791_CLK_I2C2>;
222 #address-cells = <1>;
224 compatible = "renesas,i2c-r8a7791";
225 reg = <0 0xe6540000 0 0x40>;
226 interrupts = <0 290 IRQ_TYPE_LEVEL_HIGH>;
227 clocks = <&mstp9_clks R8A7791_CLK_I2C3>;
232 #address-cells = <1>;
234 compatible = "renesas,i2c-r8a7791";
235 reg = <0 0xe6520000 0 0x40>;
236 interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>;
237 clocks = <&mstp9_clks R8A7791_CLK_I2C4>;
242 /* doesn't need pinmux */
243 #address-cells = <1>;
245 compatible = "renesas,i2c-r8a7791";
246 reg = <0 0xe6528000 0 0x40>;
247 interrupts = <0 20 IRQ_TYPE_LEVEL_HIGH>;
248 clocks = <&mstp9_clks R8A7791_CLK_I2C5>;
253 /* doesn't need pinmux */
254 #address-cells = <1>;
256 compatible = "renesas,iic-r8a7791", "renesas,rmobile-iic";
257 reg = <0 0xe60b0000 0 0x425>;
258 interrupts = <0 173 IRQ_TYPE_LEVEL_HIGH>;
259 clocks = <&mstp9_clks R8A7791_CLK_IICDVFS>;
264 #address-cells = <1>;
266 compatible = "renesas,iic-r8a7791", "renesas,rmobile-iic";
267 reg = <0 0xe6500000 0 0x425>;
268 interrupts = <0 174 IRQ_TYPE_LEVEL_HIGH>;
269 clocks = <&mstp3_clks R8A7791_CLK_IIC0>;
274 #address-cells = <1>;
276 compatible = "renesas,iic-r8a7791", "renesas,rmobile-iic";
277 reg = <0 0xe6510000 0 0x425>;
278 interrupts = <0 175 IRQ_TYPE_LEVEL_HIGH>;
279 clocks = <&mstp3_clks R8A7791_CLK_IIC1>;
284 compatible = "renesas,pfc-r8a7791";
285 reg = <0 0xe6060000 0 0x250>;
286 #gpio-range-cells = <3>;
290 compatible = "renesas,sdhi-r8a7791";
291 reg = <0 0xee100000 0 0x200>;
292 interrupts = <0 165 IRQ_TYPE_LEVEL_HIGH>;
293 clocks = <&mstp3_clks R8A7791_CLK_SDHI0>;
298 compatible = "renesas,sdhi-r8a7791";
299 reg = <0 0xee140000 0 0x100>;
300 interrupts = <0 167 IRQ_TYPE_LEVEL_HIGH>;
301 clocks = <&mstp3_clks R8A7791_CLK_SDHI1>;
306 compatible = "renesas,sdhi-r8a7791";
307 reg = <0 0xee160000 0 0x100>;
308 interrupts = <0 168 IRQ_TYPE_LEVEL_HIGH>;
309 clocks = <&mstp3_clks R8A7791_CLK_SDHI2>;
313 scifa0: serial@e6c40000 {
314 compatible = "renesas,scifa-r8a7791", "renesas,scifa";
315 reg = <0 0xe6c40000 0 64>;
316 interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>;
317 clocks = <&mstp2_clks R8A7791_CLK_SCIFA0>;
318 clock-names = "sci_ick";
322 scifa1: serial@e6c50000 {
323 compatible = "renesas,scifa-r8a7791", "renesas,scifa";
324 reg = <0 0xe6c50000 0 64>;
325 interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>;
326 clocks = <&mstp2_clks R8A7791_CLK_SCIFA1>;
327 clock-names = "sci_ick";
331 scifa2: serial@e6c60000 {
332 compatible = "renesas,scifa-r8a7791", "renesas,scifa";
333 reg = <0 0xe6c60000 0 64>;
334 interrupts = <0 151 IRQ_TYPE_LEVEL_HIGH>;
335 clocks = <&mstp2_clks R8A7791_CLK_SCIFA2>;
336 clock-names = "sci_ick";
340 scifa3: serial@e6c70000 {
341 compatible = "renesas,scifa-r8a7791", "renesas,scifa";
342 reg = <0 0xe6c70000 0 64>;
343 interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>;
344 clocks = <&mstp11_clks R8A7791_CLK_SCIFA3>;
345 clock-names = "sci_ick";
349 scifa4: serial@e6c78000 {
350 compatible = "renesas,scifa-r8a7791", "renesas,scifa";
351 reg = <0 0xe6c78000 0 64>;
352 interrupts = <0 30 IRQ_TYPE_LEVEL_HIGH>;
353 clocks = <&mstp11_clks R8A7791_CLK_SCIFA4>;
354 clock-names = "sci_ick";
358 scifa5: serial@e6c80000 {
359 compatible = "renesas,scifa-r8a7791", "renesas,scifa";
360 reg = <0 0xe6c80000 0 64>;
361 interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>;
362 clocks = <&mstp11_clks R8A7791_CLK_SCIFA5>;
363 clock-names = "sci_ick";
367 scifb0: serial@e6c20000 {
368 compatible = "renesas,scifb-r8a7791", "renesas,scifb";
369 reg = <0 0xe6c20000 0 64>;
370 interrupts = <0 148 IRQ_TYPE_LEVEL_HIGH>;
371 clocks = <&mstp2_clks R8A7791_CLK_SCIFB0>;
372 clock-names = "sci_ick";
376 scifb1: serial@e6c30000 {
377 compatible = "renesas,scifb-r8a7791", "renesas,scifb";
378 reg = <0 0xe6c30000 0 64>;
379 interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH>;
380 clocks = <&mstp2_clks R8A7791_CLK_SCIFB1>;
381 clock-names = "sci_ick";
385 scifb2: serial@e6ce0000 {
386 compatible = "renesas,scifb-r8a7791", "renesas,scifb";
387 reg = <0 0xe6ce0000 0 64>;
388 interrupts = <0 150 IRQ_TYPE_LEVEL_HIGH>;
389 clocks = <&mstp2_clks R8A7791_CLK_SCIFB2>;
390 clock-names = "sci_ick";
394 scif0: serial@e6e60000 {
395 compatible = "renesas,scif-r8a7791", "renesas,scif";
396 reg = <0 0xe6e60000 0 64>;
397 interrupts = <0 152 IRQ_TYPE_LEVEL_HIGH>;
398 clocks = <&mstp7_clks R8A7791_CLK_SCIF0>;
399 clock-names = "sci_ick";
403 scif1: serial@e6e68000 {
404 compatible = "renesas,scif-r8a7791", "renesas,scif";
405 reg = <0 0xe6e68000 0 64>;
406 interrupts = <0 153 IRQ_TYPE_LEVEL_HIGH>;
407 clocks = <&mstp7_clks R8A7791_CLK_SCIF1>;
408 clock-names = "sci_ick";
412 scif2: serial@e6e58000 {
413 compatible = "renesas,scif-r8a7791", "renesas,scif";
414 reg = <0 0xe6e58000 0 64>;
415 interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>;
416 clocks = <&mstp7_clks R8A7791_CLK_SCIF2>;
417 clock-names = "sci_ick";
421 scif3: serial@e6ea8000 {
422 compatible = "renesas,scif-r8a7791", "renesas,scif";
423 reg = <0 0xe6ea8000 0 64>;
424 interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>;
425 clocks = <&mstp7_clks R8A7791_CLK_SCIF3>;
426 clock-names = "sci_ick";
430 scif4: serial@e6ee0000 {
431 compatible = "renesas,scif-r8a7791", "renesas,scif";
432 reg = <0 0xe6ee0000 0 64>;
433 interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>;
434 clocks = <&mstp7_clks R8A7791_CLK_SCIF4>;
435 clock-names = "sci_ick";
439 scif5: serial@e6ee8000 {
440 compatible = "renesas,scif-r8a7791", "renesas,scif";
441 reg = <0 0xe6ee8000 0 64>;
442 interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>;
443 clocks = <&mstp7_clks R8A7791_CLK_SCIF5>;
444 clock-names = "sci_ick";
448 hscif0: serial@e62c0000 {
449 compatible = "renesas,hscif-r8a7791", "renesas,hscif";
450 reg = <0 0xe62c0000 0 96>;
451 interrupts = <0 154 IRQ_TYPE_LEVEL_HIGH>;
452 clocks = <&mstp7_clks R8A7791_CLK_HSCIF0>;
453 clock-names = "sci_ick";
457 hscif1: serial@e62c8000 {
458 compatible = "renesas,hscif-r8a7791", "renesas,hscif";
459 reg = <0 0xe62c8000 0 96>;
460 interrupts = <0 155 IRQ_TYPE_LEVEL_HIGH>;
461 clocks = <&mstp7_clks R8A7791_CLK_HSCIF1>;
462 clock-names = "sci_ick";
466 hscif2: serial@e62d0000 {
467 compatible = "renesas,hscif-r8a7791", "renesas,hscif";
468 reg = <0 0xe62d0000 0 96>;
469 interrupts = <0 21 IRQ_TYPE_LEVEL_HIGH>;
470 clocks = <&mstp7_clks R8A7791_CLK_HSCIF2>;
471 clock-names = "sci_ick";
475 ether: ethernet@ee700000 {
476 compatible = "renesas,ether-r8a7791";
477 reg = <0 0xee700000 0 0x400>;
478 interrupts = <0 162 IRQ_TYPE_LEVEL_HIGH>;
479 clocks = <&mstp8_clks R8A7791_CLK_ETHER>;
481 #address-cells = <1>;
486 sata0: sata@ee300000 {
487 compatible = "renesas,sata-r8a7791";
488 reg = <0 0xee300000 0 0x2000>;
489 interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>;
490 clocks = <&mstp8_clks R8A7791_CLK_SATA0>;
494 sata1: sata@ee500000 {
495 compatible = "renesas,sata-r8a7791";
496 reg = <0 0xee500000 0 0x2000>;
497 interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>;
498 clocks = <&mstp8_clks R8A7791_CLK_SATA1>;
503 #address-cells = <2>;
507 /* External root clock */
508 extal_clk: extal_clk {
509 compatible = "fixed-clock";
511 /* This value must be overriden by the board. */
512 clock-frequency = <0>;
513 clock-output-names = "extal";
516 /* Special CPG clocks */
517 cpg_clocks: cpg_clocks@e6150000 {
518 compatible = "renesas,r8a7791-cpg-clocks",
519 "renesas,rcar-gen2-cpg-clocks";
520 reg = <0 0xe6150000 0 0x1000>;
521 clocks = <&extal_clk>;
523 clock-output-names = "main", "pll0", "pll1", "pll3",
524 "lb", "qspi", "sdh", "sd0", "z";
527 /* Variable factor clocks */
528 sd1_clk: sd2_clk@e6150078 {
529 compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock";
530 reg = <0 0xe6150078 0 4>;
531 clocks = <&pll1_div2_clk>;
533 clock-output-names = "sd1";
535 sd2_clk: sd3_clk@e615007c {
536 compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock";
537 reg = <0 0xe615007c 0 4>;
538 clocks = <&pll1_div2_clk>;
540 clock-output-names = "sd2";
542 mmc0_clk: mmc0_clk@e6150240 {
543 compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock";
544 reg = <0 0xe6150240 0 4>;
545 clocks = <&pll1_div2_clk>;
547 clock-output-names = "mmc0";
549 ssp_clk: ssp_clk@e6150248 {
550 compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock";
551 reg = <0 0xe6150248 0 4>;
552 clocks = <&pll1_div2_clk>;
554 clock-output-names = "ssp";
556 ssprs_clk: ssprs_clk@e615024c {
557 compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock";
558 reg = <0 0xe615024c 0 4>;
559 clocks = <&pll1_div2_clk>;
561 clock-output-names = "ssprs";
564 /* Fixed factor clocks */
565 pll1_div2_clk: pll1_div2_clk {
566 compatible = "fixed-factor-clock";
567 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
571 clock-output-names = "pll1_div2";
574 compatible = "fixed-factor-clock";
575 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
579 clock-output-names = "zg";
582 compatible = "fixed-factor-clock";
583 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
587 clock-output-names = "zx";
590 compatible = "fixed-factor-clock";
591 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
595 clock-output-names = "zs";
598 compatible = "fixed-factor-clock";
599 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
603 clock-output-names = "hp";
606 compatible = "fixed-factor-clock";
607 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
611 clock-output-names = "i";
614 compatible = "fixed-factor-clock";
615 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
619 clock-output-names = "b";
622 compatible = "fixed-factor-clock";
623 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
627 clock-output-names = "p";
630 compatible = "fixed-factor-clock";
631 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
635 clock-output-names = "cl";
638 compatible = "fixed-factor-clock";
639 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
643 clock-output-names = "m2";
646 compatible = "fixed-factor-clock";
647 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
651 clock-output-names = "imp";
654 compatible = "fixed-factor-clock";
655 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
657 clock-div = <(48 * 1024)>;
659 clock-output-names = "rclk";
661 oscclk_clk: oscclk_clk {
662 compatible = "fixed-factor-clock";
663 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
665 clock-div = <(12 * 1024)>;
667 clock-output-names = "oscclk";
670 compatible = "fixed-factor-clock";
671 clocks = <&cpg_clocks R8A7791_CLK_PLL3>;
675 clock-output-names = "zb3";
677 zb3d2_clk: zb3d2_clk {
678 compatible = "fixed-factor-clock";
679 clocks = <&cpg_clocks R8A7791_CLK_PLL3>;
683 clock-output-names = "zb3d2";
686 compatible = "fixed-factor-clock";
687 clocks = <&cpg_clocks R8A7791_CLK_PLL3>;
691 clock-output-names = "ddr";
694 compatible = "fixed-factor-clock";
695 clocks = <&pll1_div2_clk>;
699 clock-output-names = "mp";
702 compatible = "fixed-factor-clock";
703 clocks = <&extal_clk>;
707 clock-output-names = "cp";
711 mstp0_clks: mstp0_clks@e6150130 {
712 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
713 reg = <0 0xe6150130 0 4>, <0 0xe6150030 0 4>;
716 renesas,clock-indices = <R8A7791_CLK_MSIOF0>;
717 clock-output-names = "msiof0";
719 mstp1_clks: mstp1_clks@e6150134 {
720 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
721 reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>;
722 clocks = <&p_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>,
723 <&cp_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>;
725 renesas,clock-indices = <
726 R8A7791_CLK_TMU1 R8A7791_CLK_TMU3 R8A7791_CLK_TMU2
727 R8A7791_CLK_CMT0 R8A7791_CLK_TMU0 R8A7791_CLK_VSP1_DU1
728 R8A7791_CLK_VSP1_DU0 R8A7791_CLK_VSP1_S
731 "tmu1", "tmu3", "tmu2", "cmt0", "tmu0", "vsp1-du1",
732 "vsp1-du0", "vsp1-sy";
734 mstp2_clks: mstp2_clks@e6150138 {
735 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
736 reg = <0 0xe6150138 0 4>, <0 0xe6150040 0 4>;
737 clocks = <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>,
738 <&mp_clk>, <&mp_clk>, <&mp_clk>;
740 renesas,clock-indices = <
741 R8A7791_CLK_SCIFA2 R8A7791_CLK_SCIFA1 R8A7791_CLK_SCIFA0
742 R8A7791_CLK_MSIOF2 R8A7791_CLK_SCIFB0 R8A7791_CLK_SCIFB1
743 R8A7791_CLK_MSIOF1 R8A7791_CLK_SCIFB2
746 "scifa2", "scifa1", "scifa0", "msiof2", "scifb0",
747 "scifb1", "msiof1", "scifb2";
749 mstp3_clks: mstp3_clks@e615013c {
750 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
751 reg = <0 0xe615013c 0 4>, <0 0xe6150048 0 4>;
752 clocks = <&cp_clk>, <&sd2_clk>, <&sd1_clk>, <&cpg_clocks R8A7791_CLK_SD0>,
753 <&mmc0_clk>, <&hp_clk>, <&hp_clk>, <&rclk_clk>;
755 renesas,clock-indices = <
756 R8A7791_CLK_TPU0 R8A7791_CLK_SDHI2 R8A7791_CLK_SDHI1 R8A7791_CLK_SDHI0
757 R8A7791_CLK_MMCIF0 R8A7791_CLK_IIC0 R8A7791_CLK_IIC1 R8A7791_CLK_CMT1
760 "tpu0", "sdhi2", "sdhi1", "sdhi0",
761 "mmcif0", "i2c7", "i2c8", "cmt1";
763 mstp5_clks: mstp5_clks@e6150144 {
764 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
765 reg = <0 0xe6150144 0 4>, <0 0xe615003c 0 4>;
766 clocks = <&extal_clk>, <&p_clk>;
768 renesas,clock-indices = <R8A7791_CLK_THERMAL R8A7791_CLK_PWM>;
769 clock-output-names = "thermal", "pwm";
771 mstp7_clks: mstp7_clks@e615014c {
772 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
773 reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>;
774 clocks = <&mp_clk>, <&mp_clk>, <&zs_clk>, <&p_clk>, <&p_clk>, <&zs_clk>,
775 <&zs_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
776 <&zx_clk>, <&zx_clk>, <&zx_clk>;
778 renesas,clock-indices = <
779 R8A7791_CLK_EHCI R8A7791_CLK_HSUSB R8A7791_CLK_HSCIF2 R8A7791_CLK_SCIF5
780 R8A7791_CLK_SCIF4 R8A7791_CLK_HSCIF1 R8A7791_CLK_HSCIF0
781 R8A7791_CLK_SCIF3 R8A7791_CLK_SCIF2 R8A7791_CLK_SCIF1
782 R8A7791_CLK_SCIF0 R8A7791_CLK_DU1 R8A7791_CLK_DU0
786 "ehci", "hsusb", "hscif2", "scif5", "scif4", "hscif1", "hscif0",
787 "scif3", "scif2", "scif1", "scif0", "du1", "du0", "lvds0";
789 mstp8_clks: mstp8_clks@e6150990 {
790 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
791 reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>;
792 clocks = <&zg_clk>, <&zg_clk>, <&zg_clk>, <&p_clk>, <&zs_clk>,
795 renesas,clock-indices = <
796 R8A7791_CLK_VIN2 R8A7791_CLK_VIN1 R8A7791_CLK_VIN0
797 R8A7791_CLK_ETHER R8A7791_CLK_SATA1 R8A7791_CLK_SATA0
800 "vin2", "vin1", "vin0", "ether", "sata1", "sata0";
802 mstp9_clks: mstp9_clks@e6150994 {
803 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
804 reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>;
805 clocks = <&p_clk>, <&p_clk>, <&cpg_clocks R8A7791_CLK_QSPI>, <&hp_clk>,
806 <&cp_clk>, <&hp_clk>, <&hp_clk>, <&hp_clk>,
807 <&hp_clk>, <&hp_clk>;
809 renesas,clock-indices = <
810 R8A7791_CLK_RCAN1 R8A7791_CLK_RCAN0 R8A7791_CLK_QSPI_MOD R8A7791_CLK_I2C5
811 R8A7791_CLK_IICDVFS R8A7791_CLK_I2C4 R8A7791_CLK_I2C3 R8A7791_CLK_I2C2
812 R8A7791_CLK_I2C1 R8A7791_CLK_I2C0
815 "rcan1", "rcan0", "qspi_mod", "i2c5", "i2c6", "i2c4", "i2c3",
816 "i2c2", "i2c1", "i2c0";
818 mstp11_clks: mstp11_clks@e615099c {
819 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
820 reg = <0 0xe615099c 0 4>, <0 0xe61509ac 0 4>;
821 clocks = <&mp_clk>, <&mp_clk>, <&mp_clk>;
823 renesas,clock-indices = <
824 R8A7791_CLK_SCIFA3 R8A7791_CLK_SCIFA4 R8A7791_CLK_SCIFA5
826 clock-output-names = "scifa3", "scifa4", "scifa5";
831 compatible = "renesas,qspi-r8a7791", "renesas,qspi";
832 reg = <0 0xe6b10000 0 0x2c>;
833 interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>;
834 clocks = <&mstp9_clks R8A7791_CLK_QSPI_MOD>;
836 #address-cells = <1>;
841 msiof0: spi@e6e20000 {
842 compatible = "renesas,msiof-r8a7791";
843 reg = <0 0xe6e20000 0 0x0064>;
844 interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>;
845 clocks = <&mstp0_clks R8A7791_CLK_MSIOF0>;
846 #address-cells = <1>;
851 msiof1: spi@e6e10000 {
852 compatible = "renesas,msiof-r8a7791";
853 reg = <0 0xe6e10000 0 0x0064>;
854 interrupts = <0 157 IRQ_TYPE_LEVEL_HIGH>;
855 clocks = <&mstp2_clks R8A7791_CLK_MSIOF1>;
856 #address-cells = <1>;
861 msiof2: spi@e6e00000 {
862 compatible = "renesas,msiof-r8a7791";
863 reg = <0 0xe6e00000 0 0x0064>;
864 interrupts = <0 158 IRQ_TYPE_LEVEL_HIGH>;
865 clocks = <&mstp2_clks R8A7791_CLK_MSIOF2>;
866 #address-cells = <1>;