blob: 87187f26606665e27ea170887a6bc26f7b58ca25 [file] [log] [blame]
Biju Dasd83010f2018-11-30 15:26:16 +00001// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for the r8a7744 SoC
4 *
5 * Copyright (C) 2018 Renesas Electronics Corp.
6 */
7
8#include <dt-bindings/interrupt-controller/irq.h>
9#include <dt-bindings/interrupt-controller/arm-gic.h>
10#include <dt-bindings/clock/r8a7744-cpg-mssr.h>
11#include <dt-bindings/power/r8a7744-sysc.h>
12
13/ {
14 compatible = "renesas,r8a7744";
15 #address-cells = <2>;
16 #size-cells = <2>;
17
18 /*
19 * The external audio clocks are configured as 0 Hz fixed frequency
20 * clocks by default.
21 * Boards that provide audio clocks should override them.
22 */
23 audio_clk_a: audio_clk_a {
24 compatible = "fixed-clock";
25 #clock-cells = <0>;
26 clock-frequency = <0>;
27 };
28
29 audio_clk_b: audio_clk_b {
30 compatible = "fixed-clock";
31 #clock-cells = <0>;
32 clock-frequency = <0>;
33 };
34
35 audio_clk_c: audio_clk_c {
36 compatible = "fixed-clock";
37 #clock-cells = <0>;
38 clock-frequency = <0>;
39 };
40
41 /* External CAN clock */
42 can_clk: can {
43 compatible = "fixed-clock";
44 #clock-cells = <0>;
45 /* This value must be overridden by the board. */
46 clock-frequency = <0>;
47 };
48
49 cpus {
50 #address-cells = <1>;
51 #size-cells = <0>;
Biju Dasf1546da2018-11-30 15:26:21 +000052 enable-method = "renesas,apmu";
Biju Dasd83010f2018-11-30 15:26:16 +000053
54 cpu0: cpu@0 {
55 device_type = "cpu";
56 compatible = "arm,cortex-a15";
57 reg = <0>;
58 clock-frequency = <1500000000>;
59 clocks = <&cpg CPG_CORE R8A7744_CLK_Z>;
60 clock-latency = <300000>; /* 300 us */
61 power-domains = <&sysc R8A7744_PD_CA15_CPU0>;
62 next-level-cache = <&L2_CA15>;
63
64 /* kHz - uV - OPPs unknown yet */
65 operating-points = <1500000 1000000>,
66 <1312500 1000000>,
67 <1125000 1000000>,
68 < 937500 1000000>,
69 < 750000 1000000>,
70 < 375000 1000000>;
71 };
72
Biju Dasf1546da2018-11-30 15:26:21 +000073 cpu1: cpu@1 {
74 device_type = "cpu";
75 compatible = "arm,cortex-a15";
76 reg = <1>;
77 clock-frequency = <1500000000>;
78 clocks = <&cpg CPG_CORE R8A7744_CLK_Z>;
79 clock-latency = <300000>; /* 300 us */
80 power-domains = <&sysc R8A7744_PD_CA15_CPU1>;
81 next-level-cache = <&L2_CA15>;
82
83 /* kHz - uV - OPPs unknown yet */
84 operating-points = <1500000 1000000>,
85 <1312500 1000000>,
86 <1125000 1000000>,
87 < 937500 1000000>,
88 < 750000 1000000>,
89 < 375000 1000000>;
90 };
91
Biju Dasd83010f2018-11-30 15:26:16 +000092 L2_CA15: cache-controller-0 {
93 compatible = "cache";
94 cache-unified;
95 cache-level = <2>;
96 power-domains = <&sysc R8A7744_PD_CA15_SCU>;
97 };
98 };
99
100 /* External root clock */
101 extal_clk: extal {
102 compatible = "fixed-clock";
103 #clock-cells = <0>;
104 /* This value must be overridden by the board. */
105 clock-frequency = <0>;
106 };
107
108 /* External PCIe clock - can be overridden by the board */
109 pcie_bus_clk: pcie_bus {
110 compatible = "fixed-clock";
111 #clock-cells = <0>;
112 clock-frequency = <0>;
113 };
114
115 pmu {
116 compatible = "arm,cortex-a15-pmu";
117 interrupts-extended = <&gic GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
118 <&gic GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
Biju Dasf1546da2018-11-30 15:26:21 +0000119 interrupt-affinity = <&cpu0>, <&cpu1>;
Biju Dasd83010f2018-11-30 15:26:16 +0000120 };
121
122 /* External SCIF clock */
123 scif_clk: scif {
124 compatible = "fixed-clock";
125 #clock-cells = <0>;
126 /* This value must be overridden by the board. */
127 clock-frequency = <0>;
128 };
129
130 soc {
131 compatible = "simple-bus";
132 interrupt-parent = <&gic>;
133
134 #address-cells = <2>;
135 #size-cells = <2>;
136 ranges;
137
Biju Das336a4252018-11-30 15:26:30 +0000138 rwdt: watchdog@e6020000 {
139 compatible = "renesas,r8a7744-wdt",
140 "renesas,rcar-gen2-wdt";
141 reg = <0 0xe6020000 0 0x0c>;
142 clocks = <&cpg CPG_MOD 402>;
143 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
144 resets = <&cpg 402>;
145 status = "disabled";
146 };
147
Biju Dasd83010f2018-11-30 15:26:16 +0000148 gpio0: gpio@e6050000 {
Biju Das78ce1552018-11-30 15:26:19 +0000149 compatible = "renesas,gpio-r8a7744",
150 "renesas,rcar-gen2-gpio";
Biju Dasd83010f2018-11-30 15:26:16 +0000151 reg = <0 0xe6050000 0 0x50>;
Biju Das78ce1552018-11-30 15:26:19 +0000152 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
Biju Dasd83010f2018-11-30 15:26:16 +0000153 #gpio-cells = <2>;
Biju Das78ce1552018-11-30 15:26:19 +0000154 gpio-controller;
155 gpio-ranges = <&pfc 0 0 32>;
Biju Dasd83010f2018-11-30 15:26:16 +0000156 #interrupt-cells = <2>;
157 interrupt-controller;
Biju Das78ce1552018-11-30 15:26:19 +0000158 clocks = <&cpg CPG_MOD 912>;
159 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
160 resets = <&cpg 912>;
Biju Dasd83010f2018-11-30 15:26:16 +0000161 };
162
163 gpio1: gpio@e6051000 {
Biju Das78ce1552018-11-30 15:26:19 +0000164 compatible = "renesas,gpio-r8a7744",
165 "renesas,rcar-gen2-gpio";
Biju Dasd83010f2018-11-30 15:26:16 +0000166 reg = <0 0xe6051000 0 0x50>;
Biju Das78ce1552018-11-30 15:26:19 +0000167 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
Biju Dasd83010f2018-11-30 15:26:16 +0000168 #gpio-cells = <2>;
Biju Das78ce1552018-11-30 15:26:19 +0000169 gpio-controller;
170 gpio-ranges = <&pfc 0 32 26>;
171 #interrupt-cells = <2>;
172 interrupt-controller;
173 clocks = <&cpg CPG_MOD 911>;
174 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
175 resets = <&cpg 911>;
Biju Dasd83010f2018-11-30 15:26:16 +0000176 };
177
178 gpio2: gpio@e6052000 {
Biju Das78ce1552018-11-30 15:26:19 +0000179 compatible = "renesas,gpio-r8a7744",
180 "renesas,rcar-gen2-gpio";
Biju Dasd83010f2018-11-30 15:26:16 +0000181 reg = <0 0xe6052000 0 0x50>;
Biju Das78ce1552018-11-30 15:26:19 +0000182 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Biju Dasd83010f2018-11-30 15:26:16 +0000183 #gpio-cells = <2>;
Biju Das78ce1552018-11-30 15:26:19 +0000184 gpio-controller;
185 gpio-ranges = <&pfc 0 64 32>;
186 #interrupt-cells = <2>;
187 interrupt-controller;
188 clocks = <&cpg CPG_MOD 910>;
189 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
190 resets = <&cpg 910>;
191 };
192
193 gpio3: gpio@e6053000 {
194 compatible = "renesas,gpio-r8a7744",
195 "renesas,rcar-gen2-gpio";
196 reg = <0 0xe6053000 0 0x50>;
197 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
198 #gpio-cells = <2>;
199 gpio-controller;
200 gpio-ranges = <&pfc 0 96 32>;
201 #interrupt-cells = <2>;
202 interrupt-controller;
203 clocks = <&cpg CPG_MOD 909>;
204 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
205 resets = <&cpg 909>;
206 };
207
208 gpio4: gpio@e6054000 {
209 compatible = "renesas,gpio-r8a7744",
210 "renesas,rcar-gen2-gpio";
211 reg = <0 0xe6054000 0 0x50>;
212 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
213 #gpio-cells = <2>;
214 gpio-controller;
215 gpio-ranges = <&pfc 0 128 32>;
216 #interrupt-cells = <2>;
217 interrupt-controller;
218 clocks = <&cpg CPG_MOD 908>;
219 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
220 resets = <&cpg 908>;
221 };
222
223 gpio5: gpio@e6055000 {
224 compatible = "renesas,gpio-r8a7744",
225 "renesas,rcar-gen2-gpio";
226 reg = <0 0xe6055000 0 0x50>;
227 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
228 #gpio-cells = <2>;
229 gpio-controller;
230 gpio-ranges = <&pfc 0 160 32>;
231 #interrupt-cells = <2>;
232 interrupt-controller;
233 clocks = <&cpg CPG_MOD 907>;
234 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
235 resets = <&cpg 907>;
Biju Dasd83010f2018-11-30 15:26:16 +0000236 };
237
238 gpio6: gpio@e6055400 {
Biju Das78ce1552018-11-30 15:26:19 +0000239 compatible = "renesas,gpio-r8a7744",
240 "renesas,rcar-gen2-gpio";
Biju Dasd83010f2018-11-30 15:26:16 +0000241 reg = <0 0xe6055400 0 0x50>;
Biju Das78ce1552018-11-30 15:26:19 +0000242 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
Biju Dasd83010f2018-11-30 15:26:16 +0000243 #gpio-cells = <2>;
Biju Das78ce1552018-11-30 15:26:19 +0000244 gpio-controller;
245 gpio-ranges = <&pfc 0 192 32>;
246 #interrupt-cells = <2>;
247 interrupt-controller;
248 clocks = <&cpg CPG_MOD 905>;
249 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
250 resets = <&cpg 905>;
251 };
252
253 gpio7: gpio@e6055800 {
254 compatible = "renesas,gpio-r8a7744",
255 "renesas,rcar-gen2-gpio";
256 reg = <0 0xe6055800 0 0x50>;
257 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
258 #gpio-cells = <2>;
259 gpio-controller;
260 gpio-ranges = <&pfc 0 224 26>;
261 #interrupt-cells = <2>;
262 interrupt-controller;
263 clocks = <&cpg CPG_MOD 904>;
264 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
265 resets = <&cpg 904>;
Biju Dasd83010f2018-11-30 15:26:16 +0000266 };
267
268 pfc: pin-controller@e6060000 {
269 compatible = "renesas,pfc-r8a7744";
270 reg = <0 0xe6060000 0 0x250>;
271 };
272
273 cpg: clock-controller@e6150000 {
274 compatible = "renesas,r8a7744-cpg-mssr";
275 reg = <0 0xe6150000 0 0x1000>;
276 clocks = <&extal_clk>, <&usb_extal_clk>;
277 clock-names = "extal", "usb_extal";
278 #clock-cells = <2>;
279 #power-domain-cells = <0>;
280 #reset-cells = <1>;
281 };
282
Biju Dasf1546da2018-11-30 15:26:21 +0000283 apmu@e6152000 {
284 compatible = "renesas,r8a7744-apmu", "renesas,apmu";
285 reg = <0 0xe6152000 0 0x188>;
286 cpus = <&cpu0 &cpu1>;
287 };
288
Biju Dasd83010f2018-11-30 15:26:16 +0000289 rst: reset-controller@e6160000 {
290 compatible = "renesas,r8a7744-rst";
291 reg = <0 0xe6160000 0 0x100>;
292 };
293
294 sysc: system-controller@e6180000 {
295 compatible = "renesas,r8a7744-sysc";
296 reg = <0 0xe6180000 0 0x200>;
297 #power-domain-cells = <1>;
298 };
299
300 icram0: sram@e63a0000 {
301 compatible = "mmio-sram";
302 reg = <0 0xe63a0000 0 0x12000>;
303 };
304
305 icram1: sram@e63c0000 {
306 compatible = "mmio-sram";
307 reg = <0 0xe63c0000 0 0x1000>;
308 #address-cells = <1>;
309 #size-cells = <1>;
310 ranges = <0 0 0xe63c0000 0x1000>;
311
312 smp-sram@0 {
313 compatible = "renesas,smp-sram";
314 reg = <0 0x100>;
315 };
316 };
317
318 icram2: sram@e6300000 {
319 compatible = "mmio-sram";
320 reg = <0 0xe6300000 0 0x40000>;
321 };
322
Biju Dasfb64de52018-11-30 15:26:23 +0000323 /* The memory map in the User's Manual maps the cores to
324 * bus numbers
325 */
326 i2c0: i2c@e6508000 {
327 #address-cells = <1>;
328 #size-cells = <0>;
329 compatible = "renesas,i2c-r8a7744",
330 "renesas,rcar-gen2-i2c";
331 reg = <0 0xe6508000 0 0x40>;
332 interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
333 clocks = <&cpg CPG_MOD 931>;
334 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
335 resets = <&cpg 931>;
336 i2c-scl-internal-delay-ns = <6>;
337 status = "disabled";
338 };
339
340 i2c1: i2c@e6518000 {
341 #address-cells = <1>;
342 #size-cells = <0>;
343 compatible = "renesas,i2c-r8a7744",
344 "renesas,rcar-gen2-i2c";
345 reg = <0 0xe6518000 0 0x40>;
346 interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
347 clocks = <&cpg CPG_MOD 930>;
348 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
349 resets = <&cpg 930>;
350 i2c-scl-internal-delay-ns = <6>;
351 status = "disabled";
352 };
353
Biju Dasd83010f2018-11-30 15:26:16 +0000354 i2c2: i2c@e6530000 {
355 #address-cells = <1>;
356 #size-cells = <0>;
Biju Dasfb64de52018-11-30 15:26:23 +0000357 compatible = "renesas,i2c-r8a7744",
358 "renesas,rcar-gen2-i2c";
Biju Dasd83010f2018-11-30 15:26:16 +0000359 reg = <0 0xe6530000 0 0x40>;
Biju Dasfb64de52018-11-30 15:26:23 +0000360 interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
361 clocks = <&cpg CPG_MOD 929>;
362 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
363 resets = <&cpg 929>;
364 i2c-scl-internal-delay-ns = <6>;
365 status = "disabled";
366 };
367
368 i2c3: i2c@e6540000 {
369 #address-cells = <1>;
370 #size-cells = <0>;
371 compatible = "renesas,i2c-r8a7744",
372 "renesas,rcar-gen2-i2c";
373 reg = <0 0xe6540000 0 0x40>;
374 interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
375 clocks = <&cpg CPG_MOD 928>;
376 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
377 resets = <&cpg 928>;
378 i2c-scl-internal-delay-ns = <6>;
379 status = "disabled";
380 };
381
382 i2c4: i2c@e6520000 {
383 #address-cells = <1>;
384 #size-cells = <0>;
385 compatible = "renesas,i2c-r8a7744",
386 "renesas,rcar-gen2-i2c";
387 reg = <0 0xe6520000 0 0x40>;
388 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
389 clocks = <&cpg CPG_MOD 927>;
390 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
391 resets = <&cpg 927>;
392 i2c-scl-internal-delay-ns = <6>;
393 status = "disabled";
Biju Dasd83010f2018-11-30 15:26:16 +0000394 };
395
396 i2c5: i2c@e6528000 {
397 /* doesn't need pinmux */
398 #address-cells = <1>;
399 #size-cells = <0>;
Biju Dasfb64de52018-11-30 15:26:23 +0000400 compatible = "renesas,i2c-r8a7744",
401 "renesas,rcar-gen2-i2c";
Biju Dasd83010f2018-11-30 15:26:16 +0000402 reg = <0 0xe6528000 0 0x40>;
Biju Dasfb64de52018-11-30 15:26:23 +0000403 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
404 clocks = <&cpg CPG_MOD 925>;
405 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
406 resets = <&cpg 925>;
407 i2c-scl-internal-delay-ns = <110>;
408 status = "disabled";
409 };
410
411 iic0: i2c@e6500000 {
412 #address-cells = <1>;
413 #size-cells = <0>;
414 compatible = "renesas,iic-r8a7744",
415 "renesas,rcar-gen2-iic",
416 "renesas,rmobile-iic";
417 reg = <0 0xe6500000 0 0x425>;
418 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
419 clocks = <&cpg CPG_MOD 318>;
420 dmas = <&dmac0 0x61>, <&dmac0 0x62>,
421 <&dmac1 0x61>, <&dmac1 0x62>;
422 dma-names = "tx", "rx", "tx", "rx";
423 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
424 resets = <&cpg 318>;
425 status = "disabled";
426 };
427
428 iic1: i2c@e6510000 {
429 #address-cells = <1>;
430 #size-cells = <0>;
431 compatible = "renesas,iic-r8a7744",
432 "renesas,rcar-gen2-iic",
433 "renesas,rmobile-iic";
434 reg = <0 0xe6510000 0 0x425>;
435 interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
436 clocks = <&cpg CPG_MOD 323>;
437 dmas = <&dmac0 0x65>, <&dmac0 0x66>,
438 <&dmac1 0x65>, <&dmac1 0x66>;
439 dma-names = "tx", "rx", "tx", "rx";
440 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
441 resets = <&cpg 323>;
442 status = "disabled";
443 };
444
445 iic3: i2c@e60b0000 {
446 /* doesn't need pinmux */
447 #address-cells = <1>;
448 #size-cells = <0>;
449 compatible = "renesas,iic-r8a7744";
450 reg = <0 0xe60b0000 0 0x425>;
451 interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
452 clocks = <&cpg CPG_MOD 926>;
453 dmas = <&dmac0 0x77>, <&dmac0 0x78>,
454 <&dmac1 0x77>, <&dmac1 0x78>;
455 dma-names = "tx", "rx", "tx", "rx";
456 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
457 resets = <&cpg 926>;
458 status = "disabled";
Biju Dasd83010f2018-11-30 15:26:16 +0000459 };
460
461 hsusb: usb@e6590000 {
Biju Dasa5d56932018-11-30 15:26:29 +0000462 compatible = "renesas,usbhs-r8a7744",
463 "renesas,rcar-gen2-usbhs";
Biju Dasd83010f2018-11-30 15:26:16 +0000464 reg = <0 0xe6590000 0 0x100>;
Biju Dasa5d56932018-11-30 15:26:29 +0000465 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
466 clocks = <&cpg CPG_MOD 704>;
467 dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
468 <&usb_dmac1 0>, <&usb_dmac1 1>;
469 dma-names = "ch0", "ch1", "ch2", "ch3";
470 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
471 resets = <&cpg 704>;
472 renesas,buswait = <4>;
473 phys = <&usb0 1>;
474 phy-names = "usb";
475 status = "disabled";
Biju Dasd83010f2018-11-30 15:26:16 +0000476 };
477
478 usbphy: usb-phy@e6590100 {
Biju Dasce283962018-11-30 15:26:28 +0000479 compatible = "renesas,usb-phy-r8a7744",
480 "renesas,rcar-gen2-usb-phy";
Biju Dasd83010f2018-11-30 15:26:16 +0000481 reg = <0 0xe6590100 0 0x100>;
Biju Dasce283962018-11-30 15:26:28 +0000482 #address-cells = <1>;
483 #size-cells = <0>;
484 clocks = <&cpg CPG_MOD 704>;
485 clock-names = "usbhs";
486 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
487 resets = <&cpg 704>;
488 status = "disabled";
489
490 usb0: usb-channel@0 {
491 reg = <0>;
492 #phy-cells = <1>;
493 };
494 usb2: usb-channel@2 {
495 reg = <2>;
496 #phy-cells = <1>;
497 };
Biju Dasd83010f2018-11-30 15:26:16 +0000498 };
499
Biju Dasa5d56932018-11-30 15:26:29 +0000500 usb_dmac0: dma-controller@e65a0000 {
501 compatible = "renesas,r8a7744-usb-dmac",
502 "renesas,usb-dmac";
503 reg = <0 0xe65a0000 0 0x100>;
504 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH
505 GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
506 interrupt-names = "ch0", "ch1";
507 clocks = <&cpg CPG_MOD 330>;
508 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
509 resets = <&cpg 330>;
510 #dma-cells = <1>;
511 dma-channels = <2>;
512 };
513
514 usb_dmac1: dma-controller@e65b0000 {
515 compatible = "renesas,r8a7744-usb-dmac",
516 "renesas,usb-dmac";
517 reg = <0 0xe65b0000 0 0x100>;
518 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH
519 GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
520 interrupt-names = "ch0", "ch1";
521 clocks = <&cpg CPG_MOD 331>;
522 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
523 resets = <&cpg 331>;
524 #dma-cells = <1>;
525 dma-channels = <2>;
526 };
527
Biju Das484775a2018-11-30 15:26:18 +0000528 dmac0: dma-controller@e6700000 {
529 compatible = "renesas,dmac-r8a7744",
530 "renesas,rcar-dmac";
531 reg = <0 0xe6700000 0 0x20000>;
532 interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH
533 GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH
534 GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH
535 GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH
536 GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH
537 GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH
538 GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH
539 GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH
540 GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH
541 GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH
542 GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH
543 GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH
544 GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH
545 GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH
546 GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH
547 GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>;
548 interrupt-names = "error",
549 "ch0", "ch1", "ch2", "ch3",
550 "ch4", "ch5", "ch6", "ch7",
551 "ch8", "ch9", "ch10", "ch11",
552 "ch12", "ch13", "ch14";
553 clocks = <&cpg CPG_MOD 219>;
554 clock-names = "fck";
555 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
556 resets = <&cpg 219>;
557 #dma-cells = <1>;
558 dma-channels = <15>;
559 };
560
561 dmac1: dma-controller@e6720000 {
562 compatible = "renesas,dmac-r8a7744",
563 "renesas,rcar-dmac";
564 reg = <0 0xe6720000 0 0x20000>;
565 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
566 GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
567 GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
568 GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
569 GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
570 GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
571 GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
572 GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
573 GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
574 GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
575 GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
576 GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
577 GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
578 GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
579 GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
580 GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>;
581 interrupt-names = "error",
582 "ch0", "ch1", "ch2", "ch3",
583 "ch4", "ch5", "ch6", "ch7",
584 "ch8", "ch9", "ch10", "ch11",
585 "ch12", "ch13", "ch14";
586 clocks = <&cpg CPG_MOD 218>;
587 clock-names = "fck";
588 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
589 resets = <&cpg 218>;
590 #dma-cells = <1>;
591 dma-channels = <15>;
592 };
593
Biju Dasd83010f2018-11-30 15:26:16 +0000594 avb: ethernet@e6800000 {
Biju Dasd94369f2018-11-30 15:26:20 +0000595 compatible = "renesas,etheravb-r8a7744",
596 "renesas,etheravb-rcar-gen2";
Biju Dasd83010f2018-11-30 15:26:16 +0000597 reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>;
Biju Dasd94369f2018-11-30 15:26:20 +0000598 interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
599 clocks = <&cpg CPG_MOD 812>;
600 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
601 resets = <&cpg 812>;
Biju Dasd83010f2018-11-30 15:26:16 +0000602 #address-cells = <1>;
603 #size-cells = <0>;
Biju Dasd94369f2018-11-30 15:26:20 +0000604 status = "disabled";
Biju Dasd83010f2018-11-30 15:26:16 +0000605 };
606
Biju Das28c0cf72018-11-30 15:26:22 +0000607 scifa0: serial@e6c40000 {
608 compatible = "renesas,scifa-r8a7744",
609 "renesas,rcar-gen2-scifa", "renesas,scifa";
610 reg = <0 0xe6c40000 0 0x40>;
611 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
612 clocks = <&cpg CPG_MOD 204>;
613 clock-names = "fck";
614 dmas = <&dmac0 0x21>, <&dmac0 0x22>,
615 <&dmac1 0x21>, <&dmac1 0x22>;
616 dma-names = "tx", "rx", "tx", "rx";
617 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
618 resets = <&cpg 204>;
619 status = "disabled";
620 };
621
622 scifa1: serial@e6c50000 {
623 compatible = "renesas,scifa-r8a7744",
624 "renesas,rcar-gen2-scifa", "renesas,scifa";
625 reg = <0 0xe6c50000 0 0x40>;
626 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
627 clocks = <&cpg CPG_MOD 203>;
628 clock-names = "fck";
629 dmas = <&dmac0 0x25>, <&dmac0 0x26>,
630 <&dmac1 0x25>, <&dmac1 0x26>;
631 dma-names = "tx", "rx", "tx", "rx";
632 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
633 resets = <&cpg 203>;
634 status = "disabled";
635 };
636
637 scifa2: serial@e6c60000 {
638 compatible = "renesas,scifa-r8a7744",
639 "renesas,rcar-gen2-scifa", "renesas,scifa";
640 reg = <0 0xe6c60000 0 0x40>;
641 interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
642 clocks = <&cpg CPG_MOD 202>;
643 clock-names = "fck";
644 dmas = <&dmac0 0x27>, <&dmac0 0x28>,
645 <&dmac1 0x27>, <&dmac1 0x28>;
646 dma-names = "tx", "rx", "tx", "rx";
647 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
648 resets = <&cpg 202>;
649 status = "disabled";
650 };
651
652 scifa3: serial@e6c70000 {
653 compatible = "renesas,scifa-r8a7744",
654 "renesas,rcar-gen2-scifa", "renesas,scifa";
655 reg = <0 0xe6c70000 0 0x40>;
656 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
657 clocks = <&cpg CPG_MOD 1106>;
658 clock-names = "fck";
659 dmas = <&dmac0 0x1b>, <&dmac0 0x1c>,
660 <&dmac1 0x1b>, <&dmac1 0x1c>;
661 dma-names = "tx", "rx", "tx", "rx";
662 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
663 resets = <&cpg 1106>;
664 status = "disabled";
665 };
666
667 scifa4: serial@e6c78000 {
668 compatible = "renesas,scifa-r8a7744",
669 "renesas,rcar-gen2-scifa", "renesas,scifa";
670 reg = <0 0xe6c78000 0 0x40>;
671 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
672 clocks = <&cpg CPG_MOD 1107>;
673 clock-names = "fck";
674 dmas = <&dmac0 0x1f>, <&dmac0 0x20>,
675 <&dmac1 0x1f>, <&dmac1 0x20>;
676 dma-names = "tx", "rx", "tx", "rx";
677 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
678 resets = <&cpg 1107>;
679 status = "disabled";
680 };
681
682 scifa5: serial@e6c80000 {
683 compatible = "renesas,scifa-r8a7744",
684 "renesas,rcar-gen2-scifa", "renesas,scifa";
685 reg = <0 0xe6c80000 0 0x40>;
686 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
687 clocks = <&cpg CPG_MOD 1108>;
688 clock-names = "fck";
689 dmas = <&dmac0 0x23>, <&dmac0 0x24>,
690 <&dmac1 0x23>, <&dmac1 0x24>;
691 dma-names = "tx", "rx", "tx", "rx";
692 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
693 resets = <&cpg 1108>;
694 status = "disabled";
695 };
696
697 scifb0: serial@e6c20000 {
698 compatible = "renesas,scifb-r8a7744",
699 "renesas,rcar-gen2-scifb", "renesas,scifb";
700 reg = <0 0xe6c20000 0 0x100>;
701 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
702 clocks = <&cpg CPG_MOD 206>;
703 clock-names = "fck";
704 dmas = <&dmac0 0x3d>, <&dmac0 0x3e>,
705 <&dmac1 0x3d>, <&dmac1 0x3e>;
706 dma-names = "tx", "rx", "tx", "rx";
707 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
708 resets = <&cpg 206>;
709 status = "disabled";
710 };
711
Biju Dasd83010f2018-11-30 15:26:16 +0000712 scifb1: serial@e6c30000 {
Biju Das28c0cf72018-11-30 15:26:22 +0000713 compatible = "renesas,scifb-r8a7744",
714 "renesas,rcar-gen2-scifb", "renesas,scifb";
Biju Dasd83010f2018-11-30 15:26:16 +0000715 reg = <0 0xe6c30000 0 0x100>;
Biju Das28c0cf72018-11-30 15:26:22 +0000716 interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
717 clocks = <&cpg CPG_MOD 207>;
718 clock-names = "fck";
719 dmas = <&dmac0 0x19>, <&dmac0 0x1a>,
720 <&dmac1 0x19>, <&dmac1 0x1a>;
721 dma-names = "tx", "rx", "tx", "rx";
722 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
723 resets = <&cpg 207>;
724 status = "disabled";
725 };
726
727 scifb2: serial@e6ce0000 {
728 compatible = "renesas,scifb-r8a7744",
729 "renesas,rcar-gen2-scifb", "renesas,scifb";
730 reg = <0 0xe6ce0000 0 0x100>;
731 interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
732 clocks = <&cpg CPG_MOD 216>;
733 clock-names = "fck";
734 dmas = <&dmac0 0x1d>, <&dmac0 0x1e>,
735 <&dmac1 0x1d>, <&dmac1 0x1e>;
736 dma-names = "tx", "rx", "tx", "rx";
737 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
738 resets = <&cpg 216>;
739 status = "disabled";
Biju Dasd83010f2018-11-30 15:26:16 +0000740 };
741
742 scif0: serial@e6e60000 {
743 compatible = "renesas,scif-r8a7744",
744 "renesas,rcar-gen2-scif", "renesas,scif";
745 reg = <0 0xe6e60000 0 0x40>;
746 interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
747 clocks = <&cpg CPG_MOD 721>,
748 <&cpg CPG_CORE R8A7744_CLK_ZS>, <&scif_clk>;
749 clock-names = "fck", "brg_int", "scif_clk";
Biju Das28c0cf72018-11-30 15:26:22 +0000750 dmas = <&dmac0 0x29>, <&dmac0 0x2a>,
751 <&dmac1 0x29>, <&dmac1 0x2a>;
752 dma-names = "tx", "rx", "tx", "rx";
Biju Dasd83010f2018-11-30 15:26:16 +0000753 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
754 resets = <&cpg 721>;
755 status = "disabled";
756 };
757
758 scif1: serial@e6e68000 {
Biju Das28c0cf72018-11-30 15:26:22 +0000759 compatible = "renesas,scif-r8a7744",
760 "renesas,rcar-gen2-scif", "renesas,scif";
Biju Dasd83010f2018-11-30 15:26:16 +0000761 reg = <0 0xe6e68000 0 0x40>;
Biju Das28c0cf72018-11-30 15:26:22 +0000762 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
763 clocks = <&cpg CPG_MOD 720>,
764 <&cpg CPG_CORE R8A7744_CLK_ZS>, <&scif_clk>;
765 clock-names = "fck", "brg_int", "scif_clk";
766 dmas = <&dmac0 0x2d>, <&dmac0 0x2e>,
767 <&dmac1 0x2d>, <&dmac1 0x2e>;
768 dma-names = "tx", "rx", "tx", "rx";
769 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
770 resets = <&cpg 720>;
771 status = "disabled";
772 };
773
774 scif2: serial@e6e58000 {
775 compatible = "renesas,scif-r8a7744",
776 "renesas,rcar-gen2-scif", "renesas,scif";
777 reg = <0 0xe6e58000 0 0x40>;
778 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
779 clocks = <&cpg CPG_MOD 719>,
780 <&cpg CPG_CORE R8A7744_CLK_ZS>, <&scif_clk>;
781 clock-names = "fck", "brg_int", "scif_clk";
782 dmas = <&dmac0 0x2b>, <&dmac0 0x2c>,
783 <&dmac1 0x2b>, <&dmac1 0x2c>;
784 dma-names = "tx", "rx", "tx", "rx";
785 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
786 resets = <&cpg 719>;
787 status = "disabled";
788 };
789
790 scif3: serial@e6ea8000 {
791 compatible = "renesas,scif-r8a7744",
792 "renesas,rcar-gen2-scif", "renesas,scif";
793 reg = <0 0xe6ea8000 0 0x40>;
794 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
795 clocks = <&cpg CPG_MOD 718>,
796 <&cpg CPG_CORE R8A7744_CLK_ZS>, <&scif_clk>;
797 clock-names = "fck", "brg_int", "scif_clk";
798 dmas = <&dmac0 0x2f>, <&dmac0 0x30>,
799 <&dmac1 0x2f>, <&dmac1 0x30>;
800 dma-names = "tx", "rx", "tx", "rx";
801 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
802 resets = <&cpg 718>;
803 status = "disabled";
804 };
805
806 scif4: serial@e6ee0000 {
807 compatible = "renesas,scif-r8a7744",
808 "renesas,rcar-gen2-scif", "renesas,scif";
809 reg = <0 0xe6ee0000 0 0x40>;
810 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
811 clocks = <&cpg CPG_MOD 715>,
812 <&cpg CPG_CORE R8A7744_CLK_ZS>, <&scif_clk>;
813 clock-names = "fck", "brg_int", "scif_clk";
814 dmas = <&dmac0 0xfb>, <&dmac0 0xfc>,
815 <&dmac1 0xfb>, <&dmac1 0xfc>;
816 dma-names = "tx", "rx", "tx", "rx";
817 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
818 resets = <&cpg 715>;
819 status = "disabled";
820 };
821
822 scif5: serial@e6ee8000 {
823 compatible = "renesas,scif-r8a7744",
824 "renesas,rcar-gen2-scif", "renesas,scif";
825 reg = <0 0xe6ee8000 0 0x40>;
826 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
827 clocks = <&cpg CPG_MOD 714>,
828 <&cpg CPG_CORE R8A7744_CLK_ZS>, <&scif_clk>;
829 clock-names = "fck", "brg_int", "scif_clk";
830 dmas = <&dmac0 0xfd>, <&dmac0 0xfe>,
831 <&dmac1 0xfd>, <&dmac1 0xfe>;
832 dma-names = "tx", "rx", "tx", "rx";
833 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
834 resets = <&cpg 714>;
835 status = "disabled";
836 };
837
838 hscif0: serial@e62c0000 {
839 compatible = "renesas,hscif-r8a7744",
840 "renesas,rcar-gen2-hscif", "renesas,hscif";
841 reg = <0 0xe62c0000 0 0x60>;
842 interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
843 clocks = <&cpg CPG_MOD 717>,
844 <&cpg CPG_CORE R8A7744_CLK_ZS>, <&scif_clk>;
845 clock-names = "fck", "brg_int", "scif_clk";
846 dmas = <&dmac0 0x39>, <&dmac0 0x3a>,
847 <&dmac1 0x39>, <&dmac1 0x3a>;
848 dma-names = "tx", "rx", "tx", "rx";
849 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
850 resets = <&cpg 717>;
851 status = "disabled";
Biju Dasd83010f2018-11-30 15:26:16 +0000852 };
853
854 hscif1: serial@e62c8000 {
Biju Das28c0cf72018-11-30 15:26:22 +0000855 compatible = "renesas,hscif-r8a7744",
856 "renesas,rcar-gen2-hscif", "renesas,hscif";
Biju Dasd83010f2018-11-30 15:26:16 +0000857 reg = <0 0xe62c8000 0 0x60>;
Biju Das28c0cf72018-11-30 15:26:22 +0000858 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
859 clocks = <&cpg CPG_MOD 716>,
860 <&cpg CPG_CORE R8A7744_CLK_ZS>, <&scif_clk>;
861 clock-names = "fck", "brg_int", "scif_clk";
862 dmas = <&dmac0 0x4d>, <&dmac0 0x4e>,
863 <&dmac1 0x4d>, <&dmac1 0x4e>;
864 dma-names = "tx", "rx", "tx", "rx";
865 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
866 resets = <&cpg 716>;
867 status = "disabled";
868 };
869
870 hscif2: serial@e62d0000 {
871 compatible = "renesas,hscif-r8a7744",
872 "renesas,rcar-gen2-hscif", "renesas,hscif";
873 reg = <0 0xe62d0000 0 0x60>;
874 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
875 clocks = <&cpg CPG_MOD 713>,
876 <&cpg CPG_CORE R8A7744_CLK_ZS>, <&scif_clk>;
877 clock-names = "fck", "brg_int", "scif_clk";
878 dmas = <&dmac0 0x3b>, <&dmac0 0x3c>,
879 <&dmac1 0x3b>, <&dmac1 0x3c>;
880 dma-names = "tx", "rx", "tx", "rx";
881 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
882 resets = <&cpg 713>;
883 status = "disabled";
Biju Dasd83010f2018-11-30 15:26:16 +0000884 };
885
886 can0: can@e6e80000 {
Biju Das56f18962018-11-30 15:26:32 +0000887 compatible = "renesas,can-r8a7744",
888 "renesas,rcar-gen2-can";
Biju Dasd83010f2018-11-30 15:26:16 +0000889 reg = <0 0xe6e80000 0 0x1000>;
Biju Das56f18962018-11-30 15:26:32 +0000890 interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
891 clocks = <&cpg CPG_MOD 916>,
892 <&cpg CPG_CORE R8A7744_CLK_RCAN>,
893 <&can_clk>;
894 clock-names = "clkp1", "clkp2", "can_clk";
895 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
896 resets = <&cpg 916>;
897 status = "disabled";
Biju Dasd83010f2018-11-30 15:26:16 +0000898 };
899
900 can1: can@e6e88000 {
Biju Das56f18962018-11-30 15:26:32 +0000901 compatible = "renesas,can-r8a7744",
902 "renesas,rcar-gen2-can";
Biju Dasd83010f2018-11-30 15:26:16 +0000903 reg = <0 0xe6e88000 0 0x1000>;
Biju Das56f18962018-11-30 15:26:32 +0000904 interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
905 clocks = <&cpg CPG_MOD 915>,
906 <&cpg CPG_CORE R8A7744_CLK_RCAN>,
907 <&can_clk>;
908 clock-names = "clkp1", "clkp2", "can_clk";
909 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
910 resets = <&cpg 915>;
911 status = "disabled";
Biju Dasd83010f2018-11-30 15:26:16 +0000912 };
913
914 rcar_sound: sound@ec500000 {
Biju Das5133bfed2018-11-30 15:26:31 +0000915 /*
916 * #sound-dai-cells is required
917 *
918 * Single DAI : #sound-dai-cells = <0>; <&rcar_sound>;
919 * Multi DAI : #sound-dai-cells = <1>; <&rcar_sound N>;
920 */
921 compatible = "renesas,rcar_sound-r8a7744",
922 "renesas,rcar_sound-gen2";
923 reg = <0 0xec500000 0 0x1000>, /* SCU */
924 <0 0xec5a0000 0 0x100>, /* ADG */
925 <0 0xec540000 0 0x1000>, /* SSIU */
926 <0 0xec541000 0 0x280>, /* SSI */
927 <0 0xec740000 0 0x200>; /* Audio DMAC peri peri*/
928 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
929
930 clocks = <&cpg CPG_MOD 1005>,
931 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
932 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
933 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
934 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
935 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
936 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
937 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
938 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
939 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
940 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
941 <&cpg CPG_MOD 1021>, <&cpg CPG_MOD 1020>,
942 <&cpg CPG_MOD 1021>, <&cpg CPG_MOD 1020>,
943 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
944 <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>,
945 <&cpg CPG_CORE R8A7744_CLK_M2>;
946 clock-names = "ssi-all",
947 "ssi.9", "ssi.8", "ssi.7", "ssi.6", "ssi.5",
948 "ssi.4", "ssi.3", "ssi.2", "ssi.1", "ssi.0",
949 "src.9", "src.8", "src.7", "src.6", "src.5",
950 "src.4", "src.3", "src.2", "src.1", "src.0",
951 "ctu.0", "ctu.1",
952 "mix.0", "mix.1",
953 "dvc.0", "dvc.1",
954 "clk_a", "clk_b", "clk_c", "clk_i";
955 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
956 resets = <&cpg 1005>,
957 <&cpg 1006>, <&cpg 1007>, <&cpg 1008>, <&cpg 1009>,
958 <&cpg 1010>, <&cpg 1011>, <&cpg 1012>, <&cpg 1013>,
959 <&cpg 1014>, <&cpg 1015>;
960 reset-names = "ssi-all",
961 "ssi.9", "ssi.8", "ssi.7", "ssi.6", "ssi.5",
962 "ssi.4", "ssi.3", "ssi.2", "ssi.1", "ssi.0";
963 status = "disabled";
Biju Dasd83010f2018-11-30 15:26:16 +0000964
965 rcar_sound,dvc {
Biju Das5133bfed2018-11-30 15:26:31 +0000966 dvc0: dvc-0 {
967 dmas = <&audma1 0xbc>;
968 dma-names = "tx";
969 };
970 dvc1: dvc-1 {
971 dmas = <&audma1 0xbe>;
972 dma-names = "tx";
973 };
974 };
975
976 rcar_sound,mix {
977 mix0: mix-0 { };
978 mix1: mix-1 { };
979 };
980
981 rcar_sound,ctu {
982 ctu00: ctu-0 { };
983 ctu01: ctu-1 { };
984 ctu02: ctu-2 { };
985 ctu03: ctu-3 { };
986 ctu10: ctu-4 { };
987 ctu11: ctu-5 { };
988 ctu12: ctu-6 { };
989 ctu13: ctu-7 { };
Biju Dasd83010f2018-11-30 15:26:16 +0000990 };
991
992 rcar_sound,src {
Biju Das5133bfed2018-11-30 15:26:31 +0000993 src0: src-0 {
994 interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
995 dmas = <&audma0 0x85>, <&audma1 0x9a>;
996 dma-names = "rx", "tx";
997 };
998 src1: src-1 {
999 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1000 dmas = <&audma0 0x87>, <&audma1 0x9c>;
1001 dma-names = "rx", "tx";
1002 };
1003 src2: src-2 {
1004 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1005 dmas = <&audma0 0x89>, <&audma1 0x9e>;
1006 dma-names = "rx", "tx";
1007 };
1008 src3: src-3 {
1009 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1010 dmas = <&audma0 0x8b>, <&audma1 0xa0>;
1011 dma-names = "rx", "tx";
1012 };
1013 src4: src-4 {
1014 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1015 dmas = <&audma0 0x8d>, <&audma1 0xb0>;
1016 dma-names = "rx", "tx";
1017 };
1018 src5: src-5 {
1019 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1020 dmas = <&audma0 0x8f>, <&audma1 0xb2>;
1021 dma-names = "rx", "tx";
1022 };
1023 src6: src-6 {
1024 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1025 dmas = <&audma0 0x91>, <&audma1 0xb4>;
1026 dma-names = "rx", "tx";
1027 };
1028 src7: src-7 {
1029 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1030 dmas = <&audma0 0x93>, <&audma1 0xb6>;
1031 dma-names = "rx", "tx";
1032 };
1033 src8: src-8 {
1034 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1035 dmas = <&audma0 0x95>, <&audma1 0xb8>;
1036 dma-names = "rx", "tx";
1037 };
1038 src9: src-9 {
1039 interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
1040 dmas = <&audma0 0x97>, <&audma1 0xba>;
1041 dma-names = "rx", "tx";
1042 };
Biju Dasd83010f2018-11-30 15:26:16 +00001043 };
1044
1045 rcar_sound,ssi {
Biju Das5133bfed2018-11-30 15:26:31 +00001046 ssi0: ssi-0 {
1047 interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
1048 dmas = <&audma0 0x01>, <&audma1 0x02>, <&audma0 0x15>, <&audma1 0x16>;
1049 dma-names = "rx", "tx", "rxu", "txu";
1050 };
1051 ssi1: ssi-1 {
1052 interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
1053 dmas = <&audma0 0x03>, <&audma1 0x04>, <&audma0 0x49>, <&audma1 0x4a>;
1054 dma-names = "rx", "tx", "rxu", "txu";
1055 };
1056 ssi2: ssi-2 {
1057 interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>;
1058 dmas = <&audma0 0x05>, <&audma1 0x06>, <&audma0 0x63>, <&audma1 0x64>;
1059 dma-names = "rx", "tx", "rxu", "txu";
1060 };
1061 ssi3: ssi-3 {
1062 interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
1063 dmas = <&audma0 0x07>, <&audma1 0x08>, <&audma0 0x6f>, <&audma1 0x70>;
1064 dma-names = "rx", "tx", "rxu", "txu";
1065 };
1066 ssi4: ssi-4 {
1067 interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
1068 dmas = <&audma0 0x09>, <&audma1 0x0a>, <&audma0 0x71>, <&audma1 0x72>;
1069 dma-names = "rx", "tx", "rxu", "txu";
1070 };
1071 ssi5: ssi-5 {
1072 interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
1073 dmas = <&audma0 0x0b>, <&audma1 0x0c>, <&audma0 0x73>, <&audma1 0x74>;
1074 dma-names = "rx", "tx", "rxu", "txu";
1075 };
1076 ssi6: ssi-6 {
1077 interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>;
1078 dmas = <&audma0 0x0d>, <&audma1 0x0e>, <&audma0 0x75>, <&audma1 0x76>;
1079 dma-names = "rx", "tx", "rxu", "txu";
1080 };
1081 ssi7: ssi-7 {
1082 interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>;
1083 dmas = <&audma0 0x0f>, <&audma1 0x10>, <&audma0 0x79>, <&audma1 0x7a>;
1084 dma-names = "rx", "tx", "rxu", "txu";
1085 };
1086 ssi8: ssi-8 {
1087 interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>;
1088 dmas = <&audma0 0x11>, <&audma1 0x12>, <&audma0 0x7b>, <&audma1 0x7c>;
1089 dma-names = "rx", "tx", "rxu", "txu";
1090 };
1091 ssi9: ssi-9 {
1092 interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
1093 dmas = <&audma0 0x13>, <&audma1 0x14>, <&audma0 0x7d>, <&audma1 0x7e>;
1094 dma-names = "rx", "tx", "rxu", "txu";
1095 };
Biju Dasd83010f2018-11-30 15:26:16 +00001096 };
Biju Das5133bfed2018-11-30 15:26:31 +00001097 };
1098
1099 audma0: dma-controller@ec700000 {
1100 compatible = "renesas,dmac-r8a7744",
1101 "renesas,rcar-dmac";
1102 reg = <0 0xec700000 0 0x10000>;
1103 interrupts = <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH
1104 GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH
1105 GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH
1106 GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH
1107 GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH
1108 GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH
1109 GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH
1110 GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH
1111 GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH
1112 GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH
1113 GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH
1114 GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH
1115 GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH
1116 GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>;
1117 interrupt-names = "error",
1118 "ch0", "ch1", "ch2", "ch3",
1119 "ch4", "ch5", "ch6", "ch7",
1120 "ch8", "ch9", "ch10", "ch11",
1121 "ch12";
1122 clocks = <&cpg CPG_MOD 502>;
1123 clock-names = "fck";
1124 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
1125 resets = <&cpg 502>;
1126 #dma-cells = <1>;
1127 dma-channels = <13>;
1128 };
1129
1130 audma1: dma-controller@ec720000 {
1131 compatible = "renesas,dmac-r8a7744",
1132 "renesas,rcar-dmac";
1133 reg = <0 0xec720000 0 0x10000>;
1134 interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH
1135 GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH
1136 GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH
1137 GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH
1138 GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH
1139 GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH
1140 GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH
1141 GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH
1142 GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH
1143 GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH
1144 GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH
1145 GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH
1146 GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH
1147 GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>;
1148 interrupt-names = "error",
1149 "ch0", "ch1", "ch2", "ch3",
1150 "ch4", "ch5", "ch6", "ch7",
1151 "ch8", "ch9", "ch10", "ch11",
1152 "ch12";
1153 clocks = <&cpg CPG_MOD 501>;
1154 clock-names = "fck";
1155 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
1156 resets = <&cpg 501>;
1157 #dma-cells = <1>;
1158 dma-channels = <13>;
Biju Dasd83010f2018-11-30 15:26:16 +00001159 };
1160
1161 pci0: pci@ee090000 {
Biju Dasce283962018-11-30 15:26:28 +00001162 compatible = "renesas,pci-r8a7744",
1163 "renesas,pci-rcar-gen2";
1164 device_type = "pci";
1165 reg = <0 0xee090000 0 0xc00>,
1166 <0 0xee080000 0 0x1100>;
1167 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1168 clocks = <&cpg CPG_MOD 703>;
1169 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
1170 resets = <&cpg 703>;
1171 status = "disabled";
Biju Dasd83010f2018-11-30 15:26:16 +00001172
1173 bus-range = <0 0>;
1174 #address-cells = <3>;
1175 #size-cells = <2>;
1176 #interrupt-cells = <1>;
Biju Dasce283962018-11-30 15:26:28 +00001177 ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>;
1178 interrupt-map-mask = <0xff00 0 0 0x7>;
1179 interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH
1180 0x0800 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH
1181 0x1000 0 0 2 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1182
1183 usb@1,0 {
1184 reg = <0x800 0 0 0 0>;
1185 phys = <&usb0 0>;
1186 phy-names = "usb";
1187 };
1188
1189 usb@2,0 {
1190 reg = <0x1000 0 0 0 0>;
1191 phys = <&usb0 0>;
1192 phy-names = "usb";
1193 };
Biju Dasd83010f2018-11-30 15:26:16 +00001194 };
1195
1196 pci1: pci@ee0d0000 {
Biju Dasce283962018-11-30 15:26:28 +00001197 compatible = "renesas,pci-r8a7744",
1198 "renesas,pci-rcar-gen2";
1199 device_type = "pci";
1200 reg = <0 0xee0d0000 0 0xc00>,
1201 <0 0xee0c0000 0 0x1100>;
1202 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
1203 clocks = <&cpg CPG_MOD 703>;
1204 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
1205 resets = <&cpg 703>;
1206 status = "disabled";
Biju Dasd83010f2018-11-30 15:26:16 +00001207
1208 bus-range = <1 1>;
1209 #address-cells = <3>;
1210 #size-cells = <2>;
1211 #interrupt-cells = <1>;
Biju Dasce283962018-11-30 15:26:28 +00001212 ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>;
1213 interrupt-map-mask = <0xff00 0 0 0x7>;
1214 interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH
1215 0x0800 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH
1216 0x1000 0 0 2 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
1217
1218 usb@1,0 {
1219 reg = <0x10800 0 0 0 0>;
1220 phys = <&usb2 0>;
1221 phy-names = "usb";
1222 };
1223
1224 usb@2,0 {
1225 reg = <0x11000 0 0 0 0>;
1226 phys = <&usb2 0>;
1227 phy-names = "usb";
1228 };
Biju Dasd83010f2018-11-30 15:26:16 +00001229 };
1230
Biju Dasb591e322018-11-30 15:26:24 +00001231 sdhi0: sd@ee100000 {
1232 compatible = "renesas,sdhi-r8a7744",
1233 "renesas,rcar-gen2-sdhi";
1234 reg = <0 0xee100000 0 0x328>;
1235 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
1236 clocks = <&cpg CPG_MOD 314>;
1237 dmas = <&dmac0 0xcd>, <&dmac0 0xce>,
1238 <&dmac1 0xcd>, <&dmac1 0xce>;
1239 dma-names = "tx", "rx", "tx", "rx";
1240 max-frequency = <195000000>;
1241 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
1242 resets = <&cpg 314>;
1243 status = "disabled";
1244 };
1245
Biju Dasd83010f2018-11-30 15:26:16 +00001246 sdhi1: sd@ee140000 {
Biju Dasb591e322018-11-30 15:26:24 +00001247 compatible = "renesas,sdhi-r8a7744",
1248 "renesas,rcar-gen2-sdhi";
Biju Dasd83010f2018-11-30 15:26:16 +00001249 reg = <0 0xee140000 0 0x100>;
Biju Dasb591e322018-11-30 15:26:24 +00001250 interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
1251 clocks = <&cpg CPG_MOD 312>;
1252 dmas = <&dmac0 0xc1>, <&dmac0 0xc2>,
1253 <&dmac1 0xc1>, <&dmac1 0xc2>;
1254 dma-names = "tx", "rx", "tx", "rx";
1255 max-frequency = <97500000>;
1256 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
1257 resets = <&cpg 312>;
1258 status = "disabled";
Biju Dasd83010f2018-11-30 15:26:16 +00001259 };
1260
1261 sdhi2: sd@ee160000 {
Biju Dasb591e322018-11-30 15:26:24 +00001262 compatible = "renesas,sdhi-r8a7744",
1263 "renesas,rcar-gen2-sdhi";
Biju Dasd83010f2018-11-30 15:26:16 +00001264 reg = <0 0xee160000 0 0x100>;
Biju Dasb591e322018-11-30 15:26:24 +00001265 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
1266 clocks = <&cpg CPG_MOD 311>;
1267 dmas = <&dmac0 0xd3>, <&dmac0 0xd4>,
1268 <&dmac1 0xd3>, <&dmac1 0xd4>;
1269 dma-names = "tx", "rx", "tx", "rx";
1270 max-frequency = <97500000>;
1271 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
1272 resets = <&cpg 311>;
1273 status = "disabled";
Biju Dasd83010f2018-11-30 15:26:16 +00001274 };
1275
Biju Dasd9e79222018-11-30 15:26:25 +00001276 mmcif0: mmc@ee200000 {
1277 compatible = "renesas,mmcif-r8a7744",
1278 "renesas,sh-mmcif";
1279 reg = <0 0xee200000 0 0x80>;
1280 interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
1281 clocks = <&cpg CPG_MOD 315>;
1282 dmas = <&dmac0 0xd1>, <&dmac0 0xd2>,
1283 <&dmac1 0xd1>, <&dmac1 0xd2>;
1284 dma-names = "tx", "rx", "tx", "rx";
1285 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
1286 resets = <&cpg 315>;
1287 reg-io-width = <4>;
1288 max-frequency = <97500000>;
1289 status = "disabled";
1290 };
1291
Biju Dasd83010f2018-11-30 15:26:16 +00001292 gic: interrupt-controller@f1001000 {
1293 compatible = "arm,gic-400";
1294 #interrupt-cells = <3>;
1295 #address-cells = <0>;
1296 interrupt-controller;
1297 reg = <0 0xf1001000 0 0x1000>, <0 0xf1002000 0 0x2000>,
1298 <0 0xf1004000 0 0x2000>, <0 0xf1006000 0 0x2000>;
Biju Dasf1546da2018-11-30 15:26:21 +00001299 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
Biju Dasd83010f2018-11-30 15:26:16 +00001300 clocks = <&cpg CPG_MOD 408>;
1301 clock-names = "clk";
1302 power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
1303 resets = <&cpg 408>;
1304 };
1305
1306 du: display@feb00000 {
1307 reg = <0 0xfeb00000 0 0x40000>,
1308 <0 0xfeb90000 0 0x1c>;
1309
1310 ports {
1311 #address-cells = <1>;
1312 #size-cells = <0>;
1313
1314 port@0 {
1315 reg = <0>;
1316 du_out_rgb: endpoint {
1317 };
1318 };
1319 port@1 {
1320 reg = <1>;
1321 du_out_lvds0: endpoint {
1322 };
1323 };
1324 };
1325 /* placeholder */
1326 };
1327
1328 prr: chipid@ff000044 {
1329 compatible = "renesas,prr";
1330 reg = <0 0xff000044 0 4>;
1331 };
1332 };
1333
1334 timer {
1335 compatible = "arm,armv7-timer";
Biju Dasf1546da2018-11-30 15:26:21 +00001336 interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1337 <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1338 <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1339 <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
Biju Dasd83010f2018-11-30 15:26:16 +00001340 };
1341
1342 /* External USB clock - can be overridden by the board */
1343 usb_extal_clk: usb_extal {
1344 compatible = "fixed-clock";
1345 #clock-cells = <0>;
1346 clock-frequency = <48000000>;
1347 };
1348};