xref: /freebsd-src/sys/contrib/device-tree/src/arm/renesas/r8a7778.dtsi (revision 01950c46b8155250f64374fb72fc11faa44bf099)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Device Tree Source for the R-Car M1A (R8A77781) SoC
4f126890aSEmmanuel Vadot *
5f126890aSEmmanuel Vadot * Copyright (C) 2013  Renesas Solutions Corp.
6f126890aSEmmanuel Vadot * Copyright (C) 2013  Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
7f126890aSEmmanuel Vadot *
8f126890aSEmmanuel Vadot * based on r8a7779
9f126890aSEmmanuel Vadot *
10f126890aSEmmanuel Vadot * Copyright (C) 2013 Renesas Solutions Corp.
11f126890aSEmmanuel Vadot * Copyright (C) 2013 Simon Horman
12f126890aSEmmanuel Vadot */
13f126890aSEmmanuel Vadot
14f126890aSEmmanuel Vadot#include <dt-bindings/clock/r8a7778-clock.h>
15f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h>
16f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
17f126890aSEmmanuel Vadot
18f126890aSEmmanuel Vadot/ {
19f126890aSEmmanuel Vadot	compatible = "renesas,r8a7778";
20f126890aSEmmanuel Vadot	interrupt-parent = <&gic>;
21f126890aSEmmanuel Vadot	#address-cells = <1>;
22f126890aSEmmanuel Vadot	#size-cells = <1>;
23f126890aSEmmanuel Vadot
24f126890aSEmmanuel Vadot	cpus {
25f126890aSEmmanuel Vadot		#address-cells = <1>;
26f126890aSEmmanuel Vadot		#size-cells = <0>;
27f126890aSEmmanuel Vadot
28f126890aSEmmanuel Vadot		cpu@0 {
29f126890aSEmmanuel Vadot			device_type = "cpu";
30f126890aSEmmanuel Vadot			compatible = "arm,cortex-a9";
31f126890aSEmmanuel Vadot			reg = <0>;
32f126890aSEmmanuel Vadot			clock-frequency = <800000000>;
33f126890aSEmmanuel Vadot			clocks = <&z_clk>;
34f126890aSEmmanuel Vadot		};
35f126890aSEmmanuel Vadot	};
36f126890aSEmmanuel Vadot
37f126890aSEmmanuel Vadot	aliases {
38f126890aSEmmanuel Vadot		spi0 = &hspi0;
39f126890aSEmmanuel Vadot		spi1 = &hspi1;
40f126890aSEmmanuel Vadot		spi2 = &hspi2;
41f126890aSEmmanuel Vadot	};
42f126890aSEmmanuel Vadot
43f126890aSEmmanuel Vadot	bsc: bus@1c000000 {
44f126890aSEmmanuel Vadot		compatible = "simple-bus";
45f126890aSEmmanuel Vadot		#address-cells = <1>;
46f126890aSEmmanuel Vadot		#size-cells = <1>;
47f126890aSEmmanuel Vadot		ranges = <0 0 0x1c000000>;
48f126890aSEmmanuel Vadot	};
49f126890aSEmmanuel Vadot
50f126890aSEmmanuel Vadot	ether: ethernet@fde00000 {
51f126890aSEmmanuel Vadot		compatible = "renesas,ether-r8a7778",
52f126890aSEmmanuel Vadot			     "renesas,rcar-gen1-ether";
53f126890aSEmmanuel Vadot		reg = <0xfde00000 0x400>;
54f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
55f126890aSEmmanuel Vadot		clocks = <&mstp1_clks R8A7778_CLK_ETHER>;
56f126890aSEmmanuel Vadot		power-domains = <&cpg_clocks>;
57f126890aSEmmanuel Vadot		phy-mode = "rmii";
58f126890aSEmmanuel Vadot		#address-cells = <1>;
59f126890aSEmmanuel Vadot		#size-cells = <0>;
60f126890aSEmmanuel Vadot		status = "disabled";
61f126890aSEmmanuel Vadot	};
62f126890aSEmmanuel Vadot
63f126890aSEmmanuel Vadot	gic: interrupt-controller@fe438000 {
64f126890aSEmmanuel Vadot		compatible = "arm,pl390";
65f126890aSEmmanuel Vadot		#interrupt-cells = <3>;
66f126890aSEmmanuel Vadot		interrupt-controller;
67f126890aSEmmanuel Vadot		reg = <0xfe438000 0x1000>,
68f126890aSEmmanuel Vadot		      <0xfe430000 0x100>;
69f126890aSEmmanuel Vadot	};
70f126890aSEmmanuel Vadot
71f126890aSEmmanuel Vadot	/* irqpin: IRQ0 - IRQ3 */
72f126890aSEmmanuel Vadot	irqpin: interrupt-controller@fe78001c {
73f126890aSEmmanuel Vadot		compatible = "renesas,intc-irqpin-r8a7778", "renesas,intc-irqpin";
74f126890aSEmmanuel Vadot		#interrupt-cells = <2>;
75f126890aSEmmanuel Vadot		interrupt-controller;
76f126890aSEmmanuel Vadot		status = "disabled"; /* default off */
77f126890aSEmmanuel Vadot		reg =	<0xfe78001c 4>,
78f126890aSEmmanuel Vadot			<0xfe780010 4>,
79f126890aSEmmanuel Vadot			<0xfe780024 4>,
80f126890aSEmmanuel Vadot			<0xfe780044 4>,
81f126890aSEmmanuel Vadot			<0xfe780064 4>,
82f126890aSEmmanuel Vadot			<0xfe780000 4>;
83f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>,
84f126890aSEmmanuel Vadot			     <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>,
85f126890aSEmmanuel Vadot			     <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
86f126890aSEmmanuel Vadot			     <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
87f126890aSEmmanuel Vadot		sense-bitfield-width = <2>;
88f126890aSEmmanuel Vadot	};
89f126890aSEmmanuel Vadot
90f126890aSEmmanuel Vadot	gpio0: gpio@ffc40000 {
91f126890aSEmmanuel Vadot		compatible = "renesas,gpio-r8a7778", "renesas,rcar-gen1-gpio";
92f126890aSEmmanuel Vadot		reg = <0xffc40000 0x2c>;
93f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
94f126890aSEmmanuel Vadot		#gpio-cells = <2>;
95f126890aSEmmanuel Vadot		gpio-controller;
96f126890aSEmmanuel Vadot		gpio-ranges = <&pfc 0 0 32>;
97f126890aSEmmanuel Vadot		#interrupt-cells = <2>;
98f126890aSEmmanuel Vadot		interrupt-controller;
99f126890aSEmmanuel Vadot	};
100f126890aSEmmanuel Vadot
101f126890aSEmmanuel Vadot	gpio1: gpio@ffc41000 {
102f126890aSEmmanuel Vadot		compatible = "renesas,gpio-r8a7778", "renesas,rcar-gen1-gpio";
103f126890aSEmmanuel Vadot		reg = <0xffc41000 0x2c>;
104f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
105f126890aSEmmanuel Vadot		#gpio-cells = <2>;
106f126890aSEmmanuel Vadot		gpio-controller;
107f126890aSEmmanuel Vadot		gpio-ranges = <&pfc 0 32 32>;
108f126890aSEmmanuel Vadot		#interrupt-cells = <2>;
109f126890aSEmmanuel Vadot		interrupt-controller;
110f126890aSEmmanuel Vadot	};
111f126890aSEmmanuel Vadot
112f126890aSEmmanuel Vadot	gpio2: gpio@ffc42000 {
113f126890aSEmmanuel Vadot		compatible = "renesas,gpio-r8a7778", "renesas,rcar-gen1-gpio";
114f126890aSEmmanuel Vadot		reg = <0xffc42000 0x2c>;
115f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
116f126890aSEmmanuel Vadot		#gpio-cells = <2>;
117f126890aSEmmanuel Vadot		gpio-controller;
118f126890aSEmmanuel Vadot		gpio-ranges = <&pfc 0 64 32>;
119f126890aSEmmanuel Vadot		#interrupt-cells = <2>;
120f126890aSEmmanuel Vadot		interrupt-controller;
121f126890aSEmmanuel Vadot	};
122f126890aSEmmanuel Vadot
123f126890aSEmmanuel Vadot	gpio3: gpio@ffc43000 {
124f126890aSEmmanuel Vadot		compatible = "renesas,gpio-r8a7778", "renesas,rcar-gen1-gpio";
125f126890aSEmmanuel Vadot		reg = <0xffc43000 0x2c>;
126f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
127f126890aSEmmanuel Vadot		#gpio-cells = <2>;
128f126890aSEmmanuel Vadot		gpio-controller;
129f126890aSEmmanuel Vadot		gpio-ranges = <&pfc 0 96 32>;
130f126890aSEmmanuel Vadot		#interrupt-cells = <2>;
131f126890aSEmmanuel Vadot		interrupt-controller;
132f126890aSEmmanuel Vadot	};
133f126890aSEmmanuel Vadot
134f126890aSEmmanuel Vadot	gpio4: gpio@ffc44000 {
135f126890aSEmmanuel Vadot		compatible = "renesas,gpio-r8a7778", "renesas,rcar-gen1-gpio";
136f126890aSEmmanuel Vadot		reg = <0xffc44000 0x2c>;
137f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
138f126890aSEmmanuel Vadot		#gpio-cells = <2>;
139f126890aSEmmanuel Vadot		gpio-controller;
140f126890aSEmmanuel Vadot		gpio-ranges = <&pfc 0 128 27>;
141f126890aSEmmanuel Vadot		#interrupt-cells = <2>;
142f126890aSEmmanuel Vadot		interrupt-controller;
143f126890aSEmmanuel Vadot	};
144f126890aSEmmanuel Vadot
145f126890aSEmmanuel Vadot	pfc: pinctrl@fffc0000 {
146f126890aSEmmanuel Vadot		compatible = "renesas,pfc-r8a7778";
147f126890aSEmmanuel Vadot		reg = <0xfffc0000 0x118>;
148f126890aSEmmanuel Vadot	};
149f126890aSEmmanuel Vadot
150f126890aSEmmanuel Vadot	i2c0: i2c@ffc70000 {
151f126890aSEmmanuel Vadot		#address-cells = <1>;
152f126890aSEmmanuel Vadot		#size-cells = <0>;
153f126890aSEmmanuel Vadot		compatible = "renesas,i2c-r8a7778", "renesas,rcar-gen1-i2c";
154f126890aSEmmanuel Vadot		reg = <0xffc70000 0x1000>;
155f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
156f126890aSEmmanuel Vadot		clocks = <&mstp0_clks R8A7778_CLK_I2C0>;
157f126890aSEmmanuel Vadot		power-domains = <&cpg_clocks>;
158f126890aSEmmanuel Vadot		status = "disabled";
159f126890aSEmmanuel Vadot	};
160f126890aSEmmanuel Vadot
161f126890aSEmmanuel Vadot	i2c1: i2c@ffc71000 {
162f126890aSEmmanuel Vadot		#address-cells = <1>;
163f126890aSEmmanuel Vadot		#size-cells = <0>;
164f126890aSEmmanuel Vadot		compatible = "renesas,i2c-r8a7778", "renesas,rcar-gen1-i2c";
165f126890aSEmmanuel Vadot		reg = <0xffc71000 0x1000>;
166f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
167f126890aSEmmanuel Vadot		clocks = <&mstp0_clks R8A7778_CLK_I2C1>;
168f126890aSEmmanuel Vadot		power-domains = <&cpg_clocks>;
169f126890aSEmmanuel Vadot		i2c-scl-internal-delay-ns = <5>;
170f126890aSEmmanuel Vadot		status = "disabled";
171f126890aSEmmanuel Vadot	};
172f126890aSEmmanuel Vadot
173f126890aSEmmanuel Vadot	i2c2: i2c@ffc72000 {
174f126890aSEmmanuel Vadot		#address-cells = <1>;
175f126890aSEmmanuel Vadot		#size-cells = <0>;
176f126890aSEmmanuel Vadot		compatible = "renesas,i2c-r8a7778", "renesas,rcar-gen1-i2c";
177f126890aSEmmanuel Vadot		reg = <0xffc72000 0x1000>;
178f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
179f126890aSEmmanuel Vadot		clocks = <&mstp0_clks R8A7778_CLK_I2C2>;
180f126890aSEmmanuel Vadot		power-domains = <&cpg_clocks>;
181f126890aSEmmanuel Vadot		i2c-scl-internal-delay-ns = <5>;
182f126890aSEmmanuel Vadot		status = "disabled";
183f126890aSEmmanuel Vadot	};
184f126890aSEmmanuel Vadot
185f126890aSEmmanuel Vadot	i2c3: i2c@ffc73000 {
186f126890aSEmmanuel Vadot		#address-cells = <1>;
187f126890aSEmmanuel Vadot		#size-cells = <0>;
188f126890aSEmmanuel Vadot		compatible = "renesas,i2c-r8a7778", "renesas,rcar-gen1-i2c";
189f126890aSEmmanuel Vadot		reg = <0xffc73000 0x1000>;
190f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
191f126890aSEmmanuel Vadot		clocks = <&mstp0_clks R8A7778_CLK_I2C3>;
192f126890aSEmmanuel Vadot		power-domains = <&cpg_clocks>;
193f126890aSEmmanuel Vadot		i2c-scl-internal-delay-ns = <5>;
194f126890aSEmmanuel Vadot		status = "disabled";
195f126890aSEmmanuel Vadot	};
196f126890aSEmmanuel Vadot
197f126890aSEmmanuel Vadot	tmu0: timer@ffd80000 {
198f126890aSEmmanuel Vadot		compatible = "renesas,tmu-r8a7778", "renesas,tmu";
199f126890aSEmmanuel Vadot		reg = <0xffd80000 0x30>;
200f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>,
201f126890aSEmmanuel Vadot			     <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>,
202*01950c46SEmmanuel Vadot			     <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>,
203*01950c46SEmmanuel Vadot			     <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
204*01950c46SEmmanuel Vadot		interrupt-names = "tuni0", "tuni1", "tuni2", "ticpi2";
205f126890aSEmmanuel Vadot		clocks = <&mstp0_clks R8A7778_CLK_TMU0>;
206f126890aSEmmanuel Vadot		clock-names = "fck";
207f126890aSEmmanuel Vadot		power-domains = <&cpg_clocks>;
208f126890aSEmmanuel Vadot
209f126890aSEmmanuel Vadot		#renesas,channels = <3>;
210f126890aSEmmanuel Vadot
211f126890aSEmmanuel Vadot		status = "disabled";
212f126890aSEmmanuel Vadot	};
213f126890aSEmmanuel Vadot
214f126890aSEmmanuel Vadot	tmu1: timer@ffd81000 {
215f126890aSEmmanuel Vadot		compatible = "renesas,tmu-r8a7778", "renesas,tmu";
216f126890aSEmmanuel Vadot		reg = <0xffd81000 0x30>;
217f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>,
218f126890aSEmmanuel Vadot			     <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>,
219*01950c46SEmmanuel Vadot			     <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>,
220*01950c46SEmmanuel Vadot			     <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
221*01950c46SEmmanuel Vadot		interrupt-names = "tuni0", "tuni1", "tuni2", "ticpi2";
222f126890aSEmmanuel Vadot		clocks = <&mstp0_clks R8A7778_CLK_TMU1>;
223f126890aSEmmanuel Vadot		clock-names = "fck";
224f126890aSEmmanuel Vadot		power-domains = <&cpg_clocks>;
225f126890aSEmmanuel Vadot
226f126890aSEmmanuel Vadot		#renesas,channels = <3>;
227f126890aSEmmanuel Vadot
228f126890aSEmmanuel Vadot		status = "disabled";
229f126890aSEmmanuel Vadot	};
230f126890aSEmmanuel Vadot
231f126890aSEmmanuel Vadot	tmu2: timer@ffd82000 {
232f126890aSEmmanuel Vadot		compatible = "renesas,tmu-r8a7778", "renesas,tmu";
233f126890aSEmmanuel Vadot		reg = <0xffd82000 0x30>;
234f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
235f126890aSEmmanuel Vadot			     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
236f126890aSEmmanuel Vadot			     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
237*01950c46SEmmanuel Vadot		interrupt-names = "tuni0", "tuni1", "tuni2";
238f126890aSEmmanuel Vadot		clocks = <&mstp0_clks R8A7778_CLK_TMU2>;
239f126890aSEmmanuel Vadot		clock-names = "fck";
240f126890aSEmmanuel Vadot		power-domains = <&cpg_clocks>;
241f126890aSEmmanuel Vadot
242f126890aSEmmanuel Vadot		#renesas,channels = <3>;
243f126890aSEmmanuel Vadot
244f126890aSEmmanuel Vadot		status = "disabled";
245f126890aSEmmanuel Vadot	};
246f126890aSEmmanuel Vadot
247f126890aSEmmanuel Vadot	rcar_sound: sound@ffd90000 {
248f126890aSEmmanuel Vadot		/*
249f126890aSEmmanuel Vadot		 * #sound-dai-cells is required if simple-card
250f126890aSEmmanuel Vadot		 *
251f126890aSEmmanuel Vadot		 * Single DAI : #sound-dai-cells = <0>;         <&rcar_sound>;
252f126890aSEmmanuel Vadot		 * Multi  DAI : #sound-dai-cells = <1>;         <&rcar_sound N>;
253f126890aSEmmanuel Vadot		 */
254f126890aSEmmanuel Vadot		compatible = "renesas,rcar_sound-r8a7778", "renesas,rcar_sound-gen1";
255f126890aSEmmanuel Vadot		reg =	<0xffd90000 0x1000>,	/* SRU */
256f126890aSEmmanuel Vadot			<0xffd91000 0x240>,	/* SSI */
257f126890aSEmmanuel Vadot			<0xfffe0000 0x24>;	/* ADG */
258*01950c46SEmmanuel Vadot		reg-names = "sru", "ssi", "adg";
259*01950c46SEmmanuel Vadot
260f126890aSEmmanuel Vadot		clocks = <&mstp3_clks R8A7778_CLK_SSI8>,
261f126890aSEmmanuel Vadot			<&mstp3_clks R8A7778_CLK_SSI7>,
262f126890aSEmmanuel Vadot			<&mstp3_clks R8A7778_CLK_SSI6>,
263f126890aSEmmanuel Vadot			<&mstp3_clks R8A7778_CLK_SSI5>,
264f126890aSEmmanuel Vadot			<&mstp3_clks R8A7778_CLK_SSI4>,
265f126890aSEmmanuel Vadot			<&mstp0_clks R8A7778_CLK_SSI3>,
266f126890aSEmmanuel Vadot			<&mstp0_clks R8A7778_CLK_SSI2>,
267f126890aSEmmanuel Vadot			<&mstp0_clks R8A7778_CLK_SSI1>,
268f126890aSEmmanuel Vadot			<&mstp0_clks R8A7778_CLK_SSI0>,
269f126890aSEmmanuel Vadot			<&mstp5_clks R8A7778_CLK_SRU_SRC8>,
270f126890aSEmmanuel Vadot			<&mstp5_clks R8A7778_CLK_SRU_SRC7>,
271f126890aSEmmanuel Vadot			<&mstp5_clks R8A7778_CLK_SRU_SRC6>,
272f126890aSEmmanuel Vadot			<&mstp5_clks R8A7778_CLK_SRU_SRC5>,
273f126890aSEmmanuel Vadot			<&mstp5_clks R8A7778_CLK_SRU_SRC4>,
274f126890aSEmmanuel Vadot			<&mstp5_clks R8A7778_CLK_SRU_SRC3>,
275f126890aSEmmanuel Vadot			<&mstp5_clks R8A7778_CLK_SRU_SRC2>,
276f126890aSEmmanuel Vadot			<&mstp5_clks R8A7778_CLK_SRU_SRC1>,
277f126890aSEmmanuel Vadot			<&mstp5_clks R8A7778_CLK_SRU_SRC0>,
278f126890aSEmmanuel Vadot			<&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>,
279f126890aSEmmanuel Vadot			<&cpg_clocks R8A7778_CLK_S1>;
280f126890aSEmmanuel Vadot		clock-names = "ssi.8", "ssi.7", "ssi.6", "ssi.5", "ssi.4",
281f126890aSEmmanuel Vadot			"ssi.3", "ssi.2", "ssi.1", "ssi.0",
282f126890aSEmmanuel Vadot			"src.8", "src.7", "src.6", "src.5", "src.4",
283f126890aSEmmanuel Vadot			"src.3", "src.2", "src.1", "src.0",
284f126890aSEmmanuel Vadot			"clk_a", "clk_b", "clk_c", "clk_i";
285f126890aSEmmanuel Vadot
286f126890aSEmmanuel Vadot		status = "disabled";
287f126890aSEmmanuel Vadot
288f126890aSEmmanuel Vadot		rcar_sound,src {
289f126890aSEmmanuel Vadot			src3: src-3 { };
290f126890aSEmmanuel Vadot			src4: src-4 { };
291f126890aSEmmanuel Vadot			src5: src-5 { };
292f126890aSEmmanuel Vadot			src6: src-6 { };
293f126890aSEmmanuel Vadot			src7: src-7 { };
294f126890aSEmmanuel Vadot			src8: src-8 { };
295f126890aSEmmanuel Vadot			src9: src-9 { };
296f126890aSEmmanuel Vadot		};
297f126890aSEmmanuel Vadot
298f126890aSEmmanuel Vadot		rcar_sound,ssi {
299f126890aSEmmanuel Vadot			ssi3: ssi-3 { interrupts = <GIC_SPI 0x85 IRQ_TYPE_LEVEL_HIGH>; };
300f126890aSEmmanuel Vadot			ssi4: ssi-4 { interrupts = <GIC_SPI 0x85 IRQ_TYPE_LEVEL_HIGH>; };
301f126890aSEmmanuel Vadot			ssi5: ssi-5 { interrupts = <GIC_SPI 0x86 IRQ_TYPE_LEVEL_HIGH>; };
302f126890aSEmmanuel Vadot			ssi6: ssi-6 { interrupts = <GIC_SPI 0x86 IRQ_TYPE_LEVEL_HIGH>; };
303f126890aSEmmanuel Vadot			ssi7: ssi-7 { interrupts = <GIC_SPI 0x86 IRQ_TYPE_LEVEL_HIGH>; };
304f126890aSEmmanuel Vadot			ssi8: ssi-8 { interrupts = <GIC_SPI 0x86 IRQ_TYPE_LEVEL_HIGH>; };
305f126890aSEmmanuel Vadot			ssi9: ssi-9 { interrupts = <GIC_SPI 0x86 IRQ_TYPE_LEVEL_HIGH>; };
306f126890aSEmmanuel Vadot		};
307f126890aSEmmanuel Vadot	};
308f126890aSEmmanuel Vadot
309f126890aSEmmanuel Vadot	scif0: serial@ffe40000 {
310f126890aSEmmanuel Vadot		compatible = "renesas,scif-r8a7778", "renesas,rcar-gen1-scif",
311f126890aSEmmanuel Vadot			     "renesas,scif";
312f126890aSEmmanuel Vadot		reg = <0xffe40000 0x100>;
313f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
314f126890aSEmmanuel Vadot		clocks = <&mstp0_clks R8A7778_CLK_SCIF0>,
315f126890aSEmmanuel Vadot			 <&cpg_clocks R8A7778_CLK_S1>, <&scif_clk>;
316f126890aSEmmanuel Vadot		clock-names = "fck", "brg_int", "scif_clk";
317f126890aSEmmanuel Vadot		power-domains = <&cpg_clocks>;
318f126890aSEmmanuel Vadot		status = "disabled";
319f126890aSEmmanuel Vadot	};
320f126890aSEmmanuel Vadot
321f126890aSEmmanuel Vadot	scif1: serial@ffe41000 {
322f126890aSEmmanuel Vadot		compatible = "renesas,scif-r8a7778", "renesas,rcar-gen1-scif",
323f126890aSEmmanuel Vadot			     "renesas,scif";
324f126890aSEmmanuel Vadot		reg = <0xffe41000 0x100>;
325f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
326f126890aSEmmanuel Vadot		clocks = <&mstp0_clks R8A7778_CLK_SCIF1>,
327f126890aSEmmanuel Vadot			 <&cpg_clocks R8A7778_CLK_S1>, <&scif_clk>;
328f126890aSEmmanuel Vadot		clock-names = "fck", "brg_int", "scif_clk";
329f126890aSEmmanuel Vadot		power-domains = <&cpg_clocks>;
330f126890aSEmmanuel Vadot		status = "disabled";
331f126890aSEmmanuel Vadot	};
332f126890aSEmmanuel Vadot
333f126890aSEmmanuel Vadot	scif2: serial@ffe42000 {
334f126890aSEmmanuel Vadot		compatible = "renesas,scif-r8a7778", "renesas,rcar-gen1-scif",
335f126890aSEmmanuel Vadot			     "renesas,scif";
336f126890aSEmmanuel Vadot		reg = <0xffe42000 0x100>;
337f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
338f126890aSEmmanuel Vadot		clocks = <&mstp0_clks R8A7778_CLK_SCIF2>,
339f126890aSEmmanuel Vadot			 <&cpg_clocks R8A7778_CLK_S1>, <&scif_clk>;
340f126890aSEmmanuel Vadot		clock-names = "fck", "brg_int", "scif_clk";
341f126890aSEmmanuel Vadot		power-domains = <&cpg_clocks>;
342f126890aSEmmanuel Vadot		status = "disabled";
343f126890aSEmmanuel Vadot	};
344f126890aSEmmanuel Vadot
345f126890aSEmmanuel Vadot	scif3: serial@ffe43000 {
346f126890aSEmmanuel Vadot		compatible = "renesas,scif-r8a7778", "renesas,rcar-gen1-scif",
347f126890aSEmmanuel Vadot			     "renesas,scif";
348f126890aSEmmanuel Vadot		reg = <0xffe43000 0x100>;
349f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
350f126890aSEmmanuel Vadot		clocks = <&mstp0_clks R8A7778_CLK_SCIF3>,
351f126890aSEmmanuel Vadot			 <&cpg_clocks R8A7778_CLK_S1>, <&scif_clk>;
352f126890aSEmmanuel Vadot		clock-names = "fck", "brg_int", "scif_clk";
353f126890aSEmmanuel Vadot		power-domains = <&cpg_clocks>;
354f126890aSEmmanuel Vadot		status = "disabled";
355f126890aSEmmanuel Vadot	};
356f126890aSEmmanuel Vadot
357f126890aSEmmanuel Vadot	scif4: serial@ffe44000 {
358f126890aSEmmanuel Vadot		compatible = "renesas,scif-r8a7778", "renesas,rcar-gen1-scif",
359f126890aSEmmanuel Vadot			     "renesas,scif";
360f126890aSEmmanuel Vadot		reg = <0xffe44000 0x100>;
361f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
362f126890aSEmmanuel Vadot		clocks = <&mstp0_clks R8A7778_CLK_SCIF4>,
363f126890aSEmmanuel Vadot			 <&cpg_clocks R8A7778_CLK_S1>, <&scif_clk>;
364f126890aSEmmanuel Vadot		clock-names = "fck", "brg_int", "scif_clk";
365f126890aSEmmanuel Vadot		power-domains = <&cpg_clocks>;
366f126890aSEmmanuel Vadot		status = "disabled";
367f126890aSEmmanuel Vadot	};
368f126890aSEmmanuel Vadot
369f126890aSEmmanuel Vadot	scif5: serial@ffe45000 {
370f126890aSEmmanuel Vadot		compatible = "renesas,scif-r8a7778", "renesas,rcar-gen1-scif",
371f126890aSEmmanuel Vadot			     "renesas,scif";
372f126890aSEmmanuel Vadot		reg = <0xffe45000 0x100>;
373f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
374f126890aSEmmanuel Vadot		clocks = <&mstp0_clks R8A7778_CLK_SCIF5>,
375f126890aSEmmanuel Vadot			 <&cpg_clocks R8A7778_CLK_S1>, <&scif_clk>;
376f126890aSEmmanuel Vadot		clock-names = "fck", "brg_int", "scif_clk";
377f126890aSEmmanuel Vadot		power-domains = <&cpg_clocks>;
378f126890aSEmmanuel Vadot		status = "disabled";
379f126890aSEmmanuel Vadot	};
380f126890aSEmmanuel Vadot
381f126890aSEmmanuel Vadot	hscif0: serial@ffe48000 {
382f126890aSEmmanuel Vadot		compatible = "renesas,hscif-r8a7778",
383f126890aSEmmanuel Vadot			     "renesas,rcar-gen1-hscif", "renesas,hscif";
384f126890aSEmmanuel Vadot		reg = <0xffe48000 96>;
385f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
386f126890aSEmmanuel Vadot		clocks = <&mstp0_clks R8A7778_CLK_HSCIF0>,
387f126890aSEmmanuel Vadot			 <&cpg_clocks R8A7778_CLK_S>, <&scif_clk>;
388f126890aSEmmanuel Vadot		clock-names = "fck", "brg_int", "scif_clk";
389f126890aSEmmanuel Vadot		power-domains = <&cpg_clocks>;
390f126890aSEmmanuel Vadot		status = "disabled";
391f126890aSEmmanuel Vadot	};
392f126890aSEmmanuel Vadot
393f126890aSEmmanuel Vadot	hscif1: serial@ffe49000 {
394f126890aSEmmanuel Vadot		compatible = "renesas,hscif-r8a7778",
395f126890aSEmmanuel Vadot			     "renesas,rcar-gen1-hscif", "renesas,hscif";
396f126890aSEmmanuel Vadot		reg = <0xffe49000 96>;
397f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
398f126890aSEmmanuel Vadot		clocks = <&mstp0_clks R8A7778_CLK_HSCIF1>,
399f126890aSEmmanuel Vadot			 <&cpg_clocks R8A7778_CLK_S>, <&scif_clk>;
400f126890aSEmmanuel Vadot		clock-names = "fck", "brg_int", "scif_clk";
401f126890aSEmmanuel Vadot		power-domains = <&cpg_clocks>;
402f126890aSEmmanuel Vadot		status = "disabled";
403f126890aSEmmanuel Vadot	};
404f126890aSEmmanuel Vadot
405f126890aSEmmanuel Vadot	mmcif: mmc@ffe4e000 {
406f126890aSEmmanuel Vadot		compatible = "renesas,mmcif-r8a7778", "renesas,sh-mmcif";
407f126890aSEmmanuel Vadot		reg = <0xffe4e000 0x100>;
408f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
409f126890aSEmmanuel Vadot		clocks = <&mstp3_clks R8A7778_CLK_MMC>;
410f126890aSEmmanuel Vadot		power-domains = <&cpg_clocks>;
411f126890aSEmmanuel Vadot		status = "disabled";
412f126890aSEmmanuel Vadot	};
413f126890aSEmmanuel Vadot
414f126890aSEmmanuel Vadot	sdhi0: mmc@ffe4c000 {
415f126890aSEmmanuel Vadot		compatible = "renesas,sdhi-r8a7778",
416f126890aSEmmanuel Vadot			     "renesas,rcar-gen1-sdhi";
417f126890aSEmmanuel Vadot		reg = <0xffe4c000 0x100>;
418f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
419f126890aSEmmanuel Vadot		clocks = <&mstp3_clks R8A7778_CLK_SDHI0>;
420f126890aSEmmanuel Vadot		power-domains = <&cpg_clocks>;
421f126890aSEmmanuel Vadot		status = "disabled";
422f126890aSEmmanuel Vadot	};
423f126890aSEmmanuel Vadot
424f126890aSEmmanuel Vadot	sdhi1: mmc@ffe4d000 {
425f126890aSEmmanuel Vadot		compatible = "renesas,sdhi-r8a7778",
426f126890aSEmmanuel Vadot			     "renesas,rcar-gen1-sdhi";
427f126890aSEmmanuel Vadot		reg = <0xffe4d000 0x100>;
428f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
429f126890aSEmmanuel Vadot		clocks = <&mstp3_clks R8A7778_CLK_SDHI1>;
430f126890aSEmmanuel Vadot		power-domains = <&cpg_clocks>;
431f126890aSEmmanuel Vadot		status = "disabled";
432f126890aSEmmanuel Vadot	};
433f126890aSEmmanuel Vadot
434f126890aSEmmanuel Vadot	sdhi2: mmc@ffe4f000 {
435f126890aSEmmanuel Vadot		compatible = "renesas,sdhi-r8a7778",
436f126890aSEmmanuel Vadot			     "renesas,rcar-gen1-sdhi";
437f126890aSEmmanuel Vadot		reg = <0xffe4f000 0x100>;
438f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
439f126890aSEmmanuel Vadot		clocks = <&mstp3_clks R8A7778_CLK_SDHI2>;
440f126890aSEmmanuel Vadot		power-domains = <&cpg_clocks>;
441f126890aSEmmanuel Vadot		status = "disabled";
442f126890aSEmmanuel Vadot	};
443f126890aSEmmanuel Vadot
444f126890aSEmmanuel Vadot	hspi0: spi@fffc7000 {
445f126890aSEmmanuel Vadot		compatible = "renesas,hspi-r8a7778", "renesas,hspi";
446f126890aSEmmanuel Vadot		reg = <0xfffc7000 0x18>;
447f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
448f126890aSEmmanuel Vadot		clocks = <&mstp0_clks R8A7778_CLK_HSPI>;
449f126890aSEmmanuel Vadot		power-domains = <&cpg_clocks>;
450f126890aSEmmanuel Vadot		#address-cells = <1>;
451f126890aSEmmanuel Vadot		#size-cells = <0>;
452f126890aSEmmanuel Vadot		status = "disabled";
453f126890aSEmmanuel Vadot	};
454f126890aSEmmanuel Vadot
455f126890aSEmmanuel Vadot	hspi1: spi@fffc8000 {
456f126890aSEmmanuel Vadot		compatible = "renesas,hspi-r8a7778", "renesas,hspi";
457f126890aSEmmanuel Vadot		reg = <0xfffc8000 0x18>;
458f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
459f126890aSEmmanuel Vadot		clocks = <&mstp0_clks R8A7778_CLK_HSPI>;
460f126890aSEmmanuel Vadot		power-domains = <&cpg_clocks>;
461f126890aSEmmanuel Vadot		#address-cells = <1>;
462f126890aSEmmanuel Vadot		#size-cells = <0>;
463f126890aSEmmanuel Vadot		status = "disabled";
464f126890aSEmmanuel Vadot	};
465f126890aSEmmanuel Vadot
466f126890aSEmmanuel Vadot	hspi2: spi@fffc6000 {
467f126890aSEmmanuel Vadot		compatible = "renesas,hspi-r8a7778", "renesas,hspi";
468f126890aSEmmanuel Vadot		reg = <0xfffc6000 0x18>;
469f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
470f126890aSEmmanuel Vadot		clocks = <&mstp0_clks R8A7778_CLK_HSPI>;
471f126890aSEmmanuel Vadot		power-domains = <&cpg_clocks>;
472f126890aSEmmanuel Vadot		#address-cells = <1>;
473f126890aSEmmanuel Vadot		#size-cells = <0>;
474f126890aSEmmanuel Vadot		status = "disabled";
475f126890aSEmmanuel Vadot	};
476f126890aSEmmanuel Vadot
477f126890aSEmmanuel Vadot	clocks {
478f126890aSEmmanuel Vadot		#address-cells = <1>;
479f126890aSEmmanuel Vadot		#size-cells = <1>;
480f126890aSEmmanuel Vadot		ranges;
481f126890aSEmmanuel Vadot
482f126890aSEmmanuel Vadot		/* External input clock */
483f126890aSEmmanuel Vadot		extal_clk: extal {
484f126890aSEmmanuel Vadot			compatible = "fixed-clock";
485f126890aSEmmanuel Vadot			#clock-cells = <0>;
486f126890aSEmmanuel Vadot			clock-frequency = <0>;
487f126890aSEmmanuel Vadot		};
488f126890aSEmmanuel Vadot
489f126890aSEmmanuel Vadot		/* External SCIF clock */
490f126890aSEmmanuel Vadot		scif_clk: scif {
491f126890aSEmmanuel Vadot			compatible = "fixed-clock";
492f126890aSEmmanuel Vadot			#clock-cells = <0>;
493f126890aSEmmanuel Vadot			/* This value must be overridden by the board. */
494f126890aSEmmanuel Vadot			clock-frequency = <0>;
495f126890aSEmmanuel Vadot		};
496f126890aSEmmanuel Vadot
497f126890aSEmmanuel Vadot		/* Special CPG clocks */
498f126890aSEmmanuel Vadot		cpg_clocks: cpg_clocks@ffc80000 {
499f126890aSEmmanuel Vadot			compatible = "renesas,r8a7778-cpg-clocks";
500f126890aSEmmanuel Vadot			reg = <0xffc80000 0x80>;
501f126890aSEmmanuel Vadot			#clock-cells = <1>;
502f126890aSEmmanuel Vadot			clocks = <&extal_clk>;
503f126890aSEmmanuel Vadot			clock-output-names = "plla", "pllb", "b",
504f126890aSEmmanuel Vadot					     "out", "p", "s", "s1";
505f126890aSEmmanuel Vadot			#power-domain-cells = <0>;
506f126890aSEmmanuel Vadot		};
507f126890aSEmmanuel Vadot
508f126890aSEmmanuel Vadot		/* Audio clocks; frequencies are set by boards if applicable. */
509f126890aSEmmanuel Vadot		audio_clk_a: audio_clk_a {
510f126890aSEmmanuel Vadot			compatible = "fixed-clock";
511f126890aSEmmanuel Vadot			#clock-cells = <0>;
512f126890aSEmmanuel Vadot			clock-frequency = <0>;
513f126890aSEmmanuel Vadot		};
514f126890aSEmmanuel Vadot		audio_clk_b: audio_clk_b {
515f126890aSEmmanuel Vadot			compatible = "fixed-clock";
516f126890aSEmmanuel Vadot			#clock-cells = <0>;
517f126890aSEmmanuel Vadot			clock-frequency = <0>;
518f126890aSEmmanuel Vadot		};
519f126890aSEmmanuel Vadot		audio_clk_c: audio_clk_c {
520f126890aSEmmanuel Vadot			compatible = "fixed-clock";
521f126890aSEmmanuel Vadot			#clock-cells = <0>;
522f126890aSEmmanuel Vadot			clock-frequency = <0>;
523f126890aSEmmanuel Vadot		};
524f126890aSEmmanuel Vadot
525f126890aSEmmanuel Vadot		/* Fixed ratio clocks */
526f126890aSEmmanuel Vadot		g_clk: g {
527f126890aSEmmanuel Vadot			compatible = "fixed-factor-clock";
528f126890aSEmmanuel Vadot			clocks = <&cpg_clocks R8A7778_CLK_PLLA>;
529f126890aSEmmanuel Vadot			#clock-cells = <0>;
530f126890aSEmmanuel Vadot			clock-div = <12>;
531f126890aSEmmanuel Vadot			clock-mult = <1>;
532f126890aSEmmanuel Vadot		};
533f126890aSEmmanuel Vadot		i_clk: i {
534f126890aSEmmanuel Vadot			compatible = "fixed-factor-clock";
535f126890aSEmmanuel Vadot			clocks = <&cpg_clocks R8A7778_CLK_PLLA>;
536f126890aSEmmanuel Vadot			#clock-cells = <0>;
537f126890aSEmmanuel Vadot			clock-div = <1>;
538f126890aSEmmanuel Vadot			clock-mult = <1>;
539f126890aSEmmanuel Vadot		};
540f126890aSEmmanuel Vadot		s3_clk: s3 {
541f126890aSEmmanuel Vadot			compatible = "fixed-factor-clock";
542f126890aSEmmanuel Vadot			clocks = <&cpg_clocks R8A7778_CLK_PLLA>;
543f126890aSEmmanuel Vadot			#clock-cells = <0>;
544f126890aSEmmanuel Vadot			clock-div = <4>;
545f126890aSEmmanuel Vadot			clock-mult = <1>;
546f126890aSEmmanuel Vadot		};
547f126890aSEmmanuel Vadot		s4_clk: s4 {
548f126890aSEmmanuel Vadot			compatible = "fixed-factor-clock";
549f126890aSEmmanuel Vadot			clocks = <&cpg_clocks R8A7778_CLK_PLLA>;
550f126890aSEmmanuel Vadot			#clock-cells = <0>;
551f126890aSEmmanuel Vadot			clock-div = <8>;
552f126890aSEmmanuel Vadot			clock-mult = <1>;
553f126890aSEmmanuel Vadot		};
554f126890aSEmmanuel Vadot		z_clk: z {
555f126890aSEmmanuel Vadot			compatible = "fixed-factor-clock";
556f126890aSEmmanuel Vadot			clocks = <&cpg_clocks R8A7778_CLK_PLLB>;
557f126890aSEmmanuel Vadot			#clock-cells = <0>;
558f126890aSEmmanuel Vadot			clock-div = <1>;
559f126890aSEmmanuel Vadot			clock-mult = <1>;
560f126890aSEmmanuel Vadot		};
561f126890aSEmmanuel Vadot
562f126890aSEmmanuel Vadot		/* Gate clocks */
563f126890aSEmmanuel Vadot		mstp0_clks: mstp0_clks@ffc80030 {
564f126890aSEmmanuel Vadot			compatible = "renesas,r8a7778-mstp-clocks", "renesas,cpg-mstp-clocks";
565f126890aSEmmanuel Vadot			reg = <0xffc80030 4>;
566f126890aSEmmanuel Vadot			clocks = <&cpg_clocks R8A7778_CLK_P>,
567f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
568f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
569f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
570f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
571f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
572f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
573f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
574f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
575f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
576f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_S>,
577f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_S>,
578f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
579f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
580f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
581f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
582f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
583f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
584f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
585f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
586f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_S>;
587f126890aSEmmanuel Vadot			#clock-cells = <1>;
588f126890aSEmmanuel Vadot			clock-indices = <
589f126890aSEmmanuel Vadot				R8A7778_CLK_I2C0 R8A7778_CLK_I2C1
590f126890aSEmmanuel Vadot				R8A7778_CLK_I2C2 R8A7778_CLK_I2C3
591f126890aSEmmanuel Vadot				R8A7778_CLK_SCIF0 R8A7778_CLK_SCIF1
592f126890aSEmmanuel Vadot				R8A7778_CLK_SCIF2 R8A7778_CLK_SCIF3
593f126890aSEmmanuel Vadot				R8A7778_CLK_SCIF4 R8A7778_CLK_SCIF5
594f126890aSEmmanuel Vadot				R8A7778_CLK_HSCIF0 R8A7778_CLK_HSCIF1
595f126890aSEmmanuel Vadot				R8A7778_CLK_TMU0 R8A7778_CLK_TMU1
596f126890aSEmmanuel Vadot				R8A7778_CLK_TMU2 R8A7778_CLK_SSI0
597f126890aSEmmanuel Vadot				R8A7778_CLK_SSI1 R8A7778_CLK_SSI2
598f126890aSEmmanuel Vadot				R8A7778_CLK_SSI3 R8A7778_CLK_SRU
599f126890aSEmmanuel Vadot				R8A7778_CLK_HSPI
600f126890aSEmmanuel Vadot			>;
601f126890aSEmmanuel Vadot			clock-output-names =
602f126890aSEmmanuel Vadot				"i2c0", "i2c1", "i2c2", "i2c3", "scif0",
603f126890aSEmmanuel Vadot				"scif1", "scif2", "scif3", "scif4", "scif5",
604f126890aSEmmanuel Vadot				"hscif0", "hscif1",
605f126890aSEmmanuel Vadot				"tmu0", "tmu1", "tmu2", "ssi0", "ssi1",
606f126890aSEmmanuel Vadot				"ssi2", "ssi3", "sru", "hspi";
607f126890aSEmmanuel Vadot		};
608f126890aSEmmanuel Vadot		mstp1_clks: mstp1_clks@ffc80034 {
609f126890aSEmmanuel Vadot			compatible = "renesas,r8a7778-mstp-clocks", "renesas,cpg-mstp-clocks";
610f126890aSEmmanuel Vadot			reg = <0xffc80034 4>, <0xffc80044 4>;
611f126890aSEmmanuel Vadot			clocks = <&cpg_clocks R8A7778_CLK_P>,
612f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_S>,
613f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_S>,
614f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>;
615f126890aSEmmanuel Vadot			#clock-cells = <1>;
616f126890aSEmmanuel Vadot			clock-indices = <
617f126890aSEmmanuel Vadot				R8A7778_CLK_ETHER R8A7778_CLK_VIN0
618f126890aSEmmanuel Vadot				R8A7778_CLK_VIN1 R8A7778_CLK_USB
619f126890aSEmmanuel Vadot			>;
620f126890aSEmmanuel Vadot			clock-output-names =
621f126890aSEmmanuel Vadot				"ether", "vin0", "vin1", "usb";
622f126890aSEmmanuel Vadot		};
623f126890aSEmmanuel Vadot		mstp3_clks: mstp3_clks@ffc8003c {
624f126890aSEmmanuel Vadot			compatible = "renesas,r8a7778-mstp-clocks", "renesas,cpg-mstp-clocks";
625f126890aSEmmanuel Vadot			reg = <0xffc8003c 4>;
626f126890aSEmmanuel Vadot			clocks = <&s4_clk>,
627f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
628f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
629f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
630f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
631f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
632f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
633f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
634f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>;
635f126890aSEmmanuel Vadot			#clock-cells = <1>;
636f126890aSEmmanuel Vadot			clock-indices = <
637f126890aSEmmanuel Vadot				R8A7778_CLK_MMC R8A7778_CLK_SDHI0
638f126890aSEmmanuel Vadot				R8A7778_CLK_SDHI1 R8A7778_CLK_SDHI2
639f126890aSEmmanuel Vadot				R8A7778_CLK_SSI4 R8A7778_CLK_SSI5
640f126890aSEmmanuel Vadot				R8A7778_CLK_SSI6 R8A7778_CLK_SSI7
641f126890aSEmmanuel Vadot				R8A7778_CLK_SSI8
642f126890aSEmmanuel Vadot			>;
643f126890aSEmmanuel Vadot			clock-output-names =
644f126890aSEmmanuel Vadot				"mmc", "sdhi0", "sdhi1", "sdhi2", "ssi4",
645f126890aSEmmanuel Vadot				"ssi5", "ssi6", "ssi7", "ssi8";
646f126890aSEmmanuel Vadot		};
647f126890aSEmmanuel Vadot		mstp5_clks: mstp5_clks@ffc80054 {
648f126890aSEmmanuel Vadot			compatible = "renesas,r8a7778-mstp-clocks", "renesas,cpg-mstp-clocks";
649f126890aSEmmanuel Vadot			reg = <0xffc80054 4>;
650f126890aSEmmanuel Vadot			clocks = <&cpg_clocks R8A7778_CLK_P>,
651f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
652f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
653f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
654f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
655f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
656f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
657f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>,
658f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7778_CLK_P>;
659f126890aSEmmanuel Vadot			#clock-cells = <1>;
660f126890aSEmmanuel Vadot			clock-indices = <
661f126890aSEmmanuel Vadot				R8A7778_CLK_SRU_SRC0 R8A7778_CLK_SRU_SRC1
662f126890aSEmmanuel Vadot				R8A7778_CLK_SRU_SRC2 R8A7778_CLK_SRU_SRC3
663f126890aSEmmanuel Vadot				R8A7778_CLK_SRU_SRC4 R8A7778_CLK_SRU_SRC5
664f126890aSEmmanuel Vadot				R8A7778_CLK_SRU_SRC6 R8A7778_CLK_SRU_SRC7
665f126890aSEmmanuel Vadot				R8A7778_CLK_SRU_SRC8
666f126890aSEmmanuel Vadot			>;
667f126890aSEmmanuel Vadot			clock-output-names =
668f126890aSEmmanuel Vadot				"sru-src0", "sru-src1", "sru-src2",
669f126890aSEmmanuel Vadot				"sru-src3", "sru-src4", "sru-src5",
670f126890aSEmmanuel Vadot				"sru-src6", "sru-src7", "sru-src8";
671f126890aSEmmanuel Vadot		};
672f126890aSEmmanuel Vadot	};
673f126890aSEmmanuel Vadot
674f126890aSEmmanuel Vadot	rst: reset-controller@ffcc0000 {
675f126890aSEmmanuel Vadot		compatible = "renesas,r8a7778-reset-wdt";
676f126890aSEmmanuel Vadot		reg = <0xffcc0000 0x40>;
677f126890aSEmmanuel Vadot	};
678f126890aSEmmanuel Vadot};
679