xref: /freebsd/sys/contrib/device-tree/src/arm64/renesas/r9a09g057.dtsi (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1*b2d2a78aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*b2d2a78aSEmmanuel Vadot/*
3*b2d2a78aSEmmanuel Vadot * Device Tree Source for the RZ/V2H(P) SoC
4*b2d2a78aSEmmanuel Vadot *
5*b2d2a78aSEmmanuel Vadot * Copyright (C) 2024 Renesas Electronics Corp.
6*b2d2a78aSEmmanuel Vadot */
7*b2d2a78aSEmmanuel Vadot
8*b2d2a78aSEmmanuel Vadot#include <dt-bindings/clock/renesas,r9a09g057-cpg.h>
9*b2d2a78aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h>
10*b2d2a78aSEmmanuel Vadot
11*b2d2a78aSEmmanuel Vadot/ {
12*b2d2a78aSEmmanuel Vadot	compatible = "renesas,r9a09g057";
13*b2d2a78aSEmmanuel Vadot	#address-cells = <2>;
14*b2d2a78aSEmmanuel Vadot	#size-cells = <2>;
15*b2d2a78aSEmmanuel Vadot
16*b2d2a78aSEmmanuel Vadot	audio_extal_clk: audio-clk {
17*b2d2a78aSEmmanuel Vadot		compatible = "fixed-clock";
18*b2d2a78aSEmmanuel Vadot		#clock-cells = <0>;
19*b2d2a78aSEmmanuel Vadot		/* This value must be overridden by the board */
20*b2d2a78aSEmmanuel Vadot		clock-frequency = <0>;
21*b2d2a78aSEmmanuel Vadot	};
22*b2d2a78aSEmmanuel Vadot
23*b2d2a78aSEmmanuel Vadot	cpus {
24*b2d2a78aSEmmanuel Vadot		#address-cells = <1>;
25*b2d2a78aSEmmanuel Vadot		#size-cells = <0>;
26*b2d2a78aSEmmanuel Vadot
27*b2d2a78aSEmmanuel Vadot		cpu0: cpu@0 {
28*b2d2a78aSEmmanuel Vadot			compatible = "arm,cortex-a55";
29*b2d2a78aSEmmanuel Vadot			reg = <0>;
30*b2d2a78aSEmmanuel Vadot			device_type = "cpu";
31*b2d2a78aSEmmanuel Vadot			next-level-cache = <&L3_CA55>;
32*b2d2a78aSEmmanuel Vadot			enable-method = "psci";
33*b2d2a78aSEmmanuel Vadot		};
34*b2d2a78aSEmmanuel Vadot
35*b2d2a78aSEmmanuel Vadot		cpu1: cpu@100 {
36*b2d2a78aSEmmanuel Vadot			compatible = "arm,cortex-a55";
37*b2d2a78aSEmmanuel Vadot			reg = <0x100>;
38*b2d2a78aSEmmanuel Vadot			device_type = "cpu";
39*b2d2a78aSEmmanuel Vadot			next-level-cache = <&L3_CA55>;
40*b2d2a78aSEmmanuel Vadot			enable-method = "psci";
41*b2d2a78aSEmmanuel Vadot		};
42*b2d2a78aSEmmanuel Vadot
43*b2d2a78aSEmmanuel Vadot		cpu2: cpu@200 {
44*b2d2a78aSEmmanuel Vadot			compatible = "arm,cortex-a55";
45*b2d2a78aSEmmanuel Vadot			reg = <0x200>;
46*b2d2a78aSEmmanuel Vadot			device_type = "cpu";
47*b2d2a78aSEmmanuel Vadot			next-level-cache = <&L3_CA55>;
48*b2d2a78aSEmmanuel Vadot			enable-method = "psci";
49*b2d2a78aSEmmanuel Vadot		};
50*b2d2a78aSEmmanuel Vadot
51*b2d2a78aSEmmanuel Vadot		cpu3: cpu@300 {
52*b2d2a78aSEmmanuel Vadot			compatible = "arm,cortex-a55";
53*b2d2a78aSEmmanuel Vadot			reg = <0x300>;
54*b2d2a78aSEmmanuel Vadot			device_type = "cpu";
55*b2d2a78aSEmmanuel Vadot			next-level-cache = <&L3_CA55>;
56*b2d2a78aSEmmanuel Vadot			enable-method = "psci";
57*b2d2a78aSEmmanuel Vadot		};
58*b2d2a78aSEmmanuel Vadot
59*b2d2a78aSEmmanuel Vadot		L3_CA55: cache-controller-0 {
60*b2d2a78aSEmmanuel Vadot			compatible = "cache";
61*b2d2a78aSEmmanuel Vadot			cache-unified;
62*b2d2a78aSEmmanuel Vadot			cache-size = <0x100000>;
63*b2d2a78aSEmmanuel Vadot			cache-level = <3>;
64*b2d2a78aSEmmanuel Vadot		};
65*b2d2a78aSEmmanuel Vadot	};
66*b2d2a78aSEmmanuel Vadot
67*b2d2a78aSEmmanuel Vadot	psci {
68*b2d2a78aSEmmanuel Vadot		compatible = "arm,psci-1.0", "arm,psci-0.2";
69*b2d2a78aSEmmanuel Vadot		method = "smc";
70*b2d2a78aSEmmanuel Vadot	};
71*b2d2a78aSEmmanuel Vadot
72*b2d2a78aSEmmanuel Vadot	qextal_clk: qextal-clk {
73*b2d2a78aSEmmanuel Vadot		compatible = "fixed-clock";
74*b2d2a78aSEmmanuel Vadot		#clock-cells = <0>;
75*b2d2a78aSEmmanuel Vadot		/* This value must be overridden by the board */
76*b2d2a78aSEmmanuel Vadot		clock-frequency = <0>;
77*b2d2a78aSEmmanuel Vadot	};
78*b2d2a78aSEmmanuel Vadot
79*b2d2a78aSEmmanuel Vadot	rtxin_clk: rtxin-clk {
80*b2d2a78aSEmmanuel Vadot		compatible = "fixed-clock";
81*b2d2a78aSEmmanuel Vadot		#clock-cells = <0>;
82*b2d2a78aSEmmanuel Vadot		/* This value must be overridden by the board */
83*b2d2a78aSEmmanuel Vadot		clock-frequency = <0>;
84*b2d2a78aSEmmanuel Vadot	};
85*b2d2a78aSEmmanuel Vadot
86*b2d2a78aSEmmanuel Vadot	soc: soc {
87*b2d2a78aSEmmanuel Vadot		compatible = "simple-bus";
88*b2d2a78aSEmmanuel Vadot		interrupt-parent = <&gic>;
89*b2d2a78aSEmmanuel Vadot		#address-cells = <2>;
90*b2d2a78aSEmmanuel Vadot		#size-cells = <2>;
91*b2d2a78aSEmmanuel Vadot		ranges;
92*b2d2a78aSEmmanuel Vadot
93*b2d2a78aSEmmanuel Vadot		pinctrl: pinctrl@10410000 {
94*b2d2a78aSEmmanuel Vadot			compatible = "renesas,r9a09g057-pinctrl";
95*b2d2a78aSEmmanuel Vadot			reg = <0 0x10410000 0 0x10000>;
96*b2d2a78aSEmmanuel Vadot			clocks = <&cpg CPG_CORE R9A09G057_IOTOP_0_SHCLK>;
97*b2d2a78aSEmmanuel Vadot			gpio-controller;
98*b2d2a78aSEmmanuel Vadot			#gpio-cells = <2>;
99*b2d2a78aSEmmanuel Vadot			gpio-ranges = <&pinctrl 0 0 96>;
100*b2d2a78aSEmmanuel Vadot			#interrupt-cells = <2>;
101*b2d2a78aSEmmanuel Vadot			interrupt-controller;
102*b2d2a78aSEmmanuel Vadot			power-domains = <&cpg>;
103*b2d2a78aSEmmanuel Vadot			resets = <&cpg 0xa5>, <&cpg 0xa6>;
104*b2d2a78aSEmmanuel Vadot		};
105*b2d2a78aSEmmanuel Vadot
106*b2d2a78aSEmmanuel Vadot		cpg: clock-controller@10420000 {
107*b2d2a78aSEmmanuel Vadot			compatible = "renesas,r9a09g057-cpg";
108*b2d2a78aSEmmanuel Vadot			reg = <0 0x10420000 0 0x10000>;
109*b2d2a78aSEmmanuel Vadot			clocks = <&audio_extal_clk>, <&rtxin_clk>, <&qextal_clk>;
110*b2d2a78aSEmmanuel Vadot			clock-names = "audio_extal", "rtxin", "qextal";
111*b2d2a78aSEmmanuel Vadot			#clock-cells = <2>;
112*b2d2a78aSEmmanuel Vadot			#reset-cells = <1>;
113*b2d2a78aSEmmanuel Vadot			#power-domain-cells = <0>;
114*b2d2a78aSEmmanuel Vadot		};
115*b2d2a78aSEmmanuel Vadot
116*b2d2a78aSEmmanuel Vadot		sys: system-controller@10430000 {
117*b2d2a78aSEmmanuel Vadot			compatible = "renesas,r9a09g057-sys";
118*b2d2a78aSEmmanuel Vadot			reg = <0 0x10430000 0 0x10000>;
119*b2d2a78aSEmmanuel Vadot			clocks = <&cpg CPG_CORE R9A09G057_SYS_0_PCLK>;
120*b2d2a78aSEmmanuel Vadot			resets = <&cpg 0x30>;
121*b2d2a78aSEmmanuel Vadot			status = "disabled";
122*b2d2a78aSEmmanuel Vadot		};
123*b2d2a78aSEmmanuel Vadot
124*b2d2a78aSEmmanuel Vadot		ostm0: timer@11800000 {
125*b2d2a78aSEmmanuel Vadot			compatible = "renesas,r9a09g057-ostm", "renesas,ostm";
126*b2d2a78aSEmmanuel Vadot			reg = <0x0 0x11800000 0x0 0x1000>;
127*b2d2a78aSEmmanuel Vadot			interrupts = <GIC_SPI 17 IRQ_TYPE_EDGE_RISING>;
128*b2d2a78aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x43>;
129*b2d2a78aSEmmanuel Vadot			resets = <&cpg 0x6d>;
130*b2d2a78aSEmmanuel Vadot			power-domains = <&cpg>;
131*b2d2a78aSEmmanuel Vadot			status = "disabled";
132*b2d2a78aSEmmanuel Vadot		};
133*b2d2a78aSEmmanuel Vadot
134*b2d2a78aSEmmanuel Vadot		ostm1: timer@11801000 {
135*b2d2a78aSEmmanuel Vadot			compatible = "renesas,r9a09g057-ostm", "renesas,ostm";
136*b2d2a78aSEmmanuel Vadot			reg = <0x0 0x11801000 0x0 0x1000>;
137*b2d2a78aSEmmanuel Vadot			interrupts = <GIC_SPI 18 IRQ_TYPE_EDGE_RISING>;
138*b2d2a78aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x44>;
139*b2d2a78aSEmmanuel Vadot			resets = <&cpg 0x6e>;
140*b2d2a78aSEmmanuel Vadot			power-domains = <&cpg>;
141*b2d2a78aSEmmanuel Vadot			status = "disabled";
142*b2d2a78aSEmmanuel Vadot		};
143*b2d2a78aSEmmanuel Vadot
144*b2d2a78aSEmmanuel Vadot		ostm2: timer@14000000 {
145*b2d2a78aSEmmanuel Vadot			compatible = "renesas,r9a09g057-ostm", "renesas,ostm";
146*b2d2a78aSEmmanuel Vadot			reg = <0x0 0x14000000 0x0 0x1000>;
147*b2d2a78aSEmmanuel Vadot			interrupts = <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>;
148*b2d2a78aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x45>;
149*b2d2a78aSEmmanuel Vadot			resets = <&cpg 0x6f>;
150*b2d2a78aSEmmanuel Vadot			power-domains = <&cpg>;
151*b2d2a78aSEmmanuel Vadot			status = "disabled";
152*b2d2a78aSEmmanuel Vadot		};
153*b2d2a78aSEmmanuel Vadot
154*b2d2a78aSEmmanuel Vadot		ostm3: timer@14001000 {
155*b2d2a78aSEmmanuel Vadot			compatible = "renesas,r9a09g057-ostm", "renesas,ostm";
156*b2d2a78aSEmmanuel Vadot			reg = <0x0 0x14001000 0x0 0x1000>;
157*b2d2a78aSEmmanuel Vadot			interrupts = <GIC_SPI 20 IRQ_TYPE_EDGE_RISING>;
158*b2d2a78aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x46>;
159*b2d2a78aSEmmanuel Vadot			resets = <&cpg 0x70>;
160*b2d2a78aSEmmanuel Vadot			power-domains = <&cpg>;
161*b2d2a78aSEmmanuel Vadot			status = "disabled";
162*b2d2a78aSEmmanuel Vadot		};
163*b2d2a78aSEmmanuel Vadot
164*b2d2a78aSEmmanuel Vadot		ostm4: timer@12c00000 {
165*b2d2a78aSEmmanuel Vadot			compatible = "renesas,r9a09g057-ostm", "renesas,ostm";
166*b2d2a78aSEmmanuel Vadot			reg = <0x0 0x12c00000 0x0 0x1000>;
167*b2d2a78aSEmmanuel Vadot			interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>;
168*b2d2a78aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x47>;
169*b2d2a78aSEmmanuel Vadot			resets = <&cpg 0x71>;
170*b2d2a78aSEmmanuel Vadot			power-domains = <&cpg>;
171*b2d2a78aSEmmanuel Vadot			status = "disabled";
172*b2d2a78aSEmmanuel Vadot		};
173*b2d2a78aSEmmanuel Vadot
174*b2d2a78aSEmmanuel Vadot		ostm5: timer@12c01000 {
175*b2d2a78aSEmmanuel Vadot			compatible = "renesas,r9a09g057-ostm", "renesas,ostm";
176*b2d2a78aSEmmanuel Vadot			reg = <0x0 0x12c01000 0x0 0x1000>;
177*b2d2a78aSEmmanuel Vadot			interrupts = <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>;
178*b2d2a78aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x48>;
179*b2d2a78aSEmmanuel Vadot			resets = <&cpg 0x72>;
180*b2d2a78aSEmmanuel Vadot			power-domains = <&cpg>;
181*b2d2a78aSEmmanuel Vadot			status = "disabled";
182*b2d2a78aSEmmanuel Vadot		};
183*b2d2a78aSEmmanuel Vadot
184*b2d2a78aSEmmanuel Vadot		ostm6: timer@12c02000 {
185*b2d2a78aSEmmanuel Vadot			compatible = "renesas,r9a09g057-ostm", "renesas,ostm";
186*b2d2a78aSEmmanuel Vadot			reg = <0x0 0x12c02000 0x0 0x1000>;
187*b2d2a78aSEmmanuel Vadot			interrupts = <GIC_SPI 23 IRQ_TYPE_EDGE_RISING>;
188*b2d2a78aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x49>;
189*b2d2a78aSEmmanuel Vadot			resets = <&cpg 0x73>;
190*b2d2a78aSEmmanuel Vadot			power-domains = <&cpg>;
191*b2d2a78aSEmmanuel Vadot			status = "disabled";
192*b2d2a78aSEmmanuel Vadot		};
193*b2d2a78aSEmmanuel Vadot
194*b2d2a78aSEmmanuel Vadot		ostm7: timer@12c03000 {
195*b2d2a78aSEmmanuel Vadot			compatible = "renesas,r9a09g057-ostm", "renesas,ostm";
196*b2d2a78aSEmmanuel Vadot			reg = <0x0 0x12c03000 0x0 0x1000>;
197*b2d2a78aSEmmanuel Vadot			interrupts = <GIC_SPI 24 IRQ_TYPE_EDGE_RISING>;
198*b2d2a78aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x4a>;
199*b2d2a78aSEmmanuel Vadot			resets = <&cpg 0x74>;
200*b2d2a78aSEmmanuel Vadot			power-domains = <&cpg>;
201*b2d2a78aSEmmanuel Vadot			status = "disabled";
202*b2d2a78aSEmmanuel Vadot		};
203*b2d2a78aSEmmanuel Vadot
204*b2d2a78aSEmmanuel Vadot		wdt0: watchdog@11c00400 {
205*b2d2a78aSEmmanuel Vadot			compatible = "renesas,r9a09g057-wdt";
206*b2d2a78aSEmmanuel Vadot			reg = <0 0x11c00400 0 0x400>;
207*b2d2a78aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x4b>, <&cpg CPG_MOD 0x4c>;
208*b2d2a78aSEmmanuel Vadot			clock-names = "pclk", "oscclk";
209*b2d2a78aSEmmanuel Vadot			resets = <&cpg 0x75>;
210*b2d2a78aSEmmanuel Vadot			power-domains = <&cpg>;
211*b2d2a78aSEmmanuel Vadot			status = "disabled";
212*b2d2a78aSEmmanuel Vadot		};
213*b2d2a78aSEmmanuel Vadot
214*b2d2a78aSEmmanuel Vadot		wdt1: watchdog@14400000 {
215*b2d2a78aSEmmanuel Vadot			compatible = "renesas,r9a09g057-wdt";
216*b2d2a78aSEmmanuel Vadot			reg = <0 0x14400000 0 0x400>;
217*b2d2a78aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x4d>, <&cpg CPG_MOD 0x4e>;
218*b2d2a78aSEmmanuel Vadot			clock-names = "pclk", "oscclk";
219*b2d2a78aSEmmanuel Vadot			resets = <&cpg 0x76>;
220*b2d2a78aSEmmanuel Vadot			power-domains = <&cpg>;
221*b2d2a78aSEmmanuel Vadot			status = "disabled";
222*b2d2a78aSEmmanuel Vadot		};
223*b2d2a78aSEmmanuel Vadot
224*b2d2a78aSEmmanuel Vadot		wdt2: watchdog@13000000 {
225*b2d2a78aSEmmanuel Vadot			compatible = "renesas,r9a09g057-wdt";
226*b2d2a78aSEmmanuel Vadot			reg = <0 0x13000000 0 0x400>;
227*b2d2a78aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x4f>, <&cpg CPG_MOD 0x50>;
228*b2d2a78aSEmmanuel Vadot			clock-names = "pclk", "oscclk";
229*b2d2a78aSEmmanuel Vadot			resets = <&cpg 0x77>;
230*b2d2a78aSEmmanuel Vadot			power-domains = <&cpg>;
231*b2d2a78aSEmmanuel Vadot			status = "disabled";
232*b2d2a78aSEmmanuel Vadot		};
233*b2d2a78aSEmmanuel Vadot
234*b2d2a78aSEmmanuel Vadot		wdt3: watchdog@13000400 {
235*b2d2a78aSEmmanuel Vadot			compatible = "renesas,r9a09g057-wdt";
236*b2d2a78aSEmmanuel Vadot			reg = <0 0x13000400 0 0x400>;
237*b2d2a78aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x51>, <&cpg CPG_MOD 0x52>;
238*b2d2a78aSEmmanuel Vadot			clock-names = "pclk", "oscclk";
239*b2d2a78aSEmmanuel Vadot			resets = <&cpg 0x78>;
240*b2d2a78aSEmmanuel Vadot			power-domains = <&cpg>;
241*b2d2a78aSEmmanuel Vadot			status = "disabled";
242*b2d2a78aSEmmanuel Vadot		};
243*b2d2a78aSEmmanuel Vadot
244*b2d2a78aSEmmanuel Vadot		scif: serial@11c01400 {
245*b2d2a78aSEmmanuel Vadot			compatible = "renesas,scif-r9a09g057";
246*b2d2a78aSEmmanuel Vadot			reg = <0 0x11c01400 0 0x400>;
247*b2d2a78aSEmmanuel Vadot			interrupts = <GIC_SPI 529 IRQ_TYPE_LEVEL_HIGH>,
248*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 532 IRQ_TYPE_LEVEL_HIGH>,
249*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 533 IRQ_TYPE_LEVEL_HIGH>,
250*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 530 IRQ_TYPE_LEVEL_HIGH>,
251*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 534 IRQ_TYPE_LEVEL_HIGH>,
252*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 531 IRQ_TYPE_LEVEL_HIGH>,
253*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 535 IRQ_TYPE_LEVEL_HIGH>,
254*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 536 IRQ_TYPE_EDGE_RISING>,
255*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 537 IRQ_TYPE_EDGE_RISING>;
256*b2d2a78aSEmmanuel Vadot			interrupt-names = "eri", "rxi", "txi", "bri", "dri",
257*b2d2a78aSEmmanuel Vadot					  "tei", "tei-dri", "rxi-edge", "txi-edge";
258*b2d2a78aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x8f>;
259*b2d2a78aSEmmanuel Vadot			clock-names = "fck";
260*b2d2a78aSEmmanuel Vadot			power-domains = <&cpg>;
261*b2d2a78aSEmmanuel Vadot			resets = <&cpg 0x95>;
262*b2d2a78aSEmmanuel Vadot			status = "disabled";
263*b2d2a78aSEmmanuel Vadot		};
264*b2d2a78aSEmmanuel Vadot
265*b2d2a78aSEmmanuel Vadot		i2c0: i2c@14400400 {
266*b2d2a78aSEmmanuel Vadot			compatible = "renesas,riic-r9a09g057";
267*b2d2a78aSEmmanuel Vadot			reg = <0 0x14400400 0 0x400>;
268*b2d2a78aSEmmanuel Vadot			interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>,
269*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 507 IRQ_TYPE_EDGE_RISING>,
270*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 506 IRQ_TYPE_EDGE_RISING>,
271*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>,
272*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>,
273*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>,
274*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>,
275*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>;
276*b2d2a78aSEmmanuel Vadot			interrupt-names = "tei", "ri", "ti", "spi", "sti",
277*b2d2a78aSEmmanuel Vadot					  "naki", "ali", "tmoi";
278*b2d2a78aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x94>;
279*b2d2a78aSEmmanuel Vadot			resets = <&cpg 0x98>;
280*b2d2a78aSEmmanuel Vadot			power-domains = <&cpg>;
281*b2d2a78aSEmmanuel Vadot			#address-cells = <1>;
282*b2d2a78aSEmmanuel Vadot			#size-cells = <0>;
283*b2d2a78aSEmmanuel Vadot			status = "disabled";
284*b2d2a78aSEmmanuel Vadot		};
285*b2d2a78aSEmmanuel Vadot
286*b2d2a78aSEmmanuel Vadot		i2c1: i2c@14400800 {
287*b2d2a78aSEmmanuel Vadot			compatible = "renesas,riic-r9a09g057";
288*b2d2a78aSEmmanuel Vadot			reg = <0 0x14400800 0 0x400>;
289*b2d2a78aSEmmanuel Vadot			interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>,
290*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 509 IRQ_TYPE_EDGE_RISING>,
291*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 508 IRQ_TYPE_EDGE_RISING>,
292*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
293*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
294*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
295*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
296*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>;
297*b2d2a78aSEmmanuel Vadot			interrupt-names = "tei", "ri", "ti", "spi", "sti",
298*b2d2a78aSEmmanuel Vadot					  "naki", "ali", "tmoi";
299*b2d2a78aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x95>;
300*b2d2a78aSEmmanuel Vadot			resets = <&cpg 0x99>;
301*b2d2a78aSEmmanuel Vadot			power-domains = <&cpg>;
302*b2d2a78aSEmmanuel Vadot			#address-cells = <1>;
303*b2d2a78aSEmmanuel Vadot			#size-cells = <0>;
304*b2d2a78aSEmmanuel Vadot			status = "disabled";
305*b2d2a78aSEmmanuel Vadot		};
306*b2d2a78aSEmmanuel Vadot
307*b2d2a78aSEmmanuel Vadot		i2c2: i2c@14400c00 {
308*b2d2a78aSEmmanuel Vadot			compatible = "renesas,riic-r9a09g057";
309*b2d2a78aSEmmanuel Vadot			reg = <0 0x14400c00 0 0x400>;
310*b2d2a78aSEmmanuel Vadot			interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
311*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 511 IRQ_TYPE_EDGE_RISING>,
312*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 510 IRQ_TYPE_EDGE_RISING>,
313*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
314*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
315*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
316*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
317*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
318*b2d2a78aSEmmanuel Vadot			interrupt-names = "tei", "ri", "ti", "spi", "sti",
319*b2d2a78aSEmmanuel Vadot					  "naki", "ali", "tmoi";
320*b2d2a78aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x96>;
321*b2d2a78aSEmmanuel Vadot			resets = <&cpg 0x9a>;
322*b2d2a78aSEmmanuel Vadot			power-domains = <&cpg>;
323*b2d2a78aSEmmanuel Vadot			#address-cells = <1>;
324*b2d2a78aSEmmanuel Vadot			#size-cells = <0>;
325*b2d2a78aSEmmanuel Vadot			status = "disabled";
326*b2d2a78aSEmmanuel Vadot		};
327*b2d2a78aSEmmanuel Vadot
328*b2d2a78aSEmmanuel Vadot		i2c3: i2c@14401000 {
329*b2d2a78aSEmmanuel Vadot			compatible = "renesas,riic-r9a09g057";
330*b2d2a78aSEmmanuel Vadot			reg = <0 0x14401000 0 0x400>;
331*b2d2a78aSEmmanuel Vadot			interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
332*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 513 IRQ_TYPE_EDGE_RISING>,
333*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 512 IRQ_TYPE_EDGE_RISING>,
334*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>,
335*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>,
336*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>,
337*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
338*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
339*b2d2a78aSEmmanuel Vadot			interrupt-names = "tei", "ri", "ti", "spi", "sti",
340*b2d2a78aSEmmanuel Vadot					  "naki", "ali", "tmoi";
341*b2d2a78aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x97>;
342*b2d2a78aSEmmanuel Vadot			resets = <&cpg 0x9b>;
343*b2d2a78aSEmmanuel Vadot			power-domains = <&cpg>;
344*b2d2a78aSEmmanuel Vadot			#address-cells = <1>;
345*b2d2a78aSEmmanuel Vadot			#size-cells = <0>;
346*b2d2a78aSEmmanuel Vadot			status = "disabled";
347*b2d2a78aSEmmanuel Vadot		};
348*b2d2a78aSEmmanuel Vadot
349*b2d2a78aSEmmanuel Vadot		i2c4: i2c@14401400 {
350*b2d2a78aSEmmanuel Vadot			compatible = "renesas,riic-r9a09g057";
351*b2d2a78aSEmmanuel Vadot			reg = <0 0x14401400 0 0x400>;
352*b2d2a78aSEmmanuel Vadot			interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>,
353*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 515 IRQ_TYPE_EDGE_RISING>,
354*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 514 IRQ_TYPE_EDGE_RISING>,
355*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>,
356*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>,
357*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>,
358*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>,
359*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>;
360*b2d2a78aSEmmanuel Vadot			interrupt-names = "tei", "ri", "ti", "spi", "sti",
361*b2d2a78aSEmmanuel Vadot					  "naki", "ali", "tmoi";
362*b2d2a78aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x98>;
363*b2d2a78aSEmmanuel Vadot			resets = <&cpg 0x9c>;
364*b2d2a78aSEmmanuel Vadot			power-domains = <&cpg>;
365*b2d2a78aSEmmanuel Vadot			#address-cells = <1>;
366*b2d2a78aSEmmanuel Vadot			#size-cells = <0>;
367*b2d2a78aSEmmanuel Vadot			status = "disabled";
368*b2d2a78aSEmmanuel Vadot		};
369*b2d2a78aSEmmanuel Vadot
370*b2d2a78aSEmmanuel Vadot		i2c5: i2c@14401800 {
371*b2d2a78aSEmmanuel Vadot			compatible = "renesas,riic-r9a09g057";
372*b2d2a78aSEmmanuel Vadot			reg = <0 0x14401800 0 0x400>;
373*b2d2a78aSEmmanuel Vadot			interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
374*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 517 IRQ_TYPE_EDGE_RISING>,
375*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 516 IRQ_TYPE_EDGE_RISING>,
376*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>,
377*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>,
378*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>,
379*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>,
380*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
381*b2d2a78aSEmmanuel Vadot			interrupt-names = "tei", "ri", "ti", "spi", "sti",
382*b2d2a78aSEmmanuel Vadot					  "naki", "ali", "tmoi";
383*b2d2a78aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x99>;
384*b2d2a78aSEmmanuel Vadot			resets = <&cpg 0x9d>;
385*b2d2a78aSEmmanuel Vadot			power-domains = <&cpg>;
386*b2d2a78aSEmmanuel Vadot			#address-cells = <1>;
387*b2d2a78aSEmmanuel Vadot			#size-cells = <0>;
388*b2d2a78aSEmmanuel Vadot			status = "disabled";
389*b2d2a78aSEmmanuel Vadot		};
390*b2d2a78aSEmmanuel Vadot
391*b2d2a78aSEmmanuel Vadot		i2c6: i2c@14401c00 {
392*b2d2a78aSEmmanuel Vadot			compatible = "renesas,riic-r9a09g057";
393*b2d2a78aSEmmanuel Vadot			reg = <0 0x14401c00 0 0x400>;
394*b2d2a78aSEmmanuel Vadot			interrupts = <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>,
395*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 519 IRQ_TYPE_EDGE_RISING>,
396*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 518 IRQ_TYPE_EDGE_RISING>,
397*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>,
398*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>,
399*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>,
400*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>,
401*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
402*b2d2a78aSEmmanuel Vadot			interrupt-names = "tei", "ri", "ti", "spi", "sti",
403*b2d2a78aSEmmanuel Vadot					  "naki", "ali", "tmoi";
404*b2d2a78aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x9a>;
405*b2d2a78aSEmmanuel Vadot			resets = <&cpg 0x9e>;
406*b2d2a78aSEmmanuel Vadot			power-domains = <&cpg>;
407*b2d2a78aSEmmanuel Vadot			#address-cells = <1>;
408*b2d2a78aSEmmanuel Vadot			#size-cells = <0>;
409*b2d2a78aSEmmanuel Vadot			status = "disabled";
410*b2d2a78aSEmmanuel Vadot		};
411*b2d2a78aSEmmanuel Vadot
412*b2d2a78aSEmmanuel Vadot		i2c7: i2c@14402000 {
413*b2d2a78aSEmmanuel Vadot			compatible = "renesas,riic-r9a09g057";
414*b2d2a78aSEmmanuel Vadot			reg = <0 0x14402000 0 0x400>;
415*b2d2a78aSEmmanuel Vadot			interrupts = <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>,
416*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 521 IRQ_TYPE_EDGE_RISING>,
417*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 520 IRQ_TYPE_EDGE_RISING>,
418*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>,
419*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
420*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
421*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>,
422*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
423*b2d2a78aSEmmanuel Vadot			interrupt-names = "tei", "ri", "ti", "spi", "sti",
424*b2d2a78aSEmmanuel Vadot					  "naki", "ali", "tmoi";
425*b2d2a78aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x9b>;
426*b2d2a78aSEmmanuel Vadot			resets = <&cpg 0x9f>;
427*b2d2a78aSEmmanuel Vadot			power-domains = <&cpg>;
428*b2d2a78aSEmmanuel Vadot			#address-cells = <1>;
429*b2d2a78aSEmmanuel Vadot			#size-cells = <0>;
430*b2d2a78aSEmmanuel Vadot			status = "disabled";
431*b2d2a78aSEmmanuel Vadot		};
432*b2d2a78aSEmmanuel Vadot
433*b2d2a78aSEmmanuel Vadot		i2c8: i2c@11c01000 {
434*b2d2a78aSEmmanuel Vadot			compatible = "renesas,riic-r9a09g057";
435*b2d2a78aSEmmanuel Vadot			reg = <0 0x11c01000 0 0x400>;
436*b2d2a78aSEmmanuel Vadot			interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>,
437*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 523 IRQ_TYPE_EDGE_RISING>,
438*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 522 IRQ_TYPE_EDGE_RISING>,
439*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>,
440*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>,
441*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>,
442*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>,
443*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 227 IRQ_TYPE_LEVEL_HIGH>;
444*b2d2a78aSEmmanuel Vadot			interrupt-names = "tei", "ri", "ti", "spi", "sti",
445*b2d2a78aSEmmanuel Vadot					  "naki", "ali", "tmoi";
446*b2d2a78aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0x93>;
447*b2d2a78aSEmmanuel Vadot			resets = <&cpg 0xa0>;
448*b2d2a78aSEmmanuel Vadot			power-domains = <&cpg>;
449*b2d2a78aSEmmanuel Vadot			#address-cells = <1>;
450*b2d2a78aSEmmanuel Vadot			#size-cells = <0>;
451*b2d2a78aSEmmanuel Vadot			status = "disabled";
452*b2d2a78aSEmmanuel Vadot		};
453*b2d2a78aSEmmanuel Vadot
454*b2d2a78aSEmmanuel Vadot		gic: interrupt-controller@14900000 {
455*b2d2a78aSEmmanuel Vadot			compatible = "arm,gic-v3";
456*b2d2a78aSEmmanuel Vadot			reg = <0x0 0x14900000 0 0x20000>,
457*b2d2a78aSEmmanuel Vadot			      <0x0 0x14940000 0 0x80000>;
458*b2d2a78aSEmmanuel Vadot			#interrupt-cells = <3>;
459*b2d2a78aSEmmanuel Vadot			#address-cells = <0>;
460*b2d2a78aSEmmanuel Vadot			interrupt-controller;
461*b2d2a78aSEmmanuel Vadot			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>;
462*b2d2a78aSEmmanuel Vadot		};
463*b2d2a78aSEmmanuel Vadot
464*b2d2a78aSEmmanuel Vadot		sdhi0: mmc@15c00000  {
465*b2d2a78aSEmmanuel Vadot			compatible = "renesas,sdhi-r9a09g057";
466*b2d2a78aSEmmanuel Vadot			reg = <0x0 0x15c00000 0 0x10000>;
467*b2d2a78aSEmmanuel Vadot			interrupts = <GIC_SPI 735 IRQ_TYPE_LEVEL_HIGH>,
468*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 736 IRQ_TYPE_LEVEL_HIGH>;
469*b2d2a78aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0xa3>, <&cpg CPG_MOD 0xa5>,
470*b2d2a78aSEmmanuel Vadot				 <&cpg CPG_MOD 0xa4>, <&cpg CPG_MOD 0xa6>;
471*b2d2a78aSEmmanuel Vadot			clock-names = "core", "clkh", "cd", "aclk";
472*b2d2a78aSEmmanuel Vadot			resets = <&cpg 0xa7>;
473*b2d2a78aSEmmanuel Vadot			power-domains = <&cpg>;
474*b2d2a78aSEmmanuel Vadot			status = "disabled";
475*b2d2a78aSEmmanuel Vadot		};
476*b2d2a78aSEmmanuel Vadot
477*b2d2a78aSEmmanuel Vadot		sdhi1: mmc@15c10000 {
478*b2d2a78aSEmmanuel Vadot			compatible = "renesas,sdhi-r9a09g057";
479*b2d2a78aSEmmanuel Vadot			reg = <0x0 0x15c10000 0 0x10000>;
480*b2d2a78aSEmmanuel Vadot			interrupts = <GIC_SPI 737 IRQ_TYPE_LEVEL_HIGH>,
481*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 738 IRQ_TYPE_LEVEL_HIGH>;
482*b2d2a78aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0xa7>, <&cpg CPG_MOD 0xa9>,
483*b2d2a78aSEmmanuel Vadot				 <&cpg CPG_MOD 0xa8>, <&cpg CPG_MOD 0xaa>;
484*b2d2a78aSEmmanuel Vadot			clock-names = "core", "clkh", "cd", "aclk";
485*b2d2a78aSEmmanuel Vadot			resets = <&cpg 0xa8>;
486*b2d2a78aSEmmanuel Vadot			power-domains = <&cpg>;
487*b2d2a78aSEmmanuel Vadot			status = "disabled";
488*b2d2a78aSEmmanuel Vadot		};
489*b2d2a78aSEmmanuel Vadot
490*b2d2a78aSEmmanuel Vadot		sdhi2: mmc@15c20000 {
491*b2d2a78aSEmmanuel Vadot			compatible = "renesas,sdhi-r9a09g057";
492*b2d2a78aSEmmanuel Vadot			reg = <0x0 0x15c20000 0 0x10000>;
493*b2d2a78aSEmmanuel Vadot			interrupts = <GIC_SPI 739 IRQ_TYPE_LEVEL_HIGH>,
494*b2d2a78aSEmmanuel Vadot				     <GIC_SPI 740 IRQ_TYPE_LEVEL_HIGH>;
495*b2d2a78aSEmmanuel Vadot			clocks = <&cpg CPG_MOD 0xab>, <&cpg CPG_MOD 0xad>,
496*b2d2a78aSEmmanuel Vadot				 <&cpg CPG_MOD 0xac>, <&cpg CPG_MOD 0xae>;
497*b2d2a78aSEmmanuel Vadot			clock-names = "core", "clkh", "cd", "aclk";
498*b2d2a78aSEmmanuel Vadot			resets = <&cpg 0xa9>;
499*b2d2a78aSEmmanuel Vadot			power-domains = <&cpg>;
500*b2d2a78aSEmmanuel Vadot			status = "disabled";
501*b2d2a78aSEmmanuel Vadot		};
502*b2d2a78aSEmmanuel Vadot	};
503*b2d2a78aSEmmanuel Vadot
504*b2d2a78aSEmmanuel Vadot	timer {
505*b2d2a78aSEmmanuel Vadot		compatible = "arm,armv8-timer";
506*b2d2a78aSEmmanuel Vadot		interrupts-extended = <&gic GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
507*b2d2a78aSEmmanuel Vadot				      <&gic GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
508*b2d2a78aSEmmanuel Vadot				      <&gic GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
509*b2d2a78aSEmmanuel Vadot				      <&gic GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>,
510*b2d2a78aSEmmanuel Vadot				      <&gic GIC_PPI 12 IRQ_TYPE_LEVEL_LOW>;
511*b2d2a78aSEmmanuel Vadot		interrupt-names = "sec-phys", "phys", "virt", "hyp-phys", "hyp-virt";
512*b2d2a78aSEmmanuel Vadot	};
513*b2d2a78aSEmmanuel Vadot};
514