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