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 clock-names = "ostm0";
308 power-domains = <&cpg>;
312 ostm1: timer@e803c000 {
313 compatible = "renesas,r7s9210-ostm", "renesas,ostm";
314 reg = <0xe803c000 0x30>;
315 interrupts = <GIC_SPI 57 IRQ_TYPE_EDGE_RISING>;
316 clocks = <&cpg CPG_MOD 35>;
317 clock-names = "ostm1";
318 power-domains = <&cpg>;
322 ostm2: timer@e803d000 {
323 compatible = "renesas,r7s9210-ostm", "renesas,ostm";
324 reg = <0xe803d000 0x30>;
325 interrupts = <GIC_SPI 58 IRQ_TYPE_EDGE_RISING>;
326 clocks = <&cpg CPG_MOD 34>;
327 clock-names = "ostm2";
328 power-domains = <&cpg>;
332 ohci0: usb@e8218000 {
333 compatible = "generic-ohci";
334 reg = <0xe8218000 0x100>;
335 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
336 clocks = <&cpg CPG_MOD 61>;
339 power-domains = <&cpg>;
343 ehci0: usb@e8218100 {
344 compatible = "generic-ehci";
345 reg = <0xe8218100 0x100>;
346 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
347 clocks = <&cpg CPG_MOD 61>;
350 power-domains = <&cpg>;
354 usb2_phy0: usb-phy@e8218200 {
355 compatible = "renesas,usb2-phy-r7s9210", "renesas,rcar-gen3-usb2-phy";
356 reg = <0xe8218200 0x700>;
357 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
358 clocks = <&cpg CPG_MOD 61>, <&usb_x1_clk>;
359 clock-names = "fck", "usb_x1";
360 power-domains = <&cpg>;
365 usbhs0: usb@e8219000 {
366 compatible = "renesas,usbhs-r7s9210", "renesas,rza2-usbhs";
367 reg = <0xe8219000 0x724>;
368 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
369 clocks = <&cpg CPG_MOD 61>;
370 renesas,buswait = <7>;
373 power-domains = <&cpg>;
377 ohci1: usb@e821a000 {
378 compatible = "generic-ohci";
379 reg = <0xe821a000 0x100>;
380 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
381 clocks = <&cpg CPG_MOD 60>;
384 power-domains = <&cpg>;
388 ehci1: usb@e821a100 {
389 compatible = "generic-ehci";
390 reg = <0xe821a100 0x100>;
391 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
392 clocks = <&cpg CPG_MOD 60>;
395 power-domains = <&cpg>;
399 usb2_phy1: usb-phy@e821a200 {
400 compatible = "renesas,usb2-phy-r7s9210", "renesas,rcar-gen3-usb2-phy";
401 reg = <0xe821a200 0x700>;
402 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
403 clocks = <&cpg CPG_MOD 60>, <&usb_x1_clk>;
404 clock-names = "fck", "usb_x1";
405 power-domains = <&cpg>;
410 usbhs1: usb@e821b000 {
411 compatible = "renesas,usbhs-r7s9210", "renesas,rza2-usbhs";
412 reg = <0xe821b000 0x724>;
413 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
414 clocks = <&cpg CPG_MOD 60>;
415 renesas,buswait = <7>;
418 power-domains = <&cpg>;
423 compatible = "renesas,sdhi-r7s9210";
424 reg = <0xe8228000 0x8c0>;
425 interrupts = <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>;
426 clocks = <&cpg CPG_MOD 103>, <&cpg CPG_MOD 102>;
427 clock-names = "core", "cd";
428 power-domains = <&cpg>;
435 compatible = "renesas,sdhi-r7s9210";
436 reg = <0xe822a000 0x8c0>;
437 interrupts = <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>;
438 clocks = <&cpg CPG_MOD 101>, <&cpg CPG_MOD 100>;
439 clock-names = "core", "cd";
440 power-domains = <&cpg>;
446 gic: interrupt-controller@e8221000 {
447 compatible = "arm,gic-400";
448 #interrupt-cells = <3>;
449 #address-cells = <0>;
450 interrupt-controller;
451 reg = <0xe8221000 0x1000>,
455 cpg: clock-controller@fcfe0010 {
456 compatible = "renesas,r7s9210-cpg-mssr";
457 reg = <0xfcfe0010 0x455>;
458 clocks = <&extal_clk>;
459 clock-names = "extal";
461 #power-domain-cells = <0>;
464 wdt: watchdog@fcfe7000 {
465 compatible = "renesas,r7s9210-wdt", "renesas,rza-wdt";
466 reg = <0xfcfe7000 0x26>;
467 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
468 clocks = <&cpg CPG_CORE R7S9210_CLK_P0>;
471 bsid: chipid@fcfe8004 {
472 compatible = "renesas,bsid";
473 reg = <0xfcfe8004 4>;
476 irqc: interrupt-controller@fcfef800 {
477 compatible = "renesas,r7s9210-irqc",
479 #interrupt-cells = <2>;
480 #address-cells = <0>;
481 interrupt-controller;
482 reg = <0xfcfef800 0x6>;
484 <0 0 &gic GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
485 <1 0 &gic GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
486 <2 0 &gic GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
487 <3 0 &gic GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
488 <4 0 &gic GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
489 <5 0 &gic GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
490 <6 0 &gic GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
491 <7 0 &gic GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
492 interrupt-map-mask = <7 0>;
495 pinctrl: pin-controller@fcffe000 {
496 compatible = "renesas,r7s9210-pinctrl";
497 reg = <0xfcffe000 0x1000>;
501 gpio-ranges = <&pinctrl 0 0 176>;