]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - arch/arm/boot/dts/r8a7790.dtsi
Merge tag 'renesas-r8a7740-ccf-and-timers-for-v3.18' into dt-timers-for-v3.18
[mirror_ubuntu-hirsute-kernel.git] / arch / arm / boot / dts / r8a7790.dtsi
CommitLineData
0468b2d6
MD
1/*
2 * Device Tree Source for the r8a7790 SoC
3 *
d8913c67
SS
4 * Copyright (C) 2013-2014 Renesas Solutions Corp.
5 * Copyright (C) 2014 Cogent Embedded Inc.
0468b2d6
MD
6 *
7 * This file is licensed under the terms of the GNU General Public License
8 * version 2. This program is licensed "as is" without any warranty of any
9 * kind, whether express or implied.
10 */
11
22a1f595 12#include <dt-bindings/clock/r8a7790-clock.h>
5f75e73c
LP
13#include <dt-bindings/interrupt-controller/arm-gic.h>
14#include <dt-bindings/interrupt-controller/irq.h>
15
0468b2d6
MD
16/ {
17 compatible = "renesas,r8a7790";
18 interrupt-parent = <&gic>;
8585deb1
TY
19 #address-cells = <2>;
20 #size-cells = <2>;
0468b2d6 21
6b1d7c68
WS
22 aliases {
23 i2c0 = &i2c0;
24 i2c1 = &i2c1;
25 i2c2 = &i2c2;
26 i2c3 = &i2c3;
05f39916
WS
27 i2c4 = &iic0;
28 i2c5 = &iic1;
29 i2c6 = &iic2;
30 i2c7 = &iic3;
fad6d45c 31 spi0 = &qspi;
ae8a6146
GU
32 spi1 = &msiof0;
33 spi2 = &msiof1;
34 spi3 = &msiof2;
35 spi4 = &msiof3;
6b1d7c68
WS
36 };
37
0468b2d6
MD
38 cpus {
39 #address-cells = <1>;
40 #size-cells = <0>;
41
42 cpu0: cpu@0 {
43 device_type = "cpu";
44 compatible = "arm,cortex-a15";
45 reg = <0>;
46 clock-frequency = <1300000000>;
b989e138
BC
47 voltage-tolerance = <1>; /* 1% */
48 clocks = <&cpg_clocks R8A7790_CLK_Z>;
49 clock-latency = <300000>; /* 300 us */
50
51 /* kHz - uV - OPPs unknown yet */
52 operating-points = <1400000 1000000>,
53 <1225000 1000000>,
54 <1050000 1000000>,
55 < 875000 1000000>,
56 < 700000 1000000>,
57 < 350000 1000000>;
0468b2d6 58 };
c1f95979
MD
59
60 cpu1: cpu@1 {
61 device_type = "cpu";
62 compatible = "arm,cortex-a15";
63 reg = <1>;
64 clock-frequency = <1300000000>;
65 };
66
67 cpu2: cpu@2 {
68 device_type = "cpu";
69 compatible = "arm,cortex-a15";
70 reg = <2>;
71 clock-frequency = <1300000000>;
72 };
73
74 cpu3: cpu@3 {
75 device_type = "cpu";
76 compatible = "arm,cortex-a15";
77 reg = <3>;
78 clock-frequency = <1300000000>;
79 };
2007e74c
MD
80
81 cpu4: cpu@4 {
82 device_type = "cpu";
83 compatible = "arm,cortex-a7";
84 reg = <0x100>;
85 clock-frequency = <780000000>;
86 };
87
88 cpu5: cpu@5 {
89 device_type = "cpu";
90 compatible = "arm,cortex-a7";
91 reg = <0x101>;
92 clock-frequency = <780000000>;
93 };
94
95 cpu6: cpu@6 {
96 device_type = "cpu";
97 compatible = "arm,cortex-a7";
98 reg = <0x102>;
99 clock-frequency = <780000000>;
100 };
101
102 cpu7: cpu@7 {
103 device_type = "cpu";
104 compatible = "arm,cortex-a7";
105 reg = <0x103>;
106 clock-frequency = <780000000>;
107 };
0468b2d6
MD
108 };
109
110 gic: interrupt-controller@f1001000 {
111 compatible = "arm,cortex-a15-gic";
112 #interrupt-cells = <3>;
113 #address-cells = <0>;
114 interrupt-controller;
8585deb1
TY
115 reg = <0 0xf1001000 0 0x1000>,
116 <0 0xf1002000 0 0x1000>,
117 <0 0xf1004000 0 0x2000>,
118 <0 0xf1006000 0 0x2000>;
5f75e73c 119 interrupts = <1 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
0468b2d6
MD
120 };
121
23de2278 122 gpio0: gpio@e6050000 {
f98e10c8 123 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
23de2278 124 reg = <0 0xe6050000 0 0x50>;
5f75e73c 125 interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>;
f98e10c8
LP
126 #gpio-cells = <2>;
127 gpio-controller;
128 gpio-ranges = <&pfc 0 0 32>;
129 #interrupt-cells = <2>;
130 interrupt-controller;
81f6883f 131 clocks = <&mstp9_clks R8A7790_CLK_GPIO0>;
f98e10c8
LP
132 };
133
23de2278 134 gpio1: gpio@e6051000 {
f98e10c8 135 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
23de2278 136 reg = <0 0xe6051000 0 0x50>;
5f75e73c 137 interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>;
f98e10c8
LP
138 #gpio-cells = <2>;
139 gpio-controller;
140 gpio-ranges = <&pfc 0 32 32>;
141 #interrupt-cells = <2>;
142 interrupt-controller;
81f6883f 143 clocks = <&mstp9_clks R8A7790_CLK_GPIO1>;
f98e10c8
LP
144 };
145
23de2278 146 gpio2: gpio@e6052000 {
f98e10c8 147 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
23de2278 148 reg = <0 0xe6052000 0 0x50>;
5f75e73c 149 interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>;
f98e10c8
LP
150 #gpio-cells = <2>;
151 gpio-controller;
152 gpio-ranges = <&pfc 0 64 32>;
153 #interrupt-cells = <2>;
154 interrupt-controller;
81f6883f 155 clocks = <&mstp9_clks R8A7790_CLK_GPIO2>;
f98e10c8
LP
156 };
157
23de2278 158 gpio3: gpio@e6053000 {
f98e10c8 159 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
23de2278 160 reg = <0 0xe6053000 0 0x50>;
5f75e73c 161 interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>;
f98e10c8
LP
162 #gpio-cells = <2>;
163 gpio-controller;
164 gpio-ranges = <&pfc 0 96 32>;
165 #interrupt-cells = <2>;
166 interrupt-controller;
81f6883f 167 clocks = <&mstp9_clks R8A7790_CLK_GPIO3>;
f98e10c8
LP
168 };
169
23de2278 170 gpio4: gpio@e6054000 {
f98e10c8 171 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
23de2278 172 reg = <0 0xe6054000 0 0x50>;
5f75e73c 173 interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>;
f98e10c8
LP
174 #gpio-cells = <2>;
175 gpio-controller;
176 gpio-ranges = <&pfc 0 128 32>;
177 #interrupt-cells = <2>;
178 interrupt-controller;
81f6883f 179 clocks = <&mstp9_clks R8A7790_CLK_GPIO4>;
f98e10c8
LP
180 };
181
23de2278 182 gpio5: gpio@e6055000 {
f98e10c8 183 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
23de2278 184 reg = <0 0xe6055000 0 0x50>;
5f75e73c 185 interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>;
f98e10c8
LP
186 #gpio-cells = <2>;
187 gpio-controller;
188 gpio-ranges = <&pfc 0 160 32>;
189 #interrupt-cells = <2>;
190 interrupt-controller;
81f6883f 191 clocks = <&mstp9_clks R8A7790_CLK_GPIO5>;
f98e10c8
LP
192 };
193
03e2f56b
MD
194 thermal@e61f0000 {
195 compatible = "renesas,thermal-r8a7790", "renesas,rcar-thermal";
196 reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>;
03e2f56b 197 interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>;
d3a439db 198 clocks = <&mstp5_clks R8A7790_CLK_THERMAL>;
03e2f56b
MD
199 };
200
0468b2d6
MD
201 timer {
202 compatible = "arm,armv7-timer";
5f75e73c
LP
203 interrupts = <1 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
204 <1 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
205 <1 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
206 <1 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
0468b2d6 207 };
8f5ec0a5 208
39cf6d73
LP
209 cmt0: timer@ffca0000 {
210 compatible = "renesas,cmt-48-gen2";
211 reg = <0 0xffca0000 0 0x1004>;
212 interrupts = <0 142 IRQ_TYPE_LEVEL_HIGH>,
213 <0 143 IRQ_TYPE_LEVEL_HIGH>;
214 clocks = <&mstp1_clks R8A7790_CLK_CMT0>;
215 clock-names = "fck";
216
217 renesas,channels-mask = <0x60>;
218
219 status = "disabled";
220 };
221
222 cmt1: timer@e6130000 {
223 compatible = "renesas,cmt-48-gen2";
224 reg = <0 0xe6130000 0 0x1004>;
225 interrupts = <0 120 IRQ_TYPE_LEVEL_HIGH>,
226 <0 121 IRQ_TYPE_LEVEL_HIGH>,
227 <0 122 IRQ_TYPE_LEVEL_HIGH>,
228 <0 123 IRQ_TYPE_LEVEL_HIGH>,
229 <0 124 IRQ_TYPE_LEVEL_HIGH>,
230 <0 125 IRQ_TYPE_LEVEL_HIGH>,
231 <0 126 IRQ_TYPE_LEVEL_HIGH>,
232 <0 127 IRQ_TYPE_LEVEL_HIGH>;
233 clocks = <&mstp3_clks R8A7790_CLK_CMT1>;
234 clock-names = "fck";
235
236 renesas,channels-mask = <0xff>;
237
238 status = "disabled";
239 };
240
8f5ec0a5 241 irqc0: interrupt-controller@e61c0000 {
220fc352 242 compatible = "renesas,irqc-r8a7790", "renesas,irqc";
8f5ec0a5
MD
243 #interrupt-cells = <2>;
244 interrupt-controller;
8585deb1 245 reg = <0 0xe61c0000 0 0x200>;
5f75e73c
LP
246 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>,
247 <0 1 IRQ_TYPE_LEVEL_HIGH>,
248 <0 2 IRQ_TYPE_LEVEL_HIGH>,
249 <0 3 IRQ_TYPE_LEVEL_HIGH>;
8f5ec0a5 250 };
8c9b1aa4 251
edd2b9f4
GL
252 i2c0: i2c@e6508000 {
253 #address-cells = <1>;
254 #size-cells = <0>;
255 compatible = "renesas,i2c-r8a7790";
256 reg = <0 0xe6508000 0 0x40>;
5f75e73c 257 interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>;
2450badf 258 clocks = <&mstp9_clks R8A7790_CLK_I2C0>;
edd2b9f4
GL
259 status = "disabled";
260 };
261
262 i2c1: i2c@e6518000 {
263 #address-cells = <1>;
264 #size-cells = <0>;
265 compatible = "renesas,i2c-r8a7790";
266 reg = <0 0xe6518000 0 0x40>;
5f75e73c 267 interrupts = <0 288 IRQ_TYPE_LEVEL_HIGH>;
2450badf 268 clocks = <&mstp9_clks R8A7790_CLK_I2C1>;
edd2b9f4
GL
269 status = "disabled";
270 };
271
272 i2c2: i2c@e6530000 {
273 #address-cells = <1>;
274 #size-cells = <0>;
275 compatible = "renesas,i2c-r8a7790";
276 reg = <0 0xe6530000 0 0x40>;
5f75e73c 277 interrupts = <0 286 IRQ_TYPE_LEVEL_HIGH>;
2450badf 278 clocks = <&mstp9_clks R8A7790_CLK_I2C2>;
edd2b9f4
GL
279 status = "disabled";
280 };
281
282 i2c3: i2c@e6540000 {
283 #address-cells = <1>;
284 #size-cells = <0>;
285 compatible = "renesas,i2c-r8a7790";
286 reg = <0 0xe6540000 0 0x40>;
5f75e73c 287 interrupts = <0 290 IRQ_TYPE_LEVEL_HIGH>;
2450badf 288 clocks = <&mstp9_clks R8A7790_CLK_I2C3>;
edd2b9f4
GL
289 status = "disabled";
290 };
291
05f39916
WS
292 iic0: i2c@e6500000 {
293 #address-cells = <1>;
294 #size-cells = <0>;
295 compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic";
296 reg = <0 0xe6500000 0 0x425>;
297 interrupts = <0 174 IRQ_TYPE_LEVEL_HIGH>;
298 clocks = <&mstp3_clks R8A7790_CLK_IIC0>;
299 status = "disabled";
300 };
301
302 iic1: i2c@e6510000 {
303 #address-cells = <1>;
304 #size-cells = <0>;
305 compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic";
306 reg = <0 0xe6510000 0 0x425>;
307 interrupts = <0 175 IRQ_TYPE_LEVEL_HIGH>;
308 clocks = <&mstp3_clks R8A7790_CLK_IIC1>;
309 status = "disabled";
310 };
311
312 iic2: i2c@e6520000 {
313 #address-cells = <1>;
314 #size-cells = <0>;
315 compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic";
316 reg = <0 0xe6520000 0 0x425>;
317 interrupts = <0 176 IRQ_TYPE_LEVEL_HIGH>;
318 clocks = <&mstp3_clks R8A7790_CLK_IIC2>;
319 status = "disabled";
320 };
321
322 iic3: i2c@e60b0000 {
323 #address-cells = <1>;
324 #size-cells = <0>;
325 compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic";
326 reg = <0 0xe60b0000 0 0x425>;
327 interrupts = <0 173 IRQ_TYPE_LEVEL_HIGH>;
328 clocks = <&mstp9_clks R8A7790_CLK_IICDVFS>;
329 status = "disabled";
330 };
331
8c9b1aa4 332 mmcif0: mmcif@ee200000 {
063e8560 333 compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif";
8c9b1aa4 334 reg = <0 0xee200000 0 0x80>;
5f75e73c 335 interrupts = <0 169 IRQ_TYPE_LEVEL_HIGH>;
72197ca7 336 clocks = <&mstp3_clks R8A7790_CLK_MMCIF0>;
8c9b1aa4
GL
337 reg-io-width = <4>;
338 status = "disabled";
339 };
340
b718aa44 341 mmcif1: mmc@ee220000 {
063e8560 342 compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif";
8c9b1aa4 343 reg = <0 0xee220000 0 0x80>;
5f75e73c 344 interrupts = <0 170 IRQ_TYPE_LEVEL_HIGH>;
72197ca7 345 clocks = <&mstp3_clks R8A7790_CLK_MMCIF1>;
8c9b1aa4
GL
346 reg-io-width = <4>;
347 status = "disabled";
348 };
349
9694c778
LP
350 pfc: pfc@e6060000 {
351 compatible = "renesas,pfc-r8a7790";
352 reg = <0 0xe6060000 0 0x250>;
353 };
55689bfa 354
b718aa44 355 sdhi0: sd@ee100000 {
df1d0584 356 compatible = "renesas,sdhi-r8a7790";
d721a15c 357 reg = <0 0xee100000 0 0x200>;
5f75e73c 358 interrupts = <0 165 IRQ_TYPE_LEVEL_HIGH>;
72197ca7 359 clocks = <&mstp3_clks R8A7790_CLK_SDHI0>;
8c9b1aa4
GL
360 cap-sd-highspeed;
361 status = "disabled";
362 };
363
b718aa44 364 sdhi1: sd@ee120000 {
df1d0584 365 compatible = "renesas,sdhi-r8a7790";
d721a15c 366 reg = <0 0xee120000 0 0x200>;
5f75e73c 367 interrupts = <0 166 IRQ_TYPE_LEVEL_HIGH>;
72197ca7 368 clocks = <&mstp3_clks R8A7790_CLK_SDHI1>;
8c9b1aa4
GL
369 cap-sd-highspeed;
370 status = "disabled";
371 };
372
b718aa44 373 sdhi2: sd@ee140000 {
df1d0584 374 compatible = "renesas,sdhi-r8a7790";
8c9b1aa4 375 reg = <0 0xee140000 0 0x100>;
5f75e73c 376 interrupts = <0 167 IRQ_TYPE_LEVEL_HIGH>;
72197ca7 377 clocks = <&mstp3_clks R8A7790_CLK_SDHI2>;
8c9b1aa4
GL
378 cap-sd-highspeed;
379 status = "disabled";
380 };
381
b718aa44 382 sdhi3: sd@ee160000 {
df1d0584 383 compatible = "renesas,sdhi-r8a7790";
8c9b1aa4 384 reg = <0 0xee160000 0 0x100>;
5f75e73c 385 interrupts = <0 168 IRQ_TYPE_LEVEL_HIGH>;
72197ca7 386 clocks = <&mstp3_clks R8A7790_CLK_SDHI3>;
8c9b1aa4
GL
387 cap-sd-highspeed;
388 status = "disabled";
389 };
22a1f595 390
597af20f 391 scifa0: serial@e6c40000 {
59d2b517 392 compatible = "renesas,scifa-r8a7790", "renesas,scifa";
597af20f 393 reg = <0 0xe6c40000 0 64>;
1f4c745b 394 interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>;
597af20f
LP
395 clocks = <&mstp2_clks R8A7790_CLK_SCIFA0>;
396 clock-names = "sci_ick";
397 status = "disabled";
398 };
399
400 scifa1: serial@e6c50000 {
59d2b517 401 compatible = "renesas,scifa-r8a7790", "renesas,scifa";
597af20f 402 reg = <0 0xe6c50000 0 64>;
1f4c745b 403 interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>;
597af20f
LP
404 clocks = <&mstp2_clks R8A7790_CLK_SCIFA1>;
405 clock-names = "sci_ick";
406 status = "disabled";
407 };
408
409 scifa2: serial@e6c60000 {
59d2b517 410 compatible = "renesas,scifa-r8a7790", "renesas,scifa";
597af20f 411 reg = <0 0xe6c60000 0 64>;
1f4c745b 412 interrupts = <0 151 IRQ_TYPE_LEVEL_HIGH>;
597af20f
LP
413 clocks = <&mstp2_clks R8A7790_CLK_SCIFA2>;
414 clock-names = "sci_ick";
415 status = "disabled";
416 };
417
418 scifb0: serial@e6c20000 {
59d2b517 419 compatible = "renesas,scifb-r8a7790", "renesas,scifb";
597af20f 420 reg = <0 0xe6c20000 0 64>;
1f4c745b 421 interrupts = <0 148 IRQ_TYPE_LEVEL_HIGH>;
597af20f
LP
422 clocks = <&mstp2_clks R8A7790_CLK_SCIFB0>;
423 clock-names = "sci_ick";
424 status = "disabled";
425 };
426
427 scifb1: serial@e6c30000 {
59d2b517 428 compatible = "renesas,scifb-r8a7790", "renesas,scifb";
597af20f 429 reg = <0 0xe6c30000 0 64>;
1f4c745b 430 interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH>;
597af20f
LP
431 clocks = <&mstp2_clks R8A7790_CLK_SCIFB1>;
432 clock-names = "sci_ick";
433 status = "disabled";
434 };
435
436 scifb2: serial@e6ce0000 {
59d2b517 437 compatible = "renesas,scifb-r8a7790", "renesas,scifb";
597af20f 438 reg = <0 0xe6ce0000 0 64>;
1f4c745b 439 interrupts = <0 150 IRQ_TYPE_LEVEL_HIGH>;
597af20f
LP
440 clocks = <&mstp2_clks R8A7790_CLK_SCIFB2>;
441 clock-names = "sci_ick";
442 status = "disabled";
443 };
444
445 scif0: serial@e6e60000 {
59d2b517 446 compatible = "renesas,scif-r8a7790", "renesas,scif";
597af20f 447 reg = <0 0xe6e60000 0 64>;
1f4c745b 448 interrupts = <0 152 IRQ_TYPE_LEVEL_HIGH>;
597af20f
LP
449 clocks = <&mstp7_clks R8A7790_CLK_SCIF0>;
450 clock-names = "sci_ick";
451 status = "disabled";
452 };
453
454 scif1: serial@e6e68000 {
59d2b517 455 compatible = "renesas,scif-r8a7790", "renesas,scif";
597af20f 456 reg = <0 0xe6e68000 0 64>;
1f4c745b 457 interrupts = <0 153 IRQ_TYPE_LEVEL_HIGH>;
597af20f
LP
458 clocks = <&mstp7_clks R8A7790_CLK_SCIF1>;
459 clock-names = "sci_ick";
460 status = "disabled";
461 };
462
463 hscif0: serial@e62c0000 {
59d2b517 464 compatible = "renesas,hscif-r8a7790", "renesas,hscif";
597af20f 465 reg = <0 0xe62c0000 0 96>;
1f4c745b 466 interrupts = <0 154 IRQ_TYPE_LEVEL_HIGH>;
597af20f
LP
467 clocks = <&mstp7_clks R8A7790_CLK_HSCIF0>;
468 clock-names = "sci_ick";
469 status = "disabled";
470 };
471
472 hscif1: serial@e62c8000 {
59d2b517 473 compatible = "renesas,hscif-r8a7790", "renesas,hscif";
597af20f 474 reg = <0 0xe62c8000 0 96>;
1f4c745b 475 interrupts = <0 155 IRQ_TYPE_LEVEL_HIGH>;
597af20f
LP
476 clocks = <&mstp7_clks R8A7790_CLK_HSCIF1>;
477 clock-names = "sci_ick";
478 status = "disabled";
479 };
480
d8913c67
SS
481 ether: ethernet@ee700000 {
482 compatible = "renesas,ether-r8a7790";
483 reg = <0 0xee700000 0 0x400>;
484 interrupts = <0 162 IRQ_TYPE_LEVEL_HIGH>;
485 clocks = <&mstp8_clks R8A7790_CLK_ETHER>;
486 phy-mode = "rmii";
487 #address-cells = <1>;
488 #size-cells = <0>;
489 status = "disabled";
490 };
491
cde630f7
VB
492 sata0: sata@ee300000 {
493 compatible = "renesas,sata-r8a7790";
494 reg = <0 0xee300000 0 0x2000>;
cde630f7
VB
495 interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>;
496 clocks = <&mstp8_clks R8A7790_CLK_SATA0>;
497 status = "disabled";
498 };
499
500 sata1: sata@ee500000 {
501 compatible = "renesas,sata-r8a7790";
502 reg = <0 0xee500000 0 0x2000>;
cde630f7
VB
503 interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>;
504 clocks = <&mstp8_clks R8A7790_CLK_SATA1>;
505 status = "disabled";
506 };
507
22a1f595
LP
508 clocks {
509 #address-cells = <2>;
510 #size-cells = <2>;
511 ranges;
512
513 /* External root clock */
514 extal_clk: extal_clk {
515 compatible = "fixed-clock";
516 #clock-cells = <0>;
517 /* This value must be overriden by the board. */
518 clock-frequency = <0>;
519 clock-output-names = "extal";
520 };
521
51d17918
PE
522 /* External PCIe clock - can be overridden by the board */
523 pcie_bus_clk: pcie_bus_clk {
524 compatible = "fixed-clock";
525 #clock-cells = <0>;
526 clock-frequency = <100000000>;
527 clock-output-names = "pcie_bus";
528 status = "disabled";
529 };
530
c7c2ec3a
KM
531 /*
532 * The external audio clocks are configured as 0 Hz fixed frequency clocks by
533 * default. Boards that provide audio clocks should override them.
534 */
535 audio_clk_a: audio_clk_a {
536 compatible = "fixed-clock";
537 #clock-cells = <0>;
538 clock-frequency = <0>;
539 clock-output-names = "audio_clk_a";
540 };
541 audio_clk_b: audio_clk_b {
542 compatible = "fixed-clock";
543 #clock-cells = <0>;
544 clock-frequency = <0>;
545 clock-output-names = "audio_clk_b";
546 };
547 audio_clk_c: audio_clk_c {
548 compatible = "fixed-clock";
549 #clock-cells = <0>;
550 clock-frequency = <0>;
551 clock-output-names = "audio_clk_c";
552 };
553
22a1f595
LP
554 /* Special CPG clocks */
555 cpg_clocks: cpg_clocks@e6150000 {
556 compatible = "renesas,r8a7790-cpg-clocks",
557 "renesas,rcar-gen2-cpg-clocks";
558 reg = <0 0xe6150000 0 0x1000>;
559 clocks = <&extal_clk>;
560 #clock-cells = <1>;
561 clock-output-names = "main", "pll0", "pll1", "pll3",
562 "lb", "qspi", "sdh", "sd0", "sd1",
563 "z";
564 };
565
566 /* Variable factor clocks */
567 sd2_clk: sd2_clk@e6150078 {
568 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
569 reg = <0 0xe6150078 0 4>;
570 clocks = <&pll1_div2_clk>;
571 #clock-cells = <0>;
572 clock-output-names = "sd2";
573 };
574 sd3_clk: sd3_clk@e615007c {
575 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
576 reg = <0 0xe615007c 0 4>;
577 clocks = <&pll1_div2_clk>;
578 #clock-cells = <0>;
579 clock-output-names = "sd3";
580 };
581 mmc0_clk: mmc0_clk@e6150240 {
582 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
583 reg = <0 0xe6150240 0 4>;
584 clocks = <&pll1_div2_clk>;
585 #clock-cells = <0>;
586 clock-output-names = "mmc0";
587 };
588 mmc1_clk: mmc1_clk@e6150244 {
589 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
590 reg = <0 0xe6150244 0 4>;
591 clocks = <&pll1_div2_clk>;
592 #clock-cells = <0>;
593 clock-output-names = "mmc1";
594 };
595 ssp_clk: ssp_clk@e6150248 {
596 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
597 reg = <0 0xe6150248 0 4>;
598 clocks = <&pll1_div2_clk>;
599 #clock-cells = <0>;
600 clock-output-names = "ssp";
601 };
602 ssprs_clk: ssprs_clk@e615024c {
603 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
604 reg = <0 0xe615024c 0 4>;
605 clocks = <&pll1_div2_clk>;
606 #clock-cells = <0>;
607 clock-output-names = "ssprs";
608 };
609
610 /* Fixed factor clocks */
611 pll1_div2_clk: pll1_div2_clk {
612 compatible = "fixed-factor-clock";
613 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
614 #clock-cells = <0>;
615 clock-div = <2>;
616 clock-mult = <1>;
617 clock-output-names = "pll1_div2";
618 };
619 z2_clk: z2_clk {
620 compatible = "fixed-factor-clock";
621 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
622 #clock-cells = <0>;
623 clock-div = <2>;
624 clock-mult = <1>;
625 clock-output-names = "z2";
626 };
627 zg_clk: zg_clk {
628 compatible = "fixed-factor-clock";
629 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
630 #clock-cells = <0>;
631 clock-div = <3>;
632 clock-mult = <1>;
633 clock-output-names = "zg";
634 };
635 zx_clk: zx_clk {
636 compatible = "fixed-factor-clock";
637 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
638 #clock-cells = <0>;
639 clock-div = <3>;
640 clock-mult = <1>;
641 clock-output-names = "zx";
642 };
643 zs_clk: zs_clk {
644 compatible = "fixed-factor-clock";
645 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
646 #clock-cells = <0>;
647 clock-div = <6>;
648 clock-mult = <1>;
649 clock-output-names = "zs";
650 };
651 hp_clk: hp_clk {
652 compatible = "fixed-factor-clock";
653 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
654 #clock-cells = <0>;
655 clock-div = <12>;
656 clock-mult = <1>;
657 clock-output-names = "hp";
658 };
659 i_clk: i_clk {
660 compatible = "fixed-factor-clock";
661 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
662 #clock-cells = <0>;
663 clock-div = <2>;
664 clock-mult = <1>;
665 clock-output-names = "i";
666 };
667 b_clk: b_clk {
668 compatible = "fixed-factor-clock";
669 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
670 #clock-cells = <0>;
671 clock-div = <12>;
672 clock-mult = <1>;
673 clock-output-names = "b";
674 };
675 p_clk: p_clk {
676 compatible = "fixed-factor-clock";
677 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
678 #clock-cells = <0>;
679 clock-div = <24>;
680 clock-mult = <1>;
681 clock-output-names = "p";
682 };
683 cl_clk: cl_clk {
684 compatible = "fixed-factor-clock";
685 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
686 #clock-cells = <0>;
687 clock-div = <48>;
688 clock-mult = <1>;
689 clock-output-names = "cl";
690 };
691 m2_clk: m2_clk {
692 compatible = "fixed-factor-clock";
693 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
694 #clock-cells = <0>;
695 clock-div = <8>;
696 clock-mult = <1>;
697 clock-output-names = "m2";
698 };
699 imp_clk: imp_clk {
700 compatible = "fixed-factor-clock";
701 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
702 #clock-cells = <0>;
703 clock-div = <4>;
704 clock-mult = <1>;
705 clock-output-names = "imp";
706 };
707 rclk_clk: rclk_clk {
708 compatible = "fixed-factor-clock";
709 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
710 #clock-cells = <0>;
711 clock-div = <(48 * 1024)>;
712 clock-mult = <1>;
713 clock-output-names = "rclk";
714 };
715 oscclk_clk: oscclk_clk {
716 compatible = "fixed-factor-clock";
717 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
718 #clock-cells = <0>;
719 clock-div = <(12 * 1024)>;
720 clock-mult = <1>;
721 clock-output-names = "oscclk";
722 };
723 zb3_clk: zb3_clk {
724 compatible = "fixed-factor-clock";
725 clocks = <&cpg_clocks R8A7790_CLK_PLL3>;
726 #clock-cells = <0>;
727 clock-div = <4>;
728 clock-mult = <1>;
729 clock-output-names = "zb3";
730 };
731 zb3d2_clk: zb3d2_clk {
732 compatible = "fixed-factor-clock";
733 clocks = <&cpg_clocks R8A7790_CLK_PLL3>;
734 #clock-cells = <0>;
735 clock-div = <8>;
736 clock-mult = <1>;
737 clock-output-names = "zb3d2";
738 };
739 ddr_clk: ddr_clk {
740 compatible = "fixed-factor-clock";
741 clocks = <&cpg_clocks R8A7790_CLK_PLL3>;
742 #clock-cells = <0>;
743 clock-div = <8>;
744 clock-mult = <1>;
745 clock-output-names = "ddr";
746 };
747 mp_clk: mp_clk {
748 compatible = "fixed-factor-clock";
749 clocks = <&pll1_div2_clk>;
750 #clock-cells = <0>;
751 clock-div = <15>;
752 clock-mult = <1>;
753 clock-output-names = "mp";
754 };
755 cp_clk: cp_clk {
756 compatible = "fixed-factor-clock";
757 clocks = <&extal_clk>;
758 #clock-cells = <0>;
759 clock-div = <2>;
760 clock-mult = <1>;
761 clock-output-names = "cp";
762 };
763
764 /* Gate clocks */
9d90951a
LP
765 mstp0_clks: mstp0_clks@e6150130 {
766 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
767 reg = <0 0xe6150130 0 4>, <0 0xe6150030 0 4>;
768 clocks = <&mp_clk>;
769 #clock-cells = <1>;
770 renesas,clock-indices = <R8A7790_CLK_MSIOF0>;
771 clock-output-names = "msiof0";
772 };
22a1f595
LP
773 mstp1_clks: mstp1_clks@e6150134 {
774 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
775 reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>;
776 clocks = <&p_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>,
777 <&cp_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>,
778 <&zs_clk>;
779 #clock-cells = <1>;
780 renesas,clock-indices = <
781 R8A7790_CLK_TMU1 R8A7790_CLK_TMU3 R8A7790_CLK_TMU2
782 R8A7790_CLK_CMT0 R8A7790_CLK_TMU0 R8A7790_CLK_VSP1_DU1
79ea9934 783 R8A7790_CLK_VSP1_DU0 R8A7790_CLK_VSP1_R R8A7790_CLK_VSP1_S
22a1f595
LP
784 >;
785 clock-output-names =
786 "tmu1", "tmu3", "tmu2", "cmt0", "tmu0", "vsp1-du1",
787 "vsp1-du0", "vsp1-rt", "vsp1-sy";
788 };
789 mstp2_clks: mstp2_clks@e6150138 {
790 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
791 reg = <0 0xe6150138 0 4>, <0 0xe6150040 0 4>;
792 clocks = <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>,
9d90951a 793 <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>;
22a1f595
LP
794 #clock-cells = <1>;
795 renesas,clock-indices = <
796 R8A7790_CLK_SCIFA2 R8A7790_CLK_SCIFA1 R8A7790_CLK_SCIFA0
9d90951a
LP
797 R8A7790_CLK_MSIOF2 R8A7790_CLK_SCIFB0 R8A7790_CLK_SCIFB1
798 R8A7790_CLK_MSIOF1 R8A7790_CLK_MSIOF3 R8A7790_CLK_SCIFB2
22a1f595
LP
799 >;
800 clock-output-names =
9d90951a
LP
801 "scifa2", "scifa1", "scifa0", "msiof2", "scifb0",
802 "scifb1", "msiof1", "msiof3", "scifb2";
22a1f595
LP
803 };
804 mstp3_clks: mstp3_clks@e615013c {
805 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
806 reg = <0 0xe615013c 0 4>, <0 0xe6150048 0 4>;
17465149
WS
807 clocks = <&hp_clk>, <&cp_clk>, <&mmc1_clk>, <&sd3_clk>,
808 <&sd2_clk>, <&cpg_clocks R8A7790_CLK_SD1>, <&cpg_clocks R8A7790_CLK_SD0>, <&mmc0_clk>,
ecafea8c 809 <&hp_clk>, <&mp_clk>, <&hp_clk>, <&mp_clk>, <&rclk_clk>;
22a1f595
LP
810 #clock-cells = <1>;
811 renesas,clock-indices = <
17465149
WS
812 R8A7790_CLK_IIC2 R8A7790_CLK_TPU0 R8A7790_CLK_MMCIF1 R8A7790_CLK_SDHI3
813 R8A7790_CLK_SDHI2 R8A7790_CLK_SDHI1 R8A7790_CLK_SDHI0 R8A7790_CLK_MMCIF0
ecafea8c 814 R8A7790_CLK_IIC0 R8A7790_CLK_PCIEC R8A7790_CLK_IIC1 R8A7790_CLK_SSUSB R8A7790_CLK_CMT1
22a1f595
LP
815 >;
816 clock-output-names =
17465149
WS
817 "iic2", "tpu0", "mmcif1", "sdhi3",
818 "sdhi2", "sdhi1", "sdhi0", "mmcif0",
ecafea8c 819 "iic0", "pciec", "iic1", "ssusb", "cmt1";
22a1f595
LP
820 };
821 mstp5_clks: mstp5_clks@e6150144 {
822 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
823 reg = <0 0xe6150144 0 4>, <0 0xe615003c 0 4>;
824 clocks = <&extal_clk>, <&p_clk>;
825 #clock-cells = <1>;
826 renesas,clock-indices = <R8A7790_CLK_THERMAL R8A7790_CLK_PWM>;
827 clock-output-names = "thermal", "pwm";
828 };
829 mstp7_clks: mstp7_clks@e615014c {
830 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
831 reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>;
832 clocks = <&mp_clk>, <&mp_clk>, <&zs_clk>, <&zs_clk>, <&p_clk>,
833 <&p_clk>, <&zx_clk>, <&zx_clk>, <&zx_clk>, <&zx_clk>,
834 <&zx_clk>;
835 #clock-cells = <1>;
836 renesas,clock-indices = <
837 R8A7790_CLK_EHCI R8A7790_CLK_HSUSB R8A7790_CLK_HSCIF1
838 R8A7790_CLK_HSCIF0 R8A7790_CLK_SCIF1 R8A7790_CLK_SCIF0
839 R8A7790_CLK_DU2 R8A7790_CLK_DU1 R8A7790_CLK_DU0
840 R8A7790_CLK_LVDS1 R8A7790_CLK_LVDS0
841 >;
842 clock-output-names =
843 "ehci", "hsusb", "hscif1", "hscif0", "scif1",
844 "scif0", "du2", "du1", "du0", "lvds1", "lvds0";
845 };
846 mstp8_clks: mstp8_clks@e6150990 {
847 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
848 reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>;
bccccc3d
LP
849 clocks = <&zg_clk>, <&zg_clk>, <&zg_clk>, <&zg_clk>, <&p_clk>,
850 <&zs_clk>, <&zs_clk>;
22a1f595 851 #clock-cells = <1>;
3f2beaa9
LP
852 renesas,clock-indices = <
853 R8A7790_CLK_VIN3 R8A7790_CLK_VIN2 R8A7790_CLK_VIN1
bccccc3d
LP
854 R8A7790_CLK_VIN0 R8A7790_CLK_ETHER R8A7790_CLK_SATA1
855 R8A7790_CLK_SATA0
3f2beaa9 856 >;
bccccc3d
LP
857 clock-output-names =
858 "vin3", "vin2", "vin1", "vin0", "ether", "sata1", "sata0";
22a1f595
LP
859 };
860 mstp9_clks: mstp9_clks@e6150994 {
861 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
862 reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>;
81f6883f
GU
863 clocks = <&cp_clk>, <&cp_clk>, <&cp_clk>,
864 <&cp_clk>, <&cp_clk>, <&cp_clk>,
865 <&p_clk>, <&p_clk>, <&cpg_clocks R8A7790_CLK_QSPI>, <&cp_clk>,
3672b059 866 <&hp_clk>, <&hp_clk>, <&hp_clk>, <&hp_clk>;
22a1f595
LP
867 #clock-cells = <1>;
868 renesas,clock-indices = <
81f6883f
GU
869 R8A7790_CLK_GPIO5 R8A7790_CLK_GPIO4 R8A7790_CLK_GPIO3
870 R8A7790_CLK_GPIO2 R8A7790_CLK_GPIO1 R8A7790_CLK_GPIO0
17465149
WS
871 R8A7790_CLK_RCAN1 R8A7790_CLK_RCAN0 R8A7790_CLK_QSPI_MOD R8A7790_CLK_IICDVFS
872 R8A7790_CLK_I2C3 R8A7790_CLK_I2C2 R8A7790_CLK_I2C1 R8A7790_CLK_I2C0
22a1f595 873 >;
91b56ca1 874 clock-output-names =
81f6883f 875 "gpio5", "gpio4", "gpio3", "gpio2", "gpio1", "gpio0",
17465149
WS
876 "rcan1", "rcan0", "qspi_mod", "iic3",
877 "i2c3", "i2c2", "i2c1", "i2c0";
22a1f595 878 };
bcde3722
KM
879 mstp10_clks: mstp10_clks@e6150998 {
880 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
881 reg = <0 0xe6150998 0 4>, <0 0xe61509a8 0 4>;
882 clocks = <&p_clk>,
883 <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
884 <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
885 <&p_clk>,
886 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
887 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
888 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
889 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
890 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
891 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>;
892
893 #clock-cells = <1>;
894 clock-indices = <
895 R8A7790_CLK_SSI_ALL
896 R8A7790_CLK_SSI9 R8A7790_CLK_SSI8 R8A7790_CLK_SSI7 R8A7790_CLK_SSI6 R8A7790_CLK_SSI5
897 R8A7790_CLK_SSI4 R8A7790_CLK_SSI3 R8A7790_CLK_SSI2 R8A7790_CLK_SSI1 R8A7790_CLK_SSI0
898 R8A7790_CLK_SCU_ALL
899 R8A7790_CLK_SCU_DVC1 R8A7790_CLK_SCU_DVC0
900 R8A7790_CLK_SCU_SRC9 R8A7790_CLK_SCU_SRC8 R8A7790_CLK_SCU_SRC7 R8A7790_CLK_SCU_SRC6 R8A7790_CLK_SCU_SRC5
901 R8A7790_CLK_SCU_SRC4 R8A7790_CLK_SCU_SRC3 R8A7790_CLK_SCU_SRC2 R8A7790_CLK_SCU_SRC1 R8A7790_CLK_SCU_SRC0
902 >;
903 clock-output-names =
904 "ssi-all",
905 "ssi9", "ssi8", "ssi7", "ssi6", "ssi5",
906 "ssi4", "ssi3", "ssi2", "ssi1", "ssi0",
907 "scu-all",
908 "scu-dvc1", "scu-dvc0",
909 "scu-src9", "scu-src8", "scu-src7", "scu-src6", "scu-src5",
910 "scu-src4", "scu-src3", "scu-src2", "scu-src1", "scu-src0";
911 };
22a1f595 912 };
7053e134 913
fad6d45c 914 qspi: spi@e6b10000 {
7053e134
GU
915 compatible = "renesas,qspi-r8a7790", "renesas,qspi";
916 reg = <0 0xe6b10000 0 0x2c>;
7053e134
GU
917 interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>;
918 clocks = <&mstp9_clks R8A7790_CLK_QSPI_MOD>;
919 num-cs = <1>;
920 #address-cells = <1>;
921 #size-cells = <0>;
922 status = "disabled";
923 };
ae8a6146
GU
924
925 msiof0: spi@e6e20000 {
926 compatible = "renesas,msiof-r8a7790";
927 reg = <0 0xe6e20000 0 0x0064>;
928 interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>;
929 clocks = <&mstp0_clks R8A7790_CLK_MSIOF0>;
930 #address-cells = <1>;
931 #size-cells = <0>;
932 status = "disabled";
933 };
934
935 msiof1: spi@e6e10000 {
936 compatible = "renesas,msiof-r8a7790";
937 reg = <0 0xe6e10000 0 0x0064>;
938 interrupts = <0 157 IRQ_TYPE_LEVEL_HIGH>;
939 clocks = <&mstp2_clks R8A7790_CLK_MSIOF1>;
940 #address-cells = <1>;
941 #size-cells = <0>;
942 status = "disabled";
943 };
944
945 msiof2: spi@e6e00000 {
946 compatible = "renesas,msiof-r8a7790";
947 reg = <0 0xe6e00000 0 0x0064>;
948 interrupts = <0 158 IRQ_TYPE_LEVEL_HIGH>;
949 clocks = <&mstp2_clks R8A7790_CLK_MSIOF2>;
950 #address-cells = <1>;
951 #size-cells = <0>;
952 status = "disabled";
953 };
954
955 msiof3: spi@e6c90000 {
956 compatible = "renesas,msiof-r8a7790";
957 reg = <0 0xe6c90000 0 0x0064>;
958 interrupts = <0 159 IRQ_TYPE_LEVEL_HIGH>;
959 clocks = <&mstp2_clks R8A7790_CLK_MSIOF3>;
960 #address-cells = <1>;
961 #size-cells = <0>;
962 status = "disabled";
963 };
7df2fd57 964
ff4f3eb8
BD
965 pci0: pci@ee090000 {
966 compatible = "renesas,pci-r8a7790";
967 device_type = "pci";
968 clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
969 reg = <0 0xee090000 0 0xc00>,
970 <0 0xee080000 0 0x1100>;
971 interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
972 status = "disabled";
973
974 bus-range = <0 0>;
975 #address-cells = <3>;
976 #size-cells = <2>;
977 #interrupt-cells = <1>;
978 ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>;
979 interrupt-map-mask = <0xff00 0 0 0x7>;
980 interrupt-map = <0x0000 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH
517ec80a
GU
981 0x0800 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH
982 0x1000 0 0 2 &gic 0 108 IRQ_TYPE_LEVEL_HIGH>;
ff4f3eb8
BD
983 };
984
985 pci1: pci@ee0b0000 {
986 compatible = "renesas,pci-r8a7790";
987 device_type = "pci";
988 clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
989 reg = <0 0xee0b0000 0 0xc00>,
990 <0 0xee0a0000 0 0x1100>;
991 interrupts = <0 112 IRQ_TYPE_LEVEL_HIGH>;
992 status = "disabled";
993
994 bus-range = <1 1>;
995 #address-cells = <3>;
996 #size-cells = <2>;
997 #interrupt-cells = <1>;
998 ranges = <0x02000000 0 0xee0a0000 0 0xee0a0000 0 0x00010000>;
999 interrupt-map-mask = <0xff00 0 0 0x7>;
1000 interrupt-map = <0x0000 0 0 1 &gic 0 112 IRQ_TYPE_LEVEL_HIGH
517ec80a
GU
1001 0x0800 0 0 1 &gic 0 112 IRQ_TYPE_LEVEL_HIGH
1002 0x1000 0 0 2 &gic 0 112 IRQ_TYPE_LEVEL_HIGH>;
ff4f3eb8
BD
1003 };
1004
1005 pci2: pci@ee0d0000 {
1006 compatible = "renesas,pci-r8a7790";
1007 device_type = "pci";
1008 clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
1009 reg = <0 0xee0d0000 0 0xc00>,
1010 <0 0xee0c0000 0 0x1100>;
1011 interrupts = <0 113 IRQ_TYPE_LEVEL_HIGH>;
1012 status = "disabled";
1013
1014 bus-range = <2 2>;
1015 #address-cells = <3>;
1016 #size-cells = <2>;
1017 #interrupt-cells = <1>;
1018 ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>;
1019 interrupt-map-mask = <0xff00 0 0 0x7>;
1020 interrupt-map = <0x0000 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH
517ec80a
GU
1021 0x0800 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH
1022 0x1000 0 0 2 &gic 0 113 IRQ_TYPE_LEVEL_HIGH>;
ff4f3eb8
BD
1023 };
1024
745329d2
PE
1025 pciec: pcie@fe000000 {
1026 compatible = "renesas,pcie-r8a7790";
1027 reg = <0 0xfe000000 0 0x80000>;
1028 #address-cells = <3>;
1029 #size-cells = <2>;
1030 bus-range = <0x00 0xff>;
1031 device_type = "pci";
1032 ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000
1033 0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000
1034 0x02000000 0 0x30000000 0 0x30000000 0 0x08000000
1035 0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
1036 /* Map all possible DDR as inbound ranges */
1037 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000
1038 0x43000000 1 0x80000000 1 0x80000000 0 0x80000000>;
1039 interrupts = <0 116 IRQ_TYPE_LEVEL_HIGH>,
1040 <0 117 IRQ_TYPE_LEVEL_HIGH>,
1041 <0 118 IRQ_TYPE_LEVEL_HIGH>;
1042 #interrupt-cells = <1>;
1043 interrupt-map-mask = <0 0 0 0>;
1044 interrupt-map = <0 0 0 0 &gic 0 116 IRQ_TYPE_LEVEL_HIGH>;
1045 clocks = <&mstp3_clks R8A7790_CLK_PCIEC>, <&pcie_bus_clk>;
1046 clock-names = "pcie", "pcie_bus";
1047 status = "disabled";
1048 };
1049
7df2fd57
KM
1050 rcar_sound: rcar_sound@0xec500000 {
1051 #sound-dai-cells = <1>;
1052 compatible = "renesas,rcar_sound-r8a7790", "renesas,rcar_sound-gen2", "renesas,rcar_sound";
1053 interrupt-parent = <&gic>;
1054 reg = <0 0xec500000 0 0x1000>, /* SCU */
1055 <0 0xec5a0000 0 0x100>, /* ADG */
1056 <0 0xec540000 0 0x1000>, /* SSIU */
1057 <0 0xec541000 0 0x1280>; /* SSI */
1058 clocks = <&mstp10_clks R8A7790_CLK_SSI_ALL>,
1059 <&mstp10_clks R8A7790_CLK_SSI9>, <&mstp10_clks R8A7790_CLK_SSI8>,
1060 <&mstp10_clks R8A7790_CLK_SSI7>, <&mstp10_clks R8A7790_CLK_SSI6>,
1061 <&mstp10_clks R8A7790_CLK_SSI5>, <&mstp10_clks R8A7790_CLK_SSI4>,
1062 <&mstp10_clks R8A7790_CLK_SSI3>, <&mstp10_clks R8A7790_CLK_SSI2>,
1063 <&mstp10_clks R8A7790_CLK_SSI1>, <&mstp10_clks R8A7790_CLK_SSI0>,
1064 <&mstp10_clks R8A7790_CLK_SCU_SRC9>, <&mstp10_clks R8A7790_CLK_SCU_SRC8>,
1065 <&mstp10_clks R8A7790_CLK_SCU_SRC7>, <&mstp10_clks R8A7790_CLK_SCU_SRC6>,
1066 <&mstp10_clks R8A7790_CLK_SCU_SRC5>, <&mstp10_clks R8A7790_CLK_SCU_SRC4>,
1067 <&mstp10_clks R8A7790_CLK_SCU_SRC3>, <&mstp10_clks R8A7790_CLK_SCU_SRC2>,
1068 <&mstp10_clks R8A7790_CLK_SCU_SRC1>, <&mstp10_clks R8A7790_CLK_SCU_SRC0>,
334d69a2 1069 <&mstp10_clks R8A7790_CLK_SCU_DVC0>, <&mstp10_clks R8A7790_CLK_SCU_DVC1>,
7df2fd57
KM
1070 <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>, <&m2_clk>;
1071 clock-names = "ssi-all",
1072 "ssi.9", "ssi.8", "ssi.7", "ssi.6", "ssi.5",
1073 "ssi.4", "ssi.3", "ssi.2", "ssi.1", "ssi.0",
1074 "src.9", "src.8", "src.7", "src.6", "src.5",
1075 "src.4", "src.3", "src.2", "src.1", "src.0",
334d69a2 1076 "dvc.0", "dvc.1",
7df2fd57
KM
1077 "clk_a", "clk_b", "clk_c", "clk_i";
1078
1079 status = "disabled";
1080
334d69a2
KM
1081 rcar_sound,dvc {
1082 dvc0: dvc@0 { };
1083 dvc1: dvc@1 { };
1084 };
1085
7df2fd57
KM
1086 rcar_sound,src {
1087 src0: src@0 { };
1088 src1: src@1 { };
1089 src2: src@2 { };
1090 src3: src@3 { };
1091 src4: src@4 { };
1092 src5: src@5 { };
1093 src6: src@6 { };
1094 src7: src@7 { };
1095 src8: src@8 { };
1096 src9: src@9 { };
1097 };
1098
1099 rcar_sound,ssi {
1100 ssi0: ssi@0 { interrupts = <0 370 IRQ_TYPE_LEVEL_HIGH>; };
1101 ssi1: ssi@1 { interrupts = <0 371 IRQ_TYPE_LEVEL_HIGH>; };
1102 ssi2: ssi@2 { interrupts = <0 372 IRQ_TYPE_LEVEL_HIGH>; };
1103 ssi3: ssi@3 { interrupts = <0 373 IRQ_TYPE_LEVEL_HIGH>; };
1104 ssi4: ssi@4 { interrupts = <0 374 IRQ_TYPE_LEVEL_HIGH>; };
1105 ssi5: ssi@5 { interrupts = <0 375 IRQ_TYPE_LEVEL_HIGH>; };
1106 ssi6: ssi@6 { interrupts = <0 376 IRQ_TYPE_LEVEL_HIGH>; };
1107 ssi7: ssi@7 { interrupts = <0 377 IRQ_TYPE_LEVEL_HIGH>; };
1108 ssi8: ssi@8 { interrupts = <0 378 IRQ_TYPE_LEVEL_HIGH>; };
1109 ssi9: ssi@9 { interrupts = <0 379 IRQ_TYPE_LEVEL_HIGH>; };
1110 };
1111 };
0468b2d6 1112};