xref: /linux/arch/arm64/boot/dts/renesas/r8a774a1.dtsi (revision 5b971c71dd64c08c73c37f754f60a7d777ea70e9)
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		canfd: can@e66c0000 {
1155			compatible = "renesas,r8a774a1-canfd",
1156				     "renesas,rcar-gen3-canfd";
1157			reg = <0 0xe66c0000 0 0x8000>;
1158			interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
1159				     <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
1160			clocks = <&cpg CPG_MOD 914>,
1161				 <&cpg CPG_CORE R8A774A1_CLK_CANFD>,
1162				 <&can_clk>;
1163			clock-names = "fck", "canfd", "can_clk";
1164			assigned-clocks = <&cpg CPG_CORE R8A774A1_CLK_CANFD>;
1165			assigned-clock-rates = <40000000>;
1166			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1167			resets = <&cpg 914>;
1168			status = "disabled";
1169
1170			channel0 {
1171				status = "disabled";
1172			};
1173
1174			channel1 {
1175				status = "disabled";
1176			};
1177		};
1178
1179		pwm0: pwm@e6e30000 {
1180			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
1181			reg = <0 0xe6e30000 0 0x8>;
1182			#pwm-cells = <2>;
1183			clocks = <&cpg CPG_MOD 523>;
1184			resets = <&cpg 523>;
1185			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1186			status = "disabled";
1187		};
1188
1189		pwm1: pwm@e6e31000 {
1190			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
1191			reg = <0 0xe6e31000 0 0x8>;
1192			#pwm-cells = <2>;
1193			clocks = <&cpg CPG_MOD 523>;
1194			resets = <&cpg 523>;
1195			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1196			status = "disabled";
1197		};
1198
1199		pwm2: pwm@e6e32000 {
1200			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
1201			reg = <0 0xe6e32000 0 0x8>;
1202			#pwm-cells = <2>;
1203			clocks = <&cpg CPG_MOD 523>;
1204			resets = <&cpg 523>;
1205			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1206			status = "disabled";
1207		};
1208
1209		pwm3: pwm@e6e33000 {
1210			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
1211			reg = <0 0xe6e33000 0 0x8>;
1212			#pwm-cells = <2>;
1213			clocks = <&cpg CPG_MOD 523>;
1214			resets = <&cpg 523>;
1215			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1216			status = "disabled";
1217		};
1218
1219		pwm4: pwm@e6e34000 {
1220			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
1221			reg = <0 0xe6e34000 0 0x8>;
1222			#pwm-cells = <2>;
1223			clocks = <&cpg CPG_MOD 523>;
1224			resets = <&cpg 523>;
1225			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1226			status = "disabled";
1227		};
1228
1229		pwm5: pwm@e6e35000 {
1230			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
1231			reg = <0 0xe6e35000 0 0x8>;
1232			#pwm-cells = <2>;
1233			clocks = <&cpg CPG_MOD 523>;
1234			resets = <&cpg 523>;
1235			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1236			status = "disabled";
1237		};
1238
1239		pwm6: pwm@e6e36000 {
1240			compatible = "renesas,pwm-r8a774a1", "renesas,pwm-rcar";
1241			reg = <0 0xe6e36000 0 0x8>;
1242			#pwm-cells = <2>;
1243			clocks = <&cpg CPG_MOD 523>;
1244			resets = <&cpg 523>;
1245			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1246			status = "disabled";
1247		};
1248
1249		scif0: serial@e6e60000 {
1250			compatible = "renesas,scif-r8a774a1",
1251				     "renesas,rcar-gen3-scif", "renesas,scif";
1252			reg = <0 0xe6e60000 0 0x40>;
1253			interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
1254			clocks = <&cpg CPG_MOD 207>,
1255				 <&cpg CPG_CORE R8A774A1_CLK_S3D1>,
1256				 <&scif_clk>;
1257			clock-names = "fck", "brg_int", "scif_clk";
1258			dmas = <&dmac1 0x51>, <&dmac1 0x50>,
1259			       <&dmac2 0x51>, <&dmac2 0x50>;
1260			dma-names = "tx", "rx", "tx", "rx";
1261			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1262			resets = <&cpg 207>;
1263			status = "disabled";
1264		};
1265
1266		scif1: serial@e6e68000 {
1267			compatible = "renesas,scif-r8a774a1",
1268				     "renesas,rcar-gen3-scif", "renesas,scif";
1269			reg = <0 0xe6e68000 0 0x40>;
1270			interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
1271			clocks = <&cpg CPG_MOD 206>,
1272				 <&cpg CPG_CORE R8A774A1_CLK_S3D1>,
1273				 <&scif_clk>;
1274			clock-names = "fck", "brg_int", "scif_clk";
1275			dmas = <&dmac1 0x53>, <&dmac1 0x52>,
1276			       <&dmac2 0x53>, <&dmac2 0x52>;
1277			dma-names = "tx", "rx", "tx", "rx";
1278			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1279			resets = <&cpg 206>;
1280			status = "disabled";
1281		};
1282
1283		scif2: serial@e6e88000 {
1284			compatible = "renesas,scif-r8a774a1",
1285				     "renesas,rcar-gen3-scif", "renesas,scif";
1286			reg = <0 0xe6e88000 0 0x40>;
1287			interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
1288			clocks = <&cpg CPG_MOD 310>,
1289				 <&cpg CPG_CORE R8A774A1_CLK_S3D1>,
1290				 <&scif_clk>;
1291			clock-names = "fck", "brg_int", "scif_clk";
1292			dmas = <&dmac1 0x13>, <&dmac1 0x12>,
1293			       <&dmac2 0x13>, <&dmac2 0x12>;
1294			dma-names = "tx", "rx", "tx", "rx";
1295			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1296			resets = <&cpg 310>;
1297			status = "disabled";
1298		};
1299
1300		scif3: serial@e6c50000 {
1301			compatible = "renesas,scif-r8a774a1",
1302				     "renesas,rcar-gen3-scif", "renesas,scif";
1303			reg = <0 0xe6c50000 0 0x40>;
1304			interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
1305			clocks = <&cpg CPG_MOD 204>,
1306				 <&cpg CPG_CORE R8A774A1_CLK_S3D1>,
1307				 <&scif_clk>;
1308			clock-names = "fck", "brg_int", "scif_clk";
1309			dmas = <&dmac0 0x57>, <&dmac0 0x56>;
1310			dma-names = "tx", "rx";
1311			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1312			resets = <&cpg 204>;
1313			status = "disabled";
1314		};
1315
1316		scif4: serial@e6c40000 {
1317			compatible = "renesas,scif-r8a774a1",
1318				     "renesas,rcar-gen3-scif", "renesas,scif";
1319			reg = <0 0xe6c40000 0 0x40>;
1320			interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
1321			clocks = <&cpg CPG_MOD 203>,
1322				 <&cpg CPG_CORE R8A774A1_CLK_S3D1>,
1323				 <&scif_clk>;
1324			clock-names = "fck", "brg_int", "scif_clk";
1325			dmas = <&dmac0 0x59>, <&dmac0 0x58>;
1326			dma-names = "tx", "rx";
1327			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1328			resets = <&cpg 203>;
1329			status = "disabled";
1330		};
1331
1332		scif5: serial@e6f30000 {
1333			compatible = "renesas,scif-r8a774a1",
1334				     "renesas,rcar-gen3-scif", "renesas,scif";
1335			reg = <0 0xe6f30000 0 0x40>;
1336			interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
1337			clocks = <&cpg CPG_MOD 202>,
1338				 <&cpg CPG_CORE R8A774A1_CLK_S3D1>,
1339				 <&scif_clk>;
1340			clock-names = "fck", "brg_int", "scif_clk";
1341			dmas = <&dmac1 0x5b>, <&dmac1 0x5a>,
1342			       <&dmac2 0x5b>, <&dmac2 0x5a>;
1343			dma-names = "tx", "rx", "tx", "rx";
1344			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1345			resets = <&cpg 202>;
1346			status = "disabled";
1347		};
1348
1349		msiof0: spi@e6e90000 {
1350			compatible = "renesas,msiof-r8a774a1",
1351				     "renesas,rcar-gen3-msiof";
1352			reg = <0 0xe6e90000 0 0x0064>;
1353			interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
1354			clocks = <&cpg CPG_MOD 211>;
1355			dmas = <&dmac1 0x41>, <&dmac1 0x40>,
1356			       <&dmac2 0x41>, <&dmac2 0x40>;
1357			dma-names = "tx", "rx", "tx", "rx";
1358			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1359			resets = <&cpg 211>;
1360			#address-cells = <1>;
1361			#size-cells = <0>;
1362			status = "disabled";
1363		};
1364
1365		msiof1: spi@e6ea0000 {
1366			compatible = "renesas,msiof-r8a774a1",
1367				     "renesas,rcar-gen3-msiof";
1368			reg = <0 0xe6ea0000 0 0x0064>;
1369			interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
1370			clocks = <&cpg CPG_MOD 210>;
1371			dmas = <&dmac1 0x43>, <&dmac1 0x42>,
1372			       <&dmac2 0x43>, <&dmac2 0x42>;
1373			dma-names = "tx", "rx", "tx", "rx";
1374			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1375			resets = <&cpg 210>;
1376			#address-cells = <1>;
1377			#size-cells = <0>;
1378			status = "disabled";
1379		};
1380
1381		msiof2: spi@e6c00000 {
1382			compatible = "renesas,msiof-r8a774a1",
1383				     "renesas,rcar-gen3-msiof";
1384			reg = <0 0xe6c00000 0 0x0064>;
1385			interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
1386			clocks = <&cpg CPG_MOD 209>;
1387			dmas = <&dmac0 0x45>, <&dmac0 0x44>;
1388			dma-names = "tx", "rx";
1389			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1390			resets = <&cpg 209>;
1391			#address-cells = <1>;
1392			#size-cells = <0>;
1393			status = "disabled";
1394		};
1395
1396		msiof3: spi@e6c10000 {
1397			compatible = "renesas,msiof-r8a774a1",
1398				     "renesas,rcar-gen3-msiof";
1399			reg = <0 0xe6c10000 0 0x0064>;
1400			interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
1401			clocks = <&cpg CPG_MOD 208>;
1402			dmas = <&dmac0 0x47>, <&dmac0 0x46>;
1403			dma-names = "tx", "rx";
1404			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1405			resets = <&cpg 208>;
1406			#address-cells = <1>;
1407			#size-cells = <0>;
1408			status = "disabled";
1409		};
1410
1411		vin0: video@e6ef0000 {
1412			compatible = "renesas,vin-r8a774a1";
1413			reg = <0 0xe6ef0000 0 0x1000>;
1414			interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
1415			clocks = <&cpg CPG_MOD 811>;
1416			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1417			resets = <&cpg 811>;
1418			renesas,id = <0>;
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					vin0csi20: endpoint@0 {
1432						reg = <0>;
1433						remote-endpoint = <&csi20vin0>;
1434					};
1435					vin0csi40: endpoint@2 {
1436						reg = <2>;
1437						remote-endpoint = <&csi40vin0>;
1438					};
1439				};
1440			};
1441		};
1442
1443		vin1: video@e6ef1000 {
1444			compatible = "renesas,vin-r8a774a1";
1445			reg = <0 0xe6ef1000 0 0x1000>;
1446			interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
1447			clocks = <&cpg CPG_MOD 810>;
1448			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1449			resets = <&cpg 810>;
1450			renesas,id = <1>;
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					vin1csi20: endpoint@0 {
1464						reg = <0>;
1465						remote-endpoint = <&csi20vin1>;
1466					};
1467					vin1csi40: endpoint@2 {
1468						reg = <2>;
1469						remote-endpoint = <&csi40vin1>;
1470					};
1471				};
1472			};
1473		};
1474
1475		vin2: video@e6ef2000 {
1476			compatible = "renesas,vin-r8a774a1";
1477			reg = <0 0xe6ef2000 0 0x1000>;
1478			interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
1479			clocks = <&cpg CPG_MOD 809>;
1480			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1481			resets = <&cpg 809>;
1482			renesas,id = <2>;
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					vin2csi20: endpoint@0 {
1496						reg = <0>;
1497						remote-endpoint = <&csi20vin2>;
1498					};
1499					vin2csi40: endpoint@2 {
1500						reg = <2>;
1501						remote-endpoint = <&csi40vin2>;
1502					};
1503				};
1504			};
1505		};
1506
1507		vin3: video@e6ef3000 {
1508			compatible = "renesas,vin-r8a774a1";
1509			reg = <0 0xe6ef3000 0 0x1000>;
1510			interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
1511			clocks = <&cpg CPG_MOD 808>;
1512			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1513			resets = <&cpg 808>;
1514			renesas,id = <3>;
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					vin3csi20: endpoint@0 {
1528						reg = <0>;
1529						remote-endpoint = <&csi20vin3>;
1530					};
1531					vin3csi40: endpoint@2 {
1532						reg = <2>;
1533						remote-endpoint = <&csi40vin3>;
1534					};
1535				};
1536			};
1537		};
1538
1539		vin4: video@e6ef4000 {
1540			compatible = "renesas,vin-r8a774a1";
1541			reg = <0 0xe6ef4000 0 0x1000>;
1542			interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
1543			clocks = <&cpg CPG_MOD 807>;
1544			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1545			resets = <&cpg 807>;
1546			renesas,id = <4>;
1547			status = "disabled";
1548
1549			ports {
1550				#address-cells = <1>;
1551				#size-cells = <0>;
1552
1553				port@1 {
1554					#address-cells = <1>;
1555					#size-cells = <0>;
1556
1557					reg = <1>;
1558
1559					vin4csi20: endpoint@0 {
1560						reg = <0>;
1561						remote-endpoint = <&csi20vin4>;
1562					};
1563					vin4csi40: endpoint@2 {
1564						reg = <2>;
1565						remote-endpoint = <&csi40vin4>;
1566					};
1567				};
1568			};
1569		};
1570
1571		vin5: video@e6ef5000 {
1572			compatible = "renesas,vin-r8a774a1";
1573			reg = <0 0xe6ef5000 0 0x1000>;
1574			interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
1575			clocks = <&cpg CPG_MOD 806>;
1576			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1577			resets = <&cpg 806>;
1578			renesas,id = <5>;
1579			status = "disabled";
1580
1581			ports {
1582				#address-cells = <1>;
1583				#size-cells = <0>;
1584
1585				port@1 {
1586					#address-cells = <1>;
1587					#size-cells = <0>;
1588
1589					reg = <1>;
1590
1591					vin5csi20: endpoint@0 {
1592						reg = <0>;
1593						remote-endpoint = <&csi20vin5>;
1594					};
1595					vin5csi40: endpoint@2 {
1596						reg = <2>;
1597						remote-endpoint = <&csi40vin5>;
1598					};
1599				};
1600			};
1601		};
1602
1603		vin6: video@e6ef6000 {
1604			compatible = "renesas,vin-r8a774a1";
1605			reg = <0 0xe6ef6000 0 0x1000>;
1606			interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
1607			clocks = <&cpg CPG_MOD 805>;
1608			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1609			resets = <&cpg 805>;
1610			renesas,id = <6>;
1611			status = "disabled";
1612
1613			ports {
1614				#address-cells = <1>;
1615				#size-cells = <0>;
1616
1617				port@1 {
1618					#address-cells = <1>;
1619					#size-cells = <0>;
1620
1621					reg = <1>;
1622
1623					vin6csi20: endpoint@0 {
1624						reg = <0>;
1625						remote-endpoint = <&csi20vin6>;
1626					};
1627					vin6csi40: endpoint@2 {
1628						reg = <2>;
1629						remote-endpoint = <&csi40vin6>;
1630					};
1631				};
1632			};
1633		};
1634
1635		vin7: video@e6ef7000 {
1636			compatible = "renesas,vin-r8a774a1";
1637			reg = <0 0xe6ef7000 0 0x1000>;
1638			interrupts = <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>;
1639			clocks = <&cpg CPG_MOD 804>;
1640			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1641			resets = <&cpg 804>;
1642			renesas,id = <7>;
1643			status = "disabled";
1644
1645			ports {
1646				#address-cells = <1>;
1647				#size-cells = <0>;
1648
1649				port@1 {
1650					#address-cells = <1>;
1651					#size-cells = <0>;
1652
1653					reg = <1>;
1654
1655					vin7csi20: endpoint@0 {
1656						reg = <0>;
1657						remote-endpoint = <&csi20vin7>;
1658					};
1659					vin7csi40: endpoint@2 {
1660						reg = <2>;
1661						remote-endpoint = <&csi40vin7>;
1662					};
1663				};
1664			};
1665		};
1666
1667		rcar_sound: sound@ec500000 {
1668			/*
1669			 * #sound-dai-cells is required
1670			 *
1671			 * Single DAI : #sound-dai-cells = <0>;	<&rcar_sound>;
1672			 * Multi  DAI : #sound-dai-cells = <1>;	<&rcar_sound N>;
1673			 */
1674			/*
1675			 * #clock-cells is required for audio_clkout0/1/2/3
1676			 *
1677			 * clkout	: #clock-cells = <0>;	<&rcar_sound>;
1678			 * clkout0/1/2/3: #clock-cells = <1>;	<&rcar_sound N>;
1679			 */
1680			compatible =  "renesas,rcar_sound-r8a774a1", "renesas,rcar_sound-gen3";
1681			reg =	<0 0xec500000 0 0x1000>, /* SCU */
1682				<0 0xec5a0000 0 0x100>,  /* ADG */
1683				<0 0xec540000 0 0x1000>, /* SSIU */
1684				<0 0xec541000 0 0x280>,  /* SSI */
1685				<0 0xec740000 0 0x200>;  /* Audio DMAC peri peri*/
1686			reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
1687
1688			clocks = <&cpg CPG_MOD 1005>,
1689				 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
1690				 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
1691				 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
1692				 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
1693				 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
1694				 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
1695				 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
1696				 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
1697				 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
1698				 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
1699				 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
1700				 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
1701				 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
1702				 <&audio_clk_a>, <&audio_clk_b>,
1703				 <&audio_clk_c>,
1704				 <&cpg CPG_CORE R8A774A1_CLK_S0D4>;
1705			clock-names = "ssi-all",
1706				      "ssi.9", "ssi.8", "ssi.7", "ssi.6",
1707				      "ssi.5", "ssi.4", "ssi.3", "ssi.2",
1708				      "ssi.1", "ssi.0",
1709				      "src.9", "src.8", "src.7", "src.6",
1710				      "src.5", "src.4", "src.3", "src.2",
1711				      "src.1", "src.0",
1712				      "mix.1", "mix.0",
1713				      "ctu.1", "ctu.0",
1714				      "dvc.0", "dvc.1",
1715				      "clk_a", "clk_b", "clk_c", "clk_i";
1716			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1717			resets = <&cpg 1005>,
1718				 <&cpg 1006>, <&cpg 1007>,
1719				 <&cpg 1008>, <&cpg 1009>,
1720				 <&cpg 1010>, <&cpg 1011>,
1721				 <&cpg 1012>, <&cpg 1013>,
1722				 <&cpg 1014>, <&cpg 1015>;
1723			reset-names = "ssi-all",
1724				      "ssi.9", "ssi.8", "ssi.7", "ssi.6",
1725				      "ssi.5", "ssi.4", "ssi.3", "ssi.2",
1726				      "ssi.1", "ssi.0";
1727			status = "disabled";
1728
1729			rcar_sound,dvc {
1730				dvc0: dvc-0 {
1731					dmas = <&audma1 0xbc>;
1732					dma-names = "tx";
1733				};
1734				dvc1: dvc-1 {
1735					dmas = <&audma1 0xbe>;
1736					dma-names = "tx";
1737				};
1738			};
1739
1740			rcar_sound,mix {
1741				mix0: mix-0 { };
1742				mix1: mix-1 { };
1743			};
1744
1745			rcar_sound,ctu {
1746				ctu00: ctu-0 { };
1747				ctu01: ctu-1 { };
1748				ctu02: ctu-2 { };
1749				ctu03: ctu-3 { };
1750				ctu10: ctu-4 { };
1751				ctu11: ctu-5 { };
1752				ctu12: ctu-6 { };
1753				ctu13: ctu-7 { };
1754			};
1755
1756			rcar_sound,src {
1757				src0: src-0 {
1758					interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
1759					dmas = <&audma0 0x85>, <&audma1 0x9a>;
1760					dma-names = "rx", "tx";
1761				};
1762				src1: src-1 {
1763					interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1764					dmas = <&audma0 0x87>, <&audma1 0x9c>;
1765					dma-names = "rx", "tx";
1766				};
1767				src2: src-2 {
1768					interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1769					dmas = <&audma0 0x89>, <&audma1 0x9e>;
1770					dma-names = "rx", "tx";
1771				};
1772				src3: src-3 {
1773					interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1774					dmas = <&audma0 0x8b>, <&audma1 0xa0>;
1775					dma-names = "rx", "tx";
1776				};
1777				src4: src-4 {
1778					interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1779					dmas = <&audma0 0x8d>, <&audma1 0xb0>;
1780					dma-names = "rx", "tx";
1781				};
1782				src5: src-5 {
1783					interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1784					dmas = <&audma0 0x8f>, <&audma1 0xb2>;
1785					dma-names = "rx", "tx";
1786				};
1787				src6: src-6 {
1788					interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1789					dmas = <&audma0 0x91>, <&audma1 0xb4>;
1790					dma-names = "rx", "tx";
1791				};
1792				src7: src-7 {
1793					interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1794					dmas = <&audma0 0x93>, <&audma1 0xb6>;
1795					dma-names = "rx", "tx";
1796				};
1797				src8: src-8 {
1798					interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1799					dmas = <&audma0 0x95>, <&audma1 0xb8>;
1800					dma-names = "rx", "tx";
1801				};
1802				src9: src-9 {
1803					interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
1804					dmas = <&audma0 0x97>, <&audma1 0xba>;
1805					dma-names = "rx", "tx";
1806				};
1807			};
1808
1809			rcar_sound,ssi {
1810				ssi0: ssi-0 {
1811					interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
1812					dmas = <&audma0 0x01>, <&audma1 0x02>, <&audma0 0x15>, <&audma1 0x16>;
1813					dma-names = "rx", "tx", "rxu", "txu";
1814				};
1815				ssi1: ssi-1 {
1816					interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
1817					dmas = <&audma0 0x03>, <&audma1 0x04>, <&audma0 0x49>, <&audma1 0x4a>;
1818					dma-names = "rx", "tx", "rxu", "txu";
1819				};
1820				ssi2: ssi-2 {
1821					interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>;
1822					dmas = <&audma0 0x05>, <&audma1 0x06>, <&audma0 0x63>, <&audma1 0x64>;
1823					dma-names = "rx", "tx", "rxu", "txu";
1824				};
1825				ssi3: ssi-3 {
1826					interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
1827					dmas = <&audma0 0x07>, <&audma1 0x08>, <&audma0 0x6f>, <&audma1 0x70>;
1828					dma-names = "rx", "tx", "rxu", "txu";
1829				};
1830				ssi4: ssi-4 {
1831					interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
1832					dmas = <&audma0 0x09>, <&audma1 0x0a>, <&audma0 0x71>, <&audma1 0x72>;
1833					dma-names = "rx", "tx", "rxu", "txu";
1834				};
1835				ssi5: ssi-5 {
1836					interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
1837					dmas = <&audma0 0x0b>, <&audma1 0x0c>, <&audma0 0x73>, <&audma1 0x74>;
1838					dma-names = "rx", "tx", "rxu", "txu";
1839				};
1840				ssi6: ssi-6 {
1841					interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>;
1842					dmas = <&audma0 0x0d>, <&audma1 0x0e>, <&audma0 0x75>, <&audma1 0x76>;
1843					dma-names = "rx", "tx", "rxu", "txu";
1844				};
1845				ssi7: ssi-7 {
1846					interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>;
1847					dmas = <&audma0 0x0f>, <&audma1 0x10>, <&audma0 0x79>, <&audma1 0x7a>;
1848					dma-names = "rx", "tx", "rxu", "txu";
1849				};
1850				ssi8: ssi-8 {
1851					interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>;
1852					dmas = <&audma0 0x11>, <&audma1 0x12>, <&audma0 0x7b>, <&audma1 0x7c>;
1853					dma-names = "rx", "tx", "rxu", "txu";
1854				};
1855				ssi9: ssi-9 {
1856					interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
1857					dmas = <&audma0 0x13>, <&audma1 0x14>, <&audma0 0x7d>, <&audma1 0x7e>;
1858					dma-names = "rx", "tx", "rxu", "txu";
1859				};
1860			};
1861
1862			ports {
1863				#address-cells = <1>;
1864				#size-cells = <0>;
1865				port@0 {
1866					reg = <0>;
1867				};
1868				port@1 {
1869					reg = <1>;
1870				};
1871			};
1872		};
1873
1874		audma0: dma-controller@ec700000 {
1875			compatible = "renesas,dmac-r8a774a1",
1876				     "renesas,rcar-dmac";
1877			reg = <0 0xec700000 0 0x10000>;
1878			interrupts = <GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH
1879				      GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH
1880				      GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH
1881				      GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH
1882				      GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH
1883				      GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH
1884				      GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH
1885				      GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH
1886				      GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH
1887				      GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH
1888				      GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH
1889				      GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH
1890				      GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH
1891				      GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH
1892				      GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH
1893				      GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH
1894				      GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>;
1895			interrupt-names = "error",
1896					"ch0", "ch1", "ch2", "ch3",
1897					"ch4", "ch5", "ch6", "ch7",
1898					"ch8", "ch9", "ch10", "ch11",
1899					"ch12", "ch13", "ch14", "ch15";
1900			clocks = <&cpg CPG_MOD 502>;
1901			clock-names = "fck";
1902			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1903			resets = <&cpg 502>;
1904			#dma-cells = <1>;
1905			dma-channels = <16>;
1906			iommus = <&ipmmu_mp 0>, <&ipmmu_mp 1>,
1907			       <&ipmmu_mp 2>, <&ipmmu_mp 3>,
1908			       <&ipmmu_mp 4>, <&ipmmu_mp 5>,
1909			       <&ipmmu_mp 6>, <&ipmmu_mp 7>,
1910			       <&ipmmu_mp 8>, <&ipmmu_mp 9>,
1911			       <&ipmmu_mp 10>, <&ipmmu_mp 11>,
1912			       <&ipmmu_mp 12>, <&ipmmu_mp 13>,
1913			       <&ipmmu_mp 14>, <&ipmmu_mp 15>;
1914		};
1915
1916		audma1: dma-controller@ec720000 {
1917			compatible = "renesas,dmac-r8a774a1",
1918				     "renesas,rcar-dmac";
1919			reg = <0 0xec720000 0 0x10000>;
1920			interrupts = <GIC_SPI 351 IRQ_TYPE_LEVEL_HIGH
1921				      GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH
1922				      GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH
1923				      GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH
1924				      GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH
1925				      GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH
1926				      GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH
1927				      GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH
1928				      GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH
1929				      GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH
1930				      GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH
1931				      GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH
1932				      GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH
1933				      GIC_SPI 348 IRQ_TYPE_LEVEL_HIGH
1934				      GIC_SPI 349 IRQ_TYPE_LEVEL_HIGH
1935				      GIC_SPI 382 IRQ_TYPE_LEVEL_HIGH
1936				      GIC_SPI 383 IRQ_TYPE_LEVEL_HIGH>;
1937			interrupt-names = "error",
1938					"ch0", "ch1", "ch2", "ch3",
1939					"ch4", "ch5", "ch6", "ch7",
1940					"ch8", "ch9", "ch10", "ch11",
1941					"ch12", "ch13", "ch14", "ch15";
1942			clocks = <&cpg CPG_MOD 501>;
1943			clock-names = "fck";
1944			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1945			resets = <&cpg 501>;
1946			#dma-cells = <1>;
1947			dma-channels = <16>;
1948			iommus = <&ipmmu_mp 16>, <&ipmmu_mp 17>,
1949			       <&ipmmu_mp 18>, <&ipmmu_mp 19>,
1950			       <&ipmmu_mp 20>, <&ipmmu_mp 21>,
1951			       <&ipmmu_mp 22>, <&ipmmu_mp 23>,
1952			       <&ipmmu_mp 24>, <&ipmmu_mp 25>,
1953			       <&ipmmu_mp 26>, <&ipmmu_mp 27>,
1954			       <&ipmmu_mp 28>, <&ipmmu_mp 29>,
1955			       <&ipmmu_mp 30>, <&ipmmu_mp 31>;
1956		};
1957
1958		xhci0: usb@ee000000 {
1959			compatible = "renesas,xhci-r8a774a1",
1960				     "renesas,rcar-gen3-xhci";
1961			reg = <0 0xee000000 0 0xc00>;
1962			interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
1963			clocks = <&cpg CPG_MOD 328>;
1964			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1965			resets = <&cpg 328>;
1966			status = "disabled";
1967		};
1968
1969		usb3_peri0: usb@ee020000 {
1970			compatible = "renesas,r8a774a1-usb3-peri",
1971				     "renesas,rcar-gen3-usb3-peri";
1972			reg = <0 0xee020000 0 0x400>;
1973			interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
1974			clocks = <&cpg CPG_MOD 328>;
1975			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1976			resets = <&cpg 328>;
1977			status = "disabled";
1978		};
1979
1980		ohci0: usb@ee080000 {
1981			compatible = "generic-ohci";
1982			reg = <0 0xee080000 0 0x100>;
1983			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1984			clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
1985			phys = <&usb2_phy0 1>;
1986			phy-names = "usb";
1987			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
1988			resets = <&cpg 703>, <&cpg 704>;
1989			status = "disabled";
1990		};
1991
1992		ohci1: usb@ee0a0000 {
1993			compatible = "generic-ohci";
1994			reg = <0 0xee0a0000 0 0x100>;
1995			interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
1996			clocks = <&cpg CPG_MOD 702>;
1997			phys = <&usb2_phy1 1>;
1998			phy-names = "usb";
1999			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
2000			resets = <&cpg 702>;
2001			status = "disabled";
2002		};
2003
2004		ehci0: usb@ee080100 {
2005			compatible = "generic-ehci";
2006			reg = <0 0xee080100 0 0x100>;
2007			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
2008			clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
2009			phys = <&usb2_phy0 2>;
2010			phy-names = "usb";
2011			companion = <&ohci0>;
2012			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
2013			resets = <&cpg 703>, <&cpg 704>;
2014			status = "disabled";
2015		};
2016
2017		ehci1: usb@ee0a0100 {
2018			compatible = "generic-ehci";
2019			reg = <0 0xee0a0100 0 0x100>;
2020			interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
2021			clocks = <&cpg CPG_MOD 702>;
2022			phys = <&usb2_phy1 2>;
2023			phy-names = "usb";
2024			companion = <&ohci1>;
2025			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
2026			resets = <&cpg 702>;
2027			status = "disabled";
2028		};
2029
2030		usb2_phy0: usb-phy@ee080200 {
2031			compatible = "renesas,usb2-phy-r8a774a1",
2032				     "renesas,rcar-gen3-usb2-phy";
2033			reg = <0 0xee080200 0 0x700>;
2034			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
2035			clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
2036			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
2037			resets = <&cpg 703>, <&cpg 704>;
2038			#phy-cells = <1>;
2039			status = "disabled";
2040		};
2041
2042		usb2_phy1: usb-phy@ee0a0200 {
2043			compatible = "renesas,usb2-phy-r8a774a1",
2044				     "renesas,rcar-gen3-usb2-phy";
2045			reg = <0 0xee0a0200 0 0x700>;
2046			clocks = <&cpg CPG_MOD 702>;
2047			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
2048			resets = <&cpg 702>;
2049			#phy-cells = <1>;
2050			status = "disabled";
2051		};
2052
2053		sdhi0: sd@ee100000 {
2054			compatible = "renesas,sdhi-r8a774a1",
2055				     "renesas,rcar-gen3-sdhi";
2056			reg = <0 0xee100000 0 0x2000>;
2057			interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
2058			clocks = <&cpg CPG_MOD 314>;
2059			max-frequency = <200000000>;
2060			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
2061			resets = <&cpg 314>;
2062			status = "disabled";
2063		};
2064
2065		sdhi1: sd@ee120000 {
2066			compatible = "renesas,sdhi-r8a774a1",
2067				     "renesas,rcar-gen3-sdhi";
2068			reg = <0 0xee120000 0 0x2000>;
2069			interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
2070			clocks = <&cpg CPG_MOD 313>;
2071			max-frequency = <200000000>;
2072			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
2073			resets = <&cpg 313>;
2074			status = "disabled";
2075		};
2076
2077		sdhi2: sd@ee140000 {
2078			compatible = "renesas,sdhi-r8a774a1",
2079				     "renesas,rcar-gen3-sdhi";
2080			reg = <0 0xee140000 0 0x2000>;
2081			interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
2082			clocks = <&cpg CPG_MOD 312>;
2083			max-frequency = <200000000>;
2084			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
2085			resets = <&cpg 312>;
2086			status = "disabled";
2087		};
2088
2089		sdhi3: sd@ee160000 {
2090			compatible = "renesas,sdhi-r8a774a1",
2091				     "renesas,rcar-gen3-sdhi";
2092			reg = <0 0xee160000 0 0x2000>;
2093			interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
2094			clocks = <&cpg CPG_MOD 311>;
2095			max-frequency = <200000000>;
2096			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
2097			resets = <&cpg 311>;
2098			status = "disabled";
2099		};
2100
2101		gic: interrupt-controller@f1010000 {
2102			compatible = "arm,gic-400";
2103			#interrupt-cells = <3>;
2104			#address-cells = <0>;
2105			interrupt-controller;
2106			reg = <0x0 0xf1010000 0 0x1000>,
2107			      <0x0 0xf1020000 0 0x20000>,
2108			      <0x0 0xf1040000 0 0x20000>,
2109			      <0x0 0xf1060000 0 0x20000>;
2110			interrupts = <GIC_PPI 9
2111					(GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_HIGH)>;
2112			clocks = <&cpg CPG_MOD 408>;
2113			clock-names = "clk";
2114			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
2115			resets = <&cpg 408>;
2116		};
2117
2118		pciec0: pcie@fe000000 {
2119			compatible = "renesas,pcie-r8a774a1",
2120				     "renesas,pcie-rcar-gen3";
2121			reg = <0 0xfe000000 0 0x80000>;
2122			#address-cells = <3>;
2123			#size-cells = <2>;
2124			bus-range = <0x00 0xff>;
2125			device_type = "pci";
2126			ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000
2127				0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000
2128				0x02000000 0 0x30000000 0 0x30000000 0 0x08000000
2129				0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
2130			/* Map all possible DDR as inbound ranges */
2131			dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000>;
2132			interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
2133				<GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
2134				<GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
2135			#interrupt-cells = <1>;
2136			interrupt-map-mask = <0 0 0 0>;
2137			interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
2138			clocks = <&cpg CPG_MOD 319>, <&pcie_bus_clk>;
2139			clock-names = "pcie", "pcie_bus";
2140			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
2141			resets = <&cpg 319>;
2142			status = "disabled";
2143		};
2144
2145		pciec1: pcie@ee800000 {
2146			compatible = "renesas,pcie-r8a774a1",
2147				     "renesas,pcie-rcar-gen3";
2148			reg = <0 0xee800000 0 0x80000>;
2149			#address-cells = <3>;
2150			#size-cells = <2>;
2151			bus-range = <0x00 0xff>;
2152			device_type = "pci";
2153			ranges = <0x01000000 0 0x00000000 0 0xee900000 0 0x00100000
2154				0x02000000 0 0xeea00000 0 0xeea00000 0 0x00200000
2155				0x02000000 0 0xc0000000 0 0xc0000000 0 0x08000000
2156				0x42000000 0 0xc8000000 0 0xc8000000 0 0x08000000>;
2157			/* Map all possible DDR as inbound ranges */
2158			dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000>;
2159			interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
2160				<GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
2161				<GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
2162			#interrupt-cells = <1>;
2163			interrupt-map-mask = <0 0 0 0>;
2164			interrupt-map = <0 0 0 0 &gic GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
2165			clocks = <&cpg CPG_MOD 318>, <&pcie_bus_clk>;
2166			clock-names = "pcie", "pcie_bus";
2167			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
2168			resets = <&cpg 318>;
2169			status = "disabled";
2170		};
2171
2172		fdp1@fe940000 {
2173			compatible = "renesas,fdp1";
2174			reg = <0 0xfe940000 0 0x2400>;
2175			interrupts = <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>;
2176			clocks = <&cpg CPG_MOD 119>;
2177			power-domains = <&sysc R8A774A1_PD_A3VC>;
2178			resets = <&cpg 119>;
2179			renesas,fcp = <&fcpf0>;
2180		};
2181
2182		fcpf0: fcp@fe950000 {
2183			compatible = "renesas,fcpf";
2184			reg = <0 0xfe950000 0 0x200>;
2185			clocks = <&cpg CPG_MOD 615>;
2186			power-domains = <&sysc R8A774A1_PD_A3VC>;
2187			resets = <&cpg 615>;
2188		};
2189
2190		fcpvb0: fcp@fe96f000 {
2191			compatible = "renesas,fcpv";
2192			reg = <0 0xfe96f000 0 0x200>;
2193			clocks = <&cpg CPG_MOD 607>;
2194			power-domains = <&sysc R8A774A1_PD_A3VC>;
2195			resets = <&cpg 607>;
2196		};
2197
2198		fcpvd0: fcp@fea27000 {
2199			compatible = "renesas,fcpv";
2200			reg = <0 0xfea27000 0 0x200>;
2201			clocks = <&cpg CPG_MOD 603>;
2202			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
2203			resets = <&cpg 603>;
2204			iommus = <&ipmmu_vi0 8>;
2205		};
2206
2207		fcpvd1: fcp@fea2f000 {
2208			compatible = "renesas,fcpv";
2209			reg = <0 0xfea2f000 0 0x200>;
2210			clocks = <&cpg CPG_MOD 602>;
2211			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
2212			resets = <&cpg 602>;
2213			iommus = <&ipmmu_vi0 9>;
2214		};
2215
2216		fcpvd2: fcp@fea37000 {
2217			compatible = "renesas,fcpv";
2218			reg = <0 0xfea37000 0 0x200>;
2219			clocks = <&cpg CPG_MOD 601>;
2220			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
2221			resets = <&cpg 601>;
2222			iommus = <&ipmmu_vi0 10>;
2223		};
2224
2225		fcpvi0: fcp@fe9af000 {
2226			compatible = "renesas,fcpv";
2227			reg = <0 0xfe9af000 0 0x200>;
2228			clocks = <&cpg CPG_MOD 611>;
2229			power-domains = <&sysc R8A774A1_PD_A3VC>;
2230			resets = <&cpg 611>;
2231			iommus = <&ipmmu_vc0 19>;
2232		};
2233
2234		vspb: vsp@fe960000 {
2235			compatible = "renesas,vsp2";
2236			reg = <0 0xfe960000 0 0x8000>;
2237			interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
2238			clocks = <&cpg CPG_MOD 626>;
2239			power-domains = <&sysc R8A774A1_PD_A3VC>;
2240			resets = <&cpg 626>;
2241
2242			renesas,fcp = <&fcpvb0>;
2243		};
2244
2245		vspd0: vsp@fea20000 {
2246			compatible = "renesas,vsp2";
2247			reg = <0 0xfea20000 0 0x5000>;
2248			interrupts = <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>;
2249			clocks = <&cpg CPG_MOD 623>;
2250			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
2251			resets = <&cpg 623>;
2252
2253			renesas,fcp = <&fcpvd0>;
2254		};
2255
2256		vspd1: vsp@fea28000 {
2257			compatible = "renesas,vsp2";
2258			reg = <0 0xfea28000 0 0x5000>;
2259			interrupts = <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>;
2260			clocks = <&cpg CPG_MOD 622>;
2261			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
2262			resets = <&cpg 622>;
2263
2264			renesas,fcp = <&fcpvd1>;
2265		};
2266
2267		vspd2: vsp@fea30000 {
2268			compatible = "renesas,vsp2";
2269			reg = <0 0xfea30000 0 0x5000>;
2270			interrupts = <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>;
2271			clocks = <&cpg CPG_MOD 621>;
2272			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
2273			resets = <&cpg 621>;
2274
2275			renesas,fcp = <&fcpvd2>;
2276		};
2277
2278		vspi0: vsp@fe9a0000 {
2279			compatible = "renesas,vsp2";
2280			reg = <0 0xfe9a0000 0 0x8000>;
2281			interrupts = <GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>;
2282			clocks = <&cpg CPG_MOD 631>;
2283			power-domains = <&sysc R8A774A1_PD_A3VC>;
2284			resets = <&cpg 631>;
2285
2286			renesas,fcp = <&fcpvi0>;
2287		};
2288
2289		csi20: csi2@fea80000 {
2290			compatible = "renesas,r8a774a1-csi2";
2291			reg = <0 0xfea80000 0 0x10000>;
2292			interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
2293			clocks = <&cpg CPG_MOD 714>;
2294			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
2295			resets = <&cpg 714>;
2296			status = "disabled";
2297
2298			ports {
2299				#address-cells = <1>;
2300				#size-cells = <0>;
2301
2302				port@1 {
2303					#address-cells = <1>;
2304					#size-cells = <0>;
2305
2306					reg = <1>;
2307
2308					csi20vin0: endpoint@0 {
2309						reg = <0>;
2310						remote-endpoint = <&vin0csi20>;
2311					};
2312					csi20vin1: endpoint@1 {
2313						reg = <1>;
2314						remote-endpoint = <&vin1csi20>;
2315					};
2316					csi20vin2: endpoint@2 {
2317						reg = <2>;
2318						remote-endpoint = <&vin2csi20>;
2319					};
2320					csi20vin3: endpoint@3 {
2321						reg = <3>;
2322						remote-endpoint = <&vin3csi20>;
2323					};
2324					csi20vin4: endpoint@4 {
2325						reg = <4>;
2326						remote-endpoint = <&vin4csi20>;
2327					};
2328					csi20vin5: endpoint@5 {
2329						reg = <5>;
2330						remote-endpoint = <&vin5csi20>;
2331					};
2332					csi20vin6: endpoint@6 {
2333						reg = <6>;
2334						remote-endpoint = <&vin6csi20>;
2335					};
2336					csi20vin7: endpoint@7 {
2337						reg = <7>;
2338						remote-endpoint = <&vin7csi20>;
2339					};
2340				};
2341			};
2342		};
2343
2344		csi40: csi2@feaa0000 {
2345			compatible = "renesas,r8a774a1-csi2";
2346			reg = <0 0xfeaa0000 0 0x10000>;
2347			interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
2348			clocks = <&cpg CPG_MOD 716>;
2349			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
2350			resets = <&cpg 716>;
2351			status = "disabled";
2352
2353			ports {
2354				#address-cells = <1>;
2355				#size-cells = <0>;
2356
2357				port@1 {
2358					#address-cells = <1>;
2359					#size-cells = <0>;
2360
2361					reg = <1>;
2362
2363					csi40vin0: endpoint@0 {
2364						reg = <0>;
2365						remote-endpoint = <&vin0csi40>;
2366					};
2367					csi40vin1: endpoint@1 {
2368						reg = <1>;
2369						remote-endpoint = <&vin1csi40>;
2370					};
2371					csi40vin2: endpoint@2 {
2372						reg = <2>;
2373						remote-endpoint = <&vin2csi40>;
2374					};
2375					csi40vin3: endpoint@3 {
2376						reg = <3>;
2377						remote-endpoint = <&vin3csi40>;
2378					};
2379					csi40vin4: endpoint@4 {
2380						reg = <4>;
2381						remote-endpoint = <&vin4csi40>;
2382					};
2383					csi40vin5: endpoint@5 {
2384						reg = <5>;
2385						remote-endpoint = <&vin5csi40>;
2386					};
2387					csi40vin6: endpoint@6 {
2388						reg = <6>;
2389						remote-endpoint = <&vin6csi40>;
2390					};
2391					csi40vin7: endpoint@7 {
2392						reg = <7>;
2393						remote-endpoint = <&vin7csi40>;
2394					};
2395				};
2396
2397			};
2398		};
2399
2400		hdmi0: hdmi@fead0000 {
2401			compatible = "renesas,r8a774a1-hdmi",
2402				     "renesas,rcar-gen3-hdmi";
2403			reg = <0 0xfead0000 0 0x10000>;
2404			interrupts = <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>;
2405			clocks = <&cpg CPG_MOD 729>,
2406				 <&cpg CPG_CORE R8A774A1_CLK_HDMI>;
2407			clock-names = "iahb", "isfr";
2408			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
2409			resets = <&cpg 729>;
2410			status = "disabled";
2411
2412			ports {
2413				#address-cells = <1>;
2414				#size-cells = <0>;
2415				port@0 {
2416					reg = <0>;
2417					dw_hdmi0_in: endpoint {
2418						remote-endpoint = <&du_out_hdmi0>;
2419					};
2420				};
2421				port@1 {
2422					reg = <1>;
2423				};
2424				port@2 {
2425					/* HDMI sound */
2426					reg = <2>;
2427				};
2428			};
2429		};
2430
2431		du: display@feb00000 {
2432			compatible = "renesas,du-r8a774a1";
2433			reg = <0 0xfeb00000 0 0x70000>;
2434			interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
2435				     <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
2436				     <GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH>;
2437			clocks = <&cpg CPG_MOD 724>,
2438				 <&cpg CPG_MOD 723>,
2439				 <&cpg CPG_MOD 722>;
2440			clock-names = "du.0", "du.1", "du.2";
2441			status = "disabled";
2442
2443			vsps = <&vspd0 &vspd1 &vspd2>;
2444
2445			ports {
2446				#address-cells = <1>;
2447				#size-cells = <0>;
2448
2449				port@0 {
2450					reg = <0>;
2451					du_out_rgb: endpoint {
2452					};
2453				};
2454				port@1 {
2455					reg = <1>;
2456					du_out_hdmi0: endpoint {
2457						remote-endpoint = <&dw_hdmi0_in>;
2458					};
2459				};
2460				port@2 {
2461					reg = <2>;
2462					du_out_lvds0: endpoint {
2463						remote-endpoint = <&lvds0_in>;
2464					};
2465				};
2466			};
2467		};
2468
2469		lvds0: lvds@feb90000 {
2470			compatible = "renesas,r8a774a1-lvds";
2471			reg = <0 0xfeb90000 0 0x14>;
2472			clocks = <&cpg CPG_MOD 727>;
2473			power-domains = <&sysc R8A774A1_PD_ALWAYS_ON>;
2474			resets = <&cpg 727>;
2475			status = "disabled";
2476
2477			ports {
2478				#address-cells = <1>;
2479				#size-cells = <0>;
2480
2481				port@0 {
2482					reg = <0>;
2483					lvds0_in: endpoint {
2484						remote-endpoint = <&du_out_lvds0>;
2485					};
2486				};
2487				port@1 {
2488					reg = <1>;
2489					lvds0_out: endpoint {
2490					};
2491				};
2492			};
2493		};
2494
2495		prr: chipid@fff00044 {
2496			compatible = "renesas,prr";
2497			reg = <0 0xfff00044 0 4>;
2498		};
2499	};
2500
2501	thermal-zones {
2502		sensor_thermal1: sensor-thermal1 {
2503			polling-delay-passive = <250>;
2504			polling-delay = <1000>;
2505			thermal-sensors = <&tsc 0>;
2506			sustainable-power = <3874>;
2507
2508			trips {
2509				sensor1_crit: sensor1-crit {
2510					temperature = <120000>;
2511					hysteresis = <1000>;
2512					type = "critical";
2513				};
2514			};
2515		};
2516
2517		sensor_thermal2: sensor-thermal2 {
2518			polling-delay-passive = <250>;
2519			polling-delay = <1000>;
2520			thermal-sensors = <&tsc 1>;
2521			sustainable-power = <3874>;
2522
2523			trips {
2524				sensor2_crit: sensor2-crit {
2525					temperature = <120000>;
2526					hysteresis = <1000>;
2527					type = "critical";
2528				};
2529			};
2530		};
2531
2532		sensor_thermal3: sensor-thermal3 {
2533			polling-delay-passive = <250>;
2534			polling-delay = <1000>;
2535			thermal-sensors = <&tsc 2>;
2536			sustainable-power = <3874>;
2537
2538			trips {
2539				target: trip-point1 {
2540					temperature = <100000>;
2541					hysteresis = <1000>;
2542					type = "passive";
2543				};
2544
2545				sensor3_crit: sensor3-crit {
2546					temperature = <120000>;
2547					hysteresis = <1000>;
2548					type = "critical";
2549				};
2550			};
2551			cooling-maps {
2552				map0 {
2553					trip = <&target>;
2554					cooling-device = <&a57_0 0 2>;
2555					contribution = <1024>;
2556				};
2557				map1 {
2558					trip = <&target>;
2559					cooling-device = <&a53_0 0 2>;
2560					contribution = <1024>;
2561				};
2562			};
2563		};
2564	};
2565
2566	timer {
2567		compatible = "arm,armv8-timer";
2568		interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>,
2569				      <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>,
2570				      <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>,
2571				      <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>;
2572	};
2573
2574	/* External USB clocks - can be overridden by the board */
2575	usb3s0_clk: usb3s0 {
2576		compatible = "fixed-clock";
2577		#clock-cells = <0>;
2578		clock-frequency = <0>;
2579	};
2580
2581	usb_extal_clk: usb_extal {
2582		compatible = "fixed-clock";
2583		#clock-cells = <0>;
2584		clock-frequency = <0>;
2585	};
2586};
2587