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