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