xref: /linux/arch/arm64/boot/dts/renesas/r8a77990.dtsi (revision ec70407ae7d790d6b34bfe582901c1149e842248)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Device Tree Source for the R-Car E3 (R8A77990) SoC
4 *
5 * Copyright (C) 2018 Renesas Electronics Corp.
6 */
7
8#include <dt-bindings/clock/r8a77990-cpg-mssr.h>
9#include <dt-bindings/interrupt-controller/arm-gic.h>
10#include <dt-bindings/power/r8a77990-sysc.h>
11
12/ {
13	compatible = "renesas,r8a77990";
14	#address-cells = <2>;
15	#size-cells = <2>;
16
17	cpus {
18		#address-cells = <1>;
19		#size-cells = <0>;
20
21		a53_0: cpu@0 {
22			compatible = "arm,cortex-a53", "arm,armv8";
23			reg = <0>;
24			device_type = "cpu";
25			power-domains = <&sysc R8A77990_PD_CA53_CPU0>;
26			next-level-cache = <&L2_CA53>;
27			enable-method = "psci";
28		};
29
30		a53_1: cpu@1 {
31			compatible = "arm,cortex-a53", "arm,armv8";
32			reg = <1>;
33			device_type = "cpu";
34			power-domains = <&sysc R8A77990_PD_CA53_CPU1>;
35			next-level-cache = <&L2_CA53>;
36			enable-method = "psci";
37		};
38
39		L2_CA53: cache-controller-0 {
40			compatible = "cache";
41			power-domains = <&sysc R8A77990_PD_CA53_SCU>;
42			cache-unified;
43			cache-level = <2>;
44		};
45	};
46
47	extal_clk: extal {
48		compatible = "fixed-clock";
49		#clock-cells = <0>;
50		/* This value must be overridden by the board */
51		clock-frequency = <0>;
52	};
53
54	pmu_a53 {
55		compatible = "arm,cortex-a53-pmu";
56		interrupts-extended = <&gic GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
57				      <&gic GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
58		interrupt-affinity = <&a53_0>, <&a53_1>;
59	};
60
61	psci {
62		compatible = "arm,psci-1.0", "arm,psci-0.2";
63		method = "smc";
64	};
65
66	/* External SCIF clock - to be overridden by boards that provide it */
67	scif_clk: scif {
68		compatible = "fixed-clock";
69		#clock-cells = <0>;
70		clock-frequency = <0>;
71	};
72
73	soc: soc {
74		compatible = "simple-bus";
75		interrupt-parent = <&gic>;
76		#address-cells = <2>;
77		#size-cells = <2>;
78		ranges;
79
80		rwdt: watchdog@e6020000 {
81			compatible = "renesas,r8a77990-wdt",
82				     "renesas,rcar-gen3-wdt";
83			reg = <0 0xe6020000 0 0x0c>;
84			clocks = <&cpg CPG_MOD 402>;
85			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
86			resets = <&cpg 402>;
87			status = "disabled";
88		};
89
90		gpio0: gpio@e6050000 {
91			compatible = "renesas,gpio-r8a77990",
92				     "renesas,rcar-gen3-gpio";
93			reg = <0 0xe6050000 0 0x50>;
94			interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
95			#gpio-cells = <2>;
96			gpio-controller;
97			gpio-ranges = <&pfc 0 0 18>;
98			#interrupt-cells = <2>;
99			interrupt-controller;
100			clocks = <&cpg CPG_MOD 912>;
101			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
102			resets = <&cpg 912>;
103		};
104
105		gpio1: gpio@e6051000 {
106			compatible = "renesas,gpio-r8a77990",
107				     "renesas,rcar-gen3-gpio";
108			reg = <0 0xe6051000 0 0x50>;
109			interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
110			#gpio-cells = <2>;
111			gpio-controller;
112			gpio-ranges = <&pfc 0 32 23>;
113			#interrupt-cells = <2>;
114			interrupt-controller;
115			clocks = <&cpg CPG_MOD 911>;
116			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
117			resets = <&cpg 911>;
118		};
119
120		gpio2: gpio@e6052000 {
121			compatible = "renesas,gpio-r8a77990",
122				     "renesas,rcar-gen3-gpio";
123			reg = <0 0xe6052000 0 0x50>;
124			interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
125			#gpio-cells = <2>;
126			gpio-controller;
127			gpio-ranges = <&pfc 0 64 26>;
128			#interrupt-cells = <2>;
129			interrupt-controller;
130			clocks = <&cpg CPG_MOD 910>;
131			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
132			resets = <&cpg 910>;
133		};
134
135		gpio3: gpio@e6053000 {
136			compatible = "renesas,gpio-r8a77990",
137				     "renesas,rcar-gen3-gpio";
138			reg = <0 0xe6053000 0 0x50>;
139			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
140			#gpio-cells = <2>;
141			gpio-controller;
142			gpio-ranges = <&pfc 0 96 16>;
143			#interrupt-cells = <2>;
144			interrupt-controller;
145			clocks = <&cpg CPG_MOD 909>;
146			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
147			resets = <&cpg 909>;
148		};
149
150		gpio4: gpio@e6054000 {
151			compatible = "renesas,gpio-r8a77990",
152				     "renesas,rcar-gen3-gpio";
153			reg = <0 0xe6054000 0 0x50>;
154			interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
155			#gpio-cells = <2>;
156			gpio-controller;
157			gpio-ranges = <&pfc 0 128 11>;
158			#interrupt-cells = <2>;
159			interrupt-controller;
160			clocks = <&cpg CPG_MOD 908>;
161			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
162			resets = <&cpg 908>;
163		};
164
165		gpio5: gpio@e6055000 {
166			compatible = "renesas,gpio-r8a77990",
167				     "renesas,rcar-gen3-gpio";
168			reg = <0 0xe6055000 0 0x50>;
169			interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
170			#gpio-cells = <2>;
171			gpio-controller;
172			gpio-ranges = <&pfc 0 160 20>;
173			#interrupt-cells = <2>;
174			interrupt-controller;
175			clocks = <&cpg CPG_MOD 907>;
176			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
177			resets = <&cpg 907>;
178		};
179
180		gpio6: gpio@e6055400 {
181			compatible = "renesas,gpio-r8a77990",
182				     "renesas,rcar-gen3-gpio";
183			reg = <0 0xe6055400 0 0x50>;
184			interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
185			#gpio-cells = <2>;
186			gpio-controller;
187			gpio-ranges = <&pfc 0 192 18>;
188			#interrupt-cells = <2>;
189			interrupt-controller;
190			clocks = <&cpg CPG_MOD 906>;
191			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
192			resets = <&cpg 906>;
193		};
194
195		pfc: pin-controller@e6060000 {
196			compatible = "renesas,pfc-r8a77990";
197			reg = <0 0xe6060000 0 0x508>;
198		};
199
200		cpg: clock-controller@e6150000 {
201			compatible = "renesas,r8a77990-cpg-mssr";
202			reg = <0 0xe6150000 0 0x1000>;
203			clocks = <&extal_clk>;
204			clock-names = "extal";
205			#clock-cells = <2>;
206			#power-domain-cells = <0>;
207			#reset-cells = <1>;
208		};
209
210		rst: reset-controller@e6160000 {
211			compatible = "renesas,r8a77990-rst";
212			reg = <0 0xe6160000 0 0x0200>;
213		};
214
215		sysc: system-controller@e6180000 {
216			compatible = "renesas,r8a77990-sysc";
217			reg = <0 0xe6180000 0 0x0400>;
218			#power-domain-cells = <1>;
219		};
220
221		ipmmu_ds0: mmu@e6740000 {
222			compatible = "renesas,ipmmu-r8a77990";
223			reg = <0 0xe6740000 0 0x1000>;
224			renesas,ipmmu-main = <&ipmmu_mm 0>;
225			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
226			#iommu-cells = <1>;
227		};
228
229		ipmmu_ds1: mmu@e7740000 {
230			compatible = "renesas,ipmmu-r8a77990";
231			reg = <0 0xe7740000 0 0x1000>;
232			renesas,ipmmu-main = <&ipmmu_mm 1>;
233			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
234			#iommu-cells = <1>;
235		};
236
237		ipmmu_hc: mmu@e6570000 {
238			compatible = "renesas,ipmmu-r8a77990";
239			reg = <0 0xe6570000 0 0x1000>;
240			renesas,ipmmu-main = <&ipmmu_mm 2>;
241			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
242			#iommu-cells = <1>;
243		};
244
245		ipmmu_mm: mmu@e67b0000 {
246			compatible = "renesas,ipmmu-r8a77990";
247			reg = <0 0xe67b0000 0 0x1000>;
248			interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
249				     <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
250			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
251			#iommu-cells = <1>;
252		};
253
254		ipmmu_mp: mmu@ec670000 {
255			compatible = "renesas,ipmmu-r8a77990";
256			reg = <0 0xec670000 0 0x1000>;
257			renesas,ipmmu-main = <&ipmmu_mm 4>;
258			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
259			#iommu-cells = <1>;
260		};
261
262		ipmmu_pv0: mmu@fd800000 {
263			compatible = "renesas,ipmmu-r8a77990";
264			reg = <0 0xfd800000 0 0x1000>;
265			renesas,ipmmu-main = <&ipmmu_mm 6>;
266			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
267			#iommu-cells = <1>;
268		};
269
270		ipmmu_rt: mmu@ffc80000 {
271			compatible = "renesas,ipmmu-r8a77990";
272			reg = <0 0xffc80000 0 0x1000>;
273			renesas,ipmmu-main = <&ipmmu_mm 10>;
274			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
275			#iommu-cells = <1>;
276		};
277
278		ipmmu_vc0: mmu@fe6b0000 {
279			compatible = "renesas,ipmmu-r8a77990";
280			reg = <0 0xfe6b0000 0 0x1000>;
281			renesas,ipmmu-main = <&ipmmu_mm 12>;
282			power-domains = <&sysc R8A77990_PD_A3VC>;
283			#iommu-cells = <1>;
284		};
285
286		ipmmu_vi0: mmu@febd0000 {
287			compatible = "renesas,ipmmu-r8a77990";
288			reg = <0 0xfebd0000 0 0x1000>;
289			renesas,ipmmu-main = <&ipmmu_mm 14>;
290			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
291			#iommu-cells = <1>;
292		};
293
294		ipmmu_vp0: mmu@fe990000 {
295			compatible = "renesas,ipmmu-r8a77990";
296			reg = <0 0xfe990000 0 0x1000>;
297			renesas,ipmmu-main = <&ipmmu_mm 16>;
298			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
299			#iommu-cells = <1>;
300		};
301
302		avb: ethernet@e6800000 {
303			compatible = "renesas,etheravb-r8a77990",
304				     "renesas,etheravb-rcar-gen3";
305			reg = <0 0xe6800000 0 0x800>;
306			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
307				     <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
308				     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
309				     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
310				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
311				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
312				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
313				     <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
314				     <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
315				     <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
316				     <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
317				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
318				     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
319				     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
320				     <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
321				     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
322				     <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
323				     <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
324				     <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
325				     <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
326				     <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
327				     <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
328				     <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
329				     <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
330				     <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
331			interrupt-names = "ch0", "ch1", "ch2", "ch3",
332					  "ch4", "ch5", "ch6", "ch7",
333					  "ch8", "ch9", "ch10", "ch11",
334					  "ch12", "ch13", "ch14", "ch15",
335					  "ch16", "ch17", "ch18", "ch19",
336					  "ch20", "ch21", "ch22", "ch23",
337					  "ch24";
338			clocks = <&cpg CPG_MOD 812>;
339			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
340			resets = <&cpg 812>;
341			phy-mode = "rgmii";
342			#address-cells = <1>;
343			#size-cells = <0>;
344			status = "disabled";
345		};
346
347		pwm0: pwm@e6e30000 {
348			compatible = "renesas,pwm-r8a77990", "renesas,pwm-rcar";
349			reg = <0 0xe6e30000 0 0x8>;
350			clocks = <&cpg CPG_MOD 523>;
351			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
352			resets = <&cpg 523>;
353			#pwm-cells = <2>;
354			status = "disabled";
355		};
356
357		pwm1: pwm@e6e31000 {
358			compatible = "renesas,pwm-r8a77990", "renesas,pwm-rcar";
359			reg = <0 0xe6e31000 0 0x8>;
360			clocks = <&cpg CPG_MOD 523>;
361			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
362			resets = <&cpg 523>;
363			#pwm-cells = <2>;
364			status = "disabled";
365		};
366
367		pwm2: pwm@e6e32000 {
368			compatible = "renesas,pwm-r8a77990", "renesas,pwm-rcar";
369			reg = <0 0xe6e32000 0 0x8>;
370			clocks = <&cpg CPG_MOD 523>;
371			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
372			resets = <&cpg 523>;
373			#pwm-cells = <2>;
374			status = "disabled";
375		};
376
377		pwm3: pwm@e6e33000 {
378			compatible = "renesas,pwm-r8a77990", "renesas,pwm-rcar";
379			reg = <0 0xe6e33000 0 0x8>;
380			clocks = <&cpg CPG_MOD 523>;
381			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
382			resets = <&cpg 523>;
383			#pwm-cells = <2>;
384			status = "disabled";
385		};
386
387		pwm4: pwm@e6e34000 {
388			compatible = "renesas,pwm-r8a77990", "renesas,pwm-rcar";
389			reg = <0 0xe6e34000 0 0x8>;
390			clocks = <&cpg CPG_MOD 523>;
391			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
392			resets = <&cpg 523>;
393			#pwm-cells = <2>;
394			status = "disabled";
395		};
396
397		pwm5: pwm@e6e35000 {
398			compatible = "renesas,pwm-r8a77990", "renesas,pwm-rcar";
399			reg = <0 0xe6e35000 0 0x8>;
400			clocks = <&cpg CPG_MOD 523>;
401			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
402			resets = <&cpg 523>;
403			#pwm-cells = <2>;
404			status = "disabled";
405		};
406
407		pwm6: pwm@e6e36000 {
408			compatible = "renesas,pwm-r8a77990", "renesas,pwm-rcar";
409			reg = <0 0xe6e36000 0 0x8>;
410			clocks = <&cpg CPG_MOD 523>;
411			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
412			resets = <&cpg 523>;
413			#pwm-cells = <2>;
414			status = "disabled";
415		};
416
417		scif2: serial@e6e88000 {
418			compatible = "renesas,scif-r8a77990",
419				     "renesas,rcar-gen3-scif", "renesas,scif";
420			reg = <0 0xe6e88000 0 64>;
421			interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
422			clocks = <&cpg CPG_MOD 310>,
423				 <&cpg CPG_CORE R8A77990_CLK_S3D1C>,
424				 <&scif_clk>;
425			clock-names = "fck", "brg_int", "scif_clk";
426
427			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
428			resets = <&cpg 310>;
429			status = "disabled";
430		};
431
432		msiof0: spi@e6e90000 {
433			compatible = "renesas,msiof-r8a77990",
434				     "renesas,rcar-gen3-msiof";
435			reg = <0 0xe6e90000 0 0x0064>;
436			interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
437			clocks = <&cpg CPG_MOD 211>;
438			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
439			resets = <&cpg 211>;
440			#address-cells = <1>;
441			#size-cells = <0>;
442			status = "disabled";
443		};
444
445		msiof1: spi@e6ea0000 {
446			compatible = "renesas,msiof-r8a77990",
447				     "renesas,rcar-gen3-msiof";
448			reg = <0 0xe6ea0000 0 0x0064>;
449			interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
450			clocks = <&cpg CPG_MOD 210>;
451			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
452			resets = <&cpg 210>;
453			#address-cells = <1>;
454			#size-cells = <0>;
455			status = "disabled";
456		};
457
458		msiof2: spi@e6c00000 {
459			compatible = "renesas,msiof-r8a77990",
460				     "renesas,rcar-gen3-msiof";
461			reg = <0 0xe6c00000 0 0x0064>;
462			interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
463			clocks = <&cpg CPG_MOD 209>;
464			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
465			resets = <&cpg 209>;
466			#address-cells = <1>;
467			#size-cells = <0>;
468			status = "disabled";
469		};
470
471		msiof3: spi@e6c10000 {
472			compatible = "renesas,msiof-r8a77990",
473				     "renesas,rcar-gen3-msiof";
474			reg = <0 0xe6c10000 0 0x0064>;
475			interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
476			clocks = <&cpg CPG_MOD 208>;
477			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
478			resets = <&cpg 208>;
479			#address-cells = <1>;
480			#size-cells = <0>;
481			status = "disabled";
482		};
483
484		vin4: video@e6ef4000 {
485			compatible = "renesas,vin-r8a77990";
486			reg = <0 0xe6ef4000 0 0x1000>;
487			interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
488			clocks = <&cpg CPG_MOD 807>;
489			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
490			resets = <&cpg 807>;
491			renesas,id = <4>;
492			status = "disabled";
493
494			ports {
495				#address-cells = <1>;
496				#size-cells = <0>;
497
498				port@1 {
499					reg = <1>;
500
501					vin4csi40: endpoint {
502						remote-endpoint= <&csi40vin4>;
503					};
504				};
505			};
506		};
507
508		vin5: video@e6ef5000 {
509			compatible = "renesas,vin-r8a77990";
510			reg = <0 0xe6ef5000 0 0x1000>;
511			interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
512			clocks = <&cpg CPG_MOD 806>;
513			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
514			resets = <&cpg 806>;
515			renesas,id = <5>;
516			status = "disabled";
517
518			ports {
519				#address-cells = <1>;
520				#size-cells = <0>;
521
522				port@1 {
523					reg = <1>;
524
525					vin5csi40: endpoint {
526						remote-endpoint= <&csi40vin5>;
527					};
528				};
529			};
530		};
531
532		xhci0: usb@ee000000 {
533			compatible = "renesas,xhci-r8a77990",
534				     "renesas,rcar-gen3-xhci";
535			reg = <0 0xee000000 0 0xc00>;
536			interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
537			clocks = <&cpg CPG_MOD 328>;
538			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
539			resets = <&cpg 328>;
540			status = "disabled";
541		};
542
543		ohci0: usb@ee080000 {
544			compatible = "generic-ohci";
545			reg = <0 0xee080000 0 0x100>;
546			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
547			clocks = <&cpg CPG_MOD 703>;
548			phys = <&usb2_phy0>;
549			phy-names = "usb";
550			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
551			resets = <&cpg 703>;
552			status = "disabled";
553		};
554
555		ehci0: usb@ee080100 {
556			compatible = "generic-ehci";
557			reg = <0 0xee080100 0 0x100>;
558			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
559			clocks = <&cpg CPG_MOD 703>;
560			phys = <&usb2_phy0>;
561			phy-names = "usb";
562			companion = <&ohci0>;
563			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
564			resets = <&cpg 703>;
565			status = "disabled";
566		};
567
568		usb2_phy0: usb-phy@ee080200 {
569			compatible = "renesas,usb2-phy-r8a77990",
570				     "renesas,rcar-gen3-usb2-phy";
571			reg = <0 0xee080200 0 0x700>;
572			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
573			clocks = <&cpg CPG_MOD 703>;
574			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
575			resets = <&cpg 703>;
576			#phy-cells = <0>;
577			status = "disabled";
578		};
579
580		gic: interrupt-controller@f1010000 {
581			compatible = "arm,gic-400";
582			#interrupt-cells = <3>;
583			#address-cells = <0>;
584			interrupt-controller;
585			reg = <0x0 0xf1010000 0 0x1000>,
586			      <0x0 0xf1020000 0 0x20000>,
587			      <0x0 0xf1040000 0 0x20000>,
588			      <0x0 0xf1060000 0 0x20000>;
589			interrupts = <GIC_PPI 9
590					(GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
591			clocks = <&cpg CPG_MOD 408>;
592			clock-names = "clk";
593			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
594			resets = <&cpg 408>;
595		};
596
597		csi40: csi2@feaa0000 {
598			compatible = "renesas,r8a77990-csi2", "renesas,rcar-gen3-csi2";
599			reg = <0 0xfeaa0000 0 0x10000>;
600			interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
601			clocks = <&cpg CPG_MOD 716>;
602			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
603			resets = <&cpg 716>;
604			status = "disabled";
605
606			ports {
607				#address-cells = <1>;
608				#size-cells = <0>;
609
610				port@1 {
611					#address-cells = <1>;
612					#size-cells = <0>;
613
614					reg = <1>;
615
616					csi40vin4: endpoint@0 {
617						reg = <0>;
618						remote-endpoint = <&vin4csi40>;
619					};
620					csi40vin5: endpoint@1 {
621						reg = <1>;
622						remote-endpoint = <&vin5csi40>;
623					};
624				};
625			};
626		};
627
628		prr: chipid@fff00044 {
629			compatible = "renesas,prr";
630			reg = <0 0xfff00044 0 4>;
631		};
632	};
633
634	timer {
635		compatible = "arm,armv8-timer";
636		interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
637				      <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
638				      <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
639				      <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
640	};
641};
642