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