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		fcpvd: fcp@10880000 {
701			compatible = "renesas,r9a07g044-fcpvd",
702				     "renesas,fcpv";
703			reg = <0 0x10880000 0 0x10000>;
704			clocks = <&cpg CPG_MOD R9A07G044_LCDC_CLK_A>,
705				 <&cpg CPG_MOD R9A07G044_LCDC_CLK_P>,
706				 <&cpg CPG_MOD R9A07G044_LCDC_CLK_D>;
707			clock-names = "aclk", "pclk", "vclk";
708			power-domains = <&cpg>;
709			resets = <&cpg R9A07G044_LCDC_RESET_N>;
710		};
711
712		cpg: clock-controller@11010000 {
713			compatible = "renesas,r9a07g044-cpg";
714			reg = <0 0x11010000 0 0x10000>;
715			clocks = <&extal_clk>;
716			clock-names = "extal";
717			#clock-cells = <2>;
718			#reset-cells = <1>;
719			#power-domain-cells = <0>;
720		};
721
722		sysc: system-controller@11020000 {
723			compatible = "renesas,r9a07g044-sysc";
724			reg = <0 0x11020000 0 0x10000>;
725			interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
726				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
727				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
728				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
729			interrupt-names = "lpm_int", "ca55stbydone_int",
730					  "cm33stbyr_int", "ca55_deny";
731			status = "disabled";
732		};
733
734		pinctrl: pinctrl@11030000 {
735			compatible = "renesas,r9a07g044-pinctrl";
736			reg = <0 0x11030000 0 0x10000>;
737			gpio-controller;
738			#gpio-cells = <2>;
739			#interrupt-cells = <2>;
740			interrupt-parent = <&irqc>;
741			interrupt-controller;
742			gpio-ranges = <&pinctrl 0 0 392>;
743			clocks = <&cpg CPG_MOD R9A07G044_GPIO_HCLK>;
744			power-domains = <&cpg>;
745			resets = <&cpg R9A07G044_GPIO_RSTN>,
746				 <&cpg R9A07G044_GPIO_PORT_RESETN>,
747				 <&cpg R9A07G044_GPIO_SPARE_RESETN>;
748		};
749
750		irqc: interrupt-controller@110a0000 {
751			compatible = "renesas,r9a07g044-irqc",
752				     "renesas,rzg2l-irqc";
753			#interrupt-cells = <2>;
754			#address-cells = <0>;
755			interrupt-controller;
756			reg = <0 0x110a0000 0 0x10000>;
757			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
758				     <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
759				     <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
760				     <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
761				     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
762				     <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
763				     <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
764				     <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
765				     <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
766				     <GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>,
767				     <GIC_SPI 445 IRQ_TYPE_LEVEL_HIGH>,
768				     <GIC_SPI 446 IRQ_TYPE_LEVEL_HIGH>,
769				     <GIC_SPI 447 IRQ_TYPE_LEVEL_HIGH>,
770				     <GIC_SPI 448 IRQ_TYPE_LEVEL_HIGH>,
771				     <GIC_SPI 449 IRQ_TYPE_LEVEL_HIGH>,
772				     <GIC_SPI 450 IRQ_TYPE_LEVEL_HIGH>,
773				     <GIC_SPI 451 IRQ_TYPE_LEVEL_HIGH>,
774				     <GIC_SPI 452 IRQ_TYPE_LEVEL_HIGH>,
775				     <GIC_SPI 453 IRQ_TYPE_LEVEL_HIGH>,
776				     <GIC_SPI 454 IRQ_TYPE_LEVEL_HIGH>,
777				     <GIC_SPI 455 IRQ_TYPE_LEVEL_HIGH>,
778				     <GIC_SPI 456 IRQ_TYPE_LEVEL_HIGH>,
779				     <GIC_SPI 457 IRQ_TYPE_LEVEL_HIGH>,
780				     <GIC_SPI 458 IRQ_TYPE_LEVEL_HIGH>,
781				     <GIC_SPI 459 IRQ_TYPE_LEVEL_HIGH>,
782				     <GIC_SPI 460 IRQ_TYPE_LEVEL_HIGH>,
783				     <GIC_SPI 461 IRQ_TYPE_LEVEL_HIGH>,
784				     <GIC_SPI 462 IRQ_TYPE_LEVEL_HIGH>,
785				     <GIC_SPI 463 IRQ_TYPE_LEVEL_HIGH>,
786				     <GIC_SPI 464 IRQ_TYPE_LEVEL_HIGH>,
787				     <GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>,
788				     <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>,
789				     <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>,
790				     <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>,
791				     <GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>,
792				     <GIC_SPI 470 IRQ_TYPE_LEVEL_HIGH>,
793				     <GIC_SPI 471 IRQ_TYPE_LEVEL_HIGH>,
794				     <GIC_SPI 472 IRQ_TYPE_LEVEL_HIGH>,
795				     <GIC_SPI 473 IRQ_TYPE_LEVEL_HIGH>,
796				     <GIC_SPI 474 IRQ_TYPE_LEVEL_HIGH>,
797				     <GIC_SPI 475 IRQ_TYPE_LEVEL_HIGH>;
798			clocks = <&cpg CPG_MOD R9A07G044_IA55_CLK>,
799				 <&cpg CPG_MOD R9A07G044_IA55_PCLK>;
800			clock-names = "clk", "pclk";
801			power-domains = <&cpg>;
802			resets = <&cpg R9A07G044_IA55_RESETN>;
803		};
804
805		dmac: dma-controller@11820000 {
806			compatible = "renesas,r9a07g044-dmac",
807				     "renesas,rz-dmac";
808			reg = <0 0x11820000 0 0x10000>,
809			      <0 0x11830000 0 0x10000>;
810			interrupts = <GIC_SPI 141 IRQ_TYPE_EDGE_RISING>,
811				     <GIC_SPI 125 IRQ_TYPE_EDGE_RISING>,
812				     <GIC_SPI 126 IRQ_TYPE_EDGE_RISING>,
813				     <GIC_SPI 127 IRQ_TYPE_EDGE_RISING>,
814				     <GIC_SPI 128 IRQ_TYPE_EDGE_RISING>,
815				     <GIC_SPI 129 IRQ_TYPE_EDGE_RISING>,
816				     <GIC_SPI 130 IRQ_TYPE_EDGE_RISING>,
817				     <GIC_SPI 131 IRQ_TYPE_EDGE_RISING>,
818				     <GIC_SPI 132 IRQ_TYPE_EDGE_RISING>,
819				     <GIC_SPI 133 IRQ_TYPE_EDGE_RISING>,
820				     <GIC_SPI 134 IRQ_TYPE_EDGE_RISING>,
821				     <GIC_SPI 135 IRQ_TYPE_EDGE_RISING>,
822				     <GIC_SPI 136 IRQ_TYPE_EDGE_RISING>,
823				     <GIC_SPI 137 IRQ_TYPE_EDGE_RISING>,
824				     <GIC_SPI 138 IRQ_TYPE_EDGE_RISING>,
825				     <GIC_SPI 139 IRQ_TYPE_EDGE_RISING>,
826				     <GIC_SPI 140 IRQ_TYPE_EDGE_RISING>;
827			interrupt-names = "error",
828					  "ch0", "ch1", "ch2", "ch3",
829					  "ch4", "ch5", "ch6", "ch7",
830					  "ch8", "ch9", "ch10", "ch11",
831					  "ch12", "ch13", "ch14", "ch15";
832			clocks = <&cpg CPG_MOD R9A07G044_DMAC_ACLK>,
833				 <&cpg CPG_MOD R9A07G044_DMAC_PCLK>;
834			clock-names = "main", "register";
835			power-domains = <&cpg>;
836			resets = <&cpg R9A07G044_DMAC_ARESETN>,
837				 <&cpg R9A07G044_DMAC_RST_ASYNC>;
838			reset-names = "arst", "rst_async";
839			#dma-cells = <1>;
840			dma-channels = <16>;
841		};
842
843		gpu: gpu@11840000 {
844			compatible = "renesas,r9a07g044-mali",
845				     "arm,mali-bifrost";
846			reg = <0x0 0x11840000 0x0 0x10000>;
847			interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
848				     <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>,
849				     <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
850				     <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
851			interrupt-names = "job", "mmu", "gpu", "event";
852			clocks = <&cpg CPG_MOD R9A07G044_GPU_CLK>,
853				 <&cpg CPG_MOD R9A07G044_GPU_AXI_CLK>,
854				 <&cpg CPG_MOD R9A07G044_GPU_ACE_CLK>;
855			clock-names = "gpu", "bus", "bus_ace";
856			power-domains = <&cpg>;
857			resets = <&cpg R9A07G044_GPU_RESETN>,
858				 <&cpg R9A07G044_GPU_AXI_RESETN>,
859				 <&cpg R9A07G044_GPU_ACE_RESETN>;
860			reset-names = "rst", "axi_rst", "ace_rst";
861			operating-points-v2 = <&gpu_opp_table>;
862		};
863
864		gic: interrupt-controller@11900000 {
865			compatible = "arm,gic-v3";
866			#interrupt-cells = <3>;
867			#address-cells = <0>;
868			interrupt-controller;
869			reg = <0x0 0x11900000 0 0x40000>,
870			      <0x0 0x11940000 0 0x60000>;
871			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>;
872		};
873
874		sdhi0: mmc@11c00000 {
875			compatible = "renesas,sdhi-r9a07g044",
876				     "renesas,rcar-gen3-sdhi";
877			reg = <0x0 0x11c00000 0 0x10000>;
878			interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
879				     <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
880			clocks = <&cpg CPG_MOD R9A07G044_SDHI0_IMCLK>,
881				 <&cpg CPG_MOD R9A07G044_SDHI0_CLK_HS>,
882				 <&cpg CPG_MOD R9A07G044_SDHI0_IMCLK2>,
883				 <&cpg CPG_MOD R9A07G044_SDHI0_ACLK>;
884			clock-names = "core", "clkh", "cd", "aclk";
885			resets = <&cpg R9A07G044_SDHI0_IXRST>;
886			power-domains = <&cpg>;
887			status = "disabled";
888		};
889
890		sdhi1: mmc@11c10000 {
891			compatible = "renesas,sdhi-r9a07g044",
892				     "renesas,rcar-gen3-sdhi";
893			reg = <0x0 0x11c10000 0 0x10000>;
894			interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
895				     <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
896			clocks = <&cpg CPG_MOD R9A07G044_SDHI1_IMCLK>,
897				 <&cpg CPG_MOD R9A07G044_SDHI1_CLK_HS>,
898				 <&cpg CPG_MOD R9A07G044_SDHI1_IMCLK2>,
899				 <&cpg CPG_MOD R9A07G044_SDHI1_ACLK>;
900			clock-names = "core", "clkh", "cd", "aclk";
901			resets = <&cpg R9A07G044_SDHI1_IXRST>;
902			power-domains = <&cpg>;
903			status = "disabled";
904		};
905
906		eth0: ethernet@11c20000 {
907			compatible = "renesas,r9a07g044-gbeth",
908				     "renesas,rzg2l-gbeth";
909			reg = <0 0x11c20000 0 0x10000>;
910			interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
911				     <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
912				     <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
913			interrupt-names = "mux", "fil", "arp_ns";
914			phy-mode = "rgmii";
915			clocks = <&cpg CPG_MOD R9A07G044_ETH0_CLK_AXI>,
916				 <&cpg CPG_MOD R9A07G044_ETH0_CLK_CHI>,
917				 <&cpg CPG_CORE R9A07G044_CLK_HP>;
918			clock-names = "axi", "chi", "refclk";
919			resets = <&cpg R9A07G044_ETH0_RST_HW_N>;
920			power-domains = <&cpg>;
921			#address-cells = <1>;
922			#size-cells = <0>;
923			status = "disabled";
924		};
925
926		eth1: ethernet@11c30000 {
927			compatible = "renesas,r9a07g044-gbeth",
928				     "renesas,rzg2l-gbeth";
929			reg = <0 0x11c30000 0 0x10000>;
930			interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
931				     <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>,
932				     <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
933			interrupt-names = "mux", "fil", "arp_ns";
934			phy-mode = "rgmii";
935			clocks = <&cpg CPG_MOD R9A07G044_ETH1_CLK_AXI>,
936				 <&cpg CPG_MOD R9A07G044_ETH1_CLK_CHI>,
937				 <&cpg CPG_CORE R9A07G044_CLK_HP>;
938			clock-names = "axi", "chi", "refclk";
939			resets = <&cpg R9A07G044_ETH1_RST_HW_N>;
940			power-domains = <&cpg>;
941			#address-cells = <1>;
942			#size-cells = <0>;
943			status = "disabled";
944		};
945
946		phyrst: usbphy-ctrl@11c40000 {
947			compatible = "renesas,r9a07g044-usbphy-ctrl",
948				     "renesas,rzg2l-usbphy-ctrl";
949			reg = <0 0x11c40000 0 0x10000>;
950			clocks = <&cpg CPG_MOD R9A07G044_USB_PCLK>;
951			resets = <&cpg R9A07G044_USB_PRESETN>;
952			power-domains = <&cpg>;
953			#reset-cells = <1>;
954			status = "disabled";
955		};
956
957		ohci0: usb@11c50000 {
958			compatible = "generic-ohci";
959			reg = <0 0x11c50000 0 0x100>;
960			interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
961			clocks = <&cpg CPG_MOD R9A07G044_USB_PCLK>,
962				 <&cpg CPG_MOD R9A07G044_USB_U2H0_HCLK>;
963			resets = <&phyrst 0>,
964				 <&cpg R9A07G044_USB_U2H0_HRESETN>;
965			phys = <&usb2_phy0 1>;
966			phy-names = "usb";
967			power-domains = <&cpg>;
968			status = "disabled";
969		};
970
971		ohci1: usb@11c70000 {
972			compatible = "generic-ohci";
973			reg = <0 0x11c70000 0 0x100>;
974			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
975			clocks = <&cpg CPG_MOD R9A07G044_USB_PCLK>,
976				 <&cpg CPG_MOD R9A07G044_USB_U2H1_HCLK>;
977			resets = <&phyrst 1>,
978				 <&cpg R9A07G044_USB_U2H1_HRESETN>;
979			phys = <&usb2_phy1 1>;
980			phy-names = "usb";
981			power-domains = <&cpg>;
982			status = "disabled";
983		};
984
985		ehci0: usb@11c50100 {
986			compatible = "generic-ehci";
987			reg = <0 0x11c50100 0 0x100>;
988			interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
989			clocks = <&cpg CPG_MOD R9A07G044_USB_PCLK>,
990				 <&cpg CPG_MOD R9A07G044_USB_U2H0_HCLK>;
991			resets = <&phyrst 0>,
992				 <&cpg R9A07G044_USB_U2H0_HRESETN>;
993			phys = <&usb2_phy0 2>;
994			phy-names = "usb";
995			companion = <&ohci0>;
996			power-domains = <&cpg>;
997			status = "disabled";
998		};
999
1000		ehci1: usb@11c70100 {
1001			compatible = "generic-ehci";
1002			reg = <0 0x11c70100 0 0x100>;
1003			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
1004			clocks = <&cpg CPG_MOD R9A07G044_USB_PCLK>,
1005				 <&cpg CPG_MOD R9A07G044_USB_U2H1_HCLK>;
1006			resets = <&phyrst 1>,
1007				 <&cpg R9A07G044_USB_U2H1_HRESETN>;
1008			phys = <&usb2_phy1 2>;
1009			phy-names = "usb";
1010			companion = <&ohci1>;
1011			power-domains = <&cpg>;
1012			status = "disabled";
1013		};
1014
1015		usb2_phy0: usb-phy@11c50200 {
1016			compatible = "renesas,usb2-phy-r9a07g044",
1017				     "renesas,rzg2l-usb2-phy";
1018			reg = <0 0x11c50200 0 0x700>;
1019			interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
1020			clocks = <&cpg CPG_MOD R9A07G044_USB_PCLK>,
1021				 <&cpg CPG_MOD R9A07G044_USB_U2H0_HCLK>;
1022			resets = <&phyrst 0>;
1023			#phy-cells = <1>;
1024			power-domains = <&cpg>;
1025			status = "disabled";
1026		};
1027
1028		usb2_phy1: usb-phy@11c70200 {
1029			compatible = "renesas,usb2-phy-r9a07g044",
1030				     "renesas,rzg2l-usb2-phy";
1031			reg = <0 0x11c70200 0 0x700>;
1032			interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
1033			clocks = <&cpg CPG_MOD R9A07G044_USB_PCLK>,
1034				 <&cpg CPG_MOD R9A07G044_USB_U2H1_HCLK>;
1035			resets = <&phyrst 1>;
1036			#phy-cells = <1>;
1037			power-domains = <&cpg>;
1038			status = "disabled";
1039		};
1040
1041		hsusb: usb@11c60000 {
1042			compatible = "renesas,usbhs-r9a07g044",
1043				     "renesas,rza2-usbhs";
1044			reg = <0 0x11c60000 0 0x10000>;
1045			interrupts = <GIC_SPI 100 IRQ_TYPE_EDGE_RISING>,
1046				     <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
1047				     <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
1048				     <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
1049			clocks = <&cpg CPG_MOD R9A07G044_USB_PCLK>,
1050				 <&cpg CPG_MOD R9A07G044_USB_U2P_EXR_CPUCLK>;
1051			resets = <&phyrst 0>,
1052				 <&cpg R9A07G044_USB_U2P_EXL_SYSRST>;
1053			renesas,buswait = <7>;
1054			phys = <&usb2_phy0 3>;
1055			phy-names = "usb";
1056			power-domains = <&cpg>;
1057			status = "disabled";
1058		};
1059
1060		wdt0: watchdog@12800800 {
1061			compatible = "renesas,r9a07g044-wdt",
1062				     "renesas,rzg2l-wdt";
1063			reg = <0 0x12800800 0 0x400>;
1064			clocks = <&cpg CPG_MOD R9A07G044_WDT0_PCLK>,
1065				 <&cpg CPG_MOD R9A07G044_WDT0_CLK>;
1066			clock-names = "pclk", "oscclk";
1067			interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
1068				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
1069			interrupt-names = "wdt", "perrout";
1070			resets = <&cpg R9A07G044_WDT0_PRESETN>;
1071			power-domains = <&cpg>;
1072			status = "disabled";
1073		};
1074
1075		wdt1: watchdog@12800c00 {
1076			compatible = "renesas,r9a07g044-wdt",
1077				     "renesas,rzg2l-wdt";
1078			reg = <0 0x12800C00 0 0x400>;
1079			clocks = <&cpg CPG_MOD R9A07G044_WDT1_PCLK>,
1080				 <&cpg CPG_MOD R9A07G044_WDT1_CLK>;
1081			clock-names = "pclk", "oscclk";
1082			interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
1083				     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
1084			interrupt-names = "wdt", "perrout";
1085			resets = <&cpg R9A07G044_WDT1_PRESETN>;
1086			power-domains = <&cpg>;
1087			status = "disabled";
1088		};
1089
1090		ostm0: timer@12801000 {
1091			compatible = "renesas,r9a07g044-ostm",
1092				     "renesas,ostm";
1093			reg = <0x0 0x12801000 0x0 0x400>;
1094			interrupts = <GIC_SPI 46 IRQ_TYPE_EDGE_RISING>;
1095			clocks = <&cpg CPG_MOD R9A07G044_OSTM0_PCLK>;
1096			resets = <&cpg R9A07G044_OSTM0_PRESETZ>;
1097			power-domains = <&cpg>;
1098			status = "disabled";
1099		};
1100
1101		ostm1: timer@12801400 {
1102			compatible = "renesas,r9a07g044-ostm",
1103				     "renesas,ostm";
1104			reg = <0x0 0x12801400 0x0 0x400>;
1105			interrupts = <GIC_SPI 47 IRQ_TYPE_EDGE_RISING>;
1106			clocks = <&cpg CPG_MOD R9A07G044_OSTM1_PCLK>;
1107			resets = <&cpg R9A07G044_OSTM1_PRESETZ>;
1108			power-domains = <&cpg>;
1109			status = "disabled";
1110		};
1111
1112		ostm2: timer@12801800 {
1113			compatible = "renesas,r9a07g044-ostm",
1114				     "renesas,ostm";
1115			reg = <0x0 0x12801800 0x0 0x400>;
1116			interrupts = <GIC_SPI 48 IRQ_TYPE_EDGE_RISING>;
1117			clocks = <&cpg CPG_MOD R9A07G044_OSTM2_PCLK>;
1118			resets = <&cpg R9A07G044_OSTM2_PRESETZ>;
1119			power-domains = <&cpg>;
1120			status = "disabled";
1121		};
1122	};
1123
1124	thermal-zones {
1125		cpu-thermal {
1126			polling-delay-passive = <250>;
1127			polling-delay = <1000>;
1128			thermal-sensors = <&tsu 0>;
1129			sustainable-power = <717>;
1130
1131			cooling-maps {
1132				map0 {
1133					trip = <&target>;
1134					cooling-device = <&cpu0 0 2>;
1135					contribution = <1024>;
1136				};
1137			};
1138
1139			trips {
1140				sensor_crit: sensor-crit {
1141					temperature = <125000>;
1142					hysteresis = <1000>;
1143					type = "critical";
1144				};
1145
1146				target: trip-point {
1147					temperature = <100000>;
1148					hysteresis = <1000>;
1149					type = "passive";
1150				};
1151			};
1152		};
1153	};
1154
1155	timer {
1156		compatible = "arm,armv8-timer";
1157		interrupts-extended = <&gic GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
1158				      <&gic GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
1159				      <&gic GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
1160				      <&gic GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
1161	};
1162};
1163