xref: /linux/scripts/dtc/include-prefixes/arm64/renesas/r8a77980.dtsi (revision efcb52e35d162dc9104be56492b65049a17dc6a4)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for the 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	cpus {
29		#address-cells = <1>;
30		#size-cells = <0>;
31
32		a53_0: cpu@0 {
33			device_type = "cpu";
34			compatible = "arm,cortex-a53", "arm,armv8";
35			reg = <0>;
36			clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>;
37			power-domains = <&sysc R8A77980_PD_CA53_CPU0>;
38			next-level-cache = <&L2_CA53>;
39			enable-method = "psci";
40		};
41
42		a53_1: cpu@1 {
43			device_type = "cpu";
44			compatible = "arm,cortex-a53", "arm,armv8";
45			reg = <1>;
46			clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>;
47			power-domains = <&sysc R8A77980_PD_CA53_CPU1>;
48			next-level-cache = <&L2_CA53>;
49			enable-method = "psci";
50		};
51
52		a53_2: cpu@2 {
53			device_type = "cpu";
54			compatible = "arm,cortex-a53", "arm,armv8";
55			reg = <2>;
56			clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>;
57			power-domains = <&sysc R8A77980_PD_CA53_CPU2>;
58			next-level-cache = <&L2_CA53>;
59			enable-method = "psci";
60		};
61
62		a53_3: cpu@3 {
63			device_type = "cpu";
64			compatible = "arm,cortex-a53", "arm,armv8";
65			reg = <3>;
66			clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>;
67			power-domains = <&sysc R8A77980_PD_CA53_CPU3>;
68			next-level-cache = <&L2_CA53>;
69			enable-method = "psci";
70		};
71
72		L2_CA53: cache-controller {
73			compatible = "cache";
74			power-domains = <&sysc R8A77980_PD_CA53_SCU>;
75			cache-unified;
76			cache-level = <2>;
77		};
78	};
79
80	/* External CAN clock - to be overridden by boards that provide it */
81	can_clk: can {
82		compatible = "fixed-clock";
83		#clock-cells = <0>;
84		clock-frequency = <0>;
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	psci {
102		compatible = "arm,psci-1.0", "arm,psci-0.2";
103		method = "smc";
104	};
105
106	/* External SCIF clock - to be overridden by boards that provide it */
107	scif_clk: scif {
108		compatible = "fixed-clock";
109		#clock-cells = <0>;
110		clock-frequency = <0>;
111	};
112
113	soc {
114		compatible = "simple-bus";
115		interrupt-parent = <&gic>;
116
117		#address-cells = <2>;
118		#size-cells = <2>;
119		ranges;
120
121		gpio0: gpio@e6050000 {
122			compatible = "renesas,gpio-r8a77980",
123				     "renesas,rcar-gen3-gpio";
124			reg = <0 0xe6050000 0 0x50>;
125			interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
126			#gpio-cells = <2>;
127			gpio-controller;
128			gpio-ranges = <&pfc 0 0 22>;
129			#interrupt-cells = <2>;
130			interrupt-controller;
131			clocks = <&cpg CPG_MOD 912>;
132			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
133			resets = <&cpg 912>;
134		};
135
136		gpio1: gpio@e6051000 {
137			compatible = "renesas,gpio-r8a77980",
138				     "renesas,rcar-gen3-gpio";
139			reg = <0 0xe6051000 0 0x50>;
140			interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
141			#gpio-cells = <2>;
142			gpio-controller;
143			gpio-ranges = <&pfc 0 32 28>;
144			#interrupt-cells = <2>;
145			interrupt-controller;
146			clocks = <&cpg CPG_MOD 911>;
147			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
148			resets = <&cpg 911>;
149		};
150
151		gpio2: gpio@e6052000 {
152			compatible = "renesas,gpio-r8a77980",
153				     "renesas,rcar-gen3-gpio";
154			reg = <0 0xe6052000 0 0x50>;
155			interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
156			#gpio-cells = <2>;
157			gpio-controller;
158			gpio-ranges = <&pfc 0 64 30>;
159			#interrupt-cells = <2>;
160			interrupt-controller;
161			clocks = <&cpg CPG_MOD 910>;
162			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
163			resets = <&cpg 910>;
164		};
165
166		gpio3: gpio@e6053000 {
167			compatible = "renesas,gpio-r8a77980",
168				     "renesas,rcar-gen3-gpio";
169			reg = <0 0xe6053000 0 0x50>;
170			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
171			#gpio-cells = <2>;
172			gpio-controller;
173			gpio-ranges = <&pfc 0 96 17>;
174			#interrupt-cells = <2>;
175			interrupt-controller;
176			clocks = <&cpg CPG_MOD 909>;
177			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
178			resets = <&cpg 909>;
179		};
180
181		gpio4: gpio@e6054000 {
182			compatible = "renesas,gpio-r8a77980",
183				     "renesas,rcar-gen3-gpio";
184			reg = <0 0xe6054000 0 0x50>;
185			interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
186			#gpio-cells = <2>;
187			gpio-controller;
188			gpio-ranges = <&pfc 0 128 25>;
189			#interrupt-cells = <2>;
190			interrupt-controller;
191			clocks = <&cpg CPG_MOD 908>;
192			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
193			resets = <&cpg 908>;
194		};
195
196		gpio5: gpio@e6055000 {
197			compatible = "renesas,gpio-r8a77980",
198				     "renesas,rcar-gen3-gpio";
199			reg = <0 0xe6055000 0 0x50>;
200			interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
201			#gpio-cells = <2>;
202			gpio-controller;
203			gpio-ranges = <&pfc 0 160 15>;
204			#interrupt-cells = <2>;
205			interrupt-controller;
206			clocks = <&cpg CPG_MOD 907>;
207			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
208			resets = <&cpg 907>;
209		};
210
211		pfc: pin-controller@e6060000 {
212			compatible = "renesas,pfc-r8a77980";
213			reg = <0 0xe6060000 0 0x50c>;
214		};
215
216		cpg: clock-controller@e6150000 {
217			compatible = "renesas,r8a77980-cpg-mssr";
218			reg = <0 0xe6150000 0 0x1000>;
219			clocks = <&extal_clk>, <&extalr_clk>;
220			clock-names = "extal", "extalr";
221			#clock-cells = <2>;
222			#power-domain-cells = <0>;
223			#reset-cells = <1>;
224		};
225
226		rst: reset-controller@e6160000 {
227			compatible = "renesas,r8a77980-rst";
228			reg = <0 0xe6160000 0 0x200>;
229		};
230
231		sysc: system-controller@e6180000 {
232			compatible = "renesas,r8a77980-sysc";
233			reg = <0 0xe6180000 0 0x440>;
234			#power-domain-cells = <1>;
235		};
236
237		i2c0: i2c@e6500000 {
238			compatible = "renesas,i2c-r8a77980",
239				     "renesas,rcar-gen3-i2c";
240			reg = <0 0xe6500000 0 0x40>;
241			interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
242			clocks = <&cpg CPG_MOD 931>;
243			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
244			resets = <&cpg 931>;
245			dmas = <&dmac1 0x91>, <&dmac1 0x90>,
246			       <&dmac2 0x91>, <&dmac2 0x90>;
247			dma-names = "tx", "rx", "tx", "rx";
248			i2c-scl-internal-delay-ns = <6>;
249			#address-cells = <1>;
250			#size-cells = <0>;
251			status = "disabled";
252		};
253
254		i2c1: i2c@e6508000 {
255			compatible = "renesas,i2c-r8a77980",
256				     "renesas,rcar-gen3-i2c";
257			reg = <0 0xe6508000 0 0x40>;
258			interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
259			clocks = <&cpg CPG_MOD 930>;
260			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
261			resets = <&cpg 930>;
262			dmas = <&dmac1 0x93>, <&dmac1 0x92>,
263			       <&dmac2 0x93>, <&dmac2 0x92>;
264			dma-names = "tx", "rx", "tx", "rx";
265			i2c-scl-internal-delay-ns = <6>;
266			#address-cells = <1>;
267			#size-cells = <0>;
268			status = "disabled";
269		};
270
271		i2c2: i2c@e6510000 {
272			compatible = "renesas,i2c-r8a77980",
273				     "renesas,rcar-gen3-i2c";
274			reg = <0 0xe6510000 0 0x40>;
275			interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
276			clocks = <&cpg CPG_MOD 929>;
277			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
278			resets = <&cpg 929>;
279			dmas = <&dmac1 0x95>, <&dmac1 0x94>,
280			       <&dmac2 0x95>, <&dmac2 0x94>;
281			dma-names = "tx", "rx", "tx", "rx";
282			i2c-scl-internal-delay-ns = <6>;
283			#address-cells = <1>;
284			#size-cells = <0>;
285			status = "disabled";
286		};
287
288		i2c3: i2c@e66d0000 {
289			compatible = "renesas,i2c-r8a77980",
290				     "renesas,rcar-gen3-i2c";
291			reg = <0 0xe66d0000 0 0x40>;
292			interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
293			clocks = <&cpg CPG_MOD 928>;
294			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
295			resets = <&cpg 928>;
296			i2c-scl-internal-delay-ns = <6>;
297			#address-cells = <1>;
298			#size-cells = <0>;
299			status = "disabled";
300		};
301
302		i2c4: i2c@e66d8000 {
303			compatible = "renesas,i2c-r8a77980",
304				     "renesas,rcar-gen3-i2c";
305			reg = <0 0xe66d8000 0 0x40>;
306			interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
307			clocks = <&cpg CPG_MOD 927>;
308			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
309			resets = <&cpg 927>;
310			i2c-scl-internal-delay-ns = <6>;
311			#address-cells = <1>;
312			#size-cells = <0>;
313			status = "disabled";
314		};
315
316		i2c5: i2c@e66e0000 {
317			compatible = "renesas,i2c-r8a77980",
318				     "renesas,rcar-gen3-i2c";
319			reg = <0 0xe66e0000 0 0x40>;
320			interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
321			clocks = <&cpg CPG_MOD 919>;
322			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
323			resets = <&cpg 919>;
324			dmas = <&dmac1 0x9b>, <&dmac1 0x9a>,
325			       <&dmac2 0x9b>, <&dmac2 0x9a>;
326			dma-names = "tx", "rx", "tx", "rx";
327			i2c-scl-internal-delay-ns = <6>;
328			#address-cells = <1>;
329			#size-cells = <0>;
330			status = "disabled";
331		};
332
333		hscif0: serial@e6540000 {
334			compatible = "renesas,hscif-r8a77980",
335				     "renesas,rcar-gen3-hscif",
336				     "renesas,hscif";
337			reg = <0 0xe6540000 0 0x60>;
338			interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
339			clocks = <&cpg CPG_MOD 520>,
340				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
341				 <&scif_clk>;
342			clock-names = "fck", "brg_int", "scif_clk";
343			dmas = <&dmac1 0x31>, <&dmac1 0x30>,
344			       <&dmac2 0x31>, <&dmac2 0x30>;
345			dma-names = "tx", "rx", "tx", "rx";
346			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
347			resets = <&cpg 520>;
348			status = "disabled";
349		};
350
351		hscif1: serial@e6550000 {
352			compatible = "renesas,hscif-r8a77980",
353				     "renesas,rcar-gen3-hscif",
354				     "renesas,hscif";
355			reg = <0 0xe6550000 0 0x60>;
356			interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
357			clocks = <&cpg CPG_MOD 519>,
358				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
359				 <&scif_clk>;
360			clock-names = "fck", "brg_int", "scif_clk";
361			dmas = <&dmac1 0x33>, <&dmac1 0x32>,
362			       <&dmac2 0x33>, <&dmac2 0x32>;
363			dma-names = "tx", "rx", "tx", "rx";
364			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
365			resets = <&cpg 519>;
366			status = "disabled";
367		};
368
369		hscif2: serial@e6560000 {
370			compatible = "renesas,hscif-r8a77980",
371				     "renesas,rcar-gen3-hscif",
372				     "renesas,hscif";
373			reg = <0 0xe6560000 0 0x60>;
374			interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
375			clocks = <&cpg CPG_MOD 518>,
376				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
377				 <&scif_clk>;
378			clock-names = "fck", "brg_int", "scif_clk";
379			dmas = <&dmac1 0x35>, <&dmac1 0x34>,
380			       <&dmac2 0x35>, <&dmac2 0x34>;
381			dma-names = "tx", "rx", "tx", "rx";
382			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
383			resets = <&cpg 518>;
384			status = "disabled";
385		};
386
387		hscif3: serial@e66a0000 {
388			compatible = "renesas,hscif-r8a77980",
389				     "renesas,rcar-gen3-hscif",
390				     "renesas,hscif";
391			reg = <0 0xe66a0000 0 0x60>;
392			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
393			clocks = <&cpg CPG_MOD 517>,
394				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
395				 <&scif_clk>;
396			clock-names = "fck", "brg_int", "scif_clk";
397			dmas = <&dmac1 0x37>, <&dmac1 0x36>,
398			       <&dmac2 0x37>, <&dmac2 0x36>;
399			dma-names = "tx", "rx", "tx", "rx";
400			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
401			resets = <&cpg 517>;
402			status = "disabled";
403		};
404
405		canfd: can@e66c0000 {
406			compatible = "renesas,r8a77980-canfd",
407				     "renesas,rcar-gen3-canfd";
408			reg = <0 0xe66c0000 0 0x8000>;
409			interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
410				     <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
411			clocks = <&cpg CPG_MOD 914>,
412				 <&cpg CPG_CORE R8A77980_CLK_CANFD>,
413				 <&can_clk>;
414			clock-names = "fck", "canfd", "can_clk";
415			assigned-clocks = <&cpg CPG_CORE R8A77980_CLK_CANFD>;
416			assigned-clock-rates = <40000000>;
417			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
418			resets = <&cpg 914>;
419			status = "disabled";
420
421			channel0 {
422				status = "disabled";
423			};
424
425			channel1 {
426				status = "disabled";
427			};
428		};
429
430		avb: ethernet@e6800000 {
431			compatible = "renesas,etheravb-r8a77980",
432				     "renesas,etheravb-rcar-gen3";
433			reg = <0 0xe6800000 0 0x800>;
434			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
435				     <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
436				     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
437				     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
438				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
439				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
440				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
441				     <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
442				     <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
443				     <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
444				     <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
445				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
446				     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
447				     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
448				     <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
449				     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
450				     <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
451				     <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
452				     <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
453				     <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
454				     <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
455				     <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
456				     <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
457				     <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
458				     <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
459			interrupt-names = "ch0", "ch1", "ch2", "ch3",
460					  "ch4", "ch5", "ch6", "ch7",
461					  "ch8", "ch9", "ch10", "ch11",
462					  "ch12", "ch13", "ch14", "ch15",
463					  "ch16", "ch17", "ch18", "ch19",
464					  "ch20", "ch21", "ch22", "ch23",
465					  "ch24";
466			clocks = <&cpg CPG_MOD 812>;
467			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
468			resets = <&cpg 812>;
469			phy-mode = "rgmii";
470			#address-cells = <1>;
471			#size-cells = <0>;
472			status = "disabled";
473		};
474
475		scif0: serial@e6e60000 {
476			compatible = "renesas,scif-r8a77980",
477				     "renesas,rcar-gen3-scif",
478				     "renesas,scif";
479			reg = <0 0xe6e60000 0 0x40>;
480			interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
481			clocks = <&cpg CPG_MOD 207>,
482				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
483				 <&scif_clk>;
484			clock-names = "fck", "brg_int", "scif_clk";
485			dmas = <&dmac1 0x51>, <&dmac1 0x50>,
486			       <&dmac2 0x51>, <&dmac2 0x50>;
487			dma-names = "tx", "rx", "tx", "rx";
488			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
489			resets = <&cpg 207>;
490			status = "disabled";
491		};
492
493		scif1: serial@e6e68000 {
494			compatible = "renesas,scif-r8a77980",
495				     "renesas,rcar-gen3-scif",
496				     "renesas,scif";
497			reg = <0 0xe6e68000 0 0x40>;
498			interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
499			clocks = <&cpg CPG_MOD 206>,
500				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
501				 <&scif_clk>;
502			clock-names = "fck", "brg_int", "scif_clk";
503			dmas = <&dmac1 0x53>, <&dmac1 0x52>,
504			       <&dmac2 0x53>, <&dmac2 0x52>;
505			dma-names = "tx", "rx", "tx", "rx";
506			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
507			resets = <&cpg 206>;
508			status = "disabled";
509		};
510
511		scif3: serial@e6c50000 {
512			compatible = "renesas,scif-r8a77980",
513				     "renesas,rcar-gen3-scif",
514				     "renesas,scif";
515			reg = <0 0xe6c50000 0 0x40>;
516			interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
517			clocks = <&cpg CPG_MOD 204>,
518				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
519				 <&scif_clk>;
520			clock-names = "fck", "brg_int", "scif_clk";
521			dmas = <&dmac1 0x57>, <&dmac1 0x56>,
522			       <&dmac2 0x57>, <&dmac2 0x56>;
523			dma-names = "tx", "rx", "tx", "rx";
524			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
525			resets = <&cpg 204>;
526			status = "disabled";
527		};
528
529		scif4: serial@e6c40000 {
530			compatible = "renesas,scif-r8a77980",
531				     "renesas,rcar-gen3-scif",
532				     "renesas,scif";
533			reg = <0 0xe6c40000 0 0x40>;
534			interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
535			clocks = <&cpg CPG_MOD 203>,
536				 <&cpg CPG_CORE R8A77980_CLK_S3D1>,
537				 <&scif_clk>;
538			clock-names = "fck", "brg_int", "scif_clk";
539			dmas = <&dmac1 0x59>, <&dmac1 0x58>,
540			       <&dmac2 0x59>, <&dmac2 0x58>;
541			dma-names = "tx", "rx", "tx", "rx";
542			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
543			resets = <&cpg 203>;
544			status = "disabled";
545		};
546
547		dmac1: dma-controller@e7300000 {
548			compatible = "renesas,dmac-r8a77980",
549				     "renesas,rcar-dmac";
550			reg = <0 0xe7300000 0 0x10000>;
551			interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
552				      GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
553				      GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
554				      GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
555				      GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
556				      GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
557				      GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
558				      GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
559				      GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
560				      GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH
561				      GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH
562				      GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH
563				      GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH
564				      GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH
565				      GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH
566				      GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH
567				      GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
568			interrupt-names = "error",
569					  "ch0", "ch1", "ch2", "ch3",
570					  "ch4", "ch5", "ch6", "ch7",
571					  "ch8", "ch9", "ch10", "ch11",
572					  "ch12", "ch13", "ch14", "ch15";
573			clocks = <&cpg CPG_MOD 218>;
574			clock-names = "fck";
575			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
576			resets = <&cpg 218>;
577			#dma-cells = <1>;
578			dma-channels = <16>;
579		};
580
581		dmac2: dma-controller@e7310000 {
582			compatible = "renesas,dmac-r8a77980",
583				     "renesas,rcar-dmac";
584			reg = <0 0xe7310000 0 0x10000>;
585			interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH
586				      GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
587				      GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
588				      GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
589				      GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
590				      GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
591				      GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
592				      GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
593				      GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH
594				      GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH
595				      GIC_SPI 362 IRQ_TYPE_LEVEL_HIGH
596				      GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH
597				      GIC_SPI 364 IRQ_TYPE_LEVEL_HIGH
598				      GIC_SPI 365 IRQ_TYPE_LEVEL_HIGH
599				      GIC_SPI 366 IRQ_TYPE_LEVEL_HIGH
600				      GIC_SPI 367 IRQ_TYPE_LEVEL_HIGH
601				      GIC_SPI 368 IRQ_TYPE_LEVEL_HIGH>;
602			interrupt-names = "error",
603					  "ch0", "ch1", "ch2", "ch3",
604					  "ch4", "ch5", "ch6", "ch7",
605					  "ch8", "ch9", "ch10", "ch11",
606					  "ch12", "ch13", "ch14", "ch15";
607			clocks = <&cpg CPG_MOD 217>;
608			clock-names = "fck";
609			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
610			resets = <&cpg 217>;
611			#dma-cells = <1>;
612			dma-channels = <16>;
613		};
614
615		gether: ethernet@e7400000 {
616			compatible = "renesas,gether-r8a77980";
617			reg = <0 0xe7400000 0 0x1000>;
618			interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
619			clocks = <&cpg CPG_MOD 813>;
620			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
621			resets = <&cpg 813>;
622			#address-cells = <1>;
623			#size-cells = <0>;
624			status = "disabled";
625		};
626
627		mmc0: mmc@ee140000 {
628			compatible = "renesas,sdhi-r8a77980",
629				     "renesas,rcar-gen3-sdhi";
630			reg = <0 0xee140000 0 0x2000>;
631			interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
632			clocks = <&cpg CPG_MOD 314>;
633			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
634			resets = <&cpg 314>;
635			max-frequency = <200000000>;
636			status = "disabled";
637		};
638
639		gic: interrupt-controller@f1010000 {
640			compatible = "arm,gic-400";
641			#interrupt-cells = <3>;
642			#address-cells = <0>;
643			interrupt-controller;
644			reg = <0x0 0xf1010000 0 0x1000>,
645			      <0x0 0xf1020000 0 0x20000>,
646			      <0x0 0xf1040000 0 0x20000>,
647			      <0x0 0xf1060000 0 0x20000>;
648			interrupts = <GIC_PPI 9	(GIC_CPU_MASK_SIMPLE(4) |
649				      IRQ_TYPE_LEVEL_HIGH)>;
650			clocks = <&cpg CPG_MOD 408>;
651			clock-names = "clk";
652			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
653			resets = <&cpg 408>;
654		};
655
656		prr: chipid@fff00044 {
657			compatible = "renesas,prr";
658			reg = <0 0xfff00044 0 4>;
659		};
660	};
661
662	timer {
663		compatible = "arm,armv8-timer";
664		interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) |
665				       IRQ_TYPE_LEVEL_LOW)>,
666				      <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) |
667				       IRQ_TYPE_LEVEL_LOW)>,
668				      <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) |
669				       IRQ_TYPE_LEVEL_LOW)>,
670				      <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) |
671				       IRQ_TYPE_LEVEL_LOW)>;
672	};
673};
674