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