Merge tag 'upstream-4.19-rc1' of git://git.infradead.org/linux-ubifs
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / r8a7743.dtsi
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Device Tree Source for the r8a7743 SoC
4  *
5  * Copyright (C) 2016-2017 Cogent Embedded Inc.
6  */
7
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
10 #include <dt-bindings/clock/r8a7743-cpg-mssr.h>
11 #include <dt-bindings/power/r8a7743-sysc.h>
12
13 / {
14         compatible = "renesas,r8a7743";
15         #address-cells = <2>;
16         #size-cells = <2>;
17
18         aliases {
19                 i2c0 = &i2c0;
20                 i2c1 = &i2c1;
21                 i2c2 = &i2c2;
22                 i2c3 = &i2c3;
23                 i2c4 = &i2c4;
24                 i2c5 = &i2c5;
25                 i2c6 = &iic0;
26                 i2c7 = &iic1;
27                 i2c8 = &iic3;
28                 spi0 = &qspi;
29                 spi1 = &msiof0;
30                 spi2 = &msiof1;
31                 spi3 = &msiof2;
32                 vin0 = &vin0;
33                 vin1 = &vin1;
34                 vin2 = &vin2;
35         };
36
37         /*
38          * The external audio clocks are configured as 0 Hz fixed frequency
39          * clocks by default.
40          * Boards that provide audio clocks should override them.
41          */
42         audio_clk_a: audio_clk_a {
43                 compatible = "fixed-clock";
44                 #clock-cells = <0>;
45                 clock-frequency = <0>;
46         };
47
48         audio_clk_b: audio_clk_b {
49                 compatible = "fixed-clock";
50                 #clock-cells = <0>;
51                 clock-frequency = <0>;
52         };
53
54         audio_clk_c: audio_clk_c {
55                 compatible = "fixed-clock";
56                 #clock-cells = <0>;
57                 clock-frequency = <0>;
58         };
59
60         /* External CAN clock */
61         can_clk: can {
62                 compatible = "fixed-clock";
63                 #clock-cells = <0>;
64                 /* This value must be overridden by the board. */
65                 clock-frequency = <0>;
66         };
67
68         cpus {
69                 #address-cells = <1>;
70                 #size-cells = <0>;
71                 enable-method = "renesas,apmu";
72
73                 cpu0: cpu@0 {
74                         device_type = "cpu";
75                         compatible = "arm,cortex-a15";
76                         reg = <0>;
77                         clock-frequency = <1500000000>;
78                         clocks = <&cpg CPG_CORE R8A7743_CLK_Z>;
79                         clock-latency = <300000>; /* 300 us */
80                         power-domains = <&sysc R8A7743_PD_CA15_CPU0>;
81                         next-level-cache = <&L2_CA15>;
82
83                         /* kHz - uV - OPPs unknown yet */
84                         operating-points = <1500000 1000000>,
85                                            <1312500 1000000>,
86                                            <1125000 1000000>,
87                                            < 937500 1000000>,
88                                            < 750000 1000000>,
89                                            < 375000 1000000>;
90                 };
91
92                 cpu1: cpu@1 {
93                         device_type = "cpu";
94                         compatible = "arm,cortex-a15";
95                         reg = <1>;
96                         clock-frequency = <1500000000>;
97                         clocks = <&cpg CPG_CORE R8A7743_CLK_Z>;
98                         clock-latency = <300000>; /* 300 us */
99                         power-domains = <&sysc R8A7743_PD_CA15_CPU1>;
100                         next-level-cache = <&L2_CA15>;
101
102                         /* kHz - uV - OPPs unknown yet */
103                         operating-points = <1500000 1000000>,
104                                            <1312500 1000000>,
105                                            <1125000 1000000>,
106                                            < 937500 1000000>,
107                                            < 750000 1000000>,
108                                            < 375000 1000000>;
109                 };
110
111                 L2_CA15: cache-controller-0 {
112                         compatible = "cache";
113                         cache-unified;
114                         cache-level = <2>;
115                         power-domains = <&sysc R8A7743_PD_CA15_SCU>;
116                 };
117         };
118
119         /* External root clock */
120         extal_clk: extal {
121                 compatible = "fixed-clock";
122                 #clock-cells = <0>;
123                 /* This value must be overridden by the board. */
124                 clock-frequency = <0>;
125         };
126
127         /* External PCIe clock - can be overridden by the board */
128         pcie_bus_clk: pcie_bus {
129                 compatible = "fixed-clock";
130                 #clock-cells = <0>;
131                 clock-frequency = <0>;
132         };
133
134         pmu {
135                 compatible = "arm,cortex-a15-pmu";
136                 interrupts-extended = <&gic GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
137                                       <&gic GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
138                 interrupt-affinity = <&cpu0>, <&cpu1>;
139         };
140
141         /* External SCIF clock */
142         scif_clk: scif {
143                 compatible = "fixed-clock";
144                 #clock-cells = <0>;
145                 /* This value must be overridden by the board. */
146                 clock-frequency = <0>;
147         };
148
149         soc {
150                 compatible = "simple-bus";
151                 interrupt-parent = <&gic>;
152
153                 #address-cells = <2>;
154                 #size-cells = <2>;
155                 ranges;
156
157                 gpio0: gpio@e6050000 {
158                         compatible = "renesas,gpio-r8a7743",
159                                      "renesas,rcar-gen2-gpio";
160                         reg = <0 0xe6050000 0 0x50>;
161                         interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
162                         #gpio-cells = <2>;
163                         gpio-controller;
164                         gpio-ranges = <&pfc 0 0 32>;
165                         #interrupt-cells = <2>;
166                         interrupt-controller;
167                         clocks = <&cpg CPG_MOD 912>;
168                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
169                         resets = <&cpg 912>;
170                 };
171
172                 gpio1: gpio@e6051000 {
173                         compatible = "renesas,gpio-r8a7743",
174                                      "renesas,rcar-gen2-gpio";
175                         reg = <0 0xe6051000 0 0x50>;
176                         interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
177                         #gpio-cells = <2>;
178                         gpio-controller;
179                         gpio-ranges = <&pfc 0 32 26>;
180                         #interrupt-cells = <2>;
181                         interrupt-controller;
182                         clocks = <&cpg CPG_MOD 911>;
183                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
184                         resets = <&cpg 911>;
185                 };
186
187                 gpio2: gpio@e6052000 {
188                         compatible = "renesas,gpio-r8a7743",
189                                      "renesas,rcar-gen2-gpio";
190                         reg = <0 0xe6052000 0 0x50>;
191                         interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
192                         #gpio-cells = <2>;
193                         gpio-controller;
194                         gpio-ranges = <&pfc 0 64 32>;
195                         #interrupt-cells = <2>;
196                         interrupt-controller;
197                         clocks = <&cpg CPG_MOD 910>;
198                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
199                         resets = <&cpg 910>;
200                 };
201
202                 gpio3: gpio@e6053000 {
203                         compatible = "renesas,gpio-r8a7743",
204                                      "renesas,rcar-gen2-gpio";
205                         reg = <0 0xe6053000 0 0x50>;
206                         interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
207                         #gpio-cells = <2>;
208                         gpio-controller;
209                         gpio-ranges = <&pfc 0 96 32>;
210                         #interrupt-cells = <2>;
211                         interrupt-controller;
212                         clocks = <&cpg CPG_MOD 909>;
213                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
214                         resets = <&cpg 909>;
215                 };
216
217                 gpio4: gpio@e6054000 {
218                         compatible = "renesas,gpio-r8a7743",
219                                      "renesas,rcar-gen2-gpio";
220                         reg = <0 0xe6054000 0 0x50>;
221                         interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
222                         #gpio-cells = <2>;
223                         gpio-controller;
224                         gpio-ranges = <&pfc 0 128 32>;
225                         #interrupt-cells = <2>;
226                         interrupt-controller;
227                         clocks = <&cpg CPG_MOD 908>;
228                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
229                         resets = <&cpg 908>;
230                 };
231
232                 gpio5: gpio@e6055000 {
233                         compatible = "renesas,gpio-r8a7743",
234                                      "renesas,rcar-gen2-gpio";
235                         reg = <0 0xe6055000 0 0x50>;
236                         interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
237                         #gpio-cells = <2>;
238                         gpio-controller;
239                         gpio-ranges = <&pfc 0 160 32>;
240                         #interrupt-cells = <2>;
241                         interrupt-controller;
242                         clocks = <&cpg CPG_MOD 907>;
243                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
244                         resets = <&cpg 907>;
245                 };
246
247                 gpio6: gpio@e6055400 {
248                         compatible = "renesas,gpio-r8a7743",
249                                      "renesas,rcar-gen2-gpio";
250                         reg = <0 0xe6055400 0 0x50>;
251                         interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
252                         #gpio-cells = <2>;
253                         gpio-controller;
254                         gpio-ranges = <&pfc 0 192 32>;
255                         #interrupt-cells = <2>;
256                         interrupt-controller;
257                         clocks = <&cpg CPG_MOD 905>;
258                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
259                         resets = <&cpg 905>;
260                 };
261
262                 gpio7: gpio@e6055800 {
263                         compatible = "renesas,gpio-r8a7743",
264                                      "renesas,rcar-gen2-gpio";
265                         reg = <0 0xe6055800 0 0x50>;
266                         interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
267                         #gpio-cells = <2>;
268                         gpio-controller;
269                         gpio-ranges = <&pfc 0 224 26>;
270                         #interrupt-cells = <2>;
271                         interrupt-controller;
272                         clocks = <&cpg CPG_MOD 904>;
273                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
274                         resets = <&cpg 904>;
275                 };
276
277                 pfc: pin-controller@e6060000 {
278                         compatible = "renesas,pfc-r8a7743";
279                         reg = <0 0xe6060000 0 0x250>;
280                 };
281
282                 tpu: pwm@e60f0000 {
283                         compatible = "renesas,tpu-r8a7743", "renesas,tpu";
284                         reg = <0 0xe60f0000 0 0x148>;
285                         clocks = <&cpg CPG_MOD 304>;
286                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
287                         resets = <&cpg 304>;
288                         #pwm-cells = <3>;
289                         status = "disabled";
290                 };
291
292                 cpg: clock-controller@e6150000 {
293                         compatible = "renesas,r8a7743-cpg-mssr";
294                         reg = <0 0xe6150000 0 0x1000>;
295                         clocks = <&extal_clk>, <&usb_extal_clk>;
296                         clock-names = "extal", "usb_extal";
297                         #clock-cells = <2>;
298                         #power-domain-cells = <0>;
299                         #reset-cells = <1>;
300                 };
301
302                 apmu@e6152000 {
303                         compatible = "renesas,r8a7743-apmu", "renesas,apmu";
304                         reg = <0 0xe6152000 0 0x188>;
305                         cpus = <&cpu0 &cpu1>;
306                 };
307
308                 rst: reset-controller@e6160000 {
309                         compatible = "renesas,r8a7743-rst";
310                         reg = <0 0xe6160000 0 0x100>;
311                 };
312
313                 rwdt: watchdog@e6020000 {
314                         compatible = "renesas,r8a7743-wdt",
315                                      "renesas,rcar-gen2-wdt";
316                         reg = <0 0xe6020000 0 0x0c>;
317                         clocks = <&cpg CPG_MOD 402>;
318                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
319                         resets = <&cpg 402>;
320                         status = "disabled";
321                 };
322
323                 sysc: system-controller@e6180000 {
324                         compatible = "renesas,r8a7743-sysc";
325                         reg = <0 0xe6180000 0 0x200>;
326                         #power-domain-cells = <1>;
327                 };
328
329                 irqc: interrupt-controller@e61c0000 {
330                         compatible = "renesas,irqc-r8a7743", "renesas,irqc";
331                         #interrupt-cells = <2>;
332                         interrupt-controller;
333                         reg = <0 0xe61c0000 0 0x200>;
334                         interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
335                                      <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
336                                      <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
337                                      <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
338                                      <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
339                                      <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
340                                      <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
341                                      <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
342                                      <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
343                                      <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
344                         clocks = <&cpg CPG_MOD 407>;
345                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
346                         resets = <&cpg 407>;
347                 };
348
349                 thermal: thermal@e61f0000 {
350                         compatible = "renesas,thermal-r8a7743",
351                                      "renesas,rcar-gen2-thermal",
352                                      "renesas,rcar-thermal";
353                         reg = <0 0xe61f0000 0 0x10>, <0 0xe61f0100 0 0x38>;
354                         interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
355                         clocks = <&cpg CPG_MOD 522>;
356                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
357                         resets = <&cpg 522>;
358                         #thermal-sensor-cells = <0>;
359                 };
360
361                 ipmmu_sy0: mmu@e6280000 {
362                         compatible = "renesas,ipmmu-r8a7743",
363                                      "renesas,ipmmu-vmsa";
364                         reg = <0 0xe6280000 0 0x1000>;
365                         interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>,
366                                      <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>;
367                         #iommu-cells = <1>;
368                         status = "disabled";
369                 };
370
371                 ipmmu_sy1: mmu@e6290000 {
372                         compatible = "renesas,ipmmu-r8a7743",
373                                      "renesas,ipmmu-vmsa";
374                         reg = <0 0xe6290000 0 0x1000>;
375                         interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>;
376                         #iommu-cells = <1>;
377                         status = "disabled";
378                 };
379
380                 ipmmu_ds: mmu@e6740000 {
381                         compatible = "renesas,ipmmu-r8a7743",
382                                      "renesas,ipmmu-vmsa";
383                         reg = <0 0xe6740000 0 0x1000>;
384                         interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>,
385                                      <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>;
386                         #iommu-cells = <1>;
387                         status = "disabled";
388                 };
389
390                 ipmmu_mp: mmu@ec680000 {
391                         compatible = "renesas,ipmmu-r8a7743",
392                                      "renesas,ipmmu-vmsa";
393                         reg = <0 0xec680000 0 0x1000>;
394                         interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
395                         #iommu-cells = <1>;
396                         status = "disabled";
397                 };
398
399                 ipmmu_mx: mmu@fe951000 {
400                         compatible = "renesas,ipmmu-r8a7743",
401                                      "renesas,ipmmu-vmsa";
402                         reg = <0 0xfe951000 0 0x1000>;
403                         interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>,
404                                      <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
405                         #iommu-cells = <1>;
406                         status = "disabled";
407                 };
408
409                 ipmmu_gp: mmu@e62a0000 {
410                         compatible = "renesas,ipmmu-r8a7743",
411                                      "renesas,ipmmu-vmsa";
412                         reg = <0 0xe62a0000 0 0x1000>;
413                         interrupts = <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>,
414                                      <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>;
415                         #iommu-cells = <1>;
416                         status = "disabled";
417                 };
418
419                 icram0: sram@e63a0000 {
420                         compatible = "mmio-sram";
421                         reg = <0 0xe63a0000 0 0x12000>;
422                 };
423
424                 icram1: sram@e63c0000 {
425                         compatible = "mmio-sram";
426                         reg = <0 0xe63c0000 0 0x1000>;
427                         #address-cells = <1>;
428                         #size-cells = <1>;
429                         ranges = <0 0 0xe63c0000 0x1000>;
430
431                         smp-sram@0 {
432                                 compatible = "renesas,smp-sram";
433                                 reg = <0 0x100>;
434                         };
435                 };
436
437                 icram2: sram@e6300000 {
438                         compatible = "mmio-sram";
439                         reg = <0 0xe6300000 0 0x40000>;
440                 };
441
442                 /* The memory map in the User's Manual maps the cores to
443                  * bus numbers
444                  */
445                 i2c0: i2c@e6508000 {
446                         #address-cells = <1>;
447                         #size-cells = <0>;
448                         compatible = "renesas,i2c-r8a7743",
449                                      "renesas,rcar-gen2-i2c";
450                         reg = <0 0xe6508000 0 0x40>;
451                         interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
452                         clocks = <&cpg CPG_MOD 931>;
453                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
454                         resets = <&cpg 931>;
455                         i2c-scl-internal-delay-ns = <6>;
456                         status = "disabled";
457                 };
458
459                 i2c1: i2c@e6518000 {
460                         #address-cells = <1>;
461                         #size-cells = <0>;
462                         compatible = "renesas,i2c-r8a7743",
463                                      "renesas,rcar-gen2-i2c";
464                         reg = <0 0xe6518000 0 0x40>;
465                         interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
466                         clocks = <&cpg CPG_MOD 930>;
467                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
468                         resets = <&cpg 930>;
469                         i2c-scl-internal-delay-ns = <6>;
470                         status = "disabled";
471                 };
472
473                 i2c2: i2c@e6530000 {
474                         #address-cells = <1>;
475                         #size-cells = <0>;
476                         compatible = "renesas,i2c-r8a7743",
477                                      "renesas,rcar-gen2-i2c";
478                         reg = <0 0xe6530000 0 0x40>;
479                         interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
480                         clocks = <&cpg CPG_MOD 929>;
481                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
482                         resets = <&cpg 929>;
483                         i2c-scl-internal-delay-ns = <6>;
484                         status = "disabled";
485                 };
486
487                 i2c3: i2c@e6540000 {
488                         #address-cells = <1>;
489                         #size-cells = <0>;
490                         compatible = "renesas,i2c-r8a7743",
491                                      "renesas,rcar-gen2-i2c";
492                         reg = <0 0xe6540000 0 0x40>;
493                         interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
494                         clocks = <&cpg CPG_MOD 928>;
495                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
496                         resets = <&cpg 928>;
497                         i2c-scl-internal-delay-ns = <6>;
498                         status = "disabled";
499                 };
500
501                 i2c4: i2c@e6520000 {
502                         #address-cells = <1>;
503                         #size-cells = <0>;
504                         compatible = "renesas,i2c-r8a7743",
505                                      "renesas,rcar-gen2-i2c";
506                         reg = <0 0xe6520000 0 0x40>;
507                         interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
508                         clocks = <&cpg CPG_MOD 927>;
509                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
510                         resets = <&cpg 927>;
511                         i2c-scl-internal-delay-ns = <6>;
512                         status = "disabled";
513                 };
514
515                 i2c5: i2c@e6528000 {
516                         /* doesn't need pinmux */
517                         #address-cells = <1>;
518                         #size-cells = <0>;
519                         compatible = "renesas,i2c-r8a7743",
520                                      "renesas,rcar-gen2-i2c";
521                         reg = <0 0xe6528000 0 0x40>;
522                         interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
523                         clocks = <&cpg CPG_MOD 925>;
524                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
525                         resets = <&cpg 925>;
526                         i2c-scl-internal-delay-ns = <110>;
527                         status = "disabled";
528                 };
529
530                 iic0: i2c@e6500000 {
531                         #address-cells = <1>;
532                         #size-cells = <0>;
533                         compatible = "renesas,iic-r8a7743",
534                                      "renesas,rcar-gen2-iic",
535                                      "renesas,rmobile-iic";
536                         reg = <0 0xe6500000 0 0x425>;
537                         interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
538                         clocks = <&cpg CPG_MOD 318>;
539                         dmas = <&dmac0 0x61>, <&dmac0 0x62>,
540                                <&dmac1 0x61>, <&dmac1 0x62>;
541                         dma-names = "tx", "rx", "tx", "rx";
542                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
543                         resets = <&cpg 318>;
544                         status = "disabled";
545                 };
546
547                 iic1: i2c@e6510000 {
548                         #address-cells = <1>;
549                         #size-cells = <0>;
550                         compatible = "renesas,iic-r8a7743",
551                                      "renesas,rcar-gen2-iic",
552                                      "renesas,rmobile-iic";
553                         reg = <0 0xe6510000 0 0x425>;
554                         interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
555                         clocks = <&cpg CPG_MOD 323>;
556                         dmas = <&dmac0 0x65>, <&dmac0 0x66>,
557                                <&dmac1 0x65>, <&dmac1 0x66>;
558                         dma-names = "tx", "rx", "tx", "rx";
559                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
560                         resets = <&cpg 323>;
561                         status = "disabled";
562                 };
563
564                 iic3: i2c@e60b0000 {
565                         /* doesn't need pinmux */
566                         #address-cells = <1>;
567                         #size-cells = <0>;
568                         compatible = "renesas,iic-r8a7743",
569                                      "renesas,rcar-gen2-iic",
570                                      "renesas,rmobile-iic";
571                         reg = <0 0xe60b0000 0 0x425>;
572                         interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
573                         clocks = <&cpg CPG_MOD 926>;
574                         dmas = <&dmac0 0x77>, <&dmac0 0x78>,
575                                <&dmac1 0x77>, <&dmac1 0x78>;
576                         dma-names = "tx", "rx", "tx", "rx";
577                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
578                         resets = <&cpg 926>;
579                         status = "disabled";
580                 };
581
582                 hsusb: usb@e6590000 {
583                         compatible = "renesas,usbhs-r8a7743",
584                                      "renesas,rcar-gen2-usbhs";
585                         reg = <0 0xe6590000 0 0x100>;
586                         interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
587                         clocks = <&cpg CPG_MOD 704>;
588                         dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
589                                <&usb_dmac1 0>, <&usb_dmac1 1>;
590                         dma-names = "ch0", "ch1", "ch2", "ch3";
591                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
592                         resets = <&cpg 704>;
593                         renesas,buswait = <4>;
594                         phys = <&usb0 1>;
595                         phy-names = "usb";
596                         status = "disabled";
597                 };
598
599                 usbphy: usb-phy@e6590100 {
600                         compatible = "renesas,usb-phy-r8a7743",
601                                      "renesas,rcar-gen2-usb-phy";
602                         reg = <0 0xe6590100 0 0x100>;
603                         #address-cells = <1>;
604                         #size-cells = <0>;
605                         clocks = <&cpg CPG_MOD 704>;
606                         clock-names = "usbhs";
607                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
608                         resets = <&cpg 704>;
609                         status = "disabled";
610
611                         usb0: usb-channel@0 {
612                                 reg = <0>;
613                                 #phy-cells = <1>;
614                         };
615                         usb2: usb-channel@2 {
616                                 reg = <2>;
617                                 #phy-cells = <1>;
618                         };
619                 };
620
621                 usb_dmac0: dma-controller@e65a0000 {
622                         compatible = "renesas,r8a7743-usb-dmac",
623                                      "renesas,usb-dmac";
624                         reg = <0 0xe65a0000 0 0x100>;
625                         interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH
626                                       GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
627                         interrupt-names = "ch0", "ch1";
628                         clocks = <&cpg CPG_MOD 330>;
629                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
630                         resets = <&cpg 330>;
631                         #dma-cells = <1>;
632                         dma-channels = <2>;
633                 };
634
635                 usb_dmac1: dma-controller@e65b0000 {
636                         compatible = "renesas,r8a7743-usb-dmac",
637                                      "renesas,usb-dmac";
638                         reg = <0 0xe65b0000 0 0x100>;
639                         interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH
640                                       GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
641                         interrupt-names = "ch0", "ch1";
642                         clocks = <&cpg CPG_MOD 331>;
643                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
644                         resets = <&cpg 331>;
645                         #dma-cells = <1>;
646                         dma-channels = <2>;
647                 };
648
649                 dmac0: dma-controller@e6700000 {
650                         compatible = "renesas,dmac-r8a7743",
651                                      "renesas,rcar-dmac";
652                         reg = <0 0xe6700000 0 0x20000>;
653                         interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH
654                                       GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH
655                                       GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH
656                                       GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH
657                                       GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH
658                                       GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH
659                                       GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH
660                                       GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH
661                                       GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH
662                                       GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH
663                                       GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH
664                                       GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH
665                                       GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH
666                                       GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH
667                                       GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH
668                                       GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>;
669                         interrupt-names = "error",
670                                           "ch0", "ch1", "ch2", "ch3",
671                                           "ch4", "ch5", "ch6", "ch7",
672                                           "ch8", "ch9", "ch10", "ch11",
673                                           "ch12", "ch13", "ch14";
674                         clocks = <&cpg CPG_MOD 219>;
675                         clock-names = "fck";
676                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
677                         resets = <&cpg 219>;
678                         #dma-cells = <1>;
679                         dma-channels = <15>;
680                 };
681
682                 dmac1: dma-controller@e6720000 {
683                         compatible = "renesas,dmac-r8a7743",
684                                      "renesas,rcar-dmac";
685                         reg = <0 0xe6720000 0 0x20000>;
686                         interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
687                                       GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
688                                       GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
689                                       GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
690                                       GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
691                                       GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
692                                       GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
693                                       GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
694                                       GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
695                                       GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
696                                       GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
697                                       GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
698                                       GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
699                                       GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
700                                       GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
701                                       GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>;
702                         interrupt-names = "error",
703                                           "ch0", "ch1", "ch2", "ch3",
704                                           "ch4", "ch5", "ch6", "ch7",
705                                           "ch8", "ch9", "ch10", "ch11",
706                                           "ch12", "ch13", "ch14";
707                         clocks = <&cpg CPG_MOD 218>;
708                         clock-names = "fck";
709                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
710                         resets = <&cpg 218>;
711                         #dma-cells = <1>;
712                         dma-channels = <15>;
713                 };
714
715                 avb: ethernet@e6800000 {
716                         compatible = "renesas,etheravb-r8a7743",
717                                      "renesas,etheravb-rcar-gen2";
718                         reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>;
719                         interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
720                         clocks = <&cpg CPG_MOD 812>;
721                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
722                         resets = <&cpg 812>;
723                         #address-cells = <1>;
724                         #size-cells = <0>;
725                         status = "disabled";
726                 };
727
728                 qspi: spi@e6b10000 {
729                         compatible = "renesas,qspi-r8a7743", "renesas,qspi";
730                         reg = <0 0xe6b10000 0 0x2c>;
731                         interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
732                         clocks = <&cpg CPG_MOD 917>;
733                         dmas = <&dmac0 0x17>, <&dmac0 0x18>,
734                                <&dmac1 0x17>, <&dmac1 0x18>;
735                         dma-names = "tx", "rx", "tx", "rx";
736                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
737                         num-cs = <1>;
738                         #address-cells = <1>;
739                         #size-cells = <0>;
740                         resets = <&cpg 917>;
741                         status = "disabled";
742                 };
743
744                 scifa0: serial@e6c40000 {
745                         compatible = "renesas,scifa-r8a7743",
746                                      "renesas,rcar-gen2-scifa", "renesas,scifa";
747                         reg = <0 0xe6c40000 0 0x40>;
748                         interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
749                         clocks = <&cpg CPG_MOD 204>;
750                         clock-names = "fck";
751                         dmas = <&dmac0 0x21>, <&dmac0 0x22>,
752                                <&dmac1 0x21>, <&dmac1 0x22>;
753                         dma-names = "tx", "rx", "tx", "rx";
754                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
755                         resets = <&cpg 204>;
756                         status = "disabled";
757                 };
758
759                 scifa1: serial@e6c50000 {
760                         compatible = "renesas,scifa-r8a7743",
761                                      "renesas,rcar-gen2-scifa", "renesas,scifa";
762                         reg = <0 0xe6c50000 0 0x40>;
763                         interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
764                         clocks = <&cpg CPG_MOD 203>;
765                         clock-names = "fck";
766                         dmas = <&dmac0 0x25>, <&dmac0 0x26>,
767                                <&dmac1 0x25>, <&dmac1 0x26>;
768                         dma-names = "tx", "rx", "tx", "rx";
769                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
770                         resets = <&cpg 203>;
771                         status = "disabled";
772                 };
773
774                 scifa2: serial@e6c60000 {
775                         compatible = "renesas,scifa-r8a7743",
776                                      "renesas,rcar-gen2-scifa", "renesas,scifa";
777                         reg = <0 0xe6c60000 0 0x40>;
778                         interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
779                         clocks = <&cpg CPG_MOD 202>;
780                         clock-names = "fck";
781                         dmas = <&dmac0 0x27>, <&dmac0 0x28>,
782                                <&dmac1 0x27>, <&dmac1 0x28>;
783                         dma-names = "tx", "rx", "tx", "rx";
784                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
785                         resets = <&cpg 202>;
786                         status = "disabled";
787                 };
788
789                 scifa3: serial@e6c70000 {
790                         compatible = "renesas,scifa-r8a7743",
791                                      "renesas,rcar-gen2-scifa", "renesas,scifa";
792                         reg = <0 0xe6c70000 0 0x40>;
793                         interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
794                         clocks = <&cpg CPG_MOD 1106>;
795                         clock-names = "fck";
796                         dmas = <&dmac0 0x1b>, <&dmac0 0x1c>,
797                                <&dmac1 0x1b>, <&dmac1 0x1c>;
798                         dma-names = "tx", "rx", "tx", "rx";
799                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
800                         resets = <&cpg 1106>;
801                         status = "disabled";
802                 };
803
804                 scifa4: serial@e6c78000 {
805                         compatible = "renesas,scifa-r8a7743",
806                                      "renesas,rcar-gen2-scifa", "renesas,scifa";
807                         reg = <0 0xe6c78000 0 0x40>;
808                         interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
809                         clocks = <&cpg CPG_MOD 1107>;
810                         clock-names = "fck";
811                         dmas = <&dmac0 0x1f>, <&dmac0 0x20>,
812                                <&dmac1 0x1f>, <&dmac1 0x20>;
813                         dma-names = "tx", "rx", "tx", "rx";
814                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
815                         resets = <&cpg 1107>;
816                         status = "disabled";
817                 };
818
819                 scifa5: serial@e6c80000 {
820                         compatible = "renesas,scifa-r8a7743",
821                                      "renesas,rcar-gen2-scifa", "renesas,scifa";
822                         reg = <0 0xe6c80000 0 0x40>;
823                         interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
824                         clocks = <&cpg CPG_MOD 1108>;
825                         clock-names = "fck";
826                         dmas = <&dmac0 0x23>, <&dmac0 0x24>,
827                                <&dmac1 0x23>, <&dmac1 0x24>;
828                         dma-names = "tx", "rx", "tx", "rx";
829                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
830                         resets = <&cpg 1108>;
831                         status = "disabled";
832                 };
833
834                 scifb0: serial@e6c20000 {
835                         compatible = "renesas,scifb-r8a7743",
836                                      "renesas,rcar-gen2-scifb", "renesas,scifb";
837                         reg = <0 0xe6c20000 0 0x100>;
838                         interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
839                         clocks = <&cpg CPG_MOD 206>;
840                         clock-names = "fck";
841                         dmas = <&dmac0 0x3d>, <&dmac0 0x3e>,
842                                <&dmac1 0x3d>, <&dmac1 0x3e>;
843                         dma-names = "tx", "rx", "tx", "rx";
844                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
845                         resets = <&cpg 206>;
846                         status = "disabled";
847                 };
848
849                 scifb1: serial@e6c30000 {
850                         compatible = "renesas,scifb-r8a7743",
851                                      "renesas,rcar-gen2-scifb", "renesas,scifb";
852                         reg = <0 0xe6c30000 0 0x100>;
853                         interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
854                         clocks = <&cpg CPG_MOD 207>;
855                         clock-names = "fck";
856                         dmas = <&dmac0 0x19>, <&dmac0 0x1a>,
857                                <&dmac1 0x19>, <&dmac1 0x1a>;
858                         dma-names = "tx", "rx", "tx", "rx";
859                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
860                         resets = <&cpg 207>;
861                         status = "disabled";
862                 };
863
864                 scifb2: serial@e6ce0000 {
865                         compatible = "renesas,scifb-r8a7743",
866                                      "renesas,rcar-gen2-scifb", "renesas,scifb";
867                         reg = <0 0xe6ce0000 0 0x100>;
868                         interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
869                         clocks = <&cpg CPG_MOD 216>;
870                         clock-names = "fck";
871                         dmas = <&dmac0 0x1d>, <&dmac0 0x1e>,
872                                <&dmac1 0x1d>, <&dmac1 0x1e>;
873                         dma-names = "tx", "rx", "tx", "rx";
874                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
875                         resets = <&cpg 216>;
876                         status = "disabled";
877                 };
878
879                 scif0: serial@e6e60000 {
880                         compatible = "renesas,scif-r8a7743",
881                                      "renesas,rcar-gen2-scif", "renesas,scif";
882                         reg = <0 0xe6e60000 0 0x40>;
883                         interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
884                         clocks = <&cpg CPG_MOD 721>,
885                                  <&cpg CPG_CORE R8A7743_CLK_ZS>, <&scif_clk>;
886                         clock-names = "fck", "brg_int", "scif_clk";
887                         dmas = <&dmac0 0x29>, <&dmac0 0x2a>,
888                                <&dmac1 0x29>, <&dmac1 0x2a>;
889                         dma-names = "tx", "rx", "tx", "rx";
890                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
891                         resets = <&cpg 721>;
892                         status = "disabled";
893                 };
894
895                 scif1: serial@e6e68000 {
896                         compatible = "renesas,scif-r8a7743",
897                                      "renesas,rcar-gen2-scif", "renesas,scif";
898                         reg = <0 0xe6e68000 0 0x40>;
899                         interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
900                         clocks = <&cpg CPG_MOD 720>,
901                                  <&cpg CPG_CORE R8A7743_CLK_ZS>, <&scif_clk>;
902                         clock-names = "fck", "brg_int", "scif_clk";
903                         dmas = <&dmac0 0x2d>, <&dmac0 0x2e>,
904                                <&dmac1 0x2d>, <&dmac1 0x2e>;
905                         dma-names = "tx", "rx", "tx", "rx";
906                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
907                         resets = <&cpg 720>;
908                         status = "disabled";
909                 };
910
911                 scif2: serial@e6e58000 {
912                         compatible = "renesas,scif-r8a7743",
913                                      "renesas,rcar-gen2-scif", "renesas,scif";
914                         reg = <0 0xe6e58000 0 0x40>;
915                         interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
916                         clocks = <&cpg CPG_MOD 719>,
917                                  <&cpg CPG_CORE R8A7743_CLK_ZS>, <&scif_clk>;
918                         clock-names = "fck", "brg_int", "scif_clk";
919                         dmas = <&dmac0 0x2b>, <&dmac0 0x2c>,
920                                <&dmac1 0x2b>, <&dmac1 0x2c>;
921                         dma-names = "tx", "rx", "tx", "rx";
922                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
923                         resets = <&cpg 719>;
924                         status = "disabled";
925                 };
926
927                 scif3: serial@e6ea8000 {
928                         compatible = "renesas,scif-r8a7743",
929                                      "renesas,rcar-gen2-scif", "renesas,scif";
930                         reg = <0 0xe6ea8000 0 0x40>;
931                         interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
932                         clocks = <&cpg CPG_MOD 718>,
933                                  <&cpg CPG_CORE R8A7743_CLK_ZS>, <&scif_clk>;
934                         clock-names = "fck", "brg_int", "scif_clk";
935                         dmas = <&dmac0 0x2f>, <&dmac0 0x30>,
936                                <&dmac1 0x2f>, <&dmac1 0x30>;
937                         dma-names = "tx", "rx", "tx", "rx";
938                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
939                         resets = <&cpg 718>;
940                         status = "disabled";
941                 };
942
943                 scif4: serial@e6ee0000 {
944                         compatible = "renesas,scif-r8a7743",
945                                      "renesas,rcar-gen2-scif", "renesas,scif";
946                         reg = <0 0xe6ee0000 0 0x40>;
947                         interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
948                         clocks = <&cpg CPG_MOD 715>,
949                                  <&cpg CPG_CORE R8A7743_CLK_ZS>, <&scif_clk>;
950                         clock-names = "fck", "brg_int", "scif_clk";
951                         dmas = <&dmac0 0xfb>, <&dmac0 0xfc>,
952                                <&dmac1 0xfb>, <&dmac1 0xfc>;
953                         dma-names = "tx", "rx", "tx", "rx";
954                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
955                         resets = <&cpg 715>;
956                         status = "disabled";
957                 };
958
959                 scif5: serial@e6ee8000 {
960                         compatible = "renesas,scif-r8a7743",
961                                      "renesas,rcar-gen2-scif", "renesas,scif";
962                         reg = <0 0xe6ee8000 0 0x40>;
963                         interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
964                         clocks = <&cpg CPG_MOD 714>,
965                                  <&cpg CPG_CORE R8A7743_CLK_ZS>, <&scif_clk>;
966                         clock-names = "fck", "brg_int", "scif_clk";
967                         dmas = <&dmac0 0xfd>, <&dmac0 0xfe>,
968                                <&dmac1 0xfd>, <&dmac1 0xfe>;
969                         dma-names = "tx", "rx", "tx", "rx";
970                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
971                         resets = <&cpg 714>;
972                         status = "disabled";
973                 };
974
975                 hscif0: serial@e62c0000 {
976                         compatible = "renesas,hscif-r8a7743",
977                                      "renesas,rcar-gen2-hscif", "renesas,hscif";
978                         reg = <0 0xe62c0000 0 0x60>;
979                         interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
980                         clocks = <&cpg CPG_MOD 717>,
981                                  <&cpg CPG_CORE R8A7743_CLK_ZS>, <&scif_clk>;
982                         clock-names = "fck", "brg_int", "scif_clk";
983                         dmas = <&dmac0 0x39>, <&dmac0 0x3a>,
984                                <&dmac1 0x39>, <&dmac1 0x3a>;
985                         dma-names = "tx", "rx", "tx", "rx";
986                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
987                         resets = <&cpg 717>;
988                         status = "disabled";
989                 };
990
991                 hscif1: serial@e62c8000 {
992                         compatible = "renesas,hscif-r8a7743",
993                                      "renesas,rcar-gen2-hscif", "renesas,hscif";
994                         reg = <0 0xe62c8000 0 0x60>;
995                         interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
996                         clocks = <&cpg CPG_MOD 716>,
997                                  <&cpg CPG_CORE R8A7743_CLK_ZS>, <&scif_clk>;
998                         clock-names = "fck", "brg_int", "scif_clk";
999                         dmas = <&dmac0 0x4d>, <&dmac0 0x4e>,
1000                                <&dmac1 0x4d>, <&dmac1 0x4e>;
1001                         dma-names = "tx", "rx", "tx", "rx";
1002                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1003                         resets = <&cpg 716>;
1004                         status = "disabled";
1005                 };
1006
1007                 hscif2: serial@e62d0000 {
1008                         compatible = "renesas,hscif-r8a7743",
1009                                      "renesas,rcar-gen2-hscif", "renesas,hscif";
1010                         reg = <0 0xe62d0000 0 0x60>;
1011                         interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
1012                         clocks = <&cpg CPG_MOD 713>,
1013                                  <&cpg CPG_CORE R8A7743_CLK_ZS>, <&scif_clk>;
1014                         clock-names = "fck", "brg_int", "scif_clk";
1015                         dmas = <&dmac0 0x3b>, <&dmac0 0x3c>,
1016                                <&dmac1 0x3b>, <&dmac1 0x3c>;
1017                         dma-names = "tx", "rx", "tx", "rx";
1018                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1019                         resets = <&cpg 713>;
1020                         status = "disabled";
1021                 };
1022
1023                 msiof0: spi@e6e20000 {
1024                         compatible = "renesas,msiof-r8a7743",
1025                                      "renesas,rcar-gen2-msiof";
1026                         reg = <0 0xe6e20000 0 0x0064>;
1027                         interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
1028                         clocks = <&cpg CPG_MOD 000>;
1029                         dmas = <&dmac0 0x51>, <&dmac0 0x52>,
1030                                <&dmac1 0x51>, <&dmac1 0x52>;
1031                         dma-names = "tx", "rx", "tx", "rx";
1032                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1033                         #address-cells = <1>;
1034                         #size-cells = <0>;
1035                         resets = <&cpg 000>;
1036                         status = "disabled";
1037                 };
1038
1039                 msiof1: spi@e6e10000 {
1040                         compatible = "renesas,msiof-r8a7743",
1041                                      "renesas,rcar-gen2-msiof";
1042                         reg = <0 0xe6e10000 0 0x0064>;
1043                         interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
1044                         clocks = <&cpg CPG_MOD 208>;
1045                         dmas = <&dmac0 0x55>, <&dmac0 0x56>,
1046                                <&dmac1 0x55>, <&dmac1 0x56>;
1047                         dma-names = "tx", "rx", "tx", "rx";
1048                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1049                         #address-cells = <1>;
1050                         #size-cells = <0>;
1051                         resets = <&cpg 208>;
1052                         status = "disabled";
1053                 };
1054
1055                 msiof2: spi@e6e00000 {
1056                         compatible = "renesas,msiof-r8a7743",
1057                                      "renesas,rcar-gen2-msiof";
1058                         reg = <0 0xe6e00000 0 0x0064>;
1059                         interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
1060                         clocks = <&cpg CPG_MOD 205>;
1061                         dmas = <&dmac0 0x41>, <&dmac0 0x42>,
1062                                <&dmac1 0x41>, <&dmac1 0x42>;
1063                         dma-names = "tx", "rx", "tx", "rx";
1064                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1065                         #address-cells = <1>;
1066                         #size-cells = <0>;
1067                         resets = <&cpg 205>;
1068                         status = "disabled";
1069                 };
1070
1071                 pwm0: pwm@e6e30000 {
1072                         compatible = "renesas,pwm-r8a7743", "renesas,pwm-rcar";
1073                         reg = <0 0xe6e30000 0 0x8>;
1074                         clocks = <&cpg CPG_MOD 523>;
1075                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1076                         resets = <&cpg 523>;
1077                         #pwm-cells = <2>;
1078                         status = "disabled";
1079                 };
1080
1081                 pwm1: pwm@e6e31000 {
1082                         compatible = "renesas,pwm-r8a7743", "renesas,pwm-rcar";
1083                         reg = <0 0xe6e31000 0 0x8>;
1084                         clocks = <&cpg CPG_MOD 523>;
1085                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1086                         resets = <&cpg 523>;
1087                         #pwm-cells = <2>;
1088                         status = "disabled";
1089                 };
1090
1091                 pwm2: pwm@e6e32000 {
1092                         compatible = "renesas,pwm-r8a7743", "renesas,pwm-rcar";
1093                         reg = <0 0xe6e32000 0 0x8>;
1094                         clocks = <&cpg CPG_MOD 523>;
1095                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1096                         resets = <&cpg 523>;
1097                         #pwm-cells = <2>;
1098                         status = "disabled";
1099                 };
1100
1101                 pwm3: pwm@e6e33000 {
1102                         compatible = "renesas,pwm-r8a7743", "renesas,pwm-rcar";
1103                         reg = <0 0xe6e33000 0 0x8>;
1104                         clocks = <&cpg CPG_MOD 523>;
1105                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1106                         resets = <&cpg 523>;
1107                         #pwm-cells = <2>;
1108                         status = "disabled";
1109                 };
1110
1111                 pwm4: pwm@e6e34000 {
1112                         compatible = "renesas,pwm-r8a7743", "renesas,pwm-rcar";
1113                         reg = <0 0xe6e34000 0 0x8>;
1114                         clocks = <&cpg CPG_MOD 523>;
1115                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1116                         resets = <&cpg 523>;
1117                         #pwm-cells = <2>;
1118                         status = "disabled";
1119                 };
1120
1121                 pwm5: pwm@e6e35000 {
1122                         compatible = "renesas,pwm-r8a7743", "renesas,pwm-rcar";
1123                         reg = <0 0xe6e35000 0 0x8>;
1124                         clocks = <&cpg CPG_MOD 523>;
1125                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1126                         resets = <&cpg 523>;
1127                         #pwm-cells = <2>;
1128                         status = "disabled";
1129                 };
1130
1131                 pwm6: pwm@e6e36000 {
1132                         compatible = "renesas,pwm-r8a7743", "renesas,pwm-rcar";
1133                         reg = <0 0xe6e36000 0 0x8>;
1134                         clocks = <&cpg CPG_MOD 523>;
1135                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1136                         resets = <&cpg 523>;
1137                         #pwm-cells = <2>;
1138                         status = "disabled";
1139                 };
1140
1141                 can0: can@e6e80000 {
1142                         compatible = "renesas,can-r8a7743",
1143                                      "renesas,rcar-gen2-can";
1144                         reg = <0 0xe6e80000 0 0x1000>;
1145                         interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
1146                         clocks = <&cpg CPG_MOD 916>,
1147                                  <&cpg CPG_CORE R8A7743_CLK_RCAN>,
1148                                  <&can_clk>;
1149                         clock-names = "clkp1", "clkp2", "can_clk";
1150                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1151                         resets = <&cpg 916>;
1152                         status = "disabled";
1153                 };
1154
1155                 can1: can@e6e88000 {
1156                         compatible = "renesas,can-r8a7743",
1157                                      "renesas,rcar-gen2-can";
1158                         reg = <0 0xe6e88000 0 0x1000>;
1159                         interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
1160                         clocks = <&cpg CPG_MOD 915>,
1161                                  <&cpg CPG_CORE R8A7743_CLK_RCAN>,
1162                                  <&can_clk>;
1163                         clock-names = "clkp1", "clkp2", "can_clk";
1164                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1165                         resets = <&cpg 915>;
1166                         status = "disabled";
1167                 };
1168
1169                 vin0: video@e6ef0000 {
1170                         compatible = "renesas,vin-r8a7743",
1171                                      "renesas,rcar-gen2-vin";
1172                         reg = <0 0xe6ef0000 0 0x1000>;
1173                         interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
1174                         clocks = <&cpg CPG_MOD 811>;
1175                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1176                         resets = <&cpg 811>;
1177                         status = "disabled";
1178                 };
1179
1180                 vin1: video@e6ef1000 {
1181                         compatible = "renesas,vin-r8a7743",
1182                                      "renesas,rcar-gen2-vin";
1183                         reg = <0 0xe6ef1000 0 0x1000>;
1184                         interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
1185                         clocks = <&cpg CPG_MOD 810>;
1186                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1187                         resets = <&cpg 810>;
1188                         status = "disabled";
1189                 };
1190
1191                 vin2: video@e6ef2000 {
1192                         compatible = "renesas,vin-r8a7743",
1193                                      "renesas,rcar-gen2-vin";
1194                         reg = <0 0xe6ef2000 0 0x1000>;
1195                         interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
1196                         clocks = <&cpg CPG_MOD 809>;
1197                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1198                         resets = <&cpg 809>;
1199                         status = "disabled";
1200                 };
1201
1202                 rcar_sound: sound@ec500000 {
1203                         /*
1204                          * #sound-dai-cells is required
1205                          *
1206                          * Single DAI : #sound-dai-cells = <0>;         <&rcar_sound>;
1207                          * Multi  DAI : #sound-dai-cells = <1>;         <&rcar_sound N>;
1208                          */
1209                         compatible = "renesas,rcar_sound-r8a7743",
1210                                      "renesas,rcar_sound-gen2";
1211                         reg = <0 0xec500000 0 0x1000>, /* SCU */
1212                               <0 0xec5a0000 0 0x100>,  /* ADG */
1213                               <0 0xec540000 0 0x1000>, /* SSIU */
1214                               <0 0xec541000 0 0x280>,  /* SSI */
1215                               <0 0xec740000 0 0x200>;  /* Audio DMAC peri peri*/
1216                         reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
1217
1218                         clocks = <&cpg CPG_MOD 1005>,
1219                                  <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
1220                                  <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
1221                                  <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
1222                                  <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
1223                                  <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
1224                                  <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
1225                                  <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
1226                                  <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
1227                                  <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
1228                                  <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
1229                                  <&cpg CPG_MOD 1021>, <&cpg CPG_MOD 1020>,
1230                                  <&cpg CPG_MOD 1021>, <&cpg CPG_MOD 1020>,
1231                                  <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
1232                                  <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>,
1233                                  <&cpg CPG_CORE R8A7743_CLK_M2>;
1234                         clock-names = "ssi-all",
1235                                       "ssi.9", "ssi.8", "ssi.7", "ssi.6", "ssi.5",
1236                                       "ssi.4", "ssi.3", "ssi.2", "ssi.1", "ssi.0",
1237                                       "src.9", "src.8", "src.7", "src.6", "src.5",
1238                                       "src.4", "src.3", "src.2", "src.1", "src.0",
1239                                       "ctu.0", "ctu.1",
1240                                       "mix.0", "mix.1",
1241                                       "dvc.0", "dvc.1",
1242                                       "clk_a", "clk_b", "clk_c", "clk_i";
1243                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1244                         resets = <&cpg 1005>,
1245                                  <&cpg 1006>, <&cpg 1007>, <&cpg 1008>, <&cpg 1009>,
1246                                  <&cpg 1010>, <&cpg 1011>, <&cpg 1012>, <&cpg 1013>,
1247                                  <&cpg 1014>, <&cpg 1015>;
1248                         reset-names = "ssi-all",
1249                                       "ssi.9", "ssi.8", "ssi.7", "ssi.6", "ssi.5",
1250                                       "ssi.4", "ssi.3", "ssi.2", "ssi.1", "ssi.0";
1251                         status = "disabled";
1252
1253                         rcar_sound,dvc {
1254                                 dvc0: dvc-0 {
1255                                         dmas = <&audma1 0xbc>;
1256                                         dma-names = "tx";
1257                                 };
1258                                 dvc1: dvc-1 {
1259                                         dmas = <&audma1 0xbe>;
1260                                         dma-names = "tx";
1261                                 };
1262                         };
1263
1264                         rcar_sound,mix {
1265                                 mix0: mix-0 { };
1266                                 mix1: mix-1 { };
1267                         };
1268
1269                         rcar_sound,ctu {
1270                                 ctu00: ctu-0 { };
1271                                 ctu01: ctu-1 { };
1272                                 ctu02: ctu-2 { };
1273                                 ctu03: ctu-3 { };
1274                                 ctu10: ctu-4 { };
1275                                 ctu11: ctu-5 { };
1276                                 ctu12: ctu-6 { };
1277                                 ctu13: ctu-7 { };
1278                         };
1279
1280                         rcar_sound,src {
1281                                 src0: src-0 {
1282                                         interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
1283                                         dmas = <&audma0 0x85>, <&audma1 0x9a>;
1284                                         dma-names = "rx", "tx";
1285                                 };
1286                                 src1: src-1 {
1287                                         interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1288                                         dmas = <&audma0 0x87>, <&audma1 0x9c>;
1289                                         dma-names = "rx", "tx";
1290                                 };
1291                                 src2: src-2 {
1292                                         interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1293                                         dmas = <&audma0 0x89>, <&audma1 0x9e>;
1294                                         dma-names = "rx", "tx";
1295                                 };
1296                                 src3: src-3 {
1297                                         interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1298                                         dmas = <&audma0 0x8b>, <&audma1 0xa0>;
1299                                         dma-names = "rx", "tx";
1300                                 };
1301                                 src4: src-4 {
1302                                         interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1303                                         dmas = <&audma0 0x8d>, <&audma1 0xb0>;
1304                                         dma-names = "rx", "tx";
1305                                 };
1306                                 src5: src-5 {
1307                                         interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1308                                         dmas = <&audma0 0x8f>, <&audma1 0xb2>;
1309                                         dma-names = "rx", "tx";
1310                                 };
1311                                 src6: src-6 {
1312                                         interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1313                                         dmas = <&audma0 0x91>, <&audma1 0xb4>;
1314                                         dma-names = "rx", "tx";
1315                                 };
1316                                 src7: src-7 {
1317                                         interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1318                                         dmas = <&audma0 0x93>, <&audma1 0xb6>;
1319                                         dma-names = "rx", "tx";
1320                                 };
1321                                 src8: src-8 {
1322                                         interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1323                                         dmas = <&audma0 0x95>, <&audma1 0xb8>;
1324                                         dma-names = "rx", "tx";
1325                                 };
1326                                 src9: src-9 {
1327                                         interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
1328                                         dmas = <&audma0 0x97>, <&audma1 0xba>;
1329                                         dma-names = "rx", "tx";
1330                                 };
1331                         };
1332
1333                         rcar_sound,ssi {
1334                                 ssi0: ssi-0 {
1335                                         interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
1336                                         dmas = <&audma0 0x01>, <&audma1 0x02>, <&audma0 0x15>, <&audma1 0x16>;
1337                                         dma-names = "rx", "tx", "rxu", "txu";
1338                                 };
1339                                 ssi1: ssi-1 {
1340                                         interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
1341                                         dmas = <&audma0 0x03>, <&audma1 0x04>, <&audma0 0x49>, <&audma1 0x4a>;
1342                                         dma-names = "rx", "tx", "rxu", "txu";
1343                                 };
1344                                 ssi2: ssi-2 {
1345                                         interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>;
1346                                         dmas = <&audma0 0x05>, <&audma1 0x06>, <&audma0 0x63>, <&audma1 0x64>;
1347                                         dma-names = "rx", "tx", "rxu", "txu";
1348                                 };
1349                                 ssi3: ssi-3 {
1350                                         interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
1351                                         dmas = <&audma0 0x07>, <&audma1 0x08>, <&audma0 0x6f>, <&audma1 0x70>;
1352                                         dma-names = "rx", "tx", "rxu", "txu";
1353                                 };
1354                                 ssi4: ssi-4 {
1355                                         interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
1356                                         dmas = <&audma0 0x09>, <&audma1 0x0a>, <&audma0 0x71>, <&audma1 0x72>;
1357                                         dma-names = "rx", "tx", "rxu", "txu";
1358                                 };
1359                                 ssi5: ssi-5 {
1360                                         interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
1361                                         dmas = <&audma0 0x0b>, <&audma1 0x0c>, <&audma0 0x73>, <&audma1 0x74>;
1362                                         dma-names = "rx", "tx", "rxu", "txu";
1363                                 };
1364                                 ssi6: ssi-6 {
1365                                         interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>;
1366                                         dmas = <&audma0 0x0d>, <&audma1 0x0e>, <&audma0 0x75>, <&audma1 0x76>;
1367                                         dma-names = "rx", "tx", "rxu", "txu";
1368                                 };
1369                                 ssi7: ssi-7 {
1370                                         interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>;
1371                                         dmas = <&audma0 0x0f>, <&audma1 0x10>, <&audma0 0x79>, <&audma1 0x7a>;
1372                                         dma-names = "rx", "tx", "rxu", "txu";
1373                                 };
1374                                 ssi8: ssi-8 {
1375                                         interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>;
1376                                         dmas = <&audma0 0x11>, <&audma1 0x12>, <&audma0 0x7b>, <&audma1 0x7c>;
1377                                         dma-names = "rx", "tx", "rxu", "txu";
1378                                 };
1379                                 ssi9: ssi-9 {
1380                                         interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
1381                                         dmas = <&audma0 0x13>, <&audma1 0x14>, <&audma0 0x7d>, <&audma1 0x7e>;
1382                                         dma-names = "rx", "tx", "rxu", "txu";
1383                                 };
1384                         };
1385                 };
1386
1387                 audma0: dma-controller@ec700000 {
1388                         compatible = "renesas,dmac-r8a7743",
1389                                      "renesas,rcar-dmac";
1390                         reg = <0 0xec700000 0 0x10000>;
1391                         interrupts = <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH
1392                                       GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH
1393                                       GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH
1394                                       GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH
1395                                       GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH
1396                                       GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH
1397                                       GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH
1398                                       GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH
1399                                       GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH
1400                                       GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH
1401                                       GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH
1402                                       GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH
1403                                       GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH
1404                                       GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>;
1405                         interrupt-names = "error",
1406                                           "ch0", "ch1", "ch2", "ch3",
1407                                           "ch4", "ch5", "ch6", "ch7",
1408                                           "ch8", "ch9", "ch10", "ch11",
1409                                           "ch12";
1410                         clocks = <&cpg CPG_MOD 502>;
1411                         clock-names = "fck";
1412                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1413                         resets = <&cpg 502>;
1414                         #dma-cells = <1>;
1415                         dma-channels = <13>;
1416                 };
1417
1418                 audma1: dma-controller@ec720000 {
1419                         compatible = "renesas,dmac-r8a7743",
1420                                      "renesas,rcar-dmac";
1421                         reg = <0 0xec720000 0 0x10000>;
1422                         interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH
1423                                       GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH
1424                                       GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH
1425                                       GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH
1426                                       GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH
1427                                       GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH
1428                                       GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH
1429                                       GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH
1430                                       GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH
1431                                       GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH
1432                                       GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH
1433                                       GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH
1434                                       GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH
1435                                       GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>;
1436                         interrupt-names = "error",
1437                                           "ch0", "ch1", "ch2", "ch3",
1438                                           "ch4", "ch5", "ch6", "ch7",
1439                                           "ch8", "ch9", "ch10", "ch11",
1440                                           "ch12";
1441                         clocks = <&cpg CPG_MOD 501>;
1442                         clock-names = "fck";
1443                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1444                         resets = <&cpg 501>;
1445                         #dma-cells = <1>;
1446                         dma-channels = <13>;
1447                 };
1448
1449                 /*
1450                  * pci1 and xhci share the same phy, therefore only one of them
1451                  * can be active at any one time. If both of them are enabled,
1452                  * a race condition will determine who'll control the phy.
1453                  * A firmware file is needed by the xhci driver in order for
1454                  * USB 3.0 to work properly.
1455                  */
1456                 xhci: usb@ee000000 {
1457                         compatible = "renesas,xhci-r8a7743",
1458                                      "renesas,rcar-gen2-xhci";
1459                         reg = <0 0xee000000 0 0xc00>;
1460                         interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
1461                         clocks = <&cpg CPG_MOD 328>;
1462                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1463                         resets = <&cpg 328>;
1464                         phys = <&usb2 1>;
1465                         phy-names = "usb";
1466                         status = "disabled";
1467                 };
1468
1469                 pci0: pci@ee090000 {
1470                         compatible = "renesas,pci-r8a7743",
1471                                      "renesas,pci-rcar-gen2";
1472                         device_type = "pci";
1473                         reg = <0 0xee090000 0 0xc00>,
1474                               <0 0xee080000 0 0x1100>;
1475                         interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1476                         clocks = <&cpg CPG_MOD 703>;
1477                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1478                         resets = <&cpg 703>;
1479                         status = "disabled";
1480
1481                         bus-range = <0 0>;
1482                         #address-cells = <3>;
1483                         #size-cells = <2>;
1484                         #interrupt-cells = <1>;
1485                         ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>;
1486                         interrupt-map-mask = <0xff00 0 0 0x7>;
1487                         interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH
1488                                          0x0800 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH
1489                                          0x1000 0 0 2 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1490
1491                         usb@1,0 {
1492                                 reg = <0x800 0 0 0 0>;
1493                                 phys = <&usb0 0>;
1494                                 phy-names = "usb";
1495                         };
1496
1497                         usb@2,0 {
1498                                 reg = <0x1000 0 0 0 0>;
1499                                 phys = <&usb0 0>;
1500                                 phy-names = "usb";
1501                         };
1502                 };
1503
1504                 pci1: pci@ee0d0000 {
1505                         compatible = "renesas,pci-r8a7743",
1506                                      "renesas,pci-rcar-gen2";
1507                         device_type = "pci";
1508                         reg = <0 0xee0d0000 0 0xc00>,
1509                               <0 0xee0c0000 0 0x1100>;
1510                         interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
1511                         clocks = <&cpg CPG_MOD 703>;
1512                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1513                         resets = <&cpg 703>;
1514                         status = "disabled";
1515
1516                         bus-range = <1 1>;
1517                         #address-cells = <3>;
1518                         #size-cells = <2>;
1519                         #interrupt-cells = <1>;
1520                         ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>;
1521                         interrupt-map-mask = <0xff00 0 0 0x7>;
1522                         interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH
1523                                          0x0800 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH
1524                                          0x1000 0 0 2 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
1525
1526                         usb@1,0 {
1527                                 reg = <0x10800 0 0 0 0>;
1528                                 phys = <&usb2 0>;
1529                                 phy-names = "usb";
1530                         };
1531
1532                         usb@2,0 {
1533                                 reg = <0x11000 0 0 0 0>;
1534                                 phys = <&usb2 0>;
1535                                 phy-names = "usb";
1536                         };
1537                 };
1538
1539                 sdhi0: sd@ee100000 {
1540                         compatible = "renesas,sdhi-r8a7743",
1541                                      "renesas,rcar-gen2-sdhi";
1542                         reg = <0 0xee100000 0 0x328>;
1543                         interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
1544                         clocks = <&cpg CPG_MOD 314>;
1545                         dmas = <&dmac0 0xcd>, <&dmac0 0xce>,
1546                                <&dmac1 0xcd>, <&dmac1 0xce>;
1547                         dma-names = "tx", "rx", "tx", "rx";
1548                         max-frequency = <195000000>;
1549                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1550                         resets = <&cpg 314>;
1551                         status = "disabled";
1552                 };
1553
1554                 sdhi1: sd@ee140000 {
1555                         compatible = "renesas,sdhi-r8a7743",
1556                                      "renesas,rcar-gen2-sdhi";
1557                         reg = <0 0xee140000 0 0x100>;
1558                         interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
1559                         clocks = <&cpg CPG_MOD 312>;
1560                         dmas = <&dmac0 0xc1>, <&dmac0 0xc2>,
1561                                <&dmac1 0xc1>, <&dmac1 0xc2>;
1562                         dma-names = "tx", "rx", "tx", "rx";
1563                         max-frequency = <97500000>;
1564                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1565                         resets = <&cpg 312>;
1566                         status = "disabled";
1567                 };
1568
1569                 sdhi2: sd@ee160000 {
1570                         compatible = "renesas,sdhi-r8a7743",
1571                                      "renesas,rcar-gen2-sdhi";
1572                         reg = <0 0xee160000 0 0x100>;
1573                         interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
1574                         clocks = <&cpg CPG_MOD 311>;
1575                         dmas = <&dmac0 0xd3>, <&dmac0 0xd4>,
1576                                <&dmac1 0xd3>, <&dmac1 0xd4>;
1577                         dma-names = "tx", "rx", "tx", "rx";
1578                         max-frequency = <97500000>;
1579                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1580                         resets = <&cpg 311>;
1581                         status = "disabled";
1582                 };
1583
1584                 mmcif0: mmc@ee200000 {
1585                         compatible = "renesas,mmcif-r8a7743",
1586                                      "renesas,sh-mmcif";
1587                         reg = <0 0xee200000 0 0x80>;
1588                         interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
1589                         clocks = <&cpg CPG_MOD 315>;
1590                         dmas = <&dmac0 0xd1>, <&dmac0 0xd2>,
1591                                <&dmac1 0xd1>, <&dmac1 0xd2>;
1592                         dma-names = "tx", "rx", "tx", "rx";
1593                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1594                         resets = <&cpg 315>;
1595                         reg-io-width = <4>;
1596                         max-frequency = <97500000>;
1597                         status = "disabled";
1598                 };
1599
1600                 ether: ethernet@ee700000 {
1601                         compatible = "renesas,ether-r8a7743",
1602                                      "renesas,rcar-gen2-ether";
1603                         reg = <0 0xee700000 0 0x400>;
1604                         interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
1605                         clocks = <&cpg CPG_MOD 813>;
1606                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1607                         resets = <&cpg 813>;
1608                         phy-mode = "rmii";
1609                         #address-cells = <1>;
1610                         #size-cells = <0>;
1611                         status = "disabled";
1612                 };
1613
1614                 gic: interrupt-controller@f1001000 {
1615                         compatible = "arm,gic-400";
1616                         #interrupt-cells = <3>;
1617                         #address-cells = <0>;
1618                         interrupt-controller;
1619                         reg = <0 0xf1001000 0 0x1000>, <0 0xf1002000 0 0x2000>,
1620                               <0 0xf1004000 0 0x2000>, <0 0xf1006000 0 0x2000>;
1621                         interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
1622                         clocks = <&cpg CPG_MOD 408>;
1623                         clock-names = "clk";
1624                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1625                         resets = <&cpg 408>;
1626                 };
1627
1628                 pciec: pcie@fe000000 {
1629                         compatible = "renesas,pcie-r8a7743",
1630                                      "renesas,pcie-rcar-gen2";
1631                         reg = <0 0xfe000000 0 0x80000>;
1632                         #address-cells = <3>;
1633                         #size-cells = <2>;
1634                         bus-range = <0x00 0xff>;
1635                         device_type = "pci";
1636                         ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000
1637                                   0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000
1638                                   0x02000000 0 0x30000000 0 0x30000000 0 0x08000000
1639                                   0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
1640                         /* Map all possible DDR as inbound ranges */
1641                         dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000
1642                                       0x43000000 2 0x00000000 2 0x00000000 1 0x00000000>;
1643                         interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
1644                                      <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
1645                                      <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
1646                         #interrupt-cells = <1>;
1647                         interrupt-map-mask = <0 0 0 0>;
1648                         interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
1649                         clocks = <&cpg CPG_MOD 319>, <&pcie_bus_clk>;
1650                         clock-names = "pcie", "pcie_bus";
1651                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1652                         resets = <&cpg 319>;
1653                         status = "disabled";
1654                 };
1655
1656                 vsp@fe928000 {
1657                         compatible = "renesas,vsp1";
1658                         reg = <0 0xfe928000 0 0x8000>;
1659                         interrupts = <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>;
1660                         clocks = <&cpg CPG_MOD 131>;
1661                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1662                         resets = <&cpg 131>;
1663                 };
1664
1665                 vsp@fe930000 {
1666                         compatible = "renesas,vsp1";
1667                         reg = <0 0xfe930000 0 0x8000>;
1668                         interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
1669                         clocks = <&cpg CPG_MOD 128>;
1670                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1671                         resets = <&cpg 128>;
1672                 };
1673
1674                 vsp@fe938000 {
1675                         compatible = "renesas,vsp1";
1676                         reg = <0 0xfe938000 0 0x8000>;
1677                         interrupts = <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>;
1678                         clocks = <&cpg CPG_MOD 127>;
1679                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1680                         resets = <&cpg 127>;
1681                 };
1682
1683                 du: display@feb00000 {
1684                         compatible = "renesas,du-r8a7743";
1685                         reg = <0 0xfeb00000 0 0x40000>,
1686                               <0 0xfeb90000 0 0x1c>;
1687                         reg-names = "du", "lvds.0";
1688                         interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
1689                                      <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
1690                         clocks = <&cpg CPG_MOD 724>,
1691                                  <&cpg CPG_MOD 723>,
1692                                  <&cpg CPG_MOD 726>;
1693                         clock-names = "du.0", "du.1", "lvds.0";
1694                         status = "disabled";
1695
1696                         ports {
1697                                 #address-cells = <1>;
1698                                 #size-cells = <0>;
1699
1700                                 port@0 {
1701                                         reg = <0>;
1702                                         du_out_rgb: endpoint {
1703                                         };
1704                                 };
1705                                 port@1 {
1706                                         reg = <1>;
1707                                         du_out_lvds0: endpoint {
1708                                         };
1709                                 };
1710                         };
1711                 };
1712
1713                 prr: chipid@ff000044 {
1714                         compatible = "renesas,prr";
1715                         reg = <0 0xff000044 0 4>;
1716                 };
1717
1718                 cmt0: timer@ffca0000 {
1719                         compatible = "renesas,r8a7743-cmt0",
1720                                      "renesas,rcar-gen2-cmt0";
1721                         reg = <0 0xffca0000 0 0x1004>;
1722                         interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
1723                                      <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
1724                         clocks = <&cpg CPG_MOD 124>;
1725                         clock-names = "fck";
1726                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1727                         resets = <&cpg 124>;
1728                         status = "disabled";
1729                 };
1730
1731                 cmt1: timer@e6130000 {
1732                         compatible = "renesas,r8a7743-cmt1",
1733                                      "renesas,rcar-gen2-cmt1";
1734                         reg = <0 0xe6130000 0 0x1004>;
1735                         interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
1736                                      <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
1737                                      <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
1738                                      <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
1739                                      <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
1740                                      <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
1741                                      <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
1742                                      <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
1743                         clocks = <&cpg CPG_MOD 329>;
1744                         clock-names = "fck";
1745                         power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1746                         resets = <&cpg 329>;
1747                         status = "disabled";
1748                 };
1749         };
1750
1751         thermal-zones {
1752                 cpu_thermal: cpu-thermal {
1753                         polling-delay-passive = <0>;
1754                         polling-delay = <0>;
1755
1756                         thermal-sensors = <&thermal>;
1757
1758                         trips {
1759                                 cpu-crit {
1760                                         temperature = <95000>;
1761                                         hysteresis = <0>;
1762                                         type = "critical";
1763                                 };
1764                         };
1765
1766                         cooling-maps {
1767                         };
1768                 };
1769         };
1770
1771         timer {
1772                 compatible = "arm,armv7-timer";
1773                 interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1774                                       <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1775                                       <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1776                                       <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
1777         };
1778
1779         /* External USB clock - can be overridden by the board */
1780         usb_extal_clk: usb_extal {
1781                 compatible = "fixed-clock";
1782                 #clock-cells = <0>;
1783                 clock-frequency = <48000000>;
1784         };
1785 };