xref: /freebsd/sys/contrib/device-tree/src/arm64/renesas/r9a09g047.dtsi (revision 2846c90520eb4cc74e24d586a0ea0f4a0006bc73)
1*2846c905SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*2846c905SEmmanuel Vadot/*
3*2846c905SEmmanuel Vadot * Device Tree Source for the RZ/G3E SoC
4*2846c905SEmmanuel Vadot *
5*2846c905SEmmanuel Vadot * Copyright (C) 2024 Renesas Electronics Corp.
6*2846c905SEmmanuel Vadot */
7*2846c905SEmmanuel Vadot
8*2846c905SEmmanuel Vadot#include <dt-bindings/clock/renesas,r9a09g047-cpg.h>
9*2846c905SEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h>
10*2846c905SEmmanuel Vadot
11*2846c905SEmmanuel Vadot/ {
12*2846c905SEmmanuel Vadot	compatible = "renesas,r9a09g047";
13*2846c905SEmmanuel Vadot	#address-cells = <2>;
14*2846c905SEmmanuel Vadot	#size-cells = <2>;
15*2846c905SEmmanuel Vadot
16*2846c905SEmmanuel Vadot	audio_extal_clk: audio-clk {
17*2846c905SEmmanuel Vadot		compatible = "fixed-clock";
18*2846c905SEmmanuel Vadot		#clock-cells = <0>;
19*2846c905SEmmanuel Vadot		/* This value must be overridden by the board */
20*2846c905SEmmanuel Vadot		clock-frequency = <0>;
21*2846c905SEmmanuel Vadot	};
22*2846c905SEmmanuel Vadot
23*2846c905SEmmanuel Vadot	/*
24*2846c905SEmmanuel Vadot	 * The default cluster table is based on the assumption that the PLLCA55 clock
25*2846c905SEmmanuel Vadot	 * frequency is set to 1.7GHz. The PLLCA55 clock frequency can be set to
26*2846c905SEmmanuel Vadot	 * 1.7/1.6/1.5/1.1 GHz based on the BOOTPLLCA_0/1 pins (and additionally can be
27*2846c905SEmmanuel Vadot	 * clocked to 1.8GHz as well). The table below should be overridden in the board
28*2846c905SEmmanuel Vadot	 * DTS based on the PLLCA55 clock frequency.
29*2846c905SEmmanuel Vadot	 */
30*2846c905SEmmanuel Vadot	cluster0_opp: opp-table-0 {
31*2846c905SEmmanuel Vadot		compatible = "operating-points-v2";
32*2846c905SEmmanuel Vadot
33*2846c905SEmmanuel Vadot		opp-1700000000 {
34*2846c905SEmmanuel Vadot			opp-hz = /bits/ 64 <1700000000>;
35*2846c905SEmmanuel Vadot			opp-microvolt = <900000>;
36*2846c905SEmmanuel Vadot			clock-latency-ns = <300000>;
37*2846c905SEmmanuel Vadot		};
38*2846c905SEmmanuel Vadot		opp-850000000 {
39*2846c905SEmmanuel Vadot			opp-hz = /bits/ 64 <850000000>;
40*2846c905SEmmanuel Vadot			opp-microvolt = <800000>;
41*2846c905SEmmanuel Vadot			clock-latency-ns = <300000>;
42*2846c905SEmmanuel Vadot		};
43*2846c905SEmmanuel Vadot		opp-425000000 {
44*2846c905SEmmanuel Vadot			opp-hz = /bits/ 64 <425000000>;
45*2846c905SEmmanuel Vadot			opp-microvolt = <800000>;
46*2846c905SEmmanuel Vadot			clock-latency-ns = <300000>;
47*2846c905SEmmanuel Vadot		};
48*2846c905SEmmanuel Vadot		opp-212500000 {
49*2846c905SEmmanuel Vadot			opp-hz = /bits/ 64 <212500000>;
50*2846c905SEmmanuel Vadot			opp-microvolt = <800000>;
51*2846c905SEmmanuel Vadot			clock-latency-ns = <300000>;
52*2846c905SEmmanuel Vadot			opp-suspend;
53*2846c905SEmmanuel Vadot		};
54*2846c905SEmmanuel Vadot	};
55*2846c905SEmmanuel Vadot
56*2846c905SEmmanuel Vadot	cpus {
57*2846c905SEmmanuel Vadot		#address-cells = <1>;
58*2846c905SEmmanuel Vadot		#size-cells = <0>;
59*2846c905SEmmanuel Vadot
60*2846c905SEmmanuel Vadot		cpu0: cpu@0 {
61*2846c905SEmmanuel Vadot			compatible = "arm,cortex-a55";
62*2846c905SEmmanuel Vadot			reg = <0>;
63*2846c905SEmmanuel Vadot			device_type = "cpu";
64*2846c905SEmmanuel Vadot			next-level-cache = <&L3_CA55>;
65*2846c905SEmmanuel Vadot			enable-method = "psci";
66*2846c905SEmmanuel Vadot			clocks = <&cpg CPG_CORE R9A09G047_CA55_0_CORECLK0>;
67*2846c905SEmmanuel Vadot			operating-points-v2 = <&cluster0_opp>;
68*2846c905SEmmanuel Vadot		};
69*2846c905SEmmanuel Vadot
70*2846c905SEmmanuel Vadot		cpu1: cpu@100 {
71*2846c905SEmmanuel Vadot			compatible = "arm,cortex-a55";
72*2846c905SEmmanuel Vadot			reg = <0x100>;
73*2846c905SEmmanuel Vadot			device_type = "cpu";
74*2846c905SEmmanuel Vadot			next-level-cache = <&L3_CA55>;
75*2846c905SEmmanuel Vadot			enable-method = "psci";
76*2846c905SEmmanuel Vadot			clocks = <&cpg CPG_CORE R9A09G047_CA55_0_CORECLK1>;
77*2846c905SEmmanuel Vadot			operating-points-v2 = <&cluster0_opp>;
78*2846c905SEmmanuel Vadot		};
79*2846c905SEmmanuel Vadot
80*2846c905SEmmanuel Vadot		cpu2: cpu@200 {
81*2846c905SEmmanuel Vadot			compatible = "arm,cortex-a55";
82*2846c905SEmmanuel Vadot			reg = <0x200>;
83*2846c905SEmmanuel Vadot			device_type = "cpu";
84*2846c905SEmmanuel Vadot			next-level-cache = <&L3_CA55>;
85*2846c905SEmmanuel Vadot			enable-method = "psci";
86*2846c905SEmmanuel Vadot			clocks = <&cpg CPG_CORE R9A09G047_CA55_0_CORECLK2>;
87*2846c905SEmmanuel Vadot			operating-points-v2 = <&cluster0_opp>;
88*2846c905SEmmanuel Vadot		};
89*2846c905SEmmanuel Vadot
90*2846c905SEmmanuel Vadot		cpu3: cpu@300 {
91*2846c905SEmmanuel Vadot			compatible = "arm,cortex-a55";
92*2846c905SEmmanuel Vadot			reg = <0x300>;
93*2846c905SEmmanuel Vadot			device_type = "cpu";
94*2846c905SEmmanuel Vadot			next-level-cache = <&L3_CA55>;
95*2846c905SEmmanuel Vadot			enable-method = "psci";
96*2846c905SEmmanuel Vadot			clocks = <&cpg CPG_CORE R9A09G047_CA55_0_CORECLK3>;
97*2846c905SEmmanuel Vadot			operating-points-v2 = <&cluster0_opp>;
98*2846c905SEmmanuel Vadot		};
99*2846c905SEmmanuel Vadot
100*2846c905SEmmanuel Vadot		L3_CA55: cache-controller-0 {
101*2846c905SEmmanuel Vadot			compatible = "cache";
102*2846c905SEmmanuel Vadot			cache-unified;
103*2846c905SEmmanuel Vadot			cache-size = <0x100000>;
104*2846c905SEmmanuel Vadot			cache-level = <3>;
105*2846c905SEmmanuel Vadot		};
106*2846c905SEmmanuel Vadot	};
107*2846c905SEmmanuel Vadot
108*2846c905SEmmanuel Vadot	psci {
109*2846c905SEmmanuel Vadot		compatible = "arm,psci-1.0", "arm,psci-0.2";
110*2846c905SEmmanuel Vadot		method = "smc";
111*2846c905SEmmanuel Vadot	};
112*2846c905SEmmanuel Vadot
113*2846c905SEmmanuel Vadot	qextal_clk: qextal-clk {
114*2846c905SEmmanuel Vadot		compatible = "fixed-clock";
115*2846c905SEmmanuel Vadot		#clock-cells = <0>;
116*2846c905SEmmanuel Vadot		/* This value must be overridden by the board */
117*2846c905SEmmanuel Vadot		clock-frequency = <0>;
118*2846c905SEmmanuel Vadot	};
119*2846c905SEmmanuel Vadot
120*2846c905SEmmanuel Vadot	rtxin_clk: rtxin-clk {
121*2846c905SEmmanuel Vadot		compatible = "fixed-clock";
122*2846c905SEmmanuel Vadot		#clock-cells = <0>;
123*2846c905SEmmanuel Vadot		/* This value must be overridden by the board */
124*2846c905SEmmanuel Vadot		clock-frequency = <0>;
125*2846c905SEmmanuel Vadot	};
126*2846c905SEmmanuel Vadot
127*2846c905SEmmanuel Vadot	soc: soc {
128*2846c905SEmmanuel Vadot		compatible = "simple-bus";
129*2846c905SEmmanuel Vadot		interrupt-parent = <&gic>;
130*2846c905SEmmanuel Vadot		#address-cells = <2>;
131*2846c905SEmmanuel Vadot		#size-cells = <2>;
132*2846c905SEmmanuel Vadot		ranges;
133*2846c905SEmmanuel Vadot
134*2846c905SEmmanuel Vadot		pinctrl: pinctrl@10410000 {
135*2846c905SEmmanuel Vadot			compatible = "renesas,r9a09g047-pinctrl";
136*2846c905SEmmanuel Vadot			reg = <0 0x10410000 0 0x10000>;
137*2846c905SEmmanuel Vadot			clocks = <&cpg CPG_CORE R9A09G047_IOTOP_0_SHCLK>;
138*2846c905SEmmanuel Vadot			gpio-controller;
139*2846c905SEmmanuel Vadot			#gpio-cells = <2>;
140*2846c905SEmmanuel Vadot			gpio-ranges = <&pinctrl 0 0 232>;
141*2846c905SEmmanuel Vadot			#interrupt-cells = <2>;
142*2846c905SEmmanuel Vadot			interrupt-controller;
143*2846c905SEmmanuel Vadot			power-domains = <&cpg>;
144*2846c905SEmmanuel Vadot			resets = <&cpg 0xa5>, <&cpg 0xa6>;
145*2846c905SEmmanuel Vadot		};
146*2846c905SEmmanuel Vadot
147*2846c905SEmmanuel Vadot		cpg: clock-controller@10420000 {
148*2846c905SEmmanuel Vadot			compatible = "renesas,r9a09g047-cpg";
149*2846c905SEmmanuel Vadot			reg = <0 0x10420000 0 0x10000>;
150*2846c905SEmmanuel Vadot			clocks = <&audio_extal_clk>, <&rtxin_clk>, <&qextal_clk>;
151*2846c905SEmmanuel Vadot			clock-names = "audio_extal", "rtxin", "qextal";
152*2846c905SEmmanuel Vadot			#clock-cells = <2>;
153*2846c905SEmmanuel Vadot			#reset-cells = <1>;
154*2846c905SEmmanuel Vadot			#power-domain-cells = <0>;
155*2846c905SEmmanuel Vadot		};
156*2846c905SEmmanuel Vadot
157*2846c905SEmmanuel Vadot		scif0: serial@11c01400 {
158*2846c905SEmmanuel Vadot			compatible = "renesas,scif-r9a09g047", "renesas,scif-r9a09g057";
159*2846c905SEmmanuel Vadot			reg = <0 0x11c01400 0 0x400>;
160*2846c905SEmmanuel Vadot			interrupts = <GIC_SPI 529 IRQ_TYPE_LEVEL_HIGH>,
161*2846c905SEmmanuel Vadot				     <GIC_SPI 532 IRQ_TYPE_LEVEL_HIGH>,
162*2846c905SEmmanuel Vadot				     <GIC_SPI 533 IRQ_TYPE_LEVEL_HIGH>,
163*2846c905SEmmanuel Vadot				     <GIC_SPI 530 IRQ_TYPE_LEVEL_HIGH>,
164*2846c905SEmmanuel Vadot				     <GIC_SPI 534 IRQ_TYPE_LEVEL_HIGH>,
165*2846c905SEmmanuel Vadot				     <GIC_SPI 531 IRQ_TYPE_LEVEL_HIGH>,
166*2846c905SEmmanuel Vadot				     <GIC_SPI 535 IRQ_TYPE_LEVEL_HIGH>,
167*2846c905SEmmanuel Vadot				     <GIC_SPI 536 IRQ_TYPE_EDGE_RISING>,
168*2846c905SEmmanuel Vadot				     <GIC_SPI 537 IRQ_TYPE_EDGE_RISING>;
169*2846c905SEmmanuel Vadot			interrupt-names = "eri", "rxi", "txi", "bri", "dri",
170*2846c905SEmmanuel Vadot					  "tei", "tei-dri", "rxi-edge", "txi-edge";
171*2846c905SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x8f>;
172*2846c905SEmmanuel Vadot			clock-names = "fck";
173*2846c905SEmmanuel Vadot			power-domains = <&cpg>;
174*2846c905SEmmanuel Vadot			resets = <&cpg 0x95>;
175*2846c905SEmmanuel Vadot			status = "disabled";
176*2846c905SEmmanuel Vadot		};
177*2846c905SEmmanuel Vadot
178*2846c905SEmmanuel Vadot		i2c0: i2c@14400400 {
179*2846c905SEmmanuel Vadot			compatible = "renesas,riic-r9a09g047", "renesas,riic-r9a09g057";
180*2846c905SEmmanuel Vadot			reg = <0 0x14400400 0 0x400>;
181*2846c905SEmmanuel Vadot			interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>,
182*2846c905SEmmanuel Vadot				     <GIC_SPI 507 IRQ_TYPE_EDGE_RISING>,
183*2846c905SEmmanuel Vadot				     <GIC_SPI 506 IRQ_TYPE_EDGE_RISING>,
184*2846c905SEmmanuel Vadot				     <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>,
185*2846c905SEmmanuel Vadot				     <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>,
186*2846c905SEmmanuel Vadot				     <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>,
187*2846c905SEmmanuel Vadot				     <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>,
188*2846c905SEmmanuel Vadot				     <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>;
189*2846c905SEmmanuel Vadot			interrupt-names = "tei", "ri", "ti", "spi", "sti",
190*2846c905SEmmanuel Vadot					  "naki", "ali", "tmoi";
191*2846c905SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x94>;
192*2846c905SEmmanuel Vadot			resets = <&cpg 0x98>;
193*2846c905SEmmanuel Vadot			power-domains = <&cpg>;
194*2846c905SEmmanuel Vadot			#address-cells = <1>;
195*2846c905SEmmanuel Vadot			#size-cells = <0>;
196*2846c905SEmmanuel Vadot			status = "disabled";
197*2846c905SEmmanuel Vadot		};
198*2846c905SEmmanuel Vadot
199*2846c905SEmmanuel Vadot		i2c1: i2c@14400800 {
200*2846c905SEmmanuel Vadot			compatible = "renesas,riic-r9a09g047", "renesas,riic-r9a09g057";
201*2846c905SEmmanuel Vadot			reg = <0 0x14400800 0 0x400>;
202*2846c905SEmmanuel Vadot			interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>,
203*2846c905SEmmanuel Vadot				     <GIC_SPI 509 IRQ_TYPE_EDGE_RISING>,
204*2846c905SEmmanuel Vadot				     <GIC_SPI 508 IRQ_TYPE_EDGE_RISING>,
205*2846c905SEmmanuel Vadot				     <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
206*2846c905SEmmanuel Vadot				     <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
207*2846c905SEmmanuel Vadot				     <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
208*2846c905SEmmanuel Vadot				     <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
209*2846c905SEmmanuel Vadot				     <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>;
210*2846c905SEmmanuel Vadot			interrupt-names = "tei", "ri", "ti", "spi", "sti",
211*2846c905SEmmanuel Vadot					  "naki", "ali", "tmoi";
212*2846c905SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x95>;
213*2846c905SEmmanuel Vadot			resets = <&cpg 0x99>;
214*2846c905SEmmanuel Vadot			power-domains = <&cpg>;
215*2846c905SEmmanuel Vadot			#address-cells = <1>;
216*2846c905SEmmanuel Vadot			#size-cells = <0>;
217*2846c905SEmmanuel Vadot			status = "disabled";
218*2846c905SEmmanuel Vadot		};
219*2846c905SEmmanuel Vadot
220*2846c905SEmmanuel Vadot		i2c2: i2c@14400c00 {
221*2846c905SEmmanuel Vadot			compatible = "renesas,riic-r9a09g047", "renesas,riic-r9a09g057";
222*2846c905SEmmanuel Vadot			reg = <0 0x14400c00 0 0x400>;
223*2846c905SEmmanuel Vadot			interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
224*2846c905SEmmanuel Vadot				     <GIC_SPI 511 IRQ_TYPE_EDGE_RISING>,
225*2846c905SEmmanuel Vadot				     <GIC_SPI 510 IRQ_TYPE_EDGE_RISING>,
226*2846c905SEmmanuel Vadot				     <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
227*2846c905SEmmanuel Vadot				     <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
228*2846c905SEmmanuel Vadot				     <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
229*2846c905SEmmanuel Vadot				     <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
230*2846c905SEmmanuel Vadot				     <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
231*2846c905SEmmanuel Vadot			interrupt-names = "tei", "ri", "ti", "spi", "sti",
232*2846c905SEmmanuel Vadot					  "naki", "ali", "tmoi";
233*2846c905SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x96>;
234*2846c905SEmmanuel Vadot			resets = <&cpg 0x9a>;
235*2846c905SEmmanuel Vadot			power-domains = <&cpg>;
236*2846c905SEmmanuel Vadot			#address-cells = <1>;
237*2846c905SEmmanuel Vadot			#size-cells = <0>;
238*2846c905SEmmanuel Vadot			status = "disabled";
239*2846c905SEmmanuel Vadot		};
240*2846c905SEmmanuel Vadot
241*2846c905SEmmanuel Vadot		i2c3: i2c@14401000 {
242*2846c905SEmmanuel Vadot			compatible = "renesas,riic-r9a09g047", "renesas,riic-r9a09g057";
243*2846c905SEmmanuel Vadot			reg = <0 0x14401000 0 0x400>;
244*2846c905SEmmanuel Vadot			interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
245*2846c905SEmmanuel Vadot				     <GIC_SPI 513 IRQ_TYPE_EDGE_RISING>,
246*2846c905SEmmanuel Vadot				     <GIC_SPI 512 IRQ_TYPE_EDGE_RISING>,
247*2846c905SEmmanuel Vadot				     <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>,
248*2846c905SEmmanuel Vadot				     <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>,
249*2846c905SEmmanuel Vadot				     <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>,
250*2846c905SEmmanuel Vadot				     <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
251*2846c905SEmmanuel Vadot				     <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
252*2846c905SEmmanuel Vadot			interrupt-names = "tei", "ri", "ti", "spi", "sti",
253*2846c905SEmmanuel Vadot					  "naki", "ali", "tmoi";
254*2846c905SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x97>;
255*2846c905SEmmanuel Vadot			resets = <&cpg 0x9b>;
256*2846c905SEmmanuel Vadot			power-domains = <&cpg>;
257*2846c905SEmmanuel Vadot			#address-cells = <1>;
258*2846c905SEmmanuel Vadot			#size-cells = <0>;
259*2846c905SEmmanuel Vadot			status = "disabled";
260*2846c905SEmmanuel Vadot		};
261*2846c905SEmmanuel Vadot
262*2846c905SEmmanuel Vadot		i2c4: i2c@14401400 {
263*2846c905SEmmanuel Vadot			compatible = "renesas,riic-r9a09g047", "renesas,riic-r9a09g057";
264*2846c905SEmmanuel Vadot			reg = <0 0x14401400 0 0x400>;
265*2846c905SEmmanuel Vadot			interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>,
266*2846c905SEmmanuel Vadot				     <GIC_SPI 515 IRQ_TYPE_EDGE_RISING>,
267*2846c905SEmmanuel Vadot				     <GIC_SPI 514 IRQ_TYPE_EDGE_RISING>,
268*2846c905SEmmanuel Vadot				     <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>,
269*2846c905SEmmanuel Vadot				     <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>,
270*2846c905SEmmanuel Vadot				     <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>,
271*2846c905SEmmanuel Vadot				     <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>,
272*2846c905SEmmanuel Vadot				     <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>;
273*2846c905SEmmanuel Vadot			interrupt-names = "tei", "ri", "ti", "spi", "sti",
274*2846c905SEmmanuel Vadot					  "naki", "ali", "tmoi";
275*2846c905SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x98>;
276*2846c905SEmmanuel Vadot			resets = <&cpg 0x9c>;
277*2846c905SEmmanuel Vadot			power-domains = <&cpg>;
278*2846c905SEmmanuel Vadot			#address-cells = <1>;
279*2846c905SEmmanuel Vadot			#size-cells = <0>;
280*2846c905SEmmanuel Vadot			status = "disabled";
281*2846c905SEmmanuel Vadot		};
282*2846c905SEmmanuel Vadot
283*2846c905SEmmanuel Vadot		i2c5: i2c@14401800 {
284*2846c905SEmmanuel Vadot			compatible = "renesas,riic-r9a09g047", "renesas,riic-r9a09g057";
285*2846c905SEmmanuel Vadot			reg = <0 0x14401800 0 0x400>;
286*2846c905SEmmanuel Vadot			interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
287*2846c905SEmmanuel Vadot				     <GIC_SPI 517 IRQ_TYPE_EDGE_RISING>,
288*2846c905SEmmanuel Vadot				     <GIC_SPI 516 IRQ_TYPE_EDGE_RISING>,
289*2846c905SEmmanuel Vadot				     <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>,
290*2846c905SEmmanuel Vadot				     <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>,
291*2846c905SEmmanuel Vadot				     <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>,
292*2846c905SEmmanuel Vadot				     <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>,
293*2846c905SEmmanuel Vadot				     <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
294*2846c905SEmmanuel Vadot			interrupt-names = "tei", "ri", "ti", "spi", "sti",
295*2846c905SEmmanuel Vadot					  "naki", "ali", "tmoi";
296*2846c905SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x99>;
297*2846c905SEmmanuel Vadot			resets = <&cpg 0x9d>;
298*2846c905SEmmanuel Vadot			power-domains = <&cpg>;
299*2846c905SEmmanuel Vadot			#address-cells = <1>;
300*2846c905SEmmanuel Vadot			#size-cells = <0>;
301*2846c905SEmmanuel Vadot			status = "disabled";
302*2846c905SEmmanuel Vadot		};
303*2846c905SEmmanuel Vadot
304*2846c905SEmmanuel Vadot		i2c6: i2c@14401c00 {
305*2846c905SEmmanuel Vadot			compatible = "renesas,riic-r9a09g047", "renesas,riic-r9a09g057";
306*2846c905SEmmanuel Vadot			reg = <0 0x14401c00 0 0x400>;
307*2846c905SEmmanuel Vadot			interrupts = <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>,
308*2846c905SEmmanuel Vadot				     <GIC_SPI 519 IRQ_TYPE_EDGE_RISING>,
309*2846c905SEmmanuel Vadot				     <GIC_SPI 518 IRQ_TYPE_EDGE_RISING>,
310*2846c905SEmmanuel Vadot				     <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>,
311*2846c905SEmmanuel Vadot				     <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>,
312*2846c905SEmmanuel Vadot				     <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>,
313*2846c905SEmmanuel Vadot				     <GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>,
314*2846c905SEmmanuel Vadot				     <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
315*2846c905SEmmanuel Vadot			interrupt-names = "tei", "ri", "ti", "spi", "sti",
316*2846c905SEmmanuel Vadot					  "naki", "ali", "tmoi";
317*2846c905SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x9a>;
318*2846c905SEmmanuel Vadot			resets = <&cpg 0x9e>;
319*2846c905SEmmanuel Vadot			power-domains = <&cpg>;
320*2846c905SEmmanuel Vadot			#address-cells = <1>;
321*2846c905SEmmanuel Vadot			#size-cells = <0>;
322*2846c905SEmmanuel Vadot			status = "disabled";
323*2846c905SEmmanuel Vadot		};
324*2846c905SEmmanuel Vadot
325*2846c905SEmmanuel Vadot		i2c7: i2c@14402000 {
326*2846c905SEmmanuel Vadot			compatible = "renesas,riic-r9a09g047", "renesas,riic-r9a09g057";
327*2846c905SEmmanuel Vadot			reg = <0 0x14402000 0 0x400>;
328*2846c905SEmmanuel Vadot			interrupts = <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>,
329*2846c905SEmmanuel Vadot				     <GIC_SPI 521 IRQ_TYPE_EDGE_RISING>,
330*2846c905SEmmanuel Vadot				     <GIC_SPI 520 IRQ_TYPE_EDGE_RISING>,
331*2846c905SEmmanuel Vadot				     <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>,
332*2846c905SEmmanuel Vadot				     <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
333*2846c905SEmmanuel Vadot				     <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
334*2846c905SEmmanuel Vadot				     <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>,
335*2846c905SEmmanuel Vadot				     <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
336*2846c905SEmmanuel Vadot			interrupt-names = "tei", "ri", "ti", "spi", "sti",
337*2846c905SEmmanuel Vadot					  "naki", "ali", "tmoi";
338*2846c905SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x9b>;
339*2846c905SEmmanuel Vadot			resets = <&cpg 0x9f>;
340*2846c905SEmmanuel Vadot			power-domains = <&cpg>;
341*2846c905SEmmanuel Vadot			#address-cells = <1>;
342*2846c905SEmmanuel Vadot			#size-cells = <0>;
343*2846c905SEmmanuel Vadot			status = "disabled";
344*2846c905SEmmanuel Vadot		};
345*2846c905SEmmanuel Vadot
346*2846c905SEmmanuel Vadot		i2c8: i2c@11c01000 {
347*2846c905SEmmanuel Vadot			compatible = "renesas,riic-r9a09g047", "renesas,riic-r9a09g057";
348*2846c905SEmmanuel Vadot			reg = <0 0x11c01000 0 0x400>;
349*2846c905SEmmanuel Vadot			interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>,
350*2846c905SEmmanuel Vadot				     <GIC_SPI 523 IRQ_TYPE_EDGE_RISING>,
351*2846c905SEmmanuel Vadot				     <GIC_SPI 522 IRQ_TYPE_EDGE_RISING>,
352*2846c905SEmmanuel Vadot				     <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>,
353*2846c905SEmmanuel Vadot				     <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>,
354*2846c905SEmmanuel Vadot				     <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>,
355*2846c905SEmmanuel Vadot				     <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>,
356*2846c905SEmmanuel Vadot				     <GIC_SPI 227 IRQ_TYPE_LEVEL_HIGH>;
357*2846c905SEmmanuel Vadot			interrupt-names = "tei", "ri", "ti", "spi", "sti",
358*2846c905SEmmanuel Vadot					  "naki", "ali", "tmoi";
359*2846c905SEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x93>;
360*2846c905SEmmanuel Vadot			resets = <&cpg 0xa0>;
361*2846c905SEmmanuel Vadot			power-domains = <&cpg>;
362*2846c905SEmmanuel Vadot			#address-cells = <1>;
363*2846c905SEmmanuel Vadot			#size-cells = <0>;
364*2846c905SEmmanuel Vadot			status = "disabled";
365*2846c905SEmmanuel Vadot		};
366*2846c905SEmmanuel Vadot
367*2846c905SEmmanuel Vadot		gic: interrupt-controller@14900000 {
368*2846c905SEmmanuel Vadot			compatible = "arm,gic-v3";
369*2846c905SEmmanuel Vadot			reg = <0x0 0x14900000 0 0x20000>,
370*2846c905SEmmanuel Vadot			      <0x0 0x14940000 0 0x80000>;
371*2846c905SEmmanuel Vadot			#interrupt-cells = <3>;
372*2846c905SEmmanuel Vadot			#address-cells = <0>;
373*2846c905SEmmanuel Vadot			interrupt-controller;
374*2846c905SEmmanuel Vadot			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>;
375*2846c905SEmmanuel Vadot		};
376*2846c905SEmmanuel Vadot	};
377*2846c905SEmmanuel Vadot
378*2846c905SEmmanuel Vadot	timer {
379*2846c905SEmmanuel Vadot		compatible = "arm,armv8-timer";
380*2846c905SEmmanuel Vadot		interrupts-extended = <&gic GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
381*2846c905SEmmanuel Vadot				      <&gic GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
382*2846c905SEmmanuel Vadot				      <&gic GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
383*2846c905SEmmanuel Vadot				      <&gic GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>,
384*2846c905SEmmanuel Vadot				      <&gic GIC_PPI 12 IRQ_TYPE_LEVEL_LOW>;
385*2846c905SEmmanuel Vadot		interrupt-names = "sec-phys", "phys", "virt", "hyp-phys", "hyp-virt";
386*2846c905SEmmanuel Vadot	};
387*2846c905SEmmanuel Vadot};
388