1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for the RZ/G2E (R8A774C0) SoC
4 *
5 * Copyright (C) 2018-2019 Renesas Electronics Corp.
6 */
7
8#include <dt-bindings/clock/r8a774c0-cpg-mssr.h>
9#include <dt-bindings/interrupt-controller/arm-gic.h>
10#include <dt-bindings/power/r8a774c0-sysc.h>
11
12/ {
13	compatible = "renesas,r8a774c0";
14	#address-cells = <2>;
15	#size-cells = <2>;
16
17	/*
18	 * The external audio clocks are configured as 0 Hz fixed frequency
19	 * clocks by default.
20	 * Boards that provide audio clocks should override them.
21	 */
22	audio_clk_a: audio_clk_a {
23		compatible = "fixed-clock";
24		#clock-cells = <0>;
25		clock-frequency = <0>;
26	};
27
28	audio_clk_b: audio_clk_b {
29		compatible = "fixed-clock";
30		#clock-cells = <0>;
31		clock-frequency = <0>;
32	};
33
34	audio_clk_c: audio_clk_c {
35		compatible = "fixed-clock";
36		#clock-cells = <0>;
37		clock-frequency = <0>;
38	};
39
40	/* External CAN clock - to be overridden by boards that provide it */
41	can_clk: can {
42		compatible = "fixed-clock";
43		#clock-cells = <0>;
44		clock-frequency = <0>;
45	};
46
47	cpus {
48		#address-cells = <1>;
49		#size-cells = <0>;
50
51		a53_0: cpu@0 {
52			compatible = "arm,cortex-a53", "arm,armv8";
53			reg = <0>;
54			device_type = "cpu";
55			power-domains = <&sysc R8A774C0_PD_CA53_CPU0>;
56			next-level-cache = <&L2_CA53>;
57			enable-method = "psci";
58		};
59
60		a53_1: cpu@1 {
61			compatible = "arm,cortex-a53", "arm,armv8";
62			reg = <1>;
63			device_type = "cpu";
64			power-domains = <&sysc R8A774C0_PD_CA53_CPU1>;
65			next-level-cache = <&L2_CA53>;
66			enable-method = "psci";
67		};
68
69		L2_CA53: cache-controller-0 {
70			compatible = "cache";
71			power-domains = <&sysc R8A774C0_PD_CA53_SCU>;
72			cache-unified;
73			cache-level = <2>;
74		};
75	};
76
77	extal_clk: extal {
78		compatible = "fixed-clock";
79		#clock-cells = <0>;
80		/* This value must be overridden by the board */
81		clock-frequency = <0>;
82	};
83
84	/* External PCIe clock - can be overridden by the board */
85	pcie_bus_clk: pcie_bus {
86		compatible = "fixed-clock";
87		#clock-cells = <0>;
88		clock-frequency = <0>;
89	};
90
91	pmu_a53 {
92		compatible = "arm,cortex-a53-pmu";
93		interrupts-extended = <&gic GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
94				      <&gic GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
95		interrupt-affinity = <&a53_0>, <&a53_1>;
96	};
97
98	psci {
99		compatible = "arm,psci-1.0", "arm,psci-0.2";
100		method = "smc";
101	};
102
103	/* External SCIF clock - to be overridden by boards that provide it */
104	scif_clk: scif {
105		compatible = "fixed-clock";
106		#clock-cells = <0>;
107		clock-frequency = <0>;
108	};
109
110	soc: soc {
111		compatible = "simple-bus";
112		interrupt-parent = <&gic>;
113		#address-cells = <2>;
114		#size-cells = <2>;
115		ranges;
116
117		rwdt: watchdog@e6020000 {
118			compatible = "renesas,r8a774c0-wdt",
119				     "renesas,rcar-gen3-wdt";
120			reg = <0 0xe6020000 0 0x0c>;
121			clocks = <&cpg CPG_MOD 402>;
122			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
123			resets = <&cpg 402>;
124			status = "disabled";
125		};
126
127		gpio0: gpio@e6050000 {
128			compatible = "renesas,gpio-r8a774c0",
129				     "renesas,rcar-gen3-gpio";
130			reg = <0 0xe6050000 0 0x50>;
131			interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
132			#gpio-cells = <2>;
133			gpio-controller;
134			gpio-ranges = <&pfc 0 0 18>;
135			#interrupt-cells = <2>;
136			interrupt-controller;
137			clocks = <&cpg CPG_MOD 912>;
138			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
139			resets = <&cpg 912>;
140		};
141
142		gpio1: gpio@e6051000 {
143			compatible = "renesas,gpio-r8a774c0",
144				     "renesas,rcar-gen3-gpio";
145			reg = <0 0xe6051000 0 0x50>;
146			interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
147			#gpio-cells = <2>;
148			gpio-controller;
149			gpio-ranges = <&pfc 0 32 23>;
150			#interrupt-cells = <2>;
151			interrupt-controller;
152			clocks = <&cpg CPG_MOD 911>;
153			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
154			resets = <&cpg 911>;
155		};
156
157		gpio2: gpio@e6052000 {
158			compatible = "renesas,gpio-r8a774c0",
159				     "renesas,rcar-gen3-gpio";
160			reg = <0 0xe6052000 0 0x50>;
161			interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
162			#gpio-cells = <2>;
163			gpio-controller;
164			gpio-ranges = <&pfc 0 64 26>;
165			#interrupt-cells = <2>;
166			interrupt-controller;
167			clocks = <&cpg CPG_MOD 910>;
168			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
169			resets = <&cpg 910>;
170		};
171
172		gpio3: gpio@e6053000 {
173			compatible = "renesas,gpio-r8a774c0",
174				     "renesas,rcar-gen3-gpio";
175			reg = <0 0xe6053000 0 0x50>;
176			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
177			#gpio-cells = <2>;
178			gpio-controller;
179			gpio-ranges = <&pfc 0 96 16>;
180			#interrupt-cells = <2>;
181			interrupt-controller;
182			clocks = <&cpg CPG_MOD 909>;
183			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
184			resets = <&cpg 909>;
185		};
186
187		gpio4: gpio@e6054000 {
188			compatible = "renesas,gpio-r8a774c0",
189				     "renesas,rcar-gen3-gpio";
190			reg = <0 0xe6054000 0 0x50>;
191			interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
192			#gpio-cells = <2>;
193			gpio-controller;
194			gpio-ranges = <&pfc 0 128 11>;
195			#interrupt-cells = <2>;
196			interrupt-controller;
197			clocks = <&cpg CPG_MOD 908>;
198			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
199			resets = <&cpg 908>;
200		};
201
202		gpio5: gpio@e6055000 {
203			compatible = "renesas,gpio-r8a774c0",
204				     "renesas,rcar-gen3-gpio";
205			reg = <0 0xe6055000 0 0x50>;
206			interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
207			#gpio-cells = <2>;
208			gpio-controller;
209			gpio-ranges = <&pfc 0 160 20>;
210			#interrupt-cells = <2>;
211			interrupt-controller;
212			clocks = <&cpg CPG_MOD 907>;
213			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
214			resets = <&cpg 907>;
215		};
216
217		gpio6: gpio@e6055400 {
218			compatible = "renesas,gpio-r8a774c0",
219				     "renesas,rcar-gen3-gpio";
220			reg = <0 0xe6055400 0 0x50>;
221			interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
222			#gpio-cells = <2>;
223			gpio-controller;
224			gpio-ranges = <&pfc 0 192 18>;
225			#interrupt-cells = <2>;
226			interrupt-controller;
227			clocks = <&cpg CPG_MOD 906>;
228			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
229			resets = <&cpg 906>;
230		};
231
232		pfc: pin-controller@e6060000 {
233			compatible = "renesas,pfc-r8a774c0";
234			reg = <0 0xe6060000 0 0x508>;
235		};
236
237		cpg: clock-controller@e6150000 {
238			compatible = "renesas,r8a774c0-cpg-mssr";
239			reg = <0 0xe6150000 0 0x1000>;
240			clocks = <&extal_clk>;
241			clock-names = "extal";
242			#clock-cells = <2>;
243			#power-domain-cells = <0>;
244			#reset-cells = <1>;
245		};
246
247		rst: reset-controller@e6160000 {
248			compatible = "renesas,r8a774c0-rst";
249			reg = <0 0xe6160000 0 0x0200>;
250		};
251
252		sysc: system-controller@e6180000 {
253			compatible = "renesas,r8a774c0-sysc";
254			reg = <0 0xe6180000 0 0x0400>;
255			#power-domain-cells = <1>;
256		};
257
258		thermal: thermal@e6190000 {
259			compatible = "renesas,thermal-r8a774c0";
260			reg = <0 0xe6190000 0 0x10>, <0 0xe6190100 0 0x38>;
261			interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
262				     <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
263				     <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
264			clocks = <&cpg CPG_MOD 522>;
265			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
266			resets = <&cpg 522>;
267			#thermal-sensor-cells = <0>;
268		};
269
270		intc_ex: interrupt-controller@e61c0000 {
271			compatible = "renesas,intc-ex-r8a774c0", "renesas,irqc";
272			#interrupt-cells = <2>;
273			interrupt-controller;
274			reg = <0 0xe61c0000 0 0x200>;
275			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH
276				      GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH
277				      GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH
278				      GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH
279				      GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH
280				      GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
281			clocks = <&cpg CPG_MOD 407>;
282			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
283			resets = <&cpg 407>;
284		};
285
286		i2c0: i2c@e6500000 {
287			#address-cells = <1>;
288			#size-cells = <0>;
289			compatible = "renesas,i2c-r8a774c0",
290				     "renesas,rcar-gen3-i2c";
291			reg = <0 0xe6500000 0 0x40>;
292			interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
293			clocks = <&cpg CPG_MOD 931>;
294			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
295			resets = <&cpg 931>;
296			dmas = <&dmac1 0x91>, <&dmac1 0x90>,
297			       <&dmac2 0x91>, <&dmac2 0x90>;
298			dma-names = "tx", "rx", "tx", "rx";
299			i2c-scl-internal-delay-ns = <110>;
300			status = "disabled";
301		};
302
303		i2c1: i2c@e6508000 {
304			#address-cells = <1>;
305			#size-cells = <0>;
306			compatible = "renesas,i2c-r8a774c0",
307				     "renesas,rcar-gen3-i2c";
308			reg = <0 0xe6508000 0 0x40>;
309			interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
310			clocks = <&cpg CPG_MOD 930>;
311			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
312			resets = <&cpg 930>;
313			dmas = <&dmac1 0x93>, <&dmac1 0x92>,
314			       <&dmac2 0x93>, <&dmac2 0x92>;
315			dma-names = "tx", "rx", "tx", "rx";
316			i2c-scl-internal-delay-ns = <6>;
317			status = "disabled";
318		};
319
320		i2c2: i2c@e6510000 {
321			#address-cells = <1>;
322			#size-cells = <0>;
323			compatible = "renesas,i2c-r8a774c0",
324				     "renesas,rcar-gen3-i2c";
325			reg = <0 0xe6510000 0 0x40>;
326			interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
327			clocks = <&cpg CPG_MOD 929>;
328			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
329			resets = <&cpg 929>;
330			dmas = <&dmac1 0x95>, <&dmac1 0x94>,
331			       <&dmac2 0x95>, <&dmac2 0x94>;
332			dma-names = "tx", "rx", "tx", "rx";
333			i2c-scl-internal-delay-ns = <6>;
334			status = "disabled";
335		};
336
337		i2c3: i2c@e66d0000 {
338			#address-cells = <1>;
339			#size-cells = <0>;
340			compatible = "renesas,i2c-r8a774c0",
341				     "renesas,rcar-gen3-i2c";
342			reg = <0 0xe66d0000 0 0x40>;
343			interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
344			clocks = <&cpg CPG_MOD 928>;
345			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
346			resets = <&cpg 928>;
347			dmas = <&dmac0 0x97>, <&dmac0 0x96>;
348			dma-names = "tx", "rx";
349			i2c-scl-internal-delay-ns = <110>;
350			status = "disabled";
351		};
352
353		i2c4: i2c@e66d8000 {
354			#address-cells = <1>;
355			#size-cells = <0>;
356			compatible = "renesas,i2c-r8a774c0",
357				     "renesas,rcar-gen3-i2c";
358			reg = <0 0xe66d8000 0 0x40>;
359			interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
360			clocks = <&cpg CPG_MOD 927>;
361			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
362			resets = <&cpg 927>;
363			dmas = <&dmac0 0x99>, <&dmac0 0x98>;
364			dma-names = "tx", "rx";
365			i2c-scl-internal-delay-ns = <6>;
366			status = "disabled";
367		};
368
369		i2c5: i2c@e66e0000 {
370			#address-cells = <1>;
371			#size-cells = <0>;
372			compatible = "renesas,i2c-r8a774c0",
373				     "renesas,rcar-gen3-i2c";
374			reg = <0 0xe66e0000 0 0x40>;
375			interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
376			clocks = <&cpg CPG_MOD 919>;
377			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
378			resets = <&cpg 919>;
379			dmas = <&dmac0 0x9b>, <&dmac0 0x9a>;
380			dma-names = "tx", "rx";
381			i2c-scl-internal-delay-ns = <6>;
382			status = "disabled";
383		};
384
385		i2c6: i2c@e66e8000 {
386			#address-cells = <1>;
387			#size-cells = <0>;
388			compatible = "renesas,i2c-r8a774c0",
389				     "renesas,rcar-gen3-i2c";
390			reg = <0 0xe66e8000 0 0x40>;
391			interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
392			clocks = <&cpg CPG_MOD 918>;
393			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
394			resets = <&cpg 918>;
395			dmas = <&dmac0 0x9d>, <&dmac0 0x9c>;
396			dma-names = "tx", "rx";
397			i2c-scl-internal-delay-ns = <6>;
398			status = "disabled";
399		};
400
401		i2c7: i2c@e6690000 {
402			#address-cells = <1>;
403			#size-cells = <0>;
404			compatible = "renesas,i2c-r8a774c0",
405				     "renesas,rcar-gen3-i2c";
406			reg = <0 0xe6690000 0 0x40>;
407			interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
408			clocks = <&cpg CPG_MOD 1003>;
409			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
410			resets = <&cpg 1003>;
411			i2c-scl-internal-delay-ns = <6>;
412			status = "disabled";
413		};
414
415		i2c_dvfs: i2c@e60b0000 {
416			#address-cells = <1>;
417			#size-cells = <0>;
418			compatible = "renesas,iic-r8a774c0";
419			reg = <0 0xe60b0000 0 0x15>;
420			interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
421			clocks = <&cpg CPG_MOD 926>;
422			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
423			resets = <&cpg 926>;
424			dmas = <&dmac0 0x11>, <&dmac0 0x10>;
425			dma-names = "tx", "rx";
426			status = "disabled";
427		};
428
429		hscif0: serial@e6540000 {
430			compatible = "renesas,hscif-r8a774c0",
431				     "renesas,rcar-gen3-hscif",
432				     "renesas,hscif";
433			reg = <0 0xe6540000 0 0x60>;
434			interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
435			clocks = <&cpg CPG_MOD 520>,
436				 <&cpg CPG_CORE R8A774C0_CLK_S3D1C>,
437				 <&scif_clk>;
438			clock-names = "fck", "brg_int", "scif_clk";
439			dmas = <&dmac1 0x31>, <&dmac1 0x30>,
440			       <&dmac2 0x31>, <&dmac2 0x30>;
441			dma-names = "tx", "rx", "tx", "rx";
442			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
443			resets = <&cpg 520>;
444			status = "disabled";
445		};
446
447		hscif1: serial@e6550000 {
448			compatible = "renesas,hscif-r8a774c0",
449				     "renesas,rcar-gen3-hscif",
450				     "renesas,hscif";
451			reg = <0 0xe6550000 0 0x60>;
452			interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
453			clocks = <&cpg CPG_MOD 519>,
454				 <&cpg CPG_CORE R8A774C0_CLK_S3D1C>,
455				 <&scif_clk>;
456			clock-names = "fck", "brg_int", "scif_clk";
457			dmas = <&dmac1 0x33>, <&dmac1 0x32>,
458			       <&dmac2 0x33>, <&dmac2 0x32>;
459			dma-names = "tx", "rx", "tx", "rx";
460			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
461			resets = <&cpg 519>;
462			status = "disabled";
463		};
464
465		hscif2: serial@e6560000 {
466			compatible = "renesas,hscif-r8a774c0",
467				     "renesas,rcar-gen3-hscif",
468				     "renesas,hscif";
469			reg = <0 0xe6560000 0 0x60>;
470			interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
471			clocks = <&cpg CPG_MOD 518>,
472				 <&cpg CPG_CORE R8A774C0_CLK_S3D1C>,
473				 <&scif_clk>;
474			clock-names = "fck", "brg_int", "scif_clk";
475			dmas = <&dmac1 0x35>, <&dmac1 0x34>,
476			       <&dmac2 0x35>, <&dmac2 0x34>;
477			dma-names = "tx", "rx", "tx", "rx";
478			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
479			resets = <&cpg 518>;
480			status = "disabled";
481		};
482
483		hscif3: serial@e66a0000 {
484			compatible = "renesas,hscif-r8a774c0",
485				     "renesas,rcar-gen3-hscif",
486				     "renesas,hscif";
487			reg = <0 0xe66a0000 0 0x60>;
488			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
489			clocks = <&cpg CPG_MOD 517>,
490				 <&cpg CPG_CORE R8A774C0_CLK_S3D1C>,
491				 <&scif_clk>;
492			clock-names = "fck", "brg_int", "scif_clk";
493			dmas = <&dmac0 0x37>, <&dmac0 0x36>;
494			dma-names = "tx", "rx";
495			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
496			resets = <&cpg 517>;
497			status = "disabled";
498		};
499
500		hscif4: serial@e66b0000 {
501			compatible = "renesas,hscif-r8a774c0",
502				     "renesas,rcar-gen3-hscif",
503				     "renesas,hscif";
504			reg = <0 0xe66b0000 0 0x60>;
505			interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
506			clocks = <&cpg CPG_MOD 516>,
507				 <&cpg CPG_CORE R8A774C0_CLK_S3D1C>,
508				 <&scif_clk>;
509			clock-names = "fck", "brg_int", "scif_clk";
510			dmas = <&dmac0 0x39>, <&dmac0 0x38>;
511			dma-names = "tx", "rx";
512			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
513			resets = <&cpg 516>;
514			status = "disabled";
515		};
516
517		hsusb: usb@e6590000 {
518			compatible = "renesas,usbhs-r8a774c0",
519				     "renesas,rcar-gen3-usbhs";
520			reg = <0 0xe6590000 0 0x200>;
521			interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
522			clocks = <&cpg CPG_MOD 704>, <&cpg CPG_MOD 703>;
523			dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
524			       <&usb_dmac1 0>, <&usb_dmac1 1>;
525			dma-names = "ch0", "ch1", "ch2", "ch3";
526			renesas,buswait = <11>;
527			phys = <&usb2_phy0>;
528			phy-names = "usb";
529			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
530			resets = <&cpg 704>, <&cpg 703>;
531			status = "disabled";
532		};
533
534		usb_dmac0: dma-controller@e65a0000 {
535			compatible = "renesas,r8a774c0-usb-dmac",
536				     "renesas,usb-dmac";
537			reg = <0 0xe65a0000 0 0x100>;
538			interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH
539				      GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
540			interrupt-names = "ch0", "ch1";
541			clocks = <&cpg CPG_MOD 330>;
542			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
543			resets = <&cpg 330>;
544			#dma-cells = <1>;
545			dma-channels = <2>;
546		};
547
548		usb_dmac1: dma-controller@e65b0000 {
549			compatible = "renesas,r8a774c0-usb-dmac",
550				     "renesas,usb-dmac";
551			reg = <0 0xe65b0000 0 0x100>;
552			interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH
553				      GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
554			interrupt-names = "ch0", "ch1";
555			clocks = <&cpg CPG_MOD 331>;
556			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
557			resets = <&cpg 331>;
558			#dma-cells = <1>;
559			dma-channels = <2>;
560		};
561
562		dmac0: dma-controller@e6700000 {
563			compatible = "renesas,dmac-r8a774c0",
564				     "renesas,rcar-dmac";
565			reg = <0 0xe6700000 0 0x10000>;
566			interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH
567				      GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH
568				      GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH
569				      GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH
570				      GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH
571				      GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH
572				      GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH
573				      GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH
574				      GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH
575				      GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH
576				      GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH
577				      GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH
578				      GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH
579				      GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH
580				      GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH
581				      GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH
582				      GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
583			interrupt-names = "error",
584					"ch0", "ch1", "ch2", "ch3",
585					"ch4", "ch5", "ch6", "ch7",
586					"ch8", "ch9", "ch10", "ch11",
587					"ch12", "ch13", "ch14", "ch15";
588			clocks = <&cpg CPG_MOD 219>;
589			clock-names = "fck";
590			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
591			resets = <&cpg 219>;
592			#dma-cells = <1>;
593			dma-channels = <16>;
594			iommus = <&ipmmu_ds0 0>, <&ipmmu_ds0 1>,
595			       <&ipmmu_ds0 2>, <&ipmmu_ds0 3>,
596			       <&ipmmu_ds0 4>, <&ipmmu_ds0 5>,
597			       <&ipmmu_ds0 6>, <&ipmmu_ds0 7>,
598			       <&ipmmu_ds0 8>, <&ipmmu_ds0 9>,
599			       <&ipmmu_ds0 10>, <&ipmmu_ds0 11>,
600			       <&ipmmu_ds0 12>, <&ipmmu_ds0 13>,
601			       <&ipmmu_ds0 14>, <&ipmmu_ds0 15>;
602		};
603
604		dmac1: dma-controller@e7300000 {
605			compatible = "renesas,dmac-r8a774c0",
606				     "renesas,rcar-dmac";
607			reg = <0 0xe7300000 0 0x10000>;
608			interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
609				      GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
610				      GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
611				      GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
612				      GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
613				      GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
614				      GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
615				      GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
616				      GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
617				      GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
618				      GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
619				      GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
620				      GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
621				      GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
622				      GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
623				      GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
624				      GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>;
625			interrupt-names = "error",
626					"ch0", "ch1", "ch2", "ch3",
627					"ch4", "ch5", "ch6", "ch7",
628					"ch8", "ch9", "ch10", "ch11",
629					"ch12", "ch13", "ch14", "ch15";
630			clocks = <&cpg CPG_MOD 218>;
631			clock-names = "fck";
632			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
633			resets = <&cpg 218>;
634			#dma-cells = <1>;
635			dma-channels = <16>;
636			iommus = <&ipmmu_ds1 0>, <&ipmmu_ds1 1>,
637			       <&ipmmu_ds1 2>, <&ipmmu_ds1 3>,
638			       <&ipmmu_ds1 4>, <&ipmmu_ds1 5>,
639			       <&ipmmu_ds1 6>, <&ipmmu_ds1 7>,
640			       <&ipmmu_ds1 8>, <&ipmmu_ds1 9>,
641			       <&ipmmu_ds1 10>, <&ipmmu_ds1 11>,
642			       <&ipmmu_ds1 12>, <&ipmmu_ds1 13>,
643			       <&ipmmu_ds1 14>, <&ipmmu_ds1 15>;
644		};
645
646		dmac2: dma-controller@e7310000 {
647			compatible = "renesas,dmac-r8a774c0",
648				     "renesas,rcar-dmac";
649			reg = <0 0xe7310000 0 0x10000>;
650			interrupts = <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH
651				      GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH
652				      GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH
653				      GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH
654				      GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH
655				      GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH
656				      GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH
657				      GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH
658				      GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH
659				      GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH
660				      GIC_SPI 426 IRQ_TYPE_LEVEL_HIGH
661				      GIC_SPI 427 IRQ_TYPE_LEVEL_HIGH
662				      GIC_SPI 428 IRQ_TYPE_LEVEL_HIGH
663				      GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH
664				      GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH
665				      GIC_SPI 431 IRQ_TYPE_LEVEL_HIGH
666				      GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>;
667			interrupt-names = "error",
668					"ch0", "ch1", "ch2", "ch3",
669					"ch4", "ch5", "ch6", "ch7",
670					"ch8", "ch9", "ch10", "ch11",
671					"ch12", "ch13", "ch14", "ch15";
672			clocks = <&cpg CPG_MOD 217>;
673			clock-names = "fck";
674			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
675			resets = <&cpg 217>;
676			#dma-cells = <1>;
677			dma-channels = <16>;
678			iommus = <&ipmmu_ds1 16>, <&ipmmu_ds1 17>,
679			       <&ipmmu_ds1 18>, <&ipmmu_ds1 19>,
680			       <&ipmmu_ds1 20>, <&ipmmu_ds1 21>,
681			       <&ipmmu_ds1 22>, <&ipmmu_ds1 23>,
682			       <&ipmmu_ds1 24>, <&ipmmu_ds1 25>,
683			       <&ipmmu_ds1 26>, <&ipmmu_ds1 27>,
684			       <&ipmmu_ds1 28>, <&ipmmu_ds1 29>,
685			       <&ipmmu_ds1 30>, <&ipmmu_ds1 31>;
686		};
687
688		ipmmu_ds0: mmu@e6740000 {
689			compatible = "renesas,ipmmu-r8a774c0";
690			reg = <0 0xe6740000 0 0x1000>;
691			renesas,ipmmu-main = <&ipmmu_mm 0>;
692			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
693			#iommu-cells = <1>;
694		};
695
696		ipmmu_ds1: mmu@e7740000 {
697			compatible = "renesas,ipmmu-r8a774c0";
698			reg = <0 0xe7740000 0 0x1000>;
699			renesas,ipmmu-main = <&ipmmu_mm 1>;
700			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
701			#iommu-cells = <1>;
702		};
703
704		ipmmu_hc: mmu@e6570000 {
705			compatible = "renesas,ipmmu-r8a774c0";
706			reg = <0 0xe6570000 0 0x1000>;
707			renesas,ipmmu-main = <&ipmmu_mm 2>;
708			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
709			#iommu-cells = <1>;
710		};
711
712		ipmmu_mm: mmu@e67b0000 {
713			compatible = "renesas,ipmmu-r8a774c0";
714			reg = <0 0xe67b0000 0 0x1000>;
715			interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
716				     <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
717			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
718			#iommu-cells = <1>;
719		};
720
721		ipmmu_mp: mmu@ec670000 {
722			compatible = "renesas,ipmmu-r8a774c0";
723			reg = <0 0xec670000 0 0x1000>;
724			renesas,ipmmu-main = <&ipmmu_mm 4>;
725			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
726			#iommu-cells = <1>;
727		};
728
729		ipmmu_pv0: mmu@fd800000 {
730			compatible = "renesas,ipmmu-r8a774c0";
731			reg = <0 0xfd800000 0 0x1000>;
732			renesas,ipmmu-main = <&ipmmu_mm 6>;
733			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
734			#iommu-cells = <1>;
735		};
736
737		ipmmu_vc0: mmu@fe6b0000 {
738			compatible = "renesas,ipmmu-r8a774c0";
739			reg = <0 0xfe6b0000 0 0x1000>;
740			renesas,ipmmu-main = <&ipmmu_mm 12>;
741			power-domains = <&sysc R8A774C0_PD_A3VC>;
742			#iommu-cells = <1>;
743		};
744
745		ipmmu_vi0: mmu@febd0000 {
746			compatible = "renesas,ipmmu-r8a774c0";
747			reg = <0 0xfebd0000 0 0x1000>;
748			renesas,ipmmu-main = <&ipmmu_mm 14>;
749			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
750			#iommu-cells = <1>;
751		};
752
753		ipmmu_vp0: mmu@fe990000 {
754			compatible = "renesas,ipmmu-r8a774c0";
755			reg = <0 0xfe990000 0 0x1000>;
756			renesas,ipmmu-main = <&ipmmu_mm 16>;
757			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
758			#iommu-cells = <1>;
759		};
760
761		avb: ethernet@e6800000 {
762			compatible = "renesas,etheravb-r8a774c0",
763				     "renesas,etheravb-rcar-gen3";
764			reg = <0 0xe6800000 0 0x800>;
765			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
766				     <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
767				     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
768				     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
769				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
770				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
771				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
772				     <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
773				     <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
774				     <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
775				     <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
776				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
777				     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
778				     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
779				     <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
780				     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
781				     <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
782				     <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
783				     <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
784				     <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
785				     <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
786				     <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
787				     <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
788				     <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
789				     <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
790			interrupt-names = "ch0", "ch1", "ch2", "ch3",
791					  "ch4", "ch5", "ch6", "ch7",
792					  "ch8", "ch9", "ch10", "ch11",
793					  "ch12", "ch13", "ch14", "ch15",
794					  "ch16", "ch17", "ch18", "ch19",
795					  "ch20", "ch21", "ch22", "ch23",
796					  "ch24";
797			clocks = <&cpg CPG_MOD 812>;
798			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
799			resets = <&cpg 812>;
800			phy-mode = "rgmii";
801			iommus = <&ipmmu_ds0 16>;
802			#address-cells = <1>;
803			#size-cells = <0>;
804			status = "disabled";
805		};
806
807		can0: can@e6c30000 {
808			compatible = "renesas,can-r8a774c0",
809				     "renesas,rcar-gen3-can";
810			reg = <0 0xe6c30000 0 0x1000>;
811			interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
812			clocks = <&cpg CPG_MOD 916>, <&can_clk>;
813			clock-names = "clkp1", "can_clk";
814			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
815			resets = <&cpg 916>;
816			status = "disabled";
817		};
818
819		can1: can@e6c38000 {
820			compatible = "renesas,can-r8a774c0",
821				     "renesas,rcar-gen3-can";
822			reg = <0 0xe6c38000 0 0x1000>;
823			interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
824			clocks = <&cpg CPG_MOD 915>, <&can_clk>;
825			clock-names = "clkp1", "can_clk";
826			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
827			resets = <&cpg 915>;
828			status = "disabled";
829		};
830
831		pwm0: pwm@e6e30000 {
832			compatible = "renesas,pwm-r8a774c0", "renesas,pwm-rcar";
833			reg = <0 0xe6e30000 0 0x8>;
834			clocks = <&cpg CPG_MOD 523>;
835			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
836			resets = <&cpg 523>;
837			#pwm-cells = <2>;
838			status = "disabled";
839		};
840
841		pwm1: pwm@e6e31000 {
842			compatible = "renesas,pwm-r8a774c0", "renesas,pwm-rcar";
843			reg = <0 0xe6e31000 0 0x8>;
844			clocks = <&cpg CPG_MOD 523>;
845			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
846			resets = <&cpg 523>;
847			#pwm-cells = <2>;
848			status = "disabled";
849		};
850
851		pwm2: pwm@e6e32000 {
852			compatible = "renesas,pwm-r8a774c0", "renesas,pwm-rcar";
853			reg = <0 0xe6e32000 0 0x8>;
854			clocks = <&cpg CPG_MOD 523>;
855			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
856			resets = <&cpg 523>;
857			#pwm-cells = <2>;
858			status = "disabled";
859		};
860
861		pwm3: pwm@e6e33000 {
862			compatible = "renesas,pwm-r8a774c0", "renesas,pwm-rcar";
863			reg = <0 0xe6e33000 0 0x8>;
864			clocks = <&cpg CPG_MOD 523>;
865			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
866			resets = <&cpg 523>;
867			#pwm-cells = <2>;
868			status = "disabled";
869		};
870
871		pwm4: pwm@e6e34000 {
872			compatible = "renesas,pwm-r8a774c0", "renesas,pwm-rcar";
873			reg = <0 0xe6e34000 0 0x8>;
874			clocks = <&cpg CPG_MOD 523>;
875			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
876			resets = <&cpg 523>;
877			#pwm-cells = <2>;
878			status = "disabled";
879		};
880
881		pwm5: pwm@e6e35000 {
882			compatible = "renesas,pwm-r8a774c0", "renesas,pwm-rcar";
883			reg = <0 0xe6e35000 0 0x8>;
884			clocks = <&cpg CPG_MOD 523>;
885			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
886			resets = <&cpg 523>;
887			#pwm-cells = <2>;
888			status = "disabled";
889		};
890
891		pwm6: pwm@e6e36000 {
892			compatible = "renesas,pwm-r8a774c0", "renesas,pwm-rcar";
893			reg = <0 0xe6e36000 0 0x8>;
894			clocks = <&cpg CPG_MOD 523>;
895			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
896			resets = <&cpg 523>;
897			#pwm-cells = <2>;
898			status = "disabled";
899		};
900
901		scif0: serial@e6e60000 {
902			compatible = "renesas,scif-r8a774c0",
903				     "renesas,rcar-gen3-scif", "renesas,scif";
904			reg = <0 0xe6e60000 0 64>;
905			interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
906			clocks = <&cpg CPG_MOD 207>,
907				 <&cpg CPG_CORE R8A774C0_CLK_S3D1C>,
908				 <&scif_clk>;
909			clock-names = "fck", "brg_int", "scif_clk";
910			dmas = <&dmac1 0x51>, <&dmac1 0x50>,
911			       <&dmac2 0x51>, <&dmac2 0x50>;
912			dma-names = "tx", "rx", "tx", "rx";
913			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
914			resets = <&cpg 207>;
915			status = "disabled";
916		};
917
918		scif1: serial@e6e68000 {
919			compatible = "renesas,scif-r8a774c0",
920				     "renesas,rcar-gen3-scif", "renesas,scif";
921			reg = <0 0xe6e68000 0 64>;
922			interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
923			clocks = <&cpg CPG_MOD 206>,
924				 <&cpg CPG_CORE R8A774C0_CLK_S3D1C>,
925				 <&scif_clk>;
926			clock-names = "fck", "brg_int", "scif_clk";
927			dmas = <&dmac1 0x53>, <&dmac1 0x52>,
928			       <&dmac2 0x53>, <&dmac2 0x52>;
929			dma-names = "tx", "rx", "tx", "rx";
930			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
931			resets = <&cpg 206>;
932			status = "disabled";
933		};
934
935		scif2: serial@e6e88000 {
936			compatible = "renesas,scif-r8a774c0",
937				     "renesas,rcar-gen3-scif", "renesas,scif";
938			reg = <0 0xe6e88000 0 64>;
939			interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
940			clocks = <&cpg CPG_MOD 310>,
941				 <&cpg CPG_CORE R8A774C0_CLK_S3D1C>,
942				 <&scif_clk>;
943			clock-names = "fck", "brg_int", "scif_clk";
944			dmas = <&dmac1 0x13>, <&dmac1 0x12>,
945			       <&dmac2 0x13>, <&dmac2 0x12>;
946			dma-names = "tx", "rx", "tx", "rx";
947			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
948			resets = <&cpg 310>;
949			status = "disabled";
950		};
951
952		scif3: serial@e6c50000 {
953			compatible = "renesas,scif-r8a774c0",
954				     "renesas,rcar-gen3-scif", "renesas,scif";
955			reg = <0 0xe6c50000 0 64>;
956			interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
957			clocks = <&cpg CPG_MOD 204>,
958				 <&cpg CPG_CORE R8A774C0_CLK_S3D1C>,
959				 <&scif_clk>;
960			clock-names = "fck", "brg_int", "scif_clk";
961			dmas = <&dmac0 0x57>, <&dmac0 0x56>;
962			dma-names = "tx", "rx";
963			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
964			resets = <&cpg 204>;
965			status = "disabled";
966		};
967
968		scif4: serial@e6c40000 {
969			compatible = "renesas,scif-r8a774c0",
970				     "renesas,rcar-gen3-scif", "renesas,scif";
971			reg = <0 0xe6c40000 0 64>;
972			interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
973			clocks = <&cpg CPG_MOD 203>,
974				 <&cpg CPG_CORE R8A774C0_CLK_S3D1C>,
975				 <&scif_clk>;
976			clock-names = "fck", "brg_int", "scif_clk";
977			dmas = <&dmac0 0x59>, <&dmac0 0x58>;
978			dma-names = "tx", "rx";
979			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
980			resets = <&cpg 203>;
981			status = "disabled";
982		};
983
984		scif5: serial@e6f30000 {
985			compatible = "renesas,scif-r8a774c0",
986				     "renesas,rcar-gen3-scif", "renesas,scif";
987			reg = <0 0xe6f30000 0 64>;
988			interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
989			clocks = <&cpg CPG_MOD 202>,
990				 <&cpg CPG_CORE R8A774C0_CLK_S3D1C>,
991				 <&scif_clk>;
992			clock-names = "fck", "brg_int", "scif_clk";
993			dmas = <&dmac0 0x5b>, <&dmac0 0x5a>;
994			dma-names = "tx", "rx";
995			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
996			resets = <&cpg 202>;
997			status = "disabled";
998		};
999
1000		msiof0: spi@e6e90000 {
1001			compatible = "renesas,msiof-r8a774c0",
1002				     "renesas,rcar-gen3-msiof";
1003			reg = <0 0xe6e90000 0 0x0064>;
1004			interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
1005			clocks = <&cpg CPG_MOD 211>;
1006			dmas = <&dmac1 0x41>, <&dmac1 0x40>,
1007			       <&dmac2 0x41>, <&dmac2 0x40>;
1008			dma-names = "tx", "rx", "tx", "rx";
1009			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1010			resets = <&cpg 211>;
1011			#address-cells = <1>;
1012			#size-cells = <0>;
1013			status = "disabled";
1014		};
1015
1016		msiof1: spi@e6ea0000 {
1017			compatible = "renesas,msiof-r8a774c0",
1018				     "renesas,rcar-gen3-msiof";
1019			reg = <0 0xe6ea0000 0 0x0064>;
1020			interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
1021			clocks = <&cpg CPG_MOD 210>;
1022			dmas = <&dmac1 0x43>, <&dmac1 0x42>,
1023			       <&dmac2 0x43>, <&dmac2 0x42>;
1024			dma-names = "tx", "rx", "tx", "rx";
1025			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1026			resets = <&cpg 210>;
1027			#address-cells = <1>;
1028			#size-cells = <0>;
1029			status = "disabled";
1030		};
1031
1032		msiof2: spi@e6c00000 {
1033			compatible = "renesas,msiof-r8a774c0",
1034				     "renesas,rcar-gen3-msiof";
1035			reg = <0 0xe6c00000 0 0x0064>;
1036			interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
1037			clocks = <&cpg CPG_MOD 209>;
1038			dmas = <&dmac0 0x45>, <&dmac0 0x44>;
1039			dma-names = "tx", "rx";
1040			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1041			resets = <&cpg 209>;
1042			#address-cells = <1>;
1043			#size-cells = <0>;
1044			status = "disabled";
1045		};
1046
1047		msiof3: spi@e6c10000 {
1048			compatible = "renesas,msiof-r8a774c0",
1049				     "renesas,rcar-gen3-msiof";
1050			reg = <0 0xe6c10000 0 0x0064>;
1051			interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
1052			clocks = <&cpg CPG_MOD 208>;
1053			dmas = <&dmac0 0x47>, <&dmac0 0x46>;
1054			dma-names = "tx", "rx";
1055			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1056			resets = <&cpg 208>;
1057			#address-cells = <1>;
1058			#size-cells = <0>;
1059			status = "disabled";
1060		};
1061
1062		vin4: video@e6ef4000 {
1063			compatible = "renesas,vin-r8a774c0";
1064			reg = <0 0xe6ef4000 0 0x1000>;
1065			interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
1066			clocks = <&cpg CPG_MOD 807>;
1067			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1068			resets = <&cpg 807>;
1069			renesas,id = <4>;
1070			status = "disabled";
1071
1072			ports {
1073				#address-cells = <1>;
1074				#size-cells = <0>;
1075
1076				port@1 {
1077					#address-cells = <1>;
1078					#size-cells = <0>;
1079
1080					reg = <1>;
1081
1082					vin4csi40: endpoint@2 {
1083						reg = <2>;
1084						remote-endpoint= <&csi40vin4>;
1085					};
1086				};
1087			};
1088		};
1089
1090		vin5: video@e6ef5000 {
1091			compatible = "renesas,vin-r8a774c0";
1092			reg = <0 0xe6ef5000 0 0x1000>;
1093			interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
1094			clocks = <&cpg CPG_MOD 806>;
1095			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1096			resets = <&cpg 806>;
1097			renesas,id = <5>;
1098			status = "disabled";
1099
1100			ports {
1101				#address-cells = <1>;
1102				#size-cells = <0>;
1103
1104				port@1 {
1105					#address-cells = <1>;
1106					#size-cells = <0>;
1107
1108					reg = <1>;
1109
1110					vin5csi40: endpoint@2 {
1111						reg = <2>;
1112						remote-endpoint= <&csi40vin5>;
1113					};
1114				};
1115			};
1116		};
1117
1118		rcar_sound: sound@ec500000 {
1119			/*
1120			 * #sound-dai-cells is required
1121			 *
1122			 * Single DAI : #sound-dai-cells = <0>;	<&rcar_sound>;
1123			 * Multi  DAI : #sound-dai-cells = <1>;	<&rcar_sound N>;
1124			 */
1125			/*
1126			 * #clock-cells is required for audio_clkout0/1/2/3
1127			 *
1128			 * clkout	: #clock-cells = <0>;	<&rcar_sound>;
1129			 * clkout0/1/2/3: #clock-cells = <1>;	<&rcar_sound N>;
1130			 */
1131			compatible = "renesas,rcar_sound-r8a774c0",
1132				     "renesas,rcar_sound-gen3";
1133			reg =	<0 0xec500000 0 0x1000>, /* SCU */
1134				<0 0xec5a0000 0 0x100>,  /* ADG */
1135				<0 0xec540000 0 0x1000>, /* SSIU */
1136				<0 0xec541000 0 0x280>,  /* SSI */
1137				<0 0xec760000 0 0x200>;  /* Audio DMAC peri peri*/
1138			reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
1139
1140			clocks = <&cpg CPG_MOD 1005>,
1141				 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
1142				 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
1143				 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
1144				 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
1145				 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
1146				 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
1147				 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
1148				 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
1149				 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
1150				 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
1151				 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
1152				 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
1153				 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
1154				 <&audio_clk_a>, <&audio_clk_b>,
1155				 <&audio_clk_c>,
1156				 <&cpg CPG_CORE R8A774C0_CLK_ZA2>;
1157			clock-names = "ssi-all",
1158				      "ssi.9", "ssi.8", "ssi.7", "ssi.6",
1159				      "ssi.5", "ssi.4", "ssi.3", "ssi.2",
1160				      "ssi.1", "ssi.0",
1161				      "src.9", "src.8", "src.7", "src.6",
1162				      "src.5", "src.4", "src.3", "src.2",
1163				      "src.1", "src.0",
1164				      "mix.1", "mix.0",
1165				      "ctu.1", "ctu.0",
1166				      "dvc.0", "dvc.1",
1167				      "clk_a", "clk_b", "clk_c", "clk_i";
1168			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1169			resets = <&cpg 1005>,
1170				 <&cpg 1006>, <&cpg 1007>,
1171				 <&cpg 1008>, <&cpg 1009>,
1172				 <&cpg 1010>, <&cpg 1011>,
1173				 <&cpg 1012>, <&cpg 1013>,
1174				 <&cpg 1014>, <&cpg 1015>;
1175			reset-names = "ssi-all",
1176				      "ssi.9", "ssi.8", "ssi.7", "ssi.6",
1177				      "ssi.5", "ssi.4", "ssi.3", "ssi.2",
1178				      "ssi.1", "ssi.0";
1179			status = "disabled";
1180
1181			rcar_sound,dvc {
1182				dvc0: dvc-0 {
1183					dmas = <&audma0 0xbc>;
1184					dma-names = "tx";
1185				};
1186				dvc1: dvc-1 {
1187					dmas = <&audma0 0xbe>;
1188					dma-names = "tx";
1189				};
1190			};
1191
1192			rcar_sound,mix {
1193				mix0: mix-0 { };
1194				mix1: mix-1 { };
1195			};
1196
1197			rcar_sound,ctu {
1198				ctu00: ctu-0 { };
1199				ctu01: ctu-1 { };
1200				ctu02: ctu-2 { };
1201				ctu03: ctu-3 { };
1202				ctu10: ctu-4 { };
1203				ctu11: ctu-5 { };
1204				ctu12: ctu-6 { };
1205				ctu13: ctu-7 { };
1206			};
1207
1208			rcar_sound,src {
1209				src0: src-0 {
1210					interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
1211					dmas = <&audma0 0x85>, <&audma0 0x9a>;
1212					dma-names = "rx", "tx";
1213				};
1214				src1: src-1 {
1215					interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1216					dmas = <&audma0 0x87>, <&audma0 0x9c>;
1217					dma-names = "rx", "tx";
1218				};
1219				src2: src-2 {
1220					interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1221					dmas = <&audma0 0x89>, <&audma0 0x9e>;
1222					dma-names = "rx", "tx";
1223				};
1224				src3: src-3 {
1225					interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1226					dmas = <&audma0 0x8b>, <&audma0 0xa0>;
1227					dma-names = "rx", "tx";
1228				};
1229				src4: src-4 {
1230					interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1231					dmas = <&audma0 0x8d>, <&audma0 0xb0>;
1232					dma-names = "rx", "tx";
1233				};
1234				src5: src-5 {
1235					interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1236					dmas = <&audma0 0x8f>, <&audma0 0xb2>;
1237					dma-names = "rx", "tx";
1238				};
1239				src6: src-6 {
1240					interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1241					dmas = <&audma0 0x91>, <&audma0 0xb4>;
1242					dma-names = "rx", "tx";
1243				};
1244				src7: src-7 {
1245					interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1246					dmas = <&audma0 0x93>, <&audma0 0xb6>;
1247					dma-names = "rx", "tx";
1248				};
1249				src8: src-8 {
1250					interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1251					dmas = <&audma0 0x95>, <&audma0 0xb8>;
1252					dma-names = "rx", "tx";
1253				};
1254				src9: src-9 {
1255					interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
1256					dmas = <&audma0 0x97>, <&audma0 0xba>;
1257					dma-names = "rx", "tx";
1258				};
1259			};
1260
1261			rcar_sound,ssi {
1262				ssi0: ssi-0 {
1263					interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
1264					dmas = <&audma0 0x01>, <&audma0 0x02>,
1265					       <&audma0 0x15>, <&audma0 0x16>;
1266					dma-names = "rx", "tx", "rxu", "txu";
1267				};
1268				ssi1: ssi-1 {
1269					interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
1270					dmas = <&audma0 0x03>, <&audma0 0x04>,
1271					       <&audma0 0x49>, <&audma0 0x4a>;
1272					dma-names = "rx", "tx", "rxu", "txu";
1273				};
1274				ssi2: ssi-2 {
1275					interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>;
1276					dmas = <&audma0 0x05>, <&audma0 0x06>,
1277					       <&audma0 0x63>, <&audma0 0x64>;
1278					dma-names = "rx", "tx", "rxu", "txu";
1279				};
1280				ssi3: ssi-3 {
1281					interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
1282					dmas = <&audma0 0x07>, <&audma0 0x08>,
1283					       <&audma0 0x6f>, <&audma0 0x70>;
1284					dma-names = "rx", "tx", "rxu", "txu";
1285				};
1286				ssi4: ssi-4 {
1287					interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
1288					dmas = <&audma0 0x09>, <&audma0 0x0a>,
1289					       <&audma0 0x71>, <&audma0 0x72>;
1290					dma-names = "rx", "tx", "rxu", "txu";
1291				};
1292				ssi5: ssi-5 {
1293					interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
1294					dmas = <&audma0 0x0b>, <&audma0 0x0c>,
1295					       <&audma0 0x73>, <&audma0 0x74>;
1296					dma-names = "rx", "tx", "rxu", "txu";
1297				};
1298				ssi6: ssi-6 {
1299					interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>;
1300					dmas = <&audma0 0x0d>, <&audma0 0x0e>,
1301					       <&audma0 0x75>, <&audma0 0x76>;
1302					dma-names = "rx", "tx", "rxu", "txu";
1303				};
1304				ssi7: ssi-7 {
1305					interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>;
1306					dmas = <&audma0 0x0f>, <&audma0 0x10>,
1307					       <&audma0 0x79>, <&audma0 0x7a>;
1308					dma-names = "rx", "tx", "rxu", "txu";
1309				};
1310				ssi8: ssi-8 {
1311					interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>;
1312					dmas = <&audma0 0x11>, <&audma0 0x12>,
1313					       <&audma0 0x7b>, <&audma0 0x7c>;
1314					dma-names = "rx", "tx", "rxu", "txu";
1315				};
1316				ssi9: ssi-9 {
1317					interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
1318					dmas = <&audma0 0x13>, <&audma0 0x14>,
1319					       <&audma0 0x7d>, <&audma0 0x7e>;
1320					dma-names = "rx", "tx", "rxu", "txu";
1321				};
1322			};
1323		};
1324
1325		audma0: dma-controller@ec700000 {
1326			compatible = "renesas,dmac-r8a774c0",
1327				     "renesas,rcar-dmac";
1328			reg = <0 0xec700000 0 0x10000>;
1329			interrupts = <GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH
1330				      GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH
1331				      GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH
1332				      GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH
1333				      GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH
1334				      GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH
1335				      GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH
1336				      GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH
1337				      GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH
1338				      GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH
1339				      GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH
1340				      GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH
1341				      GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH
1342				      GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH
1343				      GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH
1344				      GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH
1345				      GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>;
1346			interrupt-names = "error",
1347					"ch0", "ch1", "ch2", "ch3",
1348					"ch4", "ch5", "ch6", "ch7",
1349					"ch8", "ch9", "ch10", "ch11",
1350					"ch12", "ch13", "ch14", "ch15";
1351			clocks = <&cpg CPG_MOD 502>;
1352			clock-names = "fck";
1353			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1354			resets = <&cpg 502>;
1355			#dma-cells = <1>;
1356			dma-channels = <16>;
1357			iommus = <&ipmmu_mp 0>, <&ipmmu_mp 1>,
1358				 <&ipmmu_mp 2>, <&ipmmu_mp 3>,
1359				 <&ipmmu_mp 4>, <&ipmmu_mp 5>,
1360				 <&ipmmu_mp 6>, <&ipmmu_mp 7>,
1361				 <&ipmmu_mp 8>, <&ipmmu_mp 9>,
1362				 <&ipmmu_mp 10>, <&ipmmu_mp 11>,
1363				 <&ipmmu_mp 12>, <&ipmmu_mp 13>,
1364				 <&ipmmu_mp 14>, <&ipmmu_mp 15>;
1365		};
1366
1367		xhci0: usb@ee000000 {
1368			compatible = "renesas,xhci-r8a774c0",
1369				     "renesas,rcar-gen3-xhci";
1370			reg = <0 0xee000000 0 0xc00>;
1371			interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
1372			clocks = <&cpg CPG_MOD 328>;
1373			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1374			resets = <&cpg 328>;
1375			status = "disabled";
1376		};
1377
1378		usb3_peri0: usb@ee020000 {
1379			compatible = "renesas,r8a774c0-usb3-peri",
1380				     "renesas,rcar-gen3-usb3-peri";
1381			reg = <0 0xee020000 0 0x400>;
1382			interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
1383			clocks = <&cpg CPG_MOD 328>;
1384			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1385			resets = <&cpg 328>;
1386			status = "disabled";
1387		};
1388
1389		ohci0: usb@ee080000 {
1390			compatible = "generic-ohci";
1391			reg = <0 0xee080000 0 0x100>;
1392			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1393			clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
1394			phys = <&usb2_phy0>;
1395			phy-names = "usb";
1396			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1397			resets = <&cpg 703>, <&cpg 704>;
1398			status = "disabled";
1399		};
1400
1401		ehci0: usb@ee080100 {
1402			compatible = "generic-ehci";
1403			reg = <0 0xee080100 0 0x100>;
1404			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1405			clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
1406			phys = <&usb2_phy0>;
1407			phy-names = "usb";
1408			companion = <&ohci0>;
1409			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1410			resets = <&cpg 703>, <&cpg 704>;
1411			status = "disabled";
1412		};
1413
1414		usb2_phy0: usb-phy@ee080200 {
1415			compatible = "renesas,usb2-phy-r8a774c0",
1416				     "renesas,rcar-gen3-usb2-phy";
1417			reg = <0 0xee080200 0 0x700>;
1418			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1419			clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
1420			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1421			resets = <&cpg 703>, <&cpg 704>;
1422			#phy-cells = <0>;
1423			status = "disabled";
1424		};
1425
1426		sdhi0: sd@ee100000 {
1427			compatible = "renesas,sdhi-r8a774c0",
1428				     "renesas,rcar-gen3-sdhi";
1429			reg = <0 0xee100000 0 0x2000>;
1430			interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
1431			clocks = <&cpg CPG_MOD 314>;
1432			max-frequency = <200000000>;
1433			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1434			resets = <&cpg 314>;
1435			status = "disabled";
1436		};
1437
1438		sdhi1: sd@ee120000 {
1439			compatible = "renesas,sdhi-r8a774c0",
1440				     "renesas,rcar-gen3-sdhi";
1441			reg = <0 0xee120000 0 0x2000>;
1442			interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
1443			clocks = <&cpg CPG_MOD 313>;
1444			max-frequency = <200000000>;
1445			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1446			resets = <&cpg 313>;
1447			status = "disabled";
1448		};
1449
1450		sdhi3: sd@ee160000 {
1451			compatible = "renesas,sdhi-r8a774c0",
1452				     "renesas,rcar-gen3-sdhi";
1453			reg = <0 0xee160000 0 0x2000>;
1454			interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
1455			clocks = <&cpg CPG_MOD 311>;
1456			max-frequency = <200000000>;
1457			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1458			resets = <&cpg 311>;
1459			status = "disabled";
1460		};
1461
1462		gic: interrupt-controller@f1010000 {
1463			compatible = "arm,gic-400";
1464			#interrupt-cells = <3>;
1465			#address-cells = <0>;
1466			interrupt-controller;
1467			reg = <0x0 0xf1010000 0 0x1000>,
1468			      <0x0 0xf1020000 0 0x20000>,
1469			      <0x0 0xf1040000 0 0x20000>,
1470			      <0x0 0xf1060000 0 0x20000>;
1471			interrupts = <GIC_PPI 9
1472					(GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
1473			clocks = <&cpg CPG_MOD 408>;
1474			clock-names = "clk";
1475			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1476			resets = <&cpg 408>;
1477		};
1478
1479		pciec0: pcie@fe000000 {
1480			compatible = "renesas,pcie-r8a774c0",
1481				     "renesas,pcie-rcar-gen3";
1482			reg = <0 0xfe000000 0 0x80000>;
1483			#address-cells = <3>;
1484			#size-cells = <2>;
1485			bus-range = <0x00 0xff>;
1486			device_type = "pci";
1487			ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000
1488				  0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000
1489				  0x02000000 0 0x30000000 0 0x30000000 0 0x08000000
1490				  0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
1491			/* Map all possible DDR as inbound ranges */
1492			dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x40000000>;
1493			interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
1494				     <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
1495				     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
1496			#interrupt-cells = <1>;
1497			interrupt-map-mask = <0 0 0 0>;
1498			interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
1499			clocks = <&cpg CPG_MOD 319>, <&pcie_bus_clk>;
1500			clock-names = "pcie", "pcie_bus";
1501			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1502			resets = <&cpg 319>;
1503			status = "disabled";
1504		};
1505
1506		vspb0: vsp@fe960000 {
1507			compatible = "renesas,vsp2";
1508			reg = <0 0xfe960000 0 0x8000>;
1509			interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
1510			clocks = <&cpg CPG_MOD 626>;
1511			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1512			resets = <&cpg 626>;
1513			renesas,fcp = <&fcpvb0>;
1514		};
1515
1516		fcpvb0: fcp@fe96f000 {
1517			compatible = "renesas,fcpv";
1518			reg = <0 0xfe96f000 0 0x200>;
1519			clocks = <&cpg CPG_MOD 607>;
1520			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1521			resets = <&cpg 607>;
1522			iommus = <&ipmmu_vp0 5>;
1523		};
1524
1525		vspi0: vsp@fe9a0000 {
1526			compatible = "renesas,vsp2";
1527			reg = <0 0xfe9a0000 0 0x8000>;
1528			interrupts = <GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>;
1529			clocks = <&cpg CPG_MOD 631>;
1530			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1531			resets = <&cpg 631>;
1532			renesas,fcp = <&fcpvi0>;
1533		};
1534
1535		fcpvi0: fcp@fe9af000 {
1536			compatible = "renesas,fcpv";
1537			reg = <0 0xfe9af000 0 0x200>;
1538			clocks = <&cpg CPG_MOD 611>;
1539			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1540			resets = <&cpg 611>;
1541			iommus = <&ipmmu_vp0 8>;
1542		};
1543
1544		vspd0: vsp@fea20000 {
1545			compatible = "renesas,vsp2";
1546			reg = <0 0xfea20000 0 0x7000>;
1547			interrupts = <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>;
1548			clocks = <&cpg CPG_MOD 623>;
1549			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1550			resets = <&cpg 623>;
1551			renesas,fcp = <&fcpvd0>;
1552		};
1553
1554		fcpvd0: fcp@fea27000 {
1555			compatible = "renesas,fcpv";
1556			reg = <0 0xfea27000 0 0x200>;
1557			clocks = <&cpg CPG_MOD 603>;
1558			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1559			resets = <&cpg 603>;
1560			iommus = <&ipmmu_vi0 8>;
1561		};
1562
1563		vspd1: vsp@fea28000 {
1564			compatible = "renesas,vsp2";
1565			reg = <0 0xfea28000 0 0x7000>;
1566			interrupts = <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>;
1567			clocks = <&cpg CPG_MOD 622>;
1568			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1569			resets = <&cpg 622>;
1570			renesas,fcp = <&fcpvd1>;
1571		};
1572
1573		fcpvd1: fcp@fea2f000 {
1574			compatible = "renesas,fcpv";
1575			reg = <0 0xfea2f000 0 0x200>;
1576			clocks = <&cpg CPG_MOD 602>;
1577			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1578			resets = <&cpg 602>;
1579			iommus = <&ipmmu_vi0 9>;
1580		};
1581
1582		csi40: csi2@feaa0000 {
1583			compatible = "renesas,r8a774c0-csi2",
1584				     "renesas,rcar-gen3-csi2";
1585			reg = <0 0xfeaa0000 0 0x10000>;
1586			interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
1587			clocks = <&cpg CPG_MOD 716>;
1588			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1589			resets = <&cpg 716>;
1590			status = "disabled";
1591
1592			ports {
1593				#address-cells = <1>;
1594				#size-cells = <0>;
1595
1596				port@1 {
1597					#address-cells = <1>;
1598					#size-cells = <0>;
1599
1600					reg = <1>;
1601
1602					csi40vin4: endpoint@0 {
1603						reg = <0>;
1604						remote-endpoint = <&vin4csi40>;
1605					};
1606					csi40vin5: endpoint@1 {
1607						reg = <1>;
1608						remote-endpoint = <&vin5csi40>;
1609					};
1610				};
1611			};
1612		};
1613
1614		du: display@feb00000 {
1615			compatible = "renesas,du-r8a774c0";
1616			reg = <0 0xfeb00000 0 0x80000>;
1617			interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
1618				     <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
1619			clocks = <&cpg CPG_MOD 724>,
1620				 <&cpg CPG_MOD 723>;
1621			clock-names = "du.0", "du.1";
1622			vsps = <&vspd0 0 &vspd1 0>;
1623			status = "disabled";
1624
1625			ports {
1626				#address-cells = <1>;
1627				#size-cells = <0>;
1628
1629				port@0 {
1630					reg = <0>;
1631					du_out_rgb: endpoint {
1632					};
1633				};
1634
1635				port@1 {
1636					reg = <1>;
1637					du_out_lvds0: endpoint {
1638						remote-endpoint = <&lvds0_in>;
1639					};
1640				};
1641
1642				port@2 {
1643					reg = <2>;
1644					du_out_lvds1: endpoint {
1645						remote-endpoint = <&lvds1_in>;
1646					};
1647				};
1648			};
1649		};
1650
1651		lvds0: lvds-encoder@feb90000 {
1652			compatible = "renesas,r8a774c0-lvds";
1653			reg = <0 0xfeb90000 0 0x20>;
1654			clocks = <&cpg CPG_MOD 727>;
1655			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1656			resets = <&cpg 727>;
1657			status = "disabled";
1658
1659			ports {
1660				#address-cells = <1>;
1661				#size-cells = <0>;
1662
1663				port@0 {
1664					reg = <0>;
1665					lvds0_in: endpoint {
1666						remote-endpoint = <&du_out_lvds0>;
1667					};
1668				};
1669
1670				port@1 {
1671					reg = <1>;
1672					lvds0_out: endpoint {
1673					};
1674				};
1675			};
1676		};
1677
1678		lvds1: lvds-encoder@feb90100 {
1679			compatible = "renesas,r8a774c0-lvds";
1680			reg = <0 0xfeb90100 0 0x20>;
1681			clocks = <&cpg CPG_MOD 727>;
1682			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1683			resets = <&cpg 726>;
1684			status = "disabled";
1685
1686			ports {
1687				#address-cells = <1>;
1688				#size-cells = <0>;
1689
1690				port@0 {
1691					reg = <0>;
1692					lvds1_in: endpoint {
1693						remote-endpoint = <&du_out_lvds1>;
1694					};
1695				};
1696
1697				port@1 {
1698					reg = <1>;
1699					lvds1_out: endpoint {
1700					};
1701				};
1702			};
1703		};
1704
1705		prr: chipid@fff00044 {
1706			compatible = "renesas,prr";
1707			reg = <0 0xfff00044 0 4>;
1708		};
1709	};
1710
1711	thermal-zones {
1712		cpu-thermal {
1713			polling-delay-passive = <250>;
1714			polling-delay = <1000>;
1715			thermal-sensors = <&thermal>;
1716
1717			trips {
1718				cpu-crit {
1719					temperature = <120000>;
1720					hysteresis = <2000>;
1721					type = "critical";
1722				};
1723			};
1724
1725			cooling-maps {
1726			};
1727		};
1728	};
1729
1730	timer {
1731		compatible = "arm,armv8-timer";
1732		interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1733				      <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1734				      <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1735				      <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
1736	};
1737
1738	/* External USB clocks - can be overridden by the board */
1739	usb3s0_clk: usb3s0 {
1740		compatible = "fixed-clock";
1741		#clock-cells = <0>;
1742		clock-frequency = <0>;
1743	};
1744
1745	usb_extal_clk: usb_extal {
1746		compatible = "fixed-clock";
1747		#clock-cells = <0>;
1748		clock-frequency = <0>;
1749	};
1750};
1751