xref: /freebsd-src/sys/contrib/device-tree/src/arm/renesas/r8a7740.dtsi (revision 01950c46b8155250f64374fb72fc11faa44bf099)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Device Tree Source for the R-Mobile A1 (R8A77400) SoC
4f126890aSEmmanuel Vadot *
5f126890aSEmmanuel Vadot * Copyright (C) 2012 Renesas Solutions Corp.
6f126890aSEmmanuel Vadot */
7f126890aSEmmanuel Vadot
8f126890aSEmmanuel Vadot#include <dt-bindings/clock/r8a7740-clock.h>
9f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h>
10f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
11f126890aSEmmanuel Vadot
12f126890aSEmmanuel Vadot/ {
13f126890aSEmmanuel Vadot	compatible = "renesas,r8a7740";
14f126890aSEmmanuel Vadot	interrupt-parent = <&gic>;
15f126890aSEmmanuel Vadot	#address-cells = <1>;
16f126890aSEmmanuel Vadot	#size-cells = <1>;
17f126890aSEmmanuel Vadot
18f126890aSEmmanuel Vadot	cpus {
19f126890aSEmmanuel Vadot		#address-cells = <1>;
20f126890aSEmmanuel Vadot		#size-cells = <0>;
21f126890aSEmmanuel Vadot		cpu@0 {
22f126890aSEmmanuel Vadot			compatible = "arm,cortex-a9";
23f126890aSEmmanuel Vadot			device_type = "cpu";
24f126890aSEmmanuel Vadot			reg = <0x0>;
25f126890aSEmmanuel Vadot			clock-frequency = <800000000>;
26f126890aSEmmanuel Vadot			power-domains = <&pd_a3sm>;
27f126890aSEmmanuel Vadot			next-level-cache = <&L2>;
28f126890aSEmmanuel Vadot		};
29f126890aSEmmanuel Vadot	};
30f126890aSEmmanuel Vadot
31f126890aSEmmanuel Vadot	gic: interrupt-controller@c2800000 {
32f126890aSEmmanuel Vadot		compatible = "arm,pl390";
33f126890aSEmmanuel Vadot		#interrupt-cells = <3>;
34f126890aSEmmanuel Vadot		interrupt-controller;
35f126890aSEmmanuel Vadot		reg = <0xc2800000 0x1000>,
36f126890aSEmmanuel Vadot		      <0xc2000000 0x1000>;
37f126890aSEmmanuel Vadot	};
38f126890aSEmmanuel Vadot
39f126890aSEmmanuel Vadot	L2: cache-controller@f0100000 {
40f126890aSEmmanuel Vadot		compatible = "arm,pl310-cache";
41f126890aSEmmanuel Vadot		reg = <0xf0100000 0x1000>;
42f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
43f126890aSEmmanuel Vadot		power-domains = <&pd_a3sm>;
44f126890aSEmmanuel Vadot		arm,data-latency = <3 3 3>;
45f126890aSEmmanuel Vadot		arm,tag-latency = <2 2 2>;
46f126890aSEmmanuel Vadot		arm,shared-override;
47f126890aSEmmanuel Vadot		cache-unified;
48f126890aSEmmanuel Vadot		cache-level = <2>;
49f126890aSEmmanuel Vadot	};
50f126890aSEmmanuel Vadot
51f126890aSEmmanuel Vadot	dbsc3: memory-controller@fe400000 {
52f126890aSEmmanuel Vadot		compatible = "renesas,dbsc3-r8a7740";
53f126890aSEmmanuel Vadot		reg = <0xfe400000 0x400>;
54f126890aSEmmanuel Vadot		power-domains = <&pd_a4s>;
55f126890aSEmmanuel Vadot	};
56f126890aSEmmanuel Vadot
57f126890aSEmmanuel Vadot	pmu {
58f126890aSEmmanuel Vadot		compatible = "arm,cortex-a9-pmu";
59f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
60f126890aSEmmanuel Vadot	};
61f126890aSEmmanuel Vadot
62f126890aSEmmanuel Vadot	ptm {
63f126890aSEmmanuel Vadot		compatible = "arm,coresight-etm3x";
64f126890aSEmmanuel Vadot		power-domains = <&pd_d4>;
65f126890aSEmmanuel Vadot	};
66f126890aSEmmanuel Vadot
67f126890aSEmmanuel Vadot	ceu0: ceu@fe910000 {
68f126890aSEmmanuel Vadot		reg = <0xfe910000 0x3000>;
69f126890aSEmmanuel Vadot		compatible = "renesas,r8a7740-ceu";
70f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>;
71f126890aSEmmanuel Vadot		clocks = <&mstp1_clks R8A7740_CLK_CEU20>;
72f126890aSEmmanuel Vadot		power-domains = <&pd_a4r>;
73f126890aSEmmanuel Vadot		status = "disabled";
74f126890aSEmmanuel Vadot	};
75f126890aSEmmanuel Vadot
76f126890aSEmmanuel Vadot	ceu1: ceu@fe914000 {
77f126890aSEmmanuel Vadot		reg = <0xfe914000 0x3000>;
78f126890aSEmmanuel Vadot		compatible = "renesas,r8a7740-ceu";
79f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
80f126890aSEmmanuel Vadot		clocks = <&mstp1_clks R8A7740_CLK_CEU21>;
81f126890aSEmmanuel Vadot		power-domains = <&pd_a4r>;
82f126890aSEmmanuel Vadot		status = "disabled";
83f126890aSEmmanuel Vadot	};
84f126890aSEmmanuel Vadot
85f126890aSEmmanuel Vadot	cmt1: timer@e6138000 {
86f126890aSEmmanuel Vadot		compatible = "renesas,r8a7740-cmt1";
87f126890aSEmmanuel Vadot		reg = <0xe6138000 0x170>;
88f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
89f126890aSEmmanuel Vadot		clocks = <&mstp3_clks R8A7740_CLK_CMT1>;
90f126890aSEmmanuel Vadot		clock-names = "fck";
91f126890aSEmmanuel Vadot		power-domains = <&pd_c5>;
92f126890aSEmmanuel Vadot		status = "disabled";
93f126890aSEmmanuel Vadot	};
94f126890aSEmmanuel Vadot
95f126890aSEmmanuel Vadot	/* irqpin0: IRQ0 - IRQ7 */
96f126890aSEmmanuel Vadot	irqpin0: interrupt-controller@e6900000 {
97f126890aSEmmanuel Vadot		compatible = "renesas,intc-irqpin-r8a7740", "renesas,intc-irqpin";
98f126890aSEmmanuel Vadot		#interrupt-cells = <2>;
99f126890aSEmmanuel Vadot		interrupt-controller;
100f126890aSEmmanuel Vadot		reg = <0xe6900000 4>,
101f126890aSEmmanuel Vadot			<0xe6900010 4>,
102f126890aSEmmanuel Vadot			<0xe6900020 1>,
103f126890aSEmmanuel Vadot			<0xe6900040 1>,
104f126890aSEmmanuel Vadot			<0xe6900060 1>;
105f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
106f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
107f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
108f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
109f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
110f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
111f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
112f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
113f126890aSEmmanuel Vadot		clocks = <&mstp2_clks R8A7740_CLK_INTCA>;
114f126890aSEmmanuel Vadot		power-domains = <&pd_a4s>;
115f126890aSEmmanuel Vadot	};
116f126890aSEmmanuel Vadot
117f126890aSEmmanuel Vadot	/* irqpin1: IRQ8 - IRQ15 */
118f126890aSEmmanuel Vadot	irqpin1: interrupt-controller@e6900004 {
119f126890aSEmmanuel Vadot		compatible = "renesas,intc-irqpin-r8a7740", "renesas,intc-irqpin";
120f126890aSEmmanuel Vadot		#interrupt-cells = <2>;
121f126890aSEmmanuel Vadot		interrupt-controller;
122f126890aSEmmanuel Vadot		reg = <0xe6900004 4>,
123f126890aSEmmanuel Vadot			<0xe6900014 4>,
124f126890aSEmmanuel Vadot			<0xe6900024 1>,
125f126890aSEmmanuel Vadot			<0xe6900044 1>,
126f126890aSEmmanuel Vadot			<0xe6900064 1>;
127f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
128f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
129f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
130f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
131f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
132f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
133f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
134f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
135f126890aSEmmanuel Vadot		clocks = <&mstp2_clks R8A7740_CLK_INTCA>;
136f126890aSEmmanuel Vadot		power-domains = <&pd_a4s>;
137f126890aSEmmanuel Vadot	};
138f126890aSEmmanuel Vadot
139f126890aSEmmanuel Vadot	/* irqpin2: IRQ16 - IRQ23 */
140f126890aSEmmanuel Vadot	irqpin2: interrupt-controller@e6900008 {
141f126890aSEmmanuel Vadot		compatible = "renesas,intc-irqpin-r8a7740", "renesas,intc-irqpin";
142f126890aSEmmanuel Vadot		#interrupt-cells = <2>;
143f126890aSEmmanuel Vadot		interrupt-controller;
144f126890aSEmmanuel Vadot		reg = <0xe6900008 4>,
145f126890aSEmmanuel Vadot			<0xe6900018 4>,
146f126890aSEmmanuel Vadot			<0xe6900028 1>,
147f126890aSEmmanuel Vadot			<0xe6900048 1>,
148f126890aSEmmanuel Vadot			<0xe6900068 1>;
149f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
150f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
151f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
152f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
153f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
154f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
155f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
156f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
157f126890aSEmmanuel Vadot		clocks = <&mstp2_clks R8A7740_CLK_INTCA>;
158f126890aSEmmanuel Vadot		power-domains = <&pd_a4s>;
159f126890aSEmmanuel Vadot	};
160f126890aSEmmanuel Vadot
161f126890aSEmmanuel Vadot	/* irqpin3: IRQ24 - IRQ31 */
162f126890aSEmmanuel Vadot	irqpin3: interrupt-controller@e690000c {
163f126890aSEmmanuel Vadot		compatible = "renesas,intc-irqpin-r8a7740", "renesas,intc-irqpin";
164f126890aSEmmanuel Vadot		#interrupt-cells = <2>;
165f126890aSEmmanuel Vadot		interrupt-controller;
166f126890aSEmmanuel Vadot		reg = <0xe690000c 4>,
167f126890aSEmmanuel Vadot			<0xe690001c 4>,
168f126890aSEmmanuel Vadot			<0xe690002c 1>,
169f126890aSEmmanuel Vadot			<0xe690004c 1>,
170f126890aSEmmanuel Vadot			<0xe690006c 1>;
171f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
172f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
173f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
174f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
175f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
176f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
177f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
178f126890aSEmmanuel Vadot			     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
179f126890aSEmmanuel Vadot		clocks = <&mstp2_clks R8A7740_CLK_INTCA>;
180f126890aSEmmanuel Vadot		power-domains = <&pd_a4s>;
181f126890aSEmmanuel Vadot	};
182f126890aSEmmanuel Vadot
183f126890aSEmmanuel Vadot	ether: ethernet@e9a00000 {
184f126890aSEmmanuel Vadot		compatible = "renesas,gether-r8a7740";
185f126890aSEmmanuel Vadot		reg = <0xe9a00000 0x800>,
186f126890aSEmmanuel Vadot		      <0xe9a01800 0x800>;
187f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
188f126890aSEmmanuel Vadot		clocks = <&mstp3_clks R8A7740_CLK_GETHER>;
189f126890aSEmmanuel Vadot		power-domains = <&pd_a4s>;
190f126890aSEmmanuel Vadot		phy-mode = "mii";
191f126890aSEmmanuel Vadot		#address-cells = <1>;
192f126890aSEmmanuel Vadot		#size-cells = <0>;
193f126890aSEmmanuel Vadot		status = "disabled";
194f126890aSEmmanuel Vadot	};
195f126890aSEmmanuel Vadot
196f126890aSEmmanuel Vadot	i2c0: i2c@fff20000 {
197f126890aSEmmanuel Vadot		#address-cells = <1>;
198f126890aSEmmanuel Vadot		#size-cells = <0>;
199f126890aSEmmanuel Vadot		compatible = "renesas,iic-r8a7740", "renesas,rmobile-iic";
200f126890aSEmmanuel Vadot		reg = <0xfff20000 0x425>;
201f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>,
202f126890aSEmmanuel Vadot			     <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>,
203f126890aSEmmanuel Vadot			     <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>,
204f126890aSEmmanuel Vadot			     <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>;
205f126890aSEmmanuel Vadot		clocks = <&mstp1_clks R8A7740_CLK_IIC0>;
206f126890aSEmmanuel Vadot		power-domains = <&pd_a4r>;
207f126890aSEmmanuel Vadot		status = "disabled";
208f126890aSEmmanuel Vadot	};
209f126890aSEmmanuel Vadot
210f126890aSEmmanuel Vadot	i2c1: i2c@e6c20000 {
211f126890aSEmmanuel Vadot		#address-cells = <1>;
212f126890aSEmmanuel Vadot		#size-cells = <0>;
213f126890aSEmmanuel Vadot		compatible = "renesas,iic-r8a7740", "renesas,rmobile-iic";
214f126890aSEmmanuel Vadot		reg = <0xe6c20000 0x425>;
215f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
216f126890aSEmmanuel Vadot			     <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>,
217f126890aSEmmanuel Vadot			     <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
218f126890aSEmmanuel Vadot			     <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
219f126890aSEmmanuel Vadot		clocks = <&mstp3_clks R8A7740_CLK_IIC1>;
220f126890aSEmmanuel Vadot		power-domains = <&pd_a3sp>;
221f126890aSEmmanuel Vadot		status = "disabled";
222f126890aSEmmanuel Vadot	};
223f126890aSEmmanuel Vadot
224f126890aSEmmanuel Vadot	scifa0: serial@e6c40000 {
225f126890aSEmmanuel Vadot		compatible = "renesas,scifa-r8a7740", "renesas,scifa";
226f126890aSEmmanuel Vadot		reg = <0xe6c40000 0x100>;
227f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
228f126890aSEmmanuel Vadot		clocks = <&mstp2_clks R8A7740_CLK_SCIFA0>;
229f126890aSEmmanuel Vadot		clock-names = "fck";
230f126890aSEmmanuel Vadot		power-domains = <&pd_a3sp>;
231f126890aSEmmanuel Vadot		status = "disabled";
232f126890aSEmmanuel Vadot	};
233f126890aSEmmanuel Vadot
234f126890aSEmmanuel Vadot	scifa1: serial@e6c50000 {
235f126890aSEmmanuel Vadot		compatible = "renesas,scifa-r8a7740", "renesas,scifa";
236f126890aSEmmanuel Vadot		reg = <0xe6c50000 0x100>;
237f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
238f126890aSEmmanuel Vadot		clocks = <&mstp2_clks R8A7740_CLK_SCIFA1>;
239f126890aSEmmanuel Vadot		clock-names = "fck";
240f126890aSEmmanuel Vadot		power-domains = <&pd_a3sp>;
241f126890aSEmmanuel Vadot		status = "disabled";
242f126890aSEmmanuel Vadot	};
243f126890aSEmmanuel Vadot
244f126890aSEmmanuel Vadot	scifa2: serial@e6c60000 {
245f126890aSEmmanuel Vadot		compatible = "renesas,scifa-r8a7740", "renesas,scifa";
246f126890aSEmmanuel Vadot		reg = <0xe6c60000 0x100>;
247f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
248f126890aSEmmanuel Vadot		clocks = <&mstp2_clks R8A7740_CLK_SCIFA2>;
249f126890aSEmmanuel Vadot		clock-names = "fck";
250f126890aSEmmanuel Vadot		power-domains = <&pd_a3sp>;
251f126890aSEmmanuel Vadot		status = "disabled";
252f126890aSEmmanuel Vadot	};
253f126890aSEmmanuel Vadot
254f126890aSEmmanuel Vadot	scifa3: serial@e6c70000 {
255f126890aSEmmanuel Vadot		compatible = "renesas,scifa-r8a7740", "renesas,scifa";
256f126890aSEmmanuel Vadot		reg = <0xe6c70000 0x100>;
257f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
258f126890aSEmmanuel Vadot		clocks = <&mstp2_clks R8A7740_CLK_SCIFA3>;
259f126890aSEmmanuel Vadot		clock-names = "fck";
260f126890aSEmmanuel Vadot		power-domains = <&pd_a3sp>;
261f126890aSEmmanuel Vadot		status = "disabled";
262f126890aSEmmanuel Vadot	};
263f126890aSEmmanuel Vadot
264f126890aSEmmanuel Vadot	scifa4: serial@e6c80000 {
265f126890aSEmmanuel Vadot		compatible = "renesas,scifa-r8a7740", "renesas,scifa";
266f126890aSEmmanuel Vadot		reg = <0xe6c80000 0x100>;
267f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
268f126890aSEmmanuel Vadot		clocks = <&mstp2_clks R8A7740_CLK_SCIFA4>;
269f126890aSEmmanuel Vadot		clock-names = "fck";
270f126890aSEmmanuel Vadot		power-domains = <&pd_a3sp>;
271f126890aSEmmanuel Vadot		status = "disabled";
272f126890aSEmmanuel Vadot	};
273f126890aSEmmanuel Vadot
274f126890aSEmmanuel Vadot	scifa5: serial@e6cb0000 {
275f126890aSEmmanuel Vadot		compatible = "renesas,scifa-r8a7740", "renesas,scifa";
276f126890aSEmmanuel Vadot		reg = <0xe6cb0000 0x100>;
277f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
278f126890aSEmmanuel Vadot		clocks = <&mstp2_clks R8A7740_CLK_SCIFA5>;
279f126890aSEmmanuel Vadot		clock-names = "fck";
280f126890aSEmmanuel Vadot		power-domains = <&pd_a3sp>;
281f126890aSEmmanuel Vadot		status = "disabled";
282f126890aSEmmanuel Vadot	};
283f126890aSEmmanuel Vadot
284f126890aSEmmanuel Vadot	scifa6: serial@e6cc0000 {
285f126890aSEmmanuel Vadot		compatible = "renesas,scifa-r8a7740", "renesas,scifa";
286f126890aSEmmanuel Vadot		reg = <0xe6cc0000 0x100>;
287f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
288f126890aSEmmanuel Vadot		clocks = <&mstp2_clks R8A7740_CLK_SCIFA6>;
289f126890aSEmmanuel Vadot		clock-names = "fck";
290f126890aSEmmanuel Vadot		power-domains = <&pd_a3sp>;
291f126890aSEmmanuel Vadot		status = "disabled";
292f126890aSEmmanuel Vadot	};
293f126890aSEmmanuel Vadot
294f126890aSEmmanuel Vadot	scifa7: serial@e6cd0000 {
295f126890aSEmmanuel Vadot		compatible = "renesas,scifa-r8a7740", "renesas,scifa";
296f126890aSEmmanuel Vadot		reg = <0xe6cd0000 0x100>;
297f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
298f126890aSEmmanuel Vadot		clocks = <&mstp2_clks R8A7740_CLK_SCIFA7>;
299f126890aSEmmanuel Vadot		clock-names = "fck";
300f126890aSEmmanuel Vadot		power-domains = <&pd_a3sp>;
301f126890aSEmmanuel Vadot		status = "disabled";
302f126890aSEmmanuel Vadot	};
303f126890aSEmmanuel Vadot
304f126890aSEmmanuel Vadot	scifb: serial@e6c30000 {
305f126890aSEmmanuel Vadot		compatible = "renesas,scifb-r8a7740", "renesas,scifb";
306f126890aSEmmanuel Vadot		reg = <0xe6c30000 0x100>;
307f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
308f126890aSEmmanuel Vadot		clocks = <&mstp2_clks R8A7740_CLK_SCIFB>;
309f126890aSEmmanuel Vadot		clock-names = "fck";
310f126890aSEmmanuel Vadot		power-domains = <&pd_a3sp>;
311f126890aSEmmanuel Vadot		status = "disabled";
312f126890aSEmmanuel Vadot	};
313f126890aSEmmanuel Vadot
314f126890aSEmmanuel Vadot	pfc: pinctrl@e6050000 {
315f126890aSEmmanuel Vadot		compatible = "renesas,pfc-r8a7740";
316f126890aSEmmanuel Vadot		reg = <0xe6050000 0x8000>,
317f126890aSEmmanuel Vadot		      <0xe605800c 0x20>;
318f126890aSEmmanuel Vadot		gpio-controller;
319f126890aSEmmanuel Vadot		#gpio-cells = <2>;
320f126890aSEmmanuel Vadot		gpio-ranges = <&pfc 0 0 212>;
321f126890aSEmmanuel Vadot		interrupts-extended =
322f126890aSEmmanuel Vadot			<&irqpin0 0 0>, <&irqpin0 1 0>, <&irqpin0 2 0>, <&irqpin0 3 0>,
323f126890aSEmmanuel Vadot			<&irqpin0 4 0>, <&irqpin0 5 0>, <&irqpin0 6 0>, <&irqpin0 7 0>,
324f126890aSEmmanuel Vadot			<&irqpin1 0 0>, <&irqpin1 1 0>, <&irqpin1 2 0>, <&irqpin1 3 0>,
325f126890aSEmmanuel Vadot			<&irqpin1 4 0>, <&irqpin1 5 0>, <&irqpin1 6 0>, <&irqpin1 7 0>,
326f126890aSEmmanuel Vadot			<&irqpin2 0 0>, <&irqpin2 1 0>, <&irqpin2 2 0>, <&irqpin2 3 0>,
327f126890aSEmmanuel Vadot			<&irqpin2 4 0>, <&irqpin2 5 0>, <&irqpin2 6 0>, <&irqpin2 7 0>,
328f126890aSEmmanuel Vadot			<&irqpin3 0 0>, <&irqpin3 1 0>, <&irqpin3 2 0>, <&irqpin3 3 0>,
329f126890aSEmmanuel Vadot			<&irqpin3 4 0>, <&irqpin3 5 0>, <&irqpin3 6 0>, <&irqpin3 7 0>;
330f126890aSEmmanuel Vadot		power-domains = <&pd_c5>;
331f126890aSEmmanuel Vadot	};
332f126890aSEmmanuel Vadot
333f126890aSEmmanuel Vadot	tpu: pwm@e6600000 {
334f126890aSEmmanuel Vadot		compatible = "renesas,tpu-r8a7740", "renesas,tpu";
335f126890aSEmmanuel Vadot		reg = <0xe6600000 0x148>;
336f126890aSEmmanuel Vadot		clocks = <&mstp3_clks R8A7740_CLK_TPU0>;
337f126890aSEmmanuel Vadot		power-domains = <&pd_a3sp>;
338f126890aSEmmanuel Vadot		status = "disabled";
339f126890aSEmmanuel Vadot		#pwm-cells = <3>;
340f126890aSEmmanuel Vadot	};
341f126890aSEmmanuel Vadot
342f126890aSEmmanuel Vadot	mmcif0: mmc@e6bd0000 {
343f126890aSEmmanuel Vadot		compatible = "renesas,mmcif-r8a7740", "renesas,sh-mmcif";
344f126890aSEmmanuel Vadot		reg = <0xe6bd0000 0x100>;
345f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
346f126890aSEmmanuel Vadot			     <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
347f126890aSEmmanuel Vadot		clocks = <&mstp3_clks R8A7740_CLK_MMC>;
348f126890aSEmmanuel Vadot		power-domains = <&pd_a3sp>;
349f126890aSEmmanuel Vadot		status = "disabled";
350f126890aSEmmanuel Vadot	};
351f126890aSEmmanuel Vadot
352f126890aSEmmanuel Vadot	sdhi0: mmc@e6850000 {
353f126890aSEmmanuel Vadot		compatible = "renesas,sdhi-r8a7740";
354f126890aSEmmanuel Vadot		reg = <0xe6850000 0x100>;
355f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
356f126890aSEmmanuel Vadot			     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
357f126890aSEmmanuel Vadot			     <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
358f126890aSEmmanuel Vadot		clocks = <&mstp3_clks R8A7740_CLK_SDHI0>;
359f126890aSEmmanuel Vadot		power-domains = <&pd_a3sp>;
360f126890aSEmmanuel Vadot		cap-sd-highspeed;
361f126890aSEmmanuel Vadot		cap-sdio-irq;
362f126890aSEmmanuel Vadot		status = "disabled";
363f126890aSEmmanuel Vadot	};
364f126890aSEmmanuel Vadot
365f126890aSEmmanuel Vadot	sdhi1: mmc@e6860000 {
366f126890aSEmmanuel Vadot		compatible = "renesas,sdhi-r8a7740";
367f126890aSEmmanuel Vadot		reg = <0xe6860000 0x100>;
368f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
369f126890aSEmmanuel Vadot			     <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
370f126890aSEmmanuel Vadot			     <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
371f126890aSEmmanuel Vadot		clocks = <&mstp3_clks R8A7740_CLK_SDHI1>;
372f126890aSEmmanuel Vadot		power-domains = <&pd_a3sp>;
373f126890aSEmmanuel Vadot		cap-sd-highspeed;
374f126890aSEmmanuel Vadot		cap-sdio-irq;
375f126890aSEmmanuel Vadot		status = "disabled";
376f126890aSEmmanuel Vadot	};
377f126890aSEmmanuel Vadot
378f126890aSEmmanuel Vadot	sdhi2: mmc@e6870000 {
379f126890aSEmmanuel Vadot		compatible = "renesas,sdhi-r8a7740";
380f126890aSEmmanuel Vadot		reg = <0xe6870000 0x100>;
381f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
382f126890aSEmmanuel Vadot			     <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
383f126890aSEmmanuel Vadot			     <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
384f126890aSEmmanuel Vadot		clocks = <&mstp4_clks R8A7740_CLK_SDHI2>;
385f126890aSEmmanuel Vadot		power-domains = <&pd_a3sp>;
386f126890aSEmmanuel Vadot		cap-sd-highspeed;
387f126890aSEmmanuel Vadot		cap-sdio-irq;
388f126890aSEmmanuel Vadot		status = "disabled";
389f126890aSEmmanuel Vadot	};
390f126890aSEmmanuel Vadot
391f126890aSEmmanuel Vadot	sh_fsi2: sound@fe1f0000 {
392f126890aSEmmanuel Vadot		#sound-dai-cells = <1>;
393f126890aSEmmanuel Vadot		compatible = "renesas,fsi2-r8a7740", "renesas,sh_fsi2";
394f126890aSEmmanuel Vadot		reg = <0xfe1f0000 0x400>;
395f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 9 0x4>;
396f126890aSEmmanuel Vadot		clocks = <&mstp3_clks R8A7740_CLK_FSI>;
397f126890aSEmmanuel Vadot		power-domains = <&pd_a4mp>;
398f126890aSEmmanuel Vadot		status = "disabled";
399f126890aSEmmanuel Vadot	};
400f126890aSEmmanuel Vadot
4018d13bc63SEmmanuel Vadot	lcdc0: lcd-controller@fe940000 {
4028d13bc63SEmmanuel Vadot		compatible = "renesas,r8a7740-lcdc";
4038d13bc63SEmmanuel Vadot		reg = <0xfe940000 0x4000>;
4048d13bc63SEmmanuel Vadot		interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>;
4058d13bc63SEmmanuel Vadot		clocks = <&mstp1_clks R8A7740_CLK_LCDC0>,
4068d13bc63SEmmanuel Vadot			 <&cpg_clocks R8A7740_CLK_M3>, <&lcdlclk0_clk>,
4078d13bc63SEmmanuel Vadot			 <&vou_clk>;
4088d13bc63SEmmanuel Vadot		clock-names = "fck", "media", "lclk", "video";
4098d13bc63SEmmanuel Vadot		power-domains = <&pd_a4lc>;
4108d13bc63SEmmanuel Vadot		status = "disabled";
4118d13bc63SEmmanuel Vadot
4128d13bc63SEmmanuel Vadot		ports {
4138d13bc63SEmmanuel Vadot			#address-cells = <1>;
4148d13bc63SEmmanuel Vadot			#size-cells = <0>;
4158d13bc63SEmmanuel Vadot
4168d13bc63SEmmanuel Vadot			port@0 {
4178d13bc63SEmmanuel Vadot				reg = <0>;
4188d13bc63SEmmanuel Vadot
4198d13bc63SEmmanuel Vadot				lcdc0_rgb: endpoint {
4208d13bc63SEmmanuel Vadot				};
4218d13bc63SEmmanuel Vadot			};
4228d13bc63SEmmanuel Vadot		};
4238d13bc63SEmmanuel Vadot	};
4248d13bc63SEmmanuel Vadot
4258d13bc63SEmmanuel Vadot	lcdc1: lcd-controller@fe944000 {
4268d13bc63SEmmanuel Vadot		compatible = "renesas,r8a7740-lcdc";
4278d13bc63SEmmanuel Vadot		reg = <0xfe944000 0x4000>;
4288d13bc63SEmmanuel Vadot		interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
4298d13bc63SEmmanuel Vadot		clocks = <&mstp1_clks R8A7740_CLK_LCDC1>,
4308d13bc63SEmmanuel Vadot			 <&cpg_clocks R8A7740_CLK_M3>, <&lcdlclk1_clk>,
4318d13bc63SEmmanuel Vadot			 <&vou_clk>;
4328d13bc63SEmmanuel Vadot		clock-names = "fck", "media", "lclk", "video";
4338d13bc63SEmmanuel Vadot		power-domains = <&pd_a4lc>;
4348d13bc63SEmmanuel Vadot		status = "disabled";
4358d13bc63SEmmanuel Vadot
4368d13bc63SEmmanuel Vadot		ports {
4378d13bc63SEmmanuel Vadot			#address-cells = <1>;
4388d13bc63SEmmanuel Vadot			#size-cells = <0>;
4398d13bc63SEmmanuel Vadot
4408d13bc63SEmmanuel Vadot			port@0 {
4418d13bc63SEmmanuel Vadot				reg = <0>;
4428d13bc63SEmmanuel Vadot
4438d13bc63SEmmanuel Vadot				lcdc1_rgb: endpoint {
4448d13bc63SEmmanuel Vadot				};
4458d13bc63SEmmanuel Vadot			};
4468d13bc63SEmmanuel Vadot
4478d13bc63SEmmanuel Vadot			port@1 {
4488d13bc63SEmmanuel Vadot				reg = <1>;
4498d13bc63SEmmanuel Vadot
4508d13bc63SEmmanuel Vadot				lcdc1_hdmi: endpoint {
4518d13bc63SEmmanuel Vadot				};
4528d13bc63SEmmanuel Vadot			};
4538d13bc63SEmmanuel Vadot		};
4548d13bc63SEmmanuel Vadot	};
4558d13bc63SEmmanuel Vadot
456f126890aSEmmanuel Vadot	tmu0: timer@fff80000 {
457f126890aSEmmanuel Vadot		compatible = "renesas,tmu-r8a7740", "renesas,tmu";
458f126890aSEmmanuel Vadot		reg = <0xfff80000 0x2c>;
459f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>,
460f126890aSEmmanuel Vadot			     <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>,
461f126890aSEmmanuel Vadot			     <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>;
462*01950c46SEmmanuel Vadot		interrupt-names = "tuni0", "tuni1", "tuni2";
463f126890aSEmmanuel Vadot		clocks = <&mstp1_clks R8A7740_CLK_TMU0>;
464f126890aSEmmanuel Vadot		clock-names = "fck";
465f126890aSEmmanuel Vadot		power-domains = <&pd_a4r>;
466f126890aSEmmanuel Vadot
467f126890aSEmmanuel Vadot		#renesas,channels = <3>;
468f126890aSEmmanuel Vadot
469f126890aSEmmanuel Vadot		status = "disabled";
470f126890aSEmmanuel Vadot	};
471f126890aSEmmanuel Vadot
472f126890aSEmmanuel Vadot	tmu1: timer@fff90000 {
473f126890aSEmmanuel Vadot		compatible = "renesas,tmu-r8a7740", "renesas,tmu";
474f126890aSEmmanuel Vadot		reg = <0xfff90000 0x2c>;
475f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>,
476f126890aSEmmanuel Vadot			     <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>,
477f126890aSEmmanuel Vadot			     <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
478*01950c46SEmmanuel Vadot		interrupt-names = "tuni0", "tuni1", "tuni2";
479f126890aSEmmanuel Vadot		clocks = <&mstp1_clks R8A7740_CLK_TMU1>;
480f126890aSEmmanuel Vadot		clock-names = "fck";
481f126890aSEmmanuel Vadot		power-domains = <&pd_a4r>;
482f126890aSEmmanuel Vadot
483f126890aSEmmanuel Vadot		#renesas,channels = <3>;
484f126890aSEmmanuel Vadot
485f126890aSEmmanuel Vadot		status = "disabled";
486f126890aSEmmanuel Vadot	};
487f126890aSEmmanuel Vadot
488f126890aSEmmanuel Vadot	clocks {
489f126890aSEmmanuel Vadot		#address-cells = <1>;
490f126890aSEmmanuel Vadot		#size-cells = <1>;
491f126890aSEmmanuel Vadot		ranges;
492f126890aSEmmanuel Vadot
493f126890aSEmmanuel Vadot		/* External root clock */
494f126890aSEmmanuel Vadot		extalr_clk: extalr {
495f126890aSEmmanuel Vadot			compatible = "fixed-clock";
496f126890aSEmmanuel Vadot			#clock-cells = <0>;
497f126890aSEmmanuel Vadot			clock-frequency = <32768>;
498f126890aSEmmanuel Vadot		};
499f126890aSEmmanuel Vadot		extal1_clk: extal1 {
500f126890aSEmmanuel Vadot			compatible = "fixed-clock";
501f126890aSEmmanuel Vadot			#clock-cells = <0>;
502f126890aSEmmanuel Vadot			clock-frequency = <0>;
503f126890aSEmmanuel Vadot		};
504f126890aSEmmanuel Vadot		extal2_clk: extal2 {
505f126890aSEmmanuel Vadot			compatible = "fixed-clock";
506f126890aSEmmanuel Vadot			#clock-cells = <0>;
507f126890aSEmmanuel Vadot			clock-frequency = <0>;
508f126890aSEmmanuel Vadot		};
509f126890aSEmmanuel Vadot		dv_clk: dv {
510f126890aSEmmanuel Vadot			compatible = "fixed-clock";
511f126890aSEmmanuel Vadot			#clock-cells = <0>;
512f126890aSEmmanuel Vadot			clock-frequency = <27000000>;
513f126890aSEmmanuel Vadot		};
514f126890aSEmmanuel Vadot		fmsick_clk: fmsick {
515f126890aSEmmanuel Vadot			compatible = "fixed-clock";
516f126890aSEmmanuel Vadot			#clock-cells = <0>;
517f126890aSEmmanuel Vadot			clock-frequency = <0>;
518f126890aSEmmanuel Vadot		};
519f126890aSEmmanuel Vadot		fmsock_clk: fmsock {
520f126890aSEmmanuel Vadot			compatible = "fixed-clock";
521f126890aSEmmanuel Vadot			#clock-cells = <0>;
522f126890aSEmmanuel Vadot			clock-frequency = <0>;
523f126890aSEmmanuel Vadot		};
524f126890aSEmmanuel Vadot		fsiack_clk: fsiack {
525f126890aSEmmanuel Vadot			compatible = "fixed-clock";
526f126890aSEmmanuel Vadot			#clock-cells = <0>;
527f126890aSEmmanuel Vadot			clock-frequency = <0>;
528f126890aSEmmanuel Vadot		};
529f126890aSEmmanuel Vadot		fsibck_clk: fsibck {
530f126890aSEmmanuel Vadot			compatible = "fixed-clock";
531f126890aSEmmanuel Vadot			#clock-cells = <0>;
532f126890aSEmmanuel Vadot			clock-frequency = <0>;
533f126890aSEmmanuel Vadot		};
5348d13bc63SEmmanuel Vadot		lcdlclk0_clk: lcdlclk0 {
5358d13bc63SEmmanuel Vadot			compatible = "fixed-clock";
5368d13bc63SEmmanuel Vadot			#clock-cells = <0>;
5378d13bc63SEmmanuel Vadot			clock-frequency = <0>;
5388d13bc63SEmmanuel Vadot		};
5398d13bc63SEmmanuel Vadot		lcdlclk1_clk: lcdlclk1 {
5408d13bc63SEmmanuel Vadot			compatible = "fixed-clock";
5418d13bc63SEmmanuel Vadot			#clock-cells = <0>;
5428d13bc63SEmmanuel Vadot			clock-frequency = <0>;
5438d13bc63SEmmanuel Vadot		};
544f126890aSEmmanuel Vadot
545f126890aSEmmanuel Vadot		/* Special CPG clocks */
546f126890aSEmmanuel Vadot		cpg_clocks: cpg_clocks@e6150000 {
547f126890aSEmmanuel Vadot			compatible = "renesas,r8a7740-cpg-clocks";
548f126890aSEmmanuel Vadot			reg = <0xe6150000 0x10000>;
549f126890aSEmmanuel Vadot			clocks = <&extal1_clk>, <&extal2_clk>, <&extalr_clk>;
550f126890aSEmmanuel Vadot			#clock-cells = <1>;
551f126890aSEmmanuel Vadot			clock-output-names = "system", "pllc0", "pllc1",
552f126890aSEmmanuel Vadot					     "pllc2", "r",
553f126890aSEmmanuel Vadot					     "usb24s",
554f126890aSEmmanuel Vadot					     "i", "zg", "b", "m1", "hp",
555f126890aSEmmanuel Vadot					     "hpp", "usbp", "s", "zb", "m3",
556f126890aSEmmanuel Vadot					     "cp";
557f126890aSEmmanuel Vadot		};
558f126890aSEmmanuel Vadot
559f126890aSEmmanuel Vadot		/* Variable factor clocks (DIV6) */
560f126890aSEmmanuel Vadot		vclk1_clk: vclk1@e6150008 {
561f126890aSEmmanuel Vadot			compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock";
562f126890aSEmmanuel Vadot			reg = <0xe6150008 4>;
563f126890aSEmmanuel Vadot			clocks = <&pllc1_div2_clk>, <0>, <&dv_clk>,
564f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7740_CLK_USB24S>,
565f126890aSEmmanuel Vadot				 <&extal1_div2_clk>, <&extalr_clk>, <0>,
566f126890aSEmmanuel Vadot				 <0>;
567f126890aSEmmanuel Vadot			#clock-cells = <0>;
568f126890aSEmmanuel Vadot		};
569f126890aSEmmanuel Vadot		vclk2_clk: vclk2@e615000c {
570f126890aSEmmanuel Vadot			compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock";
571f126890aSEmmanuel Vadot			reg = <0xe615000c 4>;
572f126890aSEmmanuel Vadot			clocks = <&pllc1_div2_clk>, <0>, <&dv_clk>,
573f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7740_CLK_USB24S>,
574f126890aSEmmanuel Vadot				 <&extal1_div2_clk>, <&extalr_clk>, <0>,
575f126890aSEmmanuel Vadot				 <0>;
576f126890aSEmmanuel Vadot			#clock-cells = <0>;
577f126890aSEmmanuel Vadot		};
578f126890aSEmmanuel Vadot		fmsi_clk: fmsi@e6150010 {
579f126890aSEmmanuel Vadot			compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock";
580f126890aSEmmanuel Vadot			reg = <0xe6150010 4>;
581f126890aSEmmanuel Vadot			clocks = <&pllc1_div2_clk>, <&fmsick_clk>, <0>, <0>;
582f126890aSEmmanuel Vadot			#clock-cells = <0>;
583f126890aSEmmanuel Vadot		};
584f126890aSEmmanuel Vadot		fmso_clk: fmso@e6150014 {
585f126890aSEmmanuel Vadot			compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock";
586f126890aSEmmanuel Vadot			reg = <0xe6150014 4>;
587f126890aSEmmanuel Vadot			clocks = <&pllc1_div2_clk>, <&fmsock_clk>, <0>, <0>;
588f126890aSEmmanuel Vadot			#clock-cells = <0>;
589f126890aSEmmanuel Vadot		};
590f126890aSEmmanuel Vadot		fsia_clk: fsia@e6150018 {
591f126890aSEmmanuel Vadot			compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock";
592f126890aSEmmanuel Vadot			reg = <0xe6150018 4>;
593f126890aSEmmanuel Vadot			clocks = <&pllc1_div2_clk>, <&fsiack_clk>, <0>, <0>;
594f126890aSEmmanuel Vadot			#clock-cells = <0>;
595f126890aSEmmanuel Vadot		};
596f126890aSEmmanuel Vadot		sub_clk: sub@e6150080 {
597f126890aSEmmanuel Vadot			compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock";
598f126890aSEmmanuel Vadot			reg = <0xe6150080 4>;
599f126890aSEmmanuel Vadot			clocks = <&pllc1_div2_clk>,
600f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7740_CLK_USB24S>, <0>, <0>;
601f126890aSEmmanuel Vadot			#clock-cells = <0>;
602f126890aSEmmanuel Vadot		};
603f126890aSEmmanuel Vadot		spu_clk: spu@e6150084 {
604f126890aSEmmanuel Vadot			compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock";
605f126890aSEmmanuel Vadot			reg = <0xe6150084 4>;
606f126890aSEmmanuel Vadot			clocks = <&pllc1_div2_clk>,
607f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7740_CLK_USB24S>, <0>, <0>;
608f126890aSEmmanuel Vadot			#clock-cells = <0>;
609f126890aSEmmanuel Vadot		};
610f126890aSEmmanuel Vadot		vou_clk: vou@e6150088 {
611f126890aSEmmanuel Vadot			compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock";
612f126890aSEmmanuel Vadot			reg = <0xe6150088 4>;
613f126890aSEmmanuel Vadot			clocks = <&pllc1_div2_clk>, <&extal1_clk>, <&dv_clk>,
614f126890aSEmmanuel Vadot				 <0>;
615f126890aSEmmanuel Vadot			#clock-cells = <0>;
616f126890aSEmmanuel Vadot		};
617f126890aSEmmanuel Vadot		stpro_clk: stpro@e615009c {
618f126890aSEmmanuel Vadot			compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock";
619f126890aSEmmanuel Vadot			reg = <0xe615009c 4>;
620f126890aSEmmanuel Vadot			clocks = <&cpg_clocks R8A7740_CLK_PLLC0>;
621f126890aSEmmanuel Vadot			#clock-cells = <0>;
622f126890aSEmmanuel Vadot		};
623f126890aSEmmanuel Vadot
624f126890aSEmmanuel Vadot		/* Fixed factor clocks */
625f126890aSEmmanuel Vadot		pllc1_div2_clk: pllc1_div2 {
626f126890aSEmmanuel Vadot			compatible = "fixed-factor-clock";
627f126890aSEmmanuel Vadot			clocks = <&cpg_clocks R8A7740_CLK_PLLC1>;
628f126890aSEmmanuel Vadot			#clock-cells = <0>;
629f126890aSEmmanuel Vadot			clock-div = <2>;
630f126890aSEmmanuel Vadot			clock-mult = <1>;
631f126890aSEmmanuel Vadot		};
632f126890aSEmmanuel Vadot		extal1_div2_clk: extal1_div2 {
633f126890aSEmmanuel Vadot			compatible = "fixed-factor-clock";
634f126890aSEmmanuel Vadot			clocks = <&extal1_clk>;
635f126890aSEmmanuel Vadot			#clock-cells = <0>;
636f126890aSEmmanuel Vadot			clock-div = <2>;
637f126890aSEmmanuel Vadot			clock-mult = <1>;
638f126890aSEmmanuel Vadot		};
639f126890aSEmmanuel Vadot
640f126890aSEmmanuel Vadot		/* Gate clocks */
641f126890aSEmmanuel Vadot		subck_clks: subck_clks@e6150080 {
642f126890aSEmmanuel Vadot			compatible = "renesas,r8a7740-mstp-clocks", "renesas,cpg-mstp-clocks";
643f126890aSEmmanuel Vadot			reg = <0xe6150080 4>;
644f126890aSEmmanuel Vadot			clocks = <&sub_clk>, <&sub_clk>;
645f126890aSEmmanuel Vadot			#clock-cells = <1>;
646f126890aSEmmanuel Vadot			clock-indices = <
647f126890aSEmmanuel Vadot				R8A7740_CLK_SUBCK R8A7740_CLK_SUBCK2
648f126890aSEmmanuel Vadot			>;
649f126890aSEmmanuel Vadot			clock-output-names =
650f126890aSEmmanuel Vadot				"subck", "subck2";
651f126890aSEmmanuel Vadot		};
652f126890aSEmmanuel Vadot		mstp1_clks: mstp1_clks@e6150134 {
653f126890aSEmmanuel Vadot			compatible = "renesas,r8a7740-mstp-clocks", "renesas,cpg-mstp-clocks";
654f126890aSEmmanuel Vadot			reg = <0xe6150134 4>, <0xe6150038 4>;
655f126890aSEmmanuel Vadot			clocks = <&cpg_clocks R8A7740_CLK_S>,
656f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7740_CLK_S>, <&sub_clk>,
657f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7740_CLK_B>,
658f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7740_CLK_HPP>, <&sub_clk>,
659f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7740_CLK_B>;
660f126890aSEmmanuel Vadot			#clock-cells = <1>;
661f126890aSEmmanuel Vadot			clock-indices = <
662f126890aSEmmanuel Vadot				R8A7740_CLK_CEU21 R8A7740_CLK_CEU20 R8A7740_CLK_TMU0
663f126890aSEmmanuel Vadot				R8A7740_CLK_LCDC1 R8A7740_CLK_IIC0 R8A7740_CLK_TMU1
664f126890aSEmmanuel Vadot				R8A7740_CLK_LCDC0
665f126890aSEmmanuel Vadot			>;
666f126890aSEmmanuel Vadot			clock-output-names =
667f126890aSEmmanuel Vadot				"ceu21", "ceu20", "tmu0", "lcdc1", "iic0",
668f126890aSEmmanuel Vadot				"tmu1", "lcdc0";
669f126890aSEmmanuel Vadot		};
670f126890aSEmmanuel Vadot		mstp2_clks: mstp2_clks@e6150138 {
671f126890aSEmmanuel Vadot			compatible = "renesas,r8a7740-mstp-clocks", "renesas,cpg-mstp-clocks";
672f126890aSEmmanuel Vadot			reg = <0xe6150138 4>, <0xe6150040 4>;
673f126890aSEmmanuel Vadot			clocks = <&sub_clk>, <&cpg_clocks R8A7740_CLK_HP>,
674f126890aSEmmanuel Vadot				 <&sub_clk>, <&cpg_clocks R8A7740_CLK_HP>,
675f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7740_CLK_HP>,
676f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7740_CLK_HP>,
677f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7740_CLK_HP>,
678f126890aSEmmanuel Vadot				 <&sub_clk>, <&sub_clk>, <&sub_clk>,
679f126890aSEmmanuel Vadot				 <&sub_clk>, <&sub_clk>, <&sub_clk>,
680f126890aSEmmanuel Vadot				 <&sub_clk>;
681f126890aSEmmanuel Vadot			#clock-cells = <1>;
682f126890aSEmmanuel Vadot			clock-indices = <
683f126890aSEmmanuel Vadot				R8A7740_CLK_SCIFA6 R8A7740_CLK_INTCA
684f126890aSEmmanuel Vadot				R8A7740_CLK_SCIFA7
685f126890aSEmmanuel Vadot				R8A7740_CLK_DMAC1 R8A7740_CLK_DMAC2
686f126890aSEmmanuel Vadot				R8A7740_CLK_DMAC3 R8A7740_CLK_USBDMAC
687f126890aSEmmanuel Vadot				R8A7740_CLK_SCIFA5 R8A7740_CLK_SCIFB
688f126890aSEmmanuel Vadot				R8A7740_CLK_SCIFA0 R8A7740_CLK_SCIFA1
689f126890aSEmmanuel Vadot				R8A7740_CLK_SCIFA2 R8A7740_CLK_SCIFA3
690f126890aSEmmanuel Vadot				R8A7740_CLK_SCIFA4
691f126890aSEmmanuel Vadot			>;
692f126890aSEmmanuel Vadot			clock-output-names =
693f126890aSEmmanuel Vadot				"scifa6", "intca",
694f126890aSEmmanuel Vadot				"scifa7", "dmac1", "dmac2", "dmac3",
695f126890aSEmmanuel Vadot				"usbdmac", "scifa5", "scifb", "scifa0", "scifa1",
696f126890aSEmmanuel Vadot				"scifa2", "scifa3", "scifa4";
697f126890aSEmmanuel Vadot		};
698f126890aSEmmanuel Vadot		mstp3_clks: mstp3_clks@e615013c {
699f126890aSEmmanuel Vadot			compatible = "renesas,r8a7740-mstp-clocks", "renesas,cpg-mstp-clocks";
700f126890aSEmmanuel Vadot			reg = <0xe615013c 4>, <0xe6150048 4>;
701f126890aSEmmanuel Vadot			clocks = <&cpg_clocks R8A7740_CLK_R>,
702f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7740_CLK_HP>,
703f126890aSEmmanuel Vadot				 <&sub_clk>,
704f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7740_CLK_HP>,
705f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7740_CLK_HP>,
706f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7740_CLK_HP>,
707f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7740_CLK_HP>,
708f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7740_CLK_HP>,
709f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7740_CLK_HP>;
710f126890aSEmmanuel Vadot			#clock-cells = <1>;
711f126890aSEmmanuel Vadot			clock-indices = <
712f126890aSEmmanuel Vadot				R8A7740_CLK_CMT1 R8A7740_CLK_FSI R8A7740_CLK_IIC1
713f126890aSEmmanuel Vadot				R8A7740_CLK_USBF R8A7740_CLK_SDHI0 R8A7740_CLK_SDHI1
714f126890aSEmmanuel Vadot				R8A7740_CLK_MMC R8A7740_CLK_GETHER R8A7740_CLK_TPU0
715f126890aSEmmanuel Vadot			>;
716f126890aSEmmanuel Vadot			clock-output-names =
717f126890aSEmmanuel Vadot				"cmt1", "fsi", "iic1", "usbf", "sdhi0", "sdhi1",
718f126890aSEmmanuel Vadot				"mmc", "gether", "tpu0";
719f126890aSEmmanuel Vadot		};
720f126890aSEmmanuel Vadot		mstp4_clks: mstp4_clks@e6150140 {
721f126890aSEmmanuel Vadot			compatible = "renesas,r8a7740-mstp-clocks", "renesas,cpg-mstp-clocks";
722f126890aSEmmanuel Vadot			reg = <0xe6150140 4>, <0xe615004c 4>;
723f126890aSEmmanuel Vadot			clocks = <&cpg_clocks R8A7740_CLK_HP>,
724f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7740_CLK_HP>,
725f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7740_CLK_HP>,
726f126890aSEmmanuel Vadot				 <&cpg_clocks R8A7740_CLK_HP>;
727f126890aSEmmanuel Vadot			#clock-cells = <1>;
728f126890aSEmmanuel Vadot			clock-indices = <
729f126890aSEmmanuel Vadot				R8A7740_CLK_USBH R8A7740_CLK_SDHI2
730f126890aSEmmanuel Vadot				R8A7740_CLK_USBFUNC R8A7740_CLK_USBPHY
731f126890aSEmmanuel Vadot			>;
732f126890aSEmmanuel Vadot			clock-output-names =
733f126890aSEmmanuel Vadot				"usbhost", "sdhi2", "usbfunc", "usphy";
734f126890aSEmmanuel Vadot		};
735f126890aSEmmanuel Vadot	};
736f126890aSEmmanuel Vadot
737f126890aSEmmanuel Vadot	sysc: system-controller@e6180000 {
738f126890aSEmmanuel Vadot		compatible = "renesas,sysc-r8a7740", "renesas,sysc-rmobile";
739f126890aSEmmanuel Vadot		reg = <0xe6180000 0x8000>, <0xe6188000 0x8000>;
740f126890aSEmmanuel Vadot
741f126890aSEmmanuel Vadot		pm-domains {
742f126890aSEmmanuel Vadot			pd_c5: c5 {
743f126890aSEmmanuel Vadot				#address-cells = <1>;
744f126890aSEmmanuel Vadot				#size-cells = <0>;
745f126890aSEmmanuel Vadot				#power-domain-cells = <0>;
746f126890aSEmmanuel Vadot
747f126890aSEmmanuel Vadot				pd_a4lc: a4lc@1 {
748f126890aSEmmanuel Vadot					reg = <1>;
749f126890aSEmmanuel Vadot					#power-domain-cells = <0>;
750f126890aSEmmanuel Vadot				};
751f126890aSEmmanuel Vadot
752f126890aSEmmanuel Vadot				pd_a4mp: a4mp@2 {
753f126890aSEmmanuel Vadot					reg = <2>;
754f126890aSEmmanuel Vadot					#power-domain-cells = <0>;
755f126890aSEmmanuel Vadot				};
756f126890aSEmmanuel Vadot
757f126890aSEmmanuel Vadot				pd_d4: d4@3 {
758f126890aSEmmanuel Vadot					reg = <3>;
759f126890aSEmmanuel Vadot					#power-domain-cells = <0>;
760f126890aSEmmanuel Vadot				};
761f126890aSEmmanuel Vadot
762f126890aSEmmanuel Vadot				pd_a4r: a4r@5 {
763f126890aSEmmanuel Vadot					reg = <5>;
764f126890aSEmmanuel Vadot					#address-cells = <1>;
765f126890aSEmmanuel Vadot					#size-cells = <0>;
766f126890aSEmmanuel Vadot					#power-domain-cells = <0>;
767f126890aSEmmanuel Vadot
768f126890aSEmmanuel Vadot					pd_a3rv: a3rv@6 {
769f126890aSEmmanuel Vadot						reg = <6>;
770f126890aSEmmanuel Vadot						#power-domain-cells = <0>;
771f126890aSEmmanuel Vadot					};
772f126890aSEmmanuel Vadot				};
773f126890aSEmmanuel Vadot
774f126890aSEmmanuel Vadot				pd_a4s: a4s@10 {
775f126890aSEmmanuel Vadot					reg = <10>;
776f126890aSEmmanuel Vadot					#address-cells = <1>;
777f126890aSEmmanuel Vadot					#size-cells = <0>;
778f126890aSEmmanuel Vadot					#power-domain-cells = <0>;
779f126890aSEmmanuel Vadot
780f126890aSEmmanuel Vadot					pd_a3sp: a3sp@11 {
781f126890aSEmmanuel Vadot						reg = <11>;
782f126890aSEmmanuel Vadot						#power-domain-cells = <0>;
783f126890aSEmmanuel Vadot					};
784f126890aSEmmanuel Vadot
785f126890aSEmmanuel Vadot					pd_a3sm: a3sm@12 {
786f126890aSEmmanuel Vadot						reg = <12>;
787f126890aSEmmanuel Vadot						#power-domain-cells = <0>;
788f126890aSEmmanuel Vadot					};
789f126890aSEmmanuel Vadot
790f126890aSEmmanuel Vadot					pd_a3sg: a3sg@13 {
791f126890aSEmmanuel Vadot						reg = <13>;
792f126890aSEmmanuel Vadot						#power-domain-cells = <0>;
793f126890aSEmmanuel Vadot					};
794f126890aSEmmanuel Vadot				};
795f126890aSEmmanuel Vadot
796f126890aSEmmanuel Vadot				pd_a4su: a4su@20 {
797f126890aSEmmanuel Vadot					reg = <20>;
798f126890aSEmmanuel Vadot					#power-domain-cells = <0>;
799f126890aSEmmanuel Vadot				};
800f126890aSEmmanuel Vadot			};
801f126890aSEmmanuel Vadot		};
802f126890aSEmmanuel Vadot	};
803f126890aSEmmanuel Vadot};
804