1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for the RZ/G2E (R8A774C0) SoC
4 *
5 * Copyright (C) 2018 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			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
945			resets = <&cpg 310>;
946			status = "disabled";
947		};
948
949		scif3: serial@e6c50000 {
950			compatible = "renesas,scif-r8a774c0",
951				     "renesas,rcar-gen3-scif", "renesas,scif";
952			reg = <0 0xe6c50000 0 64>;
953			interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
954			clocks = <&cpg CPG_MOD 204>,
955				 <&cpg CPG_CORE R8A774C0_CLK_S3D1C>,
956				 <&scif_clk>;
957			clock-names = "fck", "brg_int", "scif_clk";
958			dmas = <&dmac0 0x57>, <&dmac0 0x56>;
959			dma-names = "tx", "rx";
960			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
961			resets = <&cpg 204>;
962			status = "disabled";
963		};
964
965		scif4: serial@e6c40000 {
966			compatible = "renesas,scif-r8a774c0",
967				     "renesas,rcar-gen3-scif", "renesas,scif";
968			reg = <0 0xe6c40000 0 64>;
969			interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
970			clocks = <&cpg CPG_MOD 203>,
971				 <&cpg CPG_CORE R8A774C0_CLK_S3D1C>,
972				 <&scif_clk>;
973			clock-names = "fck", "brg_int", "scif_clk";
974			dmas = <&dmac0 0x59>, <&dmac0 0x58>;
975			dma-names = "tx", "rx";
976			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
977			resets = <&cpg 203>;
978			status = "disabled";
979		};
980
981		scif5: serial@e6f30000 {
982			compatible = "renesas,scif-r8a774c0",
983				     "renesas,rcar-gen3-scif", "renesas,scif";
984			reg = <0 0xe6f30000 0 64>;
985			interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
986			clocks = <&cpg CPG_MOD 202>,
987				 <&cpg CPG_CORE R8A774C0_CLK_S3D1C>,
988				 <&scif_clk>;
989			clock-names = "fck", "brg_int", "scif_clk";
990			dmas = <&dmac1 0x5b>, <&dmac1 0x5a>,
991			       <&dmac2 0x5b>, <&dmac2 0x5a>;
992			dma-names = "tx", "rx", "tx", "rx";
993			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
994			resets = <&cpg 202>;
995			status = "disabled";
996		};
997
998		msiof0: spi@e6e90000 {
999			compatible = "renesas,msiof-r8a774c0",
1000				     "renesas,rcar-gen3-msiof";
1001			reg = <0 0xe6e90000 0 0x0064>;
1002			interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
1003			clocks = <&cpg CPG_MOD 211>;
1004			dmas = <&dmac1 0x41>, <&dmac1 0x40>,
1005			       <&dmac2 0x41>, <&dmac2 0x40>;
1006			dma-names = "tx", "rx", "tx", "rx";
1007			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1008			resets = <&cpg 211>;
1009			#address-cells = <1>;
1010			#size-cells = <0>;
1011			status = "disabled";
1012		};
1013
1014		msiof1: spi@e6ea0000 {
1015			compatible = "renesas,msiof-r8a774c0",
1016				     "renesas,rcar-gen3-msiof";
1017			reg = <0 0xe6ea0000 0 0x0064>;
1018			interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
1019			clocks = <&cpg CPG_MOD 210>;
1020			dmas = <&dmac1 0x43>, <&dmac1 0x42>,
1021			       <&dmac2 0x43>, <&dmac2 0x42>;
1022			dma-names = "tx", "rx", "tx", "rx";
1023			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1024			resets = <&cpg 210>;
1025			#address-cells = <1>;
1026			#size-cells = <0>;
1027			status = "disabled";
1028		};
1029
1030		msiof2: spi@e6c00000 {
1031			compatible = "renesas,msiof-r8a774c0",
1032				     "renesas,rcar-gen3-msiof";
1033			reg = <0 0xe6c00000 0 0x0064>;
1034			interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
1035			clocks = <&cpg CPG_MOD 209>;
1036			dmas = <&dmac0 0x45>, <&dmac0 0x44>;
1037			dma-names = "tx", "rx";
1038			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1039			resets = <&cpg 209>;
1040			#address-cells = <1>;
1041			#size-cells = <0>;
1042			status = "disabled";
1043		};
1044
1045		msiof3: spi@e6c10000 {
1046			compatible = "renesas,msiof-r8a774c0",
1047				     "renesas,rcar-gen3-msiof";
1048			reg = <0 0xe6c10000 0 0x0064>;
1049			interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
1050			clocks = <&cpg CPG_MOD 208>;
1051			dmas = <&dmac0 0x47>, <&dmac0 0x46>;
1052			dma-names = "tx", "rx";
1053			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1054			resets = <&cpg 208>;
1055			#address-cells = <1>;
1056			#size-cells = <0>;
1057			status = "disabled";
1058		};
1059
1060		vin4: video@e6ef4000 {
1061			compatible = "renesas,vin-r8a774c0";
1062			reg = <0 0xe6ef4000 0 0x1000>;
1063			interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
1064			clocks = <&cpg CPG_MOD 807>;
1065			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1066			resets = <&cpg 807>;
1067			renesas,id = <4>;
1068			status = "disabled";
1069
1070			ports {
1071				#address-cells = <1>;
1072				#size-cells = <0>;
1073
1074				port@1 {
1075					#address-cells = <1>;
1076					#size-cells = <0>;
1077
1078					reg = <1>;
1079
1080					vin4csi40: endpoint@2 {
1081						reg = <2>;
1082						remote-endpoint= <&csi40vin4>;
1083					};
1084				};
1085			};
1086		};
1087
1088		vin5: video@e6ef5000 {
1089			compatible = "renesas,vin-r8a774c0";
1090			reg = <0 0xe6ef5000 0 0x1000>;
1091			interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
1092			clocks = <&cpg CPG_MOD 806>;
1093			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1094			resets = <&cpg 806>;
1095			renesas,id = <5>;
1096			status = "disabled";
1097
1098			ports {
1099				#address-cells = <1>;
1100				#size-cells = <0>;
1101
1102				port@1 {
1103					#address-cells = <1>;
1104					#size-cells = <0>;
1105
1106					reg = <1>;
1107
1108					vin5csi40: endpoint@2 {
1109						reg = <2>;
1110						remote-endpoint= <&csi40vin5>;
1111					};
1112				};
1113			};
1114		};
1115
1116		rcar_sound: sound@ec500000 {
1117			/*
1118			 * #sound-dai-cells is required
1119			 *
1120			 * Single DAI : #sound-dai-cells = <0>;	<&rcar_sound>;
1121			 * Multi  DAI : #sound-dai-cells = <1>;	<&rcar_sound N>;
1122			 */
1123			/*
1124			 * #clock-cells is required for audio_clkout0/1/2/3
1125			 *
1126			 * clkout	: #clock-cells = <0>;	<&rcar_sound>;
1127			 * clkout0/1/2/3: #clock-cells = <1>;	<&rcar_sound N>;
1128			 */
1129			compatible = "renesas,rcar_sound-r8a774c0",
1130				     "renesas,rcar_sound-gen3";
1131			reg =	<0 0xec500000 0 0x1000>, /* SCU */
1132				<0 0xec5a0000 0 0x100>,  /* ADG */
1133				<0 0xec540000 0 0x1000>, /* SSIU */
1134				<0 0xec541000 0 0x280>,  /* SSI */
1135				<0 0xec760000 0 0x200>;  /* Audio DMAC peri peri*/
1136			reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
1137
1138			clocks = <&cpg CPG_MOD 1005>,
1139				 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
1140				 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
1141				 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
1142				 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
1143				 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
1144				 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
1145				 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
1146				 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
1147				 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
1148				 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
1149				 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
1150				 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
1151				 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
1152				 <&audio_clk_a>, <&audio_clk_b>,
1153				 <&audio_clk_c>,
1154				 <&cpg CPG_CORE R8A774C0_CLK_ZA2>;
1155			clock-names = "ssi-all",
1156				      "ssi.9", "ssi.8", "ssi.7", "ssi.6",
1157				      "ssi.5", "ssi.4", "ssi.3", "ssi.2",
1158				      "ssi.1", "ssi.0",
1159				      "src.9", "src.8", "src.7", "src.6",
1160				      "src.5", "src.4", "src.3", "src.2",
1161				      "src.1", "src.0",
1162				      "mix.1", "mix.0",
1163				      "ctu.1", "ctu.0",
1164				      "dvc.0", "dvc.1",
1165				      "clk_a", "clk_b", "clk_c", "clk_i";
1166			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1167			resets = <&cpg 1005>,
1168				 <&cpg 1006>, <&cpg 1007>,
1169				 <&cpg 1008>, <&cpg 1009>,
1170				 <&cpg 1010>, <&cpg 1011>,
1171				 <&cpg 1012>, <&cpg 1013>,
1172				 <&cpg 1014>, <&cpg 1015>;
1173			reset-names = "ssi-all",
1174				      "ssi.9", "ssi.8", "ssi.7", "ssi.6",
1175				      "ssi.5", "ssi.4", "ssi.3", "ssi.2",
1176				      "ssi.1", "ssi.0";
1177			status = "disabled";
1178
1179			rcar_sound,dvc {
1180				dvc0: dvc-0 {
1181					dmas = <&audma0 0xbc>;
1182					dma-names = "tx";
1183				};
1184				dvc1: dvc-1 {
1185					dmas = <&audma0 0xbe>;
1186					dma-names = "tx";
1187				};
1188			};
1189
1190			rcar_sound,mix {
1191				mix0: mix-0 { };
1192				mix1: mix-1 { };
1193			};
1194
1195			rcar_sound,ctu {
1196				ctu00: ctu-0 { };
1197				ctu01: ctu-1 { };
1198				ctu02: ctu-2 { };
1199				ctu03: ctu-3 { };
1200				ctu10: ctu-4 { };
1201				ctu11: ctu-5 { };
1202				ctu12: ctu-6 { };
1203				ctu13: ctu-7 { };
1204			};
1205
1206			rcar_sound,src {
1207				src0: src-0 {
1208					interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
1209					dmas = <&audma0 0x85>, <&audma0 0x9a>;
1210					dma-names = "rx", "tx";
1211				};
1212				src1: src-1 {
1213					interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1214					dmas = <&audma0 0x87>, <&audma0 0x9c>;
1215					dma-names = "rx", "tx";
1216				};
1217				src2: src-2 {
1218					interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1219					dmas = <&audma0 0x89>, <&audma0 0x9e>;
1220					dma-names = "rx", "tx";
1221				};
1222				src3: src-3 {
1223					interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1224					dmas = <&audma0 0x8b>, <&audma0 0xa0>;
1225					dma-names = "rx", "tx";
1226				};
1227				src4: src-4 {
1228					interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1229					dmas = <&audma0 0x8d>, <&audma0 0xb0>;
1230					dma-names = "rx", "tx";
1231				};
1232				src5: src-5 {
1233					interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1234					dmas = <&audma0 0x8f>, <&audma0 0xb2>;
1235					dma-names = "rx", "tx";
1236				};
1237				src6: src-6 {
1238					interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1239					dmas = <&audma0 0x91>, <&audma0 0xb4>;
1240					dma-names = "rx", "tx";
1241				};
1242				src7: src-7 {
1243					interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1244					dmas = <&audma0 0x93>, <&audma0 0xb6>;
1245					dma-names = "rx", "tx";
1246				};
1247				src8: src-8 {
1248					interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1249					dmas = <&audma0 0x95>, <&audma0 0xb8>;
1250					dma-names = "rx", "tx";
1251				};
1252				src9: src-9 {
1253					interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
1254					dmas = <&audma0 0x97>, <&audma0 0xba>;
1255					dma-names = "rx", "tx";
1256				};
1257			};
1258
1259			rcar_sound,ssi {
1260				ssi0: ssi-0 {
1261					interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
1262					dmas = <&audma0 0x01>, <&audma0 0x02>,
1263					       <&audma0 0x15>, <&audma0 0x16>;
1264					dma-names = "rx", "tx", "rxu", "txu";
1265				};
1266				ssi1: ssi-1 {
1267					interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
1268					dmas = <&audma0 0x03>, <&audma0 0x04>,
1269					       <&audma0 0x49>, <&audma0 0x4a>;
1270					dma-names = "rx", "tx", "rxu", "txu";
1271				};
1272				ssi2: ssi-2 {
1273					interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>;
1274					dmas = <&audma0 0x05>, <&audma0 0x06>,
1275					       <&audma0 0x63>, <&audma0 0x64>;
1276					dma-names = "rx", "tx", "rxu", "txu";
1277				};
1278				ssi3: ssi-3 {
1279					interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
1280					dmas = <&audma0 0x07>, <&audma0 0x08>,
1281					       <&audma0 0x6f>, <&audma0 0x70>;
1282					dma-names = "rx", "tx", "rxu", "txu";
1283				};
1284				ssi4: ssi-4 {
1285					interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
1286					dmas = <&audma0 0x09>, <&audma0 0x0a>,
1287					       <&audma0 0x71>, <&audma0 0x72>;
1288					dma-names = "rx", "tx", "rxu", "txu";
1289				};
1290				ssi5: ssi-5 {
1291					interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
1292					dmas = <&audma0 0x0b>, <&audma0 0x0c>,
1293					       <&audma0 0x73>, <&audma0 0x74>;
1294					dma-names = "rx", "tx", "rxu", "txu";
1295				};
1296				ssi6: ssi-6 {
1297					interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>;
1298					dmas = <&audma0 0x0d>, <&audma0 0x0e>,
1299					       <&audma0 0x75>, <&audma0 0x76>;
1300					dma-names = "rx", "tx", "rxu", "txu";
1301				};
1302				ssi7: ssi-7 {
1303					interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>;
1304					dmas = <&audma0 0x0f>, <&audma0 0x10>,
1305					       <&audma0 0x79>, <&audma0 0x7a>;
1306					dma-names = "rx", "tx", "rxu", "txu";
1307				};
1308				ssi8: ssi-8 {
1309					interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>;
1310					dmas = <&audma0 0x11>, <&audma0 0x12>,
1311					       <&audma0 0x7b>, <&audma0 0x7c>;
1312					dma-names = "rx", "tx", "rxu", "txu";
1313				};
1314				ssi9: ssi-9 {
1315					interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
1316					dmas = <&audma0 0x13>, <&audma0 0x14>,
1317					       <&audma0 0x7d>, <&audma0 0x7e>;
1318					dma-names = "rx", "tx", "rxu", "txu";
1319				};
1320			};
1321		};
1322
1323		audma0: dma-controller@ec700000 {
1324			compatible = "renesas,dmac-r8a774c0",
1325				     "renesas,rcar-dmac";
1326			reg = <0 0xec700000 0 0x10000>;
1327			interrupts = <GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH
1328				      GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH
1329				      GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH
1330				      GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH
1331				      GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH
1332				      GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH
1333				      GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH
1334				      GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH
1335				      GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH
1336				      GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH
1337				      GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH
1338				      GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH
1339				      GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH
1340				      GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH
1341				      GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH
1342				      GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH
1343				      GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>;
1344			interrupt-names = "error",
1345					"ch0", "ch1", "ch2", "ch3",
1346					"ch4", "ch5", "ch6", "ch7",
1347					"ch8", "ch9", "ch10", "ch11",
1348					"ch12", "ch13", "ch14", "ch15";
1349			clocks = <&cpg CPG_MOD 502>;
1350			clock-names = "fck";
1351			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1352			resets = <&cpg 502>;
1353			#dma-cells = <1>;
1354			dma-channels = <16>;
1355			iommus = <&ipmmu_mp 0>, <&ipmmu_mp 1>,
1356				 <&ipmmu_mp 2>, <&ipmmu_mp 3>,
1357				 <&ipmmu_mp 4>, <&ipmmu_mp 5>,
1358				 <&ipmmu_mp 6>, <&ipmmu_mp 7>,
1359				 <&ipmmu_mp 8>, <&ipmmu_mp 9>,
1360				 <&ipmmu_mp 10>, <&ipmmu_mp 11>,
1361				 <&ipmmu_mp 12>, <&ipmmu_mp 13>,
1362				 <&ipmmu_mp 14>, <&ipmmu_mp 15>;
1363		};
1364
1365		xhci0: usb@ee000000 {
1366			compatible = "renesas,xhci-r8a774c0",
1367				     "renesas,rcar-gen3-xhci";
1368			reg = <0 0xee000000 0 0xc00>;
1369			interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
1370			clocks = <&cpg CPG_MOD 328>;
1371			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1372			resets = <&cpg 328>;
1373			status = "disabled";
1374		};
1375
1376		usb3_peri0: usb@ee020000 {
1377			compatible = "renesas,r8a774c0-usb3-peri",
1378				     "renesas,rcar-gen3-usb3-peri";
1379			reg = <0 0xee020000 0 0x400>;
1380			interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
1381			clocks = <&cpg CPG_MOD 328>;
1382			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1383			resets = <&cpg 328>;
1384			status = "disabled";
1385		};
1386
1387		ohci0: usb@ee080000 {
1388			compatible = "generic-ohci";
1389			reg = <0 0xee080000 0 0x100>;
1390			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1391			clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
1392			phys = <&usb2_phy0>;
1393			phy-names = "usb";
1394			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1395			resets = <&cpg 703>, <&cpg 704>;
1396			status = "disabled";
1397		};
1398
1399		ehci0: usb@ee080100 {
1400			compatible = "generic-ehci";
1401			reg = <0 0xee080100 0 0x100>;
1402			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1403			clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
1404			phys = <&usb2_phy0>;
1405			phy-names = "usb";
1406			companion = <&ohci0>;
1407			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1408			resets = <&cpg 703>, <&cpg 704>;
1409			status = "disabled";
1410		};
1411
1412		usb2_phy0: usb-phy@ee080200 {
1413			compatible = "renesas,usb2-phy-r8a774c0",
1414				     "renesas,rcar-gen3-usb2-phy";
1415			reg = <0 0xee080200 0 0x700>;
1416			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1417			clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
1418			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1419			resets = <&cpg 703>, <&cpg 704>;
1420			#phy-cells = <0>;
1421			status = "disabled";
1422		};
1423
1424		sdhi0: sd@ee100000 {
1425			compatible = "renesas,sdhi-r8a774c0",
1426				     "renesas,rcar-gen3-sdhi";
1427			reg = <0 0xee100000 0 0x2000>;
1428			interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
1429			clocks = <&cpg CPG_MOD 314>;
1430			max-frequency = <200000000>;
1431			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1432			resets = <&cpg 314>;
1433			status = "disabled";
1434		};
1435
1436		sdhi1: sd@ee120000 {
1437			compatible = "renesas,sdhi-r8a774c0",
1438				     "renesas,rcar-gen3-sdhi";
1439			reg = <0 0xee120000 0 0x2000>;
1440			interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
1441			clocks = <&cpg CPG_MOD 313>;
1442			max-frequency = <200000000>;
1443			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1444			resets = <&cpg 313>;
1445			status = "disabled";
1446		};
1447
1448		sdhi3: sd@ee160000 {
1449			compatible = "renesas,sdhi-r8a774c0",
1450				     "renesas,rcar-gen3-sdhi";
1451			reg = <0 0xee160000 0 0x2000>;
1452			interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
1453			clocks = <&cpg CPG_MOD 311>;
1454			max-frequency = <200000000>;
1455			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1456			resets = <&cpg 311>;
1457			status = "disabled";
1458		};
1459
1460		gic: interrupt-controller@f1010000 {
1461			compatible = "arm,gic-400";
1462			#interrupt-cells = <3>;
1463			#address-cells = <0>;
1464			interrupt-controller;
1465			reg = <0x0 0xf1010000 0 0x1000>,
1466			      <0x0 0xf1020000 0 0x20000>,
1467			      <0x0 0xf1040000 0 0x20000>,
1468			      <0x0 0xf1060000 0 0x20000>;
1469			interrupts = <GIC_PPI 9
1470					(GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
1471			clocks = <&cpg CPG_MOD 408>;
1472			clock-names = "clk";
1473			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1474			resets = <&cpg 408>;
1475		};
1476
1477		pciec0: pcie@fe000000 {
1478			compatible = "renesas,pcie-r8a774c0",
1479				     "renesas,pcie-rcar-gen3";
1480			reg = <0 0xfe000000 0 0x80000>;
1481			#address-cells = <3>;
1482			#size-cells = <2>;
1483			bus-range = <0x00 0xff>;
1484			device_type = "pci";
1485			ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000
1486				  0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000
1487				  0x02000000 0 0x30000000 0 0x30000000 0 0x08000000
1488				  0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
1489			/* Map all possible DDR as inbound ranges */
1490			dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x40000000>;
1491			interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
1492				     <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
1493				     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
1494			#interrupt-cells = <1>;
1495			interrupt-map-mask = <0 0 0 0>;
1496			interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
1497			clocks = <&cpg CPG_MOD 319>, <&pcie_bus_clk>;
1498			clock-names = "pcie", "pcie_bus";
1499			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1500			resets = <&cpg 319>;
1501			status = "disabled";
1502		};
1503
1504		vspb0: vsp@fe960000 {
1505			compatible = "renesas,vsp2";
1506			reg = <0 0xfe960000 0 0x8000>;
1507			interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
1508			clocks = <&cpg CPG_MOD 626>;
1509			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1510			resets = <&cpg 626>;
1511			renesas,fcp = <&fcpvb0>;
1512		};
1513
1514		fcpvb0: fcp@fe96f000 {
1515			compatible = "renesas,fcpv";
1516			reg = <0 0xfe96f000 0 0x200>;
1517			clocks = <&cpg CPG_MOD 607>;
1518			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1519			resets = <&cpg 607>;
1520			iommus = <&ipmmu_vp0 5>;
1521		};
1522
1523		vspi0: vsp@fe9a0000 {
1524			compatible = "renesas,vsp2";
1525			reg = <0 0xfe9a0000 0 0x8000>;
1526			interrupts = <GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>;
1527			clocks = <&cpg CPG_MOD 631>;
1528			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1529			resets = <&cpg 631>;
1530			renesas,fcp = <&fcpvi0>;
1531		};
1532
1533		fcpvi0: fcp@fe9af000 {
1534			compatible = "renesas,fcpv";
1535			reg = <0 0xfe9af000 0 0x200>;
1536			clocks = <&cpg CPG_MOD 611>;
1537			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1538			resets = <&cpg 611>;
1539			iommus = <&ipmmu_vp0 8>;
1540		};
1541
1542		vspd0: vsp@fea20000 {
1543			compatible = "renesas,vsp2";
1544			reg = <0 0xfea20000 0 0x7000>;
1545			interrupts = <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>;
1546			clocks = <&cpg CPG_MOD 623>;
1547			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1548			resets = <&cpg 623>;
1549			renesas,fcp = <&fcpvd0>;
1550		};
1551
1552		fcpvd0: fcp@fea27000 {
1553			compatible = "renesas,fcpv";
1554			reg = <0 0xfea27000 0 0x200>;
1555			clocks = <&cpg CPG_MOD 603>;
1556			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1557			resets = <&cpg 603>;
1558			iommus = <&ipmmu_vi0 8>;
1559		};
1560
1561		vspd1: vsp@fea28000 {
1562			compatible = "renesas,vsp2";
1563			reg = <0 0xfea28000 0 0x7000>;
1564			interrupts = <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>;
1565			clocks = <&cpg CPG_MOD 622>;
1566			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1567			resets = <&cpg 622>;
1568			renesas,fcp = <&fcpvd1>;
1569		};
1570
1571		fcpvd1: fcp@fea2f000 {
1572			compatible = "renesas,fcpv";
1573			reg = <0 0xfea2f000 0 0x200>;
1574			clocks = <&cpg CPG_MOD 602>;
1575			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1576			resets = <&cpg 602>;
1577			iommus = <&ipmmu_vi0 9>;
1578		};
1579
1580		csi40: csi2@feaa0000 {
1581			compatible = "renesas,r8a774c0-csi2",
1582				     "renesas,rcar-gen3-csi2";
1583			reg = <0 0xfeaa0000 0 0x10000>;
1584			interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
1585			clocks = <&cpg CPG_MOD 716>;
1586			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1587			resets = <&cpg 716>;
1588			status = "disabled";
1589
1590			ports {
1591				#address-cells = <1>;
1592				#size-cells = <0>;
1593
1594				port@1 {
1595					#address-cells = <1>;
1596					#size-cells = <0>;
1597
1598					reg = <1>;
1599
1600					csi40vin4: endpoint@0 {
1601						reg = <0>;
1602						remote-endpoint = <&vin4csi40>;
1603					};
1604					csi40vin5: endpoint@1 {
1605						reg = <1>;
1606						remote-endpoint = <&vin5csi40>;
1607					};
1608				};
1609			};
1610		};
1611
1612		du: display@feb00000 {
1613			compatible = "renesas,du-r8a774c0";
1614			reg = <0 0xfeb00000 0 0x80000>;
1615			interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
1616				     <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
1617			clocks = <&cpg CPG_MOD 724>,
1618				 <&cpg CPG_MOD 723>;
1619			clock-names = "du.0", "du.1";
1620			vsps = <&vspd0 0 &vspd1 0>;
1621			status = "disabled";
1622
1623			ports {
1624				#address-cells = <1>;
1625				#size-cells = <0>;
1626
1627				port@0 {
1628					reg = <0>;
1629					du_out_rgb: endpoint {
1630					};
1631				};
1632
1633				port@1 {
1634					reg = <1>;
1635					du_out_lvds0: endpoint {
1636						remote-endpoint = <&lvds0_in>;
1637					};
1638				};
1639
1640				port@2 {
1641					reg = <2>;
1642					du_out_lvds1: endpoint {
1643						remote-endpoint = <&lvds1_in>;
1644					};
1645				};
1646			};
1647		};
1648
1649		lvds0: lvds-encoder@feb90000 {
1650			compatible = "renesas,r8a774c0-lvds";
1651			reg = <0 0xfeb90000 0 0x20>;
1652			clocks = <&cpg CPG_MOD 727>;
1653			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1654			resets = <&cpg 727>;
1655			status = "disabled";
1656
1657			ports {
1658				#address-cells = <1>;
1659				#size-cells = <0>;
1660
1661				port@0 {
1662					reg = <0>;
1663					lvds0_in: endpoint {
1664						remote-endpoint = <&du_out_lvds0>;
1665					};
1666				};
1667
1668				port@1 {
1669					reg = <1>;
1670					lvds0_out: endpoint {
1671					};
1672				};
1673			};
1674		};
1675
1676		lvds1: lvds-encoder@feb90100 {
1677			compatible = "renesas,r8a774c0-lvds";
1678			reg = <0 0xfeb90100 0 0x20>;
1679			clocks = <&cpg CPG_MOD 727>;
1680			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
1681			resets = <&cpg 726>;
1682			status = "disabled";
1683
1684			ports {
1685				#address-cells = <1>;
1686				#size-cells = <0>;
1687
1688				port@0 {
1689					reg = <0>;
1690					lvds1_in: endpoint {
1691						remote-endpoint = <&du_out_lvds1>;
1692					};
1693				};
1694
1695				port@1 {
1696					reg = <1>;
1697					lvds1_out: endpoint {
1698					};
1699				};
1700			};
1701		};
1702
1703		prr: chipid@fff00044 {
1704			compatible = "renesas,prr";
1705			reg = <0 0xfff00044 0 4>;
1706		};
1707	};
1708
1709	thermal-zones {
1710		cpu-thermal {
1711			polling-delay-passive = <250>;
1712			polling-delay = <1000>;
1713			thermal-sensors = <&thermal>;
1714
1715			trips {
1716				cpu-crit {
1717					temperature = <120000>;
1718					hysteresis = <2000>;
1719					type = "critical";
1720				};
1721			};
1722
1723			cooling-maps {
1724			};
1725		};
1726	};
1727
1728	timer {
1729		compatible = "arm,armv8-timer";
1730		interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1731				      <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1732				      <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1733				      <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
1734	};
1735
1736	/* External USB clocks - can be overridden by the board */
1737	usb3s0_clk: usb3s0 {
1738		compatible = "fixed-clock";
1739		#clock-cells = <0>;
1740		clock-frequency = <0>;
1741	};
1742
1743	usb_extal_clk: usb_extal {
1744		compatible = "fixed-clock";
1745		#clock-cells = <0>;
1746		clock-frequency = <0>;
1747	};
1748};
1749