xref: /freebsd/sys/contrib/device-tree/src/arm64/renesas/r9a09g056.dtsi (revision 833e5d42ab135b0238e61c5b3c19b8619677cbfa)
1ae5de77eSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2ae5de77eSEmmanuel Vadot/*
3ae5de77eSEmmanuel Vadot * Device Tree Source for the RZ/V2N SoC
4ae5de77eSEmmanuel Vadot *
5ae5de77eSEmmanuel Vadot * Copyright (C) 2025 Renesas Electronics Corp.
6ae5de77eSEmmanuel Vadot */
7ae5de77eSEmmanuel Vadot
8ae5de77eSEmmanuel Vadot#include <dt-bindings/clock/renesas,r9a09g056-cpg.h>
9ae5de77eSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h>
10ae5de77eSEmmanuel Vadot#include <dt-bindings/pinctrl/rzg2l-pinctrl.h>
11ae5de77eSEmmanuel Vadot
12ae5de77eSEmmanuel Vadot/* RZV2N_Px = Offset address of PFC_P_mn  - 0x20 */
13ae5de77eSEmmanuel Vadot#define RZV2N_P0	0
14ae5de77eSEmmanuel Vadot#define RZV2N_P1	1
15ae5de77eSEmmanuel Vadot#define RZV2N_P2	2
16ae5de77eSEmmanuel Vadot#define RZV2N_P3	3
17ae5de77eSEmmanuel Vadot#define RZV2N_P4	4
18ae5de77eSEmmanuel Vadot#define RZV2N_P5	5
19ae5de77eSEmmanuel Vadot#define RZV2N_P6	6
20ae5de77eSEmmanuel Vadot#define RZV2N_P7	7
21ae5de77eSEmmanuel Vadot#define RZV2N_P8	8
22ae5de77eSEmmanuel Vadot#define RZV2N_P9	9
23ae5de77eSEmmanuel Vadot#define RZV2N_PA	10
24ae5de77eSEmmanuel Vadot#define RZV2N_PB	11
25ae5de77eSEmmanuel Vadot
26ae5de77eSEmmanuel Vadot#define RZV2N_PORT_PINMUX(b, p, f)	RZG2L_PORT_PINMUX(RZV2N_P##b, p, f)
27ae5de77eSEmmanuel Vadot#define RZV2N_GPIO(port, pin)		RZG2L_GPIO(RZV2N_P##port, pin)
28ae5de77eSEmmanuel Vadot
29ae5de77eSEmmanuel Vadot/ {
30ae5de77eSEmmanuel Vadot	compatible = "renesas,r9a09g056";
31ae5de77eSEmmanuel Vadot	#address-cells = <2>;
32ae5de77eSEmmanuel Vadot	#size-cells = <2>;
33ae5de77eSEmmanuel Vadot
34ae5de77eSEmmanuel Vadot	audio_extal_clk: audio-clk {
35ae5de77eSEmmanuel Vadot		compatible = "fixed-clock";
36ae5de77eSEmmanuel Vadot		#clock-cells = <0>;
37ae5de77eSEmmanuel Vadot		/* This value must be overridden by the board */
38ae5de77eSEmmanuel Vadot		clock-frequency = <0>;
39ae5de77eSEmmanuel Vadot	};
40ae5de77eSEmmanuel Vadot
41ae5de77eSEmmanuel Vadot	/*
42ae5de77eSEmmanuel Vadot	 * The default cluster table is based on the assumption that the PLLCA55 clock
43ae5de77eSEmmanuel Vadot	 * frequency is set to 1.7GHz. The PLLCA55 clock frequency can be set to
44ae5de77eSEmmanuel Vadot	 * 1.7/1.6/1.5/1.1 GHz based on the BOOTPLLCA_0/1 pins (and additionally can be
45ae5de77eSEmmanuel Vadot	 * clocked to 1.8GHz as well). The table below should be overridden in the board
46ae5de77eSEmmanuel Vadot	 * DTS based on the PLLCA55 clock frequency.
47ae5de77eSEmmanuel Vadot	 */
48ae5de77eSEmmanuel Vadot	cluster0_opp: opp-table-0 {
49ae5de77eSEmmanuel Vadot		compatible = "operating-points-v2";
50ae5de77eSEmmanuel Vadot
51ae5de77eSEmmanuel Vadot		opp-1700000000 {
52ae5de77eSEmmanuel Vadot			opp-hz = /bits/ 64 <1700000000>;
53ae5de77eSEmmanuel Vadot			opp-microvolt = <900000>;
54ae5de77eSEmmanuel Vadot			clock-latency-ns = <300000>;
55ae5de77eSEmmanuel Vadot		};
56ae5de77eSEmmanuel Vadot		opp-850000000 {
57ae5de77eSEmmanuel Vadot			opp-hz = /bits/ 64 <850000000>;
58ae5de77eSEmmanuel Vadot			opp-microvolt = <800000>;
59ae5de77eSEmmanuel Vadot			clock-latency-ns = <300000>;
60ae5de77eSEmmanuel Vadot		};
61ae5de77eSEmmanuel Vadot		opp-425000000 {
62ae5de77eSEmmanuel Vadot			opp-hz = /bits/ 64 <425000000>;
63ae5de77eSEmmanuel Vadot			opp-microvolt = <800000>;
64ae5de77eSEmmanuel Vadot			clock-latency-ns = <300000>;
65ae5de77eSEmmanuel Vadot		};
66ae5de77eSEmmanuel Vadot		opp-212500000 {
67ae5de77eSEmmanuel Vadot			opp-hz = /bits/ 64 <212500000>;
68ae5de77eSEmmanuel Vadot			opp-microvolt = <800000>;
69ae5de77eSEmmanuel Vadot			clock-latency-ns = <300000>;
70ae5de77eSEmmanuel Vadot			opp-suspend;
71ae5de77eSEmmanuel Vadot		};
72ae5de77eSEmmanuel Vadot	};
73ae5de77eSEmmanuel Vadot
74ae5de77eSEmmanuel Vadot	cpus {
75ae5de77eSEmmanuel Vadot		#address-cells = <1>;
76ae5de77eSEmmanuel Vadot		#size-cells = <0>;
77ae5de77eSEmmanuel Vadot
78ae5de77eSEmmanuel Vadot		cpu0: cpu@0 {
79ae5de77eSEmmanuel Vadot			compatible = "arm,cortex-a55";
80ae5de77eSEmmanuel Vadot			reg = <0>;
81ae5de77eSEmmanuel Vadot			device_type = "cpu";
82ae5de77eSEmmanuel Vadot			next-level-cache = <&L3_CA55>;
83ae5de77eSEmmanuel Vadot			enable-method = "psci";
84ae5de77eSEmmanuel Vadot			clocks = <&cpg CPG_CORE R9A09G056_CA55_0_CORE_CLK0>;
85ae5de77eSEmmanuel Vadot			operating-points-v2 = <&cluster0_opp>;
86ae5de77eSEmmanuel Vadot		};
87ae5de77eSEmmanuel Vadot
88ae5de77eSEmmanuel Vadot		cpu1: cpu@100 {
89ae5de77eSEmmanuel Vadot			compatible = "arm,cortex-a55";
90ae5de77eSEmmanuel Vadot			reg = <0x100>;
91ae5de77eSEmmanuel Vadot			device_type = "cpu";
92ae5de77eSEmmanuel Vadot			next-level-cache = <&L3_CA55>;
93ae5de77eSEmmanuel Vadot			enable-method = "psci";
94ae5de77eSEmmanuel Vadot			clocks = <&cpg CPG_CORE R9A09G056_CA55_0_CORE_CLK1>;
95ae5de77eSEmmanuel Vadot			operating-points-v2 = <&cluster0_opp>;
96ae5de77eSEmmanuel Vadot		};
97ae5de77eSEmmanuel Vadot
98ae5de77eSEmmanuel Vadot		cpu2: cpu@200 {
99ae5de77eSEmmanuel Vadot			compatible = "arm,cortex-a55";
100ae5de77eSEmmanuel Vadot			reg = <0x200>;
101ae5de77eSEmmanuel Vadot			device_type = "cpu";
102ae5de77eSEmmanuel Vadot			next-level-cache = <&L3_CA55>;
103ae5de77eSEmmanuel Vadot			enable-method = "psci";
104ae5de77eSEmmanuel Vadot			clocks = <&cpg CPG_CORE R9A09G056_CA55_0_CORE_CLK2>;
105ae5de77eSEmmanuel Vadot			operating-points-v2 = <&cluster0_opp>;
106ae5de77eSEmmanuel Vadot		};
107ae5de77eSEmmanuel Vadot
108ae5de77eSEmmanuel Vadot		cpu3: cpu@300 {
109ae5de77eSEmmanuel Vadot			compatible = "arm,cortex-a55";
110ae5de77eSEmmanuel Vadot			reg = <0x300>;
111ae5de77eSEmmanuel Vadot			device_type = "cpu";
112ae5de77eSEmmanuel Vadot			next-level-cache = <&L3_CA55>;
113ae5de77eSEmmanuel Vadot			enable-method = "psci";
114ae5de77eSEmmanuel Vadot			clocks = <&cpg CPG_CORE R9A09G056_CA55_0_CORE_CLK3>;
115ae5de77eSEmmanuel Vadot			operating-points-v2 = <&cluster0_opp>;
116ae5de77eSEmmanuel Vadot		};
117ae5de77eSEmmanuel Vadot
118ae5de77eSEmmanuel Vadot		L3_CA55: cache-controller-0 {
119ae5de77eSEmmanuel Vadot			compatible = "cache";
120ae5de77eSEmmanuel Vadot			cache-unified;
121ae5de77eSEmmanuel Vadot			cache-size = <0x100000>;
122ae5de77eSEmmanuel Vadot			cache-level = <3>;
123ae5de77eSEmmanuel Vadot		};
124ae5de77eSEmmanuel Vadot	};
125ae5de77eSEmmanuel Vadot
126*833e5d42SEmmanuel Vadot	gpu_opp_table: opp-table-1 {
127*833e5d42SEmmanuel Vadot		compatible = "operating-points-v2";
128*833e5d42SEmmanuel Vadot
129*833e5d42SEmmanuel Vadot		opp-630000000 {
130*833e5d42SEmmanuel Vadot			opp-hz = /bits/ 64 <630000000>;
131*833e5d42SEmmanuel Vadot			opp-microvolt = <800000>;
132*833e5d42SEmmanuel Vadot		};
133*833e5d42SEmmanuel Vadot
134*833e5d42SEmmanuel Vadot		opp-315000000 {
135*833e5d42SEmmanuel Vadot			opp-hz = /bits/ 64 <315000000>;
136*833e5d42SEmmanuel Vadot			opp-microvolt = <800000>;
137*833e5d42SEmmanuel Vadot		};
138*833e5d42SEmmanuel Vadot
139*833e5d42SEmmanuel Vadot		opp-157500000 {
140*833e5d42SEmmanuel Vadot			opp-hz = /bits/ 64 <157500000>;
141*833e5d42SEmmanuel Vadot			opp-microvolt = <800000>;
142*833e5d42SEmmanuel Vadot		};
143*833e5d42SEmmanuel Vadot
144*833e5d42SEmmanuel Vadot		opp-78750000 {
145*833e5d42SEmmanuel Vadot			opp-hz = /bits/ 64 <78750000>;
146*833e5d42SEmmanuel Vadot			opp-microvolt = <800000>;
147*833e5d42SEmmanuel Vadot		};
148*833e5d42SEmmanuel Vadot
149*833e5d42SEmmanuel Vadot		opp-19687500 {
150*833e5d42SEmmanuel Vadot			opp-hz = /bits/ 64 <19687500>;
151*833e5d42SEmmanuel Vadot			opp-microvolt = <800000>;
152*833e5d42SEmmanuel Vadot		};
153*833e5d42SEmmanuel Vadot	};
154*833e5d42SEmmanuel Vadot
155ae5de77eSEmmanuel Vadot	psci {
156ae5de77eSEmmanuel Vadot		compatible = "arm,psci-1.0", "arm,psci-0.2";
157ae5de77eSEmmanuel Vadot		method = "smc";
158ae5de77eSEmmanuel Vadot	};
159ae5de77eSEmmanuel Vadot
160ae5de77eSEmmanuel Vadot	qextal_clk: qextal-clk {
161ae5de77eSEmmanuel Vadot		compatible = "fixed-clock";
162ae5de77eSEmmanuel Vadot		#clock-cells = <0>;
163ae5de77eSEmmanuel Vadot		/* This value must be overridden by the board */
164ae5de77eSEmmanuel Vadot		clock-frequency = <0>;
165ae5de77eSEmmanuel Vadot	};
166ae5de77eSEmmanuel Vadot
167ae5de77eSEmmanuel Vadot	rtxin_clk: rtxin-clk {
168ae5de77eSEmmanuel Vadot		compatible = "fixed-clock";
169ae5de77eSEmmanuel Vadot		#clock-cells = <0>;
170ae5de77eSEmmanuel Vadot		/* This value must be overridden by the board */
171ae5de77eSEmmanuel Vadot		clock-frequency = <0>;
172ae5de77eSEmmanuel Vadot	};
173ae5de77eSEmmanuel Vadot
174ae5de77eSEmmanuel Vadot	soc: soc {
175ae5de77eSEmmanuel Vadot		compatible = "simple-bus";
176ae5de77eSEmmanuel Vadot		interrupt-parent = <&gic>;
177ae5de77eSEmmanuel Vadot		#address-cells = <2>;
178ae5de77eSEmmanuel Vadot		#size-cells = <2>;
179ae5de77eSEmmanuel Vadot		ranges;
180ae5de77eSEmmanuel Vadot
181ae5de77eSEmmanuel Vadot		pinctrl: pinctrl@10410000 {
182ae5de77eSEmmanuel Vadot			compatible = "renesas,r9a09g056-pinctrl";
183ae5de77eSEmmanuel Vadot			reg = <0 0x10410000 0 0x10000>;
184ae5de77eSEmmanuel Vadot			clocks = <&cpg CPG_CORE R9A09G056_IOTOP_0_SHCLK>;
185ae5de77eSEmmanuel Vadot			gpio-controller;
186ae5de77eSEmmanuel Vadot			#gpio-cells = <2>;
187ae5de77eSEmmanuel Vadot			gpio-ranges = <&pinctrl 0 0 96>;
188ae5de77eSEmmanuel Vadot			power-domains = <&cpg>;
189ae5de77eSEmmanuel Vadot			resets = <&cpg 0xa5>, <&cpg 0xa6>;
190ae5de77eSEmmanuel Vadot		};
191ae5de77eSEmmanuel Vadot
192ae5de77eSEmmanuel Vadot		cpg: clock-controller@10420000 {
193ae5de77eSEmmanuel Vadot			compatible = "renesas,r9a09g056-cpg";
194ae5de77eSEmmanuel Vadot			reg = <0 0x10420000 0 0x10000>;
195ae5de77eSEmmanuel Vadot			clocks = <&audio_extal_clk>, <&rtxin_clk>, <&qextal_clk>;
196ae5de77eSEmmanuel Vadot			clock-names = "audio_extal", "rtxin", "qextal";
197ae5de77eSEmmanuel Vadot			#clock-cells = <2>;
198ae5de77eSEmmanuel Vadot			#reset-cells = <1>;
199ae5de77eSEmmanuel Vadot			#power-domain-cells = <0>;
200ae5de77eSEmmanuel Vadot		};
201ae5de77eSEmmanuel Vadot
202ae5de77eSEmmanuel Vadot		sys: system-controller@10430000 {
203ae5de77eSEmmanuel Vadot			compatible = "renesas,r9a09g056-sys";
204ae5de77eSEmmanuel Vadot			reg = <0 0x10430000 0 0x10000>;
205ae5de77eSEmmanuel Vadot			clocks = <&cpg CPG_CORE R9A09G056_SYS_0_PCLK>;
206ae5de77eSEmmanuel Vadot			resets = <&cpg 0x30>;
207ae5de77eSEmmanuel Vadot		};
208ae5de77eSEmmanuel Vadot
209*833e5d42SEmmanuel Vadot		xspi: spi@11030000 {
210*833e5d42SEmmanuel Vadot			compatible = "renesas,r9a09g056-xspi", "renesas,r9a09g047-xspi";
211*833e5d42SEmmanuel Vadot			reg = <0 0x11030000 0 0x10000>,
212*833e5d42SEmmanuel Vadot			      <0 0x20000000 0 0x10000000>;
213*833e5d42SEmmanuel Vadot			reg-names = "regs", "dirmap";
214*833e5d42SEmmanuel Vadot			interrupts = <GIC_SPI 228 IRQ_TYPE_EDGE_RISING>,
215*833e5d42SEmmanuel Vadot				     <GIC_SPI 229 IRQ_TYPE_EDGE_RISING>;
216*833e5d42SEmmanuel Vadot			interrupt-names = "pulse", "err_pulse";
217*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x9f>,
218*833e5d42SEmmanuel Vadot				 <&cpg CPG_MOD 0xa0>,
219*833e5d42SEmmanuel Vadot				 <&cpg CPG_CORE R9A09G056_SPI_CLK_SPI>,
220*833e5d42SEmmanuel Vadot				 <&cpg CPG_MOD 0xa1>;
221*833e5d42SEmmanuel Vadot			clock-names = "ahb", "axi", "spi", "spix2";
222*833e5d42SEmmanuel Vadot			resets = <&cpg 0xa3>, <&cpg 0xa4>;
223*833e5d42SEmmanuel Vadot			reset-names = "hresetn", "aresetn";
224*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
225*833e5d42SEmmanuel Vadot			#address-cells = <1>;
226*833e5d42SEmmanuel Vadot			#size-cells = <0>;
227*833e5d42SEmmanuel Vadot			status = "disabled";
228*833e5d42SEmmanuel Vadot		};
229*833e5d42SEmmanuel Vadot
230*833e5d42SEmmanuel Vadot		ostm0: timer@11800000 {
231*833e5d42SEmmanuel Vadot			compatible = "renesas,r9a09g056-ostm", "renesas,ostm";
232*833e5d42SEmmanuel Vadot			reg = <0x0 0x11800000 0x0 0x1000>;
233*833e5d42SEmmanuel Vadot			interrupts = <GIC_SPI 17 IRQ_TYPE_EDGE_RISING>;
234*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x43>;
235*833e5d42SEmmanuel Vadot			resets = <&cpg 0x6d>;
236*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
237*833e5d42SEmmanuel Vadot			status = "disabled";
238*833e5d42SEmmanuel Vadot		};
239*833e5d42SEmmanuel Vadot
240*833e5d42SEmmanuel Vadot		ostm1: timer@11801000 {
241*833e5d42SEmmanuel Vadot			compatible = "renesas,r9a09g056-ostm", "renesas,ostm";
242*833e5d42SEmmanuel Vadot			reg = <0x0 0x11801000 0x0 0x1000>;
243*833e5d42SEmmanuel Vadot			interrupts = <GIC_SPI 18 IRQ_TYPE_EDGE_RISING>;
244*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x44>;
245*833e5d42SEmmanuel Vadot			resets = <&cpg 0x6e>;
246*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
247*833e5d42SEmmanuel Vadot			status = "disabled";
248*833e5d42SEmmanuel Vadot		};
249*833e5d42SEmmanuel Vadot
250*833e5d42SEmmanuel Vadot		ostm2: timer@14000000 {
251*833e5d42SEmmanuel Vadot			compatible = "renesas,r9a09g056-ostm", "renesas,ostm";
252*833e5d42SEmmanuel Vadot			reg = <0x0 0x14000000 0x0 0x1000>;
253*833e5d42SEmmanuel Vadot			interrupts = <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>;
254*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x45>;
255*833e5d42SEmmanuel Vadot			resets = <&cpg 0x6f>;
256*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
257*833e5d42SEmmanuel Vadot			status = "disabled";
258*833e5d42SEmmanuel Vadot		};
259*833e5d42SEmmanuel Vadot
260*833e5d42SEmmanuel Vadot		ostm3: timer@14001000 {
261*833e5d42SEmmanuel Vadot			compatible = "renesas,r9a09g056-ostm", "renesas,ostm";
262*833e5d42SEmmanuel Vadot			reg = <0x0 0x14001000 0x0 0x1000>;
263*833e5d42SEmmanuel Vadot			interrupts = <GIC_SPI 20 IRQ_TYPE_EDGE_RISING>;
264*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x46>;
265*833e5d42SEmmanuel Vadot			resets = <&cpg 0x70>;
266*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
267*833e5d42SEmmanuel Vadot			status = "disabled";
268*833e5d42SEmmanuel Vadot		};
269*833e5d42SEmmanuel Vadot
270*833e5d42SEmmanuel Vadot		ostm4: timer@12c00000 {
271*833e5d42SEmmanuel Vadot			compatible = "renesas,r9a09g056-ostm", "renesas,ostm";
272*833e5d42SEmmanuel Vadot			reg = <0x0 0x12c00000 0x0 0x1000>;
273*833e5d42SEmmanuel Vadot			interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>;
274*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x47>;
275*833e5d42SEmmanuel Vadot			resets = <&cpg 0x71>;
276*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
277*833e5d42SEmmanuel Vadot			status = "disabled";
278*833e5d42SEmmanuel Vadot		};
279*833e5d42SEmmanuel Vadot
280*833e5d42SEmmanuel Vadot		ostm5: timer@12c01000 {
281*833e5d42SEmmanuel Vadot			compatible = "renesas,r9a09g056-ostm", "renesas,ostm";
282*833e5d42SEmmanuel Vadot			reg = <0x0 0x12c01000 0x0 0x1000>;
283*833e5d42SEmmanuel Vadot			interrupts = <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>;
284*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x48>;
285*833e5d42SEmmanuel Vadot			resets = <&cpg 0x72>;
286*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
287*833e5d42SEmmanuel Vadot			status = "disabled";
288*833e5d42SEmmanuel Vadot		};
289*833e5d42SEmmanuel Vadot
290*833e5d42SEmmanuel Vadot		ostm6: timer@12c02000 {
291*833e5d42SEmmanuel Vadot			compatible = "renesas,r9a09g056-ostm", "renesas,ostm";
292*833e5d42SEmmanuel Vadot			reg = <0x0 0x12c02000 0x0 0x1000>;
293*833e5d42SEmmanuel Vadot			interrupts = <GIC_SPI 23 IRQ_TYPE_EDGE_RISING>;
294*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x49>;
295*833e5d42SEmmanuel Vadot			resets = <&cpg 0x73>;
296*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
297*833e5d42SEmmanuel Vadot			status = "disabled";
298*833e5d42SEmmanuel Vadot		};
299*833e5d42SEmmanuel Vadot
300*833e5d42SEmmanuel Vadot		ostm7: timer@12c03000 {
301*833e5d42SEmmanuel Vadot			compatible = "renesas,r9a09g056-ostm", "renesas,ostm";
302*833e5d42SEmmanuel Vadot			reg = <0x0 0x12c03000 0x0 0x1000>;
303*833e5d42SEmmanuel Vadot			interrupts = <GIC_SPI 24 IRQ_TYPE_EDGE_RISING>;
304*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x4a>;
305*833e5d42SEmmanuel Vadot			resets = <&cpg 0x74>;
306*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
307*833e5d42SEmmanuel Vadot			status = "disabled";
308*833e5d42SEmmanuel Vadot		};
309*833e5d42SEmmanuel Vadot
310*833e5d42SEmmanuel Vadot		wdt0: watchdog@11c00400 {
311*833e5d42SEmmanuel Vadot			compatible = "renesas,r9a09g056-wdt", "renesas,r9a09g057-wdt";
312*833e5d42SEmmanuel Vadot			reg = <0 0x11c00400 0 0x400>;
313*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x4b>, <&cpg CPG_MOD 0x4c>;
314*833e5d42SEmmanuel Vadot			clock-names = "pclk", "oscclk";
315*833e5d42SEmmanuel Vadot			resets = <&cpg 0x75>;
316*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
317*833e5d42SEmmanuel Vadot			status = "disabled";
318*833e5d42SEmmanuel Vadot		};
319*833e5d42SEmmanuel Vadot
320*833e5d42SEmmanuel Vadot		wdt1: watchdog@14400000 {
321*833e5d42SEmmanuel Vadot			compatible = "renesas,r9a09g056-wdt", "renesas,r9a09g057-wdt";
322*833e5d42SEmmanuel Vadot			reg = <0 0x14400000 0 0x400>;
323*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x4d>, <&cpg CPG_MOD 0x4e>;
324*833e5d42SEmmanuel Vadot			clock-names = "pclk", "oscclk";
325*833e5d42SEmmanuel Vadot			resets = <&cpg 0x76>;
326*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
327*833e5d42SEmmanuel Vadot			status = "disabled";
328*833e5d42SEmmanuel Vadot		};
329*833e5d42SEmmanuel Vadot
330*833e5d42SEmmanuel Vadot		wdt2: watchdog@13000000 {
331*833e5d42SEmmanuel Vadot			compatible = "renesas,r9a09g056-wdt", "renesas,r9a09g057-wdt";
332*833e5d42SEmmanuel Vadot			reg = <0 0x13000000 0 0x400>;
333*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x4f>, <&cpg CPG_MOD 0x50>;
334*833e5d42SEmmanuel Vadot			clock-names = "pclk", "oscclk";
335*833e5d42SEmmanuel Vadot			resets = <&cpg 0x77>;
336*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
337*833e5d42SEmmanuel Vadot			status = "disabled";
338*833e5d42SEmmanuel Vadot		};
339*833e5d42SEmmanuel Vadot
340*833e5d42SEmmanuel Vadot		wdt3: watchdog@13000400 {
341*833e5d42SEmmanuel Vadot			compatible = "renesas,r9a09g056-wdt", "renesas,r9a09g057-wdt";
342*833e5d42SEmmanuel Vadot			reg = <0 0x13000400 0 0x400>;
343*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x51>, <&cpg CPG_MOD 0x52>;
344*833e5d42SEmmanuel Vadot			clock-names = "pclk", "oscclk";
345*833e5d42SEmmanuel Vadot			resets = <&cpg 0x78>;
346*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
347*833e5d42SEmmanuel Vadot			status = "disabled";
348*833e5d42SEmmanuel Vadot		};
349*833e5d42SEmmanuel Vadot
350ae5de77eSEmmanuel Vadot		scif: serial@11c01400 {
351ae5de77eSEmmanuel Vadot			compatible = "renesas,scif-r9a09g056",
352ae5de77eSEmmanuel Vadot				     "renesas,scif-r9a09g057";
353ae5de77eSEmmanuel Vadot			reg = <0 0x11c01400 0 0x400>;
354ae5de77eSEmmanuel Vadot			interrupts = <GIC_SPI 529 IRQ_TYPE_LEVEL_HIGH>,
355ae5de77eSEmmanuel Vadot				     <GIC_SPI 532 IRQ_TYPE_LEVEL_HIGH>,
356ae5de77eSEmmanuel Vadot				     <GIC_SPI 533 IRQ_TYPE_LEVEL_HIGH>,
357ae5de77eSEmmanuel Vadot				     <GIC_SPI 530 IRQ_TYPE_LEVEL_HIGH>,
358ae5de77eSEmmanuel Vadot				     <GIC_SPI 534 IRQ_TYPE_LEVEL_HIGH>,
359ae5de77eSEmmanuel Vadot				     <GIC_SPI 531 IRQ_TYPE_LEVEL_HIGH>,
360ae5de77eSEmmanuel Vadot				     <GIC_SPI 535 IRQ_TYPE_LEVEL_HIGH>,
361ae5de77eSEmmanuel Vadot				     <GIC_SPI 536 IRQ_TYPE_EDGE_RISING>,
362ae5de77eSEmmanuel Vadot				     <GIC_SPI 537 IRQ_TYPE_EDGE_RISING>;
363ae5de77eSEmmanuel Vadot			interrupt-names = "eri", "rxi", "txi", "bri", "dri",
364ae5de77eSEmmanuel Vadot					  "tei", "tei-dri", "rxi-edge", "txi-edge";
365ae5de77eSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x8f>;
366ae5de77eSEmmanuel Vadot			clock-names = "fck";
367ae5de77eSEmmanuel Vadot			power-domains = <&cpg>;
368ae5de77eSEmmanuel Vadot			resets = <&cpg 0x95>;
369ae5de77eSEmmanuel Vadot			status = "disabled";
370ae5de77eSEmmanuel Vadot		};
371ae5de77eSEmmanuel Vadot
372*833e5d42SEmmanuel Vadot		i2c0: i2c@14400400 {
373*833e5d42SEmmanuel Vadot			compatible = "renesas,riic-r9a09g056", "renesas,riic-r9a09g057";
374*833e5d42SEmmanuel Vadot			reg = <0 0x14400400 0 0x400>;
375*833e5d42SEmmanuel Vadot			interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>,
376*833e5d42SEmmanuel Vadot				     <GIC_SPI 507 IRQ_TYPE_EDGE_RISING>,
377*833e5d42SEmmanuel Vadot				     <GIC_SPI 506 IRQ_TYPE_EDGE_RISING>,
378*833e5d42SEmmanuel Vadot				     <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>,
379*833e5d42SEmmanuel Vadot				     <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>,
380*833e5d42SEmmanuel Vadot				     <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>,
381*833e5d42SEmmanuel Vadot				     <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>,
382*833e5d42SEmmanuel Vadot				     <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>;
383*833e5d42SEmmanuel Vadot			interrupt-names = "tei", "ri", "ti", "spi", "sti",
384*833e5d42SEmmanuel Vadot					  "naki", "ali", "tmoi";
385*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x94>;
386*833e5d42SEmmanuel Vadot			resets = <&cpg 0x98>;
387*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
388*833e5d42SEmmanuel Vadot			#address-cells = <1>;
389*833e5d42SEmmanuel Vadot			#size-cells = <0>;
390*833e5d42SEmmanuel Vadot			status = "disabled";
391*833e5d42SEmmanuel Vadot		};
392*833e5d42SEmmanuel Vadot
393*833e5d42SEmmanuel Vadot		i2c1: i2c@14400800 {
394*833e5d42SEmmanuel Vadot			compatible = "renesas,riic-r9a09g056", "renesas,riic-r9a09g057";
395*833e5d42SEmmanuel Vadot			reg = <0 0x14400800 0 0x400>;
396*833e5d42SEmmanuel Vadot			interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>,
397*833e5d42SEmmanuel Vadot				     <GIC_SPI 509 IRQ_TYPE_EDGE_RISING>,
398*833e5d42SEmmanuel Vadot				     <GIC_SPI 508 IRQ_TYPE_EDGE_RISING>,
399*833e5d42SEmmanuel Vadot				     <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
400*833e5d42SEmmanuel Vadot				     <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
401*833e5d42SEmmanuel Vadot				     <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
402*833e5d42SEmmanuel Vadot				     <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
403*833e5d42SEmmanuel Vadot				     <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>;
404*833e5d42SEmmanuel Vadot			interrupt-names = "tei", "ri", "ti", "spi", "sti",
405*833e5d42SEmmanuel Vadot					  "naki", "ali", "tmoi";
406*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x95>;
407*833e5d42SEmmanuel Vadot			resets = <&cpg 0x99>;
408*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
409*833e5d42SEmmanuel Vadot			#address-cells = <1>;
410*833e5d42SEmmanuel Vadot			#size-cells = <0>;
411*833e5d42SEmmanuel Vadot			status = "disabled";
412*833e5d42SEmmanuel Vadot		};
413*833e5d42SEmmanuel Vadot
414*833e5d42SEmmanuel Vadot		i2c2: i2c@14400c00 {
415*833e5d42SEmmanuel Vadot			compatible = "renesas,riic-r9a09g056", "renesas,riic-r9a09g057";
416*833e5d42SEmmanuel Vadot			reg = <0 0x14400c00 0 0x400>;
417*833e5d42SEmmanuel Vadot			interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
418*833e5d42SEmmanuel Vadot				     <GIC_SPI 511 IRQ_TYPE_EDGE_RISING>,
419*833e5d42SEmmanuel Vadot				     <GIC_SPI 510 IRQ_TYPE_EDGE_RISING>,
420*833e5d42SEmmanuel Vadot				     <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
421*833e5d42SEmmanuel Vadot				     <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
422*833e5d42SEmmanuel Vadot				     <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
423*833e5d42SEmmanuel Vadot				     <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
424*833e5d42SEmmanuel Vadot				     <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
425*833e5d42SEmmanuel Vadot			interrupt-names = "tei", "ri", "ti", "spi", "sti",
426*833e5d42SEmmanuel Vadot					  "naki", "ali", "tmoi";
427*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x96>;
428*833e5d42SEmmanuel Vadot			resets = <&cpg 0x9a>;
429*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
430*833e5d42SEmmanuel Vadot			#address-cells = <1>;
431*833e5d42SEmmanuel Vadot			#size-cells = <0>;
432*833e5d42SEmmanuel Vadot			status = "disabled";
433*833e5d42SEmmanuel Vadot		};
434*833e5d42SEmmanuel Vadot
435*833e5d42SEmmanuel Vadot		i2c3: i2c@14401000 {
436*833e5d42SEmmanuel Vadot			compatible = "renesas,riic-r9a09g056", "renesas,riic-r9a09g057";
437*833e5d42SEmmanuel Vadot			reg = <0 0x14401000 0 0x400>;
438*833e5d42SEmmanuel Vadot			interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
439*833e5d42SEmmanuel Vadot				     <GIC_SPI 513 IRQ_TYPE_EDGE_RISING>,
440*833e5d42SEmmanuel Vadot				     <GIC_SPI 512 IRQ_TYPE_EDGE_RISING>,
441*833e5d42SEmmanuel Vadot				     <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>,
442*833e5d42SEmmanuel Vadot				     <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>,
443*833e5d42SEmmanuel Vadot				     <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>,
444*833e5d42SEmmanuel Vadot				     <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
445*833e5d42SEmmanuel Vadot				     <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
446*833e5d42SEmmanuel Vadot			interrupt-names = "tei", "ri", "ti", "spi", "sti",
447*833e5d42SEmmanuel Vadot					  "naki", "ali", "tmoi";
448*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x97>;
449*833e5d42SEmmanuel Vadot			resets = <&cpg 0x9b>;
450*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
451*833e5d42SEmmanuel Vadot			#address-cells = <1>;
452*833e5d42SEmmanuel Vadot			#size-cells = <0>;
453*833e5d42SEmmanuel Vadot			status = "disabled";
454*833e5d42SEmmanuel Vadot		};
455*833e5d42SEmmanuel Vadot
456*833e5d42SEmmanuel Vadot		i2c4: i2c@14401400 {
457*833e5d42SEmmanuel Vadot			compatible = "renesas,riic-r9a09g056", "renesas,riic-r9a09g057";
458*833e5d42SEmmanuel Vadot			reg = <0 0x14401400 0 0x400>;
459*833e5d42SEmmanuel Vadot			interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>,
460*833e5d42SEmmanuel Vadot				     <GIC_SPI 515 IRQ_TYPE_EDGE_RISING>,
461*833e5d42SEmmanuel Vadot				     <GIC_SPI 514 IRQ_TYPE_EDGE_RISING>,
462*833e5d42SEmmanuel Vadot				     <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>,
463*833e5d42SEmmanuel Vadot				     <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>,
464*833e5d42SEmmanuel Vadot				     <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>,
465*833e5d42SEmmanuel Vadot				     <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>,
466*833e5d42SEmmanuel Vadot				     <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>;
467*833e5d42SEmmanuel Vadot			interrupt-names = "tei", "ri", "ti", "spi", "sti",
468*833e5d42SEmmanuel Vadot					  "naki", "ali", "tmoi";
469*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x98>;
470*833e5d42SEmmanuel Vadot			resets = <&cpg 0x9c>;
471*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
472*833e5d42SEmmanuel Vadot			#address-cells = <1>;
473*833e5d42SEmmanuel Vadot			#size-cells = <0>;
474*833e5d42SEmmanuel Vadot			status = "disabled";
475*833e5d42SEmmanuel Vadot		};
476*833e5d42SEmmanuel Vadot
477*833e5d42SEmmanuel Vadot		i2c5: i2c@14401800 {
478*833e5d42SEmmanuel Vadot			compatible = "renesas,riic-r9a09g056", "renesas,riic-r9a09g057";
479*833e5d42SEmmanuel Vadot			reg = <0 0x14401800 0 0x400>;
480*833e5d42SEmmanuel Vadot			interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
481*833e5d42SEmmanuel Vadot				     <GIC_SPI 517 IRQ_TYPE_EDGE_RISING>,
482*833e5d42SEmmanuel Vadot				     <GIC_SPI 516 IRQ_TYPE_EDGE_RISING>,
483*833e5d42SEmmanuel Vadot				     <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>,
484*833e5d42SEmmanuel Vadot				     <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>,
485*833e5d42SEmmanuel Vadot				     <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>,
486*833e5d42SEmmanuel Vadot				     <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>,
487*833e5d42SEmmanuel Vadot				     <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
488*833e5d42SEmmanuel Vadot			interrupt-names = "tei", "ri", "ti", "spi", "sti",
489*833e5d42SEmmanuel Vadot					  "naki", "ali", "tmoi";
490*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x99>;
491*833e5d42SEmmanuel Vadot			resets = <&cpg 0x9d>;
492*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
493*833e5d42SEmmanuel Vadot			#address-cells = <1>;
494*833e5d42SEmmanuel Vadot			#size-cells = <0>;
495*833e5d42SEmmanuel Vadot			status = "disabled";
496*833e5d42SEmmanuel Vadot		};
497*833e5d42SEmmanuel Vadot
498*833e5d42SEmmanuel Vadot		i2c6: i2c@14401c00 {
499*833e5d42SEmmanuel Vadot			compatible = "renesas,riic-r9a09g056", "renesas,riic-r9a09g057";
500*833e5d42SEmmanuel Vadot			reg = <0 0x14401c00 0 0x400>;
501*833e5d42SEmmanuel Vadot			interrupts = <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>,
502*833e5d42SEmmanuel Vadot				     <GIC_SPI 519 IRQ_TYPE_EDGE_RISING>,
503*833e5d42SEmmanuel Vadot				     <GIC_SPI 518 IRQ_TYPE_EDGE_RISING>,
504*833e5d42SEmmanuel Vadot				     <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>,
505*833e5d42SEmmanuel Vadot				     <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>,
506*833e5d42SEmmanuel Vadot				     <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>,
507*833e5d42SEmmanuel Vadot				     <GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>,
508*833e5d42SEmmanuel Vadot				     <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
509*833e5d42SEmmanuel Vadot			interrupt-names = "tei", "ri", "ti", "spi", "sti",
510*833e5d42SEmmanuel Vadot					  "naki", "ali", "tmoi";
511*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x9a>;
512*833e5d42SEmmanuel Vadot			resets = <&cpg 0x9e>;
513*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
514*833e5d42SEmmanuel Vadot			#address-cells = <1>;
515*833e5d42SEmmanuel Vadot			#size-cells = <0>;
516*833e5d42SEmmanuel Vadot			status = "disabled";
517*833e5d42SEmmanuel Vadot		};
518*833e5d42SEmmanuel Vadot
519*833e5d42SEmmanuel Vadot		i2c7: i2c@14402000 {
520*833e5d42SEmmanuel Vadot			compatible = "renesas,riic-r9a09g056", "renesas,riic-r9a09g057";
521*833e5d42SEmmanuel Vadot			reg = <0 0x14402000 0 0x400>;
522*833e5d42SEmmanuel Vadot			interrupts = <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>,
523*833e5d42SEmmanuel Vadot				     <GIC_SPI 521 IRQ_TYPE_EDGE_RISING>,
524*833e5d42SEmmanuel Vadot				     <GIC_SPI 520 IRQ_TYPE_EDGE_RISING>,
525*833e5d42SEmmanuel Vadot				     <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>,
526*833e5d42SEmmanuel Vadot				     <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
527*833e5d42SEmmanuel Vadot				     <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
528*833e5d42SEmmanuel Vadot				     <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>,
529*833e5d42SEmmanuel Vadot				     <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
530*833e5d42SEmmanuel Vadot			interrupt-names = "tei", "ri", "ti", "spi", "sti",
531*833e5d42SEmmanuel Vadot					  "naki", "ali", "tmoi";
532*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x9b>;
533*833e5d42SEmmanuel Vadot			resets = <&cpg 0x9f>;
534*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
535*833e5d42SEmmanuel Vadot			#address-cells = <1>;
536*833e5d42SEmmanuel Vadot			#size-cells = <0>;
537*833e5d42SEmmanuel Vadot			status = "disabled";
538*833e5d42SEmmanuel Vadot		};
539*833e5d42SEmmanuel Vadot
540*833e5d42SEmmanuel Vadot		i2c8: i2c@11c01000 {
541*833e5d42SEmmanuel Vadot			compatible = "renesas,riic-r9a09g056", "renesas,riic-r9a09g057";
542*833e5d42SEmmanuel Vadot			reg = <0 0x11c01000 0 0x400>;
543*833e5d42SEmmanuel Vadot			interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>,
544*833e5d42SEmmanuel Vadot				     <GIC_SPI 523 IRQ_TYPE_EDGE_RISING>,
545*833e5d42SEmmanuel Vadot				     <GIC_SPI 522 IRQ_TYPE_EDGE_RISING>,
546*833e5d42SEmmanuel Vadot				     <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>,
547*833e5d42SEmmanuel Vadot				     <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>,
548*833e5d42SEmmanuel Vadot				     <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>,
549*833e5d42SEmmanuel Vadot				     <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>,
550*833e5d42SEmmanuel Vadot				     <GIC_SPI 227 IRQ_TYPE_LEVEL_HIGH>;
551*833e5d42SEmmanuel Vadot			interrupt-names = "tei", "ri", "ti", "spi", "sti",
552*833e5d42SEmmanuel Vadot					  "naki", "ali", "tmoi";
553*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x93>;
554*833e5d42SEmmanuel Vadot			resets = <&cpg 0xa0>;
555*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
556*833e5d42SEmmanuel Vadot			#address-cells = <1>;
557*833e5d42SEmmanuel Vadot			#size-cells = <0>;
558*833e5d42SEmmanuel Vadot			status = "disabled";
559*833e5d42SEmmanuel Vadot		};
560*833e5d42SEmmanuel Vadot
561*833e5d42SEmmanuel Vadot		gpu: gpu@14850000 {
562*833e5d42SEmmanuel Vadot			compatible = "renesas,r9a09g056-mali",
563*833e5d42SEmmanuel Vadot				     "arm,mali-bifrost";
564*833e5d42SEmmanuel Vadot			reg = <0x0 0x14850000 0x0 0x10000>;
565*833e5d42SEmmanuel Vadot			interrupts = <GIC_SPI 884 IRQ_TYPE_LEVEL_HIGH>,
566*833e5d42SEmmanuel Vadot				     <GIC_SPI 885 IRQ_TYPE_LEVEL_HIGH>,
567*833e5d42SEmmanuel Vadot				     <GIC_SPI 883 IRQ_TYPE_LEVEL_HIGH>,
568*833e5d42SEmmanuel Vadot				     <GIC_SPI 886 IRQ_TYPE_LEVEL_HIGH>;
569*833e5d42SEmmanuel Vadot			interrupt-names = "job", "mmu", "gpu", "event";
570*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0xf0>,
571*833e5d42SEmmanuel Vadot				 <&cpg CPG_MOD 0xf1>,
572*833e5d42SEmmanuel Vadot				 <&cpg CPG_MOD 0xf2>;
573*833e5d42SEmmanuel Vadot			clock-names = "gpu", "bus", "bus_ace";
574*833e5d42SEmmanuel Vadot			resets = <&cpg 0xdd>,
575*833e5d42SEmmanuel Vadot				 <&cpg 0xde>,
576*833e5d42SEmmanuel Vadot				 <&cpg 0xdf>;
577*833e5d42SEmmanuel Vadot			reset-names = "rst", "axi_rst", "ace_rst";
578*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
579*833e5d42SEmmanuel Vadot			operating-points-v2 = <&gpu_opp_table>;
580*833e5d42SEmmanuel Vadot			status = "disabled";
581*833e5d42SEmmanuel Vadot		};
582*833e5d42SEmmanuel Vadot
583ae5de77eSEmmanuel Vadot		gic: interrupt-controller@14900000 {
584ae5de77eSEmmanuel Vadot			compatible = "arm,gic-v3";
585ae5de77eSEmmanuel Vadot			reg = <0x0 0x14900000 0 0x20000>,
586ae5de77eSEmmanuel Vadot			      <0x0 0x14940000 0 0x80000>;
587ae5de77eSEmmanuel Vadot			#interrupt-cells = <3>;
588ae5de77eSEmmanuel Vadot			#address-cells = <0>;
589ae5de77eSEmmanuel Vadot			interrupt-controller;
590ae5de77eSEmmanuel Vadot			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>;
591ae5de77eSEmmanuel Vadot		};
592ae5de77eSEmmanuel Vadot
593*833e5d42SEmmanuel Vadot		ohci0: usb@15800000 {
594*833e5d42SEmmanuel Vadot			compatible = "generic-ohci";
595*833e5d42SEmmanuel Vadot			reg = <0 0x15800000 0 0x100>;
596*833e5d42SEmmanuel Vadot			interrupts = <GIC_SPI 742 IRQ_TYPE_LEVEL_HIGH>;
597*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0xb3>, <&cpg CPG_MOD 0xb6>;
598*833e5d42SEmmanuel Vadot			resets = <&usb20phyrst>, <&cpg 0xac>;
599*833e5d42SEmmanuel Vadot			phys = <&usb2_phy0 1>;
600*833e5d42SEmmanuel Vadot			phy-names = "usb";
601*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
602*833e5d42SEmmanuel Vadot			status = "disabled";
603*833e5d42SEmmanuel Vadot		};
604*833e5d42SEmmanuel Vadot
605*833e5d42SEmmanuel Vadot		ehci0: usb@15800100 {
606*833e5d42SEmmanuel Vadot			compatible = "generic-ehci";
607*833e5d42SEmmanuel Vadot			reg = <0 0x15800100 0 0x100>;
608*833e5d42SEmmanuel Vadot			interrupts = <GIC_SPI 743 IRQ_TYPE_LEVEL_HIGH>;
609*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0xb3>, <&cpg CPG_MOD 0xb6>;
610*833e5d42SEmmanuel Vadot			resets = <&usb20phyrst>, <&cpg 0xac>;
611*833e5d42SEmmanuel Vadot			phys = <&usb2_phy0 2>;
612*833e5d42SEmmanuel Vadot			phy-names = "usb";
613*833e5d42SEmmanuel Vadot			companion = <&ohci0>;
614*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
615*833e5d42SEmmanuel Vadot			status = "disabled";
616*833e5d42SEmmanuel Vadot		};
617*833e5d42SEmmanuel Vadot
618*833e5d42SEmmanuel Vadot		usb2_phy0: usb-phy@15800200 {
619*833e5d42SEmmanuel Vadot			compatible = "renesas,usb2-phy-r9a09g056", "renesas,usb2-phy-r9a09g057";
620*833e5d42SEmmanuel Vadot			reg = <0 0x15800200 0 0x700>;
621*833e5d42SEmmanuel Vadot			interrupts = <GIC_SPI 745 IRQ_TYPE_LEVEL_HIGH>;
622*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0xb3>,
623*833e5d42SEmmanuel Vadot				 <&cpg CPG_CORE R9A09G056_USB2_0_CLK_CORE0>;
624*833e5d42SEmmanuel Vadot			clock-names = "fck", "usb_x1";
625*833e5d42SEmmanuel Vadot			resets = <&usb20phyrst>;
626*833e5d42SEmmanuel Vadot			#phy-cells = <1>;
627*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
628*833e5d42SEmmanuel Vadot			status = "disabled";
629*833e5d42SEmmanuel Vadot		};
630*833e5d42SEmmanuel Vadot
631*833e5d42SEmmanuel Vadot		hsusb: usb@15820000 {
632*833e5d42SEmmanuel Vadot			compatible = "renesas,usbhs-r9a09g056",
633*833e5d42SEmmanuel Vadot				     "renesas,rzg2l-usbhs";
634*833e5d42SEmmanuel Vadot			reg = <0 0x15820000 0 0x10000>;
635*833e5d42SEmmanuel Vadot			interrupts = <GIC_SPI 751 IRQ_TYPE_EDGE_RISING>,
636*833e5d42SEmmanuel Vadot				     <GIC_SPI 752 IRQ_TYPE_LEVEL_HIGH>,
637*833e5d42SEmmanuel Vadot				     <GIC_SPI 753 IRQ_TYPE_LEVEL_HIGH>,
638*833e5d42SEmmanuel Vadot				     <GIC_SPI 754 IRQ_TYPE_LEVEL_HIGH>;
639*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0xb3>, <&cpg CPG_MOD 0xb5>;
640*833e5d42SEmmanuel Vadot			resets = <&usb20phyrst>,
641*833e5d42SEmmanuel Vadot				 <&cpg 0xae>;
642*833e5d42SEmmanuel Vadot			phys = <&usb2_phy0 3>;
643*833e5d42SEmmanuel Vadot			phy-names = "usb";
644*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
645*833e5d42SEmmanuel Vadot			status = "disabled";
646*833e5d42SEmmanuel Vadot		};
647*833e5d42SEmmanuel Vadot
648*833e5d42SEmmanuel Vadot		usb20phyrst: usb20phy-reset@15830000 {
649*833e5d42SEmmanuel Vadot			compatible = "renesas,r9a09g056-usb2phy-reset",
650*833e5d42SEmmanuel Vadot				     "renesas,r9a09g057-usb2phy-reset";
651*833e5d42SEmmanuel Vadot			reg = <0 0x15830000 0 0x10000>;
652*833e5d42SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0xb6>;
653*833e5d42SEmmanuel Vadot			resets = <&cpg 0xaf>;
654*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
655*833e5d42SEmmanuel Vadot			#reset-cells = <0>;
656*833e5d42SEmmanuel Vadot			status = "disabled";
657*833e5d42SEmmanuel Vadot		};
658*833e5d42SEmmanuel Vadot
659ae5de77eSEmmanuel Vadot		sdhi0: mmc@15c00000  {
660ae5de77eSEmmanuel Vadot			compatible = "renesas,sdhi-r9a09g056", "renesas,sdhi-r9a09g057";
661ae5de77eSEmmanuel Vadot			reg = <0x0 0x15c00000 0 0x10000>;
662ae5de77eSEmmanuel Vadot			interrupts = <GIC_SPI 735 IRQ_TYPE_LEVEL_HIGH>,
663ae5de77eSEmmanuel Vadot				     <GIC_SPI 736 IRQ_TYPE_LEVEL_HIGH>;
664ae5de77eSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0xa3>, <&cpg CPG_MOD 0xa5>,
665ae5de77eSEmmanuel Vadot				 <&cpg CPG_MOD 0xa4>, <&cpg CPG_MOD 0xa6>;
666ae5de77eSEmmanuel Vadot			clock-names = "core", "clkh", "cd", "aclk";
667ae5de77eSEmmanuel Vadot			resets = <&cpg 0xa7>;
668ae5de77eSEmmanuel Vadot			power-domains = <&cpg>;
669ae5de77eSEmmanuel Vadot			status = "disabled";
670ae5de77eSEmmanuel Vadot
671ae5de77eSEmmanuel Vadot			sdhi0_vqmmc: vqmmc-regulator {
672ae5de77eSEmmanuel Vadot				regulator-name = "SDHI0-VQMMC";
673ae5de77eSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
674ae5de77eSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
675ae5de77eSEmmanuel Vadot				status = "disabled";
676ae5de77eSEmmanuel Vadot			};
677ae5de77eSEmmanuel Vadot		};
678ae5de77eSEmmanuel Vadot
679ae5de77eSEmmanuel Vadot		sdhi1: mmc@15c10000 {
680ae5de77eSEmmanuel Vadot			compatible = "renesas,sdhi-r9a09g056", "renesas,sdhi-r9a09g057";
681ae5de77eSEmmanuel Vadot			reg = <0x0 0x15c10000 0 0x10000>;
682ae5de77eSEmmanuel Vadot			interrupts = <GIC_SPI 737 IRQ_TYPE_LEVEL_HIGH>,
683ae5de77eSEmmanuel Vadot				     <GIC_SPI 738 IRQ_TYPE_LEVEL_HIGH>;
684ae5de77eSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0xa7>, <&cpg CPG_MOD 0xa9>,
685ae5de77eSEmmanuel Vadot				 <&cpg CPG_MOD 0xa8>, <&cpg CPG_MOD 0xaa>;
686ae5de77eSEmmanuel Vadot			clock-names = "core", "clkh", "cd", "aclk";
687ae5de77eSEmmanuel Vadot			resets = <&cpg 0xa8>;
688ae5de77eSEmmanuel Vadot			power-domains = <&cpg>;
689ae5de77eSEmmanuel Vadot			status = "disabled";
690ae5de77eSEmmanuel Vadot
691ae5de77eSEmmanuel Vadot			sdhi1_vqmmc: vqmmc-regulator {
692ae5de77eSEmmanuel Vadot				regulator-name = "SDHI1-VQMMC";
693ae5de77eSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
694ae5de77eSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
695ae5de77eSEmmanuel Vadot				status = "disabled";
696ae5de77eSEmmanuel Vadot			};
697ae5de77eSEmmanuel Vadot		};
698ae5de77eSEmmanuel Vadot
699ae5de77eSEmmanuel Vadot		sdhi2: mmc@15c20000 {
700ae5de77eSEmmanuel Vadot			compatible = "renesas,sdhi-r9a09g056", "renesas,sdhi-r9a09g057";
701ae5de77eSEmmanuel Vadot			reg = <0x0 0x15c20000 0 0x10000>;
702ae5de77eSEmmanuel Vadot			interrupts = <GIC_SPI 739 IRQ_TYPE_LEVEL_HIGH>,
703ae5de77eSEmmanuel Vadot				     <GIC_SPI 740 IRQ_TYPE_LEVEL_HIGH>;
704ae5de77eSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0xab>, <&cpg CPG_MOD 0xad>,
705ae5de77eSEmmanuel Vadot				 <&cpg CPG_MOD 0xac>, <&cpg CPG_MOD 0xae>;
706ae5de77eSEmmanuel Vadot			clock-names = "core", "clkh", "cd", "aclk";
707ae5de77eSEmmanuel Vadot			resets = <&cpg 0xa9>;
708ae5de77eSEmmanuel Vadot			power-domains = <&cpg>;
709ae5de77eSEmmanuel Vadot			status = "disabled";
710ae5de77eSEmmanuel Vadot
711ae5de77eSEmmanuel Vadot			sdhi2_vqmmc: vqmmc-regulator {
712ae5de77eSEmmanuel Vadot				regulator-name = "SDHI2-VQMMC";
713ae5de77eSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
714ae5de77eSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
715ae5de77eSEmmanuel Vadot				status = "disabled";
716ae5de77eSEmmanuel Vadot			};
717ae5de77eSEmmanuel Vadot		};
718*833e5d42SEmmanuel Vadot
719*833e5d42SEmmanuel Vadot		eth0: ethernet@15c30000 {
720*833e5d42SEmmanuel Vadot			compatible = "renesas,r9a09g056-gbeth", "renesas,rzv2h-gbeth",
721*833e5d42SEmmanuel Vadot				     "snps,dwmac-5.20";
722*833e5d42SEmmanuel Vadot			reg = <0 0x15c30000 0 0x10000>;
723*833e5d42SEmmanuel Vadot			interrupts = <GIC_SPI 765 IRQ_TYPE_LEVEL_HIGH>,
724*833e5d42SEmmanuel Vadot				     <GIC_SPI 767 IRQ_TYPE_LEVEL_HIGH>,
725*833e5d42SEmmanuel Vadot				     <GIC_SPI 766 IRQ_TYPE_LEVEL_HIGH>,
726*833e5d42SEmmanuel Vadot				     <GIC_SPI 772 IRQ_TYPE_LEVEL_HIGH>,
727*833e5d42SEmmanuel Vadot				     <GIC_SPI 773 IRQ_TYPE_LEVEL_HIGH>,
728*833e5d42SEmmanuel Vadot				     <GIC_SPI 774 IRQ_TYPE_LEVEL_HIGH>,
729*833e5d42SEmmanuel Vadot				     <GIC_SPI 775 IRQ_TYPE_LEVEL_HIGH>,
730*833e5d42SEmmanuel Vadot				     <GIC_SPI 768 IRQ_TYPE_LEVEL_HIGH>,
731*833e5d42SEmmanuel Vadot				     <GIC_SPI 769 IRQ_TYPE_LEVEL_HIGH>,
732*833e5d42SEmmanuel Vadot				     <GIC_SPI 770 IRQ_TYPE_LEVEL_HIGH>,
733*833e5d42SEmmanuel Vadot				     <GIC_SPI 771 IRQ_TYPE_LEVEL_HIGH>;
734*833e5d42SEmmanuel Vadot			interrupt-names = "macirq", "eth_wake_irq", "eth_lpi",
735*833e5d42SEmmanuel Vadot					  "rx-queue-0", "rx-queue-1", "rx-queue-2",
736*833e5d42SEmmanuel Vadot					  "rx-queue-3", "tx-queue-0", "tx-queue-1",
737*833e5d42SEmmanuel Vadot					  "tx-queue-2", "tx-queue-3";
738*833e5d42SEmmanuel Vadot			clocks =  <&cpg CPG_MOD 0xbd>, <&cpg CPG_MOD 0xbc>,
739*833e5d42SEmmanuel Vadot				  <&cpg CPG_CORE R9A09G056_GBETH_0_CLK_PTP_REF_I>,
740*833e5d42SEmmanuel Vadot				  <&cpg CPG_MOD 0xb8>, <&cpg CPG_MOD 0xb9>,
741*833e5d42SEmmanuel Vadot				  <&cpg CPG_MOD 0xba>, <&cpg CPG_MOD 0xbb>;
742*833e5d42SEmmanuel Vadot			clock-names = "stmmaceth", "pclk", "ptp_ref",
743*833e5d42SEmmanuel Vadot				      "tx", "rx", "tx-180", "rx-180";
744*833e5d42SEmmanuel Vadot			resets = <&cpg 0xb0>;
745*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
746*833e5d42SEmmanuel Vadot			snps,multicast-filter-bins = <256>;
747*833e5d42SEmmanuel Vadot			snps,perfect-filter-entries = <128>;
748*833e5d42SEmmanuel Vadot			rx-fifo-depth = <8192>;
749*833e5d42SEmmanuel Vadot			tx-fifo-depth = <8192>;
750*833e5d42SEmmanuel Vadot			snps,fixed-burst;
751*833e5d42SEmmanuel Vadot			snps,no-pbl-x8;
752*833e5d42SEmmanuel Vadot			snps,force_thresh_dma_mode;
753*833e5d42SEmmanuel Vadot			snps,axi-config = <&stmmac_axi_setup>;
754*833e5d42SEmmanuel Vadot			snps,mtl-rx-config = <&mtl_rx_setup0>;
755*833e5d42SEmmanuel Vadot			snps,mtl-tx-config = <&mtl_tx_setup0>;
756*833e5d42SEmmanuel Vadot			snps,txpbl = <32>;
757*833e5d42SEmmanuel Vadot			snps,rxpbl = <32>;
758*833e5d42SEmmanuel Vadot			status = "disabled";
759*833e5d42SEmmanuel Vadot
760*833e5d42SEmmanuel Vadot			mdio0: mdio {
761*833e5d42SEmmanuel Vadot				compatible = "snps,dwmac-mdio";
762*833e5d42SEmmanuel Vadot				#address-cells = <1>;
763*833e5d42SEmmanuel Vadot				#size-cells = <0>;
764*833e5d42SEmmanuel Vadot			};
765*833e5d42SEmmanuel Vadot
766*833e5d42SEmmanuel Vadot			mtl_rx_setup0: rx-queues-config {
767*833e5d42SEmmanuel Vadot				snps,rx-queues-to-use = <4>;
768*833e5d42SEmmanuel Vadot				snps,rx-sched-sp;
769*833e5d42SEmmanuel Vadot
770*833e5d42SEmmanuel Vadot				queue0 {
771*833e5d42SEmmanuel Vadot					snps,dcb-algorithm;
772*833e5d42SEmmanuel Vadot					snps,priority = <0x1>;
773*833e5d42SEmmanuel Vadot					snps,map-to-dma-channel = <0>;
774*833e5d42SEmmanuel Vadot				};
775*833e5d42SEmmanuel Vadot
776*833e5d42SEmmanuel Vadot				queue1 {
777*833e5d42SEmmanuel Vadot					snps,dcb-algorithm;
778*833e5d42SEmmanuel Vadot					snps,priority = <0x2>;
779*833e5d42SEmmanuel Vadot					snps,map-to-dma-channel = <1>;
780*833e5d42SEmmanuel Vadot				};
781*833e5d42SEmmanuel Vadot
782*833e5d42SEmmanuel Vadot				queue2 {
783*833e5d42SEmmanuel Vadot					snps,dcb-algorithm;
784*833e5d42SEmmanuel Vadot					snps,priority = <0x4>;
785*833e5d42SEmmanuel Vadot					snps,map-to-dma-channel = <2>;
786*833e5d42SEmmanuel Vadot				};
787*833e5d42SEmmanuel Vadot
788*833e5d42SEmmanuel Vadot				queue3 {
789*833e5d42SEmmanuel Vadot					snps,dcb-algorithm;
790*833e5d42SEmmanuel Vadot					snps,priority = <0x8>;
791*833e5d42SEmmanuel Vadot					snps,map-to-dma-channel = <3>;
792*833e5d42SEmmanuel Vadot				};
793*833e5d42SEmmanuel Vadot			};
794*833e5d42SEmmanuel Vadot
795*833e5d42SEmmanuel Vadot			mtl_tx_setup0: tx-queues-config {
796*833e5d42SEmmanuel Vadot				snps,tx-queues-to-use = <4>;
797*833e5d42SEmmanuel Vadot
798*833e5d42SEmmanuel Vadot				queue0 {
799*833e5d42SEmmanuel Vadot					snps,dcb-algorithm;
800*833e5d42SEmmanuel Vadot					snps,priority = <0x1>;
801*833e5d42SEmmanuel Vadot				};
802*833e5d42SEmmanuel Vadot
803*833e5d42SEmmanuel Vadot				queue1 {
804*833e5d42SEmmanuel Vadot					snps,dcb-algorithm;
805*833e5d42SEmmanuel Vadot					snps,priority = <0x2>;
806*833e5d42SEmmanuel Vadot				};
807*833e5d42SEmmanuel Vadot
808*833e5d42SEmmanuel Vadot				queue2 {
809*833e5d42SEmmanuel Vadot					snps,dcb-algorithm;
810*833e5d42SEmmanuel Vadot					snps,priority = <0x4>;
811*833e5d42SEmmanuel Vadot				};
812*833e5d42SEmmanuel Vadot
813*833e5d42SEmmanuel Vadot				queue3 {
814*833e5d42SEmmanuel Vadot					snps,dcb-algorithm;
815*833e5d42SEmmanuel Vadot					snps,priority = <0x8>;
816*833e5d42SEmmanuel Vadot				};
817*833e5d42SEmmanuel Vadot			};
818*833e5d42SEmmanuel Vadot		};
819*833e5d42SEmmanuel Vadot
820*833e5d42SEmmanuel Vadot		eth1: ethernet@15c40000 {
821*833e5d42SEmmanuel Vadot			compatible = "renesas,r9a09g056-gbeth", "renesas,rzv2h-gbeth",
822*833e5d42SEmmanuel Vadot				     "snps,dwmac-5.20";
823*833e5d42SEmmanuel Vadot			reg = <0 0x15c40000 0 0x10000>;
824*833e5d42SEmmanuel Vadot			interrupts = <GIC_SPI 780 IRQ_TYPE_LEVEL_HIGH>,
825*833e5d42SEmmanuel Vadot				     <GIC_SPI 782 IRQ_TYPE_LEVEL_HIGH>,
826*833e5d42SEmmanuel Vadot				     <GIC_SPI 781 IRQ_TYPE_LEVEL_HIGH>,
827*833e5d42SEmmanuel Vadot				     <GIC_SPI 787 IRQ_TYPE_LEVEL_HIGH>,
828*833e5d42SEmmanuel Vadot				     <GIC_SPI 788 IRQ_TYPE_LEVEL_HIGH>,
829*833e5d42SEmmanuel Vadot				     <GIC_SPI 789 IRQ_TYPE_LEVEL_HIGH>,
830*833e5d42SEmmanuel Vadot				     <GIC_SPI 790 IRQ_TYPE_LEVEL_HIGH>,
831*833e5d42SEmmanuel Vadot				     <GIC_SPI 783 IRQ_TYPE_LEVEL_HIGH>,
832*833e5d42SEmmanuel Vadot				     <GIC_SPI 784 IRQ_TYPE_LEVEL_HIGH>,
833*833e5d42SEmmanuel Vadot				     <GIC_SPI 785 IRQ_TYPE_LEVEL_HIGH>,
834*833e5d42SEmmanuel Vadot				     <GIC_SPI 786 IRQ_TYPE_LEVEL_HIGH>;
835*833e5d42SEmmanuel Vadot			interrupt-names = "macirq", "eth_wake_irq", "eth_lpi",
836*833e5d42SEmmanuel Vadot					  "rx-queue-0", "rx-queue-1", "rx-queue-2",
837*833e5d42SEmmanuel Vadot					  "rx-queue-3", "tx-queue-0", "tx-queue-1",
838*833e5d42SEmmanuel Vadot					  "tx-queue-2", "tx-queue-3";
839*833e5d42SEmmanuel Vadot			clocks =  <&cpg CPG_MOD 0xc3>, <&cpg CPG_MOD 0xc2>,
840*833e5d42SEmmanuel Vadot				  <&cpg CPG_CORE R9A09G056_GBETH_1_CLK_PTP_REF_I>,
841*833e5d42SEmmanuel Vadot				  <&cpg CPG_MOD 0xbe>, <&cpg CPG_MOD 0xbf>,
842*833e5d42SEmmanuel Vadot				  <&cpg CPG_MOD 0xc0>, <&cpg CPG_MOD 0xc1>;
843*833e5d42SEmmanuel Vadot			clock-names = "stmmaceth", "pclk", "ptp_ref",
844*833e5d42SEmmanuel Vadot				      "tx", "rx", "tx-180", "rx-180";
845*833e5d42SEmmanuel Vadot			resets = <&cpg 0xb1>;
846*833e5d42SEmmanuel Vadot			power-domains = <&cpg>;
847*833e5d42SEmmanuel Vadot			snps,multicast-filter-bins = <256>;
848*833e5d42SEmmanuel Vadot			snps,perfect-filter-entries = <128>;
849*833e5d42SEmmanuel Vadot			rx-fifo-depth = <8192>;
850*833e5d42SEmmanuel Vadot			tx-fifo-depth = <8192>;
851*833e5d42SEmmanuel Vadot			snps,fixed-burst;
852*833e5d42SEmmanuel Vadot			snps,no-pbl-x8;
853*833e5d42SEmmanuel Vadot			snps,force_thresh_dma_mode;
854*833e5d42SEmmanuel Vadot			snps,axi-config = <&stmmac_axi_setup>;
855*833e5d42SEmmanuel Vadot			snps,mtl-rx-config = <&mtl_rx_setup1>;
856*833e5d42SEmmanuel Vadot			snps,mtl-tx-config = <&mtl_tx_setup1>;
857*833e5d42SEmmanuel Vadot			snps,txpbl = <32>;
858*833e5d42SEmmanuel Vadot			snps,rxpbl = <32>;
859*833e5d42SEmmanuel Vadot			status = "disabled";
860*833e5d42SEmmanuel Vadot
861*833e5d42SEmmanuel Vadot			mdio1: mdio {
862*833e5d42SEmmanuel Vadot				compatible = "snps,dwmac-mdio";
863*833e5d42SEmmanuel Vadot				#address-cells = <1>;
864*833e5d42SEmmanuel Vadot				#size-cells = <0>;
865*833e5d42SEmmanuel Vadot			};
866*833e5d42SEmmanuel Vadot
867*833e5d42SEmmanuel Vadot			mtl_rx_setup1: rx-queues-config {
868*833e5d42SEmmanuel Vadot				snps,rx-queues-to-use = <4>;
869*833e5d42SEmmanuel Vadot				snps,rx-sched-sp;
870*833e5d42SEmmanuel Vadot
871*833e5d42SEmmanuel Vadot				queue0 {
872*833e5d42SEmmanuel Vadot					snps,dcb-algorithm;
873*833e5d42SEmmanuel Vadot					snps,priority = <0x1>;
874*833e5d42SEmmanuel Vadot					snps,map-to-dma-channel = <0>;
875*833e5d42SEmmanuel Vadot				};
876*833e5d42SEmmanuel Vadot
877*833e5d42SEmmanuel Vadot				queue1 {
878*833e5d42SEmmanuel Vadot					snps,dcb-algorithm;
879*833e5d42SEmmanuel Vadot					snps,priority = <0x2>;
880*833e5d42SEmmanuel Vadot					snps,map-to-dma-channel = <1>;
881*833e5d42SEmmanuel Vadot				};
882*833e5d42SEmmanuel Vadot
883*833e5d42SEmmanuel Vadot				queue2 {
884*833e5d42SEmmanuel Vadot					snps,dcb-algorithm;
885*833e5d42SEmmanuel Vadot					snps,priority = <0x4>;
886*833e5d42SEmmanuel Vadot					snps,map-to-dma-channel = <2>;
887*833e5d42SEmmanuel Vadot				};
888*833e5d42SEmmanuel Vadot
889*833e5d42SEmmanuel Vadot				queue3 {
890*833e5d42SEmmanuel Vadot					snps,dcb-algorithm;
891*833e5d42SEmmanuel Vadot					snps,priority = <0x8>;
892*833e5d42SEmmanuel Vadot					snps,map-to-dma-channel = <3>;
893*833e5d42SEmmanuel Vadot				};
894*833e5d42SEmmanuel Vadot			};
895*833e5d42SEmmanuel Vadot
896*833e5d42SEmmanuel Vadot			mtl_tx_setup1: tx-queues-config {
897*833e5d42SEmmanuel Vadot				snps,tx-queues-to-use = <4>;
898*833e5d42SEmmanuel Vadot
899*833e5d42SEmmanuel Vadot				queue0 {
900*833e5d42SEmmanuel Vadot					snps,dcb-algorithm;
901*833e5d42SEmmanuel Vadot					snps,priority = <0x1>;
902*833e5d42SEmmanuel Vadot				};
903*833e5d42SEmmanuel Vadot
904*833e5d42SEmmanuel Vadot				queue1 {
905*833e5d42SEmmanuel Vadot					snps,dcb-algorithm;
906*833e5d42SEmmanuel Vadot					snps,priority = <0x2>;
907*833e5d42SEmmanuel Vadot				};
908*833e5d42SEmmanuel Vadot
909*833e5d42SEmmanuel Vadot				queue2 {
910*833e5d42SEmmanuel Vadot					snps,dcb-algorithm;
911*833e5d42SEmmanuel Vadot					snps,priority = <0x4>;
912*833e5d42SEmmanuel Vadot				};
913*833e5d42SEmmanuel Vadot
914*833e5d42SEmmanuel Vadot				queue3 {
915*833e5d42SEmmanuel Vadot					snps,dcb-algorithm;
916*833e5d42SEmmanuel Vadot					snps,priority = <0x8>;
917*833e5d42SEmmanuel Vadot				};
918*833e5d42SEmmanuel Vadot			};
919*833e5d42SEmmanuel Vadot		};
920*833e5d42SEmmanuel Vadot	};
921*833e5d42SEmmanuel Vadot
922*833e5d42SEmmanuel Vadot	stmmac_axi_setup: stmmac-axi-config {
923*833e5d42SEmmanuel Vadot		snps,lpi_en;
924*833e5d42SEmmanuel Vadot		snps,wr_osr_lmt = <0xf>;
925*833e5d42SEmmanuel Vadot		snps,rd_osr_lmt = <0xf>;
926*833e5d42SEmmanuel Vadot		snps,blen = <16 8 4 0 0 0 0>;
927ae5de77eSEmmanuel Vadot	};
928ae5de77eSEmmanuel Vadot
929ae5de77eSEmmanuel Vadot	timer {
930ae5de77eSEmmanuel Vadot		compatible = "arm,armv8-timer";
931ae5de77eSEmmanuel Vadot		interrupts-extended = <&gic GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
932ae5de77eSEmmanuel Vadot				      <&gic GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
933ae5de77eSEmmanuel Vadot				      <&gic GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
934ae5de77eSEmmanuel Vadot				      <&gic GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>,
935ae5de77eSEmmanuel Vadot				      <&gic GIC_PPI 12 IRQ_TYPE_LEVEL_LOW>;
936ae5de77eSEmmanuel Vadot		interrupt-names = "sec-phys", "phys", "virt", "hyp-phys", "hyp-virt";
937ae5de77eSEmmanuel Vadot	};
938ae5de77eSEmmanuel Vadot};
939