Merge tag 'aspeed-5.2-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git...
[platform/kernel/linux-starfive.git] / arch / arm64 / boot / dts / renesas / r8a77965.dtsi
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Device Tree Source for the R-Car M3-N (R8A77965) SoC
4  *
5  * Copyright (C) 2018 Jacopo Mondi <jacopo+renesas@jmondi.org>
6  *
7  * Based on r8a7796.dtsi
8  * Copyright (C) 2016 Renesas Electronics Corp.
9  */
10
11 #include <dt-bindings/clock/r8a77965-cpg-mssr.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 #include <dt-bindings/power/r8a77965-sysc.h>
14
15 #define CPG_AUDIO_CLK_I         R8A77965_CLK_S0D4
16
17 / {
18         compatible = "renesas,r8a77965";
19         #address-cells = <2>;
20         #size-cells = <2>;
21
22         aliases {
23                 i2c0 = &i2c0;
24                 i2c1 = &i2c1;
25                 i2c2 = &i2c2;
26                 i2c3 = &i2c3;
27                 i2c4 = &i2c4;
28                 i2c5 = &i2c5;
29                 i2c6 = &i2c6;
30                 i2c7 = &i2c_dvfs;
31         };
32
33         /*
34          * The external audio clocks are configured as 0 Hz fixed frequency
35          * clocks by default.
36          * Boards that provide audio clocks should override them.
37          */
38         audio_clk_a: audio_clk_a {
39                 compatible = "fixed-clock";
40                 #clock-cells = <0>;
41                 clock-frequency = <0>;
42         };
43
44         audio_clk_b: audio_clk_b {
45                 compatible = "fixed-clock";
46                 #clock-cells = <0>;
47                 clock-frequency = <0>;
48         };
49
50         audio_clk_c: audio_clk_c {
51                 compatible = "fixed-clock";
52                 #clock-cells = <0>;
53                 clock-frequency = <0>;
54         };
55
56         /* External CAN clock - to be overridden by boards that provide it */
57         can_clk: can {
58                 compatible = "fixed-clock";
59                 #clock-cells = <0>;
60                 clock-frequency = <0>;
61         };
62
63         cluster0_opp: opp_table0 {
64                 compatible = "operating-points-v2";
65                 opp-shared;
66
67                 opp-500000000 {
68                         opp-hz = /bits/ 64 <500000000>;
69                         opp-microvolt = <830000>;
70                         clock-latency-ns = <300000>;
71                 };
72                 opp-1000000000 {
73                         opp-hz = /bits/ 64 <1000000000>;
74                         opp-microvolt = <830000>;
75                         clock-latency-ns = <300000>;
76                 };
77                 opp-1500000000 {
78                         opp-hz = /bits/ 64 <1500000000>;
79                         opp-microvolt = <830000>;
80                         clock-latency-ns = <300000>;
81                         opp-suspend;
82                 };
83                 opp-1600000000 {
84                         opp-hz = /bits/ 64 <1600000000>;
85                         opp-microvolt = <900000>;
86                         clock-latency-ns = <300000>;
87                         turbo-mode;
88                 };
89                 opp-1700000000 {
90                         opp-hz = /bits/ 64 <1700000000>;
91                         opp-microvolt = <900000>;
92                         clock-latency-ns = <300000>;
93                         turbo-mode;
94                 };
95                 opp-1800000000 {
96                         opp-hz = /bits/ 64 <1800000000>;
97                         opp-microvolt = <960000>;
98                         clock-latency-ns = <300000>;
99                         turbo-mode;
100                 };
101         };
102
103         cpus {
104                 #address-cells = <1>;
105                 #size-cells = <0>;
106
107                 a57_0: cpu@0 {
108                         compatible = "arm,cortex-a57";
109                         reg = <0x0>;
110                         device_type = "cpu";
111                         power-domains = <&sysc R8A77965_PD_CA57_CPU0>;
112                         next-level-cache = <&L2_CA57>;
113                         enable-method = "psci";
114                         clocks = <&cpg CPG_CORE R8A77965_CLK_Z>;
115                         operating-points-v2 = <&cluster0_opp>;
116                 };
117
118                 a57_1: cpu@1 {
119                         compatible = "arm,cortex-a57";
120                         reg = <0x1>;
121                         device_type = "cpu";
122                         power-domains = <&sysc R8A77965_PD_CA57_CPU1>;
123                         next-level-cache = <&L2_CA57>;
124                         enable-method = "psci";
125                         clocks = <&cpg CPG_CORE R8A77965_CLK_Z>;
126                         operating-points-v2 = <&cluster0_opp>;
127                 };
128
129                 L2_CA57: cache-controller-0 {
130                         compatible = "cache";
131                         power-domains = <&sysc R8A77965_PD_CA57_SCU>;
132                         cache-unified;
133                         cache-level = <2>;
134                 };
135         };
136
137         extal_clk: extal {
138                 compatible = "fixed-clock";
139                 #clock-cells = <0>;
140                 /* This value must be overridden by the board */
141                 clock-frequency = <0>;
142         };
143
144         extalr_clk: extalr {
145                 compatible = "fixed-clock";
146                 #clock-cells = <0>;
147                 /* This value must be overridden by the board */
148                 clock-frequency = <0>;
149         };
150
151         /* External PCIe clock - can be overridden by the board */
152         pcie_bus_clk: pcie_bus {
153                 compatible = "fixed-clock";
154                 #clock-cells = <0>;
155                 clock-frequency = <0>;
156         };
157
158         pmu_a57 {
159                 compatible = "arm,cortex-a57-pmu";
160                 interrupts-extended = <&gic GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
161                                       <&gic GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
162                 interrupt-affinity = <&a57_0>,
163                                      <&a57_1>;
164         };
165
166         psci {
167                 compatible = "arm,psci-1.0", "arm,psci-0.2";
168                 method = "smc";
169         };
170
171         /* External SCIF clock - to be overridden by boards that provide it */
172         scif_clk: scif {
173                 compatible = "fixed-clock";
174                 #clock-cells = <0>;
175                 clock-frequency = <0>;
176         };
177
178         soc {
179                 compatible = "simple-bus";
180                 interrupt-parent = <&gic>;
181                 #address-cells = <2>;
182                 #size-cells = <2>;
183                 ranges;
184
185                 rwdt: watchdog@e6020000 {
186                         compatible = "renesas,r8a77965-wdt",
187                                      "renesas,rcar-gen3-wdt";
188                         reg = <0 0xe6020000 0 0x0c>;
189                         clocks = <&cpg CPG_MOD 402>;
190                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
191                         resets = <&cpg 402>;
192                         status = "disabled";
193                 };
194
195                 gpio0: gpio@e6050000 {
196                         compatible = "renesas,gpio-r8a77965",
197                                      "renesas,rcar-gen3-gpio";
198                         reg = <0 0xe6050000 0 0x50>;
199                         interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
200                         #gpio-cells = <2>;
201                         gpio-controller;
202                         gpio-ranges = <&pfc 0 0 16>;
203                         #interrupt-cells = <2>;
204                         interrupt-controller;
205                         clocks = <&cpg CPG_MOD 912>;
206                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
207                         resets = <&cpg 912>;
208                 };
209
210                 gpio1: gpio@e6051000 {
211                         compatible = "renesas,gpio-r8a77965",
212                                      "renesas,rcar-gen3-gpio";
213                         reg = <0 0xe6051000 0 0x50>;
214                         interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
215                         #gpio-cells = <2>;
216                         gpio-controller;
217                         gpio-ranges = <&pfc 0 32 29>;
218                         #interrupt-cells = <2>;
219                         interrupt-controller;
220                         clocks = <&cpg CPG_MOD 911>;
221                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
222                         resets = <&cpg 911>;
223                 };
224
225                 gpio2: gpio@e6052000 {
226                         compatible = "renesas,gpio-r8a77965",
227                                      "renesas,rcar-gen3-gpio";
228                         reg = <0 0xe6052000 0 0x50>;
229                         interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
230                         #gpio-cells = <2>;
231                         gpio-controller;
232                         gpio-ranges = <&pfc 0 64 15>;
233                         #interrupt-cells = <2>;
234                         interrupt-controller;
235                         clocks = <&cpg CPG_MOD 910>;
236                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
237                         resets = <&cpg 910>;
238                 };
239
240                 gpio3: gpio@e6053000 {
241                         compatible = "renesas,gpio-r8a77965",
242                                      "renesas,rcar-gen3-gpio";
243                         reg = <0 0xe6053000 0 0x50>;
244                         interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
245                         #gpio-cells = <2>;
246                         gpio-controller;
247                         gpio-ranges = <&pfc 0 96 16>;
248                         #interrupt-cells = <2>;
249                         interrupt-controller;
250                         clocks = <&cpg CPG_MOD 909>;
251                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
252                         resets = <&cpg 909>;
253                 };
254
255                 gpio4: gpio@e6054000 {
256                         compatible = "renesas,gpio-r8a77965",
257                                      "renesas,rcar-gen3-gpio";
258                         reg = <0 0xe6054000 0 0x50>;
259                         interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
260                         #gpio-cells = <2>;
261                         gpio-controller;
262                         gpio-ranges = <&pfc 0 128 18>;
263                         #interrupt-cells = <2>;
264                         interrupt-controller;
265                         clocks = <&cpg CPG_MOD 908>;
266                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
267                         resets = <&cpg 908>;
268                 };
269
270                 gpio5: gpio@e6055000 {
271                         compatible = "renesas,gpio-r8a77965",
272                                      "renesas,rcar-gen3-gpio";
273                         reg = <0 0xe6055000 0 0x50>;
274                         interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
275                         #gpio-cells = <2>;
276                         gpio-controller;
277                         gpio-ranges = <&pfc 0 160 26>;
278                         #interrupt-cells = <2>;
279                         interrupt-controller;
280                         clocks = <&cpg CPG_MOD 907>;
281                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
282                         resets = <&cpg 907>;
283                 };
284
285                 gpio6: gpio@e6055400 {
286                         compatible = "renesas,gpio-r8a77965",
287                                      "renesas,rcar-gen3-gpio";
288                         reg = <0 0xe6055400 0 0x50>;
289                         interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
290                         #gpio-cells = <2>;
291                         gpio-controller;
292                         gpio-ranges = <&pfc 0 192 32>;
293                         #interrupt-cells = <2>;
294                         interrupt-controller;
295                         clocks = <&cpg CPG_MOD 906>;
296                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
297                         resets = <&cpg 906>;
298                 };
299
300                 gpio7: gpio@e6055800 {
301                         compatible = "renesas,gpio-r8a77965",
302                                      "renesas,rcar-gen3-gpio";
303                         reg = <0 0xe6055800 0 0x50>;
304                         interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
305                         #gpio-cells = <2>;
306                         gpio-controller;
307                         gpio-ranges = <&pfc 0 224 4>;
308                         #interrupt-cells = <2>;
309                         interrupt-controller;
310                         clocks = <&cpg CPG_MOD 905>;
311                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
312                         resets = <&cpg 905>;
313                 };
314
315                 pfc: pin-controller@e6060000 {
316                         compatible = "renesas,pfc-r8a77965";
317                         reg = <0 0xe6060000 0 0x50c>;
318                 };
319
320                 cpg: clock-controller@e6150000 {
321                         compatible = "renesas,r8a77965-cpg-mssr";
322                         reg = <0 0xe6150000 0 0x1000>;
323                         clocks = <&extal_clk>, <&extalr_clk>;
324                         clock-names = "extal", "extalr";
325                         #clock-cells = <2>;
326                         #power-domain-cells = <0>;
327                         #reset-cells = <1>;
328                 };
329
330                 rst: reset-controller@e6160000 {
331                         compatible = "renesas,r8a77965-rst";
332                         reg = <0 0xe6160000 0 0x0200>;
333                 };
334
335                 sysc: system-controller@e6180000 {
336                         compatible = "renesas,r8a77965-sysc";
337                         reg = <0 0xe6180000 0 0x0400>;
338                         #power-domain-cells = <1>;
339                 };
340
341                 tsc: thermal@e6198000 {
342                         compatible = "renesas,r8a77965-thermal";
343                         reg = <0 0xe6198000 0 0x100>,
344                               <0 0xe61a0000 0 0x100>,
345                               <0 0xe61a8000 0 0x100>;
346                         interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
347                                      <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
348                                      <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
349                         clocks = <&cpg CPG_MOD 522>;
350                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
351                         resets = <&cpg 522>;
352                         #thermal-sensor-cells = <1>;
353                 };
354
355                 intc_ex: interrupt-controller@e61c0000 {
356                         compatible = "renesas,intc-ex-r8a77965", "renesas,irqc";
357                         #interrupt-cells = <2>;
358                         interrupt-controller;
359                         reg = <0 0xe61c0000 0 0x200>;
360                         interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH
361                                       GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH
362                                       GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH
363                                       GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH
364                                       GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH
365                                       GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
366                         clocks = <&cpg CPG_MOD 407>;
367                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
368                         resets = <&cpg 407>;
369                 };
370
371                 i2c0: i2c@e6500000 {
372                         #address-cells = <1>;
373                         #size-cells = <0>;
374                         compatible = "renesas,i2c-r8a77965",
375                                      "renesas,rcar-gen3-i2c";
376                         reg = <0 0xe6500000 0 0x40>;
377                         interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
378                         clocks = <&cpg CPG_MOD 931>;
379                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
380                         resets = <&cpg 931>;
381                         dmas = <&dmac1 0x91>, <&dmac1 0x90>,
382                                <&dmac2 0x91>, <&dmac2 0x90>;
383                         dma-names = "tx", "rx", "tx", "rx";
384                         i2c-scl-internal-delay-ns = <110>;
385                         status = "disabled";
386                 };
387
388                 i2c1: i2c@e6508000 {
389                         #address-cells = <1>;
390                         #size-cells = <0>;
391                         compatible = "renesas,i2c-r8a77965",
392                                      "renesas,rcar-gen3-i2c";
393                         reg = <0 0xe6508000 0 0x40>;
394                         interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
395                         clocks = <&cpg CPG_MOD 930>;
396                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
397                         resets = <&cpg 930>;
398                         dmas = <&dmac1 0x93>, <&dmac1 0x92>,
399                                <&dmac2 0x93>, <&dmac2 0x92>;
400                         dma-names = "tx", "rx", "tx", "rx";
401                         i2c-scl-internal-delay-ns = <6>;
402                         status = "disabled";
403                 };
404
405                 i2c2: i2c@e6510000 {
406                         #address-cells = <1>;
407                         #size-cells = <0>;
408                         compatible = "renesas,i2c-r8a77965",
409                                      "renesas,rcar-gen3-i2c";
410                         reg = <0 0xe6510000 0 0x40>;
411                         interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
412                         clocks = <&cpg CPG_MOD 929>;
413                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
414                         resets = <&cpg 929>;
415                         dmas = <&dmac1 0x95>, <&dmac1 0x94>,
416                                <&dmac2 0x95>, <&dmac2 0x94>;
417                         dma-names = "tx", "rx", "tx", "rx";
418                         i2c-scl-internal-delay-ns = <6>;
419                         status = "disabled";
420                 };
421
422                 i2c3: i2c@e66d0000 {
423                         #address-cells = <1>;
424                         #size-cells = <0>;
425                         compatible = "renesas,i2c-r8a77965",
426                                      "renesas,rcar-gen3-i2c";
427                         reg = <0 0xe66d0000 0 0x40>;
428                         interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
429                         clocks = <&cpg CPG_MOD 928>;
430                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
431                         resets = <&cpg 928>;
432                         dmas = <&dmac0 0x97>, <&dmac0 0x96>;
433                         dma-names = "tx", "rx";
434                         i2c-scl-internal-delay-ns = <110>;
435                         status = "disabled";
436                 };
437
438                 i2c4: i2c@e66d8000 {
439                         #address-cells = <1>;
440                         #size-cells = <0>;
441                         compatible = "renesas,i2c-r8a77965",
442                                      "renesas,rcar-gen3-i2c";
443                         reg = <0 0xe66d8000 0 0x40>;
444                         interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
445                         clocks = <&cpg CPG_MOD 927>;
446                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
447                         resets = <&cpg 927>;
448                         dmas = <&dmac0 0x99>, <&dmac0 0x98>;
449                         dma-names = "tx", "rx";
450                         i2c-scl-internal-delay-ns = <110>;
451                         status = "disabled";
452                 };
453
454                 i2c5: i2c@e66e0000 {
455                         #address-cells = <1>;
456                         #size-cells = <0>;
457                         compatible = "renesas,i2c-r8a77965",
458                                      "renesas,rcar-gen3-i2c";
459                         reg = <0 0xe66e0000 0 0x40>;
460                         interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
461                         clocks = <&cpg CPG_MOD 919>;
462                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
463                         resets = <&cpg 919>;
464                         dmas = <&dmac0 0x9b>, <&dmac0 0x9a>;
465                         dma-names = "tx", "rx";
466                         i2c-scl-internal-delay-ns = <110>;
467                         status = "disabled";
468                 };
469
470                 i2c6: i2c@e66e8000 {
471                         #address-cells = <1>;
472                         #size-cells = <0>;
473                         compatible = "renesas,i2c-r8a77965",
474                                      "renesas,rcar-gen3-i2c";
475                         reg = <0 0xe66e8000 0 0x40>;
476                         interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
477                         clocks = <&cpg CPG_MOD 918>;
478                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
479                         resets = <&cpg 918>;
480                         dmas = <&dmac0 0x9d>, <&dmac0 0x9c>;
481                         dma-names = "tx", "rx";
482                         i2c-scl-internal-delay-ns = <6>;
483                         status = "disabled";
484                 };
485
486                 i2c_dvfs: i2c@e60b0000 {
487                         #address-cells = <1>;
488                         #size-cells = <0>;
489                         compatible = "renesas,iic-r8a77965",
490                                      "renesas,rcar-gen3-iic",
491                                      "renesas,rmobile-iic";
492                         reg = <0 0xe60b0000 0 0x425>;
493                         interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
494                         clocks = <&cpg CPG_MOD 926>;
495                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
496                         resets = <&cpg 926>;
497                         dmas = <&dmac0 0x11>, <&dmac0 0x10>;
498                         dma-names = "tx", "rx";
499                         status = "disabled";
500                 };
501
502                 hscif0: serial@e6540000 {
503                         compatible = "renesas,hscif-r8a77965",
504                                      "renesas,rcar-gen3-hscif",
505                                      "renesas,hscif";
506                         reg = <0 0xe6540000 0 0x60>;
507                         interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
508                         clocks = <&cpg CPG_MOD 520>,
509                                  <&cpg CPG_CORE R8A77965_CLK_S3D1>,
510                                  <&scif_clk>;
511                         clock-names = "fck", "brg_int", "scif_clk";
512                         dmas = <&dmac1 0x31>, <&dmac1 0x30>,
513                                <&dmac2 0x31>, <&dmac2 0x30>;
514                         dma-names = "tx", "rx", "tx", "rx";
515                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
516                         resets = <&cpg 520>;
517                         status = "disabled";
518                 };
519
520                 hscif1: serial@e6550000 {
521                         compatible = "renesas,hscif-r8a77965",
522                                      "renesas,rcar-gen3-hscif",
523                                      "renesas,hscif";
524                         reg = <0 0xe6550000 0 0x60>;
525                         interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
526                         clocks = <&cpg CPG_MOD 519>,
527                                  <&cpg CPG_CORE R8A77965_CLK_S3D1>,
528                                  <&scif_clk>;
529                         clock-names = "fck", "brg_int", "scif_clk";
530                         dmas = <&dmac1 0x33>, <&dmac1 0x32>,
531                                <&dmac2 0x33>, <&dmac2 0x32>;
532                         dma-names = "tx", "rx", "tx", "rx";
533                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
534                         resets = <&cpg 519>;
535                         status = "disabled";
536                 };
537
538                 hscif2: serial@e6560000 {
539                         compatible = "renesas,hscif-r8a77965",
540                                      "renesas,rcar-gen3-hscif",
541                                      "renesas,hscif";
542                         reg = <0 0xe6560000 0 0x60>;
543                         interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
544                         clocks = <&cpg CPG_MOD 518>,
545                                  <&cpg CPG_CORE R8A77965_CLK_S3D1>,
546                                  <&scif_clk>;
547                         clock-names = "fck", "brg_int", "scif_clk";
548                         dmas = <&dmac1 0x35>, <&dmac1 0x34>,
549                                <&dmac2 0x35>, <&dmac2 0x34>;
550                         dma-names = "tx", "rx", "tx", "rx";
551                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
552                         resets = <&cpg 518>;
553                         status = "disabled";
554                 };
555
556                 hscif3: serial@e66a0000 {
557                         compatible = "renesas,hscif-r8a77965",
558                                      "renesas,rcar-gen3-hscif",
559                                      "renesas,hscif";
560                         reg = <0 0xe66a0000 0 0x60>;
561                         interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
562                         clocks = <&cpg CPG_MOD 517>,
563                                  <&cpg CPG_CORE R8A77965_CLK_S3D1>,
564                                  <&scif_clk>;
565                         clock-names = "fck", "brg_int", "scif_clk";
566                         dmas = <&dmac0 0x37>, <&dmac0 0x36>;
567                         dma-names = "tx", "rx";
568                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
569                         resets = <&cpg 517>;
570                         status = "disabled";
571                 };
572
573                 hscif4: serial@e66b0000 {
574                         compatible = "renesas,hscif-r8a77965",
575                                      "renesas,rcar-gen3-hscif",
576                                      "renesas,hscif";
577                         reg = <0 0xe66b0000 0 0x60>;
578                         interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
579                         clocks = <&cpg CPG_MOD 516>,
580                                  <&cpg CPG_CORE R8A77965_CLK_S3D1>,
581                                  <&scif_clk>;
582                         clock-names = "fck", "brg_int", "scif_clk";
583                         dmas = <&dmac0 0x39>, <&dmac0 0x38>;
584                         dma-names = "tx", "rx";
585                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
586                         resets = <&cpg 516>;
587                         status = "disabled";
588                 };
589
590                 hsusb: usb@e6590000 {
591                         compatible = "renesas,usbhs-r8a77965",
592                                      "renesas,rcar-gen3-usbhs";
593                         reg = <0 0xe6590000 0 0x200>;
594                         interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
595                         clocks = <&cpg CPG_MOD 704>, <&cpg CPG_MOD 703>;
596                         dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
597                                <&usb_dmac1 0>, <&usb_dmac1 1>;
598                         dma-names = "ch0", "ch1", "ch2", "ch3";
599                         renesas,buswait = <11>;
600                         phys = <&usb2_phy0>;
601                         phy-names = "usb";
602                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
603                         resets = <&cpg 704>, <&cpg 703>;
604                         status = "disabled";
605                 };
606
607                 usb_dmac0: dma-controller@e65a0000 {
608                         compatible = "renesas,r8a77965-usb-dmac",
609                                      "renesas,usb-dmac";
610                         reg = <0 0xe65a0000 0 0x100>;
611                         interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH
612                                       GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
613                         interrupt-names = "ch0", "ch1";
614                         clocks = <&cpg CPG_MOD 330>;
615                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
616                         resets = <&cpg 330>;
617                         #dma-cells = <1>;
618                         dma-channels = <2>;
619                 };
620
621                 usb_dmac1: dma-controller@e65b0000 {
622                         compatible = "renesas,r8a77965-usb-dmac",
623                                      "renesas,usb-dmac";
624                         reg = <0 0xe65b0000 0 0x100>;
625                         interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH
626                                       GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
627                         interrupt-names = "ch0", "ch1";
628                         clocks = <&cpg CPG_MOD 331>;
629                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
630                         resets = <&cpg 331>;
631                         #dma-cells = <1>;
632                         dma-channels = <2>;
633                 };
634
635                 usb3_phy0: usb-phy@e65ee000 {
636                         compatible = "renesas,r8a77965-usb3-phy",
637                                      "renesas,rcar-gen3-usb3-phy";
638                         reg = <0 0xe65ee000 0 0x90>;
639                         clocks = <&cpg CPG_MOD 328>, <&usb3s0_clk>,
640                                  <&usb_extal_clk>;
641                         clock-names = "usb3-if", "usb3s_clk", "usb_extal";
642                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
643                         resets = <&cpg 328>;
644                         #phy-cells = <0>;
645                         status = "disabled";
646                 };
647
648                 dmac0: dma-controller@e6700000 {
649                         compatible = "renesas,dmac-r8a77965",
650                                      "renesas,rcar-dmac";
651                         reg = <0 0xe6700000 0 0x10000>;
652                         interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH
653                                       GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH
654                                       GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH
655                                       GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH
656                                       GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH
657                                       GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH
658                                       GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH
659                                       GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH
660                                       GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH
661                                       GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH
662                                       GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH
663                                       GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH
664                                       GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH
665                                       GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH
666                                       GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH
667                                       GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH
668                                       GIC_SPI 215 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", "ch15";
674                         clocks = <&cpg CPG_MOD 219>;
675                         clock-names = "fck";
676                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
677                         resets = <&cpg 219>;
678                         #dma-cells = <1>;
679                         dma-channels = <16>;
680                         iommus = <&ipmmu_ds0 0>, <&ipmmu_ds0 1>,
681                                <&ipmmu_ds0 2>, <&ipmmu_ds0 3>,
682                                <&ipmmu_ds0 4>, <&ipmmu_ds0 5>,
683                                <&ipmmu_ds0 6>, <&ipmmu_ds0 7>,
684                                <&ipmmu_ds0 8>, <&ipmmu_ds0 9>,
685                                <&ipmmu_ds0 10>, <&ipmmu_ds0 11>,
686                                <&ipmmu_ds0 12>, <&ipmmu_ds0 13>,
687                                <&ipmmu_ds0 14>, <&ipmmu_ds0 15>;
688                 };
689
690                 dmac1: dma-controller@e7300000 {
691                         compatible = "renesas,dmac-r8a77965",
692                                      "renesas,rcar-dmac";
693                         reg = <0 0xe7300000 0 0x10000>;
694                         interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
695                                       GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
696                                       GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
697                                       GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
698                                       GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
699                                       GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
700                                       GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
701                                       GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
702                                       GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
703                                       GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
704                                       GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
705                                       GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
706                                       GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
707                                       GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
708                                       GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
709                                       GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
710                                       GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>;
711                         interrupt-names = "error",
712                                         "ch0", "ch1", "ch2", "ch3",
713                                         "ch4", "ch5", "ch6", "ch7",
714                                         "ch8", "ch9", "ch10", "ch11",
715                                         "ch12", "ch13", "ch14", "ch15";
716                         clocks = <&cpg CPG_MOD 218>;
717                         clock-names = "fck";
718                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
719                         resets = <&cpg 218>;
720                         #dma-cells = <1>;
721                         dma-channels = <16>;
722                         iommus = <&ipmmu_ds1 0>, <&ipmmu_ds1 1>,
723                                <&ipmmu_ds1 2>, <&ipmmu_ds1 3>,
724                                <&ipmmu_ds1 4>, <&ipmmu_ds1 5>,
725                                <&ipmmu_ds1 6>, <&ipmmu_ds1 7>,
726                                <&ipmmu_ds1 8>, <&ipmmu_ds1 9>,
727                                <&ipmmu_ds1 10>, <&ipmmu_ds1 11>,
728                                <&ipmmu_ds1 12>, <&ipmmu_ds1 13>,
729                                <&ipmmu_ds1 14>, <&ipmmu_ds1 15>;
730                 };
731
732                 dmac2: dma-controller@e7310000 {
733                         compatible = "renesas,dmac-r8a77965",
734                                      "renesas,rcar-dmac";
735                         reg = <0 0xe7310000 0 0x10000>;
736                         interrupts = <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH
737                                       GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH
738                                       GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH
739                                       GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH
740                                       GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH
741                                       GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH
742                                       GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH
743                                       GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH
744                                       GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH
745                                       GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH
746                                       GIC_SPI 426 IRQ_TYPE_LEVEL_HIGH
747                                       GIC_SPI 427 IRQ_TYPE_LEVEL_HIGH
748                                       GIC_SPI 428 IRQ_TYPE_LEVEL_HIGH
749                                       GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH
750                                       GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH
751                                       GIC_SPI 431 IRQ_TYPE_LEVEL_HIGH
752                                       GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>;
753                         interrupt-names = "error",
754                                         "ch0", "ch1", "ch2", "ch3",
755                                         "ch4", "ch5", "ch6", "ch7",
756                                         "ch8", "ch9", "ch10", "ch11",
757                                         "ch12", "ch13", "ch14", "ch15";
758                         clocks = <&cpg CPG_MOD 217>;
759                         clock-names = "fck";
760                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
761                         resets = <&cpg 217>;
762                         #dma-cells = <1>;
763                         dma-channels = <16>;
764                         iommus = <&ipmmu_ds1 16>, <&ipmmu_ds1 17>,
765                                <&ipmmu_ds1 18>, <&ipmmu_ds1 19>,
766                                <&ipmmu_ds1 20>, <&ipmmu_ds1 21>,
767                                <&ipmmu_ds1 22>, <&ipmmu_ds1 23>,
768                                <&ipmmu_ds1 24>, <&ipmmu_ds1 25>,
769                                <&ipmmu_ds1 26>, <&ipmmu_ds1 27>,
770                                <&ipmmu_ds1 28>, <&ipmmu_ds1 29>,
771                                <&ipmmu_ds1 30>, <&ipmmu_ds1 31>;
772                 };
773
774                 ipmmu_ds0: mmu@e6740000 {
775                         compatible = "renesas,ipmmu-r8a77965";
776                         reg = <0 0xe6740000 0 0x1000>;
777                         renesas,ipmmu-main = <&ipmmu_mm 0>;
778                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
779                         #iommu-cells = <1>;
780                 };
781
782                 ipmmu_ds1: mmu@e7740000 {
783                         compatible = "renesas,ipmmu-r8a77965";
784                         reg = <0 0xe7740000 0 0x1000>;
785                         renesas,ipmmu-main = <&ipmmu_mm 1>;
786                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
787                         #iommu-cells = <1>;
788                 };
789
790                 ipmmu_hc: mmu@e6570000 {
791                         compatible = "renesas,ipmmu-r8a77965";
792                         reg = <0 0xe6570000 0 0x1000>;
793                         renesas,ipmmu-main = <&ipmmu_mm 2>;
794                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
795                         #iommu-cells = <1>;
796                 };
797
798                 ipmmu_mm: mmu@e67b0000 {
799                         compatible = "renesas,ipmmu-r8a77965";
800                         reg = <0 0xe67b0000 0 0x1000>;
801                         interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
802                                      <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
803                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
804                         #iommu-cells = <1>;
805                 };
806
807                 ipmmu_mp: mmu@ec670000 {
808                         compatible = "renesas,ipmmu-r8a77965";
809                         reg = <0 0xec670000 0 0x1000>;
810                         renesas,ipmmu-main = <&ipmmu_mm 4>;
811                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
812                         #iommu-cells = <1>;
813                 };
814
815                 ipmmu_pv0: mmu@fd800000 {
816                         compatible = "renesas,ipmmu-r8a77965";
817                         reg = <0 0xfd800000 0 0x1000>;
818                         renesas,ipmmu-main = <&ipmmu_mm 6>;
819                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
820                         #iommu-cells = <1>;
821                 };
822
823                 ipmmu_rt: mmu@ffc80000 {
824                         compatible = "renesas,ipmmu-r8a77965";
825                         reg = <0 0xffc80000 0 0x1000>;
826                         renesas,ipmmu-main = <&ipmmu_mm 10>;
827                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
828                         #iommu-cells = <1>;
829                 };
830
831                 ipmmu_vc0: mmu@fe6b0000 {
832                         compatible = "renesas,ipmmu-r8a77965";
833                         reg = <0 0xfe6b0000 0 0x1000>;
834                         renesas,ipmmu-main = <&ipmmu_mm 12>;
835                         power-domains = <&sysc R8A77965_PD_A3VC>;
836                         #iommu-cells = <1>;
837                 };
838
839                 ipmmu_vi0: mmu@febd0000 {
840                         compatible = "renesas,ipmmu-r8a77965";
841                         reg = <0 0xfebd0000 0 0x1000>;
842                         renesas,ipmmu-main = <&ipmmu_mm 14>;
843                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
844                         #iommu-cells = <1>;
845                 };
846
847                 ipmmu_vp0: mmu@fe990000 {
848                         compatible = "renesas,ipmmu-r8a77965";
849                         reg = <0 0xfe990000 0 0x1000>;
850                         renesas,ipmmu-main = <&ipmmu_mm 16>;
851                         power-domains = <&sysc R8A77965_PD_A3VP>;
852                         #iommu-cells = <1>;
853                 };
854
855                 avb: ethernet@e6800000 {
856                         compatible = "renesas,etheravb-r8a77965",
857                                      "renesas,etheravb-rcar-gen3";
858                         reg = <0 0xe6800000 0 0x800>, <0 0xe6a00000 0 0x10000>;
859                         interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
860                                      <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
861                                      <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
862                                      <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
863                                      <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
864                                      <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
865                                      <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
866                                      <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
867                                      <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
868                                      <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
869                                      <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
870                                      <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
871                                      <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
872                                      <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
873                                      <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
874                                      <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
875                                      <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
876                                      <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
877                                      <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
878                                      <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
879                                      <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
880                                      <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
881                                      <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
882                                      <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
883                                      <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
884                         interrupt-names = "ch0", "ch1", "ch2", "ch3",
885                                           "ch4", "ch5", "ch6", "ch7",
886                                           "ch8", "ch9", "ch10", "ch11",
887                                           "ch12", "ch13", "ch14", "ch15",
888                                           "ch16", "ch17", "ch18", "ch19",
889                                           "ch20", "ch21", "ch22", "ch23",
890                                           "ch24";
891                         clocks = <&cpg CPG_MOD 812>;
892                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
893                         resets = <&cpg 812>;
894                         phy-mode = "rgmii";
895                         iommus = <&ipmmu_ds0 16>;
896                         #address-cells = <1>;
897                         #size-cells = <0>;
898                         status = "disabled";
899                 };
900
901                 can0: can@e6c30000 {
902                         compatible = "renesas,can-r8a77965",
903                                      "renesas,rcar-gen3-can";
904                         reg = <0 0xe6c30000 0 0x1000>;
905                         interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
906                         clocks = <&cpg CPG_MOD 916>,
907                                <&cpg CPG_CORE R8A77965_CLK_CANFD>,
908                                <&can_clk>;
909                         clock-names = "clkp1", "clkp2", "can_clk";
910                         assigned-clocks = <&cpg CPG_CORE R8A77965_CLK_CANFD>;
911                         assigned-clock-rates = <40000000>;
912                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
913                         resets = <&cpg 916>;
914                         status = "disabled";
915                 };
916
917                 can1: can@e6c38000 {
918                         compatible = "renesas,can-r8a77965",
919                                      "renesas,rcar-gen3-can";
920                         reg = <0 0xe6c38000 0 0x1000>;
921                         interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
922                         clocks = <&cpg CPG_MOD 915>,
923                                <&cpg CPG_CORE R8A77965_CLK_CANFD>,
924                                <&can_clk>;
925                         clock-names = "clkp1", "clkp2", "can_clk";
926                         assigned-clocks = <&cpg CPG_CORE R8A77965_CLK_CANFD>;
927                         assigned-clock-rates = <40000000>;
928                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
929                         resets = <&cpg 915>;
930                         status = "disabled";
931                 };
932
933                 canfd: can@e66c0000 {
934                         compatible = "renesas,r8a77965-canfd",
935                                      "renesas,rcar-gen3-canfd";
936                         reg = <0 0xe66c0000 0 0x8000>;
937                         interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
938                                    <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
939                         clocks = <&cpg CPG_MOD 914>,
940                                <&cpg CPG_CORE R8A77965_CLK_CANFD>,
941                                <&can_clk>;
942                         clock-names = "fck", "canfd", "can_clk";
943                         assigned-clocks = <&cpg CPG_CORE R8A77965_CLK_CANFD>;
944                         assigned-clock-rates = <40000000>;
945                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
946                         resets = <&cpg 914>;
947                         status = "disabled";
948
949                         channel0 {
950                                 status = "disabled";
951                         };
952
953                         channel1 {
954                                 status = "disabled";
955                         };
956                 };
957
958                 pwm0: pwm@e6e30000 {
959                         compatible = "renesas,pwm-r8a77965", "renesas,pwm-rcar";
960                         reg = <0 0xe6e30000 0 8>;
961                         #pwm-cells = <2>;
962                         clocks = <&cpg CPG_MOD 523>;
963                         resets = <&cpg 523>;
964                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
965                         status = "disabled";
966                 };
967
968                 pwm1: pwm@e6e31000 {
969                         compatible = "renesas,pwm-r8a77965", "renesas,pwm-rcar";
970                         reg = <0 0xe6e31000 0 8>;
971                         #pwm-cells = <2>;
972                         clocks = <&cpg CPG_MOD 523>;
973                         resets = <&cpg 523>;
974                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
975                         status = "disabled";
976                 };
977
978                 pwm2: pwm@e6e32000 {
979                         compatible = "renesas,pwm-r8a77965", "renesas,pwm-rcar";
980                         reg = <0 0xe6e32000 0 8>;
981                         #pwm-cells = <2>;
982                         clocks = <&cpg CPG_MOD 523>;
983                         resets = <&cpg 523>;
984                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
985                         status = "disabled";
986                 };
987
988                 pwm3: pwm@e6e33000 {
989                         compatible = "renesas,pwm-r8a77965", "renesas,pwm-rcar";
990                         reg = <0 0xe6e33000 0 8>;
991                         #pwm-cells = <2>;
992                         clocks = <&cpg CPG_MOD 523>;
993                         resets = <&cpg 523>;
994                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
995                         status = "disabled";
996                 };
997
998                 pwm4: pwm@e6e34000 {
999                         compatible = "renesas,pwm-r8a77965", "renesas,pwm-rcar";
1000                         reg = <0 0xe6e34000 0 8>;
1001                         #pwm-cells = <2>;
1002                         clocks = <&cpg CPG_MOD 523>;
1003                         resets = <&cpg 523>;
1004                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1005                         status = "disabled";
1006                 };
1007
1008                 pwm5: pwm@e6e35000 {
1009                         compatible = "renesas,pwm-r8a77965", "renesas,pwm-rcar";
1010                         reg = <0 0xe6e35000 0 8>;
1011                         #pwm-cells = <2>;
1012                         clocks = <&cpg CPG_MOD 523>;
1013                         resets = <&cpg 523>;
1014                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1015                         status = "disabled";
1016                 };
1017
1018                 pwm6: pwm@e6e36000 {
1019                         compatible = "renesas,pwm-r8a77965", "renesas,pwm-rcar";
1020                         reg = <0 0xe6e36000 0 8>;
1021                         #pwm-cells = <2>;
1022                         clocks = <&cpg CPG_MOD 523>;
1023                         resets = <&cpg 523>;
1024                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1025                         status = "disabled";
1026                 };
1027
1028                 scif0: serial@e6e60000 {
1029                         compatible = "renesas,scif-r8a77965",
1030                                      "renesas,rcar-gen3-scif", "renesas,scif";
1031                         reg = <0 0xe6e60000 0 64>;
1032                         interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
1033                         clocks = <&cpg CPG_MOD 207>,
1034                                  <&cpg CPG_CORE R8A77965_CLK_S3D1>,
1035                                  <&scif_clk>;
1036                         clock-names = "fck", "brg_int", "scif_clk";
1037                         dmas = <&dmac1 0x51>, <&dmac1 0x50>,
1038                                <&dmac2 0x51>, <&dmac2 0x50>;
1039                         dma-names = "tx", "rx", "tx", "rx";
1040                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1041                         resets = <&cpg 207>;
1042                         status = "disabled";
1043                 };
1044
1045                 scif1: serial@e6e68000 {
1046                         compatible = "renesas,scif-r8a77965",
1047                                      "renesas,rcar-gen3-scif", "renesas,scif";
1048                         reg = <0 0xe6e68000 0 64>;
1049                         interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
1050                         clocks = <&cpg CPG_MOD 206>,
1051                                  <&cpg CPG_CORE R8A77965_CLK_S3D1>,
1052                                  <&scif_clk>;
1053                         clock-names = "fck", "brg_int", "scif_clk";
1054                         dmas = <&dmac1 0x53>, <&dmac1 0x52>,
1055                                <&dmac2 0x53>, <&dmac2 0x52>;
1056                         dma-names = "tx", "rx", "tx", "rx";
1057                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1058                         resets = <&cpg 206>;
1059                         status = "disabled";
1060                 };
1061
1062                 scif2: serial@e6e88000 {
1063                         compatible = "renesas,scif-r8a77965",
1064                                      "renesas,rcar-gen3-scif", "renesas,scif";
1065                         reg = <0 0xe6e88000 0 64>;
1066                         interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
1067                         clocks = <&cpg CPG_MOD 310>,
1068                                  <&cpg CPG_CORE R8A77965_CLK_S3D1>,
1069                                  <&scif_clk>;
1070                         clock-names = "fck", "brg_int", "scif_clk";
1071                         dmas = <&dmac1 0x13>, <&dmac1 0x12>,
1072                                <&dmac2 0x13>, <&dmac2 0x12>;
1073                         dma-names = "tx", "rx", "tx", "rx";
1074                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1075                         resets = <&cpg 310>;
1076                         status = "disabled";
1077                 };
1078
1079                 scif3: serial@e6c50000 {
1080                         compatible = "renesas,scif-r8a77965",
1081                                      "renesas,rcar-gen3-scif", "renesas,scif";
1082                         reg = <0 0xe6c50000 0 64>;
1083                         interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
1084                         clocks = <&cpg CPG_MOD 204>,
1085                                  <&cpg CPG_CORE R8A77965_CLK_S3D1>,
1086                                  <&scif_clk>;
1087                         clock-names = "fck", "brg_int", "scif_clk";
1088                         dmas = <&dmac0 0x57>, <&dmac0 0x56>;
1089                         dma-names = "tx", "rx";
1090                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1091                         resets = <&cpg 204>;
1092                         status = "disabled";
1093                 };
1094
1095                 scif4: serial@e6c40000 {
1096                         compatible = "renesas,scif-r8a77965",
1097                                      "renesas,rcar-gen3-scif", "renesas,scif";
1098                         reg = <0 0xe6c40000 0 64>;
1099                         interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
1100                         clocks = <&cpg CPG_MOD 203>,
1101                                  <&cpg CPG_CORE R8A77965_CLK_S3D1>,
1102                                  <&scif_clk>;
1103                         clock-names = "fck", "brg_int", "scif_clk";
1104                         dmas = <&dmac0 0x59>, <&dmac0 0x58>;
1105                         dma-names = "tx", "rx";
1106                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1107                         resets = <&cpg 203>;
1108                         status = "disabled";
1109                 };
1110
1111                 scif5: serial@e6f30000 {
1112                         compatible = "renesas,scif-r8a77965",
1113                                      "renesas,rcar-gen3-scif", "renesas,scif";
1114                         reg = <0 0xe6f30000 0 64>;
1115                         interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
1116                         clocks = <&cpg CPG_MOD 202>,
1117                                  <&cpg CPG_CORE R8A77965_CLK_S3D1>,
1118                                  <&scif_clk>;
1119                         clock-names = "fck", "brg_int", "scif_clk";
1120                         dmas = <&dmac1 0x5b>, <&dmac1 0x5a>,
1121                                <&dmac2 0x5b>, <&dmac2 0x5a>;
1122                         dma-names = "tx", "rx", "tx", "rx";
1123                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1124                         resets = <&cpg 202>;
1125                         status = "disabled";
1126                 };
1127
1128                 msiof0: spi@e6e90000 {
1129                         compatible = "renesas,msiof-r8a77965",
1130                                      "renesas,rcar-gen3-msiof";
1131                         reg = <0 0xe6e90000 0 0x0064>;
1132                         interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
1133                         clocks = <&cpg CPG_MOD 211>;
1134                         dmas = <&dmac1 0x41>, <&dmac1 0x40>,
1135                                <&dmac2 0x41>, <&dmac2 0x40>;
1136                         dma-names = "tx", "rx", "tx", "rx";
1137                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1138                         resets = <&cpg 211>;
1139                         #address-cells = <1>;
1140                         #size-cells = <0>;
1141                         status = "disabled";
1142                 };
1143
1144                 msiof1: spi@e6ea0000 {
1145                         compatible = "renesas,msiof-r8a77965",
1146                                      "renesas,rcar-gen3-msiof";
1147                         reg = <0 0xe6ea0000 0 0x0064>;
1148                         interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
1149                         clocks = <&cpg CPG_MOD 210>;
1150                         dmas = <&dmac1 0x43>, <&dmac1 0x42>,
1151                                <&dmac2 0x43>, <&dmac2 0x42>;
1152                         dma-names = "tx", "rx", "tx", "rx";
1153                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1154                         resets = <&cpg 210>;
1155                         #address-cells = <1>;
1156                         #size-cells = <0>;
1157                         status = "disabled";
1158                 };
1159
1160                 msiof2: spi@e6c00000 {
1161                         compatible = "renesas,msiof-r8a77965",
1162                                      "renesas,rcar-gen3-msiof";
1163                         reg = <0 0xe6c00000 0 0x0064>;
1164                         interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
1165                         clocks = <&cpg CPG_MOD 209>;
1166                         dmas = <&dmac0 0x45>, <&dmac0 0x44>;
1167                         dma-names = "tx", "rx";
1168                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1169                         resets = <&cpg 209>;
1170                         #address-cells = <1>;
1171                         #size-cells = <0>;
1172                         status = "disabled";
1173                 };
1174
1175                 msiof3: spi@e6c10000 {
1176                         compatible = "renesas,msiof-r8a77965",
1177                                      "renesas,rcar-gen3-msiof";
1178                         reg = <0 0xe6c10000 0 0x0064>;
1179                         interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
1180                         clocks = <&cpg CPG_MOD 208>;
1181                         dmas = <&dmac0 0x47>, <&dmac0 0x46>;
1182                         dma-names = "tx", "rx";
1183                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1184                         resets = <&cpg 208>;
1185                         #address-cells = <1>;
1186                         #size-cells = <0>;
1187                         status = "disabled";
1188                 };
1189
1190                 vin0: video@e6ef0000 {
1191                         compatible = "renesas,vin-r8a77965";
1192                         reg = <0 0xe6ef0000 0 0x1000>;
1193                         interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
1194                         clocks = <&cpg CPG_MOD 811>;
1195                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1196                         resets = <&cpg 811>;
1197                         renesas,id = <0>;
1198                         status = "disabled";
1199
1200                         ports {
1201                                 #address-cells = <1>;
1202                                 #size-cells = <0>;
1203
1204                                 port@1 {
1205                                         #address-cells = <1>;
1206                                         #size-cells = <0>;
1207
1208                                         reg = <1>;
1209
1210                                         vin0csi20: endpoint@0 {
1211                                                 reg = <0>;
1212                                                 remote-endpoint = <&csi20vin0>;
1213                                         };
1214                                         vin0csi40: endpoint@2 {
1215                                                 reg = <2>;
1216                                                 remote-endpoint = <&csi40vin0>;
1217                                         };
1218                                 };
1219                         };
1220                 };
1221
1222                 vin1: video@e6ef1000 {
1223                         compatible = "renesas,vin-r8a77965";
1224                         reg = <0 0xe6ef1000 0 0x1000>;
1225                         interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
1226                         clocks = <&cpg CPG_MOD 810>;
1227                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1228                         resets = <&cpg 810>;
1229                         renesas,id = <1>;
1230                         status = "disabled";
1231
1232                         ports {
1233                                 #address-cells = <1>;
1234                                 #size-cells = <0>;
1235
1236                                 port@1 {
1237                                         #address-cells = <1>;
1238                                         #size-cells = <0>;
1239
1240                                         reg = <1>;
1241
1242                                         vin1csi20: endpoint@0 {
1243                                                 reg = <0>;
1244                                                 remote-endpoint = <&csi20vin1>;
1245                                         };
1246                                         vin1csi40: endpoint@2 {
1247                                                 reg = <2>;
1248                                                 remote-endpoint = <&csi40vin1>;
1249                                         };
1250                                 };
1251                         };
1252                 };
1253
1254                 vin2: video@e6ef2000 {
1255                         compatible = "renesas,vin-r8a77965";
1256                         reg = <0 0xe6ef2000 0 0x1000>;
1257                         interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
1258                         clocks = <&cpg CPG_MOD 809>;
1259                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1260                         resets = <&cpg 809>;
1261                         renesas,id = <2>;
1262                         status = "disabled";
1263
1264                         ports {
1265                                 #address-cells = <1>;
1266                                 #size-cells = <0>;
1267
1268                                 port@1 {
1269                                         #address-cells = <1>;
1270                                         #size-cells = <0>;
1271
1272                                         reg = <1>;
1273
1274                                         vin2csi20: endpoint@0 {
1275                                                 reg = <0>;
1276                                                 remote-endpoint = <&csi20vin2>;
1277                                         };
1278                                         vin2csi40: endpoint@2 {
1279                                                 reg = <2>;
1280                                                 remote-endpoint = <&csi40vin2>;
1281                                         };
1282                                 };
1283                         };
1284                 };
1285
1286                 vin3: video@e6ef3000 {
1287                         compatible = "renesas,vin-r8a77965";
1288                         reg = <0 0xe6ef3000 0 0x1000>;
1289                         interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
1290                         clocks = <&cpg CPG_MOD 808>;
1291                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1292                         resets = <&cpg 808>;
1293                         renesas,id = <3>;
1294                         status = "disabled";
1295
1296                         ports {
1297                                 #address-cells = <1>;
1298                                 #size-cells = <0>;
1299
1300                                 port@1 {
1301                                         #address-cells = <1>;
1302                                         #size-cells = <0>;
1303
1304                                         reg = <1>;
1305
1306                                         vin3csi20: endpoint@0 {
1307                                                 reg = <0>;
1308                                                 remote-endpoint = <&csi20vin3>;
1309                                         };
1310                                         vin3csi40: endpoint@2 {
1311                                                 reg = <2>;
1312                                                 remote-endpoint = <&csi40vin3>;
1313                                         };
1314                                 };
1315                         };
1316                 };
1317
1318                 vin4: video@e6ef4000 {
1319                         compatible = "renesas,vin-r8a77965";
1320                         reg = <0 0xe6ef4000 0 0x1000>;
1321                         interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
1322                         clocks = <&cpg CPG_MOD 807>;
1323                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1324                         resets = <&cpg 807>;
1325                         renesas,id = <4>;
1326                         status = "disabled";
1327
1328                         ports {
1329                                 #address-cells = <1>;
1330                                 #size-cells = <0>;
1331
1332                                 port@1 {
1333                                         #address-cells = <1>;
1334                                         #size-cells = <0>;
1335
1336                                         reg = <1>;
1337
1338                                         vin4csi20: endpoint@0 {
1339                                                 reg = <0>;
1340                                                 remote-endpoint = <&csi20vin4>;
1341                                         };
1342                                         vin4csi40: endpoint@2 {
1343                                                 reg = <2>;
1344                                                 remote-endpoint = <&csi40vin4>;
1345                                         };
1346                                 };
1347                         };
1348                 };
1349
1350                 vin5: video@e6ef5000 {
1351                         compatible = "renesas,vin-r8a77965";
1352                         reg = <0 0xe6ef5000 0 0x1000>;
1353                         interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
1354                         clocks = <&cpg CPG_MOD 806>;
1355                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1356                         resets = <&cpg 806>;
1357                         renesas,id = <5>;
1358                         status = "disabled";
1359
1360                         ports {
1361                                 #address-cells = <1>;
1362                                 #size-cells = <0>;
1363
1364                                 port@1 {
1365                                         #address-cells = <1>;
1366                                         #size-cells = <0>;
1367
1368                                         reg = <1>;
1369
1370                                         vin5csi20: endpoint@0 {
1371                                                 reg = <0>;
1372                                                 remote-endpoint = <&csi20vin5>;
1373                                         };
1374                                         vin5csi40: endpoint@2 {
1375                                                 reg = <2>;
1376                                                 remote-endpoint = <&csi40vin5>;
1377                                         };
1378                                 };
1379                         };
1380                 };
1381
1382                 vin6: video@e6ef6000 {
1383                         compatible = "renesas,vin-r8a77965";
1384                         reg = <0 0xe6ef6000 0 0x1000>;
1385                         interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
1386                         clocks = <&cpg CPG_MOD 805>;
1387                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1388                         resets = <&cpg 805>;
1389                         renesas,id = <6>;
1390                         status = "disabled";
1391
1392                         ports {
1393                                 #address-cells = <1>;
1394                                 #size-cells = <0>;
1395
1396                                 port@1 {
1397                                         #address-cells = <1>;
1398                                         #size-cells = <0>;
1399
1400                                         reg = <1>;
1401
1402                                         vin6csi20: endpoint@0 {
1403                                                 reg = <0>;
1404                                                 remote-endpoint = <&csi20vin6>;
1405                                         };
1406                                         vin6csi40: endpoint@2 {
1407                                                 reg = <2>;
1408                                                 remote-endpoint = <&csi40vin6>;
1409                                         };
1410                                 };
1411                         };
1412                 };
1413
1414                 vin7: video@e6ef7000 {
1415                         compatible = "renesas,vin-r8a77965";
1416                         reg = <0 0xe6ef7000 0 0x1000>;
1417                         interrupts = <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>;
1418                         clocks = <&cpg CPG_MOD 804>;
1419                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1420                         resets = <&cpg 804>;
1421                         renesas,id = <7>;
1422                         status = "disabled";
1423
1424                         ports {
1425                                 #address-cells = <1>;
1426                                 #size-cells = <0>;
1427
1428                                 port@1 {
1429                                         #address-cells = <1>;
1430                                         #size-cells = <0>;
1431
1432                                         reg = <1>;
1433
1434                                         vin7csi20: endpoint@0 {
1435                                                 reg = <0>;
1436                                                 remote-endpoint = <&csi20vin7>;
1437                                         };
1438                                         vin7csi40: endpoint@2 {
1439                                                 reg = <2>;
1440                                                 remote-endpoint = <&csi40vin7>;
1441                                         };
1442                                 };
1443                         };
1444                 };
1445
1446                 rcar_sound: sound@ec500000 {
1447                         /*
1448                          * #sound-dai-cells is required
1449                          *
1450                          * Single DAI : #sound-dai-cells = <0>; <&rcar_sound>;
1451                          * Multi  DAI : #sound-dai-cells = <1>; <&rcar_sound N>;
1452                          */
1453                         /*
1454                          * #clock-cells is required for audio_clkout0/1/2/3
1455                          *
1456                          * clkout       : #clock-cells = <0>;   <&rcar_sound>;
1457                          * clkout0/1/2/3: #clock-cells = <1>;   <&rcar_sound N>;
1458                          */
1459                         compatible =  "renesas,rcar_sound-r8a77965", "renesas,rcar_sound-gen3";
1460                         reg =   <0 0xec500000 0 0x1000>, /* SCU */
1461                                 <0 0xec5a0000 0 0x100>,  /* ADG */
1462                                 <0 0xec540000 0 0x1000>, /* SSIU */
1463                                 <0 0xec541000 0 0x280>,  /* SSI */
1464                                 <0 0xec760000 0 0x200>;  /* Audio DMAC peri peri*/
1465                         reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
1466
1467                         clocks = <&cpg CPG_MOD 1005>,
1468                                  <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
1469                                  <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
1470                                  <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
1471                                  <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
1472                                  <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
1473                                  <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
1474                                  <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
1475                                  <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
1476                                  <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
1477                                  <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
1478                                  <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
1479                                  <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
1480                                  <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
1481                                  <&audio_clk_a>, <&audio_clk_b>,
1482                                  <&audio_clk_c>,
1483                                  <&cpg CPG_CORE R8A77965_CLK_S0D4>;
1484                         clock-names = "ssi-all",
1485                                       "ssi.9", "ssi.8", "ssi.7", "ssi.6",
1486                                       "ssi.5", "ssi.4", "ssi.3", "ssi.2",
1487                                       "ssi.1", "ssi.0",
1488                                       "src.9", "src.8", "src.7", "src.6",
1489                                       "src.5", "src.4", "src.3", "src.2",
1490                                       "src.1", "src.0",
1491                                       "mix.1", "mix.0",
1492                                       "ctu.1", "ctu.0",
1493                                       "dvc.0", "dvc.1",
1494                                       "clk_a", "clk_b", "clk_c", "clk_i";
1495                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1496                         resets = <&cpg 1005>,
1497                                  <&cpg 1006>, <&cpg 1007>,
1498                                  <&cpg 1008>, <&cpg 1009>,
1499                                  <&cpg 1010>, <&cpg 1011>,
1500                                  <&cpg 1012>, <&cpg 1013>,
1501                                  <&cpg 1014>, <&cpg 1015>;
1502                         reset-names = "ssi-all",
1503                                       "ssi.9", "ssi.8", "ssi.7", "ssi.6",
1504                                       "ssi.5", "ssi.4", "ssi.3", "ssi.2",
1505                                       "ssi.1", "ssi.0";
1506                         status = "disabled";
1507
1508                         rcar_sound,dvc {
1509                                 dvc0: dvc-0 {
1510                                         dmas = <&audma1 0xbc>;
1511                                         dma-names = "tx";
1512                                 };
1513                                 dvc1: dvc-1 {
1514                                         dmas = <&audma1 0xbe>;
1515                                         dma-names = "tx";
1516                                 };
1517                         };
1518
1519                         rcar_sound,mix {
1520                                 mix0: mix-0 { };
1521                                 mix1: mix-1 { };
1522                         };
1523
1524                         rcar_sound,ctu {
1525                                 ctu00: ctu-0 { };
1526                                 ctu01: ctu-1 { };
1527                                 ctu02: ctu-2 { };
1528                                 ctu03: ctu-3 { };
1529                                 ctu10: ctu-4 { };
1530                                 ctu11: ctu-5 { };
1531                                 ctu12: ctu-6 { };
1532                                 ctu13: ctu-7 { };
1533                         };
1534
1535                         rcar_sound,src {
1536                                 src0: src-0 {
1537                                         interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
1538                                         dmas = <&audma0 0x85>, <&audma1 0x9a>;
1539                                         dma-names = "rx", "tx";
1540                                 };
1541                                 src1: src-1 {
1542                                         interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1543                                         dmas = <&audma0 0x87>, <&audma1 0x9c>;
1544                                         dma-names = "rx", "tx";
1545                                 };
1546                                 src2: src-2 {
1547                                         interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1548                                         dmas = <&audma0 0x89>, <&audma1 0x9e>;
1549                                         dma-names = "rx", "tx";
1550                                 };
1551                                 src3: src-3 {
1552                                         interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1553                                         dmas = <&audma0 0x8b>, <&audma1 0xa0>;
1554                                         dma-names = "rx", "tx";
1555                                 };
1556                                 src4: src-4 {
1557                                         interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1558                                         dmas = <&audma0 0x8d>, <&audma1 0xb0>;
1559                                         dma-names = "rx", "tx";
1560                                 };
1561                                 src5: src-5 {
1562                                         interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1563                                         dmas = <&audma0 0x8f>, <&audma1 0xb2>;
1564                                         dma-names = "rx", "tx";
1565                                 };
1566                                 src6: src-6 {
1567                                         interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1568                                         dmas = <&audma0 0x91>, <&audma1 0xb4>;
1569                                         dma-names = "rx", "tx";
1570                                 };
1571                                 src7: src-7 {
1572                                         interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1573                                         dmas = <&audma0 0x93>, <&audma1 0xb6>;
1574                                         dma-names = "rx", "tx";
1575                                 };
1576                                 src8: src-8 {
1577                                         interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1578                                         dmas = <&audma0 0x95>, <&audma1 0xb8>;
1579                                         dma-names = "rx", "tx";
1580                                 };
1581                                 src9: src-9 {
1582                                         interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
1583                                         dmas = <&audma0 0x97>, <&audma1 0xba>;
1584                                         dma-names = "rx", "tx";
1585                                 };
1586                         };
1587
1588                         rcar_sound,ssiu {
1589                                 ssiu00: ssiu-0 {
1590                                         dmas = <&audma0 0x15>, <&audma1 0x16>;
1591                                         dma-names = "rx", "tx";
1592                                 };
1593                                 ssiu01: ssiu-1 {
1594                                         dmas = <&audma0 0x35>, <&audma1 0x36>;
1595                                         dma-names = "rx", "tx";
1596                                 };
1597                                 ssiu02: ssiu-2 {
1598                                         dmas = <&audma0 0x37>, <&audma1 0x38>;
1599                                         dma-names = "rx", "tx";
1600                                 };
1601                                 ssiu03: ssiu-3 {
1602                                         dmas = <&audma0 0x47>, <&audma1 0x48>;
1603                                         dma-names = "rx", "tx";
1604                                 };
1605                                 ssiu04: ssiu-4 {
1606                                         dmas = <&audma0 0x3F>, <&audma1 0x40>;
1607                                         dma-names = "rx", "tx";
1608                                 };
1609                                 ssiu05: ssiu-5 {
1610                                         dmas = <&audma0 0x43>, <&audma1 0x44>;
1611                                         dma-names = "rx", "tx";
1612                                 };
1613                                 ssiu06: ssiu-6 {
1614                                         dmas = <&audma0 0x4F>, <&audma1 0x50>;
1615                                         dma-names = "rx", "tx";
1616                                 };
1617                                 ssiu07: ssiu-7 {
1618                                         dmas = <&audma0 0x53>, <&audma1 0x54>;
1619                                         dma-names = "rx", "tx";
1620                                 };
1621                                 ssiu10: ssiu-8 {
1622                                         dmas = <&audma0 0x49>, <&audma1 0x4a>;
1623                                         dma-names = "rx", "tx";
1624                                 };
1625                                 ssiu11: ssiu-9 {
1626                                         dmas = <&audma0 0x4B>, <&audma1 0x4C>;
1627                                         dma-names = "rx", "tx";
1628                                 };
1629                                 ssiu12: ssiu-10 {
1630                                         dmas = <&audma0 0x57>, <&audma1 0x58>;
1631                                         dma-names = "rx", "tx";
1632                                 };
1633                                 ssiu13: ssiu-11 {
1634                                         dmas = <&audma0 0x59>, <&audma1 0x5A>;
1635                                         dma-names = "rx", "tx";
1636                                 };
1637                                 ssiu14: ssiu-12 {
1638                                         dmas = <&audma0 0x5F>, <&audma1 0x60>;
1639                                         dma-names = "rx", "tx";
1640                                 };
1641                                 ssiu15: ssiu-13 {
1642                                         dmas = <&audma0 0xC3>, <&audma1 0xC4>;
1643                                         dma-names = "rx", "tx";
1644                                 };
1645                                 ssiu16: ssiu-14 {
1646                                         dmas = <&audma0 0xC7>, <&audma1 0xC8>;
1647                                         dma-names = "rx", "tx";
1648                                 };
1649                                 ssiu17: ssiu-15 {
1650                                         dmas = <&audma0 0xCB>, <&audma1 0xCC>;
1651                                         dma-names = "rx", "tx";
1652                                 };
1653                                 ssiu20: ssiu-16 {
1654                                         dmas = <&audma0 0x63>, <&audma1 0x64>;
1655                                         dma-names = "rx", "tx";
1656                                 };
1657                                 ssiu21: ssiu-17 {
1658                                         dmas = <&audma0 0x67>, <&audma1 0x68>;
1659                                         dma-names = "rx", "tx";
1660                                 };
1661                                 ssiu22: ssiu-18 {
1662                                         dmas = <&audma0 0x6B>, <&audma1 0x6C>;
1663                                         dma-names = "rx", "tx";
1664                                 };
1665                                 ssiu23: ssiu-19 {
1666                                         dmas = <&audma0 0x6D>, <&audma1 0x6E>;
1667                                         dma-names = "rx", "tx";
1668                                 };
1669                                 ssiu24: ssiu-20 {
1670                                         dmas = <&audma0 0xCF>, <&audma1 0xCE>;
1671                                         dma-names = "rx", "tx";
1672                                 };
1673                                 ssiu25: ssiu-21 {
1674                                         dmas = <&audma0 0xEB>, <&audma1 0xEC>;
1675                                         dma-names = "rx", "tx";
1676                                 };
1677                                 ssiu26: ssiu-22 {
1678                                         dmas = <&audma0 0xED>, <&audma1 0xEE>;
1679                                         dma-names = "rx", "tx";
1680                                 };
1681                                 ssiu27: ssiu-23 {
1682                                         dmas = <&audma0 0xEF>, <&audma1 0xF0>;
1683                                         dma-names = "rx", "tx";
1684                                 };
1685                                 ssiu30: ssiu-24 {
1686                                         dmas = <&audma0 0x6f>, <&audma1 0x70>;
1687                                         dma-names = "rx", "tx";
1688                                 };
1689                                 ssiu31: ssiu-25 {
1690                                         dmas = <&audma0 0x21>, <&audma1 0x22>;
1691                                         dma-names = "rx", "tx";
1692                                 };
1693                                 ssiu32: ssiu-26 {
1694                                         dmas = <&audma0 0x23>, <&audma1 0x24>;
1695                                         dma-names = "rx", "tx";
1696                                 };
1697                                 ssiu33: ssiu-27 {
1698                                         dmas = <&audma0 0x25>, <&audma1 0x26>;
1699                                         dma-names = "rx", "tx";
1700                                 };
1701                                 ssiu34: ssiu-28 {
1702                                         dmas = <&audma0 0x27>, <&audma1 0x28>;
1703                                         dma-names = "rx", "tx";
1704                                 };
1705                                 ssiu35: ssiu-29 {
1706                                         dmas = <&audma0 0x29>, <&audma1 0x2A>;
1707                                         dma-names = "rx", "tx";
1708                                 };
1709                                 ssiu36: ssiu-30 {
1710                                         dmas = <&audma0 0x2B>, <&audma1 0x2C>;
1711                                         dma-names = "rx", "tx";
1712                                 };
1713                                 ssiu37: ssiu-31 {
1714                                         dmas = <&audma0 0x2D>, <&audma1 0x2E>;
1715                                         dma-names = "rx", "tx";
1716                                 };
1717                                 ssiu40: ssiu-32 {
1718                                         dmas =  <&audma0 0x71>, <&audma1 0x72>;
1719                                         dma-names = "rx", "tx";
1720                                 };
1721                                 ssiu41: ssiu-33 {
1722                                         dmas = <&audma0 0x17>, <&audma1 0x18>;
1723                                         dma-names = "rx", "tx";
1724                                 };
1725                                 ssiu42: ssiu-34 {
1726                                         dmas = <&audma0 0x19>, <&audma1 0x1A>;
1727                                         dma-names = "rx", "tx";
1728                                 };
1729                                 ssiu43: ssiu-35 {
1730                                         dmas = <&audma0 0x1B>, <&audma1 0x1C>;
1731                                         dma-names = "rx", "tx";
1732                                 };
1733                                 ssiu44: ssiu-36 {
1734                                         dmas = <&audma0 0x1D>, <&audma1 0x1E>;
1735                                         dma-names = "rx", "tx";
1736                                 };
1737                                 ssiu45: ssiu-37 {
1738                                         dmas = <&audma0 0x1F>, <&audma1 0x20>;
1739                                         dma-names = "rx", "tx";
1740                                 };
1741                                 ssiu46: ssiu-38 {
1742                                         dmas = <&audma0 0x31>, <&audma1 0x32>;
1743                                         dma-names = "rx", "tx";
1744                                 };
1745                                 ssiu47: ssiu-39 {
1746                                         dmas = <&audma0 0x33>, <&audma1 0x34>;
1747                                         dma-names = "rx", "tx";
1748                                 };
1749                                 ssiu50: ssiu-40 {
1750                                         dmas = <&audma0 0x73>, <&audma1 0x74>;
1751                                         dma-names = "rx", "tx";
1752                                 };
1753                                 ssiu60: ssiu-41 {
1754                                         dmas = <&audma0 0x75>, <&audma1 0x76>;
1755                                         dma-names = "rx", "tx";
1756                                 };
1757                                 ssiu70: ssiu-42 {
1758                                         dmas = <&audma0 0x79>, <&audma1 0x7a>;
1759                                         dma-names = "rx", "tx";
1760                                 };
1761                                 ssiu80: ssiu-43 {
1762                                         dmas = <&audma0 0x7b>, <&audma1 0x7c>;
1763                                         dma-names = "rx", "tx";
1764                                 };
1765                                 ssiu90: ssiu-44 {
1766                                         dmas = <&audma0 0x7d>, <&audma1 0x7e>;
1767                                         dma-names = "rx", "tx";
1768                                 };
1769                                 ssiu91: ssiu-45 {
1770                                         dmas = <&audma0 0x7F>, <&audma1 0x80>;
1771                                         dma-names = "rx", "tx";
1772                                 };
1773                                 ssiu92: ssiu-46 {
1774                                         dmas = <&audma0 0x81>, <&audma1 0x82>;
1775                                         dma-names = "rx", "tx";
1776                                 };
1777                                 ssiu93: ssiu-47 {
1778                                         dmas = <&audma0 0x83>, <&audma1 0x84>;
1779                                         dma-names = "rx", "tx";
1780                                 };
1781                                 ssiu94: ssiu-48 {
1782                                         dmas = <&audma0 0xA3>, <&audma1 0xA4>;
1783                                         dma-names = "rx", "tx";
1784                                 };
1785                                 ssiu95: ssiu-49 {
1786                                         dmas = <&audma0 0xA5>, <&audma1 0xA6>;
1787                                         dma-names = "rx", "tx";
1788                                 };
1789                                 ssiu96: ssiu-50 {
1790                                         dmas = <&audma0 0xA7>, <&audma1 0xA8>;
1791                                         dma-names = "rx", "tx";
1792                                 };
1793                                 ssiu97: ssiu-51 {
1794                                         dmas = <&audma0 0xA9>, <&audma1 0xAA>;
1795                                         dma-names = "rx", "tx";
1796                                 };
1797                         };
1798
1799                         rcar_sound,ssi {
1800                                 ssi0: ssi-0 {
1801                                         interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
1802                                         dmas = <&audma0 0x01>, <&audma1 0x02>;
1803                                         dma-names = "rx", "tx";
1804                                 };
1805                                 ssi1: ssi-1 {
1806                                         interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
1807                                         dmas = <&audma0 0x03>, <&audma1 0x04>;
1808                                         dma-names = "rx", "tx";
1809                                 };
1810                                 ssi2: ssi-2 {
1811                                         interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>;
1812                                         dmas = <&audma0 0x05>, <&audma1 0x06>;
1813                                         dma-names = "rx", "tx";
1814                                 };
1815                                 ssi3: ssi-3 {
1816                                         interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
1817                                         dmas = <&audma0 0x07>, <&audma1 0x08>;
1818                                         dma-names = "rx", "tx";
1819                                 };
1820                                 ssi4: ssi-4 {
1821                                         interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
1822                                         dmas = <&audma0 0x09>, <&audma1 0x0a>;
1823                                         dma-names = "rx", "tx";
1824                                 };
1825                                 ssi5: ssi-5 {
1826                                         interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
1827                                         dmas = <&audma0 0x0b>, <&audma1 0x0c>;
1828                                         dma-names = "rx", "tx";
1829                                 };
1830                                 ssi6: ssi-6 {
1831                                         interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>;
1832                                         dmas = <&audma0 0x0d>, <&audma1 0x0e>;
1833                                         dma-names = "rx", "tx";
1834                                 };
1835                                 ssi7: ssi-7 {
1836                                         interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>;
1837                                         dmas = <&audma0 0x0f>, <&audma1 0x10>;
1838                                         dma-names = "rx", "tx";
1839                                 };
1840                                 ssi8: ssi-8 {
1841                                         interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>;
1842                                         dmas = <&audma0 0x11>, <&audma1 0x12>;
1843                                         dma-names = "rx", "tx";
1844                                 };
1845                                 ssi9: ssi-9 {
1846                                         interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
1847                                         dmas = <&audma0 0x13>, <&audma1 0x14>;
1848                                         dma-names = "rx", "tx";
1849                                 };
1850                         };
1851                 };
1852
1853                 audma0: dma-controller@ec700000 {
1854                         compatible = "renesas,dmac-r8a77965",
1855                                      "renesas,rcar-dmac";
1856                         reg = <0 0xec700000 0 0x10000>;
1857                         interrupts = <GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH
1858                                       GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH
1859                                       GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH
1860                                       GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH
1861                                       GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH
1862                                       GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH
1863                                       GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH
1864                                       GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH
1865                                       GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH
1866                                       GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH
1867                                       GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH
1868                                       GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH
1869                                       GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH
1870                                       GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH
1871                                       GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH
1872                                       GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH
1873                                       GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>;
1874                         interrupt-names = "error",
1875                                         "ch0", "ch1", "ch2", "ch3",
1876                                         "ch4", "ch5", "ch6", "ch7",
1877                                         "ch8", "ch9", "ch10", "ch11",
1878                                         "ch12", "ch13", "ch14", "ch15";
1879                         clocks = <&cpg CPG_MOD 502>;
1880                         clock-names = "fck";
1881                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1882                         resets = <&cpg 502>;
1883                         #dma-cells = <1>;
1884                         dma-channels = <16>;
1885                 };
1886
1887                 audma1: dma-controller@ec720000 {
1888                         compatible = "renesas,dmac-r8a77965",
1889                                      "renesas,rcar-dmac";
1890                         reg = <0 0xec720000 0 0x10000>;
1891                         interrupts = <GIC_SPI 351 IRQ_TYPE_LEVEL_HIGH
1892                                       GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH
1893                                       GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH
1894                                       GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH
1895                                       GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH
1896                                       GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH
1897                                       GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH
1898                                       GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH
1899                                       GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH
1900                                       GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH
1901                                       GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH
1902                                       GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH
1903                                       GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH
1904                                       GIC_SPI 348 IRQ_TYPE_LEVEL_HIGH
1905                                       GIC_SPI 349 IRQ_TYPE_LEVEL_HIGH
1906                                       GIC_SPI 382 IRQ_TYPE_LEVEL_HIGH
1907                                       GIC_SPI 383 IRQ_TYPE_LEVEL_HIGH>;
1908                         interrupt-names = "error",
1909                                         "ch0", "ch1", "ch2", "ch3",
1910                                         "ch4", "ch5", "ch6", "ch7",
1911                                         "ch8", "ch9", "ch10", "ch11",
1912                                         "ch12", "ch13", "ch14", "ch15";
1913                         clocks = <&cpg CPG_MOD 501>;
1914                         clock-names = "fck";
1915                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1916                         resets = <&cpg 501>;
1917                         #dma-cells = <1>;
1918                         dma-channels = <16>;
1919                 };
1920
1921                 xhci0: usb@ee000000 {
1922                         compatible = "renesas,xhci-r8a77965",
1923                                      "renesas,rcar-gen3-xhci";
1924                         reg = <0 0xee000000 0 0xc00>;
1925                         interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
1926                         clocks = <&cpg CPG_MOD 328>;
1927                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1928                         resets = <&cpg 328>;
1929                         status = "disabled";
1930                 };
1931
1932                 usb3_peri0: usb@ee020000 {
1933                         compatible = "renesas,r8a77965-usb3-peri",
1934                                      "renesas,rcar-gen3-usb3-peri";
1935                         reg = <0 0xee020000 0 0x400>;
1936                         interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
1937                         clocks = <&cpg CPG_MOD 328>;
1938                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1939                         resets = <&cpg 328>;
1940                         status = "disabled";
1941                 };
1942
1943                 ohci0: usb@ee080000 {
1944                         compatible = "generic-ohci";
1945                         reg = <0 0xee080000 0 0x100>;
1946                         interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1947                         clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
1948                         phys = <&usb2_phy0>;
1949                         phy-names = "usb";
1950                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1951                         resets = <&cpg 703>, <&cpg 704>;
1952                         status = "disabled";
1953                 };
1954
1955                 ohci1: usb@ee0a0000 {
1956                         compatible = "generic-ohci";
1957                         reg = <0 0xee0a0000 0 0x100>;
1958                         interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
1959                         clocks = <&cpg CPG_MOD 702>;
1960                         phys = <&usb2_phy1>;
1961                         phy-names = "usb";
1962                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1963                         resets = <&cpg 702>;
1964                         status = "disabled";
1965                 };
1966
1967                 ehci0: usb@ee080100 {
1968                         compatible = "generic-ehci";
1969                         reg = <0 0xee080100 0 0x100>;
1970                         interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1971                         clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
1972                         phys = <&usb2_phy0>;
1973                         phy-names = "usb";
1974                         companion = <&ohci0>;
1975                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1976                         resets = <&cpg 703>, <&cpg 704>;
1977                         status = "disabled";
1978                 };
1979
1980                 ehci1: usb@ee0a0100 {
1981                         compatible = "generic-ehci";
1982                         reg = <0 0xee0a0100 0 0x100>;
1983                         interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
1984                         clocks = <&cpg CPG_MOD 702>;
1985                         phys = <&usb2_phy1>;
1986                         phy-names = "usb";
1987                         companion = <&ohci1>;
1988                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
1989                         resets = <&cpg 702>;
1990                         status = "disabled";
1991                 };
1992
1993                 usb2_phy0: usb-phy@ee080200 {
1994                         compatible = "renesas,usb2-phy-r8a77965",
1995                                      "renesas,rcar-gen3-usb2-phy";
1996                         reg = <0 0xee080200 0 0x700>;
1997                         interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1998                         clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
1999                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
2000                         resets = <&cpg 703>, <&cpg 704>;
2001                         #phy-cells = <0>;
2002                         status = "disabled";
2003                 };
2004
2005                 usb2_phy1: usb-phy@ee0a0200 {
2006                         compatible = "renesas,usb2-phy-r8a77965",
2007                                      "renesas,rcar-gen3-usb2-phy";
2008                         reg = <0 0xee0a0200 0 0x700>;
2009                         clocks = <&cpg CPG_MOD 702>;
2010                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
2011                         resets = <&cpg 702>;
2012                         #phy-cells = <0>;
2013                         status = "disabled";
2014                 };
2015
2016                 sdhi0: sd@ee100000 {
2017                         compatible = "renesas,sdhi-r8a77965",
2018                                      "renesas,rcar-gen3-sdhi";
2019                         reg = <0 0xee100000 0 0x2000>;
2020                         interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
2021                         clocks = <&cpg CPG_MOD 314>;
2022                         max-frequency = <200000000>;
2023                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
2024                         resets = <&cpg 314>;
2025                         status = "disabled";
2026                 };
2027
2028                 sdhi1: sd@ee120000 {
2029                         compatible = "renesas,sdhi-r8a77965",
2030                                      "renesas,rcar-gen3-sdhi";
2031                         reg = <0 0xee120000 0 0x2000>;
2032                         interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
2033                         clocks = <&cpg CPG_MOD 313>;
2034                         max-frequency = <200000000>;
2035                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
2036                         resets = <&cpg 313>;
2037                         status = "disabled";
2038                 };
2039
2040                 sdhi2: sd@ee140000 {
2041                         compatible = "renesas,sdhi-r8a77965",
2042                                      "renesas,rcar-gen3-sdhi";
2043                         reg = <0 0xee140000 0 0x2000>;
2044                         interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
2045                         clocks = <&cpg CPG_MOD 312>;
2046                         max-frequency = <200000000>;
2047                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
2048                         resets = <&cpg 312>;
2049                         status = "disabled";
2050                 };
2051
2052                 sdhi3: sd@ee160000 {
2053                         compatible = "renesas,sdhi-r8a77965",
2054                                      "renesas,rcar-gen3-sdhi";
2055                         reg = <0 0xee160000 0 0x2000>;
2056                         interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
2057                         clocks = <&cpg CPG_MOD 311>;
2058                         max-frequency = <200000000>;
2059                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
2060                         resets = <&cpg 311>;
2061                         status = "disabled";
2062                 };
2063
2064                 sata: sata@ee300000 {
2065                         compatible = "renesas,sata-r8a77965",
2066                                      "renesas,rcar-gen3-sata";
2067                         reg = <0 0xee300000 0 0x200000>;
2068                         interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
2069                         clocks = <&cpg CPG_MOD 815>;
2070                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
2071                         resets = <&cpg 815>;
2072                         status = "disabled";
2073                 };
2074
2075                 gic: interrupt-controller@f1010000 {
2076                         compatible = "arm,gic-400";
2077                         #interrupt-cells = <3>;
2078                         #address-cells = <0>;
2079                         interrupt-controller;
2080                         reg = <0x0 0xf1010000 0 0x1000>,
2081                               <0x0 0xf1020000 0 0x20000>,
2082                               <0x0 0xf1040000 0 0x20000>,
2083                               <0x0 0xf1060000 0 0x20000>;
2084                         interrupts = <GIC_PPI 9
2085                                         (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
2086                         clocks = <&cpg CPG_MOD 408>;
2087                         clock-names = "clk";
2088                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
2089                         resets = <&cpg 408>;
2090                 };
2091
2092                 pciec0: pcie@fe000000 {
2093                         compatible = "renesas,pcie-r8a77965",
2094                                      "renesas,pcie-rcar-gen3";
2095                         reg = <0 0xfe000000 0 0x80000>;
2096                         #address-cells = <3>;
2097                         #size-cells = <2>;
2098                         bus-range = <0x00 0xff>;
2099                         device_type = "pci";
2100                         ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000
2101                                 0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000
2102                                 0x02000000 0 0x30000000 0 0x30000000 0 0x08000000
2103                                 0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
2104                         /* Map all possible DDR as inbound ranges */
2105                         dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000>;
2106                         interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
2107                                 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
2108                                 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
2109                         #interrupt-cells = <1>;
2110                         interrupt-map-mask = <0 0 0 0>;
2111                         interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
2112                         clocks = <&cpg CPG_MOD 319>, <&pcie_bus_clk>;
2113                         clock-names = "pcie", "pcie_bus";
2114                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
2115                         resets = <&cpg 319>;
2116                         status = "disabled";
2117                 };
2118
2119                 pciec1: pcie@ee800000 {
2120                         compatible = "renesas,pcie-r8a77965",
2121                                      "renesas,pcie-rcar-gen3";
2122                         reg = <0 0xee800000 0 0x80000>;
2123                         #address-cells = <3>;
2124                         #size-cells = <2>;
2125                         bus-range = <0x00 0xff>;
2126                         device_type = "pci";
2127                         ranges = <0x01000000 0 0x00000000 0 0xee900000 0 0x00100000
2128                                 0x02000000 0 0xeea00000 0 0xeea00000 0 0x00200000
2129                                 0x02000000 0 0xc0000000 0 0xc0000000 0 0x08000000
2130                                 0x42000000 0 0xc8000000 0 0xc8000000 0 0x08000000>;
2131                         /* Map all possible DDR as inbound ranges */
2132                         dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000>;
2133                         interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
2134                                 <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
2135                                 <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
2136                         #interrupt-cells = <1>;
2137                         interrupt-map-mask = <0 0 0 0>;
2138                         interrupt-map = <0 0 0 0 &gic GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
2139                         clocks = <&cpg CPG_MOD 318>, <&pcie_bus_clk>;
2140                         clock-names = "pcie", "pcie_bus";
2141                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
2142                         resets = <&cpg 318>;
2143                         status = "disabled";
2144                 };
2145
2146                 fdp1@fe940000 {
2147                         compatible = "renesas,fdp1";
2148                         reg = <0 0xfe940000 0 0x2400>;
2149                         interrupts = <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>;
2150                         clocks = <&cpg CPG_MOD 119>;
2151                         power-domains = <&sysc R8A77965_PD_A3VP>;
2152                         resets = <&cpg 119>;
2153                         renesas,fcp = <&fcpf0>;
2154                 };
2155
2156                 fcpf0: fcp@fe950000 {
2157                         compatible = "renesas,fcpf";
2158                         reg = <0 0xfe950000 0 0x200>;
2159                         clocks = <&cpg CPG_MOD 615>;
2160                         power-domains = <&sysc R8A77965_PD_A3VP>;
2161                         resets = <&cpg 615>;
2162                 };
2163
2164                 vspb: vsp@fe960000 {
2165                         compatible = "renesas,vsp2";
2166                         reg = <0 0xfe960000 0 0x8000>;
2167                         interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
2168                         clocks = <&cpg CPG_MOD 626>;
2169                         power-domains = <&sysc R8A77965_PD_A3VP>;
2170                         resets = <&cpg 626>;
2171
2172                         renesas,fcp = <&fcpvb0>;
2173                 };
2174
2175                 fcpvb0: fcp@fe96f000 {
2176                         compatible = "renesas,fcpv";
2177                         reg = <0 0xfe96f000 0 0x200>;
2178                         clocks = <&cpg CPG_MOD 607>;
2179                         power-domains = <&sysc R8A77965_PD_A3VP>;
2180                         resets = <&cpg 607>;
2181                 };
2182
2183                 vspi0: vsp@fe9a0000 {
2184                         compatible = "renesas,vsp2";
2185                         reg = <0 0xfe9a0000 0 0x8000>;
2186                         interrupts = <GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>;
2187                         clocks = <&cpg CPG_MOD 631>;
2188                         power-domains = <&sysc R8A77965_PD_A3VP>;
2189                         resets = <&cpg 631>;
2190
2191                         renesas,fcp = <&fcpvi0>;
2192                 };
2193
2194                 fcpvi0: fcp@fe9af000 {
2195                         compatible = "renesas,fcpv";
2196                         reg = <0 0xfe9af000 0 0x200>;
2197                         clocks = <&cpg CPG_MOD 611>;
2198                         power-domains = <&sysc R8A77965_PD_A3VP>;
2199                         resets = <&cpg 611>;
2200                 };
2201
2202                 vspd0: vsp@fea20000 {
2203                         compatible = "renesas,vsp2";
2204                         reg = <0 0xfea20000 0 0x5000>;
2205                         interrupts = <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>;
2206                         clocks = <&cpg CPG_MOD 623>;
2207                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
2208                         resets = <&cpg 623>;
2209
2210                         renesas,fcp = <&fcpvd0>;
2211                 };
2212
2213                 fcpvd0: fcp@fea27000 {
2214                         compatible = "renesas,fcpv";
2215                         reg = <0 0xfea27000 0 0x200>;
2216                         clocks = <&cpg CPG_MOD 603>;
2217                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
2218                         resets = <&cpg 603>;
2219                 };
2220
2221                 vspd1: vsp@fea28000 {
2222                         compatible = "renesas,vsp2";
2223                         reg = <0 0xfea28000 0 0x5000>;
2224                         interrupts = <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>;
2225                         clocks = <&cpg CPG_MOD 622>;
2226                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
2227                         resets = <&cpg 622>;
2228
2229                         renesas,fcp = <&fcpvd1>;
2230                 };
2231
2232                 fcpvd1: fcp@fea2f000 {
2233                         compatible = "renesas,fcpv";
2234                         reg = <0 0xfea2f000 0 0x200>;
2235                         clocks = <&cpg CPG_MOD 602>;
2236                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
2237                         resets = <&cpg 602>;
2238                 };
2239
2240                 csi20: csi2@fea80000 {
2241                         compatible = "renesas,r8a77965-csi2";
2242                         reg = <0 0xfea80000 0 0x10000>;
2243                         interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
2244                         clocks = <&cpg CPG_MOD 714>;
2245                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
2246                         resets = <&cpg 714>;
2247                         status = "disabled";
2248
2249                         ports {
2250                                 #address-cells = <1>;
2251                                 #size-cells = <0>;
2252
2253                                 port@1 {
2254                                         #address-cells = <1>;
2255                                         #size-cells = <0>;
2256
2257                                         reg = <1>;
2258
2259                                         csi20vin0: endpoint@0 {
2260                                                 reg = <0>;
2261                                                 remote-endpoint = <&vin0csi20>;
2262                                         };
2263                                         csi20vin1: endpoint@1 {
2264                                                 reg = <1>;
2265                                                 remote-endpoint = <&vin1csi20>;
2266                                         };
2267                                         csi20vin2: endpoint@2 {
2268                                                 reg = <2>;
2269                                                 remote-endpoint = <&vin2csi20>;
2270                                         };
2271                                         csi20vin3: endpoint@3 {
2272                                                 reg = <3>;
2273                                                 remote-endpoint = <&vin3csi20>;
2274                                         };
2275                                         csi20vin4: endpoint@4 {
2276                                                 reg = <4>;
2277                                                 remote-endpoint = <&vin4csi20>;
2278                                         };
2279                                         csi20vin5: endpoint@5 {
2280                                                 reg = <5>;
2281                                                 remote-endpoint = <&vin5csi20>;
2282                                         };
2283                                         csi20vin6: endpoint@6 {
2284                                                 reg = <6>;
2285                                                 remote-endpoint = <&vin6csi20>;
2286                                         };
2287                                         csi20vin7: endpoint@7 {
2288                                                 reg = <7>;
2289                                                 remote-endpoint = <&vin7csi20>;
2290                                         };
2291                                 };
2292                         };
2293                 };
2294
2295                 csi40: csi2@feaa0000 {
2296                         compatible = "renesas,r8a77965-csi2";
2297                         reg = <0 0xfeaa0000 0 0x10000>;
2298                         interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
2299                         clocks = <&cpg CPG_MOD 716>;
2300                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
2301                         resets = <&cpg 716>;
2302                         status = "disabled";
2303
2304                         ports {
2305                                 #address-cells = <1>;
2306                                 #size-cells = <0>;
2307
2308                                 port@1 {
2309                                         #address-cells = <1>;
2310                                         #size-cells = <0>;
2311
2312                                         reg = <1>;
2313
2314                                         csi40vin0: endpoint@0 {
2315                                                 reg = <0>;
2316                                                 remote-endpoint = <&vin0csi40>;
2317                                         };
2318                                         csi40vin1: endpoint@1 {
2319                                                 reg = <1>;
2320                                                 remote-endpoint = <&vin1csi40>;
2321                                         };
2322                                         csi40vin2: endpoint@2 {
2323                                                 reg = <2>;
2324                                                 remote-endpoint = <&vin2csi40>;
2325                                         };
2326                                         csi40vin3: endpoint@3 {
2327                                                 reg = <3>;
2328                                                 remote-endpoint = <&vin3csi40>;
2329                                         };
2330                                         csi40vin4: endpoint@4 {
2331                                                 reg = <4>;
2332                                                 remote-endpoint = <&vin4csi40>;
2333                                         };
2334                                         csi40vin5: endpoint@5 {
2335                                                 reg = <5>;
2336                                                 remote-endpoint = <&vin5csi40>;
2337                                         };
2338                                         csi40vin6: endpoint@6 {
2339                                                 reg = <6>;
2340                                                 remote-endpoint = <&vin6csi40>;
2341                                         };
2342                                         csi40vin7: endpoint@7 {
2343                                                 reg = <7>;
2344                                                 remote-endpoint = <&vin7csi40>;
2345                                         };
2346                                 };
2347                         };
2348                 };
2349
2350                 hdmi0: hdmi@fead0000 {
2351                         compatible = "renesas,r8a77965-hdmi",
2352                                      "renesas,rcar-gen3-hdmi";
2353                         reg = <0 0xfead0000 0 0x10000>;
2354                         interrupts = <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>;
2355                         clocks = <&cpg CPG_MOD 729>,
2356                                  <&cpg CPG_CORE R8A77965_CLK_HDMI>;
2357                         clock-names = "iahb", "isfr";
2358                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
2359                         resets = <&cpg 729>;
2360                         status = "disabled";
2361
2362                         ports {
2363                                 #address-cells = <1>;
2364                                 #size-cells = <0>;
2365                                 port@0 {
2366                                         reg = <0>;
2367                                         dw_hdmi0_in: endpoint {
2368                                                 remote-endpoint = <&du_out_hdmi0>;
2369                                         };
2370                                 };
2371                                 port@1 {
2372                                         reg = <1>;
2373                                 };
2374                         };
2375                 };
2376
2377                 du: display@feb00000 {
2378                         compatible = "renesas,du-r8a77965";
2379                         reg = <0 0xfeb00000 0 0x80000>;
2380                         reg-names = "du";
2381                         interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
2382                                      <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
2383                                      <GIC_SPI 270 IRQ_TYPE_LEVEL_HIGH>;
2384                         clocks = <&cpg CPG_MOD 724>,
2385                                  <&cpg CPG_MOD 723>,
2386                                  <&cpg CPG_MOD 721>;
2387                         clock-names = "du.0", "du.1", "du.3";
2388                         status = "disabled";
2389
2390                         vsps = <&vspd0 0 &vspd1 0 &vspd0 1>;
2391
2392                         ports {
2393                                 #address-cells = <1>;
2394                                 #size-cells = <0>;
2395
2396                                 port@0 {
2397                                         reg = <0>;
2398                                         du_out_rgb: endpoint {
2399                                         };
2400                                 };
2401                                 port@1 {
2402                                         reg = <1>;
2403                                         du_out_hdmi0: endpoint {
2404                                                 remote-endpoint = <&dw_hdmi0_in>;
2405                                         };
2406                                 };
2407                                 port@2 {
2408                                         reg = <2>;
2409                                         du_out_lvds0: endpoint {
2410                                                 remote-endpoint = <&lvds0_in>;
2411                                         };
2412                                 };
2413                         };
2414                 };
2415
2416                 lvds0: lvds@feb90000 {
2417                         compatible = "renesas,r8a77965-lvds";
2418                         reg = <0 0xfeb90000 0 0x14>;
2419                         clocks = <&cpg CPG_MOD 727>;
2420                         power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
2421                         resets = <&cpg 727>;
2422                         status = "disabled";
2423
2424                         ports {
2425                                 #address-cells = <1>;
2426                                 #size-cells = <0>;
2427
2428                                 port@0 {
2429                                         reg = <0>;
2430                                         lvds0_in: endpoint {
2431                                                 remote-endpoint = <&du_out_lvds0>;
2432                                         };
2433                                 };
2434                                 port@1 {
2435                                         reg = <1>;
2436                                         lvds0_out: endpoint {
2437                                         };
2438                                 };
2439                         };
2440                 };
2441
2442                 prr: chipid@fff00044 {
2443                         compatible = "renesas,prr";
2444                         reg = <0 0xfff00044 0 4>;
2445                 };
2446         };
2447
2448         thermal-zones {
2449                 sensor_thermal1: sensor-thermal1 {
2450                         polling-delay-passive = <250>;
2451                         polling-delay = <1000>;
2452                         thermal-sensors = <&tsc 0>;
2453
2454                         trips {
2455                                 sensor1_crit: sensor1-crit {
2456                                         temperature = <120000>;
2457                                         hysteresis = <1000>;
2458                                         type = "critical";
2459                                 };
2460                         };
2461                 };
2462
2463                 sensor_thermal2: sensor-thermal2 {
2464                         polling-delay-passive = <250>;
2465                         polling-delay = <1000>;
2466                         thermal-sensors = <&tsc 1>;
2467
2468                         trips {
2469                                 sensor2_crit: sensor2-crit {
2470                                         temperature = <120000>;
2471                                         hysteresis = <1000>;
2472                                         type = "critical";
2473                                 };
2474                         };
2475                 };
2476
2477                 sensor_thermal3: sensor-thermal3 {
2478                         polling-delay-passive = <250>;
2479                         polling-delay = <1000>;
2480                         thermal-sensors = <&tsc 2>;
2481
2482                         trips {
2483                                 sensor3_crit: sensor3-crit {
2484                                         temperature = <120000>;
2485                                         hysteresis = <1000>;
2486                                         type = "critical";
2487                                 };
2488                         };
2489                 };
2490         };
2491
2492         timer {
2493                 compatible = "arm,armv8-timer";
2494                 interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
2495                                       <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
2496                                       <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
2497                                       <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
2498         };
2499
2500         /* External USB clocks - can be overridden by the board */
2501         usb3s0_clk: usb3s0 {
2502                 compatible = "fixed-clock";
2503                 #clock-cells = <0>;
2504                 clock-frequency = <0>;
2505         };
2506
2507         usb_extal_clk: usb_extal {
2508                 compatible = "fixed-clock";
2509                 #clock-cells = <0>;
2510                 clock-frequency = <0>;
2511         };
2512 };