1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the R7S9210 SoC
5 * Copyright (C) 2018 Renesas Electronics Corporation
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
10 #include <dt-bindings/clock/r7s9210-cpg-mssr.h>
13 compatible = "renesas,r7s9210";
14 interrupt-parent = <&gic>;
21 compatible = "fixed-clock";
22 /* Value must be set by board */
23 clock-frequency = <0>;
28 compatible = "fixed-clock";
29 /* If clk present, value (32678) must be set by board */
30 clock-frequency = <0>;
35 compatible = "fixed-clock";
36 /* If clk present, value (48000000) must be set by board */
37 clock-frequency = <0>;
46 compatible = "arm,cortex-a9";
48 clock-frequency = <528000000>;
49 next-level-cache = <&L2>;
54 compatible = "simple-bus";
55 interrupt-parent = <&gic>;
61 L2: cache-controller@1f003000 {
62 compatible = "arm,pl310-cache";
63 reg = <0x1f003000 0x1000>;
64 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
65 arm,early-bresp-disable;
66 arm,full-line-zero-disable;
71 scif0: serial@e8007000 {
72 compatible = "renesas,scif-r7s9210";
73 reg = <0xe8007000 0x18>;
74 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>,
75 <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>,
76 <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>,
77 <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>,
78 <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
79 <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
80 interrupt-names = "eri", "rxi", "txi",
82 clocks = <&cpg CPG_MOD 47>;
84 power-domains = <&cpg>;
88 scif1: serial@e8007800 {
89 compatible = "renesas,scif-r7s9210";
90 reg = <0xe8007800 0x18>;
91 interrupts = <GIC_SPI 271 IRQ_TYPE_LEVEL_HIGH>,
92 <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>,
93 <GIC_SPI 273 IRQ_TYPE_LEVEL_HIGH>,
94 <GIC_SPI 271 IRQ_TYPE_LEVEL_HIGH>,
95 <GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH>,
96 <GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH>;
97 interrupt-names = "eri", "rxi", "txi",
99 clocks = <&cpg CPG_MOD 46>;
101 power-domains = <&cpg>;
105 scif2: serial@e8008000 {
106 compatible = "renesas,scif-r7s9210";
107 reg = <0xe8008000 0x18>;
108 interrupts = <GIC_SPI 277 IRQ_TYPE_LEVEL_HIGH>,
109 <GIC_SPI 278 IRQ_TYPE_LEVEL_HIGH>,
110 <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
111 <GIC_SPI 277 IRQ_TYPE_LEVEL_HIGH>,
112 <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>,
113 <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>;
114 interrupt-names = "eri", "rxi", "txi",
116 clocks = <&cpg CPG_MOD 45>;
118 power-domains = <&cpg>;
122 scif3: serial@e8008800 {
123 compatible = "renesas,scif-r7s9210";
124 reg = <0xe8008800 0x18>;
125 interrupts = <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>,
126 <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>,
127 <GIC_SPI 285 IRQ_TYPE_LEVEL_HIGH>,
128 <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>,
129 <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>,
130 <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
131 interrupt-names = "eri", "rxi", "txi",
133 clocks = <&cpg CPG_MOD 44>;
135 power-domains = <&cpg>;
139 scif4: serial@e8009000 {
140 compatible = "renesas,scif-r7s9210";
141 reg = <0xe8009000 0x18>;
142 interrupts = <GIC_SPI 289 IRQ_TYPE_LEVEL_HIGH>,
143 <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>,
144 <GIC_SPI 291 IRQ_TYPE_LEVEL_HIGH>,
145 <GIC_SPI 289 IRQ_TYPE_LEVEL_HIGH>,
146 <GIC_SPI 292 IRQ_TYPE_LEVEL_HIGH>,
147 <GIC_SPI 292 IRQ_TYPE_LEVEL_HIGH>;
148 interrupt-names = "eri", "rxi", "txi",
150 clocks = <&cpg CPG_MOD 43>;
152 power-domains = <&cpg>;
157 compatible = "renesas,rspi-r7s9210", "renesas,rspi-rz";
158 reg = <0xe800c800 0x24>;
159 interrupts = <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>,
160 <GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH>,
161 <GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH>;
162 interrupt-names = "error", "rx", "tx";
163 clocks = <&cpg CPG_MOD 97>;
164 power-domains = <&cpg>;
166 #address-cells = <1>;
172 compatible = "renesas,rspi-r7s9210", "renesas,rspi-rz";
173 reg = <0xe800d000 0x24>;
174 interrupts = <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
175 <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
176 <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>;
177 interrupt-names = "error", "rx", "tx";
178 clocks = <&cpg CPG_MOD 96>;
179 power-domains = <&cpg>;
181 #address-cells = <1>;
187 compatible = "renesas,rspi-r7s9210", "renesas,rspi-rz";
188 reg = <0xe800d800 0x24>;
189 interrupts = <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
190 <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
191 <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>;
192 interrupt-names = "error", "rx", "tx";
193 clocks = <&cpg CPG_MOD 95>;
194 power-domains = <&cpg>;
196 #address-cells = <1>;
201 ether0: ethernet@e8204000 {
202 compatible = "renesas,ether-r7s9210";
203 reg = <0xe8204000 0x200>;
204 interrupts = <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>;
205 clocks = <&cpg CPG_MOD 65>;
206 power-domains = <&cpg>;
209 #address-cells = <1>;
214 ether1: ethernet@e8204200 {
215 compatible = "renesas,ether-r7s9210";
216 reg = <0xe8204200 0x200>;
217 interrupts = <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>;
218 clocks = <&cpg CPG_MOD 64>;
219 power-domains = <&cpg>;
221 #address-cells = <1>;
227 #address-cells = <1>;
229 compatible = "renesas,riic-r7s9210", "renesas,riic-rz";
230 reg = <0xe803a000 0x44>;
231 interrupts = <GIC_SPI 232 IRQ_TYPE_LEVEL_HIGH>,
232 <GIC_SPI 233 IRQ_TYPE_EDGE_RISING>,
233 <GIC_SPI 234 IRQ_TYPE_EDGE_RISING>,
234 <GIC_SPI 235 IRQ_TYPE_LEVEL_HIGH>,
235 <GIC_SPI 236 IRQ_TYPE_LEVEL_HIGH>,
236 <GIC_SPI 237 IRQ_TYPE_LEVEL_HIGH>,
237 <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>,
238 <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>;
239 clocks = <&cpg CPG_MOD 87>;
240 power-domains = <&cpg>;
241 clock-frequency = <100000>;
246 #address-cells = <1>;
248 compatible = "renesas,riic-r7s9210", "renesas,riic-rz";
249 reg = <0xe803a400 0x44>;
250 interrupts = <GIC_SPI 240 IRQ_TYPE_LEVEL_HIGH>,
251 <GIC_SPI 241 IRQ_TYPE_EDGE_RISING>,
252 <GIC_SPI 242 IRQ_TYPE_EDGE_RISING>,
253 <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>,
254 <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
255 <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
256 <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>,
257 <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>;
258 clocks = <&cpg CPG_MOD 86>;
259 power-domains = <&cpg>;
260 clock-frequency = <100000>;
265 #address-cells = <1>;
267 compatible = "renesas,riic-r7s9210", "renesas,riic-rz";
268 reg = <0xe803a800 0x44>;
269 interrupts = <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>,
270 <GIC_SPI 249 IRQ_TYPE_EDGE_RISING>,
271 <GIC_SPI 250 IRQ_TYPE_EDGE_RISING>,
272 <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
273 <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>,
274 <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
275 <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
276 <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>;
277 clocks = <&cpg CPG_MOD 85>;
278 power-domains = <&cpg>;
279 clock-frequency = <100000>;
284 #address-cells = <1>;
286 compatible = "renesas,riic-r7s9210", "renesas,riic-rz";
287 reg = <0xe803ac00 0x44>;
288 interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
289 <GIC_SPI 257 IRQ_TYPE_EDGE_RISING>,
290 <GIC_SPI 258 IRQ_TYPE_EDGE_RISING>,
291 <GIC_SPI 259 IRQ_TYPE_LEVEL_HIGH>,
292 <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>,
293 <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>,
294 <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>,
295 <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>;
296 clocks = <&cpg CPG_MOD 84>;
297 power-domains = <&cpg>;
298 clock-frequency = <100000>;
302 ostm0: timer@e803b000 {
303 compatible = "renesas,r7s9210-ostm", "renesas,ostm";
304 reg = <0xe803b000 0x30>;
305 interrupts = <GIC_SPI 56 IRQ_TYPE_EDGE_RISING>;
306 clocks = <&cpg CPG_MOD 36>;
307 power-domains = <&cpg>;
311 ostm1: timer@e803c000 {
312 compatible = "renesas,r7s9210-ostm", "renesas,ostm";
313 reg = <0xe803c000 0x30>;
314 interrupts = <GIC_SPI 57 IRQ_TYPE_EDGE_RISING>;
315 clocks = <&cpg CPG_MOD 35>;
316 power-domains = <&cpg>;
320 ostm2: timer@e803d000 {
321 compatible = "renesas,r7s9210-ostm", "renesas,ostm";
322 reg = <0xe803d000 0x30>;
323 interrupts = <GIC_SPI 58 IRQ_TYPE_EDGE_RISING>;
324 clocks = <&cpg CPG_MOD 34>;
325 power-domains = <&cpg>;
329 ohci0: usb@e8218000 {
330 compatible = "generic-ohci";
331 reg = <0xe8218000 0x100>;
332 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
333 clocks = <&cpg CPG_MOD 61>;
336 power-domains = <&cpg>;
340 ehci0: usb@e8218100 {
341 compatible = "generic-ehci";
342 reg = <0xe8218100 0x100>;
343 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
344 clocks = <&cpg CPG_MOD 61>;
347 power-domains = <&cpg>;
351 usb2_phy0: usb-phy@e8218200 {
352 compatible = "renesas,usb2-phy-r7s9210", "renesas,rcar-gen3-usb2-phy";
353 reg = <0xe8218200 0x700>;
354 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
355 clocks = <&cpg CPG_MOD 61>, <&usb_x1_clk>;
356 clock-names = "fck", "usb_x1";
357 power-domains = <&cpg>;
362 usbhs0: usb@e8219000 {
363 compatible = "renesas,usbhs-r7s9210", "renesas,rza2-usbhs";
364 reg = <0xe8219000 0x724>;
365 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
366 clocks = <&cpg CPG_MOD 61>;
367 renesas,buswait = <7>;
370 power-domains = <&cpg>;
374 ohci1: usb@e821a000 {
375 compatible = "generic-ohci";
376 reg = <0xe821a000 0x100>;
377 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
378 clocks = <&cpg CPG_MOD 60>;
381 power-domains = <&cpg>;
385 ehci1: usb@e821a100 {
386 compatible = "generic-ehci";
387 reg = <0xe821a100 0x100>;
388 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
389 clocks = <&cpg CPG_MOD 60>;
392 power-domains = <&cpg>;
396 usb2_phy1: usb-phy@e821a200 {
397 compatible = "renesas,usb2-phy-r7s9210", "renesas,rcar-gen3-usb2-phy";
398 reg = <0xe821a200 0x700>;
399 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
400 clocks = <&cpg CPG_MOD 60>, <&usb_x1_clk>;
401 clock-names = "fck", "usb_x1";
402 power-domains = <&cpg>;
407 usbhs1: usb@e821b000 {
408 compatible = "renesas,usbhs-r7s9210", "renesas,rza2-usbhs";
409 reg = <0xe821b000 0x724>;
410 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
411 clocks = <&cpg CPG_MOD 60>;
412 renesas,buswait = <7>;
415 power-domains = <&cpg>;
419 sdhi0: mmc@e8228000 {
420 compatible = "renesas,sdhi-r7s9210";
421 reg = <0xe8228000 0x8c0>;
422 interrupts = <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>;
423 clocks = <&cpg CPG_MOD 103>, <&cpg CPG_MOD 102>;
424 clock-names = "core", "cd";
425 power-domains = <&cpg>;
431 sdhi1: mmc@e822a000 {
432 compatible = "renesas,sdhi-r7s9210";
433 reg = <0xe822a000 0x8c0>;
434 interrupts = <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>;
435 clocks = <&cpg CPG_MOD 101>, <&cpg CPG_MOD 100>;
436 clock-names = "core", "cd";
437 power-domains = <&cpg>;
443 gic: interrupt-controller@e8221000 {
444 compatible = "arm,gic-400";
445 #interrupt-cells = <3>;
446 #address-cells = <0>;
447 interrupt-controller;
448 reg = <0xe8221000 0x1000>,
452 cpg: clock-controller@fcfe0010 {
453 compatible = "renesas,r7s9210-cpg-mssr";
454 reg = <0xfcfe0010 0x455>;
455 clocks = <&extal_clk>;
456 clock-names = "extal";
458 #power-domain-cells = <0>;
461 wdt: watchdog@fcfe7000 {
462 compatible = "renesas,r7s9210-wdt", "renesas,rza-wdt";
463 reg = <0xfcfe7000 0x26>;
464 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
465 clocks = <&cpg CPG_CORE R7S9210_CLK_P0>;
468 bsid: chipid@fcfe8004 {
469 compatible = "renesas,bsid";
470 reg = <0xfcfe8004 4>;
473 irqc: interrupt-controller@fcfef800 {
474 compatible = "renesas,r7s9210-irqc",
476 #interrupt-cells = <2>;
477 #address-cells = <0>;
478 interrupt-controller;
479 reg = <0xfcfef800 0x6>;
481 <0 0 &gic GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
482 <1 0 &gic GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
483 <2 0 &gic GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
484 <3 0 &gic GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
485 <4 0 &gic GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
486 <5 0 &gic GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
487 <6 0 &gic GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
488 <7 0 &gic GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
489 interrupt-map-mask = <7 0>;
492 pinctrl: pinctrl@fcffe000 {
493 compatible = "renesas,r7s9210-pinctrl";
494 reg = <0xfcffe000 0x1000>;
498 gpio-ranges = <&pinctrl 0 0 176>;