xref: /linux/arch/arm64/boot/dts/renesas/r9a07g043.dtsi (revision 91e548da2cb1b180a1ab1059a1c89d7532135da7)
1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2/*
3 * Device Tree Source for the RZ/G2UL SoC
4 *
5 * Copyright (C) 2022 Renesas Electronics Corp.
6 */
7
8#include <dt-bindings/interrupt-controller/arm-gic.h>
9#include <dt-bindings/clock/r9a07g043-cpg.h>
10
11/ {
12	compatible = "renesas,r9a07g043";
13	#address-cells = <2>;
14	#size-cells = <2>;
15
16	audio_clk1: audio-clk1 {
17		compatible = "fixed-clock";
18		#clock-cells = <0>;
19		/* This value must be overridden by boards that provide it */
20		clock-frequency = <0>;
21	};
22
23	audio_clk2: audio-clk2 {
24		compatible = "fixed-clock";
25		#clock-cells = <0>;
26		/* This value must be overridden by boards that provide it */
27		clock-frequency = <0>;
28	};
29
30	/* External CAN clock - to be overridden by boards that provide it */
31	can_clk: can-clk {
32		compatible = "fixed-clock";
33		#clock-cells = <0>;
34		clock-frequency = <0>;
35	};
36
37	/* clock can be either from exclk or crystal oscillator (XIN/XOUT) */
38	extal_clk: extal-clk {
39		compatible = "fixed-clock";
40		#clock-cells = <0>;
41		/* This value must be overridden by the board */
42		clock-frequency = <0>;
43	};
44
45	cluster0_opp: opp-table-0 {
46		compatible = "operating-points-v2";
47		opp-shared;
48
49		opp-125000000 {
50			opp-hz = /bits/ 64 <125000000>;
51			opp-microvolt = <1100000>;
52			clock-latency-ns = <300000>;
53		};
54		opp-250000000 {
55			opp-hz = /bits/ 64 <250000000>;
56			opp-microvolt = <1100000>;
57			clock-latency-ns = <300000>;
58		};
59		opp-500000000 {
60			opp-hz = /bits/ 64 <500000000>;
61			opp-microvolt = <1100000>;
62			clock-latency-ns = <300000>;
63		};
64		opp-1000000000 {
65			opp-hz = /bits/ 64 <1000000000>;
66			opp-microvolt = <1100000>;
67			clock-latency-ns = <300000>;
68			opp-suspend;
69		};
70	};
71
72	cpus {
73		#address-cells = <1>;
74		#size-cells = <0>;
75
76		cpu0: cpu@0 {
77			compatible = "arm,cortex-a55";
78			reg = <0>;
79			device_type = "cpu";
80			next-level-cache = <&L3_CA55>;
81			enable-method = "psci";
82			clocks = <&cpg CPG_CORE R9A07G043_CLK_I>;
83			operating-points-v2 = <&cluster0_opp>;
84		};
85
86		L3_CA55: cache-controller-0 {
87			compatible = "cache";
88			cache-unified;
89			cache-size = <0x40000>;
90		};
91	};
92
93	psci {
94		compatible = "arm,psci-1.0", "arm,psci-0.2";
95		method = "smc";
96	};
97
98	soc: soc {
99		compatible = "simple-bus";
100		interrupt-parent = <&gic>;
101		#address-cells = <2>;
102		#size-cells = <2>;
103		ranges;
104
105		ssi0: ssi@10049c00 {
106			compatible = "renesas,r9a07g043-ssi",
107				     "renesas,rz-ssi";
108			reg = <0 0x10049c00 0 0x400>;
109			interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
110				     <GIC_SPI 327 IRQ_TYPE_EDGE_RISING>,
111				     <GIC_SPI 328 IRQ_TYPE_EDGE_RISING>,
112				     <GIC_SPI 329 IRQ_TYPE_EDGE_RISING>;
113			interrupt-names = "int_req", "dma_rx", "dma_tx", "dma_rt";
114			clocks = <&cpg CPG_MOD R9A07G043_SSI0_PCLK2>,
115				 <&cpg CPG_MOD R9A07G043_SSI0_PCLK_SFR>,
116				 <&audio_clk1>, <&audio_clk2>;
117			clock-names = "ssi", "ssi_sfr", "audio_clk1", "audio_clk2";
118			resets = <&cpg R9A07G043_SSI0_RST_M2_REG>;
119			dmas = <&dmac 0x2655>, <&dmac 0x2656>;
120			dma-names = "tx", "rx";
121			power-domains = <&cpg>;
122			#sound-dai-cells = <0>;
123			status = "disabled";
124		};
125
126		ssi1: ssi@1004a000 {
127			compatible = "renesas,r9a07g043-ssi",
128				     "renesas,rz-ssi";
129			reg = <0 0x1004a000 0 0x400>;
130			interrupts = <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
131				     <GIC_SPI 331 IRQ_TYPE_EDGE_RISING>,
132				     <GIC_SPI 332 IRQ_TYPE_EDGE_RISING>,
133				     <GIC_SPI 333 IRQ_TYPE_EDGE_RISING>;
134			interrupt-names = "int_req", "dma_rx", "dma_tx", "dma_rt";
135			clocks = <&cpg CPG_MOD R9A07G043_SSI1_PCLK2>,
136				 <&cpg CPG_MOD R9A07G043_SSI1_PCLK_SFR>,
137				 <&audio_clk1>, <&audio_clk2>;
138			clock-names = "ssi", "ssi_sfr", "audio_clk1", "audio_clk2";
139			resets = <&cpg R9A07G043_SSI1_RST_M2_REG>;
140			dmas = <&dmac 0x2659>, <&dmac 0x265a>;
141			dma-names = "tx", "rx";
142			power-domains = <&cpg>;
143			#sound-dai-cells = <0>;
144			status = "disabled";
145		};
146
147		ssi2: ssi@1004a400 {
148			compatible = "renesas,r9a07g043-ssi",
149				     "renesas,rz-ssi";
150			reg = <0 0x1004a400 0 0x400>;
151			interrupts = <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
152				     <GIC_SPI 335 IRQ_TYPE_EDGE_RISING>,
153				     <GIC_SPI 336 IRQ_TYPE_EDGE_RISING>,
154				     <GIC_SPI 337 IRQ_TYPE_EDGE_RISING>;
155			interrupt-names = "int_req", "dma_rx", "dma_tx", "dma_rt";
156			clocks = <&cpg CPG_MOD R9A07G043_SSI2_PCLK2>,
157				 <&cpg CPG_MOD R9A07G043_SSI2_PCLK_SFR>,
158				 <&audio_clk1>, <&audio_clk2>;
159			clock-names = "ssi", "ssi_sfr", "audio_clk1", "audio_clk2";
160			resets = <&cpg R9A07G043_SSI2_RST_M2_REG>;
161			dmas = <&dmac 0x265f>;
162			dma-names = "rt";
163			power-domains = <&cpg>;
164			#sound-dai-cells = <0>;
165			status = "disabled";
166		};
167
168		ssi3: ssi@1004a800 {
169			compatible = "renesas,r9a07g043-ssi",
170				     "renesas,rz-ssi";
171			reg = <0 0x1004a800 0 0x400>;
172			interrupts = <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
173				     <GIC_SPI 339 IRQ_TYPE_EDGE_RISING>,
174				     <GIC_SPI 340 IRQ_TYPE_EDGE_RISING>,
175				     <GIC_SPI 341 IRQ_TYPE_EDGE_RISING>;
176			interrupt-names = "int_req", "dma_rx", "dma_tx", "dma_rt";
177			clocks = <&cpg CPG_MOD R9A07G043_SSI3_PCLK2>,
178				 <&cpg CPG_MOD R9A07G043_SSI3_PCLK_SFR>,
179				 <&audio_clk1>, <&audio_clk2>;
180			clock-names = "ssi", "ssi_sfr", "audio_clk1", "audio_clk2";
181			resets = <&cpg R9A07G043_SSI3_RST_M2_REG>;
182			dmas = <&dmac 0x2661>, <&dmac 0x2662>;
183			dma-names = "tx", "rx";
184			power-domains = <&cpg>;
185			#sound-dai-cells = <0>;
186			status = "disabled";
187		};
188
189		spi0: spi@1004ac00 {
190			compatible = "renesas,r9a07g043-rspi", "renesas,rspi-rz";
191			reg = <0 0x1004ac00 0 0x400>;
192			interrupts = <GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>,
193				     <GIC_SPI 413 IRQ_TYPE_LEVEL_HIGH>,
194				     <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>;
195			interrupt-names = "error", "rx", "tx";
196			clocks = <&cpg CPG_MOD R9A07G043_RSPI0_CLKB>;
197			resets = <&cpg R9A07G043_RSPI0_RST>;
198			power-domains = <&cpg>;
199			num-cs = <1>;
200			#address-cells = <1>;
201			#size-cells = <0>;
202			status = "disabled";
203		};
204
205		spi1: spi@1004b000 {
206			compatible = "renesas,r9a07g043-rspi", "renesas,rspi-rz";
207			reg = <0 0x1004b000 0 0x400>;
208			interrupts = <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
209				     <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
210				     <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>;
211			interrupt-names = "error", "rx", "tx";
212			clocks = <&cpg CPG_MOD R9A07G043_RSPI1_CLKB>;
213			resets = <&cpg R9A07G043_RSPI1_RST>;
214			power-domains = <&cpg>;
215			num-cs = <1>;
216			#address-cells = <1>;
217			#size-cells = <0>;
218			status = "disabled";
219		};
220
221		spi2: spi@1004b400 {
222			compatible = "renesas,r9a07g043-rspi", "renesas,rspi-rz";
223			reg = <0 0x1004b400 0 0x400>;
224			interrupts = <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
225				     <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
226				     <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>;
227			interrupt-names = "error", "rx", "tx";
228			clocks = <&cpg CPG_MOD R9A07G043_RSPI2_CLKB>;
229			resets = <&cpg R9A07G043_RSPI2_RST>;
230			power-domains = <&cpg>;
231			num-cs = <1>;
232			#address-cells = <1>;
233			#size-cells = <0>;
234			status = "disabled";
235		};
236
237		scif0: serial@1004b800 {
238			compatible = "renesas,scif-r9a07g043",
239				     "renesas,scif-r9a07g044";
240			reg = <0 0x1004b800 0 0x400>;
241			interrupts = <GIC_SPI 380 IRQ_TYPE_LEVEL_HIGH>,
242				     <GIC_SPI 382 IRQ_TYPE_LEVEL_HIGH>,
243				     <GIC_SPI 383 IRQ_TYPE_LEVEL_HIGH>,
244				     <GIC_SPI 381 IRQ_TYPE_LEVEL_HIGH>,
245				     <GIC_SPI 384 IRQ_TYPE_LEVEL_HIGH>,
246				     <GIC_SPI 384 IRQ_TYPE_LEVEL_HIGH>;
247			interrupt-names = "eri", "rxi", "txi",
248					  "bri", "dri", "tei";
249			clocks = <&cpg CPG_MOD R9A07G043_SCIF0_CLK_PCK>;
250			clock-names = "fck";
251			power-domains = <&cpg>;
252			resets = <&cpg R9A07G043_SCIF0_RST_SYSTEM_N>;
253			status = "disabled";
254		};
255
256		scif1: serial@1004bc00 {
257			compatible = "renesas,scif-r9a07g043",
258				     "renesas,scif-r9a07g044";
259			reg = <0 0x1004bc00 0 0x400>;
260			interrupts = <GIC_SPI 385 IRQ_TYPE_LEVEL_HIGH>,
261				     <GIC_SPI 387 IRQ_TYPE_LEVEL_HIGH>,
262				     <GIC_SPI 388 IRQ_TYPE_LEVEL_HIGH>,
263				     <GIC_SPI 386 IRQ_TYPE_LEVEL_HIGH>,
264				     <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>,
265				     <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>;
266			interrupt-names = "eri", "rxi", "txi",
267					  "bri", "dri", "tei";
268			clocks = <&cpg CPG_MOD R9A07G043_SCIF1_CLK_PCK>;
269			clock-names = "fck";
270			power-domains = <&cpg>;
271			resets = <&cpg R9A07G043_SCIF1_RST_SYSTEM_N>;
272			status = "disabled";
273		};
274
275		scif2: serial@1004c000 {
276			compatible = "renesas,scif-r9a07g043",
277				     "renesas,scif-r9a07g044";
278			reg = <0 0x1004c000 0 0x400>;
279			interrupts = <GIC_SPI 390 IRQ_TYPE_LEVEL_HIGH>,
280				     <GIC_SPI 392 IRQ_TYPE_LEVEL_HIGH>,
281				     <GIC_SPI 393 IRQ_TYPE_LEVEL_HIGH>,
282				     <GIC_SPI 391 IRQ_TYPE_LEVEL_HIGH>,
283				     <GIC_SPI 394 IRQ_TYPE_LEVEL_HIGH>,
284				     <GIC_SPI 394 IRQ_TYPE_LEVEL_HIGH>;
285			interrupt-names = "eri", "rxi", "txi",
286					  "bri", "dri", "tei";
287			clocks = <&cpg CPG_MOD R9A07G043_SCIF2_CLK_PCK>;
288			clock-names = "fck";
289			power-domains = <&cpg>;
290			resets = <&cpg R9A07G043_SCIF2_RST_SYSTEM_N>;
291			status = "disabled";
292		};
293
294		scif3: serial@1004c400 {
295			compatible = "renesas,scif-r9a07g043",
296				     "renesas,scif-r9a07g044";
297			reg = <0 0x1004c400 0 0x400>;
298			interrupts = <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>,
299				     <GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>,
300				     <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>,
301				     <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>,
302				     <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>,
303				     <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>;
304			interrupt-names = "eri", "rxi", "txi",
305					  "bri", "dri", "tei";
306			clocks = <&cpg CPG_MOD R9A07G043_SCIF3_CLK_PCK>;
307			clock-names = "fck";
308			power-domains = <&cpg>;
309			resets = <&cpg R9A07G043_SCIF3_RST_SYSTEM_N>;
310			status = "disabled";
311		};
312
313		scif4: serial@1004c800 {
314			compatible = "renesas,scif-r9a07g043",
315				     "renesas,scif-r9a07g044";
316			reg = <0 0x1004c800 0 0x400>;
317			interrupts = <GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>,
318				     <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>,
319				     <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>,
320				     <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>,
321				     <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>,
322				     <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>;
323			interrupt-names = "eri", "rxi", "txi",
324					  "bri", "dri", "tei";
325			clocks = <&cpg CPG_MOD R9A07G043_SCIF4_CLK_PCK>;
326			clock-names = "fck";
327			power-domains = <&cpg>;
328			resets = <&cpg R9A07G043_SCIF4_RST_SYSTEM_N>;
329			status = "disabled";
330		};
331
332		sci0: serial@1004d000 {
333			compatible = "renesas,r9a07g043-sci", "renesas,sci";
334			reg = <0 0x1004d000 0 0x400>;
335			interrupts = <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>,
336				     <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>,
337				     <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>,
338				     <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>;
339			interrupt-names = "eri", "rxi", "txi", "tei";
340			clocks = <&cpg CPG_MOD R9A07G043_SCI0_CLKP>;
341			clock-names = "fck";
342			power-domains = <&cpg>;
343			resets = <&cpg R9A07G043_SCI0_RST>;
344			status = "disabled";
345		};
346
347		sci1: serial@1004d400 {
348			compatible = "renesas,r9a07g043-sci", "renesas,sci";
349			reg = <0 0x1004d400 0 0x400>;
350			interrupts = <GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH>,
351				     <GIC_SPI 410 IRQ_TYPE_LEVEL_HIGH>,
352				     <GIC_SPI 411 IRQ_TYPE_LEVEL_HIGH>,
353				     <GIC_SPI 412 IRQ_TYPE_LEVEL_HIGH>;
354			interrupt-names = "eri", "rxi", "txi", "tei";
355			clocks = <&cpg CPG_MOD R9A07G043_SCI1_CLKP>;
356			clock-names = "fck";
357			power-domains = <&cpg>;
358			resets = <&cpg R9A07G043_SCI1_RST>;
359			status = "disabled";
360		};
361
362		canfd: can@10050000 {
363			compatible = "renesas,r9a07g043-canfd", "renesas,rzg2l-canfd";
364			reg = <0 0x10050000 0 0x8000>;
365			interrupts = <GIC_SPI 426 IRQ_TYPE_LEVEL_HIGH>,
366				     <GIC_SPI 427 IRQ_TYPE_LEVEL_HIGH>,
367				     <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
368				     <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
369				     <GIC_SPI 428 IRQ_TYPE_LEVEL_HIGH>,
370				     <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
371				     <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>,
372				     <GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH>;
373			interrupt-names = "g_err", "g_recc",
374					  "ch0_err", "ch0_rec", "ch0_trx",
375					  "ch1_err", "ch1_rec", "ch1_trx";
376			clocks = <&cpg CPG_MOD R9A07G043_CANFD_PCLK>,
377				 <&cpg CPG_CORE R9A07G043_CLK_P0_DIV2>,
378				 <&can_clk>;
379			clock-names = "fck", "canfd", "can_clk";
380			assigned-clocks = <&cpg CPG_CORE R9A07G043_CLK_P0_DIV2>;
381			assigned-clock-rates = <50000000>;
382			resets = <&cpg R9A07G043_CANFD_RSTP_N>,
383				 <&cpg R9A07G043_CANFD_RSTC_N>;
384			reset-names = "rstp_n", "rstc_n";
385			power-domains = <&cpg>;
386			status = "disabled";
387
388			channel0 {
389				status = "disabled";
390			};
391			channel1 {
392				status = "disabled";
393			};
394		};
395
396		i2c0: i2c@10058000 {
397			#address-cells = <1>;
398			#size-cells = <0>;
399			compatible = "renesas,riic-r9a07g043", "renesas,riic-rz";
400			reg = <0 0x10058000 0 0x400>;
401			interrupts = <GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH>,
402				     <GIC_SPI 348 IRQ_TYPE_EDGE_RISING>,
403				     <GIC_SPI 349 IRQ_TYPE_EDGE_RISING>,
404				     <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>,
405				     <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>,
406				     <GIC_SPI 351 IRQ_TYPE_LEVEL_HIGH>,
407				     <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>,
408				     <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
409			interrupt-names = "tei", "ri", "ti", "spi", "sti",
410					  "naki", "ali", "tmoi";
411			clocks = <&cpg CPG_MOD R9A07G043_I2C0_PCLK>;
412			clock-frequency = <100000>;
413			resets = <&cpg R9A07G043_I2C0_MRST>;
414			power-domains = <&cpg>;
415			status = "disabled";
416		};
417
418		i2c1: i2c@10058400 {
419			#address-cells = <1>;
420			#size-cells = <0>;
421			compatible = "renesas,riic-r9a07g043", "renesas,riic-rz";
422			reg = <0 0x10058400 0 0x400>;
423			interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>,
424				     <GIC_SPI 356 IRQ_TYPE_EDGE_RISING>,
425				     <GIC_SPI 357 IRQ_TYPE_EDGE_RISING>,
426				     <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>,
427				     <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>,
428				     <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>,
429				     <GIC_SPI 362 IRQ_TYPE_LEVEL_HIGH>,
430				     <GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH>;
431			interrupt-names = "tei", "ri", "ti", "spi", "sti",
432					  "naki", "ali", "tmoi";
433			clocks = <&cpg CPG_MOD R9A07G043_I2C1_PCLK>;
434			clock-frequency = <100000>;
435			resets = <&cpg R9A07G043_I2C1_MRST>;
436			power-domains = <&cpg>;
437			status = "disabled";
438		};
439
440		i2c2: i2c@10058800 {
441			#address-cells = <1>;
442			#size-cells = <0>;
443			compatible = "renesas,riic-r9a07g043", "renesas,riic-rz";
444			reg = <0 0x10058800 0 0x400>;
445			interrupts = <GIC_SPI 366 IRQ_TYPE_LEVEL_HIGH>,
446				     <GIC_SPI 364 IRQ_TYPE_EDGE_RISING>,
447				     <GIC_SPI 365 IRQ_TYPE_EDGE_RISING>,
448				     <GIC_SPI 368 IRQ_TYPE_LEVEL_HIGH>,
449				     <GIC_SPI 369 IRQ_TYPE_LEVEL_HIGH>,
450				     <GIC_SPI 367 IRQ_TYPE_LEVEL_HIGH>,
451				     <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>,
452				     <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
453			interrupt-names = "tei", "ri", "ti", "spi", "sti",
454					  "naki", "ali", "tmoi";
455			clocks = <&cpg CPG_MOD R9A07G043_I2C2_PCLK>;
456			clock-frequency = <100000>;
457			resets = <&cpg R9A07G043_I2C2_MRST>;
458			power-domains = <&cpg>;
459			status = "disabled";
460		};
461
462		i2c3: i2c@10058c00 {
463			#address-cells = <1>;
464			#size-cells = <0>;
465			compatible = "renesas,riic-r9a07g043", "renesas,riic-rz";
466			reg = <0 0x10058c00 0 0x400>;
467			interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>,
468				     <GIC_SPI 372 IRQ_TYPE_EDGE_RISING>,
469				     <GIC_SPI 373 IRQ_TYPE_EDGE_RISING>,
470				     <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>,
471				     <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>,
472				     <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>,
473				     <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>,
474				     <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
475			interrupt-names = "tei", "ri", "ti", "spi", "sti",
476					  "naki", "ali", "tmoi";
477			clocks = <&cpg CPG_MOD R9A07G043_I2C3_PCLK>;
478			clock-frequency = <100000>;
479			resets = <&cpg R9A07G043_I2C3_MRST>;
480			power-domains = <&cpg>;
481			status = "disabled";
482		};
483
484		adc: adc@10059000 {
485			reg = <0 0x10059000 0 0x400>;
486			/* place holder */
487		};
488
489		tsu: thermal@10059400 {
490			compatible = "renesas,r9a07g043-tsu",
491				     "renesas,rzg2l-tsu";
492			reg = <0 0x10059400 0 0x400>;
493			clocks = <&cpg CPG_MOD R9A07G043_TSU_PCLK>;
494			resets = <&cpg R9A07G043_TSU_PRESETN>;
495			power-domains = <&cpg>;
496			#thermal-sensor-cells = <1>;
497		};
498
499		sbc: spi@10060000 {
500			reg = <0 0x10060000 0 0x10000>,
501			      <0 0x20000000 0 0x10000000>,
502			      <0 0x10070000 0 0x10000>;
503			#address-cells = <1>;
504			#size-cells = <0>;
505			/* place holder */
506		};
507
508		cpg: clock-controller@11010000 {
509			compatible = "renesas,r9a07g043-cpg";
510			reg = <0 0x11010000 0 0x10000>;
511			clocks = <&extal_clk>;
512			clock-names = "extal";
513			#clock-cells = <2>;
514			#reset-cells = <1>;
515			#power-domain-cells = <0>;
516		};
517
518		sysc: system-controller@11020000 {
519			compatible = "renesas,r9a07g043-sysc";
520			reg = <0 0x11020000 0 0x10000>;
521			interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
522				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
523				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
524				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
525			interrupt-names = "lpm_int", "ca55stbydone_int",
526					  "cm33stbyr_int", "ca55_deny";
527			status = "disabled";
528		};
529
530		pinctrl: pinctrl@11030000 {
531			compatible = "renesas,r9a07g043-pinctrl";
532			reg = <0 0x11030000 0 0x10000>;
533			gpio-controller;
534			#gpio-cells = <2>;
535			gpio-ranges = <&pinctrl 0 0 152>;
536			clocks = <&cpg CPG_MOD R9A07G043_GPIO_HCLK>;
537			power-domains = <&cpg>;
538			resets = <&cpg R9A07G043_GPIO_RSTN>,
539				 <&cpg R9A07G043_GPIO_PORT_RESETN>,
540				 <&cpg R9A07G043_GPIO_SPARE_RESETN>;
541		};
542
543		dmac: dma-controller@11820000 {
544			compatible = "renesas,r9a07g043-dmac",
545				     "renesas,rz-dmac";
546			reg = <0 0x11820000 0 0x10000>,
547			      <0 0x11830000 0 0x10000>;
548			interrupts = <GIC_SPI 141 IRQ_TYPE_EDGE_RISING>,
549				     <GIC_SPI 125 IRQ_TYPE_EDGE_RISING>,
550				     <GIC_SPI 126 IRQ_TYPE_EDGE_RISING>,
551				     <GIC_SPI 127 IRQ_TYPE_EDGE_RISING>,
552				     <GIC_SPI 128 IRQ_TYPE_EDGE_RISING>,
553				     <GIC_SPI 129 IRQ_TYPE_EDGE_RISING>,
554				     <GIC_SPI 130 IRQ_TYPE_EDGE_RISING>,
555				     <GIC_SPI 131 IRQ_TYPE_EDGE_RISING>,
556				     <GIC_SPI 132 IRQ_TYPE_EDGE_RISING>,
557				     <GIC_SPI 133 IRQ_TYPE_EDGE_RISING>,
558				     <GIC_SPI 134 IRQ_TYPE_EDGE_RISING>,
559				     <GIC_SPI 135 IRQ_TYPE_EDGE_RISING>,
560				     <GIC_SPI 136 IRQ_TYPE_EDGE_RISING>,
561				     <GIC_SPI 137 IRQ_TYPE_EDGE_RISING>,
562				     <GIC_SPI 138 IRQ_TYPE_EDGE_RISING>,
563				     <GIC_SPI 139 IRQ_TYPE_EDGE_RISING>,
564				     <GIC_SPI 140 IRQ_TYPE_EDGE_RISING>;
565			interrupt-names = "error",
566					  "ch0", "ch1", "ch2", "ch3",
567					  "ch4", "ch5", "ch6", "ch7",
568					  "ch8", "ch9", "ch10", "ch11",
569					  "ch12", "ch13", "ch14", "ch15";
570			clocks = <&cpg CPG_MOD R9A07G043_DMAC_ACLK>,
571				 <&cpg CPG_MOD R9A07G043_DMAC_PCLK>;
572			power-domains = <&cpg>;
573			resets = <&cpg R9A07G043_DMAC_ARESETN>,
574				 <&cpg R9A07G043_DMAC_RST_ASYNC>;
575			#dma-cells = <1>;
576			dma-channels = <16>;
577		};
578
579		gic: interrupt-controller@11900000 {
580			compatible = "arm,gic-v3";
581			#interrupt-cells = <3>;
582			#address-cells = <0>;
583			interrupt-controller;
584			reg = <0x0 0x11900000 0 0x40000>,
585			      <0x0 0x11940000 0 0x60000>;
586			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>;
587		};
588
589		sdhi0: mmc@11c00000  {
590			compatible = "renesas,sdhi-r9a07g043",
591				     "renesas,rcar-gen3-sdhi";
592			reg = <0x0 0x11c00000 0 0x10000>;
593			interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
594				     <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
595			clocks = <&cpg CPG_MOD R9A07G043_SDHI0_IMCLK>,
596				 <&cpg CPG_MOD R9A07G043_SDHI0_CLK_HS>,
597				 <&cpg CPG_MOD R9A07G043_SDHI0_IMCLK2>,
598				 <&cpg CPG_MOD R9A07G043_SDHI0_ACLK>;
599			clock-names = "core", "clkh", "cd", "aclk";
600			resets = <&cpg R9A07G043_SDHI0_IXRST>;
601			power-domains = <&cpg>;
602			status = "disabled";
603		};
604
605		sdhi1: mmc@11c10000 {
606			compatible = "renesas,sdhi-r9a07g043",
607				     "renesas,rcar-gen3-sdhi";
608			reg = <0x0 0x11c10000 0 0x10000>;
609			interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
610				     <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
611			clocks = <&cpg CPG_MOD R9A07G043_SDHI1_IMCLK>,
612				 <&cpg CPG_MOD R9A07G043_SDHI1_CLK_HS>,
613				 <&cpg CPG_MOD R9A07G043_SDHI1_IMCLK2>,
614				 <&cpg CPG_MOD R9A07G043_SDHI1_ACLK>;
615			clock-names = "core", "clkh", "cd", "aclk";
616			resets = <&cpg R9A07G043_SDHI1_IXRST>;
617			power-domains = <&cpg>;
618			status = "disabled";
619		};
620
621		eth0: ethernet@11c20000 {
622			compatible = "renesas,r9a07g043-gbeth",
623				     "renesas,rzg2l-gbeth";
624			reg = <0 0x11c20000 0 0x10000>;
625			interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
626				     <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
627				     <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
628			interrupt-names = "mux", "fil", "arp_ns";
629			phy-mode = "rgmii";
630			clocks = <&cpg CPG_MOD R9A07G043_ETH0_CLK_AXI>,
631				 <&cpg CPG_MOD R9A07G043_ETH0_CLK_CHI>,
632				 <&cpg CPG_CORE R9A07G043_CLK_HP>;
633			clock-names = "axi", "chi", "refclk";
634			resets = <&cpg R9A07G043_ETH0_RST_HW_N>;
635			power-domains = <&cpg>;
636			#address-cells = <1>;
637			#size-cells = <0>;
638			status = "disabled";
639		};
640
641		eth1: ethernet@11c30000 {
642			compatible = "renesas,r9a07g043-gbeth",
643				     "renesas,rzg2l-gbeth";
644			reg = <0 0x11c30000 0 0x10000>;
645			interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
646				     <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>,
647				     <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
648			interrupt-names = "mux", "fil", "arp_ns";
649			phy-mode = "rgmii";
650			clocks = <&cpg CPG_MOD R9A07G043_ETH1_CLK_AXI>,
651				 <&cpg CPG_MOD R9A07G043_ETH1_CLK_CHI>,
652				 <&cpg CPG_CORE R9A07G043_CLK_HP>;
653			clock-names = "axi", "chi", "refclk";
654			resets = <&cpg R9A07G043_ETH1_RST_HW_N>;
655			power-domains = <&cpg>;
656			#address-cells = <1>;
657			#size-cells = <0>;
658			status = "disabled";
659		};
660
661		phyrst: usbphy-ctrl@11c40000 {
662			compatible = "renesas,r9a07g043-usbphy-ctrl",
663				     "renesas,rzg2l-usbphy-ctrl";
664			reg = <0 0x11c40000 0 0x10000>;
665			clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>;
666			resets = <&cpg R9A07G043_USB_PRESETN>;
667			power-domains = <&cpg>;
668			#reset-cells = <1>;
669			status = "disabled";
670		};
671
672		ohci0: usb@11c50000 {
673			compatible = "generic-ohci";
674			reg = <0 0x11c50000 0 0x100>;
675			interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
676			clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>,
677				 <&cpg CPG_MOD R9A07G043_USB_U2H0_HCLK>;
678			resets = <&phyrst 0>,
679				 <&cpg R9A07G043_USB_U2H0_HRESETN>;
680			phys = <&usb2_phy0 1>;
681			phy-names = "usb";
682			power-domains = <&cpg>;
683			status = "disabled";
684		};
685
686		ohci1: usb@11c70000 {
687			compatible = "generic-ohci";
688			reg = <0 0x11c70000 0 0x100>;
689			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
690			clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>,
691				 <&cpg CPG_MOD R9A07G043_USB_U2H1_HCLK>;
692			resets = <&phyrst 1>,
693				 <&cpg R9A07G043_USB_U2H1_HRESETN>;
694			phys = <&usb2_phy1 1>;
695			phy-names = "usb";
696			power-domains = <&cpg>;
697			status = "disabled";
698		};
699
700		ehci0: usb@11c50100 {
701			compatible = "generic-ehci";
702			reg = <0 0x11c50100 0 0x100>;
703			interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
704			clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>,
705				 <&cpg CPG_MOD R9A07G043_USB_U2H0_HCLK>;
706			resets = <&phyrst 0>,
707				 <&cpg R9A07G043_USB_U2H0_HRESETN>;
708			phys = <&usb2_phy0 2>;
709			phy-names = "usb";
710			companion = <&ohci0>;
711			power-domains = <&cpg>;
712			status = "disabled";
713		};
714
715		ehci1: usb@11c70100 {
716			compatible = "generic-ehci";
717			reg = <0 0x11c70100 0 0x100>;
718			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
719			clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>,
720				 <&cpg CPG_MOD R9A07G043_USB_U2H1_HCLK>;
721			resets = <&phyrst 1>,
722				 <&cpg R9A07G043_USB_U2H1_HRESETN>;
723			phys = <&usb2_phy1 2>;
724			phy-names = "usb";
725			companion = <&ohci1>;
726			power-domains = <&cpg>;
727			status = "disabled";
728		};
729
730		usb2_phy0: usb-phy@11c50200 {
731			compatible = "renesas,usb2-phy-r9a07g043",
732				     "renesas,rzg2l-usb2-phy";
733			reg = <0 0x11c50200 0 0x700>;
734			interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
735			clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>,
736				 <&cpg CPG_MOD R9A07G043_USB_U2H0_HCLK>;
737			resets = <&phyrst 0>;
738			#phy-cells = <1>;
739			power-domains = <&cpg>;
740			status = "disabled";
741		};
742
743		usb2_phy1: usb-phy@11c70200 {
744			compatible = "renesas,usb2-phy-r9a07g043",
745				     "renesas,rzg2l-usb2-phy";
746			reg = <0 0x11c70200 0 0x700>;
747			interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
748			clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>,
749				 <&cpg CPG_MOD R9A07G043_USB_U2H1_HCLK>;
750			resets = <&phyrst 1>;
751			#phy-cells = <1>;
752			power-domains = <&cpg>;
753			status = "disabled";
754		};
755
756		hsusb: usb@11c60000 {
757			compatible = "renesas,usbhs-r9a07g043",
758				     "renesas,rza2-usbhs";
759			reg = <0 0x11c60000 0 0x10000>;
760			interrupts = <GIC_SPI 100 IRQ_TYPE_EDGE_RISING>,
761				     <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
762				     <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
763				     <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
764			clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>,
765				 <&cpg CPG_MOD R9A07G043_USB_U2P_EXR_CPUCLK>;
766			resets = <&phyrst 0>,
767				 <&cpg R9A07G043_USB_U2P_EXL_SYSRST>;
768			renesas,buswait = <7>;
769			phys = <&usb2_phy0 3>;
770			phy-names = "usb";
771			power-domains = <&cpg>;
772			status = "disabled";
773		};
774
775		wdt0: watchdog@12800800 {
776			compatible = "renesas,r9a07g043-wdt",
777				     "renesas,rzg2l-wdt";
778			reg = <0 0x12800800 0 0x400>;
779			clocks = <&cpg CPG_MOD R9A07G043_WDT0_PCLK>,
780				 <&cpg CPG_MOD R9A07G043_WDT0_CLK>;
781			clock-names = "pclk", "oscclk";
782			interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
783				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
784			interrupt-names = "wdt", "perrout";
785			resets = <&cpg R9A07G043_WDT0_PRESETN>;
786			power-domains = <&cpg>;
787			status = "disabled";
788		};
789
790		wdt2: watchdog@12800400 {
791			compatible = "renesas,r9a07g043-wdt",
792				     "renesas,rzg2l-wdt";
793			reg = <0 0x12800400 0 0x400>;
794			clocks = <&cpg CPG_MOD R9A07G043_WDT2_PCLK>,
795				 <&cpg CPG_MOD R9A07G043_WDT2_CLK>;
796			clock-names = "pclk", "oscclk";
797			interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
798				     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
799			interrupt-names = "wdt", "perrout";
800			resets = <&cpg R9A07G043_WDT2_PRESETN>;
801			power-domains = <&cpg>;
802			status = "disabled";
803		};
804
805		ostm0: timer@12801000 {
806			compatible = "renesas,r9a07g043-ostm",
807				     "renesas,ostm";
808			reg = <0x0 0x12801000 0x0 0x400>;
809			interrupts = <GIC_SPI 46 IRQ_TYPE_EDGE_RISING>;
810			clocks = <&cpg CPG_MOD R9A07G043_OSTM0_PCLK>;
811			resets = <&cpg R9A07G043_OSTM0_PRESETZ>;
812			power-domains = <&cpg>;
813			status = "disabled";
814		};
815
816		ostm1: timer@12801400 {
817			compatible = "renesas,r9a07g043-ostm",
818				     "renesas,ostm";
819			reg = <0x0 0x12801400 0x0 0x400>;
820			interrupts = <GIC_SPI 47 IRQ_TYPE_EDGE_RISING>;
821			clocks = <&cpg CPG_MOD R9A07G043_OSTM1_PCLK>;
822			resets = <&cpg R9A07G043_OSTM1_PRESETZ>;
823			power-domains = <&cpg>;
824			status = "disabled";
825		};
826
827		ostm2: timer@12801800 {
828			compatible = "renesas,r9a07g043-ostm",
829				     "renesas,ostm";
830			reg = <0x0 0x12801800 0x0 0x400>;
831			interrupts = <GIC_SPI 48 IRQ_TYPE_EDGE_RISING>;
832			clocks = <&cpg CPG_MOD R9A07G043_OSTM2_PCLK>;
833			resets = <&cpg R9A07G043_OSTM2_PRESETZ>;
834			power-domains = <&cpg>;
835			status = "disabled";
836		};
837	};
838
839	thermal-zones {
840		cpu-thermal {
841			polling-delay-passive = <250>;
842			polling-delay = <1000>;
843			thermal-sensors = <&tsu 0>;
844
845			trips {
846				sensor_crit: sensor-crit {
847					temperature = <125000>;
848					hysteresis = <1000>;
849					type = "critical";
850				};
851			};
852		};
853	};
854
855	timer {
856		compatible = "arm,armv8-timer";
857		interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
858				      <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
859				      <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
860				      <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>;
861	};
862};
863