1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Device Tree Source for the r8a77470 SoC
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot * Copyright (C) 2018 Renesas Electronics Corp.
6*f126890aSEmmanuel Vadot */
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
9*f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h>
10*f126890aSEmmanuel Vadot#include <dt-bindings/clock/r8a77470-cpg-mssr.h>
11*f126890aSEmmanuel Vadot#include <dt-bindings/power/r8a77470-sysc.h>
12*f126890aSEmmanuel Vadot/ {
13*f126890aSEmmanuel Vadot	compatible = "renesas,r8a77470";
14*f126890aSEmmanuel Vadot	#address-cells = <2>;
15*f126890aSEmmanuel Vadot	#size-cells = <2>;
16*f126890aSEmmanuel Vadot
17*f126890aSEmmanuel Vadot	aliases {
18*f126890aSEmmanuel Vadot		i2c0 = &i2c0;
19*f126890aSEmmanuel Vadot		i2c1 = &i2c1;
20*f126890aSEmmanuel Vadot		i2c2 = &i2c2;
21*f126890aSEmmanuel Vadot		i2c3 = &i2c3;
22*f126890aSEmmanuel Vadot		i2c4 = &i2c4;
23*f126890aSEmmanuel Vadot	};
24*f126890aSEmmanuel Vadot
25*f126890aSEmmanuel Vadot	cpus {
26*f126890aSEmmanuel Vadot		#address-cells = <1>;
27*f126890aSEmmanuel Vadot		#size-cells = <0>;
28*f126890aSEmmanuel Vadot
29*f126890aSEmmanuel Vadot		cpu0: cpu@0 {
30*f126890aSEmmanuel Vadot			device_type = "cpu";
31*f126890aSEmmanuel Vadot			compatible = "arm,cortex-a7";
32*f126890aSEmmanuel Vadot			reg = <0>;
33*f126890aSEmmanuel Vadot			clock-frequency = <1000000000>;
34*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_CORE R8A77470_CLK_Z2>;
35*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_CA7_CPU0>;
36*f126890aSEmmanuel Vadot			enable-method = "renesas,apmu";
37*f126890aSEmmanuel Vadot			next-level-cache = <&L2_CA7>;
38*f126890aSEmmanuel Vadot		};
39*f126890aSEmmanuel Vadot
40*f126890aSEmmanuel Vadot		cpu1: cpu@1 {
41*f126890aSEmmanuel Vadot			device_type = "cpu";
42*f126890aSEmmanuel Vadot			compatible = "arm,cortex-a7";
43*f126890aSEmmanuel Vadot			reg = <1>;
44*f126890aSEmmanuel Vadot			clock-frequency = <1000000000>;
45*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_CORE R8A77470_CLK_Z2>;
46*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_CA7_CPU1>;
47*f126890aSEmmanuel Vadot			enable-method = "renesas,apmu";
48*f126890aSEmmanuel Vadot			next-level-cache = <&L2_CA7>;
49*f126890aSEmmanuel Vadot		};
50*f126890aSEmmanuel Vadot
51*f126890aSEmmanuel Vadot		L2_CA7: cache-controller-0 {
52*f126890aSEmmanuel Vadot			compatible = "cache";
53*f126890aSEmmanuel Vadot			cache-unified;
54*f126890aSEmmanuel Vadot			cache-level = <2>;
55*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_CA7_SCU>;
56*f126890aSEmmanuel Vadot		};
57*f126890aSEmmanuel Vadot	};
58*f126890aSEmmanuel Vadot
59*f126890aSEmmanuel Vadot	/* External root clock */
60*f126890aSEmmanuel Vadot	extal_clk: extal {
61*f126890aSEmmanuel Vadot		compatible = "fixed-clock";
62*f126890aSEmmanuel Vadot		#clock-cells = <0>;
63*f126890aSEmmanuel Vadot		/* This value must be overridden by the board. */
64*f126890aSEmmanuel Vadot		clock-frequency = <0>;
65*f126890aSEmmanuel Vadot	};
66*f126890aSEmmanuel Vadot
67*f126890aSEmmanuel Vadot	pmu {
68*f126890aSEmmanuel Vadot		compatible = "arm,cortex-a7-pmu";
69*f126890aSEmmanuel Vadot		interrupts-extended = <&gic GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>,
70*f126890aSEmmanuel Vadot				      <&gic GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
71*f126890aSEmmanuel Vadot		interrupt-affinity = <&cpu0>, <&cpu1>;
72*f126890aSEmmanuel Vadot	};
73*f126890aSEmmanuel Vadot
74*f126890aSEmmanuel Vadot	/* External SCIF clock */
75*f126890aSEmmanuel Vadot	scif_clk: scif {
76*f126890aSEmmanuel Vadot		compatible = "fixed-clock";
77*f126890aSEmmanuel Vadot		#clock-cells = <0>;
78*f126890aSEmmanuel Vadot		/* This value must be overridden by the board. */
79*f126890aSEmmanuel Vadot		clock-frequency = <0>;
80*f126890aSEmmanuel Vadot	};
81*f126890aSEmmanuel Vadot
82*f126890aSEmmanuel Vadot	soc {
83*f126890aSEmmanuel Vadot		compatible = "simple-bus";
84*f126890aSEmmanuel Vadot		interrupt-parent = <&gic>;
85*f126890aSEmmanuel Vadot
86*f126890aSEmmanuel Vadot		#address-cells = <2>;
87*f126890aSEmmanuel Vadot		#size-cells = <2>;
88*f126890aSEmmanuel Vadot		ranges;
89*f126890aSEmmanuel Vadot
90*f126890aSEmmanuel Vadot		rwdt: watchdog@e6020000 {
91*f126890aSEmmanuel Vadot			compatible = "renesas,r8a77470-wdt",
92*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-wdt";
93*f126890aSEmmanuel Vadot			reg = <0 0xe6020000 0 0x0c>;
94*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
95*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 402>;
96*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
97*f126890aSEmmanuel Vadot			resets = <&cpg 402>;
98*f126890aSEmmanuel Vadot			status = "disabled";
99*f126890aSEmmanuel Vadot		};
100*f126890aSEmmanuel Vadot
101*f126890aSEmmanuel Vadot		gpio0: gpio@e6050000 {
102*f126890aSEmmanuel Vadot			compatible = "renesas,gpio-r8a77470",
103*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-gpio";
104*f126890aSEmmanuel Vadot			reg = <0 0xe6050000 0 0x50>;
105*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
106*f126890aSEmmanuel Vadot			#gpio-cells = <2>;
107*f126890aSEmmanuel Vadot			gpio-controller;
108*f126890aSEmmanuel Vadot			gpio-ranges = <&pfc 0 0 23>;
109*f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
110*f126890aSEmmanuel Vadot			interrupt-controller;
111*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 912>;
112*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
113*f126890aSEmmanuel Vadot			resets = <&cpg 912>;
114*f126890aSEmmanuel Vadot		};
115*f126890aSEmmanuel Vadot
116*f126890aSEmmanuel Vadot		gpio1: gpio@e6051000 {
117*f126890aSEmmanuel Vadot			compatible = "renesas,gpio-r8a77470",
118*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-gpio";
119*f126890aSEmmanuel Vadot			reg = <0 0xe6051000 0 0x50>;
120*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
121*f126890aSEmmanuel Vadot			#gpio-cells = <2>;
122*f126890aSEmmanuel Vadot			gpio-controller;
123*f126890aSEmmanuel Vadot			gpio-ranges = <&pfc 0 32 23>;
124*f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
125*f126890aSEmmanuel Vadot			interrupt-controller;
126*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 911>;
127*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
128*f126890aSEmmanuel Vadot			resets = <&cpg 911>;
129*f126890aSEmmanuel Vadot		};
130*f126890aSEmmanuel Vadot
131*f126890aSEmmanuel Vadot		gpio2: gpio@e6052000 {
132*f126890aSEmmanuel Vadot			compatible = "renesas,gpio-r8a77470",
133*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-gpio";
134*f126890aSEmmanuel Vadot			reg = <0 0xe6052000 0 0x50>;
135*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
136*f126890aSEmmanuel Vadot			#gpio-cells = <2>;
137*f126890aSEmmanuel Vadot			gpio-controller;
138*f126890aSEmmanuel Vadot			gpio-ranges = <&pfc 0 64 32>;
139*f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
140*f126890aSEmmanuel Vadot			interrupt-controller;
141*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 910>;
142*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
143*f126890aSEmmanuel Vadot			resets = <&cpg 910>;
144*f126890aSEmmanuel Vadot		};
145*f126890aSEmmanuel Vadot
146*f126890aSEmmanuel Vadot		gpio3: gpio@e6053000 {
147*f126890aSEmmanuel Vadot			compatible = "renesas,gpio-r8a77470",
148*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-gpio";
149*f126890aSEmmanuel Vadot			reg = <0 0xe6053000 0 0x50>;
150*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
151*f126890aSEmmanuel Vadot			#gpio-cells = <2>;
152*f126890aSEmmanuel Vadot			gpio-controller;
153*f126890aSEmmanuel Vadot			gpio-ranges = <&pfc 0 96 30>;
154*f126890aSEmmanuel Vadot			gpio-reserved-ranges = <17 10>;
155*f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
156*f126890aSEmmanuel Vadot			interrupt-controller;
157*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 909>;
158*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
159*f126890aSEmmanuel Vadot			resets = <&cpg 909>;
160*f126890aSEmmanuel Vadot		};
161*f126890aSEmmanuel Vadot
162*f126890aSEmmanuel Vadot		gpio4: gpio@e6054000 {
163*f126890aSEmmanuel Vadot			compatible = "renesas,gpio-r8a77470",
164*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-gpio";
165*f126890aSEmmanuel Vadot			reg = <0 0xe6054000 0 0x50>;
166*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
167*f126890aSEmmanuel Vadot			#gpio-cells = <2>;
168*f126890aSEmmanuel Vadot			gpio-controller;
169*f126890aSEmmanuel Vadot			gpio-ranges = <&pfc 0 128 26>;
170*f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
171*f126890aSEmmanuel Vadot			interrupt-controller;
172*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 908>;
173*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
174*f126890aSEmmanuel Vadot			resets = <&cpg 908>;
175*f126890aSEmmanuel Vadot		};
176*f126890aSEmmanuel Vadot
177*f126890aSEmmanuel Vadot		gpio5: gpio@e6055000 {
178*f126890aSEmmanuel Vadot			compatible = "renesas,gpio-r8a77470",
179*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-gpio";
180*f126890aSEmmanuel Vadot			reg = <0 0xe6055000 0 0x50>;
181*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
182*f126890aSEmmanuel Vadot			#gpio-cells = <2>;
183*f126890aSEmmanuel Vadot			gpio-controller;
184*f126890aSEmmanuel Vadot			gpio-ranges = <&pfc 0 160 32>;
185*f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
186*f126890aSEmmanuel Vadot			interrupt-controller;
187*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 907>;
188*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
189*f126890aSEmmanuel Vadot			resets = <&cpg 907>;
190*f126890aSEmmanuel Vadot		};
191*f126890aSEmmanuel Vadot
192*f126890aSEmmanuel Vadot		pfc: pinctrl@e6060000 {
193*f126890aSEmmanuel Vadot			compatible = "renesas,pfc-r8a77470";
194*f126890aSEmmanuel Vadot			reg = <0 0xe6060000 0 0x118>;
195*f126890aSEmmanuel Vadot		};
196*f126890aSEmmanuel Vadot
197*f126890aSEmmanuel Vadot		cpg: clock-controller@e6150000 {
198*f126890aSEmmanuel Vadot			compatible = "renesas,r8a77470-cpg-mssr";
199*f126890aSEmmanuel Vadot			reg = <0 0xe6150000 0 0x1000>;
200*f126890aSEmmanuel Vadot			clocks = <&extal_clk>, <&usb_extal_clk>;
201*f126890aSEmmanuel Vadot			clock-names = "extal", "usb_extal";
202*f126890aSEmmanuel Vadot			#clock-cells = <2>;
203*f126890aSEmmanuel Vadot			#power-domain-cells = <0>;
204*f126890aSEmmanuel Vadot			#reset-cells = <1>;
205*f126890aSEmmanuel Vadot		};
206*f126890aSEmmanuel Vadot
207*f126890aSEmmanuel Vadot		apmu@e6151000 {
208*f126890aSEmmanuel Vadot			compatible = "renesas,r8a77470-apmu", "renesas,apmu";
209*f126890aSEmmanuel Vadot			reg = <0 0xe6151000 0 0x188>;
210*f126890aSEmmanuel Vadot			cpus = <&cpu0>, <&cpu1>;
211*f126890aSEmmanuel Vadot		};
212*f126890aSEmmanuel Vadot
213*f126890aSEmmanuel Vadot		rst: reset-controller@e6160000 {
214*f126890aSEmmanuel Vadot			compatible = "renesas,r8a77470-rst";
215*f126890aSEmmanuel Vadot			reg = <0 0xe6160000 0 0x100>;
216*f126890aSEmmanuel Vadot		};
217*f126890aSEmmanuel Vadot
218*f126890aSEmmanuel Vadot		sysc: system-controller@e6180000 {
219*f126890aSEmmanuel Vadot			compatible = "renesas,r8a77470-sysc";
220*f126890aSEmmanuel Vadot			reg = <0 0xe6180000 0 0x200>;
221*f126890aSEmmanuel Vadot			#power-domain-cells = <1>;
222*f126890aSEmmanuel Vadot		};
223*f126890aSEmmanuel Vadot
224*f126890aSEmmanuel Vadot		irqc: interrupt-controller@e61c0000 {
225*f126890aSEmmanuel Vadot			compatible = "renesas,irqc-r8a77470", "renesas,irqc";
226*f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
227*f126890aSEmmanuel Vadot			interrupt-controller;
228*f126890aSEmmanuel Vadot			reg = <0 0xe61c0000 0 0x200>;
229*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
230*f126890aSEmmanuel Vadot				     <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
231*f126890aSEmmanuel Vadot				     <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
232*f126890aSEmmanuel Vadot				     <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
233*f126890aSEmmanuel Vadot				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
234*f126890aSEmmanuel Vadot				     <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
235*f126890aSEmmanuel Vadot				     <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
236*f126890aSEmmanuel Vadot				     <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
237*f126890aSEmmanuel Vadot				     <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
238*f126890aSEmmanuel Vadot				     <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
239*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 407>;
240*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
241*f126890aSEmmanuel Vadot			resets = <&cpg 407>;
242*f126890aSEmmanuel Vadot		};
243*f126890aSEmmanuel Vadot
244*f126890aSEmmanuel Vadot		icram0:	sram@e63a0000 {
245*f126890aSEmmanuel Vadot			compatible = "mmio-sram";
246*f126890aSEmmanuel Vadot			reg = <0 0xe63a0000 0 0x12000>;
247*f126890aSEmmanuel Vadot			#address-cells = <1>;
248*f126890aSEmmanuel Vadot			#size-cells = <1>;
249*f126890aSEmmanuel Vadot			ranges = <0 0 0xe63a0000 0x12000>;
250*f126890aSEmmanuel Vadot		};
251*f126890aSEmmanuel Vadot
252*f126890aSEmmanuel Vadot		icram1:	sram@e63c0000 {
253*f126890aSEmmanuel Vadot			compatible = "mmio-sram";
254*f126890aSEmmanuel Vadot			reg = <0 0xe63c0000 0 0x1000>;
255*f126890aSEmmanuel Vadot			#address-cells = <1>;
256*f126890aSEmmanuel Vadot			#size-cells = <1>;
257*f126890aSEmmanuel Vadot			ranges = <0 0 0xe63c0000 0x1000>;
258*f126890aSEmmanuel Vadot
259*f126890aSEmmanuel Vadot			smp-sram@0 {
260*f126890aSEmmanuel Vadot				compatible = "renesas,smp-sram";
261*f126890aSEmmanuel Vadot				reg = <0 0x100>;
262*f126890aSEmmanuel Vadot			};
263*f126890aSEmmanuel Vadot		};
264*f126890aSEmmanuel Vadot
265*f126890aSEmmanuel Vadot		icram2:	sram@e6300000 {
266*f126890aSEmmanuel Vadot			compatible = "mmio-sram";
267*f126890aSEmmanuel Vadot			reg = <0 0xe6300000 0 0x20000>;
268*f126890aSEmmanuel Vadot			#address-cells = <1>;
269*f126890aSEmmanuel Vadot			#size-cells = <1>;
270*f126890aSEmmanuel Vadot			ranges = <0 0 0xe6300000 0x20000>;
271*f126890aSEmmanuel Vadot		};
272*f126890aSEmmanuel Vadot
273*f126890aSEmmanuel Vadot		i2c0: i2c@e6508000 {
274*f126890aSEmmanuel Vadot			#address-cells = <1>;
275*f126890aSEmmanuel Vadot			#size-cells = <0>;
276*f126890aSEmmanuel Vadot			compatible = "renesas,i2c-r8a77470",
277*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-i2c";
278*f126890aSEmmanuel Vadot			reg = <0 0xe6508000 0 0x40>;
279*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
280*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 931>;
281*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
282*f126890aSEmmanuel Vadot			resets = <&cpg 931>;
283*f126890aSEmmanuel Vadot			i2c-scl-internal-delay-ns = <6>;
284*f126890aSEmmanuel Vadot			status = "disabled";
285*f126890aSEmmanuel Vadot		};
286*f126890aSEmmanuel Vadot
287*f126890aSEmmanuel Vadot		i2c1: i2c@e6518000 {
288*f126890aSEmmanuel Vadot			#address-cells = <1>;
289*f126890aSEmmanuel Vadot			#size-cells = <0>;
290*f126890aSEmmanuel Vadot			compatible = "renesas,i2c-r8a77470",
291*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-i2c";
292*f126890aSEmmanuel Vadot			reg = <0 0xe6518000 0 0x40>;
293*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
294*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 930>;
295*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
296*f126890aSEmmanuel Vadot			resets = <&cpg 930>;
297*f126890aSEmmanuel Vadot			i2c-scl-internal-delay-ns = <6>;
298*f126890aSEmmanuel Vadot			status = "disabled";
299*f126890aSEmmanuel Vadot		};
300*f126890aSEmmanuel Vadot
301*f126890aSEmmanuel Vadot		i2c2: i2c@e6530000 {
302*f126890aSEmmanuel Vadot			#address-cells = <1>;
303*f126890aSEmmanuel Vadot			#size-cells = <0>;
304*f126890aSEmmanuel Vadot			compatible = "renesas,i2c-r8a77470",
305*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-i2c";
306*f126890aSEmmanuel Vadot			reg = <0 0xe6530000 0 0x40>;
307*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
308*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 929>;
309*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
310*f126890aSEmmanuel Vadot			resets = <&cpg 929>;
311*f126890aSEmmanuel Vadot			i2c-scl-internal-delay-ns = <6>;
312*f126890aSEmmanuel Vadot			status = "disabled";
313*f126890aSEmmanuel Vadot		};
314*f126890aSEmmanuel Vadot
315*f126890aSEmmanuel Vadot		i2c3: i2c@e6540000 {
316*f126890aSEmmanuel Vadot			#address-cells = <1>;
317*f126890aSEmmanuel Vadot			#size-cells = <0>;
318*f126890aSEmmanuel Vadot			compatible = "renesas,i2c-r8a77470",
319*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-i2c";
320*f126890aSEmmanuel Vadot			reg = <0 0xe6540000 0 0x40>;
321*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
322*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 928>;
323*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
324*f126890aSEmmanuel Vadot			resets = <&cpg 928>;
325*f126890aSEmmanuel Vadot			i2c-scl-internal-delay-ns = <6>;
326*f126890aSEmmanuel Vadot			status = "disabled";
327*f126890aSEmmanuel Vadot		};
328*f126890aSEmmanuel Vadot
329*f126890aSEmmanuel Vadot		i2c4: i2c@e6520000 {
330*f126890aSEmmanuel Vadot			#address-cells = <1>;
331*f126890aSEmmanuel Vadot			#size-cells = <0>;
332*f126890aSEmmanuel Vadot			compatible = "renesas,i2c-r8a77470",
333*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-i2c";
334*f126890aSEmmanuel Vadot			reg = <0 0xe6520000 0 0x40>;
335*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
336*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 927>;
337*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
338*f126890aSEmmanuel Vadot			resets = <&cpg 927>;
339*f126890aSEmmanuel Vadot			i2c-scl-internal-delay-ns = <6>;
340*f126890aSEmmanuel Vadot			status = "disabled";
341*f126890aSEmmanuel Vadot		};
342*f126890aSEmmanuel Vadot
343*f126890aSEmmanuel Vadot		hsusb0: hsusb@e6590000 {
344*f126890aSEmmanuel Vadot			compatible = "renesas,usbhs-r8a77470",
345*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-usbhs";
346*f126890aSEmmanuel Vadot			reg = <0 0xe6590000 0 0x100>;
347*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
348*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 704>;
349*f126890aSEmmanuel Vadot			dmas = <&usb_dmac00 0>, <&usb_dmac00 1>,
350*f126890aSEmmanuel Vadot			       <&usb_dmac10 0>, <&usb_dmac10 1>;
351*f126890aSEmmanuel Vadot			dma-names = "ch0", "ch1", "ch2", "ch3";
352*f126890aSEmmanuel Vadot			renesas,buswait = <4>;
353*f126890aSEmmanuel Vadot			phys = <&usb0 1>;
354*f126890aSEmmanuel Vadot			phy-names = "usb";
355*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
356*f126890aSEmmanuel Vadot			resets = <&cpg 704>;
357*f126890aSEmmanuel Vadot			status = "disabled";
358*f126890aSEmmanuel Vadot		};
359*f126890aSEmmanuel Vadot
360*f126890aSEmmanuel Vadot		usbphy0: usb-phy-controller@e6590100 {
361*f126890aSEmmanuel Vadot			compatible = "renesas,usb-phy-r8a77470",
362*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-usb-phy";
363*f126890aSEmmanuel Vadot			reg = <0 0xe6590100 0 0x100>;
364*f126890aSEmmanuel Vadot			#address-cells = <1>;
365*f126890aSEmmanuel Vadot			#size-cells = <0>;
366*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 704>;
367*f126890aSEmmanuel Vadot			clock-names = "usbhs";
368*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
369*f126890aSEmmanuel Vadot			resets = <&cpg 704>;
370*f126890aSEmmanuel Vadot			status = "disabled";
371*f126890aSEmmanuel Vadot
372*f126890aSEmmanuel Vadot			usb0: usb-phy@0 {
373*f126890aSEmmanuel Vadot				reg = <0>;
374*f126890aSEmmanuel Vadot				#phy-cells = <1>;
375*f126890aSEmmanuel Vadot			};
376*f126890aSEmmanuel Vadot		};
377*f126890aSEmmanuel Vadot
378*f126890aSEmmanuel Vadot		hsusb1: hsusb@e6598000 {
379*f126890aSEmmanuel Vadot			compatible = "renesas,usbhs-r8a77470",
380*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-usbhs";
381*f126890aSEmmanuel Vadot			reg = <0 0xe6598000 0 0x100>;
382*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 291 IRQ_TYPE_LEVEL_HIGH>;
383*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 706>;
384*f126890aSEmmanuel Vadot			dmas = <&usb_dmac01 0>, <&usb_dmac01 1>,
385*f126890aSEmmanuel Vadot			       <&usb_dmac11 0>, <&usb_dmac11 1>;
386*f126890aSEmmanuel Vadot			dma-names = "ch0", "ch1", "ch2", "ch3";
387*f126890aSEmmanuel Vadot			renesas,buswait = <4>;
388*f126890aSEmmanuel Vadot			/* We need to turn on usbphy0 to make usbphy1 to work */
389*f126890aSEmmanuel Vadot			phys = <&usb1 1>;
390*f126890aSEmmanuel Vadot			phy-names = "usb";
391*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
392*f126890aSEmmanuel Vadot			resets = <&cpg 706>;
393*f126890aSEmmanuel Vadot			status = "disabled";
394*f126890aSEmmanuel Vadot		};
395*f126890aSEmmanuel Vadot
396*f126890aSEmmanuel Vadot		usbphy1: usb-phy-controller@e6598100 {
397*f126890aSEmmanuel Vadot			compatible = "renesas,usb-phy-r8a77470",
398*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-usb-phy";
399*f126890aSEmmanuel Vadot			reg = <0 0xe6598100 0 0x100>;
400*f126890aSEmmanuel Vadot			#address-cells = <1>;
401*f126890aSEmmanuel Vadot			#size-cells = <0>;
402*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 706>;
403*f126890aSEmmanuel Vadot			clock-names = "usbhs";
404*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
405*f126890aSEmmanuel Vadot			resets = <&cpg 706>;
406*f126890aSEmmanuel Vadot			status = "disabled";
407*f126890aSEmmanuel Vadot
408*f126890aSEmmanuel Vadot			usb1: usb-phy@0 {
409*f126890aSEmmanuel Vadot				reg = <0>;
410*f126890aSEmmanuel Vadot				#phy-cells = <1>;
411*f126890aSEmmanuel Vadot			};
412*f126890aSEmmanuel Vadot		};
413*f126890aSEmmanuel Vadot
414*f126890aSEmmanuel Vadot		usb_dmac00: dma-controller@e65a0000 {
415*f126890aSEmmanuel Vadot			compatible = "renesas,r8a77470-usb-dmac",
416*f126890aSEmmanuel Vadot				     "renesas,usb-dmac";
417*f126890aSEmmanuel Vadot			reg = <0 0xe65a0000 0 0x100>;
418*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
419*f126890aSEmmanuel Vadot				     <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
420*f126890aSEmmanuel Vadot			interrupt-names = "ch0", "ch1";
421*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 330>;
422*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
423*f126890aSEmmanuel Vadot			resets = <&cpg 330>;
424*f126890aSEmmanuel Vadot			#dma-cells = <1>;
425*f126890aSEmmanuel Vadot			dma-channels = <2>;
426*f126890aSEmmanuel Vadot		};
427*f126890aSEmmanuel Vadot
428*f126890aSEmmanuel Vadot		usb_dmac10: dma-controller@e65b0000 {
429*f126890aSEmmanuel Vadot			compatible = "renesas,r8a77470-usb-dmac",
430*f126890aSEmmanuel Vadot				     "renesas,usb-dmac";
431*f126890aSEmmanuel Vadot			reg = <0 0xe65b0000 0 0x100>;
432*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
433*f126890aSEmmanuel Vadot				     <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
434*f126890aSEmmanuel Vadot			interrupt-names = "ch0", "ch1";
435*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 331>;
436*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
437*f126890aSEmmanuel Vadot			resets = <&cpg 331>;
438*f126890aSEmmanuel Vadot			#dma-cells = <1>;
439*f126890aSEmmanuel Vadot			dma-channels = <2>;
440*f126890aSEmmanuel Vadot		};
441*f126890aSEmmanuel Vadot
442*f126890aSEmmanuel Vadot		usb_dmac01: dma-controller@e65a8000 {
443*f126890aSEmmanuel Vadot			compatible = "renesas,r8a77470-usb-dmac",
444*f126890aSEmmanuel Vadot				     "renesas,usb-dmac";
445*f126890aSEmmanuel Vadot			reg = <0 0xe65a8000 0 0x100>;
446*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>,
447*f126890aSEmmanuel Vadot				     <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>;
448*f126890aSEmmanuel Vadot			interrupt-names = "ch0", "ch1";
449*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 326>;
450*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
451*f126890aSEmmanuel Vadot			resets = <&cpg 326>;
452*f126890aSEmmanuel Vadot			#dma-cells = <1>;
453*f126890aSEmmanuel Vadot			dma-channels = <2>;
454*f126890aSEmmanuel Vadot		};
455*f126890aSEmmanuel Vadot
456*f126890aSEmmanuel Vadot		usb_dmac11: dma-controller@e65b8000 {
457*f126890aSEmmanuel Vadot			compatible = "renesas,r8a77470-usb-dmac",
458*f126890aSEmmanuel Vadot				     "renesas,usb-dmac";
459*f126890aSEmmanuel Vadot			reg = <0 0xe65b8000 0 0x100>;
460*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 292 IRQ_TYPE_LEVEL_HIGH>,
461*f126890aSEmmanuel Vadot				     <GIC_SPI 292 IRQ_TYPE_LEVEL_HIGH>;
462*f126890aSEmmanuel Vadot			interrupt-names = "ch0", "ch1";
463*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 327>;
464*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
465*f126890aSEmmanuel Vadot			resets = <&cpg 327>;
466*f126890aSEmmanuel Vadot			#dma-cells = <1>;
467*f126890aSEmmanuel Vadot			dma-channels = <2>;
468*f126890aSEmmanuel Vadot		};
469*f126890aSEmmanuel Vadot
470*f126890aSEmmanuel Vadot		dmac0: dma-controller@e6700000 {
471*f126890aSEmmanuel Vadot			compatible = "renesas,dmac-r8a77470",
472*f126890aSEmmanuel Vadot				     "renesas,rcar-dmac";
473*f126890aSEmmanuel Vadot			reg = <0 0xe6700000 0 0x20000>;
474*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>,
475*f126890aSEmmanuel Vadot				     <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>,
476*f126890aSEmmanuel Vadot				     <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>,
477*f126890aSEmmanuel Vadot				     <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>,
478*f126890aSEmmanuel Vadot				     <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>,
479*f126890aSEmmanuel Vadot				     <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
480*f126890aSEmmanuel Vadot				     <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>,
481*f126890aSEmmanuel Vadot				     <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>,
482*f126890aSEmmanuel Vadot				     <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>,
483*f126890aSEmmanuel Vadot				     <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>,
484*f126890aSEmmanuel Vadot				     <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>,
485*f126890aSEmmanuel Vadot				     <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>,
486*f126890aSEmmanuel Vadot				     <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>,
487*f126890aSEmmanuel Vadot				     <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>,
488*f126890aSEmmanuel Vadot				     <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>,
489*f126890aSEmmanuel Vadot				     <GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>;
490*f126890aSEmmanuel Vadot			interrupt-names = "error",
491*f126890aSEmmanuel Vadot					  "ch0", "ch1", "ch2", "ch3",
492*f126890aSEmmanuel Vadot					  "ch4", "ch5", "ch6", "ch7",
493*f126890aSEmmanuel Vadot					  "ch8", "ch9", "ch10", "ch11",
494*f126890aSEmmanuel Vadot					  "ch12", "ch13", "ch14";
495*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 219>;
496*f126890aSEmmanuel Vadot			clock-names = "fck";
497*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
498*f126890aSEmmanuel Vadot			resets = <&cpg 219>;
499*f126890aSEmmanuel Vadot			#dma-cells = <1>;
500*f126890aSEmmanuel Vadot			dma-channels = <15>;
501*f126890aSEmmanuel Vadot		};
502*f126890aSEmmanuel Vadot
503*f126890aSEmmanuel Vadot		dmac1: dma-controller@e6720000 {
504*f126890aSEmmanuel Vadot			compatible = "renesas,dmac-r8a77470",
505*f126890aSEmmanuel Vadot				     "renesas,rcar-dmac";
506*f126890aSEmmanuel Vadot			reg = <0 0xe6720000 0 0x20000>;
507*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>,
508*f126890aSEmmanuel Vadot				     <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>,
509*f126890aSEmmanuel Vadot				     <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
510*f126890aSEmmanuel Vadot				     <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>,
511*f126890aSEmmanuel Vadot				     <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
512*f126890aSEmmanuel Vadot				     <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>,
513*f126890aSEmmanuel Vadot				     <GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>,
514*f126890aSEmmanuel Vadot				     <GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH>,
515*f126890aSEmmanuel Vadot				     <GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH>,
516*f126890aSEmmanuel Vadot				     <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>,
517*f126890aSEmmanuel Vadot				     <GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH>,
518*f126890aSEmmanuel Vadot				     <GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH>,
519*f126890aSEmmanuel Vadot				     <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
520*f126890aSEmmanuel Vadot				     <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
521*f126890aSEmmanuel Vadot				     <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
522*f126890aSEmmanuel Vadot				     <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>;
523*f126890aSEmmanuel Vadot			interrupt-names = "error",
524*f126890aSEmmanuel Vadot					  "ch0", "ch1", "ch2", "ch3",
525*f126890aSEmmanuel Vadot					  "ch4", "ch5", "ch6", "ch7",
526*f126890aSEmmanuel Vadot					  "ch8", "ch9", "ch10", "ch11",
527*f126890aSEmmanuel Vadot					  "ch12", "ch13", "ch14";
528*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 218>;
529*f126890aSEmmanuel Vadot			clock-names = "fck";
530*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
531*f126890aSEmmanuel Vadot			resets = <&cpg 218>;
532*f126890aSEmmanuel Vadot			#dma-cells = <1>;
533*f126890aSEmmanuel Vadot			dma-channels = <15>;
534*f126890aSEmmanuel Vadot		};
535*f126890aSEmmanuel Vadot
536*f126890aSEmmanuel Vadot		avb: ethernet@e6800000 {
537*f126890aSEmmanuel Vadot			compatible = "renesas,etheravb-r8a77470",
538*f126890aSEmmanuel Vadot				     "renesas,etheravb-rcar-gen2";
539*f126890aSEmmanuel Vadot			reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>;
540*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
541*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 812>;
542*f126890aSEmmanuel Vadot			clock-names = "fck";
543*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
544*f126890aSEmmanuel Vadot			resets = <&cpg 812>;
545*f126890aSEmmanuel Vadot			#address-cells = <1>;
546*f126890aSEmmanuel Vadot			#size-cells = <0>;
547*f126890aSEmmanuel Vadot			status = "disabled";
548*f126890aSEmmanuel Vadot		};
549*f126890aSEmmanuel Vadot
550*f126890aSEmmanuel Vadot		qspi0: spi@e6b10000 {
551*f126890aSEmmanuel Vadot			compatible = "renesas,qspi-r8a77470", "renesas,qspi";
552*f126890aSEmmanuel Vadot			reg = <0 0xe6b10000 0 0x2c>;
553*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
554*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 918>;
555*f126890aSEmmanuel Vadot			dmas = <&dmac0 0x17>, <&dmac0 0x18>,
556*f126890aSEmmanuel Vadot			       <&dmac1 0x17>, <&dmac1 0x18>;
557*f126890aSEmmanuel Vadot			dma-names = "tx", "rx", "tx", "rx";
558*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
559*f126890aSEmmanuel Vadot			num-cs = <1>;
560*f126890aSEmmanuel Vadot			#address-cells = <1>;
561*f126890aSEmmanuel Vadot			#size-cells = <0>;
562*f126890aSEmmanuel Vadot			resets = <&cpg 918>;
563*f126890aSEmmanuel Vadot			status = "disabled";
564*f126890aSEmmanuel Vadot		};
565*f126890aSEmmanuel Vadot
566*f126890aSEmmanuel Vadot		qspi1: spi@ee200000 {
567*f126890aSEmmanuel Vadot			compatible = "renesas,qspi-r8a77470", "renesas,qspi";
568*f126890aSEmmanuel Vadot			reg = <0 0xee200000 0 0x2c>;
569*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>;
570*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 917>;
571*f126890aSEmmanuel Vadot			dmas = <&dmac0 0xd1>, <&dmac0 0xd2>,
572*f126890aSEmmanuel Vadot			       <&dmac1 0xd1>, <&dmac1 0xd2>;
573*f126890aSEmmanuel Vadot			dma-names = "tx", "rx", "tx", "rx";
574*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
575*f126890aSEmmanuel Vadot			num-cs = <1>;
576*f126890aSEmmanuel Vadot			#address-cells = <1>;
577*f126890aSEmmanuel Vadot			#size-cells = <0>;
578*f126890aSEmmanuel Vadot			resets = <&cpg 917>;
579*f126890aSEmmanuel Vadot			status = "disabled";
580*f126890aSEmmanuel Vadot		};
581*f126890aSEmmanuel Vadot
582*f126890aSEmmanuel Vadot		scif0: serial@e6e60000 {
583*f126890aSEmmanuel Vadot			compatible = "renesas,scif-r8a77470",
584*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-scif", "renesas,scif";
585*f126890aSEmmanuel Vadot			reg = <0 0xe6e60000 0 0x40>;
586*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
587*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 721>,
588*f126890aSEmmanuel Vadot				 <&cpg CPG_CORE R8A77470_CLK_ZS>, <&scif_clk>;
589*f126890aSEmmanuel Vadot			clock-names = "fck", "brg_int", "scif_clk";
590*f126890aSEmmanuel Vadot			dmas = <&dmac0 0x29>, <&dmac0 0x2a>,
591*f126890aSEmmanuel Vadot			       <&dmac1 0x29>, <&dmac1 0x2a>;
592*f126890aSEmmanuel Vadot			dma-names = "tx", "rx", "tx", "rx";
593*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
594*f126890aSEmmanuel Vadot			resets = <&cpg 721>;
595*f126890aSEmmanuel Vadot			status = "disabled";
596*f126890aSEmmanuel Vadot		};
597*f126890aSEmmanuel Vadot
598*f126890aSEmmanuel Vadot		scif1: serial@e6e68000 {
599*f126890aSEmmanuel Vadot			compatible = "renesas,scif-r8a77470",
600*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-scif", "renesas,scif";
601*f126890aSEmmanuel Vadot			reg = <0 0xe6e68000 0 0x40>;
602*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
603*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 720>,
604*f126890aSEmmanuel Vadot				 <&cpg CPG_CORE R8A77470_CLK_ZS>, <&scif_clk>;
605*f126890aSEmmanuel Vadot			clock-names = "fck", "brg_int", "scif_clk";
606*f126890aSEmmanuel Vadot			dmas = <&dmac0 0x2d>, <&dmac0 0x2e>,
607*f126890aSEmmanuel Vadot			       <&dmac1 0x2d>, <&dmac1 0x2e>;
608*f126890aSEmmanuel Vadot			dma-names = "tx", "rx", "tx", "rx";
609*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
610*f126890aSEmmanuel Vadot			resets = <&cpg 720>;
611*f126890aSEmmanuel Vadot			status = "disabled";
612*f126890aSEmmanuel Vadot		};
613*f126890aSEmmanuel Vadot
614*f126890aSEmmanuel Vadot		scif2: serial@e6e58000 {
615*f126890aSEmmanuel Vadot			compatible = "renesas,scif-r8a77470",
616*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-scif", "renesas,scif";
617*f126890aSEmmanuel Vadot			reg = <0 0xe6e58000 0 0x40>;
618*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
619*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 719>,
620*f126890aSEmmanuel Vadot				 <&cpg CPG_CORE R8A77470_CLK_ZS>, <&scif_clk>;
621*f126890aSEmmanuel Vadot			clock-names = "fck", "brg_int", "scif_clk";
622*f126890aSEmmanuel Vadot			dmas = <&dmac0 0x2b>, <&dmac0 0x2c>,
623*f126890aSEmmanuel Vadot			       <&dmac1 0x2b>, <&dmac1 0x2c>;
624*f126890aSEmmanuel Vadot			dma-names = "tx", "rx", "tx", "rx";
625*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
626*f126890aSEmmanuel Vadot			resets = <&cpg 719>;
627*f126890aSEmmanuel Vadot			status = "disabled";
628*f126890aSEmmanuel Vadot		};
629*f126890aSEmmanuel Vadot
630*f126890aSEmmanuel Vadot		scif3: serial@e6ea8000 {
631*f126890aSEmmanuel Vadot			compatible = "renesas,scif-r8a77470",
632*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-scif", "renesas,scif";
633*f126890aSEmmanuel Vadot			reg = <0 0xe6ea8000 0 0x40>;
634*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
635*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 718>,
636*f126890aSEmmanuel Vadot				 <&cpg CPG_CORE R8A77470_CLK_ZS>, <&scif_clk>;
637*f126890aSEmmanuel Vadot			clock-names = "fck", "brg_int", "scif_clk";
638*f126890aSEmmanuel Vadot			dmas = <&dmac0 0x2f>, <&dmac0 0x30>,
639*f126890aSEmmanuel Vadot			       <&dmac1 0x2f>, <&dmac1 0x30>;
640*f126890aSEmmanuel Vadot			dma-names = "tx", "rx", "tx", "rx";
641*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
642*f126890aSEmmanuel Vadot			resets = <&cpg 718>;
643*f126890aSEmmanuel Vadot			status = "disabled";
644*f126890aSEmmanuel Vadot		};
645*f126890aSEmmanuel Vadot
646*f126890aSEmmanuel Vadot		scif4: serial@e6ee0000 {
647*f126890aSEmmanuel Vadot			compatible = "renesas,scif-r8a77470",
648*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-scif", "renesas,scif";
649*f126890aSEmmanuel Vadot			reg = <0 0xe6ee0000 0 0x40>;
650*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
651*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 715>,
652*f126890aSEmmanuel Vadot				 <&cpg CPG_CORE R8A77470_CLK_ZS>, <&scif_clk>;
653*f126890aSEmmanuel Vadot			clock-names = "fck", "brg_int", "scif_clk";
654*f126890aSEmmanuel Vadot			dmas = <&dmac0 0xfb>, <&dmac0 0xfc>,
655*f126890aSEmmanuel Vadot			       <&dmac1 0xfb>, <&dmac1 0xfc>;
656*f126890aSEmmanuel Vadot			dma-names = "tx", "rx", "tx", "rx";
657*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
658*f126890aSEmmanuel Vadot			resets = <&cpg 715>;
659*f126890aSEmmanuel Vadot			status = "disabled";
660*f126890aSEmmanuel Vadot		};
661*f126890aSEmmanuel Vadot
662*f126890aSEmmanuel Vadot		scif5: serial@e6ee8000 {
663*f126890aSEmmanuel Vadot			compatible = "renesas,scif-r8a77470",
664*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-scif", "renesas,scif";
665*f126890aSEmmanuel Vadot			reg = <0 0xe6ee8000 0 0x40>;
666*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
667*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 714>,
668*f126890aSEmmanuel Vadot				 <&cpg CPG_CORE R8A77470_CLK_ZS>, <&scif_clk>;
669*f126890aSEmmanuel Vadot			clock-names = "fck", "brg_int", "scif_clk";
670*f126890aSEmmanuel Vadot			dmas = <&dmac0 0xfd>, <&dmac0 0xfe>,
671*f126890aSEmmanuel Vadot			       <&dmac1 0xfd>, <&dmac1 0xfe>;
672*f126890aSEmmanuel Vadot			dma-names = "tx", "rx", "tx", "rx";
673*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
674*f126890aSEmmanuel Vadot			resets = <&cpg 714>;
675*f126890aSEmmanuel Vadot			status = "disabled";
676*f126890aSEmmanuel Vadot		};
677*f126890aSEmmanuel Vadot
678*f126890aSEmmanuel Vadot		hscif0: serial@e62c0000 {
679*f126890aSEmmanuel Vadot			compatible = "renesas,hscif-r8a77470",
680*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-hscif", "renesas,hscif";
681*f126890aSEmmanuel Vadot			reg = <0 0xe62c0000 0 0x60>;
682*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
683*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 717>,
684*f126890aSEmmanuel Vadot				 <&cpg CPG_CORE R8A77470_CLK_ZS>, <&scif_clk>;
685*f126890aSEmmanuel Vadot			clock-names = "fck", "brg_int", "scif_clk";
686*f126890aSEmmanuel Vadot			dmas = <&dmac0 0x39>, <&dmac0 0x3a>,
687*f126890aSEmmanuel Vadot			       <&dmac1 0x39>, <&dmac1 0x3a>;
688*f126890aSEmmanuel Vadot			dma-names = "tx", "rx", "tx", "rx";
689*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
690*f126890aSEmmanuel Vadot			resets = <&cpg 717>;
691*f126890aSEmmanuel Vadot			status = "disabled";
692*f126890aSEmmanuel Vadot		};
693*f126890aSEmmanuel Vadot
694*f126890aSEmmanuel Vadot		hscif1: serial@e62c8000 {
695*f126890aSEmmanuel Vadot			compatible = "renesas,hscif-r8a77470",
696*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-hscif", "renesas,hscif";
697*f126890aSEmmanuel Vadot			reg = <0 0xe62c8000 0 0x60>;
698*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
699*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 716>,
700*f126890aSEmmanuel Vadot				 <&cpg CPG_CORE R8A77470_CLK_ZS>, <&scif_clk>;
701*f126890aSEmmanuel Vadot			clock-names = "fck", "brg_int", "scif_clk";
702*f126890aSEmmanuel Vadot			dmas = <&dmac0 0x4d>, <&dmac0 0x4e>,
703*f126890aSEmmanuel Vadot			       <&dmac1 0x4d>, <&dmac1 0x4e>;
704*f126890aSEmmanuel Vadot			dma-names = "tx", "rx", "tx", "rx";
705*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
706*f126890aSEmmanuel Vadot			resets = <&cpg 716>;
707*f126890aSEmmanuel Vadot			status = "disabled";
708*f126890aSEmmanuel Vadot		};
709*f126890aSEmmanuel Vadot
710*f126890aSEmmanuel Vadot		hscif2: serial@e62d0000 {
711*f126890aSEmmanuel Vadot			compatible = "renesas,hscif-r8a77470",
712*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-hscif", "renesas,hscif";
713*f126890aSEmmanuel Vadot			reg = <0 0xe62d0000 0 0x60>;
714*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
715*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 713>,
716*f126890aSEmmanuel Vadot				 <&cpg CPG_CORE R8A77470_CLK_ZS>, <&scif_clk>;
717*f126890aSEmmanuel Vadot			clock-names = "fck", "brg_int", "scif_clk";
718*f126890aSEmmanuel Vadot			dmas = <&dmac0 0x3b>, <&dmac0 0x3c>,
719*f126890aSEmmanuel Vadot			       <&dmac1 0x3b>, <&dmac1 0x3c>;
720*f126890aSEmmanuel Vadot			dma-names = "tx", "rx", "tx", "rx";
721*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
722*f126890aSEmmanuel Vadot			resets = <&cpg 713>;
723*f126890aSEmmanuel Vadot			status = "disabled";
724*f126890aSEmmanuel Vadot		};
725*f126890aSEmmanuel Vadot
726*f126890aSEmmanuel Vadot		pwm0: pwm@e6e30000 {
727*f126890aSEmmanuel Vadot			compatible = "renesas,pwm-r8a77470", "renesas,pwm-rcar";
728*f126890aSEmmanuel Vadot			reg = <0 0xe6e30000 0 0x8>;
729*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 523>;
730*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
731*f126890aSEmmanuel Vadot			resets = <&cpg 523>;
732*f126890aSEmmanuel Vadot			#pwm-cells = <2>;
733*f126890aSEmmanuel Vadot			status = "disabled";
734*f126890aSEmmanuel Vadot		};
735*f126890aSEmmanuel Vadot
736*f126890aSEmmanuel Vadot		pwm1: pwm@e6e31000 {
737*f126890aSEmmanuel Vadot			compatible = "renesas,pwm-r8a77470", "renesas,pwm-rcar";
738*f126890aSEmmanuel Vadot			reg = <0 0xe6e31000 0 0x8>;
739*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 523>;
740*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
741*f126890aSEmmanuel Vadot			resets = <&cpg 523>;
742*f126890aSEmmanuel Vadot			#pwm-cells = <2>;
743*f126890aSEmmanuel Vadot			status = "disabled";
744*f126890aSEmmanuel Vadot		};
745*f126890aSEmmanuel Vadot
746*f126890aSEmmanuel Vadot		pwm2: pwm@e6e32000 {
747*f126890aSEmmanuel Vadot			compatible = "renesas,pwm-r8a77470", "renesas,pwm-rcar";
748*f126890aSEmmanuel Vadot			reg = <0 0xe6e32000 0 0x8>;
749*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 523>;
750*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
751*f126890aSEmmanuel Vadot			resets = <&cpg 523>;
752*f126890aSEmmanuel Vadot			#pwm-cells = <2>;
753*f126890aSEmmanuel Vadot			status = "disabled";
754*f126890aSEmmanuel Vadot		};
755*f126890aSEmmanuel Vadot
756*f126890aSEmmanuel Vadot		pwm3: pwm@e6e33000 {
757*f126890aSEmmanuel Vadot			compatible = "renesas,pwm-r8a77470", "renesas,pwm-rcar";
758*f126890aSEmmanuel Vadot			reg = <0 0xe6e33000 0 0x8>;
759*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 523>;
760*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
761*f126890aSEmmanuel Vadot			resets = <&cpg 523>;
762*f126890aSEmmanuel Vadot			#pwm-cells = <2>;
763*f126890aSEmmanuel Vadot			status = "disabled";
764*f126890aSEmmanuel Vadot		};
765*f126890aSEmmanuel Vadot
766*f126890aSEmmanuel Vadot		pwm4: pwm@e6e34000 {
767*f126890aSEmmanuel Vadot			compatible = "renesas,pwm-r8a77470", "renesas,pwm-rcar";
768*f126890aSEmmanuel Vadot			reg = <0 0xe6e34000 0 0x8>;
769*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 523>;
770*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
771*f126890aSEmmanuel Vadot			resets = <&cpg 523>;
772*f126890aSEmmanuel Vadot			#pwm-cells = <2>;
773*f126890aSEmmanuel Vadot			status = "disabled";
774*f126890aSEmmanuel Vadot		};
775*f126890aSEmmanuel Vadot
776*f126890aSEmmanuel Vadot		pwm5: pwm@e6e35000 {
777*f126890aSEmmanuel Vadot			compatible = "renesas,pwm-r8a77470", "renesas,pwm-rcar";
778*f126890aSEmmanuel Vadot			reg = <0 0xe6e35000 0 0x8>;
779*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 523>;
780*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
781*f126890aSEmmanuel Vadot			resets = <&cpg 523>;
782*f126890aSEmmanuel Vadot			#pwm-cells = <2>;
783*f126890aSEmmanuel Vadot			status = "disabled";
784*f126890aSEmmanuel Vadot		};
785*f126890aSEmmanuel Vadot
786*f126890aSEmmanuel Vadot		pwm6: pwm@e6e36000 {
787*f126890aSEmmanuel Vadot			compatible = "renesas,pwm-r8a77470", "renesas,pwm-rcar";
788*f126890aSEmmanuel Vadot			reg = <0 0xe6e36000 0 0x8>;
789*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 523>;
790*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
791*f126890aSEmmanuel Vadot			resets = <&cpg 523>;
792*f126890aSEmmanuel Vadot			#pwm-cells = <2>;
793*f126890aSEmmanuel Vadot			status = "disabled";
794*f126890aSEmmanuel Vadot		};
795*f126890aSEmmanuel Vadot
796*f126890aSEmmanuel Vadot		vin0: video@e6ef0000 {
797*f126890aSEmmanuel Vadot			compatible = "renesas,vin-r8a77470",
798*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-vin";
799*f126890aSEmmanuel Vadot			reg = <0 0xe6ef0000 0 0x1000>;
800*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
801*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 811>;
802*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
803*f126890aSEmmanuel Vadot			resets = <&cpg 811>;
804*f126890aSEmmanuel Vadot			status = "disabled";
805*f126890aSEmmanuel Vadot		};
806*f126890aSEmmanuel Vadot
807*f126890aSEmmanuel Vadot		vin1: video@e6ef1000 {
808*f126890aSEmmanuel Vadot			compatible = "renesas,vin-r8a77470",
809*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-vin";
810*f126890aSEmmanuel Vadot			reg = <0 0xe6ef1000 0 0x1000>;
811*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
812*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 810>;
813*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
814*f126890aSEmmanuel Vadot			resets = <&cpg 810>;
815*f126890aSEmmanuel Vadot			status = "disabled";
816*f126890aSEmmanuel Vadot		};
817*f126890aSEmmanuel Vadot
818*f126890aSEmmanuel Vadot		ohci0: usb@ee080000 {
819*f126890aSEmmanuel Vadot			compatible = "generic-ohci";
820*f126890aSEmmanuel Vadot			reg = <0 0xee080000 0 0x100>;
821*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
822*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 703>;
823*f126890aSEmmanuel Vadot			phys = <&usb0 0>, <&usb2_phy0>;
824*f126890aSEmmanuel Vadot			phy-names = "usb";
825*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
826*f126890aSEmmanuel Vadot			resets = <&cpg 703>;
827*f126890aSEmmanuel Vadot			status = "disabled";
828*f126890aSEmmanuel Vadot		};
829*f126890aSEmmanuel Vadot
830*f126890aSEmmanuel Vadot		ehci0: usb@ee080100 {
831*f126890aSEmmanuel Vadot			compatible = "generic-ehci";
832*f126890aSEmmanuel Vadot			reg = <0 0xee080100 0 0x100>;
833*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
834*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 703>;
835*f126890aSEmmanuel Vadot			phys = <&usb0 0>, <&usb2_phy0>;
836*f126890aSEmmanuel Vadot			phy-names = "usb";
837*f126890aSEmmanuel Vadot			companion = <&ohci0>;
838*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
839*f126890aSEmmanuel Vadot			resets = <&cpg 703>;
840*f126890aSEmmanuel Vadot			status = "disabled";
841*f126890aSEmmanuel Vadot		};
842*f126890aSEmmanuel Vadot
843*f126890aSEmmanuel Vadot		usb2_phy0: usb-phy@ee080200 {
844*f126890aSEmmanuel Vadot			compatible = "renesas,usb2-phy-r8a77470";
845*f126890aSEmmanuel Vadot			reg = <0 0xee080200 0 0x700>;
846*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 703>;
847*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
848*f126890aSEmmanuel Vadot			resets = <&cpg 703>;
849*f126890aSEmmanuel Vadot			#phy-cells = <0>;
850*f126890aSEmmanuel Vadot			status = "disabled";
851*f126890aSEmmanuel Vadot		};
852*f126890aSEmmanuel Vadot
853*f126890aSEmmanuel Vadot		ohci1: usb@ee0c0000 {
854*f126890aSEmmanuel Vadot			compatible = "generic-ohci";
855*f126890aSEmmanuel Vadot			reg = <0 0xee0c0000 0 0x100>;
856*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
857*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 705>;
858*f126890aSEmmanuel Vadot			phys = <&usb0 1>, <&usb2_phy1>, <&usb1 0>;
859*f126890aSEmmanuel Vadot			phy-names = "usb";
860*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
861*f126890aSEmmanuel Vadot			resets = <&cpg 705>;
862*f126890aSEmmanuel Vadot			status = "disabled";
863*f126890aSEmmanuel Vadot		};
864*f126890aSEmmanuel Vadot
865*f126890aSEmmanuel Vadot		ehci1: usb@ee0c0100 {
866*f126890aSEmmanuel Vadot			compatible = "generic-ehci";
867*f126890aSEmmanuel Vadot			reg = <0 0xee0c0100 0 0x100>;
868*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
869*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 705>;
870*f126890aSEmmanuel Vadot			phys = <&usb0 1>, <&usb2_phy1>, <&usb1 0>;
871*f126890aSEmmanuel Vadot			phy-names = "usb";
872*f126890aSEmmanuel Vadot			companion = <&ohci1>;
873*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
874*f126890aSEmmanuel Vadot			resets = <&cpg 705>;
875*f126890aSEmmanuel Vadot			status = "disabled";
876*f126890aSEmmanuel Vadot		};
877*f126890aSEmmanuel Vadot
878*f126890aSEmmanuel Vadot		usb2_phy1: usb-phy@ee0c0200 {
879*f126890aSEmmanuel Vadot			compatible = "renesas,usb2-phy-r8a77470";
880*f126890aSEmmanuel Vadot			reg = <0 0xee0c0200 0 0x700>;
881*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 705>;
882*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
883*f126890aSEmmanuel Vadot			resets = <&cpg 705>;
884*f126890aSEmmanuel Vadot			#phy-cells = <0>;
885*f126890aSEmmanuel Vadot			status = "disabled";
886*f126890aSEmmanuel Vadot		};
887*f126890aSEmmanuel Vadot
888*f126890aSEmmanuel Vadot		sdhi0: mmc@ee100000 {
889*f126890aSEmmanuel Vadot			compatible = "renesas,sdhi-r8a77470",
890*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-sdhi";
891*f126890aSEmmanuel Vadot			reg = <0 0xee100000 0 0x328>;
892*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
893*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 314>;
894*f126890aSEmmanuel Vadot			dmas = <&dmac0 0xcd>, <&dmac0 0xce>,
895*f126890aSEmmanuel Vadot			       <&dmac1 0xcd>, <&dmac1 0xce>;
896*f126890aSEmmanuel Vadot			dma-names = "tx", "rx", "tx", "rx";
897*f126890aSEmmanuel Vadot			max-frequency = <156000000>;
898*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
899*f126890aSEmmanuel Vadot			resets = <&cpg 314>;
900*f126890aSEmmanuel Vadot			status = "disabled";
901*f126890aSEmmanuel Vadot		};
902*f126890aSEmmanuel Vadot
903*f126890aSEmmanuel Vadot		sdhi1: mmc@ee300000 {
904*f126890aSEmmanuel Vadot			compatible = "renesas,sdhi-mmc-r8a77470";
905*f126890aSEmmanuel Vadot			reg = <0 0xee300000 0 0x2000>;
906*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
907*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 313>;
908*f126890aSEmmanuel Vadot			max-frequency = <156000000>;
909*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
910*f126890aSEmmanuel Vadot			resets = <&cpg 313>;
911*f126890aSEmmanuel Vadot			status = "disabled";
912*f126890aSEmmanuel Vadot		};
913*f126890aSEmmanuel Vadot
914*f126890aSEmmanuel Vadot		sdhi2: mmc@ee160000 {
915*f126890aSEmmanuel Vadot			compatible = "renesas,sdhi-r8a77470",
916*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-sdhi";
917*f126890aSEmmanuel Vadot			reg = <0 0xee160000 0 0x328>;
918*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
919*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 312>;
920*f126890aSEmmanuel Vadot			dmas = <&dmac0 0xd3>, <&dmac0 0xd4>,
921*f126890aSEmmanuel Vadot			       <&dmac1 0xd3>, <&dmac1 0xd4>;
922*f126890aSEmmanuel Vadot			dma-names = "tx", "rx", "tx", "rx";
923*f126890aSEmmanuel Vadot			max-frequency = <78000000>;
924*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
925*f126890aSEmmanuel Vadot			resets = <&cpg 312>;
926*f126890aSEmmanuel Vadot			status = "disabled";
927*f126890aSEmmanuel Vadot		};
928*f126890aSEmmanuel Vadot
929*f126890aSEmmanuel Vadot		gic: interrupt-controller@f1001000 {
930*f126890aSEmmanuel Vadot			compatible = "arm,gic-400";
931*f126890aSEmmanuel Vadot			#interrupt-cells = <3>;
932*f126890aSEmmanuel Vadot			#address-cells = <0>;
933*f126890aSEmmanuel Vadot			interrupt-controller;
934*f126890aSEmmanuel Vadot			reg = <0 0xf1001000 0 0x1000>, <0 0xf1002000 0 0x2000>,
935*f126890aSEmmanuel Vadot			      <0 0xf1004000 0 0x2000>, <0 0xf1006000 0 0x2000>;
936*f126890aSEmmanuel Vadot			interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
937*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 408>;
938*f126890aSEmmanuel Vadot			clock-names = "clk";
939*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
940*f126890aSEmmanuel Vadot			resets = <&cpg 408>;
941*f126890aSEmmanuel Vadot		};
942*f126890aSEmmanuel Vadot
943*f126890aSEmmanuel Vadot		du: display@feb00000 {
944*f126890aSEmmanuel Vadot			compatible = "renesas,du-r8a77470";
945*f126890aSEmmanuel Vadot			reg = <0 0xfeb00000 0 0x40000>;
946*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
947*f126890aSEmmanuel Vadot				     <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
948*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>;
949*f126890aSEmmanuel Vadot			clock-names = "du.0", "du.1";
950*f126890aSEmmanuel Vadot			resets = <&cpg 724>;
951*f126890aSEmmanuel Vadot			reset-names = "du.0";
952*f126890aSEmmanuel Vadot			status = "disabled";
953*f126890aSEmmanuel Vadot
954*f126890aSEmmanuel Vadot			ports {
955*f126890aSEmmanuel Vadot				#address-cells = <1>;
956*f126890aSEmmanuel Vadot				#size-cells = <0>;
957*f126890aSEmmanuel Vadot
958*f126890aSEmmanuel Vadot				port@0 {
959*f126890aSEmmanuel Vadot					reg = <0>;
960*f126890aSEmmanuel Vadot					du_out_rgb0: endpoint {
961*f126890aSEmmanuel Vadot					};
962*f126890aSEmmanuel Vadot				};
963*f126890aSEmmanuel Vadot				port@1 {
964*f126890aSEmmanuel Vadot					reg = <1>;
965*f126890aSEmmanuel Vadot					du_out_rgb1: endpoint {
966*f126890aSEmmanuel Vadot					};
967*f126890aSEmmanuel Vadot				};
968*f126890aSEmmanuel Vadot				port@2 {
969*f126890aSEmmanuel Vadot					reg = <2>;
970*f126890aSEmmanuel Vadot					du_out_lvds0: endpoint {
971*f126890aSEmmanuel Vadot					};
972*f126890aSEmmanuel Vadot				};
973*f126890aSEmmanuel Vadot			};
974*f126890aSEmmanuel Vadot		};
975*f126890aSEmmanuel Vadot
976*f126890aSEmmanuel Vadot		prr: chipid@ff000044 {
977*f126890aSEmmanuel Vadot			compatible = "renesas,prr";
978*f126890aSEmmanuel Vadot			reg = <0 0xff000044 0 4>;
979*f126890aSEmmanuel Vadot		};
980*f126890aSEmmanuel Vadot
981*f126890aSEmmanuel Vadot		cmt0: timer@ffca0000 {
982*f126890aSEmmanuel Vadot			compatible = "renesas,r8a77470-cmt0",
983*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-cmt0";
984*f126890aSEmmanuel Vadot			reg = <0 0xffca0000 0 0x1004>;
985*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
986*f126890aSEmmanuel Vadot				     <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
987*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 124>;
988*f126890aSEmmanuel Vadot			clock-names = "fck";
989*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
990*f126890aSEmmanuel Vadot			resets = <&cpg 124>;
991*f126890aSEmmanuel Vadot			status = "disabled";
992*f126890aSEmmanuel Vadot		};
993*f126890aSEmmanuel Vadot
994*f126890aSEmmanuel Vadot		cmt1: timer@e6130000 {
995*f126890aSEmmanuel Vadot			compatible = "renesas,r8a77470-cmt1",
996*f126890aSEmmanuel Vadot				     "renesas,rcar-gen2-cmt1";
997*f126890aSEmmanuel Vadot			reg = <0 0xe6130000 0 0x1004>;
998*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
999*f126890aSEmmanuel Vadot				     <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
1000*f126890aSEmmanuel Vadot				     <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
1001*f126890aSEmmanuel Vadot				     <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
1002*f126890aSEmmanuel Vadot				     <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
1003*f126890aSEmmanuel Vadot				     <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
1004*f126890aSEmmanuel Vadot				     <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
1005*f126890aSEmmanuel Vadot				     <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
1006*f126890aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 329>;
1007*f126890aSEmmanuel Vadot			clock-names = "fck";
1008*f126890aSEmmanuel Vadot			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
1009*f126890aSEmmanuel Vadot			resets = <&cpg 329>;
1010*f126890aSEmmanuel Vadot			status = "disabled";
1011*f126890aSEmmanuel Vadot		};
1012*f126890aSEmmanuel Vadot	};
1013*f126890aSEmmanuel Vadot
1014*f126890aSEmmanuel Vadot	timer {
1015*f126890aSEmmanuel Vadot		compatible = "arm,armv7-timer";
1016*f126890aSEmmanuel Vadot		interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1017*f126890aSEmmanuel Vadot				      <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1018*f126890aSEmmanuel Vadot				      <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1019*f126890aSEmmanuel Vadot				      <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
1020*f126890aSEmmanuel Vadot	};
1021*f126890aSEmmanuel Vadot
1022*f126890aSEmmanuel Vadot	/* External USB clock - can be overridden by the board */
1023*f126890aSEmmanuel Vadot	usb_extal_clk: usb_extal {
1024*f126890aSEmmanuel Vadot		compatible = "fixed-clock";
1025*f126890aSEmmanuel Vadot		#clock-cells = <0>;
1026*f126890aSEmmanuel Vadot		clock-frequency = <48000000>;
1027*f126890aSEmmanuel Vadot	};
1028*f126890aSEmmanuel Vadot};
1029