1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for the R-Car V3H (R8A77980) SoC
4 *
5 * Copyright (C) 2018 Renesas Electronics Corp.
6 * Copyright (C) 2018 Cogent Embedded, Inc.
7 */
8
9#include <dt-bindings/clock/r8a77980-cpg-mssr.h>
10#include <dt-bindings/interrupt-controller/irq.h>
11#include <dt-bindings/interrupt-controller/arm-gic.h>
12#include <dt-bindings/power/r8a77980-sysc.h>
13
14/ {
15	compatible = "renesas,r8a77980";
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		i2c5 = &i2c5;
26	};
27
28	/* External CAN clock - to be overridden by boards that provide it */
29	can_clk: can {
30		compatible = "fixed-clock";
31		#clock-cells = <0>;
32		clock-frequency = <0>;
33	};
34
35	cpus {
36		#address-cells = <1>;
37		#size-cells = <0>;
38
39		a53_0: cpu@0 {
40			device_type = "cpu";
41			compatible = "arm,cortex-a53";
42			reg = <0>;
43			clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>;
44			power-domains = <&sysc R8A77980_PD_CA53_CPU0>;
45			next-level-cache = <&L2_CA53>;
46			enable-method = "psci";
47		};
48
49		a53_1: cpu@1 {
50			device_type = "cpu";
51			compatible = "arm,cortex-a53";
52			reg = <1>;
53			clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>;
54			power-domains = <&sysc R8A77980_PD_CA53_CPU1>;
55			next-level-cache = <&L2_CA53>;
56			enable-method = "psci";
57		};
58
59		a53_2: cpu@2 {
60			device_type = "cpu";
61			compatible = "arm,cortex-a53";
62			reg = <2>;
63			clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>;
64			power-domains = <&sysc R8A77980_PD_CA53_CPU2>;
65			next-level-cache = <&L2_CA53>;
66			enable-method = "psci";
67		};
68
69		a53_3: cpu@3 {
70			device_type = "cpu";
71			compatible = "arm,cortex-a53";
72			reg = <3>;
73			clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>;
74			power-domains = <&sysc R8A77980_PD_CA53_CPU3>;
75			next-level-cache = <&L2_CA53>;
76			enable-method = "psci";
77		};
78
79		L2_CA53: cache-controller {
80			compatible = "cache";
81			power-domains = <&sysc R8A77980_PD_CA53_SCU>;
82			cache-unified;
83			cache-level = <2>;
84		};
85	};
86
87	extal_clk: extal {
88		compatible = "fixed-clock";
89		#clock-cells = <0>;
90		/* This value must be overridden by the board */
91		clock-frequency = <0>;
92	};
93
94	extalr_clk: extalr {
95		compatible = "fixed-clock";
96		#clock-cells = <0>;
97		/* This value must be overridden by the board */
98		clock-frequency = <0>;
99	};
100
101	/* External PCIe clock - can be overridden by the board */
102	pcie_bus_clk: pcie_bus {
103		compatible = "fixed-clock";
104		#clock-cells = <0>;
105		clock-frequency = <0>;
106	};
107
108	pmu_a53 {
109		compatible = "arm,cortex-a53-pmu";
110		interrupts-extended = <&gic GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
111				      <&gic GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
112				      <&gic GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
113				      <&gic GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
114		interrupt-affinity = <&a53_0>, <&a53_1>, <&a53_2>, <&a53_3>;
115	};
116
117	psci {
118		compatible = "arm,psci-1.0", "arm,psci-0.2";
119		method = "smc";
120	};
121
122	/* External SCIF clock - to be overridden by boards that provide it */
123	scif_clk: scif {
124		compatible = "fixed-clock";
125		#clock-cells = <0>;
126		clock-frequency = <0>;
127	};
128
129	soc {
130		compatible = "simple-bus";
131		interrupt-parent = <&gic>;
132
133		#address-cells = <2>;
134		#size-cells = <2>;
135		ranges;
136
137		rwdt: watchdog@e6020000 {
138			compatible = "renesas,r8a77980-wdt",
139				     "renesas,rcar-gen3-wdt";
140			reg = <0 0xe6020000 0 0x0c>;
141			interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
142			clocks = <&cpg CPG_MOD 402>;
143			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
144			resets = <&cpg 402>;
145			status = "disabled";
146		};
147
148		gpio0: gpio@e6050000 {
149			compatible = "renesas,gpio-r8a77980",
150				     "renesas,rcar-gen3-gpio";
151			reg = <0 0xe6050000 0 0x50>;
152			interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
153			#gpio-cells = <2>;
154			gpio-controller;
155			gpio-ranges = <&pfc 0 0 22>;
156			#interrupt-cells = <2>;
157			interrupt-controller;
158			clocks = <&cpg CPG_MOD 912>;
159			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
160			resets = <&cpg 912>;
161		};
162
163		gpio1: gpio@e6051000 {
164			compatible = "renesas,gpio-r8a77980",
165				     "renesas,rcar-gen3-gpio";
166			reg = <0 0xe6051000 0 0x50>;
167			interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
168			#gpio-cells = <2>;
169			gpio-controller;
170			gpio-ranges = <&pfc 0 32 28>;
171			#interrupt-cells = <2>;
172			interrupt-controller;
173			clocks = <&cpg CPG_MOD 911>;
174			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
175			resets = <&cpg 911>;
176		};
177
178		gpio2: gpio@e6052000 {
179			compatible = "renesas,gpio-r8a77980",
180				     "renesas,rcar-gen3-gpio";
181			reg = <0 0xe6052000 0 0x50>;
182			interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
183			#gpio-cells = <2>;
184			gpio-controller;
185			gpio-ranges = <&pfc 0 64 30>;
186			#interrupt-cells = <2>;
187			interrupt-controller;
188			clocks = <&cpg CPG_MOD 910>;
189			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
190			resets = <&cpg 910>;
191		};
192
193		gpio3: gpio@e6053000 {
194			compatible = "renesas,gpio-r8a77980",
195				     "renesas,rcar-gen3-gpio";
196			reg = <0 0xe6053000 0 0x50>;
197			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
198			#gpio-cells = <2>;
199			gpio-controller;
200			gpio-ranges = <&pfc 0 96 17>;
201			#interrupt-cells = <2>;
202			interrupt-controller;
203			clocks = <&cpg CPG_MOD 909>;
204			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
205			resets = <&cpg 909>;
206		};
207
208		gpio4: gpio@e6054000 {
209			compatible = "renesas,gpio-r8a77980",
210				     "renesas,rcar-gen3-gpio";
211			reg = <0 0xe6054000 0 0x50>;
212			interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
213			#gpio-cells = <2>;
214			gpio-controller;
215			gpio-ranges = <&pfc 0 128 25>;
216			#interrupt-cells = <2>;
217			interrupt-controller;
218			clocks = <&cpg CPG_MOD 908>;
219			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
220			resets = <&cpg 908>;
221		};
222
223		gpio5: gpio@e6055000 {
224			compatible = "renesas,gpio-r8a77980",
225				     "renesas,rcar-gen3-gpio";
226			reg = <0 0xe6055000 0 0x50>;
227			interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
228			#gpio-cells = <2>;
229			gpio-controller;
230			gpio-ranges = <&pfc 0 160 15>;
231			#interrupt-cells = <2>;
232			interrupt-controller;
233			clocks = <&cpg CPG_MOD 907>;
234			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
235			resets = <&cpg 907>;
236		};
237
238		pfc: pinctrl@e6060000 {
239			compatible = "renesas,pfc-r8a77980";
240			reg = <0 0xe6060000 0 0x50c>;
241		};
242
243		cmt0: timer@e60f0000 {
244			compatible = "renesas,r8a77980-cmt0",
245				     "renesas,rcar-gen3-cmt0";
246			reg = <0 0xe60f0000 0 0x1004>;
247			interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
248				     <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
249			clocks = <&cpg CPG_MOD 303>;
250			clock-names = "fck";
251			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
252			resets = <&cpg 303>;
253			status = "disabled";
254		};
255
256		cmt1: timer@e6130000 {
257			compatible = "renesas,r8a77980-cmt1",
258				     "renesas,rcar-gen3-cmt1";
259			reg = <0 0xe6130000 0 0x1004>;
260			interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
261				     <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
262				     <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
263				     <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
264				     <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
265				     <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
266				     <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
267				     <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
268			clocks = <&cpg CPG_MOD 302>;
269			clock-names = "fck";
270			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
271			resets = <&cpg 302>;
272			status = "disabled";
273		};
274
275		cmt2: timer@e6140000 {
276			compatible = "renesas,r8a77980-cmt1",
277				     "renesas,rcar-gen3-cmt1";
278			reg = <0 0xe6140000 0 0x1004>;
279			interrupts = <GIC_SPI 258 IRQ_TYPE_LEVEL_HIGH>,
280				     <GIC_SPI 259 IRQ_TYPE_LEVEL_HIGH>,
281				     <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>,
282				     <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>,
283				     <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>,
284				     <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>,
285				     <GIC_SPI 264 IRQ_TYPE_LEVEL_HIGH>,
286				     <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
287			clocks = <&cpg CPG_MOD 301>;
288			clock-names = "fck";
289			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
290			resets = <&cpg 301>;
291			status = "disabled";
292		};
293
294		cmt3: timer@e6148000 {
295			compatible = "renesas,r8a77980-cmt1",
296				     "renesas,rcar-gen3-cmt1";
297			reg = <0 0xe6148000 0 0x1004>;
298			interrupts = <GIC_SPI 273 IRQ_TYPE_LEVEL_HIGH>,
299				     <GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH>,
300				     <GIC_SPI 275 IRQ_TYPE_LEVEL_HIGH>,
301				     <GIC_SPI 276 IRQ_TYPE_LEVEL_HIGH>,
302				     <GIC_SPI 277 IRQ_TYPE_LEVEL_HIGH>,
303				     <GIC_SPI 278 IRQ_TYPE_LEVEL_HIGH>,
304				     <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
305				     <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>;
306			clocks = <&cpg CPG_MOD 300>;
307			clock-names = "fck";
308			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
309			resets = <&cpg 300>;
310			status = "disabled";
311		};
312
313		cpg: clock-controller@e6150000 {
314			compatible = "renesas,r8a77980-cpg-mssr";
315			reg = <0 0xe6150000 0 0x1000>;
316			clocks = <&extal_clk>, <&extalr_clk>;
317			clock-names = "extal", "extalr";
318			#clock-cells = <2>;
319			#power-domain-cells = <0>;
320			#reset-cells = <1>;
321		};
322
323		rst: reset-controller@e6160000 {
324			compatible = "renesas,r8a77980-rst";
325			reg = <0 0xe6160000 0 0x200>;
326		};
327
328		sysc: system-controller@e6180000 {
329			compatible = "renesas,r8a77980-sysc";
330			reg = <0 0xe6180000 0 0x440>;
331			#power-domain-cells = <1>;
332		};
333
334		tsc: thermal@e6198000 {
335			compatible = "renesas,r8a77980-thermal";
336			reg = <0 0xe6198000 0 0x100>,
337			      <0 0xe61a0000 0 0x100>;
338			interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
339				     <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
340				     <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
341			clocks = <&cpg CPG_MOD 522>;
342			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
343			resets = <&cpg 522>;
344			#thermal-sensor-cells = <1>;
345		};
346
347		intc_ex: interrupt-controller@e61c0000 {
348			compatible = "renesas,intc-ex-r8a77980", "renesas,irqc";
349			#interrupt-cells = <2>;
350			interrupt-controller;
351			reg = <0 0xe61c0000 0 0x200>;
352			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
353				     <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
354				     <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
355				     <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
356				     <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
357				     <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
358			clocks = <&cpg CPG_MOD 407>;
359			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
360			resets = <&cpg 407>;
361		};
362
363		tmu0: timer@e61e0000 {
364			compatible = "renesas,tmu-r8a77980", "renesas,tmu";
365			reg = <0 0xe61e0000 0 0x30>;
366			interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
367				     <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
368				     <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
369			clocks = <&cpg CPG_MOD 125>;
370			clock-names = "fck";
371			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
372			resets = <&cpg 125>;
373			status = "disabled";
374		};
375
376		tmu1: timer@e6fc0000 {
377			compatible = "renesas,tmu-r8a77980", "renesas,tmu";
378			reg = <0 0xe6fc0000 0 0x30>;
379			interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
380				     <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
381				     <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
382			clocks = <&cpg CPG_MOD 124>;
383			clock-names = "fck";
384			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
385			resets = <&cpg 124>;
386			status = "disabled";
387		};
388
389		tmu2: timer@e6fd0000 {
390			compatible = "renesas,tmu-r8a77980", "renesas,tmu";
391			reg = <0 0xe6fd0000 0 0x30>;
392			interrupts = <GIC_SPI 303 IRQ_TYPE_LEVEL_HIGH>,
393				     <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
394				     <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
395			clocks = <&cpg CPG_MOD 123>;
396			clock-names = "fck";
397			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
398			resets = <&cpg 123>;
399			status = "disabled";
400		};
401
402		tmu3: timer@e6fe0000 {
403			compatible = "renesas,tmu-r8a77980", "renesas,tmu";
404			reg = <0 0xe6fe0000 0 0x30>;
405			interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
406				     <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>,
407				     <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
408			clocks = <&cpg CPG_MOD 122>;
409			clock-names = "fck";
410			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
411			resets = <&cpg 122>;
412			status = "disabled";
413		};
414
415		tmu4: timer@ffc00000 {
416			compatible = "renesas,tmu-r8a77980", "renesas,tmu";
417			reg = <0 0xffc00000 0 0x30>;
418			interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
419				     <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
420				     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
421			clocks = <&cpg CPG_MOD 121>;
422			clock-names = "fck";
423			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
424			resets = <&cpg 121>;
425			status = "disabled";
426		};
427
428		i2c0: i2c@e6500000 {
429			compatible = "renesas,i2c-r8a77980",
430				     "renesas,rcar-gen3-i2c";
431			reg = <0 0xe6500000 0 0x40>;
432			interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
433			clocks = <&cpg CPG_MOD 931>;
434			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
435			resets = <&cpg 931>;
436			dmas = <&dmac1 0x91>, <&dmac1 0x90>,
437			       <&dmac2 0x91>, <&dmac2 0x90>;
438			dma-names = "tx", "rx", "tx", "rx";
439			i2c-scl-internal-delay-ns = <6>;
440			#address-cells = <1>;
441			#size-cells = <0>;
442			status = "disabled";
443		};
444
445		i2c1: i2c@e6508000 {
446			compatible = "renesas,i2c-r8a77980",
447				     "renesas,rcar-gen3-i2c";
448			reg = <0 0xe6508000 0 0x40>;
449			interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
450			clocks = <&cpg CPG_MOD 930>;
451			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
452			resets = <&cpg 930>;
453			dmas = <&dmac1 0x93>, <&dmac1 0x92>,
454			       <&dmac2 0x93>, <&dmac2 0x92>;
455			dma-names = "tx", "rx", "tx", "rx";
456			i2c-scl-internal-delay-ns = <6>;
457			#address-cells = <1>;
458			#size-cells = <0>;
459			status = "disabled";
460		};
461
462		i2c2: i2c@e6510000 {
463			compatible = "renesas,i2c-r8a77980",
464				     "renesas,rcar-gen3-i2c";
465			reg = <0 0xe6510000 0 0x40>;
466			interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
467			clocks = <&cpg CPG_MOD 929>;
468			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
469			resets = <&cpg 929>;
470			dmas = <&dmac1 0x95>, <&dmac1 0x94>,
471			       <&dmac2 0x95>, <&dmac2 0x94>;
472			dma-names = "tx", "rx", "tx", "rx";
473			i2c-scl-internal-delay-ns = <6>;
474			#address-cells = <1>;
475			#size-cells = <0>;
476			status = "disabled";
477		};
478
479		i2c3: i2c@e66d0000 {
480			compatible = "renesas,i2c-r8a77980",
481				     "renesas,rcar-gen3-i2c";
482			reg = <0 0xe66d0000 0 0x40>;
483			interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
484			clocks = <&cpg CPG_MOD 928>;
485			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
486			resets = <&cpg 928>;
487			i2c-scl-internal-delay-ns = <6>;
488			#address-cells = <1>;
489			#size-cells = <0>;
490			status = "disabled";
491		};
492
493		i2c4: i2c@e66d8000 {
494			compatible = "renesas,i2c-r8a77980",
495				     "renesas,rcar-gen3-i2c";
496			reg = <0 0xe66d8000 0 0x40>;
497			interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
498			clocks = <&cpg CPG_MOD 927>;
499			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
500			resets = <&cpg 927>;
501			i2c-scl-internal-delay-ns = <6>;
502			#address-cells = <1>;
503			#size-cells = <0>;
504			status = "disabled";
505		};
506
507		i2c5: i2c@e66e0000 {
508			compatible = "renesas,i2c-r8a77980",
509				     "renesas,rcar-gen3-i2c";
510			reg = <0 0xe66e0000 0 0x40>;
511			interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
512			clocks = <&cpg CPG_MOD 919>;
513			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
514			resets = <&cpg 919>;
515			dmas = <&dmac1 0x9b>, <&dmac1 0x9a>,
516			       <&dmac2 0x9b>, <&dmac2 0x9a>;
517			dma-names = "tx", "rx", "tx", "rx";
518			i2c-scl-internal-delay-ns = <6>;
519			#address-cells = <1>;
520			#size-cells = <0>;
521			status = "disabled";
522		};
523
524		hscif0: serial@e6540000 {
525			compatible = "renesas,hscif-r8a77980",
526				     "renesas,rcar-gen3-hscif",
527				     "renesas,hscif";
528			reg = <0 0xe6540000 0 0x60>;
529			interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
530			clocks = <&cpg CPG_MOD 520>,
531				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
532				 <&scif_clk>;
533			clock-names = "fck", "brg_int", "scif_clk";
534			dmas = <&dmac1 0x31>, <&dmac1 0x30>,
535			       <&dmac2 0x31>, <&dmac2 0x30>;
536			dma-names = "tx", "rx", "tx", "rx";
537			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
538			resets = <&cpg 520>;
539			status = "disabled";
540		};
541
542		hscif1: serial@e6550000 {
543			compatible = "renesas,hscif-r8a77980",
544				     "renesas,rcar-gen3-hscif",
545				     "renesas,hscif";
546			reg = <0 0xe6550000 0 0x60>;
547			interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
548			clocks = <&cpg CPG_MOD 519>,
549				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
550				 <&scif_clk>;
551			clock-names = "fck", "brg_int", "scif_clk";
552			dmas = <&dmac1 0x33>, <&dmac1 0x32>,
553			       <&dmac2 0x33>, <&dmac2 0x32>;
554			dma-names = "tx", "rx", "tx", "rx";
555			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
556			resets = <&cpg 519>;
557			status = "disabled";
558		};
559
560		hscif2: serial@e6560000 {
561			compatible = "renesas,hscif-r8a77980",
562				     "renesas,rcar-gen3-hscif",
563				     "renesas,hscif";
564			reg = <0 0xe6560000 0 0x60>;
565			interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
566			clocks = <&cpg CPG_MOD 518>,
567				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
568				 <&scif_clk>;
569			clock-names = "fck", "brg_int", "scif_clk";
570			dmas = <&dmac1 0x35>, <&dmac1 0x34>,
571			       <&dmac2 0x35>, <&dmac2 0x34>;
572			dma-names = "tx", "rx", "tx", "rx";
573			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
574			resets = <&cpg 518>;
575			status = "disabled";
576		};
577
578		hscif3: serial@e66a0000 {
579			compatible = "renesas,hscif-r8a77980",
580				     "renesas,rcar-gen3-hscif",
581				     "renesas,hscif";
582			reg = <0 0xe66a0000 0 0x60>;
583			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
584			clocks = <&cpg CPG_MOD 517>,
585				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
586				 <&scif_clk>;
587			clock-names = "fck", "brg_int", "scif_clk";
588			dmas = <&dmac1 0x37>, <&dmac1 0x36>,
589			       <&dmac2 0x37>, <&dmac2 0x36>;
590			dma-names = "tx", "rx", "tx", "rx";
591			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
592			resets = <&cpg 517>;
593			status = "disabled";
594		};
595
596		pcie_phy: pcie-phy@e65d0000 {
597			compatible = "renesas,r8a77980-pcie-phy";
598			reg = <0 0xe65d0000 0 0x8000>;
599			#phy-cells = <0>;
600			clocks = <&cpg CPG_MOD 319>;
601			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
602			resets = <&cpg 319>;
603			status = "disabled";
604		};
605
606		canfd: can@e66c0000 {
607			compatible = "renesas,r8a77980-canfd",
608				     "renesas,rcar-gen3-canfd";
609			reg = <0 0xe66c0000 0 0x8000>;
610			interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
611				     <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
612			interrupt-names = "ch_int", "g_int";
613			clocks = <&cpg CPG_MOD 914>,
614				 <&cpg CPG_CORE R8A77980_CLK_CANFD>,
615				 <&can_clk>;
616			clock-names = "fck", "canfd", "can_clk";
617			assigned-clocks = <&cpg CPG_CORE R8A77980_CLK_CANFD>;
618			assigned-clock-rates = <40000000>;
619			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
620			resets = <&cpg 914>;
621			status = "disabled";
622
623			channel0 {
624				status = "disabled";
625			};
626
627			channel1 {
628				status = "disabled";
629			};
630		};
631
632		avb: ethernet@e6800000 {
633			compatible = "renesas,etheravb-r8a77980",
634				     "renesas,etheravb-rcar-gen3";
635			reg = <0 0xe6800000 0 0x800>;
636			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
637				     <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
638				     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
639				     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
640				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
641				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
642				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
643				     <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
644				     <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
645				     <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
646				     <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
647				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
648				     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
649				     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
650				     <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
651				     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
652				     <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
653				     <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
654				     <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
655				     <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
656				     <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
657				     <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
658				     <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
659				     <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
660				     <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
661			interrupt-names = "ch0", "ch1", "ch2", "ch3",
662					  "ch4", "ch5", "ch6", "ch7",
663					  "ch8", "ch9", "ch10", "ch11",
664					  "ch12", "ch13", "ch14", "ch15",
665					  "ch16", "ch17", "ch18", "ch19",
666					  "ch20", "ch21", "ch22", "ch23",
667					  "ch24";
668			clocks = <&cpg CPG_MOD 812>;
669			clock-names = "fck";
670			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
671			resets = <&cpg 812>;
672			phy-mode = "rgmii";
673			rx-internal-delay-ps = <0>;
674			tx-internal-delay-ps = <2000>;
675			iommus = <&ipmmu_ds1 33>;
676			#address-cells = <1>;
677			#size-cells = <0>;
678			status = "disabled";
679		};
680
681		pwm0: pwm@e6e30000 {
682			compatible = "renesas,pwm-r8a77980", "renesas,pwm-rcar";
683			reg = <0 0xe6e30000 0 0x10>;
684			#pwm-cells = <2>;
685			clocks = <&cpg CPG_MOD 523>;
686			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
687			resets = <&cpg 523>;
688			status = "disabled";
689		};
690
691		pwm1: pwm@e6e31000 {
692			compatible = "renesas,pwm-r8a77980", "renesas,pwm-rcar";
693			reg = <0 0xe6e31000 0 0x10>;
694			#pwm-cells = <2>;
695			clocks = <&cpg CPG_MOD 523>;
696			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
697			resets = <&cpg 523>;
698			status = "disabled";
699		};
700
701		pwm2: pwm@e6e32000 {
702			compatible = "renesas,pwm-r8a77980", "renesas,pwm-rcar";
703			reg = <0 0xe6e32000 0 0x10>;
704			#pwm-cells = <2>;
705			clocks = <&cpg CPG_MOD 523>;
706			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
707			resets = <&cpg 523>;
708			status = "disabled";
709		};
710
711		pwm3: pwm@e6e33000 {
712			compatible = "renesas,pwm-r8a77980", "renesas,pwm-rcar";
713			reg = <0 0xe6e33000 0 0x10>;
714			#pwm-cells = <2>;
715			clocks = <&cpg CPG_MOD 523>;
716			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
717			resets = <&cpg 523>;
718			status = "disabled";
719		};
720
721		pwm4: pwm@e6e34000 {
722			compatible = "renesas,pwm-r8a77980", "renesas,pwm-rcar";
723			reg = <0 0xe6e34000 0 0x10>;
724			#pwm-cells = <2>;
725			clocks = <&cpg CPG_MOD 523>;
726			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
727			resets = <&cpg 523>;
728			status = "disabled";
729		};
730
731		scif0: serial@e6e60000 {
732			compatible = "renesas,scif-r8a77980",
733				     "renesas,rcar-gen3-scif",
734				     "renesas,scif";
735			reg = <0 0xe6e60000 0 0x40>;
736			interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
737			clocks = <&cpg CPG_MOD 207>,
738				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
739				 <&scif_clk>;
740			clock-names = "fck", "brg_int", "scif_clk";
741			dmas = <&dmac1 0x51>, <&dmac1 0x50>,
742			       <&dmac2 0x51>, <&dmac2 0x50>;
743			dma-names = "tx", "rx", "tx", "rx";
744			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
745			resets = <&cpg 207>;
746			status = "disabled";
747		};
748
749		scif1: serial@e6e68000 {
750			compatible = "renesas,scif-r8a77980",
751				     "renesas,rcar-gen3-scif",
752				     "renesas,scif";
753			reg = <0 0xe6e68000 0 0x40>;
754			interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
755			clocks = <&cpg CPG_MOD 206>,
756				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
757				 <&scif_clk>;
758			clock-names = "fck", "brg_int", "scif_clk";
759			dmas = <&dmac1 0x53>, <&dmac1 0x52>,
760			       <&dmac2 0x53>, <&dmac2 0x52>;
761			dma-names = "tx", "rx", "tx", "rx";
762			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
763			resets = <&cpg 206>;
764			status = "disabled";
765		};
766
767		scif3: serial@e6c50000 {
768			compatible = "renesas,scif-r8a77980",
769				     "renesas,rcar-gen3-scif",
770				     "renesas,scif";
771			reg = <0 0xe6c50000 0 0x40>;
772			interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
773			clocks = <&cpg CPG_MOD 204>,
774				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
775				 <&scif_clk>;
776			clock-names = "fck", "brg_int", "scif_clk";
777			dmas = <&dmac1 0x57>, <&dmac1 0x56>,
778			       <&dmac2 0x57>, <&dmac2 0x56>;
779			dma-names = "tx", "rx", "tx", "rx";
780			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
781			resets = <&cpg 204>;
782			status = "disabled";
783		};
784
785		scif4: serial@e6c40000 {
786			compatible = "renesas,scif-r8a77980",
787				     "renesas,rcar-gen3-scif",
788				     "renesas,scif";
789			reg = <0 0xe6c40000 0 0x40>;
790			interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
791			clocks = <&cpg CPG_MOD 203>,
792				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
793				 <&scif_clk>;
794			clock-names = "fck", "brg_int", "scif_clk";
795			dmas = <&dmac1 0x59>, <&dmac1 0x58>,
796			       <&dmac2 0x59>, <&dmac2 0x58>;
797			dma-names = "tx", "rx", "tx", "rx";
798			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
799			resets = <&cpg 203>;
800			status = "disabled";
801		};
802
803		tpu: pwm@e6e80000 {
804			compatible = "renesas,tpu-r8a77980", "renesas,tpu";
805			reg = <0 0xe6e80000 0 0x148>;
806			interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
807			clocks = <&cpg CPG_MOD 304>;
808			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
809			resets = <&cpg 304>;
810			#pwm-cells = <3>;
811			status = "disabled";
812		};
813
814		msiof0: spi@e6e90000 {
815			compatible = "renesas,msiof-r8a77980",
816				     "renesas,rcar-gen3-msiof";
817			reg = <0 0xe6e90000 0 0x64>;
818			interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
819			clocks = <&cpg CPG_MOD 211>;
820			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
821			resets = <&cpg 211>;
822			#address-cells = <1>;
823			#size-cells = <0>;
824			status = "disabled";
825		};
826
827		msiof1: spi@e6ea0000 {
828			compatible = "renesas,msiof-r8a77980",
829				     "renesas,rcar-gen3-msiof";
830			reg = <0 0xe6ea0000 0 0x0064>;
831			interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
832			clocks = <&cpg CPG_MOD 210>;
833			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
834			resets = <&cpg 210>;
835			#address-cells = <1>;
836			#size-cells = <0>;
837			status = "disabled";
838		};
839
840		msiof2: spi@e6c00000 {
841			compatible = "renesas,msiof-r8a77980",
842				     "renesas,rcar-gen3-msiof";
843			reg = <0 0xe6c00000 0 0x0064>;
844			interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
845			clocks = <&cpg CPG_MOD 209>;
846			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
847			resets = <&cpg 209>;
848			#address-cells = <1>;
849			#size-cells = <0>;
850			status = "disabled";
851		};
852
853		msiof3: spi@e6c10000 {
854			compatible = "renesas,msiof-r8a77980",
855				     "renesas,rcar-gen3-msiof";
856			reg = <0 0xe6c10000 0 0x0064>;
857			interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
858			clocks = <&cpg CPG_MOD 208>;
859			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
860			resets = <&cpg 208>;
861			#address-cells = <1>;
862			#size-cells = <0>;
863			status = "disabled";
864		};
865
866		vin0: video@e6ef0000 {
867			compatible = "renesas,vin-r8a77980";
868			reg = <0 0xe6ef0000 0 0x1000>;
869			interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
870			clocks = <&cpg CPG_MOD 811>;
871			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
872			resets = <&cpg 811>;
873			renesas,id = <0>;
874			status = "disabled";
875
876			ports {
877				#address-cells = <1>;
878				#size-cells = <0>;
879
880				port@1 {
881					#address-cells = <1>;
882					#size-cells = <0>;
883
884					reg = <1>;
885
886					vin0csi40: endpoint@2 {
887						reg = <2>;
888						remote-endpoint = <&csi40vin0>;
889					};
890				};
891			};
892		};
893
894		vin1: video@e6ef1000 {
895			compatible = "renesas,vin-r8a77980";
896			reg = <0 0xe6ef1000 0 0x1000>;
897			interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
898			clocks = <&cpg CPG_MOD 810>;
899			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
900			status = "disabled";
901			renesas,id = <1>;
902			resets = <&cpg 810>;
903
904			ports {
905				#address-cells = <1>;
906				#size-cells = <0>;
907
908				port@1 {
909					#address-cells = <1>;
910					#size-cells = <0>;
911
912					reg = <1>;
913
914					vin1csi40: endpoint@2 {
915						reg = <2>;
916						remote-endpoint = <&csi40vin1>;
917					};
918				};
919			};
920		};
921
922		vin2: video@e6ef2000 {
923			compatible = "renesas,vin-r8a77980";
924			reg = <0 0xe6ef2000 0 0x1000>;
925			interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
926			clocks = <&cpg CPG_MOD 809>;
927			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
928			resets = <&cpg 809>;
929			renesas,id = <2>;
930			status = "disabled";
931
932			ports {
933				#address-cells = <1>;
934				#size-cells = <0>;
935
936				port@1 {
937					#address-cells = <1>;
938					#size-cells = <0>;
939
940					reg = <1>;
941
942					vin2csi40: endpoint@2 {
943						reg = <2>;
944						remote-endpoint = <&csi40vin2>;
945					};
946				};
947			};
948		};
949
950		vin3: video@e6ef3000 {
951			compatible = "renesas,vin-r8a77980";
952			reg = <0 0xe6ef3000 0 0x1000>;
953			interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
954			clocks = <&cpg CPG_MOD 808>;
955			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
956			resets = <&cpg 808>;
957			renesas,id = <3>;
958			status = "disabled";
959
960			ports {
961				#address-cells = <1>;
962				#size-cells = <0>;
963
964				port@1 {
965					#address-cells = <1>;
966					#size-cells = <0>;
967
968					reg = <1>;
969
970					vin3csi40: endpoint@2 {
971						reg = <2>;
972						remote-endpoint = <&csi40vin3>;
973					};
974				};
975			};
976		};
977
978		vin4: video@e6ef4000 {
979			compatible = "renesas,vin-r8a77980";
980			reg = <0 0xe6ef4000 0 0x1000>;
981			interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
982			clocks = <&cpg CPG_MOD 807>;
983			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
984			resets = <&cpg 807>;
985			renesas,id = <4>;
986			status = "disabled";
987
988			ports {
989				#address-cells = <1>;
990				#size-cells = <0>;
991
992				port@1 {
993					#address-cells = <1>;
994					#size-cells = <0>;
995
996					reg = <1>;
997
998					vin4csi41: endpoint@3 {
999						reg = <3>;
1000						remote-endpoint = <&csi41vin4>;
1001					};
1002				};
1003			};
1004		};
1005
1006		vin5: video@e6ef5000 {
1007			compatible = "renesas,vin-r8a77980";
1008			reg = <0 0xe6ef5000 0 0x1000>;
1009			interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
1010			clocks = <&cpg CPG_MOD 806>;
1011			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1012			resets = <&cpg 806>;
1013			renesas,id = <5>;
1014			status = "disabled";
1015
1016			ports {
1017				#address-cells = <1>;
1018				#size-cells = <0>;
1019
1020				port@1 {
1021					#address-cells = <1>;
1022					#size-cells = <0>;
1023
1024					reg = <1>;
1025
1026					vin5csi41: endpoint@3 {
1027						reg = <3>;
1028						remote-endpoint = <&csi41vin5>;
1029					};
1030				};
1031			};
1032		};
1033
1034		vin6: video@e6ef6000 {
1035			compatible = "renesas,vin-r8a77980";
1036			reg = <0 0xe6ef6000 0 0x1000>;
1037			interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
1038			clocks = <&cpg CPG_MOD 805>;
1039			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1040			resets = <&cpg 805>;
1041			renesas,id = <6>;
1042			status = "disabled";
1043
1044			ports {
1045				#address-cells = <1>;
1046				#size-cells = <0>;
1047
1048				port@1 {
1049					#address-cells = <1>;
1050					#size-cells = <0>;
1051
1052					reg = <1>;
1053
1054					vin6csi41: endpoint@3 {
1055						reg = <3>;
1056						remote-endpoint = <&csi41vin6>;
1057					};
1058				};
1059			};
1060		};
1061
1062		vin7: video@e6ef7000 {
1063			compatible = "renesas,vin-r8a77980";
1064			reg = <0 0xe6ef7000 0 0x1000>;
1065			interrupts = <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>;
1066			clocks = <&cpg CPG_MOD 804>;
1067			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1068			resets = <&cpg 804>;
1069			renesas,id = <7>;
1070			status = "disabled";
1071
1072			ports {
1073				#address-cells = <1>;
1074				#size-cells = <0>;
1075
1076				port@1 {
1077					#address-cells = <1>;
1078					#size-cells = <0>;
1079
1080					reg = <1>;
1081
1082					vin7csi41: endpoint@3 {
1083						reg = <3>;
1084						remote-endpoint = <&csi41vin7>;
1085					};
1086				};
1087			};
1088		};
1089
1090		vin8: video@e6ef8000 {
1091			compatible = "renesas,vin-r8a77980";
1092			reg = <0 0xe6ef8000 0 0x1000>;
1093			interrupts = <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
1094			clocks = <&cpg CPG_MOD 628>;
1095			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1096			resets = <&cpg 628>;
1097			renesas,id = <8>;
1098			status = "disabled";
1099		};
1100
1101		vin9: video@e6ef9000 {
1102			compatible = "renesas,vin-r8a77980";
1103			reg = <0 0xe6ef9000 0 0x1000>;
1104			interrupts = <GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH>;
1105			clocks = <&cpg CPG_MOD 627>;
1106			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1107			resets = <&cpg 627>;
1108			renesas,id = <9>;
1109			status = "disabled";
1110		};
1111
1112		vin10: video@e6efa000 {
1113			compatible = "renesas,vin-r8a77980";
1114			reg = <0 0xe6efa000 0 0x1000>;
1115			interrupts = <GIC_SPI 289 IRQ_TYPE_LEVEL_HIGH>;
1116			clocks = <&cpg CPG_MOD 625>;
1117			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1118			resets = <&cpg 625>;
1119			renesas,id = <10>;
1120			status = "disabled";
1121		};
1122
1123		vin11: video@e6efb000 {
1124			compatible = "renesas,vin-r8a77980";
1125			reg = <0 0xe6efb000 0 0x1000>;
1126			interrupts = <GIC_SPI 296 IRQ_TYPE_LEVEL_HIGH>;
1127			clocks = <&cpg CPG_MOD 618>;
1128			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1129			resets = <&cpg 618>;
1130			renesas,id = <11>;
1131			status = "disabled";
1132		};
1133
1134		vin12: video@e6efc000 {
1135			compatible = "renesas,vin-r8a77980";
1136			reg = <0 0xe6efc000 0 0x1000>;
1137			interrupts = <GIC_SPI 298 IRQ_TYPE_LEVEL_HIGH>;
1138			clocks = <&cpg CPG_MOD 612>;
1139			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1140			resets = <&cpg 612>;
1141			renesas,id = <12>;
1142			status = "disabled";
1143		};
1144
1145		vin13: video@e6efd000 {
1146			compatible = "renesas,vin-r8a77980";
1147			reg = <0 0xe6efd000 0 0x1000>;
1148			interrupts = <GIC_SPI 299 IRQ_TYPE_LEVEL_HIGH>;
1149			clocks = <&cpg CPG_MOD 608>;
1150			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1151			resets = <&cpg 608>;
1152			renesas,id = <13>;
1153			status = "disabled";
1154		};
1155
1156		vin14: video@e6efe000 {
1157			compatible = "renesas,vin-r8a77980";
1158			reg = <0 0xe6efe000 0 0x1000>;
1159			interrupts = <GIC_SPI 301 IRQ_TYPE_LEVEL_HIGH>;
1160			clocks = <&cpg CPG_MOD 605>;
1161			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1162			resets = <&cpg 605>;
1163			renesas,id = <14>;
1164			status = "disabled";
1165		};
1166
1167		vin15: video@e6eff000 {
1168			compatible = "renesas,vin-r8a77980";
1169			reg = <0 0xe6eff000 0 0x1000>;
1170			interrupts = <GIC_SPI 302 IRQ_TYPE_LEVEL_HIGH>;
1171			clocks = <&cpg CPG_MOD 604>;
1172			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1173			resets = <&cpg 604>;
1174			renesas,id = <15>;
1175			status = "disabled";
1176		};
1177
1178		dmac1: dma-controller@e7300000 {
1179			compatible = "renesas,dmac-r8a77980",
1180				     "renesas,rcar-dmac";
1181			reg = <0 0xe7300000 0 0x10000>;
1182			interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>,
1183				     <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>,
1184				     <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
1185				     <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>,
1186				     <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
1187				     <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>,
1188				     <GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>,
1189				     <GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH>,
1190				     <GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH>,
1191				     <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>,
1192				     <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>,
1193				     <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>,
1194				     <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>,
1195				     <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>,
1196				     <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>,
1197				     <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>,
1198				     <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1199			interrupt-names = "error",
1200					  "ch0", "ch1", "ch2", "ch3",
1201					  "ch4", "ch5", "ch6", "ch7",
1202					  "ch8", "ch9", "ch10", "ch11",
1203					  "ch12", "ch13", "ch14", "ch15";
1204			clocks = <&cpg CPG_MOD 218>;
1205			clock-names = "fck";
1206			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1207			resets = <&cpg 218>;
1208			#dma-cells = <1>;
1209			dma-channels = <16>;
1210			iommus = <&ipmmu_ds1 0>, <&ipmmu_ds1 1>,
1211			       <&ipmmu_ds1 2>, <&ipmmu_ds1 3>,
1212			       <&ipmmu_ds1 4>, <&ipmmu_ds1 5>,
1213			       <&ipmmu_ds1 6>, <&ipmmu_ds1 7>,
1214			       <&ipmmu_ds1 8>, <&ipmmu_ds1 9>,
1215			       <&ipmmu_ds1 10>, <&ipmmu_ds1 11>,
1216			       <&ipmmu_ds1 12>, <&ipmmu_ds1 13>,
1217			       <&ipmmu_ds1 14>, <&ipmmu_ds1 15>;
1218		};
1219
1220		dmac2: dma-controller@e7310000 {
1221			compatible = "renesas,dmac-r8a77980",
1222				     "renesas,rcar-dmac";
1223			reg = <0 0xe7310000 0 0x10000>;
1224			interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>,
1225				     <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>,
1226				     <GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH>,
1227				     <GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH>,
1228				     <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
1229				     <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
1230				     <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
1231				     <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
1232				     <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
1233				     <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>,
1234				     <GIC_SPI 362 IRQ_TYPE_LEVEL_HIGH>,
1235				     <GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH>,
1236				     <GIC_SPI 364 IRQ_TYPE_LEVEL_HIGH>,
1237				     <GIC_SPI 365 IRQ_TYPE_LEVEL_HIGH>,
1238				     <GIC_SPI 366 IRQ_TYPE_LEVEL_HIGH>,
1239				     <GIC_SPI 367 IRQ_TYPE_LEVEL_HIGH>,
1240				     <GIC_SPI 368 IRQ_TYPE_LEVEL_HIGH>;
1241			interrupt-names = "error",
1242					  "ch0", "ch1", "ch2", "ch3",
1243					  "ch4", "ch5", "ch6", "ch7",
1244					  "ch8", "ch9", "ch10", "ch11",
1245					  "ch12", "ch13", "ch14", "ch15";
1246			clocks = <&cpg CPG_MOD 217>;
1247			clock-names = "fck";
1248			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1249			resets = <&cpg 217>;
1250			#dma-cells = <1>;
1251			dma-channels = <16>;
1252			iommus = <&ipmmu_ds1 16>, <&ipmmu_ds1 17>,
1253			       <&ipmmu_ds1 18>, <&ipmmu_ds1 19>,
1254			       <&ipmmu_ds1 20>, <&ipmmu_ds1 21>,
1255			       <&ipmmu_ds1 22>, <&ipmmu_ds1 23>,
1256			       <&ipmmu_ds1 24>, <&ipmmu_ds1 25>,
1257			       <&ipmmu_ds1 26>, <&ipmmu_ds1 27>,
1258			       <&ipmmu_ds1 28>, <&ipmmu_ds1 29>,
1259			       <&ipmmu_ds1 30>, <&ipmmu_ds1 31>;
1260		};
1261
1262		gether: ethernet@e7400000 {
1263			compatible = "renesas,gether-r8a77980";
1264			reg = <0 0xe7400000 0 0x1000>;
1265			interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
1266			clocks = <&cpg CPG_MOD 813>;
1267			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1268			resets = <&cpg 813>;
1269			#address-cells = <1>;
1270			#size-cells = <0>;
1271			status = "disabled";
1272		};
1273
1274		ipmmu_ds1: iommu@e7740000 {
1275			compatible = "renesas,ipmmu-r8a77980";
1276			reg = <0 0xe7740000 0 0x1000>;
1277			renesas,ipmmu-main = <&ipmmu_mm 0>;
1278			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1279			#iommu-cells = <1>;
1280		};
1281
1282		ipmmu_ir: iommu@ff8b0000 {
1283			compatible = "renesas,ipmmu-r8a77980";
1284			reg = <0 0xff8b0000 0 0x1000>;
1285			renesas,ipmmu-main = <&ipmmu_mm 3>;
1286			power-domains = <&sysc R8A77980_PD_A3IR>;
1287			#iommu-cells = <1>;
1288		};
1289
1290		ipmmu_mm: iommu@e67b0000 {
1291			compatible = "renesas,ipmmu-r8a77980";
1292			reg = <0 0xe67b0000 0 0x1000>;
1293			interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
1294				     <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
1295			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1296			#iommu-cells = <1>;
1297		};
1298
1299		ipmmu_rt: iommu@ffc80000 {
1300			compatible = "renesas,ipmmu-r8a77980";
1301			reg = <0 0xffc80000 0 0x1000>;
1302			renesas,ipmmu-main = <&ipmmu_mm 10>;
1303			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1304			#iommu-cells = <1>;
1305		};
1306
1307		ipmmu_vc0: iommu@fe990000 {
1308			compatible = "renesas,ipmmu-r8a77980";
1309			reg = <0 0xfe990000 0 0x1000>;
1310			renesas,ipmmu-main = <&ipmmu_mm 12>;
1311			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1312			#iommu-cells = <1>;
1313		};
1314
1315		ipmmu_vi0: iommu@febd0000 {
1316			compatible = "renesas,ipmmu-r8a77980";
1317			reg = <0 0xfebd0000 0 0x1000>;
1318			renesas,ipmmu-main = <&ipmmu_mm 14>;
1319			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1320			#iommu-cells = <1>;
1321		};
1322
1323		ipmmu_vip0: iommu@e7b00000 {
1324			compatible = "renesas,ipmmu-r8a77980";
1325			reg = <0 0xe7b00000 0 0x1000>;
1326			renesas,ipmmu-main = <&ipmmu_mm 4>;
1327			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1328			#iommu-cells = <1>;
1329		};
1330
1331		ipmmu_vip1: iommu@e7960000 {
1332			compatible = "renesas,ipmmu-r8a77980";
1333			reg = <0 0xe7960000 0 0x1000>;
1334			renesas,ipmmu-main = <&ipmmu_mm 11>;
1335			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1336			#iommu-cells = <1>;
1337		};
1338
1339		mmc0: mmc@ee140000 {
1340			compatible = "renesas,sdhi-r8a77980",
1341				     "renesas,rcar-gen3-sdhi";
1342			reg = <0 0xee140000 0 0x2000>;
1343			interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
1344			clocks = <&cpg CPG_MOD 314>, <&cpg CPG_CORE R8A77980_CLK_SD0H>;
1345			clock-names = "core", "clkh";
1346			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1347			resets = <&cpg 314>;
1348			max-frequency = <200000000>;
1349			iommus = <&ipmmu_ds1 32>;
1350			status = "disabled";
1351		};
1352
1353		rpc: spi@ee200000 {
1354			compatible = "renesas,r8a77980-rpc-if",
1355				     "renesas,rcar-gen3-rpc-if";
1356			reg = <0 0xee200000 0 0x200>,
1357			      <0 0x08000000 0 0x4000000>,
1358			      <0 0xee208000 0 0x100>;
1359			reg-names = "regs", "dirmap", "wbuf";
1360			interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
1361			clocks = <&cpg CPG_MOD 917>;
1362			clock-names = "rpc";
1363			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1364			resets = <&cpg 917>;
1365			#address-cells = <1>;
1366			#size-cells = <0>;
1367			status = "disabled";
1368		};
1369
1370		gic: interrupt-controller@f1010000 {
1371			compatible = "arm,gic-400";
1372			#interrupt-cells = <3>;
1373			#address-cells = <0>;
1374			interrupt-controller;
1375			reg = <0x0 0xf1010000 0 0x1000>,
1376			      <0x0 0xf1020000 0 0x20000>,
1377			      <0x0 0xf1040000 0 0x20000>,
1378			      <0x0 0xf1060000 0 0x20000>;
1379			interrupts = <GIC_PPI 9	(GIC_CPU_MASK_SIMPLE(4) |
1380				      IRQ_TYPE_LEVEL_HIGH)>;
1381			clocks = <&cpg CPG_MOD 408>;
1382			clock-names = "clk";
1383			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1384			resets = <&cpg 408>;
1385		};
1386
1387		pciec: pcie@fe000000 {
1388			compatible = "renesas,pcie-r8a77980",
1389				     "renesas,pcie-rcar-gen3";
1390			reg = <0 0xfe000000 0 0x80000>;
1391			#address-cells = <3>;
1392			#size-cells = <2>;
1393			bus-range = <0x00 0xff>;
1394			device_type = "pci";
1395			ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x0100000>,
1396				 <0x02000000 0 0xfe200000 0 0xfe200000 0 0x0200000>,
1397				 <0x02000000 0 0x30000000 0 0x30000000 0 0x8000000>,
1398				 <0x42000000 0 0x38000000 0 0x38000000 0 0x8000000>;
1399			dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000>;
1400			interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
1401				     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
1402				     <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
1403			#interrupt-cells = <1>;
1404			interrupt-map-mask = <0 0 0 0>;
1405			interrupt-map = <0 0 0 0 &gic GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
1406			clocks = <&cpg CPG_MOD 319>, <&pcie_bus_clk>;
1407			clock-names = "pcie", "pcie_bus";
1408			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1409			resets = <&cpg 319>;
1410			phys = <&pcie_phy>;
1411			phy-names = "pcie";
1412			status = "disabled";
1413		};
1414
1415		vspd0: vsp@fea20000 {
1416			compatible = "renesas,vsp2";
1417			reg = <0 0xfea20000 0 0x5000>;
1418			interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
1419			clocks = <&cpg CPG_MOD 623>;
1420			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1421			resets = <&cpg 623>;
1422			renesas,fcp = <&fcpvd0>;
1423		};
1424
1425		fcpvd0: fcp@fea27000 {
1426			compatible = "renesas,fcpv";
1427			reg = <0 0xfea27000 0 0x200>;
1428			clocks = <&cpg CPG_MOD 603>;
1429			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1430			resets = <&cpg 603>;
1431		};
1432
1433		csi40: csi2@feaa0000 {
1434			compatible = "renesas,r8a77980-csi2";
1435			reg = <0 0xfeaa0000 0 0x10000>;
1436			interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
1437			clocks = <&cpg CPG_MOD 716>;
1438			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1439			resets = <&cpg 716>;
1440			status = "disabled";
1441
1442			ports {
1443				#address-cells = <1>;
1444				#size-cells = <0>;
1445
1446				port@0 {
1447					reg = <0>;
1448				};
1449
1450				port@1 {
1451					#address-cells = <1>;
1452					#size-cells = <0>;
1453
1454					reg = <1>;
1455
1456					csi40vin0: endpoint@0 {
1457						reg = <0>;
1458						remote-endpoint = <&vin0csi40>;
1459					};
1460					csi40vin1: endpoint@1 {
1461						reg = <1>;
1462						remote-endpoint = <&vin1csi40>;
1463					};
1464					csi40vin2: endpoint@2 {
1465						reg = <2>;
1466						remote-endpoint = <&vin2csi40>;
1467					};
1468					csi40vin3: endpoint@3 {
1469						reg = <3>;
1470						remote-endpoint = <&vin3csi40>;
1471					};
1472				};
1473			};
1474		};
1475
1476		csi41: csi2@feab0000 {
1477			compatible = "renesas,r8a77980-csi2";
1478			reg = <0 0xfeab0000 0 0x10000>;
1479			interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>;
1480			clocks = <&cpg CPG_MOD 715>;
1481			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1482			resets = <&cpg 715>;
1483			status = "disabled";
1484
1485			ports {
1486				#address-cells = <1>;
1487				#size-cells = <0>;
1488
1489				port@0 {
1490					reg = <0>;
1491				};
1492
1493				port@1 {
1494					#address-cells = <1>;
1495					#size-cells = <0>;
1496
1497					reg = <1>;
1498
1499					csi41vin4: endpoint@0 {
1500						reg = <0>;
1501						remote-endpoint = <&vin4csi41>;
1502					};
1503					csi41vin5: endpoint@1 {
1504						reg = <1>;
1505						remote-endpoint = <&vin5csi41>;
1506					};
1507					csi41vin6: endpoint@2 {
1508						reg = <2>;
1509						remote-endpoint = <&vin6csi41>;
1510					};
1511					csi41vin7: endpoint@3 {
1512						reg = <3>;
1513						remote-endpoint = <&vin7csi41>;
1514					};
1515				};
1516			};
1517		};
1518
1519		du: display@feb00000 {
1520			compatible = "renesas,du-r8a77980";
1521			reg = <0 0xfeb00000 0 0x80000>;
1522			interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
1523			clocks = <&cpg CPG_MOD 724>;
1524			clock-names = "du.0";
1525			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1526			resets = <&cpg 724>;
1527			reset-names = "du.0";
1528			renesas,vsps = <&vspd0 0>;
1529
1530			status = "disabled";
1531
1532			ports {
1533				#address-cells = <1>;
1534				#size-cells = <0>;
1535
1536				port@0 {
1537					reg = <0>;
1538				};
1539
1540				port@1 {
1541					reg = <1>;
1542					du_out_lvds0: endpoint {
1543						remote-endpoint = <&lvds0_in>;
1544					};
1545				};
1546			};
1547		};
1548
1549		lvds0: lvds-encoder@feb90000 {
1550			compatible = "renesas,r8a77980-lvds";
1551			reg = <0 0xfeb90000 0 0x14>;
1552			clocks = <&cpg CPG_MOD 727>;
1553			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
1554			resets = <&cpg 727>;
1555			status = "disabled";
1556
1557			ports {
1558				#address-cells = <1>;
1559				#size-cells = <0>;
1560
1561				port@0 {
1562					reg = <0>;
1563					lvds0_in: endpoint {
1564						remote-endpoint =
1565							<&du_out_lvds0>;
1566					};
1567				};
1568
1569				port@1 {
1570					reg = <1>;
1571				};
1572			};
1573		};
1574
1575		prr: chipid@fff00044 {
1576			compatible = "renesas,prr";
1577			reg = <0 0xfff00044 0 4>;
1578		};
1579	};
1580
1581	thermal-zones {
1582		sensor1_thermal: sensor1-thermal {
1583			polling-delay-passive = <250>;
1584			polling-delay = <1000>;
1585			thermal-sensors = <&tsc 0>;
1586
1587			trips {
1588				sensor1-passive {
1589					temperature = <95000>;
1590					hysteresis = <1000>;
1591					type = "passive";
1592				};
1593				sensor1-critical {
1594					temperature = <120000>;
1595					hysteresis = <1000>;
1596					type = "critical";
1597				};
1598			};
1599		};
1600
1601		sensor2_thermal: sensor2-thermal {
1602			polling-delay-passive = <250>;
1603			polling-delay = <1000>;
1604			thermal-sensors = <&tsc 1>;
1605
1606			trips {
1607				sensor2-passive {
1608					temperature = <95000>;
1609					hysteresis = <1000>;
1610					type = "passive";
1611				};
1612				sensor2-critical {
1613					temperature = <120000>;
1614					hysteresis = <1000>;
1615					type = "critical";
1616				};
1617			};
1618		};
1619	};
1620
1621	timer {
1622		compatible = "arm,armv8-timer";
1623		interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) |
1624				       IRQ_TYPE_LEVEL_LOW)>,
1625				      <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) |
1626				       IRQ_TYPE_LEVEL_LOW)>,
1627				      <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) |
1628				       IRQ_TYPE_LEVEL_LOW)>,
1629				      <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) |
1630				       IRQ_TYPE_LEVEL_LOW)>;
1631	};
1632};
1633