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