blob: 7a5d68be13eb07483cca04e42e7f12405d865f2f [file] [log] [blame]
Marek Vasut50e031e2018-02-26 10:35:15 +01001// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for the r8a77965 SoC
4 *
5 * Copyright (C) 2018 Jacopo Mondi <jacopo+renesas@jmondi.org>
6 *
7 * Based on r8a7796.dtsi
8 * Copyright (C) 2016 Renesas Electronics Corp.
9 */
10
11#include <dt-bindings/clock/renesas-cpg-mssr.h>
12#include <dt-bindings/interrupt-controller/arm-gic.h>
13
14#define CPG_AUDIO_CLK_I 10
15
16/ {
17 compatible = "renesas,r8a77965";
18 #address-cells = <2>;
19 #size-cells = <2>;
20
Marek Vasut2519a292018-06-06 20:03:30 +020021 aliases {
22 i2c7 = &i2c_dvfs;
23 };
24
Marek Vasut50e031e2018-02-26 10:35:15 +010025 psci {
26 compatible = "arm,psci-1.0", "arm,psci-0.2";
27 method = "smc";
28 };
29
30 cpus {
31 #address-cells = <1>;
32 #size-cells = <0>;
33
34 a57_0: cpu@0 {
35 compatible = "arm,cortex-a57", "arm,armv8";
36 reg = <0x0>;
37 device_type = "cpu";
38 power-domains = <&sysc 0>;
39 next-level-cache = <&L2_CA57>;
40 enable-method = "psci";
41 };
42
43 a57_1: cpu@1 {
44 compatible = "arm,cortex-a57","arm,armv8";
45 reg = <0x1>;
46 device_type = "cpu";
47 power-domains = <&sysc 1>;
48 next-level-cache = <&L2_CA57>;
49 enable-method = "psci";
50 };
51
52 L2_CA57: cache-controller-0 {
53 compatible = "cache";
Marek Vasut50e031e2018-02-26 10:35:15 +010054 power-domains = <&sysc 12>;
55 cache-unified;
56 cache-level = <2>;
57 };
58 };
59
60 extal_clk: extal {
61 compatible = "fixed-clock";
62 #clock-cells = <0>;
63 /* This value must be overridden by the board */
64 clock-frequency = <0>;
65 };
66
67 extalr_clk: extalr {
68 compatible = "fixed-clock";
69 #clock-cells = <0>;
70 /* This value must be overridden by the board */
71 clock-frequency = <0>;
72 };
73
74 /*
75 * The external audio clocks are configured as 0 Hz fixed frequency
76 * clocks by default.
77 * Boards that provide audio clocks should override them.
78 */
79 audio_clk_a: audio_clk_a {
80 compatible = "fixed-clock";
81 #clock-cells = <0>;
82 clock-frequency = <0>;
83 };
84
85 audio_clk_b: audio_clk_b {
86 compatible = "fixed-clock";
87 #clock-cells = <0>;
88 clock-frequency = <0>;
89 };
90
91 audio_clk_c: audio_clk_c {
92 compatible = "fixed-clock";
93 #clock-cells = <0>;
94 clock-frequency = <0>;
95 };
96
97 /* External CAN clock - to be overridden by boards that provide it */
98 can_clk: can {
99 compatible = "fixed-clock";
100 #clock-cells = <0>;
101 clock-frequency = <0>;
102 };
103
104 /* External SCIF clock - to be overridden by boards that provide it */
105 scif_clk: scif {
106 compatible = "fixed-clock";
107 #clock-cells = <0>;
108 clock-frequency = <0>;
109 };
110
111 /* External PCIe clock - can be overridden by the board */
112 pcie_bus_clk: pcie_bus {
113 compatible = "fixed-clock";
114 #clock-cells = <0>;
115 clock-frequency = <0>;
116 };
117
118 /* External USB clocks - can be overridden by the board */
119 usb3s0_clk: usb3s0 {
120 compatible = "fixed-clock";
121 #clock-cells = <0>;
122 clock-frequency = <0>;
123 };
124
125 usb_extal_clk: usb_extal {
126 compatible = "fixed-clock";
127 #clock-cells = <0>;
128 clock-frequency = <0>;
129 };
130
131 timer {
132 compatible = "arm,armv8-timer";
133 interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
134 <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
135 <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
136 <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
137 };
138
139 pmu_a57 {
140 compatible = "arm,cortex-a57-pmu";
141 interrupts-extended = <&gic GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
142 <&gic GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
143 interrupt-affinity = <&a57_0>,
144 <&a57_1>;
145 };
146
147 soc {
148 compatible = "simple-bus";
149 interrupt-parent = <&gic>;
150 #address-cells = <2>;
151 #size-cells = <2>;
152 ranges;
153
154 gic: interrupt-controller@f1010000 {
155 compatible = "arm,gic-400";
156 #interrupt-cells = <3>;
157 #address-cells = <0>;
158 interrupt-controller;
159 reg = <0x0 0xf1010000 0 0x1000>,
160 <0x0 0xf1020000 0 0x20000>,
161 <0x0 0xf1040000 0 0x20000>,
162 <0x0 0xf1060000 0 0x20000>;
163 interrupts = <GIC_PPI 9
164 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
165 clocks = <&cpg CPG_MOD 408>;
166 clock-names = "clk";
167 power-domains = <&sysc 32>;
168 resets = <&cpg 408>;
169 };
170
171 pfc: pin-controller@e6060000 {
172 compatible = "renesas,pfc-r8a77965";
173 reg = <0 0xe6060000 0 0x50c>;
174 };
175
176 cpg: clock-controller@e6150000 {
177 compatible = "renesas,r8a77965-cpg-mssr";
178 reg = <0 0xe6150000 0 0x1000>;
179 clocks = <&extal_clk>, <&extalr_clk>;
180 clock-names = "extal", "extalr";
181 #clock-cells = <2>;
182 #power-domain-cells = <0>;
183 #reset-cells = <1>;
184 };
185
186 rst: reset-controller@e6160000 {
187 compatible = "renesas,r8a77965-rst";
188 reg = <0 0xe6160000 0 0x0200>;
189 };
190
191 prr: chipid@fff00044 {
192 compatible = "renesas,prr";
193 reg = <0 0xfff00044 0 4>;
194 };
195
196 sysc: system-controller@e6180000 {
197 compatible = "renesas,r8a77965-sysc";
198 reg = <0 0xe6180000 0 0x0400>;
199 #power-domain-cells = <1>;
200 };
201
202 gpio0: gpio@e6050000 {
203 compatible = "renesas,gpio-r8a77965",
204 "renesas,rcar-gen3-gpio";
205 reg = <0 0xe6050000 0 0x50>;
206 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
207 #gpio-cells = <2>;
208 gpio-controller;
209 gpio-ranges = <&pfc 0 0 16>;
210 #interrupt-cells = <2>;
211 interrupt-controller;
212 clocks = <&cpg CPG_MOD 912>;
213 power-domains = <&sysc 32>;
214 resets = <&cpg 912>;
215 };
216
217 gpio1: gpio@e6051000 {
218 compatible = "renesas,gpio-r8a77965",
219 "renesas,rcar-gen3-gpio";
220 reg = <0 0xe6051000 0 0x50>;
221 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
222 #gpio-cells = <2>;
223 gpio-controller;
224 gpio-ranges = <&pfc 0 32 29>;
225 #interrupt-cells = <2>;
226 interrupt-controller;
227 clocks = <&cpg CPG_MOD 911>;
228 power-domains = <&sysc 32>;
229 resets = <&cpg 911>;
230 };
231
232 gpio2: gpio@e6052000 {
233 compatible = "renesas,gpio-r8a77965",
234 "renesas,rcar-gen3-gpio";
235 reg = <0 0xe6052000 0 0x50>;
236 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
237 #gpio-cells = <2>;
238 gpio-controller;
239 gpio-ranges = <&pfc 0 64 15>;
240 #interrupt-cells = <2>;
241 interrupt-controller;
242 clocks = <&cpg CPG_MOD 910>;
243 power-domains = <&sysc 32>;
244 resets = <&cpg 910>;
245 };
246
247 gpio3: gpio@e6053000 {
248 compatible = "renesas,gpio-r8a77965",
249 "renesas,rcar-gen3-gpio";
250 reg = <0 0xe6053000 0 0x50>;
251 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
252 #gpio-cells = <2>;
253 gpio-controller;
254 gpio-ranges = <&pfc 0 96 16>;
255 #interrupt-cells = <2>;
256 interrupt-controller;
257 clocks = <&cpg CPG_MOD 909>;
258 power-domains = <&sysc 32>;
259 resets = <&cpg 909>;
260 };
261
262 gpio4: gpio@e6054000 {
263 compatible = "renesas,gpio-r8a77965",
264 "renesas,rcar-gen3-gpio";
265 reg = <0 0xe6054000 0 0x50>;
266 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
267 #gpio-cells = <2>;
268 gpio-controller;
269 gpio-ranges = <&pfc 0 128 18>;
270 #interrupt-cells = <2>;
271 interrupt-controller;
272 clocks = <&cpg CPG_MOD 908>;
273 power-domains = <&sysc 32>;
274 resets = <&cpg 908>;
275 };
276
277 gpio5: gpio@e6055000 {
278 compatible = "renesas,gpio-r8a77965",
279 "renesas,rcar-gen3-gpio";
280 reg = <0 0xe6055000 0 0x50>;
281 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
282 #gpio-cells = <2>;
283 gpio-controller;
284 gpio-ranges = <&pfc 0 160 26>;
285 #interrupt-cells = <2>;
286 interrupt-controller;
287 clocks = <&cpg CPG_MOD 907>;
288 power-domains = <&sysc 32>;
289 resets = <&cpg 907>;
290 };
291
292 gpio6: gpio@e6055400 {
293 compatible = "renesas,gpio-r8a77965",
294 "renesas,rcar-gen3-gpio";
295 reg = <0 0xe6055400 0 0x50>;
296 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
297 #gpio-cells = <2>;
298 gpio-controller;
299 gpio-ranges = <&pfc 0 192 32>;
300 #interrupt-cells = <2>;
301 interrupt-controller;
302 clocks = <&cpg CPG_MOD 906>;
303 power-domains = <&sysc 32>;
304 resets = <&cpg 906>;
305 };
306
307 gpio7: gpio@e6055800 {
308 compatible = "renesas,gpio-r8a77965",
309 "renesas,rcar-gen3-gpio";
310 reg = <0 0xe6055800 0 0x50>;
311 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
312 #gpio-cells = <2>;
313 gpio-controller;
314 gpio-ranges = <&pfc 0 224 4>;
315 #interrupt-cells = <2>;
316 interrupt-controller;
317 clocks = <&cpg CPG_MOD 905>;
318 power-domains = <&sysc 32>;
319 resets = <&cpg 905>;
320 };
321
322 intc_ex: interrupt-controller@e61c0000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200323 compatible = "renesas,intc-ex-r8a77965", "renesas,irqc";
324 #interrupt-cells = <2>;
325 interrupt-controller;
326 reg = <0 0xe61c0000 0 0x200>;
327 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH
328 GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH
329 GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH
330 GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH
331 GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH
332 GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
333 clocks = <&cpg CPG_MOD 407>;
334 power-domains = <&sysc 32>;
335 resets = <&cpg 407>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100336 };
337
338 dmac0: dma-controller@e6700000 {
339 compatible = "renesas,dmac-r8a77965",
340 "renesas,rcar-dmac";
341 reg = <0 0xe6700000 0 0x10000>;
342 interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH
343 GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH
344 GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH
345 GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH
346 GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH
347 GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH
348 GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH
349 GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH
350 GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH
351 GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH
352 GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH
353 GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH
354 GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH
355 GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH
356 GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH
357 GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH
358 GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
359 interrupt-names = "error",
360 "ch0", "ch1", "ch2", "ch3",
361 "ch4", "ch5", "ch6", "ch7",
362 "ch8", "ch9", "ch10", "ch11",
363 "ch12", "ch13", "ch14", "ch15";
364 clocks = <&cpg CPG_MOD 219>;
365 clock-names = "fck";
366 power-domains = <&sysc 32>;
367 resets = <&cpg 219>;
368 #dma-cells = <1>;
369 dma-channels = <16>;
370 };
371
372 dmac1: dma-controller@e7300000 {
373 compatible = "renesas,dmac-r8a77965",
374 "renesas,rcar-dmac";
375 reg = <0 0xe7300000 0 0x10000>;
376 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
377 GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
378 GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
379 GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
380 GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
381 GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
382 GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
383 GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
384 GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
385 GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
386 GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
387 GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
388 GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
389 GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
390 GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
391 GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
392 GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>;
393 interrupt-names = "error",
394 "ch0", "ch1", "ch2", "ch3",
395 "ch4", "ch5", "ch6", "ch7",
396 "ch8", "ch9", "ch10", "ch11",
397 "ch12", "ch13", "ch14", "ch15";
398 clocks = <&cpg CPG_MOD 218>;
399 clock-names = "fck";
400 power-domains = <&sysc 32>;
401 resets = <&cpg 218>;
402 #dma-cells = <1>;
403 dma-channels = <16>;
404 };
405
406 dmac2: dma-controller@e7310000 {
407 compatible = "renesas,dmac-r8a77965",
408 "renesas,rcar-dmac";
409 reg = <0 0xe7310000 0 0x10000>;
410 interrupts = <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH
411 GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH
412 GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH
413 GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH
414 GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH
415 GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH
416 GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH
417 GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH
418 GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH
419 GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH
420 GIC_SPI 426 IRQ_TYPE_LEVEL_HIGH
421 GIC_SPI 427 IRQ_TYPE_LEVEL_HIGH
422 GIC_SPI 428 IRQ_TYPE_LEVEL_HIGH
423 GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH
424 GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH
425 GIC_SPI 431 IRQ_TYPE_LEVEL_HIGH
426 GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>;
427 interrupt-names = "error",
428 "ch0", "ch1", "ch2", "ch3",
429 "ch4", "ch5", "ch6", "ch7",
430 "ch8", "ch9", "ch10", "ch11",
431 "ch12", "ch13", "ch14", "ch15";
432 clocks = <&cpg CPG_MOD 217>;
433 clock-names = "fck";
434 power-domains = <&sysc 32>;
435 resets = <&cpg 217>;
436 #dma-cells = <1>;
437 dma-channels = <16>;
438 };
439
440 scif0: serial@e6e60000 {
441 compatible = "renesas,scif-r8a77965",
442 "renesas,rcar-gen3-scif", "renesas,scif";
443 reg = <0 0xe6e60000 0 64>;
444 interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
445 clocks = <&cpg CPG_MOD 207>,
446 <&cpg CPG_CORE 20>,
447 <&scif_clk>;
448 clock-names = "fck", "brg_int", "scif_clk";
449 dmas = <&dmac1 0x51>, <&dmac1 0x50>,
450 <&dmac2 0x51>, <&dmac2 0x50>;
451 dma-names = "tx", "rx", "tx", "rx";
452 power-domains = <&sysc 32>;
453 resets = <&cpg 207>;
454 status = "disabled";
455 };
456
457 scif1: serial@e6e68000 {
458 compatible = "renesas,scif-r8a77965",
459 "renesas,rcar-gen3-scif", "renesas,scif";
460 reg = <0 0xe6e68000 0 64>;
461 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
462 clocks = <&cpg CPG_MOD 206>,
463 <&cpg CPG_CORE 20>,
464 <&scif_clk>;
465 clock-names = "fck", "brg_int", "scif_clk";
466 dmas = <&dmac1 0x53>, <&dmac1 0x52>,
467 <&dmac2 0x53>, <&dmac2 0x52>;
468 dma-names = "tx", "rx", "tx", "rx";
469 power-domains = <&sysc 32>;
470 resets = <&cpg 206>;
471 status = "disabled";
472 };
473
474 scif2: serial@e6e88000 {
475 compatible = "renesas,scif-r8a77965",
476 "renesas,rcar-gen3-scif", "renesas,scif";
477 reg = <0 0xe6e88000 0 64>;
478 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
479 clocks = <&cpg CPG_MOD 310>,
480 <&cpg CPG_CORE 20>,
481 <&scif_clk>;
482 clock-names = "fck", "brg_int", "scif_clk";
483 power-domains = <&sysc 32>;
484 resets = <&cpg 310>;
485 status = "disabled";
486 };
487
488 scif3: serial@e6c50000 {
489 compatible = "renesas,scif-r8a77965",
490 "renesas,rcar-gen3-scif", "renesas,scif";
491 reg = <0 0xe6c50000 0 64>;
492 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
493 clocks = <&cpg CPG_MOD 204>,
494 <&cpg CPG_CORE 20>,
495 <&scif_clk>;
496 clock-names = "fck", "brg_int", "scif_clk";
497 dmas = <&dmac0 0x57>, <&dmac0 0x56>;
498 dma-names = "tx", "rx";
499 power-domains = <&sysc 32>;
500 resets = <&cpg 204>;
501 status = "disabled";
502 };
503
504 scif4: serial@e6c40000 {
505 compatible = "renesas,scif-r8a77965",
506 "renesas,rcar-gen3-scif", "renesas,scif";
507 reg = <0 0xe6c40000 0 64>;
508 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
509 clocks = <&cpg CPG_MOD 203>,
510 <&cpg CPG_CORE 20>,
511 <&scif_clk>;
512 clock-names = "fck", "brg_int", "scif_clk";
513 dmas = <&dmac0 0x59>, <&dmac0 0x58>;
514 dma-names = "tx", "rx";
515 power-domains = <&sysc 32>;
516 resets = <&cpg 203>;
517 status = "disabled";
518 };
519
520 scif5: serial@e6f30000 {
521 compatible = "renesas,scif-r8a77965",
522 "renesas,rcar-gen3-scif", "renesas,scif";
523 reg = <0 0xe6f30000 0 64>;
524 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
525 clocks = <&cpg CPG_MOD 202>,
526 <&cpg CPG_CORE 20>,
527 <&scif_clk>;
528 clock-names = "fck", "brg_int", "scif_clk";
529 dmas = <&dmac1 0x5b>, <&dmac1 0x5a>,
530 <&dmac2 0x5b>, <&dmac2 0x5a>;
531 dma-names = "tx", "rx", "tx", "rx";
532 power-domains = <&sysc 32>;
533 resets = <&cpg 202>;
534 status = "disabled";
535 };
536
537 avb: ethernet@e6800000 {
Marek Vasutbeb84f92018-03-01 21:50:56 +0100538 compatible = "renesas,etheravb-r8a77965",
539 "renesas,etheravb-rcar-gen3";
540 reg = <0 0xe6800000 0 0x800>, <0 0xe6a00000 0 0x10000>;
Marek Vasut2519a292018-06-06 20:03:30 +0200541 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
542 <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
543 <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
544 <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
545 <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
546 <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
547 <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
548 <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
549 <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
550 <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
551 <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
552 <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
553 <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
554 <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
555 <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
556 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
557 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
558 <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
559 <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
560 <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
561 <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
562 <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
563 <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
564 <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
565 <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
566 interrupt-names = "ch0", "ch1", "ch2", "ch3",
567 "ch4", "ch5", "ch6", "ch7",
568 "ch8", "ch9", "ch10", "ch11",
569 "ch12", "ch13", "ch14", "ch15",
570 "ch16", "ch17", "ch18", "ch19",
571 "ch20", "ch21", "ch22", "ch23",
572 "ch24";
Marek Vasutbeb84f92018-03-01 21:50:56 +0100573 clocks = <&cpg CPG_MOD 812>;
574 power-domains = <&sysc 32>;
575 resets = <&cpg 812>;
Marek Vasut2519a292018-06-06 20:03:30 +0200576 phy-mode = "rgmii";
Marek Vasutbeb84f92018-03-01 21:50:56 +0100577 #address-cells = <1>;
578 #size-cells = <0>;
579 status = "disabled";
Marek Vasut50e031e2018-02-26 10:35:15 +0100580 };
581
582 csi20: csi2@fea80000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200583 reg = <0 0xfea80000 0 0x10000>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100584 /* placeholder */
Marek Vasut2519a292018-06-06 20:03:30 +0200585
586 ports {
587 #address-cells = <1>;
588 #size-cells = <0>;
589 };
Marek Vasut50e031e2018-02-26 10:35:15 +0100590 };
591
592 csi40: csi2@feaa0000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200593 reg = <0 0xfeaa0000 0 0x10000>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100594 /* placeholder */
Marek Vasut2519a292018-06-06 20:03:30 +0200595
596 ports {
597 #address-cells = <1>;
598 #size-cells = <0>;
599 };
Marek Vasut50e031e2018-02-26 10:35:15 +0100600 };
601
602 vin0: video@e6ef0000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200603 reg = <0 0xe6ef0000 0 0x1000>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100604 /* placeholder */
605 };
606
607 vin1: video@e6ef1000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200608 reg = <0 0xe6ef1000 0 0x1000>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100609 /* placeholder */
610 };
611
612 vin2: video@e6ef2000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200613 reg = <0 0xe6ef2000 0 0x1000>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100614 /* placeholder */
615 };
616
617 vin3: video@e6ef3000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200618 reg = <0 0xe6ef3000 0 0x1000>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100619 /* placeholder */
620 };
621
622 vin4: video@e6ef4000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200623 reg = <0 0xe6ef4000 0 0x1000>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100624 /* placeholder */
625 };
626
627 vin5: video@e6ef5000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200628 reg = <0 0xe6ef5000 0 0x1000>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100629 /* placeholder */
630 };
631
632 vin6: video@e6ef6000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200633 reg = <0 0xe6ef6000 0 0x1000>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100634 /* placeholder */
635 };
636
637 vin7: video@e6ef7000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200638 reg = <0 0xe6ef7000 0 0x1000>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100639 /* placeholder */
640 };
641
642 ohci0: usb@ee080000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200643 reg = <0 0xee080000 0 0x100>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100644 /* placeholder */
645 };
646
647 ehci0: usb@ee080100 {
Marek Vasutcce09d22018-03-01 21:51:05 +0100648 compatible = "generic-ehci";
649 reg = <0 0xee080100 0 0x100>;
650 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
651 clocks = <&cpg CPG_MOD 703>;
652 phys = <&usb2_phy0>;
653 phy-names = "usb";
654 companion= <&ohci0>;
655 power-domains = <&sysc 32>;
656 resets = <&cpg 703>;
657 status = "disabled";
Marek Vasut50e031e2018-02-26 10:35:15 +0100658 };
659
660 usb2_phy0: usb-phy@ee080200 {
Marek Vasutcce09d22018-03-01 21:51:05 +0100661 compatible = "renesas,usb2-phy-r8a77965",
662 "renesas,rcar-gen3-usb2-phy";
663 reg = <0 0xee080200 0 0x700>;
664 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
665 clocks = <&cpg CPG_MOD 703>;
666 power-domains = <&sysc 32>;
667 resets = <&cpg 703>;
668 #phy-cells = <0>;
669 status = "disabled";
Marek Vasut50e031e2018-02-26 10:35:15 +0100670 };
671
672 ohci1: usb@ee0a0000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200673 reg = <0 0xee0a0000 0 0x100>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100674 /* placeholder */
675 };
676
677 ehci1: usb@ee0a0100 {
Marek Vasutcce09d22018-03-01 21:51:05 +0100678 compatible = "generic-ehci";
679 reg = <0 0xee0a0100 0 0x100>;
680 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
681 clocks = <&cpg CPG_MOD 702>;
682 phys = <&usb2_phy1>;
683 phy-names = "usb";
684 companion= <&ohci1>;
685 power-domains = <&sysc 32>;
686 resets = <&cpg 702>;
687 status = "disabled";
Marek Vasut50e031e2018-02-26 10:35:15 +0100688 };
689
690 i2c0: i2c@e6500000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200691 reg = <0 0xe6500000 0 0x40>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100692 /* placeholder */
693 };
694
695 i2c1: i2c@e6508000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200696 reg = <0 0xe6508000 0 0x40>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100697 /* placeholder */
698 };
699
700 i2c2: i2c@e6510000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200701 #address-cells = <1>;
702 #size-cells = <0>;
703
704 reg = <0 0xe6510000 0 0x40>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100705 /* placeholder */
706 };
707
708 i2c3: i2c@e66d0000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200709 reg = <0 0xe66d0000 0 0x40>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100710 /* placeholder */
711 };
712
713 i2c4: i2c@e66d8000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200714 #address-cells = <1>;
715 #size-cells = <0>;
716
717 reg = <0 0xe66d8000 0 0x40>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100718 /* placeholder */
719 };
720
721 i2c5: i2c@e66e0000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200722 reg = <0 0xe66e0000 0 0x40>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100723 /* placeholder */
724 };
725
726 i2c6: i2c@e66e8000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200727 reg = <0 0xe66e8000 0 0x40>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100728 /* placeholder */
729 };
730
731 i2c_dvfs: i2c@e60b0000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200732 #address-cells = <1>;
733 #size-cells = <0>;
734 compatible = "renesas,iic-r8a77965",
735 "renesas,rcar-gen3-iic",
736 "renesas,rmobile-iic";
737 reg = <0 0xe60b0000 0 0x425>;
738 interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
739 clocks = <&cpg CPG_MOD 926>;
740 power-domains = <&sysc 32>;
741 resets = <&cpg 926>;
742 dmas = <&dmac0 0x11>, <&dmac0 0x10>;
743 dma-names = "tx", "rx";
744 status = "disabled";
Marek Vasut50e031e2018-02-26 10:35:15 +0100745 };
746
747 pwm0: pwm@e6e30000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200748 reg = <0 0xe6e30000 0 8>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100749 /* placeholder */
750 };
751
752 pwm1: pwm@e6e31000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200753 reg = <0 0xe6e31000 0 8>;
754 #pwm-cells = <2>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100755 /* placeholder */
756 };
757
758 pwm2: pwm@e6e32000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200759 reg = <0 0xe6e32000 0 8>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100760 /* placeholder */
761 };
762
763 pwm3: pwm@e6e33000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200764 reg = <0 0xe6e33000 0 8>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100765 /* placeholder */
766 };
767
768 pwm4: pwm@e6e34000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200769 reg = <0 0xe6e34000 0 8>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100770 /* placeholder */
771 };
772
773 pwm5: pwm@e6e35000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200774 reg = <0 0xe6e35000 0 8>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100775 /* placeholder */
776 };
777
778 pwm6: pwm@e6e36000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200779 reg = <0 0xe6e36000 0 8>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100780 /* placeholder */
781 };
782
783 du: display@feb00000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200784 reg = <0 0xfeb00000 0 0x80000>,
785 <0 0xfeb90000 0 0x14>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100786 /* placeholder */
787
788 ports {
Marek Vasut2519a292018-06-06 20:03:30 +0200789 #address-cells = <1>;
790 #size-cells = <0>;
791
Marek Vasut50e031e2018-02-26 10:35:15 +0100792 port@0 {
793 reg = <0>;
794 du_out_rgb: endpoint {
795 };
796 };
797 port@1 {
798 reg = <1>;
799 du_out_hdmi0: endpoint {
800 };
801 };
802 port@2 {
803 reg = <2>;
804 du_out_lvds0: endpoint {
805 };
806 };
807 };
808 };
809
810 hsusb: usb@e6590000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200811 reg = <0 0xe6590000 0 0x100>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100812 /* placeholder */
813 };
814
815 pciec0: pcie@fe000000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200816 reg = <0 0xfe000000 0 0x80000>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100817 /* placeholder */
818 };
819
820 pciec1: pcie@ee800000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200821 reg = <0 0xee800000 0 0x80000>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100822 /* placeholder */
823 };
824
825 rcar_sound: sound@ec500000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200826 reg = <0 0xec500000 0 0x1000>, /* SCU */
827 <0 0xec5a0000 0 0x100>, /* ADG */
828 <0 0xec540000 0 0x1000>, /* SSIU */
829 <0 0xec541000 0 0x280>, /* SSI */
830 <0 0xec740000 0 0x200>; /* Audio DMAC peri peri*/
Marek Vasut50e031e2018-02-26 10:35:15 +0100831 /* placeholder */
832
833 rcar_sound,dvc {
834 dvc0: dvc-0 {
835 };
836 dvc1: dvc-1 {
837 };
838 };
839
840 rcar_sound,src {
841 src0: src-0 {
842 };
843 src1: src-1 {
844 };
845 };
846
847 rcar_sound,ssi {
848 ssi0: ssi-0 {
849 };
850 ssi1: ssi-1 {
851 };
852 };
853 };
854
855 usb2_phy1: usb-phy@ee0a0200 {
Marek Vasutcce09d22018-03-01 21:51:05 +0100856 compatible = "renesas,usb2-phy-r8a77965",
857 "renesas,rcar-gen3-usb2-phy";
858 reg = <0 0xee0a0200 0 0x700>;
859 clocks = <&cpg CPG_MOD 702>;
860 power-domains = <&sysc 32>;
861 resets = <&cpg 702>;
862 #phy-cells = <0>;
863 status = "disabled";
Marek Vasut50e031e2018-02-26 10:35:15 +0100864 };
865
Marek Vasut93365ef2017-07-29 21:28:34 +0200866 rpc: rpc@0xee200000 {
867 compatible = "renesas,rpc-r8a77965", "renesas,rpc";
868 reg = <0 0xee200000 0 0x100>, <0 0x08000000 0 0>;
869 clocks = <&cpg CPG_MOD 917>;
870 bank-width = <2>;
871 status = "disabled";
872 };
873
Marek Vasut50e031e2018-02-26 10:35:15 +0100874 sdhi0: sd@ee100000 {
Marek Vasut89fcfd12018-03-01 21:52:19 +0100875 compatible = "renesas,sdhi-r8a77965";
876 reg = <0 0xee100000 0 0x2000>;
877 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
878 clocks = <&cpg CPG_MOD 314>;
879 max-frequency = <200000000>;
880 power-domains = <&sysc 32>;
881 resets = <&cpg 314>;
882 status = "disabled";
Marek Vasut50e031e2018-02-26 10:35:15 +0100883 };
884
885 sdhi1: sd@ee120000 {
Marek Vasut89fcfd12018-03-01 21:52:19 +0100886 compatible = "renesas,sdhi-r8a77965";
887 reg = <0 0xee120000 0 0x2000>;
888 interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
889 clocks = <&cpg CPG_MOD 313>;
890 max-frequency = <200000000>;
891 power-domains = <&sysc 32>;
892 resets = <&cpg 313>;
893 status = "disabled";
Marek Vasut50e031e2018-02-26 10:35:15 +0100894 };
895
896 sdhi2: sd@ee140000 {
Marek Vasut89fcfd12018-03-01 21:52:19 +0100897 compatible = "renesas,sdhi-r8a77965";
898 reg = <0 0xee140000 0 0x2000>;
899 interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
900 clocks = <&cpg CPG_MOD 312>;
901 max-frequency = <200000000>;
902 power-domains = <&sysc 32>;
903 resets = <&cpg 312>;
904 status = "disabled";
Marek Vasut50e031e2018-02-26 10:35:15 +0100905 };
906
907 sdhi3: sd@ee160000 {
Marek Vasut89fcfd12018-03-01 21:52:19 +0100908 compatible = "renesas,sdhi-r8a77965";
909 reg = <0 0xee160000 0 0x2000>;
910 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
911 clocks = <&cpg CPG_MOD 311>;
912 max-frequency = <200000000>;
913 power-domains = <&sysc 32>;
914 resets = <&cpg 311>;
915 status = "disabled";
Marek Vasut50e031e2018-02-26 10:35:15 +0100916 };
917
918 usb3_phy0: usb-phy@e65ee000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200919 reg = <0 0xe65ee000 0 0x90>;
920 #phy-cells = <0>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100921 /* placeholder */
922 };
923
924 usb3_peri0: usb@ee020000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200925 reg = <0 0xee020000 0 0x400>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100926 /* placeholder */
927 };
928
929 xhci0: usb@ee000000 {
Marek Vasut46103432018-03-01 21:51:11 +0100930 compatible = "renesas,xhci-r8a77965",
931 "renesas,rcar-gen3-xhci";
932 reg = <0 0xee000000 0 0xc00>;
933 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
934 clocks = <&cpg CPG_MOD 328>;
935 power-domains = <&sysc 32>;
936 resets = <&cpg 328>;
937 status = "disabled";
Marek Vasut50e031e2018-02-26 10:35:15 +0100938 };
939
940 wdt0: watchdog@e6020000 {
Marek Vasut2519a292018-06-06 20:03:30 +0200941 reg = <0 0xe6020000 0 0x0c>;
Marek Vasut50e031e2018-02-26 10:35:15 +0100942 /* placeholder */
943 };
944 };
945};