xref: /linux/arch/arm64/boot/dts/renesas/r8a77970.dtsi (revision 747bbcd3aacd95fe200cdda415dba02e872946b5)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for the R-Car V3M (R8A77970) SoC
4 *
5 * Copyright (C) 2016-2017 Renesas Electronics Corp.
6 * Copyright (C) 2017 Cogent Embedded, Inc.
7 */
8
9#include <dt-bindings/clock/r8a77970-cpg-mssr.h>
10#include <dt-bindings/interrupt-controller/arm-gic.h>
11#include <dt-bindings/interrupt-controller/irq.h>
12#include <dt-bindings/power/r8a77970-sysc.h>
13
14/ {
15	compatible = "renesas,r8a77970";
16	#address-cells = <2>;
17	#size-cells = <2>;
18
19	aliases {
20		i2c0 = &i2c0;
21		i2c1 = &i2c1;
22		i2c2 = &i2c2;
23		i2c3 = &i2c3;
24		i2c4 = &i2c4;
25	};
26
27	/* External CAN clock - to be overridden by boards that provide it */
28	can_clk: can {
29		compatible = "fixed-clock";
30		#clock-cells = <0>;
31		clock-frequency = <0>;
32	};
33
34	cpus {
35		#address-cells = <1>;
36		#size-cells = <0>;
37
38		a53_0: cpu@0 {
39			device_type = "cpu";
40			compatible = "arm,cortex-a53";
41			reg = <0>;
42			clocks = <&cpg CPG_CORE R8A77970_CLK_Z2>;
43			power-domains = <&sysc R8A77970_PD_CA53_CPU0>;
44			next-level-cache = <&L2_CA53>;
45			enable-method = "psci";
46		};
47
48		a53_1: cpu@1 {
49			device_type = "cpu";
50			compatible = "arm,cortex-a53";
51			reg = <1>;
52			clocks = <&cpg CPG_CORE R8A77970_CLK_Z2>;
53			power-domains = <&sysc R8A77970_PD_CA53_CPU1>;
54			next-level-cache = <&L2_CA53>;
55			enable-method = "psci";
56		};
57
58		L2_CA53: cache-controller {
59			compatible = "cache";
60			power-domains = <&sysc R8A77970_PD_CA53_SCU>;
61			cache-unified;
62			cache-level = <2>;
63		};
64	};
65
66	extal_clk: extal {
67		compatible = "fixed-clock";
68		#clock-cells = <0>;
69		/* This value must be overridden by the board */
70		clock-frequency = <0>;
71	};
72
73	extalr_clk: extalr {
74		compatible = "fixed-clock";
75		#clock-cells = <0>;
76		/* This value must be overridden by the board */
77		clock-frequency = <0>;
78	};
79
80	pmu_a53 {
81		compatible = "arm,cortex-a53-pmu";
82		interrupts-extended = <&gic GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
83				      <&gic GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
84		interrupt-affinity = <&a53_0>, <&a53_1>;
85	};
86
87	psci {
88		compatible = "arm,psci-1.0", "arm,psci-0.2";
89		method = "smc";
90	};
91
92	/* External SCIF clock - to be overridden by boards that provide it */
93	scif_clk: scif {
94		compatible = "fixed-clock";
95		#clock-cells = <0>;
96		clock-frequency = <0>;
97	};
98
99	soc {
100		compatible = "simple-bus";
101		interrupt-parent = <&gic>;
102
103		#address-cells = <2>;
104		#size-cells = <2>;
105		ranges;
106
107		rwdt: watchdog@e6020000 {
108			compatible = "renesas,r8a77970-wdt",
109				     "renesas,rcar-gen3-wdt";
110			reg = <0 0xe6020000 0 0x0c>;
111			interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
112			clocks = <&cpg CPG_MOD 402>;
113			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
114			resets = <&cpg 402>;
115			status = "disabled";
116		};
117
118		gpio0: gpio@e6050000 {
119			compatible = "renesas,gpio-r8a77970",
120				     "renesas,rcar-gen3-gpio";
121			reg = <0 0xe6050000 0 0x50>;
122			interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
123			#gpio-cells = <2>;
124			gpio-controller;
125			gpio-ranges = <&pfc 0 0 22>;
126			#interrupt-cells = <2>;
127			interrupt-controller;
128			clocks = <&cpg CPG_MOD 912>;
129			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
130			resets = <&cpg 912>;
131		};
132
133		gpio1: gpio@e6051000 {
134			compatible = "renesas,gpio-r8a77970",
135				     "renesas,rcar-gen3-gpio";
136			reg = <0 0xe6051000 0 0x50>;
137			interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
138			#gpio-cells = <2>;
139			gpio-controller;
140			gpio-ranges = <&pfc 0 32 28>;
141			#interrupt-cells = <2>;
142			interrupt-controller;
143			clocks = <&cpg CPG_MOD 911>;
144			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
145			resets = <&cpg 911>;
146		};
147
148		gpio2: gpio@e6052000 {
149			compatible = "renesas,gpio-r8a77970",
150				     "renesas,rcar-gen3-gpio";
151			reg = <0 0xe6052000 0 0x50>;
152			interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
153			#gpio-cells = <2>;
154			gpio-controller;
155			gpio-ranges = <&pfc 0 64 17>;
156			#interrupt-cells = <2>;
157			interrupt-controller;
158			clocks = <&cpg CPG_MOD 910>;
159			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
160			resets = <&cpg 910>;
161		};
162
163		gpio3: gpio@e6053000 {
164			compatible = "renesas,gpio-r8a77970",
165				     "renesas,rcar-gen3-gpio";
166			reg = <0 0xe6053000 0 0x50>;
167			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
168			#gpio-cells = <2>;
169			gpio-controller;
170			gpio-ranges = <&pfc 0 96 17>;
171			#interrupt-cells = <2>;
172			interrupt-controller;
173			clocks = <&cpg CPG_MOD 909>;
174			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
175			resets = <&cpg 909>;
176		};
177
178		gpio4: gpio@e6054000 {
179			compatible = "renesas,gpio-r8a77970",
180				     "renesas,rcar-gen3-gpio";
181			reg = <0 0xe6054000 0 0x50>;
182			interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
183			#gpio-cells = <2>;
184			gpio-controller;
185			gpio-ranges = <&pfc 0 128 6>;
186			#interrupt-cells = <2>;
187			interrupt-controller;
188			clocks = <&cpg CPG_MOD 908>;
189			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
190			resets = <&cpg 908>;
191		};
192
193		gpio5: gpio@e6055000 {
194			compatible = "renesas,gpio-r8a77970",
195				     "renesas,rcar-gen3-gpio";
196			reg = <0 0xe6055000 0 0x50>;
197			interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
198			#gpio-cells = <2>;
199			gpio-controller;
200			gpio-ranges = <&pfc 0 160 15>;
201			#interrupt-cells = <2>;
202			interrupt-controller;
203			clocks = <&cpg CPG_MOD 907>;
204			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
205			resets = <&cpg 907>;
206		};
207
208		pfc: pinctrl@e6060000 {
209			compatible = "renesas,pfc-r8a77970";
210			reg = <0 0xe6060000 0 0x504>;
211		};
212
213		cmt0: timer@e60f0000 {
214			compatible = "renesas,r8a77970-cmt0",
215				     "renesas,rcar-gen3-cmt0";
216			reg = <0 0xe60f0000 0 0x1004>;
217			interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
218				     <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
219			clocks = <&cpg CPG_MOD 303>;
220			clock-names = "fck";
221			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
222			resets = <&cpg 303>;
223			status = "disabled";
224		};
225
226		cmt1: timer@e6130000 {
227			compatible = "renesas,r8a77970-cmt1",
228				     "renesas,rcar-gen3-cmt1";
229			reg = <0 0xe6130000 0 0x1004>;
230			interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
231				     <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
232				     <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
233				     <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
234				     <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
235				     <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
236				     <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
237				     <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
238			clocks = <&cpg CPG_MOD 302>;
239			clock-names = "fck";
240			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
241			resets = <&cpg 302>;
242			status = "disabled";
243		};
244
245		cmt2: timer@e6140000 {
246			compatible = "renesas,r8a77970-cmt1",
247				     "renesas,rcar-gen3-cmt1";
248			reg = <0 0xe6140000 0 0x1004>;
249			interrupts = <GIC_SPI 258 IRQ_TYPE_LEVEL_HIGH>,
250				     <GIC_SPI 259 IRQ_TYPE_LEVEL_HIGH>,
251				     <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>,
252				     <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>,
253				     <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>,
254				     <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>,
255				     <GIC_SPI 264 IRQ_TYPE_LEVEL_HIGH>,
256				     <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
257			clocks = <&cpg CPG_MOD 301>;
258			clock-names = "fck";
259			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
260			resets = <&cpg 301>;
261			status = "disabled";
262		};
263
264		cmt3: timer@e6148000 {
265			compatible = "renesas,r8a77970-cmt1",
266				     "renesas,rcar-gen3-cmt1";
267			reg = <0 0xe6148000 0 0x1004>;
268			interrupts = <GIC_SPI 273 IRQ_TYPE_LEVEL_HIGH>,
269				     <GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH>,
270				     <GIC_SPI 275 IRQ_TYPE_LEVEL_HIGH>,
271				     <GIC_SPI 276 IRQ_TYPE_LEVEL_HIGH>,
272				     <GIC_SPI 277 IRQ_TYPE_LEVEL_HIGH>,
273				     <GIC_SPI 278 IRQ_TYPE_LEVEL_HIGH>,
274				     <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
275				     <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>;
276			clocks = <&cpg CPG_MOD 300>;
277			clock-names = "fck";
278			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
279			resets = <&cpg 300>;
280			status = "disabled";
281		};
282
283		cpg: clock-controller@e6150000 {
284			compatible = "renesas,r8a77970-cpg-mssr";
285			reg = <0 0xe6150000 0 0x1000>;
286			clocks = <&extal_clk>, <&extalr_clk>;
287			clock-names = "extal", "extalr";
288			#clock-cells = <2>;
289			#power-domain-cells = <0>;
290			#reset-cells = <1>;
291		};
292
293		rst: reset-controller@e6160000 {
294			compatible = "renesas,r8a77970-rst";
295			reg = <0 0xe6160000 0 0x200>;
296		};
297
298		sysc: system-controller@e6180000 {
299			compatible = "renesas,r8a77970-sysc";
300			reg = <0 0xe6180000 0 0x440>;
301			#power-domain-cells = <1>;
302		};
303
304		thermal: thermal@e6190000 {
305			compatible = "renesas,thermal-r8a77970";
306			reg = <0 0xe6190000 0 0x10>,
307			      <0 0xe6190100 0 0x120>;
308			interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
309				     <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
310				     <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
311			clocks = <&cpg CPG_MOD 522>;
312			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
313			resets = <&cpg 522>;
314			#thermal-sensor-cells = <0>;
315		};
316
317		intc_ex: interrupt-controller@e61c0000 {
318			compatible = "renesas,intc-ex-r8a77970", "renesas,irqc";
319			#interrupt-cells = <2>;
320			interrupt-controller;
321			reg = <0 0xe61c0000 0 0x200>;
322			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
323				     <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
324				     <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
325				     <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
326				     <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
327				     <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
328			clocks = <&cpg CPG_MOD 407>;
329			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
330			resets = <&cpg 407>;
331		};
332
333		tmu0: timer@e61e0000 {
334			compatible = "renesas,tmu-r8a77970", "renesas,tmu";
335			reg = <0 0xe61e0000 0 0x30>;
336			interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
337				     <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
338				     <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
339			clocks = <&cpg CPG_MOD 125>;
340			clock-names = "fck";
341			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
342			resets = <&cpg 125>;
343			status = "disabled";
344		};
345
346		tmu1: timer@e6fc0000 {
347			compatible = "renesas,tmu-r8a77970", "renesas,tmu";
348			reg = <0 0xe6fc0000 0 0x30>;
349			interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
350				     <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
351				     <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
352			clocks = <&cpg CPG_MOD 124>;
353			clock-names = "fck";
354			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
355			resets = <&cpg 124>;
356			status = "disabled";
357		};
358
359		tmu2: timer@e6fd0000 {
360			compatible = "renesas,tmu-r8a77970", "renesas,tmu";
361			reg = <0 0xe6fd0000 0 0x30>;
362			interrupts = <GIC_SPI 303 IRQ_TYPE_LEVEL_HIGH>,
363				     <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
364				     <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
365			clocks = <&cpg CPG_MOD 123>;
366			clock-names = "fck";
367			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
368			resets = <&cpg 123>;
369			status = "disabled";
370		};
371
372		tmu3: timer@e6fe0000 {
373			compatible = "renesas,tmu-r8a77970", "renesas,tmu";
374			reg = <0 0xe6fe0000 0 0x30>;
375			interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
376				     <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>,
377				     <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
378			clocks = <&cpg CPG_MOD 122>;
379			clock-names = "fck";
380			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
381			resets = <&cpg 122>;
382			status = "disabled";
383		};
384
385		tmu4: timer@ffc00000 {
386			compatible = "renesas,tmu-r8a77970", "renesas,tmu";
387			reg = <0 0xffc00000 0 0x30>;
388			interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
389				     <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
390				     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
391			clocks = <&cpg CPG_MOD 121>;
392			clock-names = "fck";
393			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
394			resets = <&cpg 121>;
395			status = "disabled";
396		};
397
398		i2c0: i2c@e6500000 {
399			compatible = "renesas,i2c-r8a77970",
400				     "renesas,rcar-gen3-i2c";
401			reg = <0 0xe6500000 0 0x40>;
402			interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
403			clocks = <&cpg CPG_MOD 931>;
404			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
405			resets = <&cpg 931>;
406			dmas = <&dmac1 0x91>, <&dmac1 0x90>,
407			       <&dmac2 0x91>, <&dmac2 0x90>;
408			dma-names = "tx", "rx", "tx", "rx";
409			i2c-scl-internal-delay-ns = <6>;
410			#address-cells = <1>;
411			#size-cells = <0>;
412			status = "disabled";
413		};
414
415		i2c1: i2c@e6508000 {
416			compatible = "renesas,i2c-r8a77970",
417				     "renesas,rcar-gen3-i2c";
418			reg = <0 0xe6508000 0 0x40>;
419			interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
420			clocks = <&cpg CPG_MOD 930>;
421			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
422			resets = <&cpg 930>;
423			dmas = <&dmac1 0x93>, <&dmac1 0x92>,
424			       <&dmac2 0x93>, <&dmac2 0x92>;
425			dma-names = "tx", "rx", "tx", "rx";
426			i2c-scl-internal-delay-ns = <6>;
427			#address-cells = <1>;
428			#size-cells = <0>;
429			status = "disabled";
430		};
431
432		i2c2: i2c@e6510000 {
433			compatible = "renesas,i2c-r8a77970",
434				     "renesas,rcar-gen3-i2c";
435			reg = <0 0xe6510000 0 0x40>;
436			interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
437			clocks = <&cpg CPG_MOD 929>;
438			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
439			resets = <&cpg 929>;
440			dmas = <&dmac1 0x95>, <&dmac1 0x94>,
441			       <&dmac2 0x95>, <&dmac2 0x94>;
442			dma-names = "tx", "rx", "tx", "rx";
443			i2c-scl-internal-delay-ns = <6>;
444			#address-cells = <1>;
445			#size-cells = <0>;
446			status = "disabled";
447		};
448
449		i2c3: i2c@e66d0000 {
450			compatible = "renesas,i2c-r8a77970",
451				     "renesas,rcar-gen3-i2c";
452			reg = <0 0xe66d0000 0 0x40>;
453			interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
454			clocks = <&cpg CPG_MOD 928>;
455			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
456			resets = <&cpg 928>;
457			dmas = <&dmac1 0x97>, <&dmac1 0x96>,
458			       <&dmac2 0x97>, <&dmac2 0x96>;
459			dma-names = "tx", "rx", "tx", "rx";
460			i2c-scl-internal-delay-ns = <6>;
461			#address-cells = <1>;
462			#size-cells = <0>;
463			status = "disabled";
464		};
465
466		i2c4: i2c@e66d8000 {
467			compatible = "renesas,i2c-r8a77970",
468				     "renesas,rcar-gen3-i2c";
469			reg = <0 0xe66d8000 0 0x40>;
470			interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
471			clocks = <&cpg CPG_MOD 927>;
472			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
473			resets = <&cpg 927>;
474			dmas = <&dmac1 0x99>, <&dmac1 0x98>,
475			       <&dmac2 0x99>, <&dmac2 0x98>;
476			dma-names = "tx", "rx", "tx", "rx";
477			i2c-scl-internal-delay-ns = <6>;
478			#address-cells = <1>;
479			#size-cells = <0>;
480			status = "disabled";
481		};
482
483		hscif0: serial@e6540000 {
484			compatible = "renesas,hscif-r8a77970",
485				     "renesas,rcar-gen3-hscif",
486				     "renesas,hscif";
487			reg = <0 0xe6540000 0 96>;
488			interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
489			clocks = <&cpg CPG_MOD 520>,
490				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
491				 <&scif_clk>;
492			clock-names = "fck", "brg_int", "scif_clk";
493			dmas = <&dmac1 0x31>, <&dmac1 0x30>,
494			       <&dmac2 0x31>, <&dmac2 0x30>;
495			dma-names = "tx", "rx", "tx", "rx";
496			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
497			resets = <&cpg 520>;
498			status = "disabled";
499		};
500
501		hscif1: serial@e6550000 {
502			compatible = "renesas,hscif-r8a77970",
503				     "renesas,rcar-gen3-hscif",
504				     "renesas,hscif";
505			reg = <0 0xe6550000 0 96>;
506			interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
507			clocks = <&cpg CPG_MOD 519>,
508				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
509				 <&scif_clk>;
510			clock-names = "fck", "brg_int", "scif_clk";
511			dmas = <&dmac1 0x33>, <&dmac1 0x32>,
512			       <&dmac2 0x33>, <&dmac2 0x32>;
513			dma-names = "tx", "rx", "tx", "rx";
514			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
515			resets = <&cpg 519>;
516			status = "disabled";
517		};
518
519		hscif2: serial@e6560000 {
520			compatible = "renesas,hscif-r8a77970",
521				     "renesas,rcar-gen3-hscif",
522				     "renesas,hscif";
523			reg = <0 0xe6560000 0 96>;
524			interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
525			clocks = <&cpg CPG_MOD 518>,
526				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
527				 <&scif_clk>;
528			clock-names = "fck", "brg_int", "scif_clk";
529			dmas = <&dmac1 0x35>, <&dmac1 0x34>,
530			       <&dmac2 0x35>, <&dmac2 0x34>;
531			dma-names = "tx", "rx", "tx", "rx";
532			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
533			resets = <&cpg 518>;
534			status = "disabled";
535		};
536
537		hscif3: serial@e66a0000 {
538			compatible = "renesas,hscif-r8a77970",
539				     "renesas,rcar-gen3-hscif", "renesas,hscif";
540			reg = <0 0xe66a0000 0 96>;
541			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
542			clocks = <&cpg CPG_MOD 517>,
543				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
544				 <&scif_clk>;
545			clock-names = "fck", "brg_int", "scif_clk";
546			dmas = <&dmac1 0x37>, <&dmac1 0x36>,
547			       <&dmac2 0x37>, <&dmac2 0x36>;
548			dma-names = "tx", "rx", "tx", "rx";
549			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
550			resets = <&cpg 517>;
551			status = "disabled";
552		};
553
554		canfd: can@e66c0000 {
555			compatible = "renesas,r8a77970-canfd",
556				     "renesas,rcar-gen3-canfd";
557			reg = <0 0xe66c0000 0 0x8000>;
558			interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
559				     <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
560			clocks = <&cpg CPG_MOD 914>,
561				 <&cpg CPG_CORE R8A77970_CLK_CANFD>,
562				 <&can_clk>;
563			clock-names = "fck", "canfd", "can_clk";
564			assigned-clocks = <&cpg CPG_CORE R8A77970_CLK_CANFD>;
565			assigned-clock-rates = <40000000>;
566			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
567			resets = <&cpg 914>;
568			status = "disabled";
569
570			channel0 {
571				status = "disabled";
572			};
573
574			channel1 {
575				status = "disabled";
576			};
577		};
578
579		avb: ethernet@e6800000 {
580			compatible = "renesas,etheravb-r8a77970",
581				     "renesas,etheravb-rcar-gen3";
582			reg = <0 0xe6800000 0 0x800>;
583			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
584				     <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
585				     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
586				     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
587				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
588				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
589				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
590				     <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
591				     <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
592				     <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
593				     <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
594				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
595				     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
596				     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
597				     <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
598				     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
599				     <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
600				     <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
601				     <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
602				     <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
603				     <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
604				     <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
605				     <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
606				     <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
607				     <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
608			interrupt-names = "ch0", "ch1", "ch2", "ch3",
609					  "ch4", "ch5", "ch6", "ch7",
610					  "ch8", "ch9", "ch10", "ch11",
611					  "ch12", "ch13", "ch14", "ch15",
612					  "ch16", "ch17", "ch18", "ch19",
613					  "ch20", "ch21", "ch22", "ch23",
614					  "ch24";
615			clocks = <&cpg CPG_MOD 812>;
616			clock-names = "fck";
617			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
618			resets = <&cpg 812>;
619			phy-mode = "rgmii";
620			rx-internal-delay-ps = <0>;
621			tx-internal-delay-ps = <0>;
622			iommus = <&ipmmu_rt 3>;
623			#address-cells = <1>;
624			#size-cells = <0>;
625			status = "disabled";
626		};
627
628		pwm0: pwm@e6e30000 {
629			compatible = "renesas,pwm-r8a77970", "renesas,pwm-rcar";
630			reg = <0 0xe6e30000 0 8>;
631			#pwm-cells = <2>;
632			clocks = <&cpg CPG_MOD 523>;
633			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
634			resets = <&cpg 523>;
635			status = "disabled";
636		};
637
638		pwm1: pwm@e6e31000 {
639			compatible = "renesas,pwm-r8a77970", "renesas,pwm-rcar";
640			reg = <0 0xe6e31000 0 8>;
641			#pwm-cells = <2>;
642			clocks = <&cpg CPG_MOD 523>;
643			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
644			resets = <&cpg 523>;
645			status = "disabled";
646		};
647
648		pwm2: pwm@e6e32000 {
649			compatible = "renesas,pwm-r8a77970", "renesas,pwm-rcar";
650			reg = <0 0xe6e32000 0 8>;
651			#pwm-cells = <2>;
652			clocks = <&cpg CPG_MOD 523>;
653			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
654			resets = <&cpg 523>;
655			status = "disabled";
656		};
657
658		pwm3: pwm@e6e33000 {
659			compatible = "renesas,pwm-r8a77970", "renesas,pwm-rcar";
660			reg = <0 0xe6e33000 0 8>;
661			#pwm-cells = <2>;
662			clocks = <&cpg CPG_MOD 523>;
663			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
664			resets = <&cpg 523>;
665			status = "disabled";
666		};
667
668		pwm4: pwm@e6e34000 {
669			compatible = "renesas,pwm-r8a77970", "renesas,pwm-rcar";
670			reg = <0 0xe6e34000 0 8>;
671			#pwm-cells = <2>;
672			clocks = <&cpg CPG_MOD 523>;
673			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
674			resets = <&cpg 523>;
675			status = "disabled";
676		};
677
678		scif0: serial@e6e60000 {
679			compatible = "renesas,scif-r8a77970",
680				     "renesas,rcar-gen3-scif",
681				     "renesas,scif";
682			reg = <0 0xe6e60000 0 64>;
683			interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
684			clocks = <&cpg CPG_MOD 207>,
685				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
686				 <&scif_clk>;
687			clock-names = "fck", "brg_int", "scif_clk";
688			dmas = <&dmac1 0x51>, <&dmac1 0x50>,
689			       <&dmac2 0x51>, <&dmac2 0x50>;
690			dma-names = "tx", "rx", "tx", "rx";
691			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
692			resets = <&cpg 207>;
693			status = "disabled";
694		};
695
696		scif1: serial@e6e68000 {
697			compatible = "renesas,scif-r8a77970",
698				     "renesas,rcar-gen3-scif",
699				     "renesas,scif";
700			reg = <0 0xe6e68000 0 64>;
701			interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
702			clocks = <&cpg CPG_MOD 206>,
703				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
704				 <&scif_clk>;
705			clock-names = "fck", "brg_int", "scif_clk";
706			dmas = <&dmac1 0x53>, <&dmac1 0x52>,
707			       <&dmac2 0x53>, <&dmac2 0x52>;
708			dma-names = "tx", "rx", "tx", "rx";
709			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
710			resets = <&cpg 206>;
711			status = "disabled";
712		};
713
714		scif3: serial@e6c50000 {
715			compatible = "renesas,scif-r8a77970",
716				     "renesas,rcar-gen3-scif",
717				     "renesas,scif";
718			reg = <0 0xe6c50000 0 64>;
719			interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
720			clocks = <&cpg CPG_MOD 204>,
721				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
722				 <&scif_clk>;
723			clock-names = "fck", "brg_int", "scif_clk";
724			dmas = <&dmac1 0x57>, <&dmac1 0x56>,
725			       <&dmac2 0x57>, <&dmac2 0x56>;
726			dma-names = "tx", "rx", "tx", "rx";
727			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
728			resets = <&cpg 204>;
729			status = "disabled";
730		};
731
732		scif4: serial@e6c40000 {
733			compatible = "renesas,scif-r8a77970",
734				     "renesas,rcar-gen3-scif", "renesas,scif";
735			reg = <0 0xe6c40000 0 64>;
736			interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
737			clocks = <&cpg CPG_MOD 203>,
738				 <&cpg CPG_CORE R8A77970_CLK_S2D1>,
739				 <&scif_clk>;
740			clock-names = "fck", "brg_int", "scif_clk";
741			dmas = <&dmac1 0x59>, <&dmac1 0x58>,
742			       <&dmac2 0x59>, <&dmac2 0x58>;
743			dma-names = "tx", "rx", "tx", "rx";
744			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
745			resets = <&cpg 203>;
746			status = "disabled";
747		};
748
749		tpu: pwm@e6e80000 {
750			compatible = "renesas,tpu-r8a77970", "renesas,tpu";
751			reg = <0 0xe6e80000 0 0x148>;
752			interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
753			clocks = <&cpg CPG_MOD 304>;
754			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
755			resets = <&cpg 304>;
756			#pwm-cells = <3>;
757			status = "disabled";
758		};
759
760		msiof0: spi@e6e90000 {
761			compatible = "renesas,msiof-r8a77970",
762				     "renesas,rcar-gen3-msiof";
763			reg = <0 0xe6e90000 0 0x64>;
764			interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
765			clocks = <&cpg CPG_MOD 211>;
766			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
767			resets = <&cpg 211>;
768			dmas = <&dmac1 0x41>, <&dmac1 0x40>,
769			       <&dmac2 0x41>, <&dmac2 0x40>;
770			dma-names = "tx", "rx", "tx", "rx";
771			#address-cells = <1>;
772			#size-cells = <0>;
773			status = "disabled";
774		};
775
776		msiof1: spi@e6ea0000 {
777			compatible = "renesas,msiof-r8a77970",
778				     "renesas,rcar-gen3-msiof";
779			reg = <0 0xe6ea0000 0 0x0064>;
780			interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
781			clocks = <&cpg CPG_MOD 210>;
782			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
783			resets = <&cpg 210>;
784			dmas = <&dmac1 0x43>, <&dmac1 0x42>,
785			       <&dmac2 0x43>, <&dmac2 0x42>;
786			dma-names = "tx", "rx", "tx", "rx";
787			#address-cells = <1>;
788			#size-cells = <0>;
789			status = "disabled";
790		};
791
792		msiof2: spi@e6c00000 {
793			compatible = "renesas,msiof-r8a77970",
794				     "renesas,rcar-gen3-msiof";
795			reg = <0 0xe6c00000 0 0x0064>;
796			interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
797			clocks = <&cpg CPG_MOD 209>;
798			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
799			resets = <&cpg 209>;
800			dmas = <&dmac1 0x45>, <&dmac1 0x44>,
801			       <&dmac2 0x45>, <&dmac2 0x44>;
802			dma-names = "tx", "rx", "tx", "rx";
803			#address-cells = <1>;
804			#size-cells = <0>;
805			status = "disabled";
806		};
807
808		msiof3: spi@e6c10000 {
809			compatible = "renesas,msiof-r8a77970",
810				     "renesas,rcar-gen3-msiof";
811			reg = <0 0xe6c10000 0 0x0064>;
812			interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
813			clocks = <&cpg CPG_MOD 208>;
814			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
815			resets = <&cpg 208>;
816			dmas = <&dmac1 0x47>, <&dmac1 0x46>,
817			       <&dmac2 0x47>, <&dmac2 0x46>;
818			dma-names = "tx", "rx", "tx", "rx";
819			#address-cells = <1>;
820			#size-cells = <0>;
821			status = "disabled";
822		};
823
824		vin0: video@e6ef0000 {
825			compatible = "renesas,vin-r8a77970";
826			reg = <0 0xe6ef0000 0 0x1000>;
827			interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
828			clocks = <&cpg CPG_MOD 811>;
829			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
830			resets = <&cpg 811>;
831			renesas,id = <0>;
832			status = "disabled";
833
834			ports {
835				#address-cells = <1>;
836				#size-cells = <0>;
837
838				port@1 {
839					#address-cells = <1>;
840					#size-cells = <0>;
841
842					reg = <1>;
843
844					vin0csi40: endpoint@2 {
845						reg = <2>;
846						remote-endpoint = <&csi40vin0>;
847					};
848				};
849			};
850		};
851
852		vin1: video@e6ef1000 {
853			compatible = "renesas,vin-r8a77970";
854			reg = <0 0xe6ef1000 0 0x1000>;
855			interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
856			clocks = <&cpg CPG_MOD 810>;
857			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
858			resets = <&cpg 810>;
859			renesas,id = <1>;
860			status = "disabled";
861
862			ports {
863				#address-cells = <1>;
864				#size-cells = <0>;
865
866				port@1 {
867					#address-cells = <1>;
868					#size-cells = <0>;
869
870					reg = <1>;
871
872					vin1csi40: endpoint@2 {
873						reg = <2>;
874						remote-endpoint = <&csi40vin1>;
875					};
876				};
877			};
878		};
879
880		vin2: video@e6ef2000 {
881			compatible = "renesas,vin-r8a77970";
882			reg = <0 0xe6ef2000 0 0x1000>;
883			interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
884			clocks = <&cpg CPG_MOD 809>;
885			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
886			resets = <&cpg 809>;
887			renesas,id = <2>;
888			status = "disabled";
889
890			ports {
891				#address-cells = <1>;
892				#size-cells = <0>;
893
894				port@1 {
895					#address-cells = <1>;
896					#size-cells = <0>;
897
898					reg = <1>;
899
900					vin2csi40: endpoint@2 {
901						reg = <2>;
902						remote-endpoint = <&csi40vin2>;
903					};
904				};
905			};
906		};
907
908		vin3: video@e6ef3000 {
909			compatible = "renesas,vin-r8a77970";
910			reg = <0 0xe6ef3000 0 0x1000>;
911			interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
912			clocks = <&cpg CPG_MOD 808>;
913			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
914			resets = <&cpg 808>;
915			renesas,id = <3>;
916			status = "disabled";
917
918			ports {
919				#address-cells = <1>;
920				#size-cells = <0>;
921
922				port@1 {
923					#address-cells = <1>;
924					#size-cells = <0>;
925
926					reg = <1>;
927
928					vin3csi40: endpoint@2 {
929						reg = <2>;
930						remote-endpoint = <&csi40vin3>;
931					};
932				};
933			};
934		};
935
936		dmac1: dma-controller@e7300000 {
937			compatible = "renesas,dmac-r8a77970",
938				     "renesas,rcar-dmac";
939			reg = <0 0xe7300000 0 0x10000>;
940			interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>,
941				     <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>,
942				     <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
943				     <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>,
944				     <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
945				     <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>,
946				     <GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>,
947				     <GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH>,
948				     <GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH>;
949			interrupt-names = "error",
950					  "ch0", "ch1", "ch2", "ch3",
951					  "ch4", "ch5", "ch6", "ch7";
952			clocks = <&cpg CPG_MOD 218>;
953			clock-names = "fck";
954			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
955			resets = <&cpg 218>;
956			#dma-cells = <1>;
957			dma-channels = <8>;
958			iommus = <&ipmmu_ds1 0>, <&ipmmu_ds1 1>,
959			       <&ipmmu_ds1 2>, <&ipmmu_ds1 3>,
960			       <&ipmmu_ds1 4>, <&ipmmu_ds1 5>,
961			       <&ipmmu_ds1 6>, <&ipmmu_ds1 7>;
962		};
963
964		dmac2: dma-controller@e7310000 {
965			compatible = "renesas,dmac-r8a77970",
966				     "renesas,rcar-dmac";
967			reg = <0 0xe7310000 0 0x10000>;
968			interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>,
969				     <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>,
970				     <GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH>,
971				     <GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH>,
972				     <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
973				     <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
974				     <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
975				     <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
976				     <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>;
977			interrupt-names = "error",
978					  "ch0", "ch1", "ch2", "ch3",
979					  "ch4", "ch5", "ch6", "ch7";
980			clocks = <&cpg CPG_MOD 217>;
981			clock-names = "fck";
982			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
983			resets = <&cpg 217>;
984			#dma-cells = <1>;
985			dma-channels = <8>;
986			iommus = <&ipmmu_ds1 16>, <&ipmmu_ds1 17>,
987			       <&ipmmu_ds1 18>, <&ipmmu_ds1 19>,
988			       <&ipmmu_ds1 20>, <&ipmmu_ds1 21>,
989			       <&ipmmu_ds1 22>, <&ipmmu_ds1 23>;
990		};
991
992		ipmmu_ds1: iommu@e7740000 {
993			compatible = "renesas,ipmmu-r8a77970";
994			reg = <0 0xe7740000 0 0x1000>;
995			renesas,ipmmu-main = <&ipmmu_mm 0>;
996			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
997			#iommu-cells = <1>;
998		};
999
1000		ipmmu_ir: iommu@ff8b0000 {
1001			compatible = "renesas,ipmmu-r8a77970";
1002			reg = <0 0xff8b0000 0 0x1000>;
1003			renesas,ipmmu-main = <&ipmmu_mm 3>;
1004			power-domains = <&sysc R8A77970_PD_A3IR>;
1005			#iommu-cells = <1>;
1006		};
1007
1008		ipmmu_mm: iommu@e67b0000 {
1009			compatible = "renesas,ipmmu-r8a77970";
1010			reg = <0 0xe67b0000 0 0x1000>;
1011			interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
1012				     <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
1013			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1014			#iommu-cells = <1>;
1015		};
1016
1017		ipmmu_rt: iommu@ffc80000 {
1018			compatible = "renesas,ipmmu-r8a77970";
1019			reg = <0 0xffc80000 0 0x1000>;
1020			renesas,ipmmu-main = <&ipmmu_mm 7>;
1021			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1022			#iommu-cells = <1>;
1023		};
1024
1025		ipmmu_vi0: iommu@febd0000 {
1026			compatible = "renesas,ipmmu-r8a77970";
1027			reg = <0 0xfebd0000 0 0x1000>;
1028			renesas,ipmmu-main = <&ipmmu_mm 9>;
1029			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1030			#iommu-cells = <1>;
1031		};
1032
1033		mmc0: mmc@ee140000 {
1034			compatible = "renesas,sdhi-r8a77970",
1035				     "renesas,rcar-gen3-sdhi";
1036			reg = <0 0xee140000 0 0x2000>;
1037			interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
1038			clocks = <&cpg CPG_MOD 314>;
1039			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1040			resets = <&cpg 314>;
1041			max-frequency = <200000000>;
1042			iommus = <&ipmmu_ds1 32>;
1043			status = "disabled";
1044		};
1045
1046		rpc: spi@ee200000 {
1047			compatible = "renesas,r8a77970-rpc-if",
1048				     "renesas,rcar-gen3-rpc-if";
1049			reg = <0 0xee200000 0 0x200>,
1050			      <0 0x08000000 0 0x4000000>,
1051			      <0 0xee208000 0 0x100>;
1052			reg-names = "regs", "dirmap", "wbuf";
1053			interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
1054			clocks = <&cpg CPG_MOD 917>;
1055			clock-names = "rpc";
1056			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1057			resets = <&cpg 917>;
1058			#address-cells = <1>;
1059			#size-cells = <0>;
1060			status = "disabled";
1061		};
1062
1063		gic: interrupt-controller@f1010000 {
1064			compatible = "arm,gic-400";
1065			#interrupt-cells = <3>;
1066			#address-cells = <0>;
1067			interrupt-controller;
1068			reg = <0 0xf1010000 0 0x1000>,
1069			      <0 0xf1020000 0 0x20000>,
1070			      <0 0xf1040000 0 0x20000>,
1071			      <0 0xf1060000 0 0x20000>;
1072			interrupts = <GIC_PPI 9	(GIC_CPU_MASK_SIMPLE(2) |
1073				      IRQ_TYPE_LEVEL_HIGH)>;
1074			clocks = <&cpg CPG_MOD 408>;
1075			clock-names = "clk";
1076			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1077			resets = <&cpg 408>;
1078		};
1079
1080		vspd0: vsp@fea20000 {
1081			compatible = "renesas,vsp2";
1082			reg = <0 0xfea20000 0 0x5000>;
1083			interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
1084			clocks = <&cpg CPG_MOD 623>;
1085			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1086			resets = <&cpg 623>;
1087			renesas,fcp = <&fcpvd0>;
1088		};
1089
1090		fcpvd0: fcp@fea27000 {
1091			compatible = "renesas,fcpv";
1092			reg = <0 0xfea27000 0 0x200>;
1093			clocks = <&cpg CPG_MOD 603>;
1094			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1095			resets = <&cpg 603>;
1096		};
1097
1098		csi40: csi2@feaa0000 {
1099			compatible = "renesas,r8a77970-csi2";
1100			reg = <0 0xfeaa0000 0 0x10000>;
1101			interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
1102			clocks = <&cpg CPG_MOD 716>;
1103			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1104			resets = <&cpg 716>;
1105			status = "disabled";
1106
1107			ports {
1108				#address-cells = <1>;
1109				#size-cells = <0>;
1110
1111				port@0 {
1112					reg = <0>;
1113				};
1114
1115				port@1 {
1116					#address-cells = <1>;
1117					#size-cells = <0>;
1118
1119					reg = <1>;
1120
1121					csi40vin0: endpoint@0 {
1122						reg = <0>;
1123						remote-endpoint = <&vin0csi40>;
1124					};
1125					csi40vin1: endpoint@1 {
1126						reg = <1>;
1127						remote-endpoint = <&vin1csi40>;
1128					};
1129					csi40vin2: endpoint@2 {
1130						reg = <2>;
1131						remote-endpoint = <&vin2csi40>;
1132					};
1133					csi40vin3: endpoint@3 {
1134						reg = <3>;
1135						remote-endpoint = <&vin3csi40>;
1136					};
1137				};
1138			};
1139		};
1140
1141		du: display@feb00000 {
1142			compatible = "renesas,du-r8a77970";
1143			reg = <0 0xfeb00000 0 0x80000>;
1144			interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
1145			clocks = <&cpg CPG_MOD 724>;
1146			clock-names = "du.0";
1147			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1148			resets = <&cpg 724>;
1149			reset-names = "du.0";
1150			renesas,vsps = <&vspd0 0>;
1151
1152			status = "disabled";
1153
1154			ports {
1155				#address-cells = <1>;
1156				#size-cells = <0>;
1157
1158				port@0 {
1159					reg = <0>;
1160				};
1161
1162				port@1 {
1163					reg = <1>;
1164					du_out_lvds0: endpoint {
1165						remote-endpoint = <&lvds0_in>;
1166					};
1167				};
1168			};
1169		};
1170
1171		lvds0: lvds-encoder@feb90000 {
1172			compatible = "renesas,r8a77970-lvds";
1173			reg = <0 0xfeb90000 0 0x14>;
1174			clocks = <&cpg CPG_MOD 727>;
1175			power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
1176			resets = <&cpg 727>;
1177			status = "disabled";
1178
1179			ports {
1180				#address-cells = <1>;
1181				#size-cells = <0>;
1182
1183				port@0 {
1184					reg = <0>;
1185					lvds0_in: endpoint {
1186						remote-endpoint =
1187							<&du_out_lvds0>;
1188					};
1189				};
1190				port@1 {
1191					reg = <1>;
1192				};
1193			};
1194		};
1195
1196		prr: chipid@fff00044 {
1197			compatible = "renesas,prr";
1198			reg = <0 0xfff00044 0 4>;
1199		};
1200	};
1201
1202	thermal-zones {
1203		cpu-thermal {
1204			polling-delay-passive = <250>;
1205			polling-delay = <1000>;
1206			thermal-sensors = <&thermal>;
1207
1208			cooling-maps {
1209			};
1210
1211			trips {
1212				cpu-crit {
1213					temperature = <120000>;
1214					hysteresis = <2000>;
1215					type = "critical";
1216				};
1217			};
1218		};
1219	};
1220
1221	timer {
1222		compatible = "arm,armv8-timer";
1223		interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1224				      <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1225				      <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1226				      <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
1227	};
1228};
1229