Debian Codegraph @

arch/arm64/boot/dts/renesas/r9a09g077.dtsi

raw
1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 /*
3 * Device Tree Source for the RZ/T2H SoC
4 *
5 * Copyright (C) 2025 Renesas Electronics Corp.
6 */
7
8 #include <dt-bindings/clock/renesas,r9a09g077-cpg-mssr.h>
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
10
11 / {
12 compatible = "renesas,r9a09g077";
13 #address-cells = <2>;
14 #size-cells = <2>;
15 interrupt-parent = <&gic>;
16
17 cluster0_opp: opp-table-0 {
18 compatible = "operating-points-v2";
19
20 opp-600000000 {
21 opp-hz = /bits/ 64 <600000000>;
22 };
23 opp-1200000000 {
24 opp-hz = /bits/ 64 <1200000000>;
25 };
26 };
27
28 cpus {
29 #address-cells = <1>;
30 #size-cells = <0>;
31
32 cpu0: cpu@0 {
33 compatible = "arm,cortex-a55";
34 reg = <0>;
35 device_type = "cpu";
36 next-level-cache = <&L3_CA55>;
37 enable-method = "psci";
38 clocks = <&cpg CPG_CORE R9A09G077_CLK_CA55C0>;
39 #cooling-cells = <2>;
40 operating-points-v2 = <&cluster0_opp>;
41 };
42
43 cpu1: cpu@100 {
44 compatible = "arm,cortex-a55";
45 reg = <0x100>;
46 device_type = "cpu";
47 next-level-cache = <&L3_CA55>;
48 enable-method = "psci";
49 clocks = <&cpg CPG_CORE R9A09G077_CLK_CA55C1>;
50 #cooling-cells = <2>;
51 operating-points-v2 = <&cluster0_opp>;
52 };
53
54 cpu2: cpu@200 {
55 compatible = "arm,cortex-a55";
56 reg = <0x200>;
57 device_type = "cpu";
58 next-level-cache = <&L3_CA55>;
59 enable-method = "psci";
60 clocks = <&cpg CPG_CORE R9A09G077_CLK_CA55C2>;
61 #cooling-cells = <2>;
62 operating-points-v2 = <&cluster0_opp>;
63 };
64
65 cpu3: cpu@300 {
66 compatible = "arm,cortex-a55";
67 reg = <0x300>;
68 device_type = "cpu";
69 next-level-cache = <&L3_CA55>;
70 enable-method = "psci";
71 clocks = <&cpg CPG_CORE R9A09G077_CLK_CA55C3>;
72 #cooling-cells = <2>;
73 operating-points-v2 = <&cluster0_opp>;
74 };
75
76 L3_CA55: cache-controller-0 {
77 compatible = "cache";
78 cache-unified;
79 cache-size = <0x100000>;
80 cache-level = <3>;
81 };
82 };
83
84 extal_clk: extal {
85 compatible = "fixed-clock";
86 #clock-cells = <0>;
87 /* This value must be overridden by the board */
88 clock-frequency = <0>;
89 };
90
91 pmu {
92 compatible = "arm,cortex-a55-pmu";
93 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW>;
94 };
95
96 psci {
97 compatible = "arm,psci-1.0", "arm,psci-0.2";
98 method = "smc";
99 };
100
101 soc: soc {
102 compatible = "simple-bus";
103 #address-cells = <2>;
104 #size-cells = <2>;
105 ranges;
106
107 sci0: serial@80005000 {
108 compatible = "renesas,r9a09g077-rsci";
109 reg = <0 0x80005000 0 0x400>;
110 interrupts = <GIC_SPI 590 IRQ_TYPE_LEVEL_HIGH>,
111 <GIC_SPI 591 IRQ_TYPE_EDGE_RISING>,
112 <GIC_SPI 592 IRQ_TYPE_EDGE_RISING>,
113 <GIC_SPI 593 IRQ_TYPE_LEVEL_HIGH>;
114 interrupt-names = "eri", "rxi", "txi", "tei";
115 clocks = <&cpg CPG_MOD 8>, <&cpg CPG_CORE R9A09G077_CLK_PCLKM>;
116 clock-names = "operation", "bus";
117 power-domains = <&cpg>;
118 status = "disabled";
119 };
120
121 sci1: serial@80005400 {
122 compatible = "renesas,r9a09g077-rsci";
123 reg = <0 0x80005400 0 0x400>;
124 interrupts = <GIC_SPI 594 IRQ_TYPE_LEVEL_HIGH>,
125 <GIC_SPI 595 IRQ_TYPE_EDGE_RISING>,
126 <GIC_SPI 596 IRQ_TYPE_EDGE_RISING>,
127 <GIC_SPI 597 IRQ_TYPE_LEVEL_HIGH>;
128 interrupt-names = "eri", "rxi", "txi", "tei";
129 clocks = <&cpg CPG_MOD 9>, <&cpg CPG_CORE R9A09G077_CLK_PCLKM>;
130 clock-names = "operation", "bus";
131 power-domains = <&cpg>;
132 status = "disabled";
133 };
134
135 sci2: serial@80005800 {
136 compatible = "renesas,r9a09g077-rsci";
137 reg = <0 0x80005800 0 0x400>;
138 interrupts = <GIC_SPI 598 IRQ_TYPE_LEVEL_HIGH>,
139 <GIC_SPI 599 IRQ_TYPE_EDGE_RISING>,
140 <GIC_SPI 600 IRQ_TYPE_EDGE_RISING>,
141 <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
142 interrupt-names = "eri", "rxi", "txi", "tei";
143 clocks = <&cpg CPG_MOD 10>, <&cpg CPG_CORE R9A09G077_CLK_PCLKM>;
144 clock-names = "operation", "bus";
145 power-domains = <&cpg>;
146 status = "disabled";
147 };
148
149 sci3: serial@80005c00 {
150 compatible = "renesas,r9a09g077-rsci";
151 reg = <0 0x80005c00 0 0x400>;
152 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>,
153 <GIC_SPI 603 IRQ_TYPE_EDGE_RISING>,
154 <GIC_SPI 604 IRQ_TYPE_EDGE_RISING>,
155 <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
156 interrupt-names = "eri", "rxi", "txi", "tei";
157 clocks = <&cpg CPG_MOD 11>, <&cpg CPG_CORE R9A09G077_CLK_PCLKM>;
158 clock-names = "operation", "bus";
159 power-domains = <&cpg>;
160 status = "disabled";
161 };
162
163 sci4: serial@80006000 {
164 compatible = "renesas,r9a09g077-rsci";
165 reg = <0 0x80006000 0 0x400>;
166 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>,
167 <GIC_SPI 607 IRQ_TYPE_EDGE_RISING>,
168 <GIC_SPI 608 IRQ_TYPE_EDGE_RISING>,
169 <GIC_SPI 609 IRQ_TYPE_LEVEL_HIGH>;
170 interrupt-names = "eri", "rxi", "txi", "tei";
171 clocks = <&cpg CPG_MOD 12>, <&cpg CPG_CORE R9A09G077_CLK_PCLKM>;
172 clock-names = "operation", "bus";
173 power-domains = <&cpg>;
174 status = "disabled";
175 };
176
177 sci5: serial@81005000 {
178 compatible = "renesas,r9a09g077-rsci";
179 reg = <0 0x81005000 0 0x400>;
180 interrupts = <GIC_SPI 610 IRQ_TYPE_LEVEL_HIGH>,
181 <GIC_SPI 611 IRQ_TYPE_EDGE_RISING>,
182 <GIC_SPI 612 IRQ_TYPE_EDGE_RISING>,
183 <GIC_SPI 613 IRQ_TYPE_LEVEL_HIGH>;
184 interrupt-names = "eri", "rxi", "txi", "tei";
185 clocks = <&cpg CPG_MOD 600>, <&cpg CPG_CORE R9A09G077_CLK_PCLKM>;
186 clock-names = "operation", "bus";
187 power-domains = <&cpg>;
188 status = "disabled";
189 };
190
191 rspi0: spi@80007000 {
192 compatible = "renesas,r9a09g077-rspi";
193 reg = <0x0 0x80007000 0x0 0x400>;
194 interrupts = <GIC_SPI 636 IRQ_TYPE_LEVEL_HIGH>,
195 <GIC_SPI 637 IRQ_TYPE_LEVEL_HIGH>,
196 <GIC_SPI 638 IRQ_TYPE_EDGE_RISING>,
197 <GIC_SPI 634 IRQ_TYPE_EDGE_RISING>,
198 <GIC_SPI 635 IRQ_TYPE_EDGE_RISING>;
199 interrupt-names = "idle", "error", "end", "rx", "tx";
200 clocks = <&cpg CPG_CORE R9A09G077_CLK_PCLKM>,
201 <&cpg CPG_MOD 104>;
202 clock-names = "pclk", "pclkspi";
203 power-domains = <&cpg>;
204 #address-cells = <1>;
205 #size-cells = <0>;
206 status = "disabled";
207 };
208
209 rspi1: spi@80007400 {
210 compatible = "renesas,r9a09g077-rspi";
211 reg = <0x0 0x80007400 0x0 0x400>;
212 interrupts = <GIC_SPI 641 IRQ_TYPE_LEVEL_HIGH>,
213 <GIC_SPI 642 IRQ_TYPE_LEVEL_HIGH>,
214 <GIC_SPI 643 IRQ_TYPE_EDGE_RISING>,
215 <GIC_SPI 639 IRQ_TYPE_EDGE_RISING>,
216 <GIC_SPI 640 IRQ_TYPE_EDGE_RISING>;
217 interrupt-names = "idle", "error", "end", "rx", "tx";
218 clocks = <&cpg CPG_CORE R9A09G077_CLK_PCLKM>,
219 <&cpg CPG_MOD 105>;
220 clock-names = "pclk", "pclkspi";
221 power-domains = <&cpg>;
222 #address-cells = <1>;
223 #size-cells = <0>;
224 status = "disabled";
225 };
226
227 rspi2: spi@80007800 {
228 compatible = "renesas,r9a09g077-rspi";
229 reg = <0x0 0x80007800 0x0 0x400>;
230 interrupts = <GIC_SPI 646 IRQ_TYPE_LEVEL_HIGH>,
231 <GIC_SPI 647 IRQ_TYPE_LEVEL_HIGH>,
232 <GIC_SPI 648 IRQ_TYPE_EDGE_RISING>,
233 <GIC_SPI 644 IRQ_TYPE_EDGE_RISING>,
234 <GIC_SPI 645 IRQ_TYPE_EDGE_RISING>;
235 interrupt-names = "idle", "error", "end", "rx", "tx";
236 clocks = <&cpg CPG_CORE R9A09G077_CLK_PCLKM>,
237 <&cpg CPG_MOD 106>;
238 clock-names = "pclk", "pclkspi";
239 power-domains = <&cpg>;
240 #address-cells = <1>;
241 #size-cells = <0>;
242 status = "disabled";
243 };
244
245 rspi3: spi@81007000 {
246 compatible = "renesas,r9a09g077-rspi";
247 reg = <0x0 0x81007000 0x0 0x400>;
248 interrupts = <GIC_SPI 651 IRQ_TYPE_LEVEL_HIGH>,
249 <GIC_SPI 652 IRQ_TYPE_LEVEL_HIGH>,
250 <GIC_SPI 653 IRQ_TYPE_EDGE_RISING>,
251 <GIC_SPI 649 IRQ_TYPE_EDGE_RISING>,
252 <GIC_SPI 650 IRQ_TYPE_EDGE_RISING>;
253 interrupt-names = "idle", "error", "end", "rx", "tx";
254 clocks = <&cpg CPG_CORE R9A09G077_CLK_PCLKM>,
255 <&cpg CPG_MOD 602>;
256 clock-names = "pclk", "pclkspi";
257 power-domains = <&cpg>;
258 #address-cells = <1>;
259 #size-cells = <0>;
260 status = "disabled";
261 };
262
263 canfd: can@80040000 {
264 compatible = "renesas,r9a09g077-canfd";
265 reg = <0 0x80040000 0 0x20000>;
266 interrupts = <GIC_SPI 633 IRQ_TYPE_LEVEL_HIGH>,
267 <GIC_SPI 632 IRQ_TYPE_LEVEL_HIGH>,
268 <GIC_SPI 627 IRQ_TYPE_LEVEL_HIGH>,
269 <GIC_SPI 628 IRQ_TYPE_LEVEL_HIGH>,
270 <GIC_SPI 626 IRQ_TYPE_LEVEL_HIGH>,
271 <GIC_SPI 630 IRQ_TYPE_LEVEL_HIGH>,
272 <GIC_SPI 631 IRQ_TYPE_LEVEL_HIGH>,
273 <GIC_SPI 629 IRQ_TYPE_LEVEL_HIGH>;
274 interrupt-names = "g_err", "g_recc",
275 "ch0_err", "ch0_rec", "ch0_trx",
276 "ch1_err", "ch1_rec", "ch1_trx";
277 clocks = <&cpg CPG_MOD 310>,
278 <&cpg CPG_CORE R9A09G077_CLK_PCLKH>,
279 <&cpg CPG_CORE R9A09G077_PCLKCAN>;
280 clock-names = "fck", "ram_clk", "can_clk";
281 assigned-clocks = <&cpg CPG_CORE R9A09G077_PCLKCAN>;
282 assigned-clock-rates = <80000000>;
283 power-domains = <&cpg>;
284 status = "disabled";
285
286 channel0 {
287 status = "disabled";
288 };
289 channel1 {
290 status = "disabled";
291 };
292 };
293
294 wdt0: watchdog@80082000 {
295 compatible = "renesas,r9a09g077-wdt";
296 reg = <0 0x80082000 0 0x400>,
297 <0 0x81295100 0 0x04>;
298 clocks = <&cpg CPG_CORE R9A09G077_CLK_PCLKL>;
299 clock-names = "pclk";
300 power-domains = <&cpg>;
301 status = "disabled";
302 };
303
304 wdt1: watchdog@80082400 {
305 compatible = "renesas,r9a09g077-wdt";
306 reg = <0 0x80082400 0 0x400>,
307 <0 0x81295104 0 0x04>;
308 clocks = <&cpg CPG_CORE R9A09G077_CLK_PCLKL>;
309 clock-names = "pclk";
310 power-domains = <&cpg>;
311 status = "disabled";
312 };
313
314 wdt2: watchdog@80082800 {
315 compatible = "renesas,r9a09g077-wdt";
316 reg = <0 0x80082800 0 0x400>,
317 <0 0x81295108 0 0x04>;
318 clocks = <&cpg CPG_CORE R9A09G077_CLK_PCLKL>;
319 clock-names = "pclk";
320 power-domains = <&cpg>;
321 status = "disabled";
322 };
323
324 wdt3: watchdog@80082c00 {
325 compatible = "renesas,r9a09g077-wdt";
326 reg = <0 0x80082c00 0 0x400>,
327 <0 0x8129510c 0 0x04>;
328 clocks = <&cpg CPG_CORE R9A09G077_CLK_PCLKL>;
329 clock-names = "pclk";
330 power-domains = <&cpg>;
331 status = "disabled";
332 };
333
334 wdt4: watchdog@80083000 {
335 compatible = "renesas,r9a09g077-wdt";
336 reg = <0 0x80083000 0 0x400>,
337 <0 0x81295110 0 0x04>;
338 clocks = <&cpg CPG_CORE R9A09G077_CLK_PCLKL>;
339 clock-names = "pclk";
340 power-domains = <&cpg>;
341 status = "disabled";
342 };
343
344 wdt5: watchdog@80083400 {
345 compatible = "renesas,r9a09g077-wdt";
346 reg = <0 0x80083400 0 0x400>,
347 <0 0x81295114 0 0x04>;
348 clocks = <&cpg CPG_CORE R9A09G077_CLK_PCLKL>;
349 clock-names = "pclk";
350 power-domains = <&cpg>;
351 status = "disabled";
352 };
353
354 tsu: thermal@80086000 {
355 compatible = "renesas,r9a09g077-tsu";
356 reg = <0 0x80086000 0 0x1000>;
357 interrupts = <GIC_SPI 713 IRQ_TYPE_EDGE_RISING>,
358 <GIC_SPI 714 IRQ_TYPE_LEVEL_HIGH>;
359 interrupt-names = "adi", "adcmpi";
360 clocks = <&cpg CPG_MOD 307>;
361 power-domains = <&cpg>;
362 #thermal-sensor-cells = <0>;
363 };
364
365 i2c0: i2c@80088000 {
366 compatible = "renesas,riic-r9a09g077";
367 reg = <0 0x80088000 0 0x400>;
368 interrupts = <GIC_SPI 614 IRQ_TYPE_LEVEL_HIGH>,
369 <GIC_SPI 615 IRQ_TYPE_EDGE_RISING>,
370 <GIC_SPI 616 IRQ_TYPE_EDGE_RISING>,
371 <GIC_SPI 617 IRQ_TYPE_LEVEL_HIGH>;
372 interrupt-names = "eei", "rxi", "txi", "tei";
373 clocks = <&cpg CPG_MOD 100>;
374 power-domains = <&cpg>;
375 #address-cells = <1>;
376 #size-cells = <0>;
377 status = "disabled";
378 };
379
380 i2c1: i2c@80088400 {
381 compatible = "renesas,riic-r9a09g077";
382 reg = <0 0x80088400 0 0x400>;
383 interrupts = <GIC_SPI 618 IRQ_TYPE_LEVEL_HIGH>,
384 <GIC_SPI 619 IRQ_TYPE_EDGE_RISING>,
385 <GIC_SPI 620 IRQ_TYPE_EDGE_RISING>,
386 <GIC_SPI 621 IRQ_TYPE_LEVEL_HIGH>;
387 interrupt-names = "eei", "rxi", "txi", "tei";
388 clocks = <&cpg CPG_MOD 101>;
389 power-domains = <&cpg>;
390 #address-cells = <1>;
391 #size-cells = <0>;
392 status = "disabled";
393 };
394
395 i2c2: i2c@81008000 {
396 compatible = "renesas,riic-r9a09g077";
397 reg = <0 0x81008000 0 0x400>;
398 interrupts = <GIC_SPI 622 IRQ_TYPE_LEVEL_HIGH>,
399 <GIC_SPI 623 IRQ_TYPE_EDGE_RISING>,
400 <GIC_SPI 624 IRQ_TYPE_EDGE_RISING>,
401 <GIC_SPI 625 IRQ_TYPE_LEVEL_HIGH>;
402 interrupt-names = "eei", "rxi", "txi", "tei";
403 clocks = <&cpg CPG_MOD 601>;
404 power-domains = <&cpg>;
405 #address-cells = <1>;
406 #size-cells = <0>;
407 status = "disabled";
408 };
409
410 dmac0: dma-controller@800c0000 {
411 compatible = "renesas,r9a09g077-dmac";
412 reg = <0 0x800c0000 0 0x1000>;
413 interrupts = <GIC_SPI 32 IRQ_TYPE_EDGE_RISING>,
414 <GIC_SPI 33 IRQ_TYPE_EDGE_RISING>,
415 <GIC_SPI 34 IRQ_TYPE_EDGE_RISING>,
416 <GIC_SPI 35 IRQ_TYPE_EDGE_RISING>,
417 <GIC_SPI 36 IRQ_TYPE_EDGE_RISING>,
418 <GIC_SPI 37 IRQ_TYPE_EDGE_RISING>,
419 <GIC_SPI 38 IRQ_TYPE_EDGE_RISING>,
420 <GIC_SPI 39 IRQ_TYPE_EDGE_RISING>,
421 <GIC_SPI 40 IRQ_TYPE_EDGE_RISING>,
422 <GIC_SPI 41 IRQ_TYPE_EDGE_RISING>,
423 <GIC_SPI 42 IRQ_TYPE_EDGE_RISING>,
424 <GIC_SPI 43 IRQ_TYPE_EDGE_RISING>,
425 <GIC_SPI 44 IRQ_TYPE_EDGE_RISING>,
426 <GIC_SPI 45 IRQ_TYPE_EDGE_RISING>,
427 <GIC_SPI 46 IRQ_TYPE_EDGE_RISING>,
428 <GIC_SPI 47 IRQ_TYPE_EDGE_RISING>;
429 interrupt-names = "ch0", "ch1", "ch2", "ch3",
430 "ch4", "ch5", "ch6", "ch7",
431 "ch8", "ch9", "ch10", "ch11",
432 "ch12", "ch13", "ch14", "ch15";
433 clocks = <&cpg CPG_CORE R9A09G077_CLK_PCLKH>;
434 power-domains = <&cpg>;
435 #dma-cells = <1>;
436 dma-channels = <16>;
437 renesas,icu = <&icu 0>;
438 };
439
440 dmac1: dma-controller@800c1000 {
441 compatible = "renesas,r9a09g077-dmac";
442 reg = <0 0x800c1000 0 0x1000>;
443 interrupts = <GIC_SPI 48 IRQ_TYPE_EDGE_RISING>,
444 <GIC_SPI 49 IRQ_TYPE_EDGE_RISING>,
445 <GIC_SPI 50 IRQ_TYPE_EDGE_RISING>,
446 <GIC_SPI 51 IRQ_TYPE_EDGE_RISING>,
447 <GIC_SPI 52 IRQ_TYPE_EDGE_RISING>,
448 <GIC_SPI 53 IRQ_TYPE_EDGE_RISING>,
449 <GIC_SPI 54 IRQ_TYPE_EDGE_RISING>,
450 <GIC_SPI 55 IRQ_TYPE_EDGE_RISING>,
451 <GIC_SPI 56 IRQ_TYPE_EDGE_RISING>,
452 <GIC_SPI 57 IRQ_TYPE_EDGE_RISING>,
453 <GIC_SPI 58 IRQ_TYPE_EDGE_RISING>,
454 <GIC_SPI 59 IRQ_TYPE_EDGE_RISING>,
455 <GIC_SPI 60 IRQ_TYPE_EDGE_RISING>,
456 <GIC_SPI 61 IRQ_TYPE_EDGE_RISING>,
457 <GIC_SPI 62 IRQ_TYPE_EDGE_RISING>,
458 <GIC_SPI 63 IRQ_TYPE_EDGE_RISING>;
459 interrupt-names = "ch0", "ch1", "ch2", "ch3",
460 "ch4", "ch5", "ch6", "ch7",
461 "ch8", "ch9", "ch10", "ch11",
462 "ch12", "ch13", "ch14", "ch15";
463 clocks = <&cpg CPG_CORE R9A09G077_CLK_PCLKH>;
464 power-domains = <&cpg>;
465 #dma-cells = <1>;
466 dma-channels = <16>;
467 renesas,icu = <&icu 1>;
468 };
469
470 dmac2: dma-controller@800c2000 {
471 compatible = "renesas,r9a09g077-dmac";
472 reg = <0 0x800c2000 0 0x1000>;
473 interrupts = <GIC_SPI 64 IRQ_TYPE_EDGE_RISING>,
474 <GIC_SPI 65 IRQ_TYPE_EDGE_RISING>,
475 <GIC_SPI 66 IRQ_TYPE_EDGE_RISING>,
476 <GIC_SPI 67 IRQ_TYPE_EDGE_RISING>,
477 <GIC_SPI 68 IRQ_TYPE_EDGE_RISING>,
478 <GIC_SPI 69 IRQ_TYPE_EDGE_RISING>,
479 <GIC_SPI 70 IRQ_TYPE_EDGE_RISING>,
480 <GIC_SPI 71 IRQ_TYPE_EDGE_RISING>,
481 <GIC_SPI 72 IRQ_TYPE_EDGE_RISING>,
482 <GIC_SPI 73 IRQ_TYPE_EDGE_RISING>,
483 <GIC_SPI 74 IRQ_TYPE_EDGE_RISING>,
484 <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>,
485 <GIC_SPI 76 IRQ_TYPE_EDGE_RISING>,
486 <GIC_SPI 77 IRQ_TYPE_EDGE_RISING>,
487 <GIC_SPI 78 IRQ_TYPE_EDGE_RISING>,
488 <GIC_SPI 79 IRQ_TYPE_EDGE_RISING>;
489 interrupt-names = "ch0", "ch1", "ch2", "ch3",
490 "ch4", "ch5", "ch6", "ch7",
491 "ch8", "ch9", "ch10", "ch11",
492 "ch12", "ch13", "ch14", "ch15";
493 clocks = <&cpg CPG_CORE R9A09G077_CLK_PCLKH>;
494 power-domains = <&cpg>;
495 #dma-cells = <1>;
496 dma-channels = <16>;
497 renesas,icu = <&icu 2>;
498 };
499
500 gmac0: ethernet@80100000 {
501 compatible = "renesas,r9a09g077-gbeth", "snps,dwmac-5.20";
502 reg = <0 0x80100000 0 0x10000>;
503 interrupts = <GIC_SPI 498 IRQ_TYPE_LEVEL_HIGH>,
504 <GIC_SPI 500 IRQ_TYPE_LEVEL_HIGH>,
505 <GIC_SPI 499 IRQ_TYPE_LEVEL_HIGH>,
506 <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>,
507 <GIC_SPI 510 IRQ_TYPE_LEVEL_HIGH>,
508 <GIC_SPI 511 IRQ_TYPE_LEVEL_HIGH>,
509 <GIC_SPI 512 IRQ_TYPE_LEVEL_HIGH>,
510 <GIC_SPI 513 IRQ_TYPE_LEVEL_HIGH>,
511 <GIC_SPI 514 IRQ_TYPE_LEVEL_HIGH>,
512 <GIC_SPI 515 IRQ_TYPE_LEVEL_HIGH>,
513 <GIC_SPI 516 IRQ_TYPE_LEVEL_HIGH>,
514 <GIC_SPI 501 IRQ_TYPE_LEVEL_HIGH>,
515 <GIC_SPI 502 IRQ_TYPE_LEVEL_HIGH>,
516 <GIC_SPI 503 IRQ_TYPE_LEVEL_HIGH>,
517 <GIC_SPI 504 IRQ_TYPE_LEVEL_HIGH>,
518 <GIC_SPI 505 IRQ_TYPE_LEVEL_HIGH>,
519 <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
520 <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>,
521 <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>;
522 interrupt-names = "macirq", "eth_wake_irq", "eth_lpi",
523 "rx-queue-0", "rx-queue-1", "rx-queue-2",
524 "rx-queue-3", "rx-queue-4", "rx-queue-5",
525 "rx-queue-6", "rx-queue-7", "tx-queue-0",
526 "tx-queue-1", "tx-queue-2", "tx-queue-3",
527 "tx-queue-4", "tx-queue-5", "tx-queue-6",
528 "tx-queue-7";
529 clocks = <&cpg CPG_MOD 400>,
530 <&cpg CPG_CORE R9A09G077_CLK_PCLKH>,
531 <&cpg CPG_CORE R9A09G077_ETCLKB>;
532 clock-names = "stmmaceth", "pclk", "tx";
533 resets = <&cpg 400>, <&cpg 401>;
534 reset-names = "stmmaceth", "ahb";
535 power-domains = <&cpg>;
536 snps,multicast-filter-bins = <256>;
537 snps,perfect-filter-entries = <32>;
538 rx-fifo-depth = <8192>;
539 tx-fifo-depth = <8192>;
540 snps,fixed-burst;
541 snps,no-pbl-x8;
542 snps,force_thresh_dma_mode;
543 snps,axi-config = <&stmmac_axi_setup>;
544 snps,mtl-rx-config = <&mtl_rx_setup0>;
545 snps,mtl-tx-config = <&mtl_tx_setup0>;
546 snps,txpbl = <16>;
547 snps,rxpbl = <16>;
548 status = "disabled";
549
550 mdio0: mdio {
551 compatible = "snps,dwmac-mdio";
552 #address-cells = <1>;
553 #size-cells = <0>;
554 };
555
556 mtl_rx_setup0: rx-queues-config {
557 snps,rx-queues-to-use = <8>;
558 snps,rx-sched-sp;
559
560 queue0 {
561 snps,dcb-algorithm;
562 snps,priority = <0x1>;
563 snps,map-to-dma-channel = <0>;
564 };
565
566 queue1 {
567 snps,dcb-algorithm;
568 snps,priority = <0x2>;
569 snps,map-to-dma-channel = <1>;
570 };
571
572 queue2 {
573 snps,dcb-algorithm;
574 snps,priority = <0x4>;
575 snps,map-to-dma-channel = <2>;
576 };
577
578 queue3 {
579 snps,dcb-algorithm;
580 snps,priority = <0x8>;
581 snps,map-to-dma-channel = <3>;
582 };
583
584 queue4 {
585 snps,dcb-algorithm;
586 snps,priority = <0x10>;
587 snps,map-to-dma-channel = <4>;
588 };
589
590 queue5 {
591 snps,dcb-algorithm;
592 snps,priority = <0x20>;
593 snps,map-to-dma-channel = <5>;
594 };
595
596 queue6 {
597 snps,dcb-algorithm;
598 snps,priority = <0x40>;
599 snps,map-to-dma-channel = <6>;
600 };
601
602 queue7 {
603 snps,dcb-algorithm;
604 snps,priority = <0x80>;
605 snps,map-to-dma-channel = <7>;
606 };
607 };
608
609 mtl_tx_setup0: tx-queues-config {
610 snps,tx-queues-to-use = <8>;
611
612 queue0 {
613 snps,dcb-algorithm;
614 };
615
616 queue1 {
617 snps,dcb-algorithm;
618 };
619
620 queue2 {
621 snps,dcb-algorithm;
622 };
623
624 queue3 {
625 snps,dcb-algorithm;
626 };
627
628 queue4 {
629 snps,dcb-algorithm;
630 };
631
632 queue5 {
633 snps,dcb-algorithm;
634 };
635
636 queue6 {
637 snps,dcb-algorithm;
638 };
639
640 queue7 {
641 snps,dcb-algorithm;
642 };
643 };
644 };
645
646 gmac1: ethernet@92000000 {
647 compatible = "renesas,r9a09g077-gbeth", "snps,dwmac-5.20";
648 reg = <0 0x92000000 0 0x10000>;
649 interrupts = <GIC_SPI 517 IRQ_TYPE_LEVEL_HIGH>,
650 <GIC_SPI 519 IRQ_TYPE_LEVEL_HIGH>,
651 <GIC_SPI 518 IRQ_TYPE_LEVEL_HIGH>,
652 <GIC_SPI 528 IRQ_TYPE_LEVEL_HIGH>,
653 <GIC_SPI 529 IRQ_TYPE_LEVEL_HIGH>,
654 <GIC_SPI 530 IRQ_TYPE_LEVEL_HIGH>,
655 <GIC_SPI 531 IRQ_TYPE_LEVEL_HIGH>,
656 <GIC_SPI 532 IRQ_TYPE_LEVEL_HIGH>,
657 <GIC_SPI 533 IRQ_TYPE_LEVEL_HIGH>,
658 <GIC_SPI 534 IRQ_TYPE_LEVEL_HIGH>,
659 <GIC_SPI 535 IRQ_TYPE_LEVEL_HIGH>,
660 <GIC_SPI 520 IRQ_TYPE_LEVEL_HIGH>,
661 <GIC_SPI 521 IRQ_TYPE_LEVEL_HIGH>,
662 <GIC_SPI 522 IRQ_TYPE_LEVEL_HIGH>,
663 <GIC_SPI 523 IRQ_TYPE_LEVEL_HIGH>,
664 <GIC_SPI 524 IRQ_TYPE_LEVEL_HIGH>,
665 <GIC_SPI 525 IRQ_TYPE_LEVEL_HIGH>,
666 <GIC_SPI 526 IRQ_TYPE_LEVEL_HIGH>,
667 <GIC_SPI 527 IRQ_TYPE_LEVEL_HIGH>;
668 interrupt-names = "macirq", "eth_wake_irq", "eth_lpi",
669 "rx-queue-0", "rx-queue-1", "rx-queue-2",
670 "rx-queue-3", "rx-queue-4", "rx-queue-5",
671 "rx-queue-6", "rx-queue-7", "tx-queue-0",
672 "tx-queue-1", "tx-queue-2", "tx-queue-3",
673 "tx-queue-4", "tx-queue-5", "tx-queue-6",
674 "tx-queue-7";
675 clocks = <&cpg CPG_MOD 416>,
676 <&cpg CPG_CORE R9A09G077_CLK_PCLKAH>,
677 <&cpg CPG_CORE R9A09G077_ETCLKB>;
678 clock-names = "stmmaceth", "pclk", "tx";
679 resets = <&cpg 416>, <&cpg 417>;
680 reset-names = "stmmaceth", "ahb";
681 power-domains = <&cpg>;
682 snps,multicast-filter-bins = <256>;
683 snps,perfect-filter-entries = <32>;
684 rx-fifo-depth = <8192>;
685 tx-fifo-depth = <8192>;
686 snps,fixed-burst;
687 snps,no-pbl-x8;
688 snps,force_thresh_dma_mode;
689 snps,axi-config = <&stmmac_axi_setup>;
690 snps,mtl-rx-config = <&mtl_rx_setup1>;
691 snps,mtl-tx-config = <&mtl_tx_setup1>;
692 snps,txpbl = <16>;
693 snps,rxpbl = <16>;
694 status = "disabled";
695
696 mdio1: mdio {
697 compatible = "snps,dwmac-mdio";
698 #address-cells = <1>;
699 #size-cells = <0>;
700 };
701
702 mtl_rx_setup1: rx-queues-config {
703 snps,rx-queues-to-use = <8>;
704 snps,rx-sched-sp;
705
706 queue0 {
707 snps,dcb-algorithm;
708 snps,priority = <0x1>;
709 snps,map-to-dma-channel = <0>;
710 };
711
712 queue1 {
713 snps,dcb-algorithm;
714 snps,priority = <0x2>;
715 snps,map-to-dma-channel = <1>;
716 };
717
718 queue2 {
719 snps,dcb-algorithm;
720 snps,priority = <0x4>;
721 snps,map-to-dma-channel = <2>;
722 };
723
724 queue3 {
725 snps,dcb-algorithm;
726 snps,priority = <0x8>;
727 snps,map-to-dma-channel = <3>;
728 };
729
730 queue4 {
731 snps,dcb-algorithm;
732 snps,priority = <0x10>;
733 snps,map-to-dma-channel = <4>;
734 };
735
736 queue5 {
737 snps,dcb-algorithm;
738 snps,priority = <0x20>;
739 snps,map-to-dma-channel = <5>;
740 };
741
742 queue6 {
743 snps,dcb-algorithm;
744 snps,priority = <0x40>;
745 snps,map-to-dma-channel = <6>;
746 };
747
748 queue7 {
749 snps,dcb-algorithm;
750 snps,priority = <0x80>;
751 snps,map-to-dma-channel = <7>;
752 };
753 };
754
755 mtl_tx_setup1: tx-queues-config {
756 snps,tx-queues-to-use = <8>;
757
758 queue0 {
759 snps,dcb-algorithm;
760 };
761
762 queue1 {
763 snps,dcb-algorithm;
764 };
765
766 queue2 {
767 snps,dcb-algorithm;
768 };
769
770 queue3 {
771 snps,dcb-algorithm;
772 };
773
774 queue4 {
775 snps,dcb-algorithm;
776 };
777
778 queue5 {
779 snps,dcb-algorithm;
780 };
781
782 queue6 {
783 snps,dcb-algorithm;
784 };
785
786 queue7 {
787 snps,dcb-algorithm;
788 };
789 };
790 };
791
792 gmac2: ethernet@92010000 {
793 compatible = "renesas,r9a09g077-gbeth", "snps,dwmac-5.20";
794 reg = <0 0x92010000 0 0x10000>;
795 interrupts = <GIC_SPI 536 IRQ_TYPE_LEVEL_HIGH>,
796 <GIC_SPI 538 IRQ_TYPE_LEVEL_HIGH>,
797 <GIC_SPI 537 IRQ_TYPE_LEVEL_HIGH>,
798 <GIC_SPI 547 IRQ_TYPE_LEVEL_HIGH>,
799 <GIC_SPI 548 IRQ_TYPE_LEVEL_HIGH>,
800 <GIC_SPI 549 IRQ_TYPE_LEVEL_HIGH>,
801 <GIC_SPI 550 IRQ_TYPE_LEVEL_HIGH>,
802 <GIC_SPI 551 IRQ_TYPE_LEVEL_HIGH>,
803 <GIC_SPI 552 IRQ_TYPE_LEVEL_HIGH>,
804 <GIC_SPI 553 IRQ_TYPE_LEVEL_HIGH>,
805 <GIC_SPI 554 IRQ_TYPE_LEVEL_HIGH>,
806 <GIC_SPI 539 IRQ_TYPE_LEVEL_HIGH>,
807 <GIC_SPI 540 IRQ_TYPE_LEVEL_HIGH>,
808 <GIC_SPI 541 IRQ_TYPE_LEVEL_HIGH>,
809 <GIC_SPI 542 IRQ_TYPE_LEVEL_HIGH>,
810 <GIC_SPI 543 IRQ_TYPE_LEVEL_HIGH>,
811 <GIC_SPI 544 IRQ_TYPE_LEVEL_HIGH>,
812 <GIC_SPI 545 IRQ_TYPE_LEVEL_HIGH>,
813 <GIC_SPI 546 IRQ_TYPE_LEVEL_HIGH>;
814 interrupt-names = "macirq", "eth_wake_irq", "eth_lpi",
815 "rx-queue-0", "rx-queue-1", "rx-queue-2",
816 "rx-queue-3", "rx-queue-4", "rx-queue-5",
817 "rx-queue-6", "rx-queue-7", "tx-queue-0",
818 "tx-queue-1", "tx-queue-2", "tx-queue-3",
819 "tx-queue-4", "tx-queue-5", "tx-queue-6",
820 "tx-queue-7";
821 clocks = <&cpg CPG_MOD 417>,
822 <&cpg CPG_CORE R9A09G077_CLK_PCLKAH>,
823 <&cpg CPG_CORE R9A09G077_ETCLKB>;
824 clock-names = "stmmaceth", "pclk", "tx";
825 resets = <&cpg 418>, <&cpg 419>;
826 reset-names = "stmmaceth", "ahb";
827 power-domains = <&cpg>;
828 snps,multicast-filter-bins = <256>;
829 snps,perfect-filter-entries = <32>;
830 rx-fifo-depth = <8192>;
831 tx-fifo-depth = <8192>;
832 snps,fixed-burst;
833 snps,no-pbl-x8;
834 snps,force_thresh_dma_mode;
835 snps,axi-config = <&stmmac_axi_setup>;
836 snps,mtl-rx-config = <&mtl_rx_setup2>;
837 snps,mtl-tx-config = <&mtl_tx_setup2>;
838 snps,txpbl = <16>;
839 snps,rxpbl = <16>;
840 status = "disabled";
841
842 mdio2: mdio {
843 compatible = "snps,dwmac-mdio";
844 #address-cells = <1>;
845 #size-cells = <0>;
846 };
847
848 mtl_rx_setup2: rx-queues-config {
849 snps,rx-queues-to-use = <8>;
850 snps,rx-sched-sp;
851
852 queue0 {
853 snps,dcb-algorithm;
854 snps,priority = <0x1>;
855 snps,map-to-dma-channel = <0>;
856 };
857
858 queue1 {
859 snps,dcb-algorithm;
860 snps,priority = <0x2>;
861 snps,map-to-dma-channel = <1>;
862 };
863
864 queue2 {
865 snps,dcb-algorithm;
866 snps,priority = <0x4>;
867 snps,map-to-dma-channel = <2>;
868 };
869
870 queue3 {
871 snps,dcb-algorithm;
872 snps,priority = <0x8>;
873 snps,map-to-dma-channel = <3>;
874 };
875
876 queue4 {
877 snps,dcb-algorithm;
878 snps,priority = <0x10>;
879 snps,map-to-dma-channel = <4>;
880 };
881
882 queue5 {
883 snps,dcb-algorithm;
884 snps,priority = <0x20>;
885 snps,map-to-dma-channel = <5>;
886 };
887
888 queue6 {
889 snps,dcb-algorithm;
890 snps,priority = <0x40>;
891 snps,map-to-dma-channel = <6>;
892 };
893
894 queue7 {
895 snps,dcb-algorithm;
896 snps,priority = <0x80>;
897 snps,map-to-dma-channel = <7>;
898 };
899 };
900
901 mtl_tx_setup2: tx-queues-config {
902 snps,tx-queues-to-use = <8>;
903
904 queue0 {
905 snps,dcb-algorithm;
906 };
907
908 queue1 {
909 snps,dcb-algorithm;
910 };
911
912 queue2 {
913 snps,dcb-algorithm;
914 };
915
916 queue3 {
917 snps,dcb-algorithm;
918 };
919
920 queue4 {
921 snps,dcb-algorithm;
922 };
923
924 queue5 {
925 snps,dcb-algorithm;
926 };
927
928 queue6 {
929 snps,dcb-algorithm;
930 };
931
932 queue7 {
933 snps,dcb-algorithm;
934 };
935 };
936 };
937
938 ethss: ethss@80110000 {
939 compatible = "renesas,r9a09g077-miic";
940 reg = <0 0x80110000 0 0x10000>;
941 clocks = <&cpg CPG_CORE R9A09G077_ETCLKE>,
942 <&cpg CPG_CORE R9A09G077_ETCLKB>,
943 <&cpg CPG_CORE R9A09G077_ETCLKD>,
944 <&cpg CPG_MOD 403>;
945 clock-names = "mii_ref", "rgmii_ref", "rmii_ref", "hclk";
946 resets = <&cpg 405>, <&cpg 406>;
947 reset-names = "rst", "crst";
948 power-domains = <&cpg>;
949 status = "disabled";
950
951 #address-cells = <1>;
952 #size-cells = <0>;
953
954 mii_conv0: mii-conv@0 {
955 reg = <0>;
956 status = "disabled";
957 };
958
959 mii_conv1: mii-conv@1 {
960 reg = <1>;
961 status = "disabled";
962 };
963
964 mii_conv2: mii-conv@2 {
965 reg = <2>;
966 status = "disabled";
967 };
968
969 mii_conv3: mii-conv@3 {
970 reg = <3>;
971 status = "disabled";
972 };
973 };
974
975 cpg: clock-controller@80280000 {
976 compatible = "renesas,r9a09g077-cpg-mssr";
977 reg = <0 0x80280000 0 0x10000>,
978 <0 0x81280000 0 0x10000>;
979 clocks = <&extal_clk>;
980 clock-names = "extal";
981 #clock-cells = <2>;
982 #reset-cells = <1>;
983 #power-domain-cells = <0>;
984 };
985
986 icu: interrupt-controller@802a0000 {
987 compatible = "renesas,r9a09g077-icu";
988 reg = <0 0x802a0000 0 0x10000>,
989 <0 0x812a0000 0 0x10000>;
990 #interrupt-cells = <2>;
991 #address-cells = <0>;
992 interrupt-controller;
993 interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>,
994 <GIC_SPI 1 IRQ_TYPE_EDGE_RISING>,
995 <GIC_SPI 2 IRQ_TYPE_EDGE_RISING>,
996 <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>,
997 <GIC_SPI 4 IRQ_TYPE_EDGE_RISING>,
998 <GIC_SPI 5 IRQ_TYPE_EDGE_RISING>,
999 <GIC_SPI 6 IRQ_TYPE_EDGE_RISING>,
1000 <GIC_SPI 7 IRQ_TYPE_EDGE_RISING>,
1001 <GIC_SPI 8 IRQ_TYPE_EDGE_RISING>,
1002 <GIC_SPI 9 IRQ_TYPE_EDGE_RISING>,
1003 <GIC_SPI 10 IRQ_TYPE_EDGE_RISING>,
1004 <GIC_SPI 11 IRQ_TYPE_EDGE_RISING>,
1005 <GIC_SPI 12 IRQ_TYPE_EDGE_RISING>,
1006 <GIC_SPI 13 IRQ_TYPE_EDGE_RISING>,
1007 <GIC_SPI 14 IRQ_TYPE_EDGE_RISING>,
1008 <GIC_SPI 15 IRQ_TYPE_EDGE_RISING>,
1009 <GIC_SPI 16 IRQ_TYPE_EDGE_RISING>,
1010 <GIC_SPI 17 IRQ_TYPE_EDGE_RISING>,
1011 <GIC_SPI 18 IRQ_TYPE_EDGE_RISING>,
1012 <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>,
1013 <GIC_SPI 20 IRQ_TYPE_EDGE_RISING>,
1014 <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
1015 <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>,
1016 <GIC_SPI 23 IRQ_TYPE_EDGE_RISING>,
1017 <GIC_SPI 24 IRQ_TYPE_EDGE_RISING>,
1018 <GIC_SPI 25 IRQ_TYPE_EDGE_RISING>,
1019 <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>,
1020 <GIC_SPI 27 IRQ_TYPE_EDGE_RISING>,
1021 <GIC_SPI 28 IRQ_TYPE_EDGE_RISING>,
1022 <GIC_SPI 29 IRQ_TYPE_EDGE_RISING>,
1023 <GIC_SPI 30 IRQ_TYPE_EDGE_RISING>,
1024 <GIC_SPI 31 IRQ_TYPE_EDGE_RISING>,
1025 <GIC_SPI 406 IRQ_TYPE_EDGE_RISING>,
1026 <GIC_SPI 407 IRQ_TYPE_EDGE_RISING>,
1027 <GIC_SPI 408 IRQ_TYPE_EDGE_RISING>,
1028 <GIC_SPI 409 IRQ_TYPE_EDGE_RISING>,
1029 <GIC_SPI 410 IRQ_TYPE_EDGE_RISING>,
1030 <GIC_SPI 411 IRQ_TYPE_EDGE_RISING>,
1031 <GIC_SPI 412 IRQ_TYPE_EDGE_RISING>,
1032 <GIC_SPI 413 IRQ_TYPE_EDGE_RISING>,
1033 <GIC_SPI 414 IRQ_TYPE_EDGE_RISING>,
1034 <GIC_SPI 415 IRQ_TYPE_EDGE_RISING>,
1035 <GIC_SPI 416 IRQ_TYPE_EDGE_RISING>,
1036 <GIC_SPI 417 IRQ_TYPE_EDGE_RISING>,
1037 <GIC_SPI 418 IRQ_TYPE_EDGE_RISING>;
1038 interrupt-names = "intcpu0", "intcpu1", "intcpu2",
1039 "intcpu3", "intcpu4", "intcpu5",
1040 "intcpu6", "intcpu7", "intcpu8",
1041 "intcpu9", "intcpu10", "intcpu11",
1042 "intcpu12", "intcpu13", "intcpu14",
1043 "intcpu15",
1044 "irq0", "irq1", "irq2", "irq3",
1045 "irq4", "irq5", "irq6", "irq7",
1046 "irq8", "irq9", "irq10", "irq11",
1047 "irq12", "irq13", "irq14", "irq15",
1048 "sei",
1049 "ca55-err0", "ca55-err1",
1050 "cr520-err0", "cr520-err1",
1051 "cr521-err0", "cr521-err1",
1052 "peri-err0", "peri-err1",
1053 "dsmif-err0", "dsmif-err1",
1054 "encif-err0", "encif-err1";
1055 clocks = <&cpg CPG_CORE R9A09G077_CLK_PCLKM>;
1056 power-domains = <&cpg>;
1057 };
1058
1059 pinctrl: pinctrl@802c0000 {
1060 compatible = "renesas,r9a09g077-pinctrl";
1061 reg = <0 0x802c0000 0 0x10000>,
1062 <0 0x812c0000 0 0x10000>,
1063 <0 0x802b0000 0 0x10000>;
1064 reg-names = "nsr", "srs", "srn";
1065 clocks = <&cpg CPG_CORE R9A09G077_CLK_PCLKM>;
1066 gpio-controller;
1067 #gpio-cells = <2>;
1068 gpio-ranges = <&pinctrl 0 0 288>;
1069 #interrupt-cells = <2>;
1070 interrupt-controller;
1071 interrupt-parent = <&icu>;
1072 power-domains = <&cpg>;
1073 };
1074
1075 gic: interrupt-controller@83000000 {
1076 compatible = "arm,gic-v3";
1077 reg = <0x0 0x83000000 0 0x40000>,
1078 <0x0 0x83040000 0 0x160000>;
1079 #interrupt-cells = <3>;
1080 #address-cells = <0>;
1081 interrupt-controller;
1082 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>;
1083 };
1084
1085 adc0: adc@90014000 {
1086 compatible = "renesas,r9a09g077-adc";
1087 reg = <0 0x90014000 0 0x400>;
1088 interrupts = <GIC_SPI 698 IRQ_TYPE_EDGE_RISING>,
1089 <GIC_SPI 699 IRQ_TYPE_EDGE_RISING>,
1090 <GIC_SPI 700 IRQ_TYPE_EDGE_RISING>,
1091 <GIC_SPI 701 IRQ_TYPE_LEVEL_HIGH>,
1092 <GIC_SPI 702 IRQ_TYPE_LEVEL_HIGH>,
1093 <GIC_SPI 851 IRQ_TYPE_EDGE_RISING>,
1094 <GIC_SPI 852 IRQ_TYPE_EDGE_RISING>;
1095 interrupt-names = "adi", "gbadi", "gcadi",
1096 "cmpai", "cmpbi", "wcmpm", "wcmpum";
1097 clocks = <&cpg CPG_CORE R9A09G077_CLK_PCLKL>,
1098 <&cpg CPG_MOD 206>;
1099 clock-names = "adclk", "pclk";
1100 power-domains = <&cpg>;
1101 #address-cells = <1>;
1102 #size-cells = <0>;
1103 #io-channel-cells = <1>;
1104 status = "disabled";
1105 };
1106
1107 adc1: adc@90014400 {
1108 compatible = "renesas,r9a09g077-adc";
1109 reg = <0 0x90014400 0 0x400>;
1110 interrupts = <GIC_SPI 703 IRQ_TYPE_EDGE_RISING>,
1111 <GIC_SPI 704 IRQ_TYPE_EDGE_RISING>,
1112 <GIC_SPI 705 IRQ_TYPE_EDGE_RISING>,
1113 <GIC_SPI 706 IRQ_TYPE_LEVEL_HIGH>,
1114 <GIC_SPI 707 IRQ_TYPE_LEVEL_HIGH>,
1115 <GIC_SPI 853 IRQ_TYPE_EDGE_RISING>,
1116 <GIC_SPI 854 IRQ_TYPE_EDGE_RISING>;
1117 interrupt-names = "adi", "gbadi", "gcadi",
1118 "cmpai", "cmpbi", "wcmpm", "wcmpum";
1119 clocks = <&cpg CPG_CORE R9A09G077_CLK_PCLKL>,
1120 <&cpg CPG_MOD 207>;
1121 clock-names = "adclk", "pclk";
1122 power-domains = <&cpg>;
1123 #address-cells = <1>;
1124 #size-cells = <0>;
1125 #io-channel-cells = <1>;
1126 status = "disabled";
1127 };
1128
1129 adc2: adc@80008000 {
1130 compatible = "renesas,r9a09g077-adc";
1131 reg = <0 0x80008000 0 0x400>;
1132 interrupts = <GIC_SPI 708 IRQ_TYPE_EDGE_RISING>,
1133 <GIC_SPI 709 IRQ_TYPE_EDGE_RISING>,
1134 <GIC_SPI 710 IRQ_TYPE_EDGE_RISING>,
1135 <GIC_SPI 711 IRQ_TYPE_LEVEL_HIGH>,
1136 <GIC_SPI 712 IRQ_TYPE_LEVEL_HIGH>,
1137 <GIC_SPI 855 IRQ_TYPE_EDGE_RISING>,
1138 <GIC_SPI 856 IRQ_TYPE_EDGE_RISING>;
1139 interrupt-names = "adi", "gbadi", "gcadi",
1140 "cmpai", "cmpbi", "wcmpm", "wcmpum";
1141 clocks = <&cpg CPG_CORE R9A09G077_CLK_PCLKL>,
1142 <&cpg CPG_MOD 225>;
1143 clock-names = "adclk", "pclk";
1144 power-domains = <&cpg>;
1145 #address-cells = <1>;
1146 #size-cells = <0>;
1147 #io-channel-cells = <1>;
1148 status = "disabled";
1149 };
1150
1151 ohci: usb@92040000 {
1152 compatible = "generic-ohci";
1153 reg = <0 0x92040000 0 0x100>;
1154 interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>;
1155 clocks = <&cpg CPG_MOD 408>;
1156 phys = <&usb2_phy 1>;
1157 phy-names = "usb";
1158 power-domains = <&cpg>;
1159 status = "disabled";
1160 };
1161
1162 ehci: usb@92040100 {
1163 compatible = "generic-ehci";
1164 reg = <0 0x92040100 0 0x100>;
1165 interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>;
1166 clocks = <&cpg CPG_MOD 408>;
1167 phys = <&usb2_phy 2>;
1168 phy-names = "usb";
1169 companion = <&ohci>;
1170 power-domains = <&cpg>;
1171 status = "disabled";
1172 };
1173
1174 usb2_phy: usb-phy@92040200 {
1175 compatible = "renesas,usb2-phy-r9a09g077";
1176 reg = <0 0x92040200 0 0x700>;
1177 interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>;
1178 clocks = <&cpg CPG_MOD 408>,
1179 <&cpg CPG_CORE R9A09G077_USB_CLK>;
1180 #phy-cells = <1>;
1181 power-domains = <&cpg>;
1182 status = "disabled";
1183 };
1184
1185 hsusb: usb@92041000 {
1186 compatible = "renesas,usbhs-r9a09g077";
1187 reg = <0 0x92041000 0 0x1000>;
1188 interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>,
1189 <GIC_SPI 588 IRQ_TYPE_LEVEL_HIGH>,
1190 <GIC_SPI 589 IRQ_TYPE_LEVEL_HIGH>;
1191 clocks = <&cpg CPG_MOD 408>;
1192 phys = <&usb2_phy 3>;
1193 phy-names = "usb";
1194 power-domains = <&cpg>;
1195 status = "disabled";
1196 };
1197
1198 sdhi0: mmc@92080000 {
1199 compatible = "renesas,sdhi-r9a09g077",
1200 "renesas,sdhi-r9a09g057";
1201 reg = <0x0 0x92080000 0 0x10000>;
1202 interrupts = <GIC_SPI 782 IRQ_TYPE_LEVEL_HIGH>,
1203 <GIC_SPI 783 IRQ_TYPE_LEVEL_HIGH>;
1204 clocks = <&cpg CPG_MOD 1212>,
1205 <&cpg CPG_CORE R9A09G077_SDHI_CLKHS>;
1206 clock-names = "aclk", "clkh";
1207 power-domains = <&cpg>;
1208 status = "disabled";
1209
1210 sdhi0_vqmmc: vqmmc-regulator {
1211 regulator-name = "SDHI0-VQMMC";
1212 regulator-min-microvolt = <1800000>;
1213 regulator-max-microvolt = <3300000>;
1214 status = "disabled";
1215 };
1216 };
1217
1218 sdhi1: mmc@92090000 {
1219 compatible = "renesas,sdhi-r9a09g077",
1220 "renesas,sdhi-r9a09g057";
1221 reg = <0x0 0x92090000 0 0x10000>;
1222 interrupts = <GIC_SPI 784 IRQ_TYPE_LEVEL_HIGH>,
1223 <GIC_SPI 785 IRQ_TYPE_LEVEL_HIGH>;
1224 clocks = <&cpg CPG_MOD 1213>,
1225 <&cpg CPG_CORE R9A09G077_SDHI_CLKHS>;
1226 clock-names = "aclk", "clkh";
1227 power-domains = <&cpg>;
1228 status = "disabled";
1229
1230 sdhi1_vqmmc: vqmmc-regulator {
1231 regulator-name = "SDHI1-VQMMC";
1232 regulator-min-microvolt = <1800000>;
1233 regulator-max-microvolt = <3300000>;
1234 status = "disabled";
1235 };
1236 };
1237 };
1238
1239 stmmac_axi_setup: stmmac-axi-config {
1240 snps,lpi_en;
1241 snps,wr_osr_lmt = <0xf>;
1242 snps,rd_osr_lmt = <0xf>;
1243 snps,blen = <16 8 4 0 0 0 0>;
1244 };
1245
1246 thermal-zones {
1247 cpu-thermal {
1248 polling-delay = <1000>;
1249 polling-delay-passive = <250>;
1250 thermal-sensors = <&tsu>;
1251
1252 cooling-maps {
1253 map0 {
1254 trip = <&target>;
1255 cooling-device = <&cpu0 0 1>, <&cpu1 0 1>,
1256 <&cpu2 0 1>, <&cpu3 0 1>;
1257 contribution = <1024>;
1258 };
1259 };
1260
1261 trips {
1262 target: trip-point {
1263 temperature = <95000>;
1264 hysteresis = <1000>;
1265 type = "passive";
1266 };
1267
1268 sensor_crit: sensor-crit {
1269 temperature = <120000>;
1270 hysteresis = <1000>;
1271 type = "critical";
1272 };
1273 };
1274 };
1275 };
1276
1277 timer {
1278 compatible = "arm,armv8-timer";
1279 interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
1280 <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
1281 <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
1282 <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>,
1283 <GIC_PPI 12 IRQ_TYPE_LEVEL_LOW>;
1284 interrupt-names = "sec-phys", "phys", "virt", "hyp-phys", "hyp-virt";
1285 };
1286 };