1cf40c968SBiju Das// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2cf40c968SBiju Das/*
3cf40c968SBiju Das * Device Tree Source for the RZ/G2UL SoC
4cf40c968SBiju Das *
5cf40c968SBiju Das * Copyright (C) 2022 Renesas Electronics Corp.
6cf40c968SBiju Das */
7cf40c968SBiju Das
8cf40c968SBiju Das#include <dt-bindings/interrupt-controller/arm-gic.h>
9cf40c968SBiju Das#include <dt-bindings/clock/r9a07g043-cpg.h>
10cf40c968SBiju Das
11cf40c968SBiju Das/ {
12cf40c968SBiju Das	compatible = "renesas,r9a07g043";
13cf40c968SBiju Das	#address-cells = <2>;
14cf40c968SBiju Das	#size-cells = <2>;
15cf40c968SBiju Das
16cf40c968SBiju Das	audio_clk1: audio-clk1 {
17cf40c968SBiju Das		compatible = "fixed-clock";
18cf40c968SBiju Das		#clock-cells = <0>;
19cf40c968SBiju Das		/* This value must be overridden by boards that provide it */
20cf40c968SBiju Das		clock-frequency = <0>;
21cf40c968SBiju Das	};
22cf40c968SBiju Das
23cf40c968SBiju Das	audio_clk2: audio-clk2 {
24cf40c968SBiju Das		compatible = "fixed-clock";
25cf40c968SBiju Das		#clock-cells = <0>;
26cf40c968SBiju Das		/* This value must be overridden by boards that provide it */
27cf40c968SBiju Das		clock-frequency = <0>;
28cf40c968SBiju Das	};
29cf40c968SBiju Das
30cf40c968SBiju Das	/* External CAN clock - to be overridden by boards that provide it */
31cf40c968SBiju Das	can_clk: can-clk {
32cf40c968SBiju Das		compatible = "fixed-clock";
33cf40c968SBiju Das		#clock-cells = <0>;
34cf40c968SBiju Das		clock-frequency = <0>;
35cf40c968SBiju Das	};
36cf40c968SBiju Das
37cf40c968SBiju Das	/* clock can be either from exclk or crystal oscillator (XIN/XOUT) */
38cf40c968SBiju Das	extal_clk: extal-clk {
39cf40c968SBiju Das		compatible = "fixed-clock";
40cf40c968SBiju Das		#clock-cells = <0>;
41cf40c968SBiju Das		/* This value must be overridden by the board */
42cf40c968SBiju Das		clock-frequency = <0>;
43cf40c968SBiju Das	};
44cf40c968SBiju Das
45e6a9acc3SBiju Das	cluster0_opp: opp-table-0 {
46e6a9acc3SBiju Das		compatible = "operating-points-v2";
47e6a9acc3SBiju Das		opp-shared;
48e6a9acc3SBiju Das
49e6a9acc3SBiju Das		opp-125000000 {
50e6a9acc3SBiju Das			opp-hz = /bits/ 64 <125000000>;
51e6a9acc3SBiju Das			opp-microvolt = <1100000>;
52e6a9acc3SBiju Das			clock-latency-ns = <300000>;
53e6a9acc3SBiju Das		};
54e6a9acc3SBiju Das		opp-250000000 {
55e6a9acc3SBiju Das			opp-hz = /bits/ 64 <250000000>;
56e6a9acc3SBiju Das			opp-microvolt = <1100000>;
57e6a9acc3SBiju Das			clock-latency-ns = <300000>;
58e6a9acc3SBiju Das		};
59e6a9acc3SBiju Das		opp-500000000 {
60e6a9acc3SBiju Das			opp-hz = /bits/ 64 <500000000>;
61e6a9acc3SBiju Das			opp-microvolt = <1100000>;
62e6a9acc3SBiju Das			clock-latency-ns = <300000>;
63e6a9acc3SBiju Das		};
64e6a9acc3SBiju Das		opp-1000000000 {
65e6a9acc3SBiju Das			opp-hz = /bits/ 64 <1000000000>;
66e6a9acc3SBiju Das			opp-microvolt = <1100000>;
67e6a9acc3SBiju Das			clock-latency-ns = <300000>;
68e6a9acc3SBiju Das			opp-suspend;
69e6a9acc3SBiju Das		};
70e6a9acc3SBiju Das	};
71e6a9acc3SBiju Das
72cf40c968SBiju Das	cpus {
73cf40c968SBiju Das		#address-cells = <1>;
74cf40c968SBiju Das		#size-cells = <0>;
75cf40c968SBiju Das
76cf40c968SBiju Das		cpu0: cpu@0 {
77cf40c968SBiju Das			compatible = "arm,cortex-a55";
78cf40c968SBiju Das			reg = <0>;
79cf40c968SBiju Das			device_type = "cpu";
80c2ff5c02SBiju Das			#cooling-cells = <2>;
81cf40c968SBiju Das			next-level-cache = <&L3_CA55>;
82cf40c968SBiju Das			enable-method = "psci";
83cf40c968SBiju Das			clocks = <&cpg CPG_CORE R9A07G043_CLK_I>;
84e6a9acc3SBiju Das			operating-points-v2 = <&cluster0_opp>;
85cf40c968SBiju Das		};
86cf40c968SBiju Das
87cf40c968SBiju Das		L3_CA55: cache-controller-0 {
88cf40c968SBiju Das			compatible = "cache";
89cf40c968SBiju Das			cache-unified;
90cf40c968SBiju Das			cache-size = <0x40000>;
91cf40c968SBiju Das		};
92cf40c968SBiju Das	};
93cf40c968SBiju Das
94cf40c968SBiju Das	psci {
95cf40c968SBiju Das		compatible = "arm,psci-1.0", "arm,psci-0.2";
96cf40c968SBiju Das		method = "smc";
97cf40c968SBiju Das	};
98cf40c968SBiju Das
99cf40c968SBiju Das	soc: soc {
100cf40c968SBiju Das		compatible = "simple-bus";
101cf40c968SBiju Das		interrupt-parent = <&gic>;
102cf40c968SBiju Das		#address-cells = <2>;
103cf40c968SBiju Das		#size-cells = <2>;
104cf40c968SBiju Das		ranges;
105cf40c968SBiju Das
106cf40c968SBiju Das		ssi0: ssi@10049c00 {
107559f2b07SBiju Das			compatible = "renesas,r9a07g043-ssi",
108559f2b07SBiju Das				     "renesas,rz-ssi";
109cf40c968SBiju Das			reg = <0 0x10049c00 0 0x400>;
110559f2b07SBiju Das			interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
111559f2b07SBiju Das				     <GIC_SPI 327 IRQ_TYPE_EDGE_RISING>,
112559f2b07SBiju Das				     <GIC_SPI 328 IRQ_TYPE_EDGE_RISING>,
113559f2b07SBiju Das				     <GIC_SPI 329 IRQ_TYPE_EDGE_RISING>;
114559f2b07SBiju Das			interrupt-names = "int_req", "dma_rx", "dma_tx", "dma_rt";
115559f2b07SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_SSI0_PCLK2>,
116559f2b07SBiju Das				 <&cpg CPG_MOD R9A07G043_SSI0_PCLK_SFR>,
117559f2b07SBiju Das				 <&audio_clk1>, <&audio_clk2>;
118559f2b07SBiju Das			clock-names = "ssi", "ssi_sfr", "audio_clk1", "audio_clk2";
119559f2b07SBiju Das			resets = <&cpg R9A07G043_SSI0_RST_M2_REG>;
120559f2b07SBiju Das			dmas = <&dmac 0x2655>, <&dmac 0x2656>;
121559f2b07SBiju Das			dma-names = "tx", "rx";
122559f2b07SBiju Das			power-domains = <&cpg>;
123cf40c968SBiju Das			#sound-dai-cells = <0>;
124559f2b07SBiju Das			status = "disabled";
125559f2b07SBiju Das		};
126559f2b07SBiju Das
127559f2b07SBiju Das		ssi1: ssi@1004a000 {
128559f2b07SBiju Das			compatible = "renesas,r9a07g043-ssi",
129559f2b07SBiju Das				     "renesas,rz-ssi";
130559f2b07SBiju Das			reg = <0 0x1004a000 0 0x400>;
131559f2b07SBiju Das			interrupts = <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
132559f2b07SBiju Das				     <GIC_SPI 331 IRQ_TYPE_EDGE_RISING>,
133559f2b07SBiju Das				     <GIC_SPI 332 IRQ_TYPE_EDGE_RISING>,
134559f2b07SBiju Das				     <GIC_SPI 333 IRQ_TYPE_EDGE_RISING>;
135559f2b07SBiju Das			interrupt-names = "int_req", "dma_rx", "dma_tx", "dma_rt";
136559f2b07SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_SSI1_PCLK2>,
137559f2b07SBiju Das				 <&cpg CPG_MOD R9A07G043_SSI1_PCLK_SFR>,
138559f2b07SBiju Das				 <&audio_clk1>, <&audio_clk2>;
139559f2b07SBiju Das			clock-names = "ssi", "ssi_sfr", "audio_clk1", "audio_clk2";
140559f2b07SBiju Das			resets = <&cpg R9A07G043_SSI1_RST_M2_REG>;
141559f2b07SBiju Das			dmas = <&dmac 0x2659>, <&dmac 0x265a>;
142559f2b07SBiju Das			dma-names = "tx", "rx";
143559f2b07SBiju Das			power-domains = <&cpg>;
144559f2b07SBiju Das			#sound-dai-cells = <0>;
145559f2b07SBiju Das			status = "disabled";
146559f2b07SBiju Das		};
147559f2b07SBiju Das
148559f2b07SBiju Das		ssi2: ssi@1004a400 {
149559f2b07SBiju Das			compatible = "renesas,r9a07g043-ssi",
150559f2b07SBiju Das				     "renesas,rz-ssi";
151559f2b07SBiju Das			reg = <0 0x1004a400 0 0x400>;
152559f2b07SBiju Das			interrupts = <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
153559f2b07SBiju Das				     <GIC_SPI 335 IRQ_TYPE_EDGE_RISING>,
154559f2b07SBiju Das				     <GIC_SPI 336 IRQ_TYPE_EDGE_RISING>,
155559f2b07SBiju Das				     <GIC_SPI 337 IRQ_TYPE_EDGE_RISING>;
156559f2b07SBiju Das			interrupt-names = "int_req", "dma_rx", "dma_tx", "dma_rt";
157559f2b07SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_SSI2_PCLK2>,
158559f2b07SBiju Das				 <&cpg CPG_MOD R9A07G043_SSI2_PCLK_SFR>,
159559f2b07SBiju Das				 <&audio_clk1>, <&audio_clk2>;
160559f2b07SBiju Das			clock-names = "ssi", "ssi_sfr", "audio_clk1", "audio_clk2";
161559f2b07SBiju Das			resets = <&cpg R9A07G043_SSI2_RST_M2_REG>;
162559f2b07SBiju Das			dmas = <&dmac 0x265f>;
163559f2b07SBiju Das			dma-names = "rt";
164559f2b07SBiju Das			power-domains = <&cpg>;
165559f2b07SBiju Das			#sound-dai-cells = <0>;
166559f2b07SBiju Das			status = "disabled";
167559f2b07SBiju Das		};
168559f2b07SBiju Das
169559f2b07SBiju Das		ssi3: ssi@1004a800 {
170559f2b07SBiju Das			compatible = "renesas,r9a07g043-ssi",
171559f2b07SBiju Das				     "renesas,rz-ssi";
172559f2b07SBiju Das			reg = <0 0x1004a800 0 0x400>;
173559f2b07SBiju Das			interrupts = <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
174559f2b07SBiju Das				     <GIC_SPI 339 IRQ_TYPE_EDGE_RISING>,
175559f2b07SBiju Das				     <GIC_SPI 340 IRQ_TYPE_EDGE_RISING>,
176559f2b07SBiju Das				     <GIC_SPI 341 IRQ_TYPE_EDGE_RISING>;
177559f2b07SBiju Das			interrupt-names = "int_req", "dma_rx", "dma_tx", "dma_rt";
178559f2b07SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_SSI3_PCLK2>,
179559f2b07SBiju Das				 <&cpg CPG_MOD R9A07G043_SSI3_PCLK_SFR>,
180559f2b07SBiju Das				 <&audio_clk1>, <&audio_clk2>;
181559f2b07SBiju Das			clock-names = "ssi", "ssi_sfr", "audio_clk1", "audio_clk2";
182559f2b07SBiju Das			resets = <&cpg R9A07G043_SSI3_RST_M2_REG>;
183559f2b07SBiju Das			dmas = <&dmac 0x2661>, <&dmac 0x2662>;
184559f2b07SBiju Das			dma-names = "tx", "rx";
185559f2b07SBiju Das			power-domains = <&cpg>;
186559f2b07SBiju Das			#sound-dai-cells = <0>;
187559f2b07SBiju Das			status = "disabled";
188cf40c968SBiju Das		};
189cf40c968SBiju Das
19022ec8689SBiju Das		spi0: spi@1004ac00 {
19122ec8689SBiju Das			compatible = "renesas,r9a07g043-rspi", "renesas,rspi-rz";
19222ec8689SBiju Das			reg = <0 0x1004ac00 0 0x400>;
19322ec8689SBiju Das			interrupts = <GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>,
19422ec8689SBiju Das				     <GIC_SPI 413 IRQ_TYPE_LEVEL_HIGH>,
19522ec8689SBiju Das				     <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>;
19622ec8689SBiju Das			interrupt-names = "error", "rx", "tx";
19722ec8689SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_RSPI0_CLKB>;
19822ec8689SBiju Das			resets = <&cpg R9A07G043_RSPI0_RST>;
19922ec8689SBiju Das			power-domains = <&cpg>;
20022ec8689SBiju Das			num-cs = <1>;
201cf40c968SBiju Das			#address-cells = <1>;
202cf40c968SBiju Das			#size-cells = <0>;
20322ec8689SBiju Das			status = "disabled";
20422ec8689SBiju Das		};
20522ec8689SBiju Das
20622ec8689SBiju Das		spi1: spi@1004b000 {
20722ec8689SBiju Das			compatible = "renesas,r9a07g043-rspi", "renesas,rspi-rz";
20822ec8689SBiju Das			reg = <0 0x1004b000 0 0x400>;
20922ec8689SBiju Das			interrupts = <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
21022ec8689SBiju Das				     <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
21122ec8689SBiju Das				     <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>;
21222ec8689SBiju Das			interrupt-names = "error", "rx", "tx";
21322ec8689SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_RSPI1_CLKB>;
21422ec8689SBiju Das			resets = <&cpg R9A07G043_RSPI1_RST>;
21522ec8689SBiju Das			power-domains = <&cpg>;
21622ec8689SBiju Das			num-cs = <1>;
21722ec8689SBiju Das			#address-cells = <1>;
21822ec8689SBiju Das			#size-cells = <0>;
21922ec8689SBiju Das			status = "disabled";
22022ec8689SBiju Das		};
22122ec8689SBiju Das
22222ec8689SBiju Das		spi2: spi@1004b400 {
22322ec8689SBiju Das			compatible = "renesas,r9a07g043-rspi", "renesas,rspi-rz";
22422ec8689SBiju Das			reg = <0 0x1004b400 0 0x400>;
22522ec8689SBiju Das			interrupts = <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
22622ec8689SBiju Das				     <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
22722ec8689SBiju Das				     <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>;
22822ec8689SBiju Das			interrupt-names = "error", "rx", "tx";
22922ec8689SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_RSPI2_CLKB>;
23022ec8689SBiju Das			resets = <&cpg R9A07G043_RSPI2_RST>;
23122ec8689SBiju Das			power-domains = <&cpg>;
23222ec8689SBiju Das			num-cs = <1>;
23322ec8689SBiju Das			#address-cells = <1>;
23422ec8689SBiju Das			#size-cells = <0>;
23522ec8689SBiju Das			status = "disabled";
236cf40c968SBiju Das		};
237cf40c968SBiju Das
238cf40c968SBiju Das		scif0: serial@1004b800 {
239cf40c968SBiju Das			compatible = "renesas,scif-r9a07g043",
240cf40c968SBiju Das				     "renesas,scif-r9a07g044";
241cf40c968SBiju Das			reg = <0 0x1004b800 0 0x400>;
242cf40c968SBiju Das			interrupts = <GIC_SPI 380 IRQ_TYPE_LEVEL_HIGH>,
243cf40c968SBiju Das				     <GIC_SPI 382 IRQ_TYPE_LEVEL_HIGH>,
244cf40c968SBiju Das				     <GIC_SPI 383 IRQ_TYPE_LEVEL_HIGH>,
245cf40c968SBiju Das				     <GIC_SPI 381 IRQ_TYPE_LEVEL_HIGH>,
246cf40c968SBiju Das				     <GIC_SPI 384 IRQ_TYPE_LEVEL_HIGH>,
247cf40c968SBiju Das				     <GIC_SPI 384 IRQ_TYPE_LEVEL_HIGH>;
248cf40c968SBiju Das			interrupt-names = "eri", "rxi", "txi",
249cf40c968SBiju Das					  "bri", "dri", "tei";
250cf40c968SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_SCIF0_CLK_PCK>;
251cf40c968SBiju Das			clock-names = "fck";
252cf40c968SBiju Das			power-domains = <&cpg>;
253cf40c968SBiju Das			resets = <&cpg R9A07G043_SCIF0_RST_SYSTEM_N>;
254cf40c968SBiju Das			status = "disabled";
255cf40c968SBiju Das		};
256cf40c968SBiju Das
257cf40c968SBiju Das		scif1: serial@1004bc00 {
258cf40c968SBiju Das			compatible = "renesas,scif-r9a07g043",
259cf40c968SBiju Das				     "renesas,scif-r9a07g044";
260cf40c968SBiju Das			reg = <0 0x1004bc00 0 0x400>;
261cf40c968SBiju Das			interrupts = <GIC_SPI 385 IRQ_TYPE_LEVEL_HIGH>,
262cf40c968SBiju Das				     <GIC_SPI 387 IRQ_TYPE_LEVEL_HIGH>,
263cf40c968SBiju Das				     <GIC_SPI 388 IRQ_TYPE_LEVEL_HIGH>,
264cf40c968SBiju Das				     <GIC_SPI 386 IRQ_TYPE_LEVEL_HIGH>,
265cf40c968SBiju Das				     <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>,
266cf40c968SBiju Das				     <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>;
267cf40c968SBiju Das			interrupt-names = "eri", "rxi", "txi",
268cf40c968SBiju Das					  "bri", "dri", "tei";
269cf40c968SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_SCIF1_CLK_PCK>;
270cf40c968SBiju Das			clock-names = "fck";
271cf40c968SBiju Das			power-domains = <&cpg>;
272cf40c968SBiju Das			resets = <&cpg R9A07G043_SCIF1_RST_SYSTEM_N>;
273cf40c968SBiju Das			status = "disabled";
274cf40c968SBiju Das		};
275cf40c968SBiju Das
276cf40c968SBiju Das		scif2: serial@1004c000 {
277cf40c968SBiju Das			compatible = "renesas,scif-r9a07g043",
278cf40c968SBiju Das				     "renesas,scif-r9a07g044";
279cf40c968SBiju Das			reg = <0 0x1004c000 0 0x400>;
280cf40c968SBiju Das			interrupts = <GIC_SPI 390 IRQ_TYPE_LEVEL_HIGH>,
281cf40c968SBiju Das				     <GIC_SPI 392 IRQ_TYPE_LEVEL_HIGH>,
282cf40c968SBiju Das				     <GIC_SPI 393 IRQ_TYPE_LEVEL_HIGH>,
283cf40c968SBiju Das				     <GIC_SPI 391 IRQ_TYPE_LEVEL_HIGH>,
284cf40c968SBiju Das				     <GIC_SPI 394 IRQ_TYPE_LEVEL_HIGH>,
285cf40c968SBiju Das				     <GIC_SPI 394 IRQ_TYPE_LEVEL_HIGH>;
286cf40c968SBiju Das			interrupt-names = "eri", "rxi", "txi",
287cf40c968SBiju Das					  "bri", "dri", "tei";
288cf40c968SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_SCIF2_CLK_PCK>;
289cf40c968SBiju Das			clock-names = "fck";
290cf40c968SBiju Das			power-domains = <&cpg>;
291cf40c968SBiju Das			resets = <&cpg R9A07G043_SCIF2_RST_SYSTEM_N>;
292cf40c968SBiju Das			status = "disabled";
293cf40c968SBiju Das		};
294cf40c968SBiju Das
295cf40c968SBiju Das		scif3: serial@1004c400 {
296cf40c968SBiju Das			compatible = "renesas,scif-r9a07g043",
297cf40c968SBiju Das				     "renesas,scif-r9a07g044";
298cf40c968SBiju Das			reg = <0 0x1004c400 0 0x400>;
299cf40c968SBiju Das			interrupts = <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>,
300cf40c968SBiju Das				     <GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>,
301cf40c968SBiju Das				     <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>,
302cf40c968SBiju Das				     <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>,
303cf40c968SBiju Das				     <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>,
304cf40c968SBiju Das				     <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>;
305cf40c968SBiju Das			interrupt-names = "eri", "rxi", "txi",
306cf40c968SBiju Das					  "bri", "dri", "tei";
307cf40c968SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_SCIF3_CLK_PCK>;
308cf40c968SBiju Das			clock-names = "fck";
309cf40c968SBiju Das			power-domains = <&cpg>;
310cf40c968SBiju Das			resets = <&cpg R9A07G043_SCIF3_RST_SYSTEM_N>;
311cf40c968SBiju Das			status = "disabled";
312cf40c968SBiju Das		};
313cf40c968SBiju Das
314cf40c968SBiju Das		scif4: serial@1004c800 {
315cf40c968SBiju Das			compatible = "renesas,scif-r9a07g043",
316cf40c968SBiju Das				     "renesas,scif-r9a07g044";
317cf40c968SBiju Das			reg = <0 0x1004c800 0 0x400>;
318cf40c968SBiju Das			interrupts = <GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>,
319cf40c968SBiju Das				     <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>,
320cf40c968SBiju Das				     <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>,
321cf40c968SBiju Das				     <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>,
322cf40c968SBiju Das				     <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>,
323cf40c968SBiju Das				     <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>;
324cf40c968SBiju Das			interrupt-names = "eri", "rxi", "txi",
325cf40c968SBiju Das					  "bri", "dri", "tei";
326cf40c968SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_SCIF4_CLK_PCK>;
327cf40c968SBiju Das			clock-names = "fck";
328cf40c968SBiju Das			power-domains = <&cpg>;
329cf40c968SBiju Das			resets = <&cpg R9A07G043_SCIF4_RST_SYSTEM_N>;
330cf40c968SBiju Das			status = "disabled";
331cf40c968SBiju Das		};
332cf40c968SBiju Das
333cf40c968SBiju Das		sci0: serial@1004d000 {
334cf40c968SBiju Das			compatible = "renesas,r9a07g043-sci", "renesas,sci";
335cf40c968SBiju Das			reg = <0 0x1004d000 0 0x400>;
336cf40c968SBiju Das			interrupts = <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>,
337cf40c968SBiju Das				     <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>,
338cf40c968SBiju Das				     <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>,
339cf40c968SBiju Das				     <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>;
340cf40c968SBiju Das			interrupt-names = "eri", "rxi", "txi", "tei";
341cf40c968SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_SCI0_CLKP>;
342cf40c968SBiju Das			clock-names = "fck";
343cf40c968SBiju Das			power-domains = <&cpg>;
344cf40c968SBiju Das			resets = <&cpg R9A07G043_SCI0_RST>;
345cf40c968SBiju Das			status = "disabled";
346cf40c968SBiju Das		};
347cf40c968SBiju Das
348cf40c968SBiju Das		sci1: serial@1004d400 {
349cf40c968SBiju Das			compatible = "renesas,r9a07g043-sci", "renesas,sci";
350cf40c968SBiju Das			reg = <0 0x1004d400 0 0x400>;
351cf40c968SBiju Das			interrupts = <GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH>,
352cf40c968SBiju Das				     <GIC_SPI 410 IRQ_TYPE_LEVEL_HIGH>,
353cf40c968SBiju Das				     <GIC_SPI 411 IRQ_TYPE_LEVEL_HIGH>,
354cf40c968SBiju Das				     <GIC_SPI 412 IRQ_TYPE_LEVEL_HIGH>;
355cf40c968SBiju Das			interrupt-names = "eri", "rxi", "txi", "tei";
356cf40c968SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_SCI1_CLKP>;
357cf40c968SBiju Das			clock-names = "fck";
358cf40c968SBiju Das			power-domains = <&cpg>;
359cf40c968SBiju Das			resets = <&cpg R9A07G043_SCI1_RST>;
360cf40c968SBiju Das			status = "disabled";
361cf40c968SBiju Das		};
362cf40c968SBiju Das
363cf40c968SBiju Das		canfd: can@10050000 {
3641de1b448SBiju Das			compatible = "renesas,r9a07g043-canfd", "renesas,rzg2l-canfd";
365cf40c968SBiju Das			reg = <0 0x10050000 0 0x8000>;
3661de1b448SBiju Das			interrupts = <GIC_SPI 426 IRQ_TYPE_LEVEL_HIGH>,
3671de1b448SBiju Das				     <GIC_SPI 427 IRQ_TYPE_LEVEL_HIGH>,
3681de1b448SBiju Das				     <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
3691de1b448SBiju Das				     <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
3701de1b448SBiju Das				     <GIC_SPI 428 IRQ_TYPE_LEVEL_HIGH>,
3711de1b448SBiju Das				     <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
3721de1b448SBiju Das				     <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>,
3731de1b448SBiju Das				     <GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH>;
3741de1b448SBiju Das			interrupt-names = "g_err", "g_recc",
3751de1b448SBiju Das					  "ch0_err", "ch0_rec", "ch0_trx",
3761de1b448SBiju Das					  "ch1_err", "ch1_rec", "ch1_trx";
3771de1b448SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_CANFD_PCLK>,
3781de1b448SBiju Das				 <&cpg CPG_CORE R9A07G043_CLK_P0_DIV2>,
3791de1b448SBiju Das				 <&can_clk>;
3801de1b448SBiju Das			clock-names = "fck", "canfd", "can_clk";
3811de1b448SBiju Das			assigned-clocks = <&cpg CPG_CORE R9A07G043_CLK_P0_DIV2>;
3821de1b448SBiju Das			assigned-clock-rates = <50000000>;
3831de1b448SBiju Das			resets = <&cpg R9A07G043_CANFD_RSTP_N>,
3841de1b448SBiju Das				 <&cpg R9A07G043_CANFD_RSTC_N>;
3851de1b448SBiju Das			reset-names = "rstp_n", "rstc_n";
3861de1b448SBiju Das			power-domains = <&cpg>;
3871de1b448SBiju Das			status = "disabled";
3881de1b448SBiju Das
3891de1b448SBiju Das			channel0 {
3901de1b448SBiju Das				status = "disabled";
3911de1b448SBiju Das			};
3921de1b448SBiju Das			channel1 {
3931de1b448SBiju Das				status = "disabled";
3941de1b448SBiju Das			};
395cf40c968SBiju Das		};
396cf40c968SBiju Das
397cf40c968SBiju Das		i2c0: i2c@10058000 {
398cf40c968SBiju Das			#address-cells = <1>;
399cf40c968SBiju Das			#size-cells = <0>;
400bc9e1dbbSBiju Das			compatible = "renesas,riic-r9a07g043", "renesas,riic-rz";
401cf40c968SBiju Das			reg = <0 0x10058000 0 0x400>;
402bc9e1dbbSBiju Das			interrupts = <GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH>,
403bc9e1dbbSBiju Das				     <GIC_SPI 348 IRQ_TYPE_EDGE_RISING>,
404bc9e1dbbSBiju Das				     <GIC_SPI 349 IRQ_TYPE_EDGE_RISING>,
405bc9e1dbbSBiju Das				     <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>,
406bc9e1dbbSBiju Das				     <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>,
407bc9e1dbbSBiju Das				     <GIC_SPI 351 IRQ_TYPE_LEVEL_HIGH>,
408bc9e1dbbSBiju Das				     <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>,
409bc9e1dbbSBiju Das				     <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
410bc9e1dbbSBiju Das			interrupt-names = "tei", "ri", "ti", "spi", "sti",
411bc9e1dbbSBiju Das					  "naki", "ali", "tmoi";
412bc9e1dbbSBiju Das			clocks = <&cpg CPG_MOD R9A07G043_I2C0_PCLK>;
413bc9e1dbbSBiju Das			clock-frequency = <100000>;
414bc9e1dbbSBiju Das			resets = <&cpg R9A07G043_I2C0_MRST>;
415bc9e1dbbSBiju Das			power-domains = <&cpg>;
416bc9e1dbbSBiju Das			status = "disabled";
417cf40c968SBiju Das		};
418cf40c968SBiju Das
419cf40c968SBiju Das		i2c1: i2c@10058400 {
420cf40c968SBiju Das			#address-cells = <1>;
421cf40c968SBiju Das			#size-cells = <0>;
422bc9e1dbbSBiju Das			compatible = "renesas,riic-r9a07g043", "renesas,riic-rz";
423cf40c968SBiju Das			reg = <0 0x10058400 0 0x400>;
424bc9e1dbbSBiju Das			interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>,
425bc9e1dbbSBiju Das				     <GIC_SPI 356 IRQ_TYPE_EDGE_RISING>,
426bc9e1dbbSBiju Das				     <GIC_SPI 357 IRQ_TYPE_EDGE_RISING>,
427bc9e1dbbSBiju Das				     <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>,
428bc9e1dbbSBiju Das				     <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>,
429bc9e1dbbSBiju Das				     <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>,
430bc9e1dbbSBiju Das				     <GIC_SPI 362 IRQ_TYPE_LEVEL_HIGH>,
431bc9e1dbbSBiju Das				     <GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH>;
432bc9e1dbbSBiju Das			interrupt-names = "tei", "ri", "ti", "spi", "sti",
433bc9e1dbbSBiju Das					  "naki", "ali", "tmoi";
434bc9e1dbbSBiju Das			clocks = <&cpg CPG_MOD R9A07G043_I2C1_PCLK>;
435bc9e1dbbSBiju Das			clock-frequency = <100000>;
436bc9e1dbbSBiju Das			resets = <&cpg R9A07G043_I2C1_MRST>;
437bc9e1dbbSBiju Das			power-domains = <&cpg>;
438bc9e1dbbSBiju Das			status = "disabled";
439bc9e1dbbSBiju Das		};
440bc9e1dbbSBiju Das
441bc9e1dbbSBiju Das		i2c2: i2c@10058800 {
442bc9e1dbbSBiju Das			#address-cells = <1>;
443bc9e1dbbSBiju Das			#size-cells = <0>;
444bc9e1dbbSBiju Das			compatible = "renesas,riic-r9a07g043", "renesas,riic-rz";
445bc9e1dbbSBiju Das			reg = <0 0x10058800 0 0x400>;
446bc9e1dbbSBiju Das			interrupts = <GIC_SPI 366 IRQ_TYPE_LEVEL_HIGH>,
447bc9e1dbbSBiju Das				     <GIC_SPI 364 IRQ_TYPE_EDGE_RISING>,
448bc9e1dbbSBiju Das				     <GIC_SPI 365 IRQ_TYPE_EDGE_RISING>,
449bc9e1dbbSBiju Das				     <GIC_SPI 368 IRQ_TYPE_LEVEL_HIGH>,
450bc9e1dbbSBiju Das				     <GIC_SPI 369 IRQ_TYPE_LEVEL_HIGH>,
451bc9e1dbbSBiju Das				     <GIC_SPI 367 IRQ_TYPE_LEVEL_HIGH>,
452bc9e1dbbSBiju Das				     <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>,
453bc9e1dbbSBiju Das				     <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
454bc9e1dbbSBiju Das			interrupt-names = "tei", "ri", "ti", "spi", "sti",
455bc9e1dbbSBiju Das					  "naki", "ali", "tmoi";
456bc9e1dbbSBiju Das			clocks = <&cpg CPG_MOD R9A07G043_I2C2_PCLK>;
457bc9e1dbbSBiju Das			clock-frequency = <100000>;
458bc9e1dbbSBiju Das			resets = <&cpg R9A07G043_I2C2_MRST>;
459bc9e1dbbSBiju Das			power-domains = <&cpg>;
460bc9e1dbbSBiju Das			status = "disabled";
461cf40c968SBiju Das		};
462cf40c968SBiju Das
463cf40c968SBiju Das		i2c3: i2c@10058c00 {
464cf40c968SBiju Das			#address-cells = <1>;
465cf40c968SBiju Das			#size-cells = <0>;
466bc9e1dbbSBiju Das			compatible = "renesas,riic-r9a07g043", "renesas,riic-rz";
467cf40c968SBiju Das			reg = <0 0x10058c00 0 0x400>;
468bc9e1dbbSBiju Das			interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>,
469bc9e1dbbSBiju Das				     <GIC_SPI 372 IRQ_TYPE_EDGE_RISING>,
470bc9e1dbbSBiju Das				     <GIC_SPI 373 IRQ_TYPE_EDGE_RISING>,
471bc9e1dbbSBiju Das				     <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>,
472bc9e1dbbSBiju Das				     <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>,
473bc9e1dbbSBiju Das				     <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>,
474bc9e1dbbSBiju Das				     <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>,
475bc9e1dbbSBiju Das				     <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
476bc9e1dbbSBiju Das			interrupt-names = "tei", "ri", "ti", "spi", "sti",
477bc9e1dbbSBiju Das					  "naki", "ali", "tmoi";
478bc9e1dbbSBiju Das			clocks = <&cpg CPG_MOD R9A07G043_I2C3_PCLK>;
479bc9e1dbbSBiju Das			clock-frequency = <100000>;
480bc9e1dbbSBiju Das			resets = <&cpg R9A07G043_I2C3_MRST>;
481bc9e1dbbSBiju Das			power-domains = <&cpg>;
482bc9e1dbbSBiju Das			status = "disabled";
483cf40c968SBiju Das		};
484cf40c968SBiju Das
485cf40c968SBiju Das		adc: adc@10059000 {
486*9a71e89dSBiju Das			compatible = "renesas,r9a07g043-adc", "renesas,rzg2l-adc";
487cf40c968SBiju Das			reg = <0 0x10059000 0 0x400>;
488*9a71e89dSBiju Das			interrupts = <GIC_SPI 347 IRQ_TYPE_EDGE_RISING>;
489*9a71e89dSBiju Das			clocks = <&cpg CPG_MOD R9A07G043_ADC_ADCLK>,
490*9a71e89dSBiju Das				 <&cpg CPG_MOD R9A07G043_ADC_PCLK>;
491*9a71e89dSBiju Das			clock-names = "adclk", "pclk";
492*9a71e89dSBiju Das			resets = <&cpg R9A07G043_ADC_PRESETN>,
493*9a71e89dSBiju Das				 <&cpg R9A07G043_ADC_ADRST_N>;
494*9a71e89dSBiju Das			reset-names = "presetn", "adrst-n";
495*9a71e89dSBiju Das			power-domains = <&cpg>;
496*9a71e89dSBiju Das			status = "disabled";
497*9a71e89dSBiju Das
498*9a71e89dSBiju Das			#address-cells = <1>;
499*9a71e89dSBiju Das			#size-cells = <0>;
500*9a71e89dSBiju Das
501*9a71e89dSBiju Das			channel@0 {
502*9a71e89dSBiju Das				reg = <0>;
503*9a71e89dSBiju Das			};
504*9a71e89dSBiju Das			channel@1 {
505*9a71e89dSBiju Das				reg = <1>;
506*9a71e89dSBiju Das			};
507cf40c968SBiju Das		};
508cf40c968SBiju Das
50991e548daSBiju Das		tsu: thermal@10059400 {
51091e548daSBiju Das			compatible = "renesas,r9a07g043-tsu",
51191e548daSBiju Das				     "renesas,rzg2l-tsu";
51291e548daSBiju Das			reg = <0 0x10059400 0 0x400>;
51391e548daSBiju Das			clocks = <&cpg CPG_MOD R9A07G043_TSU_PCLK>;
51491e548daSBiju Das			resets = <&cpg R9A07G043_TSU_PRESETN>;
51591e548daSBiju Das			power-domains = <&cpg>;
51691e548daSBiju Das			#thermal-sensor-cells = <1>;
51791e548daSBiju Das		};
51891e548daSBiju Das
519cf40c968SBiju Das		sbc: spi@10060000 {
520470218e2SBiju Das			compatible = "renesas,r9a07g043-rpc-if",
521470218e2SBiju Das				     "renesas,rzg2l-rpc-if";
522cf40c968SBiju Das			reg = <0 0x10060000 0 0x10000>,
523cf40c968SBiju Das			      <0 0x20000000 0 0x10000000>,
524cf40c968SBiju Das			      <0 0x10070000 0 0x10000>;
525470218e2SBiju Das			reg-names = "regs", "dirmap", "wbuf";
526470218e2SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_SPI_CLK2>,
527470218e2SBiju Das				 <&cpg CPG_MOD R9A07G043_SPI_CLK>;
528470218e2SBiju Das			resets = <&cpg R9A07G043_SPI_RST>;
529470218e2SBiju Das			power-domains = <&cpg>;
530cf40c968SBiju Das			#address-cells = <1>;
531cf40c968SBiju Das			#size-cells = <0>;
532470218e2SBiju Das			status = "disabled";
533cf40c968SBiju Das		};
534cf40c968SBiju Das
535cf40c968SBiju Das		cpg: clock-controller@11010000 {
536cf40c968SBiju Das			compatible = "renesas,r9a07g043-cpg";
537cf40c968SBiju Das			reg = <0 0x11010000 0 0x10000>;
538cf40c968SBiju Das			clocks = <&extal_clk>;
539cf40c968SBiju Das			clock-names = "extal";
540cf40c968SBiju Das			#clock-cells = <2>;
541cf40c968SBiju Das			#reset-cells = <1>;
542cf40c968SBiju Das			#power-domain-cells = <0>;
543cf40c968SBiju Das		};
544cf40c968SBiju Das
545cf40c968SBiju Das		sysc: system-controller@11020000 {
546cf40c968SBiju Das			compatible = "renesas,r9a07g043-sysc";
547cf40c968SBiju Das			reg = <0 0x11020000 0 0x10000>;
548cf40c968SBiju Das			interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
549cf40c968SBiju Das				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
550cf40c968SBiju Das				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
551cf40c968SBiju Das				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
552cf40c968SBiju Das			interrupt-names = "lpm_int", "ca55stbydone_int",
553cf40c968SBiju Das					  "cm33stbyr_int", "ca55_deny";
554cf40c968SBiju Das			status = "disabled";
555cf40c968SBiju Das		};
556cf40c968SBiju Das
557cf40c968SBiju Das		pinctrl: pinctrl@11030000 {
5582d105552SBiju Das			compatible = "renesas,r9a07g043-pinctrl";
559cf40c968SBiju Das			reg = <0 0x11030000 0 0x10000>;
560cf40c968SBiju Das			gpio-controller;
561cf40c968SBiju Das			#gpio-cells = <2>;
5622d105552SBiju Das			gpio-ranges = <&pinctrl 0 0 152>;
5632d105552SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_GPIO_HCLK>;
5642d105552SBiju Das			power-domains = <&cpg>;
5652d105552SBiju Das			resets = <&cpg R9A07G043_GPIO_RSTN>,
5662d105552SBiju Das				 <&cpg R9A07G043_GPIO_PORT_RESETN>,
5672d105552SBiju Das				 <&cpg R9A07G043_GPIO_SPARE_RESETN>;
568cf40c968SBiju Das		};
569cf40c968SBiju Das
570cf40c968SBiju Das		dmac: dma-controller@11820000 {
571cf40c968SBiju Das			compatible = "renesas,r9a07g043-dmac",
572cf40c968SBiju Das				     "renesas,rz-dmac";
573cf40c968SBiju Das			reg = <0 0x11820000 0 0x10000>,
574cf40c968SBiju Das			      <0 0x11830000 0 0x10000>;
575cf40c968SBiju Das			interrupts = <GIC_SPI 141 IRQ_TYPE_EDGE_RISING>,
576cf40c968SBiju Das				     <GIC_SPI 125 IRQ_TYPE_EDGE_RISING>,
577cf40c968SBiju Das				     <GIC_SPI 126 IRQ_TYPE_EDGE_RISING>,
578cf40c968SBiju Das				     <GIC_SPI 127 IRQ_TYPE_EDGE_RISING>,
579cf40c968SBiju Das				     <GIC_SPI 128 IRQ_TYPE_EDGE_RISING>,
580cf40c968SBiju Das				     <GIC_SPI 129 IRQ_TYPE_EDGE_RISING>,
581cf40c968SBiju Das				     <GIC_SPI 130 IRQ_TYPE_EDGE_RISING>,
582cf40c968SBiju Das				     <GIC_SPI 131 IRQ_TYPE_EDGE_RISING>,
583cf40c968SBiju Das				     <GIC_SPI 132 IRQ_TYPE_EDGE_RISING>,
584cf40c968SBiju Das				     <GIC_SPI 133 IRQ_TYPE_EDGE_RISING>,
585cf40c968SBiju Das				     <GIC_SPI 134 IRQ_TYPE_EDGE_RISING>,
586cf40c968SBiju Das				     <GIC_SPI 135 IRQ_TYPE_EDGE_RISING>,
587cf40c968SBiju Das				     <GIC_SPI 136 IRQ_TYPE_EDGE_RISING>,
588cf40c968SBiju Das				     <GIC_SPI 137 IRQ_TYPE_EDGE_RISING>,
589cf40c968SBiju Das				     <GIC_SPI 138 IRQ_TYPE_EDGE_RISING>,
590cf40c968SBiju Das				     <GIC_SPI 139 IRQ_TYPE_EDGE_RISING>,
591cf40c968SBiju Das				     <GIC_SPI 140 IRQ_TYPE_EDGE_RISING>;
592cf40c968SBiju Das			interrupt-names = "error",
593cf40c968SBiju Das					  "ch0", "ch1", "ch2", "ch3",
594cf40c968SBiju Das					  "ch4", "ch5", "ch6", "ch7",
595cf40c968SBiju Das					  "ch8", "ch9", "ch10", "ch11",
596cf40c968SBiju Das					  "ch12", "ch13", "ch14", "ch15";
597cf40c968SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_DMAC_ACLK>,
598cf40c968SBiju Das				 <&cpg CPG_MOD R9A07G043_DMAC_PCLK>;
599cf40c968SBiju Das			power-domains = <&cpg>;
600cf40c968SBiju Das			resets = <&cpg R9A07G043_DMAC_ARESETN>,
601cf40c968SBiju Das				 <&cpg R9A07G043_DMAC_RST_ASYNC>;
602cf40c968SBiju Das			#dma-cells = <1>;
603cf40c968SBiju Das			dma-channels = <16>;
604cf40c968SBiju Das		};
605cf40c968SBiju Das
606cf40c968SBiju Das		gic: interrupt-controller@11900000 {
607cf40c968SBiju Das			compatible = "arm,gic-v3";
608cf40c968SBiju Das			#interrupt-cells = <3>;
609cf40c968SBiju Das			#address-cells = <0>;
610cf40c968SBiju Das			interrupt-controller;
611cf40c968SBiju Das			reg = <0x0 0x11900000 0 0x40000>,
612cf40c968SBiju Das			      <0x0 0x11940000 0 0x60000>;
613cf40c968SBiju Das			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>;
614cf40c968SBiju Das		};
615cf40c968SBiju Das
616cf40c968SBiju Das		sdhi0: mmc@11c00000  {
61720e63d39SBiju Das			compatible = "renesas,sdhi-r9a07g043",
61820e63d39SBiju Das				     "renesas,rcar-gen3-sdhi";
619cf40c968SBiju Das			reg = <0x0 0x11c00000 0 0x10000>;
62020e63d39SBiju Das			interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
62120e63d39SBiju Das				     <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
62220e63d39SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_SDHI0_IMCLK>,
62320e63d39SBiju Das				 <&cpg CPG_MOD R9A07G043_SDHI0_CLK_HS>,
62420e63d39SBiju Das				 <&cpg CPG_MOD R9A07G043_SDHI0_IMCLK2>,
62520e63d39SBiju Das				 <&cpg CPG_MOD R9A07G043_SDHI0_ACLK>;
62620e63d39SBiju Das			clock-names = "core", "clkh", "cd", "aclk";
62720e63d39SBiju Das			resets = <&cpg R9A07G043_SDHI0_IXRST>;
62820e63d39SBiju Das			power-domains = <&cpg>;
62920e63d39SBiju Das			status = "disabled";
630cf40c968SBiju Das		};
631cf40c968SBiju Das
632cf40c968SBiju Das		sdhi1: mmc@11c10000 {
63320e63d39SBiju Das			compatible = "renesas,sdhi-r9a07g043",
63420e63d39SBiju Das				     "renesas,rcar-gen3-sdhi";
635cf40c968SBiju Das			reg = <0x0 0x11c10000 0 0x10000>;
63620e63d39SBiju Das			interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
63720e63d39SBiju Das				     <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
63820e63d39SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_SDHI1_IMCLK>,
63920e63d39SBiju Das				 <&cpg CPG_MOD R9A07G043_SDHI1_CLK_HS>,
64020e63d39SBiju Das				 <&cpg CPG_MOD R9A07G043_SDHI1_IMCLK2>,
64120e63d39SBiju Das				 <&cpg CPG_MOD R9A07G043_SDHI1_ACLK>;
64220e63d39SBiju Das			clock-names = "core", "clkh", "cd", "aclk";
64320e63d39SBiju Das			resets = <&cpg R9A07G043_SDHI1_IXRST>;
64420e63d39SBiju Das			power-domains = <&cpg>;
64520e63d39SBiju Das			status = "disabled";
646cf40c968SBiju Das		};
647cf40c968SBiju Das
64813ea8b35SBiju Das		eth0: ethernet@11c20000 {
64913ea8b35SBiju Das			compatible = "renesas,r9a07g043-gbeth",
65013ea8b35SBiju Das				     "renesas,rzg2l-gbeth";
65113ea8b35SBiju Das			reg = <0 0x11c20000 0 0x10000>;
65213ea8b35SBiju Das			interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
65313ea8b35SBiju Das				     <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
65413ea8b35SBiju Das				     <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
65513ea8b35SBiju Das			interrupt-names = "mux", "fil", "arp_ns";
65613ea8b35SBiju Das			phy-mode = "rgmii";
65713ea8b35SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_ETH0_CLK_AXI>,
65813ea8b35SBiju Das				 <&cpg CPG_MOD R9A07G043_ETH0_CLK_CHI>,
65913ea8b35SBiju Das				 <&cpg CPG_CORE R9A07G043_CLK_HP>;
66013ea8b35SBiju Das			clock-names = "axi", "chi", "refclk";
66113ea8b35SBiju Das			resets = <&cpg R9A07G043_ETH0_RST_HW_N>;
66213ea8b35SBiju Das			power-domains = <&cpg>;
66313ea8b35SBiju Das			#address-cells = <1>;
66413ea8b35SBiju Das			#size-cells = <0>;
66513ea8b35SBiju Das			status = "disabled";
66613ea8b35SBiju Das		};
66713ea8b35SBiju Das
66813ea8b35SBiju Das		eth1: ethernet@11c30000 {
66913ea8b35SBiju Das			compatible = "renesas,r9a07g043-gbeth",
67013ea8b35SBiju Das				     "renesas,rzg2l-gbeth";
67113ea8b35SBiju Das			reg = <0 0x11c30000 0 0x10000>;
67213ea8b35SBiju Das			interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
67313ea8b35SBiju Das				     <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>,
67413ea8b35SBiju Das				     <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
67513ea8b35SBiju Das			interrupt-names = "mux", "fil", "arp_ns";
67613ea8b35SBiju Das			phy-mode = "rgmii";
67713ea8b35SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_ETH1_CLK_AXI>,
67813ea8b35SBiju Das				 <&cpg CPG_MOD R9A07G043_ETH1_CLK_CHI>,
67913ea8b35SBiju Das				 <&cpg CPG_CORE R9A07G043_CLK_HP>;
68013ea8b35SBiju Das			clock-names = "axi", "chi", "refclk";
68113ea8b35SBiju Das			resets = <&cpg R9A07G043_ETH1_RST_HW_N>;
68213ea8b35SBiju Das			power-domains = <&cpg>;
68313ea8b35SBiju Das			#address-cells = <1>;
68413ea8b35SBiju Das			#size-cells = <0>;
68513ea8b35SBiju Das			status = "disabled";
68613ea8b35SBiju Das		};
68713ea8b35SBiju Das
688cf40c968SBiju Das		phyrst: usbphy-ctrl@11c40000 {
689f52e1409SBiju Das			compatible = "renesas,r9a07g043-usbphy-ctrl",
690f52e1409SBiju Das				     "renesas,rzg2l-usbphy-ctrl";
691cf40c968SBiju Das			reg = <0 0x11c40000 0 0x10000>;
692f52e1409SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>;
693f52e1409SBiju Das			resets = <&cpg R9A07G043_USB_PRESETN>;
694f52e1409SBiju Das			power-domains = <&cpg>;
695f52e1409SBiju Das			#reset-cells = <1>;
696f52e1409SBiju Das			status = "disabled";
697cf40c968SBiju Das		};
698cf40c968SBiju Das
699cf40c968SBiju Das		ohci0: usb@11c50000 {
700f52e1409SBiju Das			compatible = "generic-ohci";
701cf40c968SBiju Das			reg = <0 0x11c50000 0 0x100>;
702f52e1409SBiju Das			interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
703f52e1409SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>,
704f52e1409SBiju Das				 <&cpg CPG_MOD R9A07G043_USB_U2H0_HCLK>;
705f52e1409SBiju Das			resets = <&phyrst 0>,
706f52e1409SBiju Das				 <&cpg R9A07G043_USB_U2H0_HRESETN>;
707f52e1409SBiju Das			phys = <&usb2_phy0 1>;
708f52e1409SBiju Das			phy-names = "usb";
709f52e1409SBiju Das			power-domains = <&cpg>;
710f52e1409SBiju Das			status = "disabled";
711cf40c968SBiju Das		};
712cf40c968SBiju Das
713cf40c968SBiju Das		ohci1: usb@11c70000 {
714f52e1409SBiju Das			compatible = "generic-ohci";
715cf40c968SBiju Das			reg = <0 0x11c70000 0 0x100>;
716f52e1409SBiju Das			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
717f52e1409SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>,
718f52e1409SBiju Das				 <&cpg CPG_MOD R9A07G043_USB_U2H1_HCLK>;
719f52e1409SBiju Das			resets = <&phyrst 1>,
720f52e1409SBiju Das				 <&cpg R9A07G043_USB_U2H1_HRESETN>;
721f52e1409SBiju Das			phys = <&usb2_phy1 1>;
722f52e1409SBiju Das			phy-names = "usb";
723f52e1409SBiju Das			power-domains = <&cpg>;
724f52e1409SBiju Das			status = "disabled";
725cf40c968SBiju Das		};
726cf40c968SBiju Das
727cf40c968SBiju Das		ehci0: usb@11c50100 {
728f52e1409SBiju Das			compatible = "generic-ehci";
729cf40c968SBiju Das			reg = <0 0x11c50100 0 0x100>;
730f52e1409SBiju Das			interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
731f52e1409SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>,
732f52e1409SBiju Das				 <&cpg CPG_MOD R9A07G043_USB_U2H0_HCLK>;
733f52e1409SBiju Das			resets = <&phyrst 0>,
734f52e1409SBiju Das				 <&cpg R9A07G043_USB_U2H0_HRESETN>;
735f52e1409SBiju Das			phys = <&usb2_phy0 2>;
736f52e1409SBiju Das			phy-names = "usb";
737f52e1409SBiju Das			companion = <&ohci0>;
738f52e1409SBiju Das			power-domains = <&cpg>;
739f52e1409SBiju Das			status = "disabled";
740cf40c968SBiju Das		};
741cf40c968SBiju Das
742cf40c968SBiju Das		ehci1: usb@11c70100 {
743f52e1409SBiju Das			compatible = "generic-ehci";
744cf40c968SBiju Das			reg = <0 0x11c70100 0 0x100>;
745f52e1409SBiju Das			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
746f52e1409SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>,
747f52e1409SBiju Das				 <&cpg CPG_MOD R9A07G043_USB_U2H1_HCLK>;
748f52e1409SBiju Das			resets = <&phyrst 1>,
749f52e1409SBiju Das				 <&cpg R9A07G043_USB_U2H1_HRESETN>;
750f52e1409SBiju Das			phys = <&usb2_phy1 2>;
751f52e1409SBiju Das			phy-names = "usb";
752f52e1409SBiju Das			companion = <&ohci1>;
753f52e1409SBiju Das			power-domains = <&cpg>;
754f52e1409SBiju Das			status = "disabled";
755cf40c968SBiju Das		};
756cf40c968SBiju Das
757cf40c968SBiju Das		usb2_phy0: usb-phy@11c50200 {
758f52e1409SBiju Das			compatible = "renesas,usb2-phy-r9a07g043",
759f52e1409SBiju Das				     "renesas,rzg2l-usb2-phy";
760cf40c968SBiju Das			reg = <0 0x11c50200 0 0x700>;
761f52e1409SBiju Das			interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
762f52e1409SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>,
763f52e1409SBiju Das				 <&cpg CPG_MOD R9A07G043_USB_U2H0_HCLK>;
764f52e1409SBiju Das			resets = <&phyrst 0>;
765f52e1409SBiju Das			#phy-cells = <1>;
766f52e1409SBiju Das			power-domains = <&cpg>;
767f52e1409SBiju Das			status = "disabled";
768cf40c968SBiju Das		};
769cf40c968SBiju Das
770cf40c968SBiju Das		usb2_phy1: usb-phy@11c70200 {
771f52e1409SBiju Das			compatible = "renesas,usb2-phy-r9a07g043",
772f52e1409SBiju Das				     "renesas,rzg2l-usb2-phy";
773cf40c968SBiju Das			reg = <0 0x11c70200 0 0x700>;
774f52e1409SBiju Das			interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
775f52e1409SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>,
776f52e1409SBiju Das				 <&cpg CPG_MOD R9A07G043_USB_U2H1_HCLK>;
777f52e1409SBiju Das			resets = <&phyrst 1>;
778f52e1409SBiju Das			#phy-cells = <1>;
779f52e1409SBiju Das			power-domains = <&cpg>;
780f52e1409SBiju Das			status = "disabled";
781cf40c968SBiju Das		};
782cf40c968SBiju Das
783cf40c968SBiju Das		hsusb: usb@11c60000 {
784f52e1409SBiju Das			compatible = "renesas,usbhs-r9a07g043",
785f52e1409SBiju Das				     "renesas,rza2-usbhs";
786cf40c968SBiju Das			reg = <0 0x11c60000 0 0x10000>;
787f52e1409SBiju Das			interrupts = <GIC_SPI 100 IRQ_TYPE_EDGE_RISING>,
788f52e1409SBiju Das				     <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
789f52e1409SBiju Das				     <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
790f52e1409SBiju Das				     <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
791f52e1409SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>,
792f52e1409SBiju Das				 <&cpg CPG_MOD R9A07G043_USB_U2P_EXR_CPUCLK>;
793f52e1409SBiju Das			resets = <&phyrst 0>,
794f52e1409SBiju Das				 <&cpg R9A07G043_USB_U2P_EXL_SYSRST>;
795f52e1409SBiju Das			renesas,buswait = <7>;
796f52e1409SBiju Das			phys = <&usb2_phy0 3>;
797f52e1409SBiju Das			phy-names = "usb";
798f52e1409SBiju Das			power-domains = <&cpg>;
799f52e1409SBiju Das			status = "disabled";
800cf40c968SBiju Das		};
801cf40c968SBiju Das
802cf40c968SBiju Das		wdt0: watchdog@12800800 {
803a8352a51SBiju Das			compatible = "renesas,r9a07g043-wdt",
804a8352a51SBiju Das				     "renesas,rzg2l-wdt";
805cf40c968SBiju Das			reg = <0 0x12800800 0 0x400>;
806a8352a51SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_WDT0_PCLK>,
807a8352a51SBiju Das				 <&cpg CPG_MOD R9A07G043_WDT0_CLK>;
808a8352a51SBiju Das			clock-names = "pclk", "oscclk";
809a8352a51SBiju Das			interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
810a8352a51SBiju Das				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
811a8352a51SBiju Das			interrupt-names = "wdt", "perrout";
812a8352a51SBiju Das			resets = <&cpg R9A07G043_WDT0_PRESETN>;
813a8352a51SBiju Das			power-domains = <&cpg>;
814a8352a51SBiju Das			status = "disabled";
815cf40c968SBiju Das		};
816cf40c968SBiju Das
817cf40c968SBiju Das		wdt2: watchdog@12800400 {
818a8352a51SBiju Das			compatible = "renesas,r9a07g043-wdt",
819a8352a51SBiju Das				     "renesas,rzg2l-wdt";
820cf40c968SBiju Das			reg = <0 0x12800400 0 0x400>;
821a8352a51SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_WDT2_PCLK>,
822a8352a51SBiju Das				 <&cpg CPG_MOD R9A07G043_WDT2_CLK>;
823a8352a51SBiju Das			clock-names = "pclk", "oscclk";
824a8352a51SBiju Das			interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
825a8352a51SBiju Das				     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
826a8352a51SBiju Das			interrupt-names = "wdt", "perrout";
827a8352a51SBiju Das			resets = <&cpg R9A07G043_WDT2_PRESETN>;
828a8352a51SBiju Das			power-domains = <&cpg>;
829a8352a51SBiju Das			status = "disabled";
830cf40c968SBiju Das		};
831cf40c968SBiju Das
832cf40c968SBiju Das		ostm0: timer@12801000 {
833e42faad1SBiju Das			compatible = "renesas,r9a07g043-ostm",
834e42faad1SBiju Das				     "renesas,ostm";
835cf40c968SBiju Das			reg = <0x0 0x12801000 0x0 0x400>;
836e42faad1SBiju Das			interrupts = <GIC_SPI 46 IRQ_TYPE_EDGE_RISING>;
837e42faad1SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_OSTM0_PCLK>;
838e42faad1SBiju Das			resets = <&cpg R9A07G043_OSTM0_PRESETZ>;
839e42faad1SBiju Das			power-domains = <&cpg>;
840e42faad1SBiju Das			status = "disabled";
841cf40c968SBiju Das		};
842cf40c968SBiju Das
843cf40c968SBiju Das		ostm1: timer@12801400 {
844e42faad1SBiju Das			compatible = "renesas,r9a07g043-ostm",
845e42faad1SBiju Das				     "renesas,ostm";
846cf40c968SBiju Das			reg = <0x0 0x12801400 0x0 0x400>;
847e42faad1SBiju Das			interrupts = <GIC_SPI 47 IRQ_TYPE_EDGE_RISING>;
848e42faad1SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_OSTM1_PCLK>;
849e42faad1SBiju Das			resets = <&cpg R9A07G043_OSTM1_PRESETZ>;
850e42faad1SBiju Das			power-domains = <&cpg>;
851e42faad1SBiju Das			status = "disabled";
852cf40c968SBiju Das		};
853cf40c968SBiju Das
854cf40c968SBiju Das		ostm2: timer@12801800 {
855e42faad1SBiju Das			compatible = "renesas,r9a07g043-ostm",
856e42faad1SBiju Das				     "renesas,ostm";
857cf40c968SBiju Das			reg = <0x0 0x12801800 0x0 0x400>;
858e42faad1SBiju Das			interrupts = <GIC_SPI 48 IRQ_TYPE_EDGE_RISING>;
859e42faad1SBiju Das			clocks = <&cpg CPG_MOD R9A07G043_OSTM2_PCLK>;
860e42faad1SBiju Das			resets = <&cpg R9A07G043_OSTM2_PRESETZ>;
861e42faad1SBiju Das			power-domains = <&cpg>;
862e42faad1SBiju Das			status = "disabled";
863cf40c968SBiju Das		};
864cf40c968SBiju Das	};
865cf40c968SBiju Das
86691e548daSBiju Das	thermal-zones {
86791e548daSBiju Das		cpu-thermal {
86891e548daSBiju Das			polling-delay-passive = <250>;
86991e548daSBiju Das			polling-delay = <1000>;
87091e548daSBiju Das			thermal-sensors = <&tsu 0>;
871c2ff5c02SBiju Das			sustainable-power = <717>;
872c2ff5c02SBiju Das
873c2ff5c02SBiju Das			cooling-maps {
874c2ff5c02SBiju Das				map0 {
875c2ff5c02SBiju Das					trip = <&target>;
876c2ff5c02SBiju Das					cooling-device = <&cpu0 0 2>;
877c2ff5c02SBiju Das					contribution = <1024>;
878c2ff5c02SBiju Das				};
879c2ff5c02SBiju Das			};
88091e548daSBiju Das
88191e548daSBiju Das			trips {
88291e548daSBiju Das				sensor_crit: sensor-crit {
88391e548daSBiju Das					temperature = <125000>;
88491e548daSBiju Das					hysteresis = <1000>;
88591e548daSBiju Das					type = "critical";
88691e548daSBiju Das				};
887c2ff5c02SBiju Das
888c2ff5c02SBiju Das				target: trip-point {
889c2ff5c02SBiju Das					temperature = <100000>;
890c2ff5c02SBiju Das					hysteresis = <1000>;
891c2ff5c02SBiju Das					type = "passive";
892c2ff5c02SBiju Das				};
89391e548daSBiju Das			};
89491e548daSBiju Das		};
89591e548daSBiju Das	};
89691e548daSBiju Das
897cf40c968SBiju Das	timer {
898cf40c968SBiju Das		compatible = "arm,armv8-timer";
899cf40c968SBiju Das		interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
900cf40c968SBiju Das				      <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
901cf40c968SBiju Das				      <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
902cf40c968SBiju Das				      <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>;
903cf40c968SBiju Das	};
904cf40c968SBiju Das};
905