1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2/*
3 * Device Tree Source for the RZ/G2L and RZ/G2LC common SoC parts
4 *
5 * Copyright (C) 2021 Renesas Electronics Corp.
6 */
7
8#include <dt-bindings/interrupt-controller/arm-gic.h>
9#include <dt-bindings/clock/r9a07g044-cpg.h>
10
11/ {
12	compatible = "renesas,r9a07g044";
13	#address-cells = <2>;
14	#size-cells = <2>;
15
16	audio_clk1: audio1-clk {
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: audio2-clk {
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-150000000 {
50			opp-hz = /bits/ 64 <150000000>;
51			opp-microvolt = <1100000>;
52			clock-latency-ns = <300000>;
53		};
54		opp-300000000 {
55			opp-hz = /bits/ 64 <300000000>;
56			opp-microvolt = <1100000>;
57			clock-latency-ns = <300000>;
58		};
59		opp-600000000 {
60			opp-hz = /bits/ 64 <600000000>;
61			opp-microvolt = <1100000>;
62			clock-latency-ns = <300000>;
63		};
64		opp-1200000000 {
65			opp-hz = /bits/ 64 <1200000000>;
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		cpu-map {
77			cluster0 {
78				core0 {
79					cpu = <&cpu0>;
80				};
81				core1 {
82					cpu = <&cpu1>;
83				};
84			};
85		};
86
87		cpu0: cpu@0 {
88			compatible = "arm,cortex-a55";
89			reg = <0>;
90			device_type = "cpu";
91			#cooling-cells = <2>;
92			next-level-cache = <&L3_CA55>;
93			enable-method = "psci";
94			clocks = <&cpg CPG_CORE R9A07G044_CLK_I>;
95			operating-points-v2 = <&cluster0_opp>;
96		};
97
98		cpu1: cpu@100 {
99			compatible = "arm,cortex-a55";
100			reg = <0x100>;
101			device_type = "cpu";
102			next-level-cache = <&L3_CA55>;
103			enable-method = "psci";
104			clocks = <&cpg CPG_CORE R9A07G044_CLK_I>;
105			operating-points-v2 = <&cluster0_opp>;
106		};
107
108		L3_CA55: cache-controller-0 {
109			compatible = "cache";
110			cache-unified;
111			cache-size = <0x40000>;
112			cache-level = <3>;
113		};
114	};
115
116	gpu_opp_table: opp-table-1 {
117		compatible = "operating-points-v2";
118
119		opp-500000000 {
120			opp-hz = /bits/ 64 <500000000>;
121			opp-microvolt = <1100000>;
122		};
123
124		opp-400000000 {
125			opp-hz = /bits/ 64 <400000000>;
126			opp-microvolt = <1100000>;
127		};
128
129		opp-250000000 {
130			opp-hz = /bits/ 64 <250000000>;
131			opp-microvolt = <1100000>;
132		};
133
134		opp-200000000 {
135			opp-hz = /bits/ 64 <200000000>;
136			opp-microvolt = <1100000>;
137		};
138
139		opp-125000000 {
140			opp-hz = /bits/ 64 <125000000>;
141			opp-microvolt = <1100000>;
142		};
143
144		opp-100000000 {
145			opp-hz = /bits/ 64 <100000000>;
146			opp-microvolt = <1100000>;
147		};
148
149		opp-62500000 {
150			opp-hz = /bits/ 64 <62500000>;
151			opp-microvolt = <1100000>;
152		};
153
154		opp-50000000 {
155			opp-hz = /bits/ 64 <50000000>;
156			opp-microvolt = <1100000>;
157		};
158	};
159
160	pmu {
161		compatible = "arm,cortex-a55-pmu";
162		interrupts-extended = <&gic GIC_PPI 7 IRQ_TYPE_LEVEL_LOW>;
163	};
164
165	psci {
166		compatible = "arm,psci-1.0", "arm,psci-0.2";
167		method = "smc";
168	};
169
170	soc: soc {
171		compatible = "simple-bus";
172		interrupt-parent = <&gic>;
173		#address-cells = <2>;
174		#size-cells = <2>;
175		ranges;
176
177		ssi0: ssi@10049c00 {
178			compatible = "renesas,r9a07g044-ssi",
179				     "renesas,rz-ssi";
180			reg = <0 0x10049c00 0 0x400>;
181			interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
182				     <GIC_SPI 327 IRQ_TYPE_EDGE_RISING>,
183				     <GIC_SPI 328 IRQ_TYPE_EDGE_RISING>;
184			interrupt-names = "int_req", "dma_rx", "dma_tx";
185			clocks = <&cpg CPG_MOD R9A07G044_SSI0_PCLK2>,
186				 <&cpg CPG_MOD R9A07G044_SSI0_PCLK_SFR>,
187				 <&audio_clk1>, <&audio_clk2>;
188			clock-names = "ssi", "ssi_sfr", "audio_clk1", "audio_clk2";
189			resets = <&cpg R9A07G044_SSI0_RST_M2_REG>;
190			dmas = <&dmac 0x2655>, <&dmac 0x2656>;
191			dma-names = "tx", "rx";
192			power-domains = <&cpg>;
193			#sound-dai-cells = <0>;
194			status = "disabled";
195		};
196
197		ssi1: ssi@1004a000 {
198			compatible = "renesas,r9a07g044-ssi",
199				     "renesas,rz-ssi";
200			reg = <0 0x1004a000 0 0x400>;
201			interrupts = <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
202				     <GIC_SPI 331 IRQ_TYPE_EDGE_RISING>,
203				     <GIC_SPI 332 IRQ_TYPE_EDGE_RISING>;
204			interrupt-names = "int_req", "dma_rx", "dma_tx";
205			clocks = <&cpg CPG_MOD R9A07G044_SSI1_PCLK2>,
206				 <&cpg CPG_MOD R9A07G044_SSI1_PCLK_SFR>,
207				 <&audio_clk1>, <&audio_clk2>;
208			clock-names = "ssi", "ssi_sfr", "audio_clk1", "audio_clk2";
209			resets = <&cpg R9A07G044_SSI1_RST_M2_REG>;
210			dmas = <&dmac 0x2659>, <&dmac 0x265a>;
211			dma-names = "tx", "rx";
212			power-domains = <&cpg>;
213			#sound-dai-cells = <0>;
214			status = "disabled";
215		};
216
217		ssi2: ssi@1004a400 {
218			compatible = "renesas,r9a07g044-ssi",
219				     "renesas,rz-ssi";
220			reg = <0 0x1004a400 0 0x400>;
221			interrupts = <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
222				     <GIC_SPI 337 IRQ_TYPE_EDGE_RISING>;
223			interrupt-names = "int_req", "dma_rt";
224			clocks = <&cpg CPG_MOD R9A07G044_SSI2_PCLK2>,
225				 <&cpg CPG_MOD R9A07G044_SSI2_PCLK_SFR>,
226				 <&audio_clk1>, <&audio_clk2>;
227			clock-names = "ssi", "ssi_sfr", "audio_clk1", "audio_clk2";
228			resets = <&cpg R9A07G044_SSI2_RST_M2_REG>;
229			dmas = <&dmac 0x265f>;
230			dma-names = "rt";
231			power-domains = <&cpg>;
232			#sound-dai-cells = <0>;
233			status = "disabled";
234		};
235
236		ssi3: ssi@1004a800 {
237			compatible = "renesas,r9a07g044-ssi",
238				     "renesas,rz-ssi";
239			reg = <0 0x1004a800 0 0x400>;
240			interrupts = <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
241				     <GIC_SPI 339 IRQ_TYPE_EDGE_RISING>,
242				     <GIC_SPI 340 IRQ_TYPE_EDGE_RISING>;
243			interrupt-names = "int_req", "dma_rx", "dma_tx";
244			clocks = <&cpg CPG_MOD R9A07G044_SSI3_PCLK2>,
245				 <&cpg CPG_MOD R9A07G044_SSI3_PCLK_SFR>,
246				 <&audio_clk1>, <&audio_clk2>;
247			clock-names = "ssi", "ssi_sfr", "audio_clk1", "audio_clk2";
248			resets = <&cpg R9A07G044_SSI3_RST_M2_REG>;
249			dmas = <&dmac 0x2661>, <&dmac 0x2662>;
250			dma-names = "tx", "rx";
251			power-domains = <&cpg>;
252			#sound-dai-cells = <0>;
253			status = "disabled";
254		};
255
256		spi0: spi@1004ac00 {
257			compatible = "renesas,r9a07g044-rspi", "renesas,rspi-rz";
258			reg = <0 0x1004ac00 0 0x400>;
259			interrupts = <GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>,
260				     <GIC_SPI 413 IRQ_TYPE_LEVEL_HIGH>,
261				     <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>;
262			interrupt-names = "error", "rx", "tx";
263			clocks = <&cpg CPG_MOD R9A07G044_RSPI0_CLKB>;
264			resets = <&cpg R9A07G044_RSPI0_RST>;
265			dmas = <&dmac 0x2e95>, <&dmac 0x2e96>;
266			dma-names = "tx", "rx";
267			power-domains = <&cpg>;
268			num-cs = <1>;
269			#address-cells = <1>;
270			#size-cells = <0>;
271			status = "disabled";
272		};
273
274		spi1: spi@1004b000 {
275			compatible = "renesas,r9a07g044-rspi", "renesas,rspi-rz";
276			reg = <0 0x1004b000 0 0x400>;
277			interrupts = <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
278				     <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
279				     <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>;
280			interrupt-names = "error", "rx", "tx";
281			clocks = <&cpg CPG_MOD R9A07G044_RSPI1_CLKB>;
282			resets = <&cpg R9A07G044_RSPI1_RST>;
283			dmas = <&dmac 0x2e99>, <&dmac 0x2e9a>;
284			dma-names = "tx", "rx";
285			power-domains = <&cpg>;
286			num-cs = <1>;
287			#address-cells = <1>;
288			#size-cells = <0>;
289			status = "disabled";
290		};
291
292		spi2: spi@1004b400 {
293			compatible = "renesas,r9a07g044-rspi", "renesas,rspi-rz";
294			reg = <0 0x1004b400 0 0x400>;
295			interrupts = <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
296				     <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
297				     <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>;
298			interrupt-names = "error", "rx", "tx";
299			clocks = <&cpg CPG_MOD R9A07G044_RSPI2_CLKB>;
300			resets = <&cpg R9A07G044_RSPI2_RST>;
301			dmas = <&dmac 0x2e9d>, <&dmac 0x2e9e>;
302			dma-names = "tx", "rx";
303			power-domains = <&cpg>;
304			num-cs = <1>;
305			#address-cells = <1>;
306			#size-cells = <0>;
307			status = "disabled";
308		};
309
310		scif0: serial@1004b800 {
311			compatible = "renesas,scif-r9a07g044";
312			reg = <0 0x1004b800 0 0x400>;
313			interrupts = <GIC_SPI 380 IRQ_TYPE_LEVEL_HIGH>,
314				     <GIC_SPI 382 IRQ_TYPE_LEVEL_HIGH>,
315				     <GIC_SPI 383 IRQ_TYPE_LEVEL_HIGH>,
316				     <GIC_SPI 381 IRQ_TYPE_LEVEL_HIGH>,
317				     <GIC_SPI 384 IRQ_TYPE_LEVEL_HIGH>,
318				     <GIC_SPI 384 IRQ_TYPE_LEVEL_HIGH>;
319			interrupt-names = "eri", "rxi", "txi",
320					  "bri", "dri", "tei";
321			clocks = <&cpg CPG_MOD R9A07G044_SCIF0_CLK_PCK>;
322			clock-names = "fck";
323			power-domains = <&cpg>;
324			resets = <&cpg R9A07G044_SCIF0_RST_SYSTEM_N>;
325			status = "disabled";
326		};
327
328		scif1: serial@1004bc00 {
329			compatible = "renesas,scif-r9a07g044";
330			reg = <0 0x1004bc00 0 0x400>;
331			interrupts = <GIC_SPI 385 IRQ_TYPE_LEVEL_HIGH>,
332				     <GIC_SPI 387 IRQ_TYPE_LEVEL_HIGH>,
333				     <GIC_SPI 388 IRQ_TYPE_LEVEL_HIGH>,
334				     <GIC_SPI 386 IRQ_TYPE_LEVEL_HIGH>,
335				     <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>,
336				     <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>;
337			interrupt-names = "eri", "rxi", "txi",
338					  "bri", "dri", "tei";
339			clocks = <&cpg CPG_MOD R9A07G044_SCIF1_CLK_PCK>;
340			clock-names = "fck";
341			power-domains = <&cpg>;
342			resets = <&cpg R9A07G044_SCIF1_RST_SYSTEM_N>;
343			status = "disabled";
344		};
345
346		scif2: serial@1004c000 {
347			compatible = "renesas,scif-r9a07g044";
348			reg = <0 0x1004c000 0 0x400>;
349			interrupts = <GIC_SPI 390 IRQ_TYPE_LEVEL_HIGH>,
350				     <GIC_SPI 392 IRQ_TYPE_LEVEL_HIGH>,
351				     <GIC_SPI 393 IRQ_TYPE_LEVEL_HIGH>,
352				     <GIC_SPI 391 IRQ_TYPE_LEVEL_HIGH>,
353				     <GIC_SPI 394 IRQ_TYPE_LEVEL_HIGH>,
354				     <GIC_SPI 394 IRQ_TYPE_LEVEL_HIGH>;
355			interrupt-names = "eri", "rxi", "txi",
356					  "bri", "dri", "tei";
357			clocks = <&cpg CPG_MOD R9A07G044_SCIF2_CLK_PCK>;
358			clock-names = "fck";
359			power-domains = <&cpg>;
360			resets = <&cpg R9A07G044_SCIF2_RST_SYSTEM_N>;
361			status = "disabled";
362		};
363
364		scif3: serial@1004c400 {
365			compatible = "renesas,scif-r9a07g044";
366			reg = <0 0x1004c400 0 0x400>;
367			interrupts = <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>,
368				     <GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>,
369				     <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>,
370				     <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>,
371				     <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>,
372				     <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>;
373			interrupt-names = "eri", "rxi", "txi",
374					  "bri", "dri", "tei";
375			clocks = <&cpg CPG_MOD R9A07G044_SCIF3_CLK_PCK>;
376			clock-names = "fck";
377			power-domains = <&cpg>;
378			resets = <&cpg R9A07G044_SCIF3_RST_SYSTEM_N>;
379			status = "disabled";
380		};
381
382		scif4: serial@1004c800 {
383			compatible = "renesas,scif-r9a07g044";
384			reg = <0 0x1004c800 0 0x400>;
385			interrupts = <GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>,
386				     <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>,
387				     <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>,
388				     <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>,
389				     <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>,
390				     <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>;
391			interrupt-names = "eri", "rxi", "txi",
392					  "bri", "dri", "tei";
393			clocks = <&cpg CPG_MOD R9A07G044_SCIF4_CLK_PCK>;
394			clock-names = "fck";
395			power-domains = <&cpg>;
396			resets = <&cpg R9A07G044_SCIF4_RST_SYSTEM_N>;
397			status = "disabled";
398		};
399
400		sci0: serial@1004d000 {
401			compatible = "renesas,r9a07g044-sci", "renesas,sci";
402			reg = <0 0x1004d000 0 0x400>;
403			interrupts = <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>,
404				     <GIC_SPI 406 IRQ_TYPE_EDGE_RISING>,
405				     <GIC_SPI 407 IRQ_TYPE_EDGE_RISING>,
406				     <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>;
407			interrupt-names = "eri", "rxi", "txi", "tei";
408			clocks = <&cpg CPG_MOD R9A07G044_SCI0_CLKP>;
409			clock-names = "fck";
410			power-domains = <&cpg>;
411			resets = <&cpg R9A07G044_SCI0_RST>;
412			status = "disabled";
413		};
414
415		sci1: serial@1004d400 {
416			compatible = "renesas,r9a07g044-sci", "renesas,sci";
417			reg = <0 0x1004d400 0 0x400>;
418			interrupts = <GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH>,
419				     <GIC_SPI 410 IRQ_TYPE_EDGE_RISING>,
420				     <GIC_SPI 411 IRQ_TYPE_EDGE_RISING>,
421				     <GIC_SPI 412 IRQ_TYPE_LEVEL_HIGH>;
422			interrupt-names = "eri", "rxi", "txi", "tei";
423			clocks = <&cpg CPG_MOD R9A07G044_SCI1_CLKP>;
424			clock-names = "fck";
425			power-domains = <&cpg>;
426			resets = <&cpg R9A07G044_SCI1_RST>;
427			status = "disabled";
428		};
429
430		canfd: can@10050000 {
431			compatible = "renesas,r9a07g044-canfd", "renesas,rzg2l-canfd";
432			reg = <0 0x10050000 0 0x8000>;
433			interrupts = <GIC_SPI 426 IRQ_TYPE_LEVEL_HIGH>,
434				     <GIC_SPI 427 IRQ_TYPE_LEVEL_HIGH>,
435				     <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
436				     <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
437				     <GIC_SPI 428 IRQ_TYPE_LEVEL_HIGH>,
438				     <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
439				     <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>,
440				     <GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH>;
441			interrupt-names = "g_err", "g_recc",
442					  "ch0_err", "ch0_rec", "ch0_trx",
443					  "ch1_err", "ch1_rec", "ch1_trx";
444			clocks = <&cpg CPG_MOD R9A07G044_CANFD_PCLK>,
445				 <&cpg CPG_CORE R9A07G044_CLK_P0_DIV2>,
446				 <&can_clk>;
447			clock-names = "fck", "canfd", "can_clk";
448			assigned-clocks = <&cpg CPG_CORE R9A07G044_CLK_P0_DIV2>;
449			assigned-clock-rates = <50000000>;
450			resets = <&cpg R9A07G044_CANFD_RSTP_N>,
451				 <&cpg R9A07G044_CANFD_RSTC_N>;
452			reset-names = "rstp_n", "rstc_n";
453			power-domains = <&cpg>;
454			status = "disabled";
455
456			channel0 {
457				status = "disabled";
458			};
459			channel1 {
460				status = "disabled";
461			};
462		};
463
464		i2c0: i2c@10058000 {
465			#address-cells = <1>;
466			#size-cells = <0>;
467			compatible = "renesas,riic-r9a07g044", "renesas,riic-rz";
468			reg = <0 0x10058000 0 0x400>;
469			interrupts = <GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH>,
470				     <GIC_SPI 348 IRQ_TYPE_EDGE_RISING>,
471				     <GIC_SPI 349 IRQ_TYPE_EDGE_RISING>,
472				     <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>,
473				     <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>,
474				     <GIC_SPI 351 IRQ_TYPE_LEVEL_HIGH>,
475				     <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>,
476				     <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
477			interrupt-names = "tei", "ri", "ti", "spi", "sti",
478					  "naki", "ali", "tmoi";
479			clocks = <&cpg CPG_MOD R9A07G044_I2C0_PCLK>;
480			clock-frequency = <100000>;
481			resets = <&cpg R9A07G044_I2C0_MRST>;
482			power-domains = <&cpg>;
483			status = "disabled";
484		};
485
486		i2c1: i2c@10058400 {
487			#address-cells = <1>;
488			#size-cells = <0>;
489			compatible = "renesas,riic-r9a07g044", "renesas,riic-rz";
490			reg = <0 0x10058400 0 0x400>;
491			interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>,
492				     <GIC_SPI 356 IRQ_TYPE_EDGE_RISING>,
493				     <GIC_SPI 357 IRQ_TYPE_EDGE_RISING>,
494				     <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>,
495				     <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>,
496				     <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>,
497				     <GIC_SPI 362 IRQ_TYPE_LEVEL_HIGH>,
498				     <GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH>;
499			interrupt-names = "tei", "ri", "ti", "spi", "sti",
500					  "naki", "ali", "tmoi";
501			clocks = <&cpg CPG_MOD R9A07G044_I2C1_PCLK>;
502			clock-frequency = <100000>;
503			resets = <&cpg R9A07G044_I2C1_MRST>;
504			power-domains = <&cpg>;
505			status = "disabled";
506		};
507
508		i2c2: i2c@10058800 {
509			#address-cells = <1>;
510			#size-cells = <0>;
511			compatible = "renesas,riic-r9a07g044", "renesas,riic-rz";
512			reg = <0 0x10058800 0 0x400>;
513			interrupts = <GIC_SPI 366 IRQ_TYPE_LEVEL_HIGH>,
514				     <GIC_SPI 364 IRQ_TYPE_EDGE_RISING>,
515				     <GIC_SPI 365 IRQ_TYPE_EDGE_RISING>,
516				     <GIC_SPI 368 IRQ_TYPE_LEVEL_HIGH>,
517				     <GIC_SPI 369 IRQ_TYPE_LEVEL_HIGH>,
518				     <GIC_SPI 367 IRQ_TYPE_LEVEL_HIGH>,
519				     <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>,
520				     <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
521			interrupt-names = "tei", "ri", "ti", "spi", "sti",
522					  "naki", "ali", "tmoi";
523			clocks = <&cpg CPG_MOD R9A07G044_I2C2_PCLK>;
524			clock-frequency = <100000>;
525			resets = <&cpg R9A07G044_I2C2_MRST>;
526			power-domains = <&cpg>;
527			status = "disabled";
528		};
529
530		i2c3: i2c@10058c00 {
531			#address-cells = <1>;
532			#size-cells = <0>;
533			compatible = "renesas,riic-r9a07g044", "renesas,riic-rz";
534			reg = <0 0x10058c00 0 0x400>;
535			interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>,
536				     <GIC_SPI 372 IRQ_TYPE_EDGE_RISING>,
537				     <GIC_SPI 373 IRQ_TYPE_EDGE_RISING>,
538				     <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>,
539				     <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>,
540				     <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>,
541				     <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>,
542				     <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
543			interrupt-names = "tei", "ri", "ti", "spi", "sti",
544					  "naki", "ali", "tmoi";
545			clocks = <&cpg CPG_MOD R9A07G044_I2C3_PCLK>;
546			clock-frequency = <100000>;
547			resets = <&cpg R9A07G044_I2C3_MRST>;
548			power-domains = <&cpg>;
549			status = "disabled";
550		};
551
552		adc: adc@10059000 {
553			compatible = "renesas,r9a07g044-adc", "renesas,rzg2l-adc";
554			reg = <0 0x10059000 0 0x400>;
555			interrupts = <GIC_SPI 347 IRQ_TYPE_EDGE_RISING>;
556			clocks = <&cpg CPG_MOD R9A07G044_ADC_ADCLK>,
557				 <&cpg CPG_MOD R9A07G044_ADC_PCLK>;
558			clock-names = "adclk", "pclk";
559			resets = <&cpg R9A07G044_ADC_PRESETN>,
560				 <&cpg R9A07G044_ADC_ADRST_N>;
561			reset-names = "presetn", "adrst-n";
562			power-domains = <&cpg>;
563			status = "disabled";
564
565			#address-cells = <1>;
566			#size-cells = <0>;
567
568			channel@0 {
569				reg = <0>;
570			};
571			channel@1 {
572				reg = <1>;
573			};
574			channel@2 {
575				reg = <2>;
576			};
577			channel@3 {
578				reg = <3>;
579			};
580			channel@4 {
581				reg = <4>;
582			};
583			channel@5 {
584				reg = <5>;
585			};
586			channel@6 {
587				reg = <6>;
588			};
589			channel@7 {
590				reg = <7>;
591			};
592		};
593
594		tsu: thermal@10059400 {
595			compatible = "renesas,r9a07g044-tsu",
596				     "renesas,rzg2l-tsu";
597			reg = <0 0x10059400 0 0x400>;
598			clocks = <&cpg CPG_MOD R9A07G044_TSU_PCLK>;
599			resets = <&cpg R9A07G044_TSU_PRESETN>;
600			power-domains = <&cpg>;
601			#thermal-sensor-cells = <1>;
602		};
603
604		sbc: spi@10060000 {
605			compatible = "renesas,r9a07g044-rpc-if",
606				     "renesas,rzg2l-rpc-if";
607			reg = <0 0x10060000 0 0x10000>,
608			      <0 0x20000000 0 0x10000000>,
609			      <0 0x10070000 0 0x10000>;
610			reg-names = "regs", "dirmap", "wbuf";
611			interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
612			clocks = <&cpg CPG_MOD R9A07G044_SPI_CLK2>,
613				 <&cpg CPG_MOD R9A07G044_SPI_CLK>;
614			resets = <&cpg R9A07G044_SPI_RST>;
615			power-domains = <&cpg>;
616			#address-cells = <1>;
617			#size-cells = <0>;
618			status = "disabled";
619		};
620
621		cru: video@10830000 {
622			compatible = "renesas,r9a07g044-cru", "renesas,rzg2l-cru";
623			reg = <0 0x10830000 0 0x400>;
624			clocks = <&cpg CPG_MOD R9A07G044_CRU_VCLK>,
625				 <&cpg CPG_MOD R9A07G044_CRU_PCLK>,
626				 <&cpg CPG_MOD R9A07G044_CRU_ACLK>;
627			clock-names = "video", "apb", "axi";
628			interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>,
629				     <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
630				     <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
631			interrupt-names = "image_conv", "image_conv_err", "axi_mst_err";
632			resets = <&cpg R9A07G044_CRU_PRESETN>,
633				 <&cpg R9A07G044_CRU_ARESETN>;
634			reset-names = "presetn", "aresetn";
635			power-domains = <&cpg>;
636			status = "disabled";
637
638			ports {
639				#address-cells = <1>;
640				#size-cells = <0>;
641
642				port@0 {
643					#address-cells = <1>;
644					#size-cells = <0>;
645
646					reg = <0>;
647					cruparallel: endpoint@0 {
648						reg = <0>;
649					};
650				};
651
652				port@1 {
653					#address-cells = <1>;
654					#size-cells = <0>;
655
656					reg = <1>;
657					crucsi2: endpoint@0 {
658						reg = <0>;
659						remote-endpoint = <&csi2cru>;
660					};
661				};
662			};
663		};
664
665		csi2: csi2@10830400 {
666			compatible = "renesas,r9a07g044-csi2", "renesas,rzg2l-csi2";
667			reg = <0 0x10830400 0 0xfc00>;
668			interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
669			clocks = <&cpg CPG_MOD R9A07G044_CRU_SYSCLK>,
670				 <&cpg CPG_MOD R9A07G044_CRU_VCLK>,
671				 <&cpg CPG_MOD R9A07G044_CRU_PCLK>;
672			clock-names = "system", "video", "apb";
673			resets = <&cpg R9A07G044_CRU_PRESETN>,
674				 <&cpg R9A07G044_CRU_CMN_RSTB>;
675			reset-names = "presetn", "cmn-rstb";
676			power-domains = <&cpg>;
677			status = "disabled";
678
679			ports {
680				#address-cells = <1>;
681				#size-cells = <0>;
682
683				port@0 {
684					reg = <0>;
685				};
686
687				port@1 {
688					#address-cells = <1>;
689					#size-cells = <0>;
690					reg = <1>;
691
692					csi2cru: endpoint@0 {
693						reg = <0>;
694						remote-endpoint = <&crucsi2>;
695					};
696				};
697			};
698		};
699
700		dsi: dsi@10850000 {
701			compatible = "renesas,r9a07g044-mipi-dsi",
702				     "renesas,rzg2l-mipi-dsi";
703			reg = <0 0x10850000 0 0x20000>;
704			interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
705				     <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
706				     <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
707				     <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
708				     <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
709				     <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
710				     <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
711			interrupt-names = "seq0", "seq1", "vin1", "rcv",
712					  "ferr", "ppi", "debug";
713			clocks = <&cpg CPG_MOD R9A07G044_MIPI_DSI_PLLCLK>,
714				 <&cpg CPG_MOD R9A07G044_MIPI_DSI_SYSCLK>,
715				 <&cpg CPG_MOD R9A07G044_MIPI_DSI_ACLK>,
716				 <&cpg CPG_MOD R9A07G044_MIPI_DSI_PCLK>,
717				 <&cpg CPG_MOD R9A07G044_MIPI_DSI_VCLK>,
718				 <&cpg CPG_MOD R9A07G044_MIPI_DSI_LPCLK>;
719			clock-names = "pllclk", "sysclk", "aclk", "pclk", "vclk", "lpclk";
720			resets = <&cpg R9A07G044_MIPI_DSI_CMN_RSTB>,
721				 <&cpg R9A07G044_MIPI_DSI_ARESET_N>,
722				 <&cpg R9A07G044_MIPI_DSI_PRESET_N>;
723			reset-names = "rst", "arst", "prst";
724			power-domains = <&cpg>;
725			status = "disabled";
726		};
727
728		vspd: vsp@10870000 {
729			compatible = "renesas,r9a07g044-vsp2";
730			reg = <0 0x10870000 0 0x10000>;
731			interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
732			clocks = <&cpg CPG_MOD R9A07G044_LCDC_CLK_A>,
733				 <&cpg CPG_MOD R9A07G044_LCDC_CLK_P>,
734				 <&cpg CPG_MOD R9A07G044_LCDC_CLK_D>;
735			clock-names = "aclk", "pclk", "vclk";
736			power-domains = <&cpg>;
737			resets = <&cpg R9A07G044_LCDC_RESET_N>;
738			renesas,fcp = <&fcpvd>;
739		};
740
741		fcpvd: fcp@10880000 {
742			compatible = "renesas,r9a07g044-fcpvd",
743				     "renesas,fcpv";
744			reg = <0 0x10880000 0 0x10000>;
745			clocks = <&cpg CPG_MOD R9A07G044_LCDC_CLK_A>,
746				 <&cpg CPG_MOD R9A07G044_LCDC_CLK_P>,
747				 <&cpg CPG_MOD R9A07G044_LCDC_CLK_D>;
748			clock-names = "aclk", "pclk", "vclk";
749			power-domains = <&cpg>;
750			resets = <&cpg R9A07G044_LCDC_RESET_N>;
751		};
752
753		cpg: clock-controller@11010000 {
754			compatible = "renesas,r9a07g044-cpg";
755			reg = <0 0x11010000 0 0x10000>;
756			clocks = <&extal_clk>;
757			clock-names = "extal";
758			#clock-cells = <2>;
759			#reset-cells = <1>;
760			#power-domain-cells = <0>;
761		};
762
763		sysc: system-controller@11020000 {
764			compatible = "renesas,r9a07g044-sysc";
765			reg = <0 0x11020000 0 0x10000>;
766			interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
767				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
768				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
769				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
770			interrupt-names = "lpm_int", "ca55stbydone_int",
771					  "cm33stbyr_int", "ca55_deny";
772			status = "disabled";
773		};
774
775		pinctrl: pinctrl@11030000 {
776			compatible = "renesas,r9a07g044-pinctrl";
777			reg = <0 0x11030000 0 0x10000>;
778			gpio-controller;
779			#gpio-cells = <2>;
780			#interrupt-cells = <2>;
781			interrupt-parent = <&irqc>;
782			interrupt-controller;
783			gpio-ranges = <&pinctrl 0 0 392>;
784			clocks = <&cpg CPG_MOD R9A07G044_GPIO_HCLK>;
785			power-domains = <&cpg>;
786			resets = <&cpg R9A07G044_GPIO_RSTN>,
787				 <&cpg R9A07G044_GPIO_PORT_RESETN>,
788				 <&cpg R9A07G044_GPIO_SPARE_RESETN>;
789		};
790
791		irqc: interrupt-controller@110a0000 {
792			compatible = "renesas,r9a07g044-irqc",
793				     "renesas,rzg2l-irqc";
794			#interrupt-cells = <2>;
795			#address-cells = <0>;
796			interrupt-controller;
797			reg = <0 0x110a0000 0 0x10000>;
798			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
799				     <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
800				     <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
801				     <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
802				     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
803				     <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
804				     <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
805				     <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
806				     <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
807				     <GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>,
808				     <GIC_SPI 445 IRQ_TYPE_LEVEL_HIGH>,
809				     <GIC_SPI 446 IRQ_TYPE_LEVEL_HIGH>,
810				     <GIC_SPI 447 IRQ_TYPE_LEVEL_HIGH>,
811				     <GIC_SPI 448 IRQ_TYPE_LEVEL_HIGH>,
812				     <GIC_SPI 449 IRQ_TYPE_LEVEL_HIGH>,
813				     <GIC_SPI 450 IRQ_TYPE_LEVEL_HIGH>,
814				     <GIC_SPI 451 IRQ_TYPE_LEVEL_HIGH>,
815				     <GIC_SPI 452 IRQ_TYPE_LEVEL_HIGH>,
816				     <GIC_SPI 453 IRQ_TYPE_LEVEL_HIGH>,
817				     <GIC_SPI 454 IRQ_TYPE_LEVEL_HIGH>,
818				     <GIC_SPI 455 IRQ_TYPE_LEVEL_HIGH>,
819				     <GIC_SPI 456 IRQ_TYPE_LEVEL_HIGH>,
820				     <GIC_SPI 457 IRQ_TYPE_LEVEL_HIGH>,
821				     <GIC_SPI 458 IRQ_TYPE_LEVEL_HIGH>,
822				     <GIC_SPI 459 IRQ_TYPE_LEVEL_HIGH>,
823				     <GIC_SPI 460 IRQ_TYPE_LEVEL_HIGH>,
824				     <GIC_SPI 461 IRQ_TYPE_LEVEL_HIGH>,
825				     <GIC_SPI 462 IRQ_TYPE_LEVEL_HIGH>,
826				     <GIC_SPI 463 IRQ_TYPE_LEVEL_HIGH>,
827				     <GIC_SPI 464 IRQ_TYPE_LEVEL_HIGH>,
828				     <GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>,
829				     <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>,
830				     <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>,
831				     <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>,
832				     <GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>,
833				     <GIC_SPI 470 IRQ_TYPE_LEVEL_HIGH>,
834				     <GIC_SPI 471 IRQ_TYPE_LEVEL_HIGH>,
835				     <GIC_SPI 472 IRQ_TYPE_LEVEL_HIGH>,
836				     <GIC_SPI 473 IRQ_TYPE_LEVEL_HIGH>,
837				     <GIC_SPI 474 IRQ_TYPE_LEVEL_HIGH>,
838				     <GIC_SPI 475 IRQ_TYPE_LEVEL_HIGH>;
839			clocks = <&cpg CPG_MOD R9A07G044_IA55_CLK>,
840				 <&cpg CPG_MOD R9A07G044_IA55_PCLK>;
841			clock-names = "clk", "pclk";
842			power-domains = <&cpg>;
843			resets = <&cpg R9A07G044_IA55_RESETN>;
844		};
845
846		dmac: dma-controller@11820000 {
847			compatible = "renesas,r9a07g044-dmac",
848				     "renesas,rz-dmac";
849			reg = <0 0x11820000 0 0x10000>,
850			      <0 0x11830000 0 0x10000>;
851			interrupts = <GIC_SPI 141 IRQ_TYPE_EDGE_RISING>,
852				     <GIC_SPI 125 IRQ_TYPE_EDGE_RISING>,
853				     <GIC_SPI 126 IRQ_TYPE_EDGE_RISING>,
854				     <GIC_SPI 127 IRQ_TYPE_EDGE_RISING>,
855				     <GIC_SPI 128 IRQ_TYPE_EDGE_RISING>,
856				     <GIC_SPI 129 IRQ_TYPE_EDGE_RISING>,
857				     <GIC_SPI 130 IRQ_TYPE_EDGE_RISING>,
858				     <GIC_SPI 131 IRQ_TYPE_EDGE_RISING>,
859				     <GIC_SPI 132 IRQ_TYPE_EDGE_RISING>,
860				     <GIC_SPI 133 IRQ_TYPE_EDGE_RISING>,
861				     <GIC_SPI 134 IRQ_TYPE_EDGE_RISING>,
862				     <GIC_SPI 135 IRQ_TYPE_EDGE_RISING>,
863				     <GIC_SPI 136 IRQ_TYPE_EDGE_RISING>,
864				     <GIC_SPI 137 IRQ_TYPE_EDGE_RISING>,
865				     <GIC_SPI 138 IRQ_TYPE_EDGE_RISING>,
866				     <GIC_SPI 139 IRQ_TYPE_EDGE_RISING>,
867				     <GIC_SPI 140 IRQ_TYPE_EDGE_RISING>;
868			interrupt-names = "error",
869					  "ch0", "ch1", "ch2", "ch3",
870					  "ch4", "ch5", "ch6", "ch7",
871					  "ch8", "ch9", "ch10", "ch11",
872					  "ch12", "ch13", "ch14", "ch15";
873			clocks = <&cpg CPG_MOD R9A07G044_DMAC_ACLK>,
874				 <&cpg CPG_MOD R9A07G044_DMAC_PCLK>;
875			clock-names = "main", "register";
876			power-domains = <&cpg>;
877			resets = <&cpg R9A07G044_DMAC_ARESETN>,
878				 <&cpg R9A07G044_DMAC_RST_ASYNC>;
879			reset-names = "arst", "rst_async";
880			#dma-cells = <1>;
881			dma-channels = <16>;
882		};
883
884		gpu: gpu@11840000 {
885			compatible = "renesas,r9a07g044-mali",
886				     "arm,mali-bifrost";
887			reg = <0x0 0x11840000 0x0 0x10000>;
888			interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
889				     <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>,
890				     <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
891				     <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
892			interrupt-names = "job", "mmu", "gpu", "event";
893			clocks = <&cpg CPG_MOD R9A07G044_GPU_CLK>,
894				 <&cpg CPG_MOD R9A07G044_GPU_AXI_CLK>,
895				 <&cpg CPG_MOD R9A07G044_GPU_ACE_CLK>;
896			clock-names = "gpu", "bus", "bus_ace";
897			power-domains = <&cpg>;
898			resets = <&cpg R9A07G044_GPU_RESETN>,
899				 <&cpg R9A07G044_GPU_AXI_RESETN>,
900				 <&cpg R9A07G044_GPU_ACE_RESETN>;
901			reset-names = "rst", "axi_rst", "ace_rst";
902			operating-points-v2 = <&gpu_opp_table>;
903		};
904
905		gic: interrupt-controller@11900000 {
906			compatible = "arm,gic-v3";
907			#interrupt-cells = <3>;
908			#address-cells = <0>;
909			interrupt-controller;
910			reg = <0x0 0x11900000 0 0x40000>,
911			      <0x0 0x11940000 0 0x60000>;
912			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>;
913		};
914
915		sdhi0: mmc@11c00000 {
916			compatible = "renesas,sdhi-r9a07g044",
917				     "renesas,rcar-gen3-sdhi";
918			reg = <0x0 0x11c00000 0 0x10000>;
919			interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
920				     <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
921			clocks = <&cpg CPG_MOD R9A07G044_SDHI0_IMCLK>,
922				 <&cpg CPG_MOD R9A07G044_SDHI0_CLK_HS>,
923				 <&cpg CPG_MOD R9A07G044_SDHI0_IMCLK2>,
924				 <&cpg CPG_MOD R9A07G044_SDHI0_ACLK>;
925			clock-names = "core", "clkh", "cd", "aclk";
926			resets = <&cpg R9A07G044_SDHI0_IXRST>;
927			power-domains = <&cpg>;
928			status = "disabled";
929		};
930
931		sdhi1: mmc@11c10000 {
932			compatible = "renesas,sdhi-r9a07g044",
933				     "renesas,rcar-gen3-sdhi";
934			reg = <0x0 0x11c10000 0 0x10000>;
935			interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
936				     <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
937			clocks = <&cpg CPG_MOD R9A07G044_SDHI1_IMCLK>,
938				 <&cpg CPG_MOD R9A07G044_SDHI1_CLK_HS>,
939				 <&cpg CPG_MOD R9A07G044_SDHI1_IMCLK2>,
940				 <&cpg CPG_MOD R9A07G044_SDHI1_ACLK>;
941			clock-names = "core", "clkh", "cd", "aclk";
942			resets = <&cpg R9A07G044_SDHI1_IXRST>;
943			power-domains = <&cpg>;
944			status = "disabled";
945		};
946
947		eth0: ethernet@11c20000 {
948			compatible = "renesas,r9a07g044-gbeth",
949				     "renesas,rzg2l-gbeth";
950			reg = <0 0x11c20000 0 0x10000>;
951			interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
952				     <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
953				     <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
954			interrupt-names = "mux", "fil", "arp_ns";
955			phy-mode = "rgmii";
956			clocks = <&cpg CPG_MOD R9A07G044_ETH0_CLK_AXI>,
957				 <&cpg CPG_MOD R9A07G044_ETH0_CLK_CHI>,
958				 <&cpg CPG_CORE R9A07G044_CLK_HP>;
959			clock-names = "axi", "chi", "refclk";
960			resets = <&cpg R9A07G044_ETH0_RST_HW_N>;
961			power-domains = <&cpg>;
962			#address-cells = <1>;
963			#size-cells = <0>;
964			status = "disabled";
965		};
966
967		eth1: ethernet@11c30000 {
968			compatible = "renesas,r9a07g044-gbeth",
969				     "renesas,rzg2l-gbeth";
970			reg = <0 0x11c30000 0 0x10000>;
971			interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
972				     <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>,
973				     <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
974			interrupt-names = "mux", "fil", "arp_ns";
975			phy-mode = "rgmii";
976			clocks = <&cpg CPG_MOD R9A07G044_ETH1_CLK_AXI>,
977				 <&cpg CPG_MOD R9A07G044_ETH1_CLK_CHI>,
978				 <&cpg CPG_CORE R9A07G044_CLK_HP>;
979			clock-names = "axi", "chi", "refclk";
980			resets = <&cpg R9A07G044_ETH1_RST_HW_N>;
981			power-domains = <&cpg>;
982			#address-cells = <1>;
983			#size-cells = <0>;
984			status = "disabled";
985		};
986
987		phyrst: usbphy-ctrl@11c40000 {
988			compatible = "renesas,r9a07g044-usbphy-ctrl",
989				     "renesas,rzg2l-usbphy-ctrl";
990			reg = <0 0x11c40000 0 0x10000>;
991			clocks = <&cpg CPG_MOD R9A07G044_USB_PCLK>;
992			resets = <&cpg R9A07G044_USB_PRESETN>;
993			power-domains = <&cpg>;
994			#reset-cells = <1>;
995			status = "disabled";
996		};
997
998		ohci0: usb@11c50000 {
999			compatible = "generic-ohci";
1000			reg = <0 0x11c50000 0 0x100>;
1001			interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
1002			clocks = <&cpg CPG_MOD R9A07G044_USB_PCLK>,
1003				 <&cpg CPG_MOD R9A07G044_USB_U2H0_HCLK>;
1004			resets = <&phyrst 0>,
1005				 <&cpg R9A07G044_USB_U2H0_HRESETN>;
1006			phys = <&usb2_phy0 1>;
1007			phy-names = "usb";
1008			power-domains = <&cpg>;
1009			status = "disabled";
1010		};
1011
1012		ohci1: usb@11c70000 {
1013			compatible = "generic-ohci";
1014			reg = <0 0x11c70000 0 0x100>;
1015			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
1016			clocks = <&cpg CPG_MOD R9A07G044_USB_PCLK>,
1017				 <&cpg CPG_MOD R9A07G044_USB_U2H1_HCLK>;
1018			resets = <&phyrst 1>,
1019				 <&cpg R9A07G044_USB_U2H1_HRESETN>;
1020			phys = <&usb2_phy1 1>;
1021			phy-names = "usb";
1022			power-domains = <&cpg>;
1023			status = "disabled";
1024		};
1025
1026		ehci0: usb@11c50100 {
1027			compatible = "generic-ehci";
1028			reg = <0 0x11c50100 0 0x100>;
1029			interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
1030			clocks = <&cpg CPG_MOD R9A07G044_USB_PCLK>,
1031				 <&cpg CPG_MOD R9A07G044_USB_U2H0_HCLK>;
1032			resets = <&phyrst 0>,
1033				 <&cpg R9A07G044_USB_U2H0_HRESETN>;
1034			phys = <&usb2_phy0 2>;
1035			phy-names = "usb";
1036			companion = <&ohci0>;
1037			power-domains = <&cpg>;
1038			status = "disabled";
1039		};
1040
1041		ehci1: usb@11c70100 {
1042			compatible = "generic-ehci";
1043			reg = <0 0x11c70100 0 0x100>;
1044			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
1045			clocks = <&cpg CPG_MOD R9A07G044_USB_PCLK>,
1046				 <&cpg CPG_MOD R9A07G044_USB_U2H1_HCLK>;
1047			resets = <&phyrst 1>,
1048				 <&cpg R9A07G044_USB_U2H1_HRESETN>;
1049			phys = <&usb2_phy1 2>;
1050			phy-names = "usb";
1051			companion = <&ohci1>;
1052			power-domains = <&cpg>;
1053			status = "disabled";
1054		};
1055
1056		usb2_phy0: usb-phy@11c50200 {
1057			compatible = "renesas,usb2-phy-r9a07g044",
1058				     "renesas,rzg2l-usb2-phy";
1059			reg = <0 0x11c50200 0 0x700>;
1060			interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
1061			clocks = <&cpg CPG_MOD R9A07G044_USB_PCLK>,
1062				 <&cpg CPG_MOD R9A07G044_USB_U2H0_HCLK>;
1063			resets = <&phyrst 0>;
1064			#phy-cells = <1>;
1065			power-domains = <&cpg>;
1066			status = "disabled";
1067		};
1068
1069		usb2_phy1: usb-phy@11c70200 {
1070			compatible = "renesas,usb2-phy-r9a07g044",
1071				     "renesas,rzg2l-usb2-phy";
1072			reg = <0 0x11c70200 0 0x700>;
1073			interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
1074			clocks = <&cpg CPG_MOD R9A07G044_USB_PCLK>,
1075				 <&cpg CPG_MOD R9A07G044_USB_U2H1_HCLK>;
1076			resets = <&phyrst 1>;
1077			#phy-cells = <1>;
1078			power-domains = <&cpg>;
1079			status = "disabled";
1080		};
1081
1082		hsusb: usb@11c60000 {
1083			compatible = "renesas,usbhs-r9a07g044",
1084				     "renesas,rza2-usbhs";
1085			reg = <0 0x11c60000 0 0x10000>;
1086			interrupts = <GIC_SPI 100 IRQ_TYPE_EDGE_RISING>,
1087				     <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
1088				     <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
1089				     <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
1090			clocks = <&cpg CPG_MOD R9A07G044_USB_PCLK>,
1091				 <&cpg CPG_MOD R9A07G044_USB_U2P_EXR_CPUCLK>;
1092			resets = <&phyrst 0>,
1093				 <&cpg R9A07G044_USB_U2P_EXL_SYSRST>;
1094			renesas,buswait = <7>;
1095			phys = <&usb2_phy0 3>;
1096			phy-names = "usb";
1097			power-domains = <&cpg>;
1098			status = "disabled";
1099		};
1100
1101		wdt0: watchdog@12800800 {
1102			compatible = "renesas,r9a07g044-wdt",
1103				     "renesas,rzg2l-wdt";
1104			reg = <0 0x12800800 0 0x400>;
1105			clocks = <&cpg CPG_MOD R9A07G044_WDT0_PCLK>,
1106				 <&cpg CPG_MOD R9A07G044_WDT0_CLK>;
1107			clock-names = "pclk", "oscclk";
1108			interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
1109				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
1110			interrupt-names = "wdt", "perrout";
1111			resets = <&cpg R9A07G044_WDT0_PRESETN>;
1112			power-domains = <&cpg>;
1113			status = "disabled";
1114		};
1115
1116		wdt1: watchdog@12800c00 {
1117			compatible = "renesas,r9a07g044-wdt",
1118				     "renesas,rzg2l-wdt";
1119			reg = <0 0x12800C00 0 0x400>;
1120			clocks = <&cpg CPG_MOD R9A07G044_WDT1_PCLK>,
1121				 <&cpg CPG_MOD R9A07G044_WDT1_CLK>;
1122			clock-names = "pclk", "oscclk";
1123			interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
1124				     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
1125			interrupt-names = "wdt", "perrout";
1126			resets = <&cpg R9A07G044_WDT1_PRESETN>;
1127			power-domains = <&cpg>;
1128			status = "disabled";
1129		};
1130
1131		ostm0: timer@12801000 {
1132			compatible = "renesas,r9a07g044-ostm",
1133				     "renesas,ostm";
1134			reg = <0x0 0x12801000 0x0 0x400>;
1135			interrupts = <GIC_SPI 46 IRQ_TYPE_EDGE_RISING>;
1136			clocks = <&cpg CPG_MOD R9A07G044_OSTM0_PCLK>;
1137			resets = <&cpg R9A07G044_OSTM0_PRESETZ>;
1138			power-domains = <&cpg>;
1139			status = "disabled";
1140		};
1141
1142		ostm1: timer@12801400 {
1143			compatible = "renesas,r9a07g044-ostm",
1144				     "renesas,ostm";
1145			reg = <0x0 0x12801400 0x0 0x400>;
1146			interrupts = <GIC_SPI 47 IRQ_TYPE_EDGE_RISING>;
1147			clocks = <&cpg CPG_MOD R9A07G044_OSTM1_PCLK>;
1148			resets = <&cpg R9A07G044_OSTM1_PRESETZ>;
1149			power-domains = <&cpg>;
1150			status = "disabled";
1151		};
1152
1153		ostm2: timer@12801800 {
1154			compatible = "renesas,r9a07g044-ostm",
1155				     "renesas,ostm";
1156			reg = <0x0 0x12801800 0x0 0x400>;
1157			interrupts = <GIC_SPI 48 IRQ_TYPE_EDGE_RISING>;
1158			clocks = <&cpg CPG_MOD R9A07G044_OSTM2_PCLK>;
1159			resets = <&cpg R9A07G044_OSTM2_PRESETZ>;
1160			power-domains = <&cpg>;
1161			status = "disabled";
1162		};
1163	};
1164
1165	thermal-zones {
1166		cpu-thermal {
1167			polling-delay-passive = <250>;
1168			polling-delay = <1000>;
1169			thermal-sensors = <&tsu 0>;
1170			sustainable-power = <717>;
1171
1172			cooling-maps {
1173				map0 {
1174					trip = <&target>;
1175					cooling-device = <&cpu0 0 2>;
1176					contribution = <1024>;
1177				};
1178			};
1179
1180			trips {
1181				sensor_crit: sensor-crit {
1182					temperature = <125000>;
1183					hysteresis = <1000>;
1184					type = "critical";
1185				};
1186
1187				target: trip-point {
1188					temperature = <100000>;
1189					hysteresis = <1000>;
1190					type = "passive";
1191				};
1192			};
1193		};
1194	};
1195
1196	timer {
1197		compatible = "arm,armv8-timer";
1198		interrupts-extended = <&gic GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
1199				      <&gic GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
1200				      <&gic GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
1201				      <&gic GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
1202	};
1203};
1204