]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - arch/arm/boot/dts/r8a7790.dtsi
ARM: dts: r8a7743: Add IIC cores to dtsi
[mirror_ubuntu-hirsute-kernel.git] / arch / arm / boot / dts / r8a7790.dtsi
CommitLineData
0468b2d6
MD
1/*
2 * Device Tree Source for the r8a7790 SoC
3 *
b621f6d4 4 * Copyright (C) 2015 Renesas Electronics Corporation
d8913c67
SS
5 * Copyright (C) 2013-2014 Renesas Solutions Corp.
6 * Copyright (C) 2014 Cogent Embedded Inc.
0468b2d6
MD
7 *
8 * This file is licensed under the terms of the GNU General Public License
9 * version 2. This program is licensed "as is" without any warranty of any
10 * kind, whether express or implied.
11 */
12
5802c420 13#include <dt-bindings/clock/r8a7790-cpg-mssr.h>
5f75e73c
LP
14#include <dt-bindings/interrupt-controller/arm-gic.h>
15#include <dt-bindings/interrupt-controller/irq.h>
4c8eb3c8 16#include <dt-bindings/power/r8a7790-sysc.h>
5f75e73c 17
0468b2d6
MD
18/ {
19 compatible = "renesas,r8a7790";
20 interrupt-parent = <&gic>;
8585deb1
TY
21 #address-cells = <2>;
22 #size-cells = <2>;
0468b2d6 23
6b1d7c68
WS
24 aliases {
25 i2c0 = &i2c0;
26 i2c1 = &i2c1;
27 i2c2 = &i2c2;
28 i2c3 = &i2c3;
05f39916
WS
29 i2c4 = &iic0;
30 i2c5 = &iic1;
31 i2c6 = &iic2;
32 i2c7 = &iic3;
fad6d45c 33 spi0 = &qspi;
ae8a6146
GU
34 spi1 = &msiof0;
35 spi2 = &msiof1;
36 spi3 = &msiof2;
37 spi4 = &msiof3;
9f685bfc
BD
38 vin0 = &vin0;
39 vin1 = &vin1;
40 vin2 = &vin2;
41 vin3 = &vin3;
6b1d7c68
WS
42 };
43
0468b2d6
MD
44 cpus {
45 #address-cells = <1>;
46 #size-cells = <0>;
dc378795 47 enable-method = "renesas,apmu";
0468b2d6
MD
48
49 cpu0: cpu@0 {
50 device_type = "cpu";
51 compatible = "arm,cortex-a15";
52 reg = <0>;
53 clock-frequency = <1300000000>;
b989e138 54 voltage-tolerance = <1>; /* 1% */
5802c420 55 clocks = <&cpg CPG_CORE R8A7790_CLK_Z>;
b989e138 56 clock-latency = <300000>; /* 300 us */
4c8eb3c8 57 power-domains = <&sysc R8A7790_PD_CA15_CPU0>;
fb1cecd4 58 next-level-cache = <&L2_CA15>;
b989e138
BC
59
60 /* kHz - uV - OPPs unknown yet */
61 operating-points = <1400000 1000000>,
62 <1225000 1000000>,
63 <1050000 1000000>,
64 < 875000 1000000>,
65 < 700000 1000000>,
66 < 350000 1000000>;
0468b2d6 67 };
c1f95979
MD
68
69 cpu1: cpu@1 {
70 device_type = "cpu";
71 compatible = "arm,cortex-a15";
72 reg = <1>;
73 clock-frequency = <1300000000>;
4c8eb3c8 74 power-domains = <&sysc R8A7790_PD_CA15_CPU1>;
fb1cecd4 75 next-level-cache = <&L2_CA15>;
c1f95979
MD
76 };
77
78 cpu2: cpu@2 {
79 device_type = "cpu";
80 compatible = "arm,cortex-a15";
81 reg = <2>;
82 clock-frequency = <1300000000>;
4c8eb3c8 83 power-domains = <&sysc R8A7790_PD_CA15_CPU2>;
fb1cecd4 84 next-level-cache = <&L2_CA15>;
c1f95979
MD
85 };
86
87 cpu3: cpu@3 {
88 device_type = "cpu";
89 compatible = "arm,cortex-a15";
90 reg = <3>;
91 clock-frequency = <1300000000>;
4c8eb3c8 92 power-domains = <&sysc R8A7790_PD_CA15_CPU3>;
fb1cecd4 93 next-level-cache = <&L2_CA15>;
c1f95979 94 };
2007e74c 95
1eed15e4 96 cpu4: cpu@100 {
2007e74c
MD
97 device_type = "cpu";
98 compatible = "arm,cortex-a7";
99 reg = <0x100>;
100 clock-frequency = <780000000>;
4c8eb3c8 101 power-domains = <&sysc R8A7790_PD_CA7_CPU0>;
fb1cecd4 102 next-level-cache = <&L2_CA7>;
2007e74c
MD
103 };
104
1eed15e4 105 cpu5: cpu@101 {
2007e74c
MD
106 device_type = "cpu";
107 compatible = "arm,cortex-a7";
108 reg = <0x101>;
109 clock-frequency = <780000000>;
4c8eb3c8 110 power-domains = <&sysc R8A7790_PD_CA7_CPU1>;
fb1cecd4 111 next-level-cache = <&L2_CA7>;
2007e74c
MD
112 };
113
1eed15e4 114 cpu6: cpu@102 {
2007e74c
MD
115 device_type = "cpu";
116 compatible = "arm,cortex-a7";
117 reg = <0x102>;
118 clock-frequency = <780000000>;
4c8eb3c8 119 power-domains = <&sysc R8A7790_PD_CA7_CPU2>;
fb1cecd4 120 next-level-cache = <&L2_CA7>;
2007e74c
MD
121 };
122
1eed15e4 123 cpu7: cpu@103 {
2007e74c
MD
124 device_type = "cpu";
125 compatible = "arm,cortex-a7";
126 reg = <0x103>;
127 clock-frequency = <780000000>;
4c8eb3c8 128 power-domains = <&sysc R8A7790_PD_CA7_CPU3>;
fb1cecd4 129 next-level-cache = <&L2_CA7>;
2007e74c 130 };
2c3de367 131
d492909c 132 L2_CA15: cache-controller-0 {
2c3de367 133 compatible = "cache";
2c3de367
GU
134 power-domains = <&sysc R8A7790_PD_CA15_SCU>;
135 cache-unified;
136 cache-level = <2>;
137 };
138
d492909c 139 L2_CA7: cache-controller-1 {
2c3de367 140 compatible = "cache";
2c3de367
GU
141 power-domains = <&sysc R8A7790_PD_CA7_SCU>;
142 cache-unified;
143 cache-level = <2>;
144 };
0468b2d6
MD
145 };
146
a8b805f3
KM
147 thermal-zones {
148 cpu_thermal: cpu-thermal {
149 polling-delay-passive = <0>;
150 polling-delay = <0>;
151
152 thermal-sensors = <&thermal>;
153
154 trips {
155 cpu-crit {
156 temperature = <115000>;
157 hysteresis = <0>;
158 type = "critical";
159 };
160 };
161 cooling-maps {
162 };
163 };
164 };
165
dc378795
MD
166 apmu@e6151000 {
167 compatible = "renesas,r8a7790-apmu", "renesas,apmu";
168 reg = <0 0xe6151000 0 0x188>;
169 cpus = <&cpu4 &cpu5 &cpu6 &cpu7>;
170 };
171
172 apmu@e6152000 {
173 compatible = "renesas,r8a7790-apmu", "renesas,apmu";
174 reg = <0 0xe6152000 0 0x188>;
175 cpus = <&cpu0 &cpu1 &cpu2 &cpu3>;
176 };
177
0468b2d6 178 gic: interrupt-controller@f1001000 {
e715e9c5 179 compatible = "arm,gic-400";
0468b2d6
MD
180 #interrupt-cells = <3>;
181 #address-cells = <0>;
182 interrupt-controller;
8585deb1 183 reg = <0 0xf1001000 0 0x1000>,
387720c9 184 <0 0xf1002000 0 0x2000>,
8585deb1
TY
185 <0 0xf1004000 0 0x2000>,
186 <0 0xf1006000 0 0x2000>;
3abb4d5f 187 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
5802c420 188 clocks = <&cpg CPG_MOD 408>;
9e585236
GU
189 clock-names = "clk";
190 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0468b2d6
MD
191 };
192
23de2278 193 gpio0: gpio@e6050000 {
f98e10c8 194 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
23de2278 195 reg = <0 0xe6050000 0 0x50>;
3abb4d5f 196 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
f98e10c8
LP
197 #gpio-cells = <2>;
198 gpio-controller;
199 gpio-ranges = <&pfc 0 0 32>;
200 #interrupt-cells = <2>;
201 interrupt-controller;
5802c420 202 clocks = <&cpg CPG_MOD 912>;
36ee3c27 203 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
f98e10c8
LP
204 };
205
23de2278 206 gpio1: gpio@e6051000 {
f98e10c8 207 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
23de2278 208 reg = <0 0xe6051000 0 0x50>;
3abb4d5f 209 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
f98e10c8
LP
210 #gpio-cells = <2>;
211 gpio-controller;
56a2182f 212 gpio-ranges = <&pfc 0 32 30>;
f98e10c8
LP
213 #interrupt-cells = <2>;
214 interrupt-controller;
5802c420 215 clocks = <&cpg CPG_MOD 911>;
36ee3c27 216 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
f98e10c8
LP
217 };
218
23de2278 219 gpio2: gpio@e6052000 {
f98e10c8 220 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
23de2278 221 reg = <0 0xe6052000 0 0x50>;
3abb4d5f 222 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
f98e10c8
LP
223 #gpio-cells = <2>;
224 gpio-controller;
56a2182f 225 gpio-ranges = <&pfc 0 64 30>;
f98e10c8
LP
226 #interrupt-cells = <2>;
227 interrupt-controller;
5802c420 228 clocks = <&cpg CPG_MOD 910>;
36ee3c27 229 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
f98e10c8
LP
230 };
231
23de2278 232 gpio3: gpio@e6053000 {
f98e10c8 233 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
23de2278 234 reg = <0 0xe6053000 0 0x50>;
3abb4d5f 235 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
f98e10c8
LP
236 #gpio-cells = <2>;
237 gpio-controller;
238 gpio-ranges = <&pfc 0 96 32>;
239 #interrupt-cells = <2>;
240 interrupt-controller;
5802c420 241 clocks = <&cpg CPG_MOD 909>;
36ee3c27 242 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
f98e10c8
LP
243 };
244
23de2278 245 gpio4: gpio@e6054000 {
f98e10c8 246 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
23de2278 247 reg = <0 0xe6054000 0 0x50>;
3abb4d5f 248 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
f98e10c8
LP
249 #gpio-cells = <2>;
250 gpio-controller;
251 gpio-ranges = <&pfc 0 128 32>;
252 #interrupt-cells = <2>;
253 interrupt-controller;
5802c420 254 clocks = <&cpg CPG_MOD 908>;
36ee3c27 255 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
f98e10c8
LP
256 };
257
23de2278 258 gpio5: gpio@e6055000 {
f98e10c8 259 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
23de2278 260 reg = <0 0xe6055000 0 0x50>;
3abb4d5f 261 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
f98e10c8
LP
262 #gpio-cells = <2>;
263 gpio-controller;
264 gpio-ranges = <&pfc 0 160 32>;
265 #interrupt-cells = <2>;
266 interrupt-controller;
5802c420 267 clocks = <&cpg CPG_MOD 907>;
36ee3c27 268 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
f98e10c8
LP
269 };
270
a8b805f3
KM
271 thermal: thermal@e61f0000 {
272 compatible = "renesas,thermal-r8a7790",
273 "renesas,rcar-gen2-thermal",
274 "renesas,rcar-thermal";
03e2f56b 275 reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>;
3abb4d5f 276 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
5802c420 277 clocks = <&cpg CPG_MOD 522>;
36ee3c27 278 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
a8b805f3 279 #thermal-sensor-cells = <0>;
03e2f56b
MD
280 };
281
0468b2d6
MD
282 timer {
283 compatible = "arm,armv7-timer";
3abb4d5f
SH
284 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
285 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
286 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
287 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
0468b2d6 288 };
8f5ec0a5 289
39cf6d73 290 cmt0: timer@ffca0000 {
37757030 291 compatible = "renesas,cmt-48-r8a7790", "renesas,cmt-48-gen2";
39cf6d73 292 reg = <0 0xffca0000 0 0x1004>;
3abb4d5f
SH
293 interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
294 <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
5802c420 295 clocks = <&cpg CPG_MOD 124>;
39cf6d73 296 clock-names = "fck";
36ee3c27 297 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
39cf6d73
LP
298
299 renesas,channels-mask = <0x60>;
300
301 status = "disabled";
302 };
303
304 cmt1: timer@e6130000 {
37757030 305 compatible = "renesas,cmt-48-r8a7790", "renesas,cmt-48-gen2";
39cf6d73 306 reg = <0 0xe6130000 0 0x1004>;
3abb4d5f
SH
307 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
308 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
309 <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
310 <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
311 <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
312 <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
313 <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
314 <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
5802c420 315 clocks = <&cpg CPG_MOD 329>;
39cf6d73 316 clock-names = "fck";
36ee3c27 317 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
39cf6d73
LP
318
319 renesas,channels-mask = <0xff>;
320
321 status = "disabled";
322 };
323
8f5ec0a5 324 irqc0: interrupt-controller@e61c0000 {
220fc352 325 compatible = "renesas,irqc-r8a7790", "renesas,irqc";
8f5ec0a5
MD
326 #interrupt-cells = <2>;
327 interrupt-controller;
8585deb1 328 reg = <0 0xe61c0000 0 0x200>;
3abb4d5f
SH
329 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
330 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
331 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
332 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
5802c420 333 clocks = <&cpg CPG_MOD 407>;
36ee3c27 334 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
8f5ec0a5 335 };
8c9b1aa4 336
b9fea49c 337 dmac0: dma-controller@e6700000 {
4af0a664 338 compatible = "renesas,dmac-r8a7790", "renesas,rcar-dmac";
b9fea49c 339 reg = <0 0xe6700000 0 0x20000>;
3abb4d5f
SH
340 interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH
341 GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH
342 GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH
343 GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH
344 GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH
345 GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH
346 GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH
347 GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH
348 GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH
349 GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH
350 GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH
351 GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH
352 GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH
353 GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH
354 GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH
355 GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>;
b9fea49c
LP
356 interrupt-names = "error",
357 "ch0", "ch1", "ch2", "ch3",
358 "ch4", "ch5", "ch6", "ch7",
359 "ch8", "ch9", "ch10", "ch11",
360 "ch12", "ch13", "ch14";
5802c420 361 clocks = <&cpg CPG_MOD 219>;
b9fea49c 362 clock-names = "fck";
36ee3c27 363 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
b9fea49c
LP
364 #dma-cells = <1>;
365 dma-channels = <15>;
366 };
367
368 dmac1: dma-controller@e6720000 {
4af0a664 369 compatible = "renesas,dmac-r8a7790", "renesas,rcar-dmac";
b9fea49c 370 reg = <0 0xe6720000 0 0x20000>;
3abb4d5f
SH
371 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
372 GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
373 GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
374 GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
375 GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
376 GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
377 GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
378 GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
379 GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
380 GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
381 GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
382 GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
383 GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
384 GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
385 GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
386 GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>;
b9fea49c
LP
387 interrupt-names = "error",
388 "ch0", "ch1", "ch2", "ch3",
389 "ch4", "ch5", "ch6", "ch7",
390 "ch8", "ch9", "ch10", "ch11",
391 "ch12", "ch13", "ch14";
5802c420 392 clocks = <&cpg CPG_MOD 218>;
b9fea49c 393 clock-names = "fck";
36ee3c27 394 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
b9fea49c
LP
395 #dma-cells = <1>;
396 dma-channels = <15>;
397 };
ba3240be
KM
398
399 audma0: dma-controller@ec700000 {
4af0a664 400 compatible = "renesas,dmac-r8a7790", "renesas,rcar-dmac";
ba3240be 401 reg = <0 0xec700000 0 0x10000>;
3abb4d5f
SH
402 interrupts = <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH
403 GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH
404 GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH
405 GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH
406 GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH
407 GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH
408 GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH
409 GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH
410 GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH
411 GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH
412 GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH
413 GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH
414 GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH
415 GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>;
ba3240be
KM
416 interrupt-names = "error",
417 "ch0", "ch1", "ch2", "ch3",
418 "ch4", "ch5", "ch6", "ch7",
419 "ch8", "ch9", "ch10", "ch11",
420 "ch12";
5802c420 421 clocks = <&cpg CPG_MOD 502>;
ba3240be 422 clock-names = "fck";
36ee3c27 423 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
ba3240be
KM
424 #dma-cells = <1>;
425 dma-channels = <13>;
426 };
427
428 audma1: dma-controller@ec720000 {
4af0a664 429 compatible = "renesas,dmac-r8a7790", "renesas,rcar-dmac";
ba3240be 430 reg = <0 0xec720000 0 0x10000>;
3abb4d5f
SH
431 interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH
432 GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH
433 GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH
434 GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH
435 GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH
436 GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH
437 GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH
438 GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH
439 GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH
440 GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH
441 GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH
442 GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH
443 GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH
444 GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>;
ba3240be
KM
445 interrupt-names = "error",
446 "ch0", "ch1", "ch2", "ch3",
447 "ch4", "ch5", "ch6", "ch7",
448 "ch8", "ch9", "ch10", "ch11",
449 "ch12";
5802c420 450 clocks = <&cpg CPG_MOD 501>;
ba3240be 451 clock-names = "fck";
36ee3c27 452 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
ba3240be
KM
453 #dma-cells = <1>;
454 dma-channels = <13>;
455 };
456
a3ff2090 457 usb_dmac0: dma-controller@e65a0000 {
d01c8bec 458 compatible = "renesas,r8a7790-usb-dmac", "renesas,usb-dmac";
a3ff2090 459 reg = <0 0xe65a0000 0 0x100>;
3abb4d5f
SH
460 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH
461 GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
a3ff2090 462 interrupt-names = "ch0", "ch1";
5802c420 463 clocks = <&cpg CPG_MOD 330>;
36ee3c27 464 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
a3ff2090
YS
465 #dma-cells = <1>;
466 dma-channels = <2>;
467 };
468
469 usb_dmac1: dma-controller@e65b0000 {
d01c8bec 470 compatible = "renesas,r8a7790-usb-dmac", "renesas,usb-dmac";
a3ff2090 471 reg = <0 0xe65b0000 0 0x100>;
3abb4d5f
SH
472 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH
473 GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
a3ff2090 474 interrupt-names = "ch0", "ch1";
5802c420 475 clocks = <&cpg CPG_MOD 331>;
36ee3c27 476 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
a3ff2090
YS
477 #dma-cells = <1>;
478 dma-channels = <2>;
479 };
480
edd2b9f4
GL
481 i2c0: i2c@e6508000 {
482 #address-cells = <1>;
483 #size-cells = <0>;
82f8bfbe 484 compatible = "renesas,i2c-r8a7790", "renesas,rcar-gen2-i2c";
edd2b9f4 485 reg = <0 0xe6508000 0 0x40>;
3abb4d5f 486 interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
5802c420 487 clocks = <&cpg CPG_MOD 931>;
36ee3c27 488 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
ac8e7f31 489 i2c-scl-internal-delay-ns = <110>;
edd2b9f4
GL
490 status = "disabled";
491 };
492
493 i2c1: i2c@e6518000 {
494 #address-cells = <1>;
495 #size-cells = <0>;
82f8bfbe 496 compatible = "renesas,i2c-r8a7790", "renesas,rcar-gen2-i2c";
edd2b9f4 497 reg = <0 0xe6518000 0 0x40>;
3abb4d5f 498 interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
5802c420 499 clocks = <&cpg CPG_MOD 930>;
36ee3c27 500 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
ac8e7f31 501 i2c-scl-internal-delay-ns = <6>;
edd2b9f4
GL
502 status = "disabled";
503 };
504
505 i2c2: i2c@e6530000 {
506 #address-cells = <1>;
507 #size-cells = <0>;
82f8bfbe 508 compatible = "renesas,i2c-r8a7790", "renesas,rcar-gen2-i2c";
edd2b9f4 509 reg = <0 0xe6530000 0 0x40>;
3abb4d5f 510 interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
5802c420 511 clocks = <&cpg CPG_MOD 929>;
36ee3c27 512 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
ac8e7f31 513 i2c-scl-internal-delay-ns = <6>;
edd2b9f4
GL
514 status = "disabled";
515 };
516
517 i2c3: i2c@e6540000 {
518 #address-cells = <1>;
519 #size-cells = <0>;
82f8bfbe 520 compatible = "renesas,i2c-r8a7790", "renesas,rcar-gen2-i2c";
edd2b9f4 521 reg = <0 0xe6540000 0 0x40>;
3abb4d5f 522 interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
5802c420 523 clocks = <&cpg CPG_MOD 928>;
36ee3c27 524 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
ac8e7f31 525 i2c-scl-internal-delay-ns = <110>;
edd2b9f4
GL
526 status = "disabled";
527 };
528
05f39916
WS
529 iic0: i2c@e6500000 {
530 #address-cells = <1>;
531 #size-cells = <0>;
b8075eea
SH
532 compatible = "renesas,iic-r8a7790", "renesas,rcar-gen2-iic",
533 "renesas,rmobile-iic";
05f39916 534 reg = <0 0xe6500000 0 0x425>;
3abb4d5f 535 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
5802c420 536 clocks = <&cpg CPG_MOD 318>;
badf8570
NS
537 dmas = <&dmac0 0x61>, <&dmac0 0x62>,
538 <&dmac1 0x61>, <&dmac1 0x62>;
539 dma-names = "tx", "rx", "tx", "rx";
36ee3c27 540 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
05f39916
WS
541 status = "disabled";
542 };
543
544 iic1: i2c@e6510000 {
545 #address-cells = <1>;
546 #size-cells = <0>;
b8075eea
SH
547 compatible = "renesas,iic-r8a7790", "renesas,rcar-gen2-iic",
548 "renesas,rmobile-iic";
05f39916 549 reg = <0 0xe6510000 0 0x425>;
3abb4d5f 550 interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
5802c420 551 clocks = <&cpg CPG_MOD 323>;
badf8570
NS
552 dmas = <&dmac0 0x65>, <&dmac0 0x66>,
553 <&dmac1 0x65>, <&dmac1 0x66>;
554 dma-names = "tx", "rx", "tx", "rx";
36ee3c27 555 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
05f39916
WS
556 status = "disabled";
557 };
558
559 iic2: i2c@e6520000 {
560 #address-cells = <1>;
561 #size-cells = <0>;
b8075eea
SH
562 compatible = "renesas,iic-r8a7790", "renesas,rcar-gen2-iic",
563 "renesas,rmobile-iic";
05f39916 564 reg = <0 0xe6520000 0 0x425>;
3abb4d5f 565 interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
5802c420 566 clocks = <&cpg CPG_MOD 300>;
badf8570
NS
567 dmas = <&dmac0 0x69>, <&dmac0 0x6a>,
568 <&dmac1 0x69>, <&dmac1 0x6a>;
569 dma-names = "tx", "rx", "tx", "rx";
36ee3c27 570 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
05f39916
WS
571 status = "disabled";
572 };
573
574 iic3: i2c@e60b0000 {
575 #address-cells = <1>;
576 #size-cells = <0>;
b8075eea
SH
577 compatible = "renesas,iic-r8a7790", "renesas,rcar-gen2-iic",
578 "renesas,rmobile-iic";
05f39916 579 reg = <0 0xe60b0000 0 0x425>;
3abb4d5f 580 interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
5802c420 581 clocks = <&cpg CPG_MOD 926>;
badf8570
NS
582 dmas = <&dmac0 0x77>, <&dmac0 0x78>,
583 <&dmac1 0x77>, <&dmac1 0x78>;
584 dma-names = "tx", "rx", "tx", "rx";
36ee3c27 585 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
05f39916
WS
586 status = "disabled";
587 };
588
22c2b78d 589 mmcif0: mmc@ee200000 {
063e8560 590 compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif";
8c9b1aa4 591 reg = <0 0xee200000 0 0x80>;
3abb4d5f 592 interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
5802c420 593 clocks = <&cpg CPG_MOD 315>;
badf8570
NS
594 dmas = <&dmac0 0xd1>, <&dmac0 0xd2>,
595 <&dmac1 0xd1>, <&dmac1 0xd2>;
596 dma-names = "tx", "rx", "tx", "rx";
36ee3c27 597 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
8c9b1aa4
GL
598 reg-io-width = <4>;
599 status = "disabled";
96370057 600 max-frequency = <97500000>;
8c9b1aa4
GL
601 };
602
b718aa44 603 mmcif1: mmc@ee220000 {
063e8560 604 compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif";
8c9b1aa4 605 reg = <0 0xee220000 0 0x80>;
3abb4d5f 606 interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>;
5802c420 607 clocks = <&cpg CPG_MOD 305>;
badf8570
NS
608 dmas = <&dmac0 0xe1>, <&dmac0 0xe2>,
609 <&dmac1 0xe1>, <&dmac1 0xe2>;
610 dma-names = "tx", "rx", "tx", "rx";
36ee3c27 611 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
8c9b1aa4
GL
612 reg-io-width = <4>;
613 status = "disabled";
96370057 614 max-frequency = <97500000>;
8c9b1aa4
GL
615 };
616
a5f4ae3c 617 pfc: pin-controller@e6060000 {
9694c778
LP
618 compatible = "renesas,pfc-r8a7790";
619 reg = <0 0xe6060000 0 0x250>;
620 };
55689bfa 621
b718aa44 622 sdhi0: sd@ee100000 {
df1d0584 623 compatible = "renesas,sdhi-r8a7790";
66f47ed0 624 reg = <0 0xee100000 0 0x328>;
3abb4d5f 625 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
5802c420 626 clocks = <&cpg CPG_MOD 314>;
badf8570
NS
627 dmas = <&dmac0 0xcd>, <&dmac0 0xce>,
628 <&dmac1 0xcd>, <&dmac1 0xce>;
629 dma-names = "tx", "rx", "tx", "rx";
21c7d0fc 630 max-frequency = <195000000>;
36ee3c27 631 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
8c9b1aa4
GL
632 status = "disabled";
633 };
634
b718aa44 635 sdhi1: sd@ee120000 {
df1d0584 636 compatible = "renesas,sdhi-r8a7790";
66f47ed0 637 reg = <0 0xee120000 0 0x328>;
3abb4d5f 638 interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
5802c420 639 clocks = <&cpg CPG_MOD 313>;
badf8570
NS
640 dmas = <&dmac0 0xc9>, <&dmac0 0xca>,
641 <&dmac1 0xc9>, <&dmac1 0xca>;
642 dma-names = "tx", "rx", "tx", "rx";
21c7d0fc 643 max-frequency = <195000000>;
36ee3c27 644 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
8c9b1aa4
GL
645 status = "disabled";
646 };
647
b718aa44 648 sdhi2: sd@ee140000 {
df1d0584 649 compatible = "renesas,sdhi-r8a7790";
8c9b1aa4 650 reg = <0 0xee140000 0 0x100>;
3abb4d5f 651 interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
5802c420 652 clocks = <&cpg CPG_MOD 312>;
badf8570
NS
653 dmas = <&dmac0 0xc1>, <&dmac0 0xc2>,
654 <&dmac1 0xc1>, <&dmac1 0xc2>;
655 dma-names = "tx", "rx", "tx", "rx";
22f708b0 656 max-frequency = <97500000>;
36ee3c27 657 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
8c9b1aa4
GL
658 status = "disabled";
659 };
660
b718aa44 661 sdhi3: sd@ee160000 {
df1d0584 662 compatible = "renesas,sdhi-r8a7790";
8c9b1aa4 663 reg = <0 0xee160000 0 0x100>;
3abb4d5f 664 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
5802c420 665 clocks = <&cpg CPG_MOD 311>;
badf8570
NS
666 dmas = <&dmac0 0xd3>, <&dmac0 0xd4>,
667 <&dmac1 0xd3>, <&dmac1 0xd4>;
668 dma-names = "tx", "rx", "tx", "rx";
22f708b0 669 max-frequency = <97500000>;
36ee3c27 670 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
8c9b1aa4
GL
671 status = "disabled";
672 };
22a1f595 673
597af20f 674 scifa0: serial@e6c40000 {
a20dc9f2
GU
675 compatible = "renesas,scifa-r8a7790",
676 "renesas,rcar-gen2-scifa", "renesas,scifa";
597af20f 677 reg = <0 0xe6c40000 0 64>;
3abb4d5f 678 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
5802c420 679 clocks = <&cpg CPG_MOD 204>;
6c6e12a1 680 clock-names = "fck";
badf8570
NS
681 dmas = <&dmac0 0x21>, <&dmac0 0x22>,
682 <&dmac1 0x21>, <&dmac1 0x22>;
683 dma-names = "tx", "rx", "tx", "rx";
36ee3c27 684 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
597af20f
LP
685 status = "disabled";
686 };
687
688 scifa1: serial@e6c50000 {
a20dc9f2
GU
689 compatible = "renesas,scifa-r8a7790",
690 "renesas,rcar-gen2-scifa", "renesas,scifa";
597af20f 691 reg = <0 0xe6c50000 0 64>;
3abb4d5f 692 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
5802c420 693 clocks = <&cpg CPG_MOD 203>;
6c6e12a1 694 clock-names = "fck";
badf8570
NS
695 dmas = <&dmac0 0x25>, <&dmac0 0x26>,
696 <&dmac1 0x25>, <&dmac1 0x26>;
697 dma-names = "tx", "rx", "tx", "rx";
36ee3c27 698 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
597af20f
LP
699 status = "disabled";
700 };
701
702 scifa2: serial@e6c60000 {
a20dc9f2
GU
703 compatible = "renesas,scifa-r8a7790",
704 "renesas,rcar-gen2-scifa", "renesas,scifa";
597af20f 705 reg = <0 0xe6c60000 0 64>;
3abb4d5f 706 interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
5802c420 707 clocks = <&cpg CPG_MOD 202>;
6c6e12a1 708 clock-names = "fck";
badf8570
NS
709 dmas = <&dmac0 0x27>, <&dmac0 0x28>,
710 <&dmac1 0x27>, <&dmac1 0x28>;
711 dma-names = "tx", "rx", "tx", "rx";
36ee3c27 712 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
597af20f
LP
713 status = "disabled";
714 };
715
716 scifb0: serial@e6c20000 {
a20dc9f2
GU
717 compatible = "renesas,scifb-r8a7790",
718 "renesas,rcar-gen2-scifb", "renesas,scifb";
f31fbe83 719 reg = <0 0xe6c20000 0 0x100>;
3abb4d5f 720 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
5802c420 721 clocks = <&cpg CPG_MOD 206>;
6c6e12a1 722 clock-names = "fck";
badf8570
NS
723 dmas = <&dmac0 0x3d>, <&dmac0 0x3e>,
724 <&dmac1 0x3d>, <&dmac1 0x3e>;
725 dma-names = "tx", "rx", "tx", "rx";
36ee3c27 726 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
597af20f
LP
727 status = "disabled";
728 };
729
730 scifb1: serial@e6c30000 {
a20dc9f2
GU
731 compatible = "renesas,scifb-r8a7790",
732 "renesas,rcar-gen2-scifb", "renesas,scifb";
f31fbe83 733 reg = <0 0xe6c30000 0 0x100>;
3abb4d5f 734 interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
5802c420 735 clocks = <&cpg CPG_MOD 207>;
6c6e12a1 736 clock-names = "fck";
badf8570
NS
737 dmas = <&dmac0 0x19>, <&dmac0 0x1a>,
738 <&dmac1 0x19>, <&dmac1 0x1a>;
739 dma-names = "tx", "rx", "tx", "rx";
36ee3c27 740 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
597af20f
LP
741 status = "disabled";
742 };
743
744 scifb2: serial@e6ce0000 {
a20dc9f2
GU
745 compatible = "renesas,scifb-r8a7790",
746 "renesas,rcar-gen2-scifb", "renesas,scifb";
f31fbe83 747 reg = <0 0xe6ce0000 0 0x100>;
3abb4d5f 748 interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
5802c420 749 clocks = <&cpg CPG_MOD 216>;
6c6e12a1 750 clock-names = "fck";
badf8570
NS
751 dmas = <&dmac0 0x1d>, <&dmac0 0x1e>,
752 <&dmac1 0x1d>, <&dmac1 0x1e>;
753 dma-names = "tx", "rx", "tx", "rx";
36ee3c27 754 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
597af20f
LP
755 status = "disabled";
756 };
757
758 scif0: serial@e6e60000 {
a20dc9f2
GU
759 compatible = "renesas,scif-r8a7790", "renesas,rcar-gen2-scif",
760 "renesas,scif";
597af20f 761 reg = <0 0xe6e60000 0 64>;
3abb4d5f 762 interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
5802c420 763 clocks = <&cpg CPG_MOD 721>, <&cpg CPG_CORE R8A7790_CLK_ZS>,
42af65e8
GU
764 <&scif_clk>;
765 clock-names = "fck", "brg_int", "scif_clk";
badf8570
NS
766 dmas = <&dmac0 0x29>, <&dmac0 0x2a>,
767 <&dmac1 0x29>, <&dmac1 0x2a>;
768 dma-names = "tx", "rx", "tx", "rx";
36ee3c27 769 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
597af20f
LP
770 status = "disabled";
771 };
772
773 scif1: serial@e6e68000 {
a20dc9f2
GU
774 compatible = "renesas,scif-r8a7790", "renesas,rcar-gen2-scif",
775 "renesas,scif";
597af20f 776 reg = <0 0xe6e68000 0 64>;
3abb4d5f 777 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
5802c420 778 clocks = <&cpg CPG_MOD 720>, <&cpg CPG_CORE R8A7790_CLK_ZS>,
42af65e8
GU
779 <&scif_clk>;
780 clock-names = "fck", "brg_int", "scif_clk";
badf8570
NS
781 dmas = <&dmac0 0x2d>, <&dmac0 0x2e>,
782 <&dmac1 0x2d>, <&dmac1 0x2e>;
783 dma-names = "tx", "rx", "tx", "rx";
36ee3c27 784 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
597af20f
LP
785 status = "disabled";
786 };
787
022869a2
GU
788 scif2: serial@e6e56000 {
789 compatible = "renesas,scif-r8a7790", "renesas,rcar-gen2-scif",
790 "renesas,scif";
791 reg = <0 0xe6e56000 0 64>;
792 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
5802c420 793 clocks = <&cpg CPG_MOD 310>, <&cpg CPG_CORE R8A7790_CLK_ZS>,
022869a2
GU
794 <&scif_clk>;
795 clock-names = "fck", "brg_int", "scif_clk";
badf8570
NS
796 dmas = <&dmac0 0x2b>, <&dmac0 0x2c>,
797 <&dmac1 0x2b>, <&dmac1 0x2c>;
798 dma-names = "tx", "rx", "tx", "rx";
36ee3c27 799 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
022869a2
GU
800 status = "disabled";
801 };
802
597af20f 803 hscif0: serial@e62c0000 {
a20dc9f2
GU
804 compatible = "renesas,hscif-r8a7790",
805 "renesas,rcar-gen2-hscif", "renesas,hscif";
597af20f 806 reg = <0 0xe62c0000 0 96>;
3abb4d5f 807 interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
5802c420 808 clocks = <&cpg CPG_MOD 717>, <&cpg CPG_CORE R8A7790_CLK_ZS>,
42af65e8
GU
809 <&scif_clk>;
810 clock-names = "fck", "brg_int", "scif_clk";
badf8570
NS
811 dmas = <&dmac0 0x39>, <&dmac0 0x3a>,
812 <&dmac1 0x39>, <&dmac1 0x3a>;
813 dma-names = "tx", "rx", "tx", "rx";
36ee3c27 814 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
597af20f
LP
815 status = "disabled";
816 };
817
818 hscif1: serial@e62c8000 {
a20dc9f2
GU
819 compatible = "renesas,hscif-r8a7790",
820 "renesas,rcar-gen2-hscif", "renesas,hscif";
597af20f 821 reg = <0 0xe62c8000 0 96>;
3abb4d5f 822 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
5802c420 823 clocks = <&cpg CPG_MOD 716>, <&cpg CPG_CORE R8A7790_CLK_ZS>,
42af65e8
GU
824 <&scif_clk>;
825 clock-names = "fck", "brg_int", "scif_clk";
badf8570
NS
826 dmas = <&dmac0 0x4d>, <&dmac0 0x4e>,
827 <&dmac1 0x4d>, <&dmac1 0x4e>;
828 dma-names = "tx", "rx", "tx", "rx";
36ee3c27 829 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
597af20f
LP
830 status = "disabled";
831 };
832
c90715a3
GU
833 icram0: sram@e63a0000 {
834 compatible = "mmio-sram";
835 reg = <0 0xe63a0000 0 0x12000>;
836 };
837
838 icram1: sram@e63c0000 {
839 compatible = "mmio-sram";
840 reg = <0 0xe63c0000 0 0x1000>;
e6693869
GU
841 #address-cells = <1>;
842 #size-cells = <1>;
843 ranges = <0 0 0xe63c0000 0x1000>;
844
845 smp-sram@0 {
846 compatible = "renesas,smp-sram";
847 reg = <0 0x10>;
848 };
c90715a3
GU
849 };
850
d8913c67
SS
851 ether: ethernet@ee700000 {
852 compatible = "renesas,ether-r8a7790";
853 reg = <0 0xee700000 0 0x400>;
3abb4d5f 854 interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
5802c420 855 clocks = <&cpg CPG_MOD 813>;
36ee3c27 856 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
d8913c67
SS
857 phy-mode = "rmii";
858 #address-cells = <1>;
859 #size-cells = <0>;
860 status = "disabled";
861 };
862
f25d6b97 863 avb: ethernet@e6800000 {
d92df7e5
SH
864 compatible = "renesas,etheravb-r8a7790",
865 "renesas,etheravb-rcar-gen2";
f25d6b97 866 reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>;
3abb4d5f 867 interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
5802c420 868 clocks = <&cpg CPG_MOD 812>;
36ee3c27 869 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
f25d6b97
SS
870 #address-cells = <1>;
871 #size-cells = <0>;
872 status = "disabled";
873 };
874
cde630f7 875 sata0: sata@ee300000 {
faa63e83 876 compatible = "renesas,sata-r8a7790", "renesas,rcar-gen2-sata";
cde630f7 877 reg = <0 0xee300000 0 0x2000>;
3abb4d5f 878 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
5802c420 879 clocks = <&cpg CPG_MOD 815>;
36ee3c27 880 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
cde630f7
VB
881 status = "disabled";
882 };
883
884 sata1: sata@ee500000 {
faa63e83 885 compatible = "renesas,sata-r8a7790", "renesas,rcar-gen2-sata";
cde630f7 886 reg = <0 0xee500000 0 0x2000>;
3abb4d5f 887 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
5802c420 888 clocks = <&cpg CPG_MOD 814>;
36ee3c27 889 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
cde630f7
VB
890 status = "disabled";
891 };
892
ae0a555b 893 hsusb: usb@e6590000 {
d87ec94a 894 compatible = "renesas,usbhs-r8a7790", "renesas,rcar-gen2-usbhs";
ae0a555b 895 reg = <0 0xe6590000 0 0x100>;
3abb4d5f 896 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
5802c420 897 clocks = <&cpg CPG_MOD 704>;
e8295dc3
YS
898 dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
899 <&usb_dmac1 0>, <&usb_dmac1 1>;
900 dma-names = "ch0", "ch1", "ch2", "ch3";
36ee3c27 901 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
484adb00
GU
902 renesas,buswait = <4>;
903 phys = <&usb0 1>;
904 phy-names = "usb";
ae0a555b
YS
905 status = "disabled";
906 };
907
e089f657 908 usbphy: usb-phy@e6590100 {
3b0922c5
SH
909 compatible = "renesas,usb-phy-r8a7790",
910 "renesas,rcar-gen2-usb-phy";
e089f657
SS
911 reg = <0 0xe6590100 0 0x100>;
912 #address-cells = <1>;
913 #size-cells = <0>;
5802c420 914 clocks = <&cpg CPG_MOD 704>;
e089f657 915 clock-names = "usbhs";
36ee3c27 916 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
e089f657
SS
917 status = "disabled";
918
919 usb0: usb-channel@0 {
920 reg = <0>;
921 #phy-cells = <1>;
922 };
923 usb2: usb-channel@2 {
924 reg = <2>;
925 #phy-cells = <1>;
926 };
927 };
928
9f685bfc 929 vin0: video@e6ef0000 {
a94b9e56 930 compatible = "renesas,vin-r8a7790", "renesas,rcar-gen2-vin";
9f685bfc 931 reg = <0 0xe6ef0000 0 0x1000>;
3abb4d5f 932 interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
5802c420 933 clocks = <&cpg CPG_MOD 811>;
36ee3c27 934 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
9f685bfc
BD
935 status = "disabled";
936 };
937
938 vin1: video@e6ef1000 {
a94b9e56 939 compatible = "renesas,vin-r8a7790", "renesas,rcar-gen2-vin";
9f685bfc 940 reg = <0 0xe6ef1000 0 0x1000>;
3abb4d5f 941 interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
5802c420 942 clocks = <&cpg CPG_MOD 810>;
36ee3c27 943 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
9f685bfc
BD
944 status = "disabled";
945 };
946
947 vin2: video@e6ef2000 {
a94b9e56 948 compatible = "renesas,vin-r8a7790", "renesas,rcar-gen2-vin";
9f685bfc 949 reg = <0 0xe6ef2000 0 0x1000>;
3abb4d5f 950 interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
5802c420 951 clocks = <&cpg CPG_MOD 809>;
36ee3c27 952 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
9f685bfc
BD
953 status = "disabled";
954 };
955
956 vin3: video@e6ef3000 {
a94b9e56 957 compatible = "renesas,vin-r8a7790", "renesas,rcar-gen2-vin";
9f685bfc 958 reg = <0 0xe6ef3000 0 0x1000>;
3abb4d5f 959 interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
5802c420 960 clocks = <&cpg CPG_MOD 808>;
36ee3c27 961 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
9f685bfc
BD
962 status = "disabled";
963 };
964
3ac6a83c
LP
965 vsp1@fe920000 {
966 compatible = "renesas,vsp1";
967 reg = <0 0xfe920000 0 0x8000>;
3abb4d5f 968 interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
5802c420 969 clocks = <&cpg CPG_MOD 130>;
36ee3c27 970 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
3ac6a83c
LP
971 };
972
973 vsp1@fe928000 {
974 compatible = "renesas,vsp1";
975 reg = <0 0xfe928000 0 0x8000>;
3abb4d5f 976 interrupts = <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>;
5802c420 977 clocks = <&cpg CPG_MOD 131>;
36ee3c27 978 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
3ac6a83c
LP
979 };
980
981 vsp1@fe930000 {
982 compatible = "renesas,vsp1";
983 reg = <0 0xfe930000 0 0x8000>;
3abb4d5f 984 interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
5802c420 985 clocks = <&cpg CPG_MOD 128>;
36ee3c27 986 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
3ac6a83c
LP
987 };
988
989 vsp1@fe938000 {
990 compatible = "renesas,vsp1";
991 reg = <0 0xfe938000 0 0x8000>;
3abb4d5f 992 interrupts = <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>;
5802c420 993 clocks = <&cpg CPG_MOD 127>;
36ee3c27 994 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
3ac6a83c
LP
995 };
996
997 du: display@feb00000 {
998 compatible = "renesas,du-r8a7790";
999 reg = <0 0xfeb00000 0 0x70000>,
1000 <0 0xfeb90000 0 0x1c>,
1001 <0 0xfeb94000 0 0x1c>;
1002 reg-names = "du", "lvds.0", "lvds.1";
3abb4d5f
SH
1003 interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
1004 <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
1005 <GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH>;
5802c420
GU
1006 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>,
1007 <&cpg CPG_MOD 722>, <&cpg CPG_MOD 726>,
1008 <&cpg CPG_MOD 725>;
3ac6a83c
LP
1009 clock-names = "du.0", "du.1", "du.2", "lvds.0", "lvds.1";
1010 status = "disabled";
1011
1012 ports {
1013 #address-cells = <1>;
1014 #size-cells = <0>;
1015
1016 port@0 {
1017 reg = <0>;
1018 du_out_rgb: endpoint {
1019 };
1020 };
1021 port@1 {
1022 reg = <1>;
1023 du_out_lvds0: endpoint {
1024 };
1025 };
1026 port@2 {
1027 reg = <2>;
1028 du_out_lvds1: endpoint {
1029 };
1030 };
1031 };
1032 };
1033
6a7742b4 1034 can0: can@e6e80000 {
28e941de 1035 compatible = "renesas,can-r8a7790", "renesas,rcar-gen2-can";
6a7742b4 1036 reg = <0 0xe6e80000 0 0x1000>;
3abb4d5f 1037 interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
5802c420
GU
1038 clocks = <&cpg CPG_MOD 916>, <&cpg CPG_CORE R8A7790_CLK_RCAN>,
1039 <&can_clk>;
6a7742b4 1040 clock-names = "clkp1", "clkp2", "can_clk";
36ee3c27 1041 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
6a7742b4
SS
1042 status = "disabled";
1043 };
1044
1045 can1: can@e6e88000 {
28e941de 1046 compatible = "renesas,can-r8a7790", "renesas,rcar-gen2-can";
6a7742b4 1047 reg = <0 0xe6e88000 0 0x1000>;
3abb4d5f 1048 interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
5802c420
GU
1049 clocks = <&cpg CPG_MOD 915>, <&cpg CPG_CORE R8A7790_CLK_RCAN>,
1050 <&can_clk>;
6a7742b4 1051 clock-names = "clkp1", "clkp2", "can_clk";
36ee3c27 1052 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
6a7742b4
SS
1053 status = "disabled";
1054 };
1055
fb847575 1056 jpu: jpeg-codec@fe980000 {
1c4b68fd 1057 compatible = "renesas,jpu-r8a7790", "renesas,rcar-gen2-jpu";
fb847575 1058 reg = <0 0xfe980000 0 0x10300>;
3abb4d5f 1059 interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
5802c420 1060 clocks = <&cpg CPG_MOD 106>;
36ee3c27 1061 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
fb847575
MU
1062 };
1063
80e1a5f3
GU
1064 /* External root clock */
1065 extal_clk: extal {
1066 compatible = "fixed-clock";
1067 #clock-cells = <0>;
1068 /* This value must be overridden by the board. */
1069 clock-frequency = <0>;
1070 };
1071
1072 /* External PCIe clock - can be overridden by the board */
1073 pcie_bus_clk: pcie_bus {
1074 compatible = "fixed-clock";
1075 #clock-cells = <0>;
1076 clock-frequency = <0>;
1077 };
1078
1079 /*
1080 * The external audio clocks are configured as 0 Hz fixed frequency
1081 * clocks by default.
1082 * Boards that provide audio clocks should override them.
1083 */
1084 audio_clk_a: audio_clk_a {
1085 compatible = "fixed-clock";
1086 #clock-cells = <0>;
1087 clock-frequency = <0>;
1088 };
1089 audio_clk_b: audio_clk_b {
1090 compatible = "fixed-clock";
1091 #clock-cells = <0>;
1092 clock-frequency = <0>;
1093 };
1094 audio_clk_c: audio_clk_c {
1095 compatible = "fixed-clock";
1096 #clock-cells = <0>;
1097 clock-frequency = <0>;
1098 };
1099
1100 /* External SCIF clock */
1101 scif_clk: scif {
1102 compatible = "fixed-clock";
1103 #clock-cells = <0>;
1104 /* This value must be overridden by the board. */
1105 clock-frequency = <0>;
1106 };
1107
1108 /* External USB clock - can be overridden by the board */
1109 usb_extal_clk: usb_extal {
1110 compatible = "fixed-clock";
1111 #clock-cells = <0>;
1112 clock-frequency = <48000000>;
1113 };
1114
1115 /* External CAN clock */
1116 can_clk: can {
1117 compatible = "fixed-clock";
1118 #clock-cells = <0>;
1119 /* This value must be overridden by the board. */
1120 clock-frequency = <0>;
1121 };
1122
1123 cpg: clock-controller@e6150000 {
1124 compatible = "renesas,r8a7790-cpg-mssr";
1125 reg = <0 0xe6150000 0 0x1000>;
1126 clocks = <&extal_clk>, <&usb_extal_clk>;
1127 clock-names = "extal", "usb_extal";
1128 #clock-cells = <2>;
1129 #power-domain-cells = <0>;
22a1f595 1130 };
7053e134 1131
328f39b8
GU
1132 prr: chipid@ff000044 {
1133 compatible = "renesas,prr";
1134 reg = <0 0xff000044 0 4>;
1135 };
1136
dd2b267b
GU
1137 rst: reset-controller@e6160000 {
1138 compatible = "renesas,r8a7790-rst";
1139 reg = <0 0xe6160000 0 0x0100>;
1140 };
1141
4c8eb3c8
GU
1142 sysc: system-controller@e6180000 {
1143 compatible = "renesas,r8a7790-sysc";
1144 reg = <0 0xe6180000 0 0x0200>;
1145 #power-domain-cells = <1>;
1146 };
1147
fad6d45c 1148 qspi: spi@e6b10000 {
7053e134
GU
1149 compatible = "renesas,qspi-r8a7790", "renesas,qspi";
1150 reg = <0 0xe6b10000 0 0x2c>;
3abb4d5f 1151 interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
5802c420 1152 clocks = <&cpg CPG_MOD 917>;
badf8570
NS
1153 dmas = <&dmac0 0x17>, <&dmac0 0x18>,
1154 <&dmac1 0x17>, <&dmac1 0x18>;
1155 dma-names = "tx", "rx", "tx", "rx";
36ee3c27 1156 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
7053e134
GU
1157 num-cs = <1>;
1158 #address-cells = <1>;
1159 #size-cells = <0>;
1160 status = "disabled";
1161 };
ae8a6146
GU
1162
1163 msiof0: spi@e6e20000 {
654450ba
SH
1164 compatible = "renesas,msiof-r8a7790",
1165 "renesas,rcar-gen2-msiof";
c7d1f08a 1166 reg = <0 0xe6e20000 0 0x0064>;
3abb4d5f 1167 interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
5802c420 1168 clocks = <&cpg CPG_MOD 0>;
badf8570
NS
1169 dmas = <&dmac0 0x51>, <&dmac0 0x52>,
1170 <&dmac1 0x51>, <&dmac1 0x52>;
1171 dma-names = "tx", "rx", "tx", "rx";
36ee3c27 1172 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
ae8a6146
GU
1173 #address-cells = <1>;
1174 #size-cells = <0>;
1175 status = "disabled";
1176 };
1177
1178 msiof1: spi@e6e10000 {
654450ba
SH
1179 compatible = "renesas,msiof-r8a7790",
1180 "renesas,rcar-gen2-msiof";
c7d1f08a 1181 reg = <0 0xe6e10000 0 0x0064>;
3abb4d5f 1182 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
5802c420 1183 clocks = <&cpg CPG_MOD 208>;
badf8570
NS
1184 dmas = <&dmac0 0x55>, <&dmac0 0x56>,
1185 <&dmac1 0x55>, <&dmac1 0x56>;
1186 dma-names = "tx", "rx", "tx", "rx";
36ee3c27 1187 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
ae8a6146
GU
1188 #address-cells = <1>;
1189 #size-cells = <0>;
1190 status = "disabled";
1191 };
1192
1193 msiof2: spi@e6e00000 {
654450ba
SH
1194 compatible = "renesas,msiof-r8a7790",
1195 "renesas,rcar-gen2-msiof";
c7d1f08a 1196 reg = <0 0xe6e00000 0 0x0064>;
3abb4d5f 1197 interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
5802c420 1198 clocks = <&cpg CPG_MOD 205>;
badf8570
NS
1199 dmas = <&dmac0 0x41>, <&dmac0 0x42>,
1200 <&dmac1 0x41>, <&dmac1 0x42>;
1201 dma-names = "tx", "rx", "tx", "rx";
36ee3c27 1202 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
ae8a6146
GU
1203 #address-cells = <1>;
1204 #size-cells = <0>;
1205 status = "disabled";
1206 };
1207
1208 msiof3: spi@e6c90000 {
654450ba
SH
1209 compatible = "renesas,msiof-r8a7790",
1210 "renesas,rcar-gen2-msiof";
c7d1f08a 1211 reg = <0 0xe6c90000 0 0x0064>;
3abb4d5f 1212 interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
5802c420 1213 clocks = <&cpg CPG_MOD 215>;
badf8570
NS
1214 dmas = <&dmac0 0x45>, <&dmac0 0x46>,
1215 <&dmac1 0x45>, <&dmac1 0x46>;
1216 dma-names = "tx", "rx", "tx", "rx";
36ee3c27 1217 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
ae8a6146
GU
1218 #address-cells = <1>;
1219 #size-cells = <0>;
1220 status = "disabled";
1221 };
7df2fd57 1222
157fcd8a 1223 xhci: usb@ee000000 {
92cc7798 1224 compatible = "renesas,xhci-r8a7790", "renesas,rcar-gen2-xhci";
157fcd8a 1225 reg = <0 0xee000000 0 0xc00>;
3abb4d5f 1226 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
5802c420 1227 clocks = <&cpg CPG_MOD 328>;
36ee3c27 1228 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
157fcd8a
YS
1229 phys = <&usb2 1>;
1230 phy-names = "usb";
1231 status = "disabled";
1232 };
1233
ff4f3eb8 1234 pci0: pci@ee090000 {
2d82c144 1235 compatible = "renesas,pci-r8a7790", "renesas,pci-rcar-gen2";
ff4f3eb8 1236 device_type = "pci";
ff4f3eb8
BD
1237 reg = <0 0xee090000 0 0xc00>,
1238 <0 0xee080000 0 0x1100>;
3abb4d5f 1239 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
5802c420 1240 clocks = <&cpg CPG_MOD 703>;
36ee3c27 1241 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
ff4f3eb8
BD
1242 status = "disabled";
1243
1244 bus-range = <0 0>;
1245 #address-cells = <3>;
1246 #size-cells = <2>;
1247 #interrupt-cells = <1>;
1248 ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>;
1249 interrupt-map-mask = <0xff00 0 0 0x7>;
3abb4d5f
SH
1250 interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH
1251 0x0800 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH
1252 0x1000 0 0 2 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
538c40e5 1253
f7d569c1 1254 usb@1,0 {
538c40e5 1255 reg = <0x800 0 0 0 0>;
538c40e5
SS
1256 phys = <&usb0 0>;
1257 phy-names = "usb";
1258 };
1259
f7d569c1 1260 usb@2,0 {
538c40e5 1261 reg = <0x1000 0 0 0 0>;
538c40e5
SS
1262 phys = <&usb0 0>;
1263 phy-names = "usb";
1264 };
ff4f3eb8
BD
1265 };
1266
1267 pci1: pci@ee0b0000 {
2d82c144 1268 compatible = "renesas,pci-r8a7790", "renesas,pci-rcar-gen2";
ff4f3eb8 1269 device_type = "pci";
ff4f3eb8
BD
1270 reg = <0 0xee0b0000 0 0xc00>,
1271 <0 0xee0a0000 0 0x1100>;
3abb4d5f 1272 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
5802c420 1273 clocks = <&cpg CPG_MOD 703>;
36ee3c27 1274 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
ff4f3eb8
BD
1275 status = "disabled";
1276
1277 bus-range = <1 1>;
1278 #address-cells = <3>;
1279 #size-cells = <2>;
1280 #interrupt-cells = <1>;
1281 ranges = <0x02000000 0 0xee0a0000 0 0xee0a0000 0 0x00010000>;
1282 interrupt-map-mask = <0xff00 0 0 0x7>;
3abb4d5f
SH
1283 interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH
1284 0x0800 0 0 1 &gic GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH
1285 0x1000 0 0 2 &gic GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
ff4f3eb8
BD
1286 };
1287
1288 pci2: pci@ee0d0000 {
2d82c144 1289 compatible = "renesas,pci-r8a7790", "renesas,pci-rcar-gen2";
ff4f3eb8 1290 device_type = "pci";
5802c420 1291 clocks = <&cpg CPG_MOD 703>;
36ee3c27 1292 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
ff4f3eb8
BD
1293 reg = <0 0xee0d0000 0 0xc00>,
1294 <0 0xee0c0000 0 0x1100>;
3abb4d5f 1295 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
ff4f3eb8
BD
1296 status = "disabled";
1297
1298 bus-range = <2 2>;
1299 #address-cells = <3>;
1300 #size-cells = <2>;
1301 #interrupt-cells = <1>;
1302 ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>;
1303 interrupt-map-mask = <0xff00 0 0 0x7>;
3abb4d5f
SH
1304 interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH
1305 0x0800 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH
1306 0x1000 0 0 2 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
538c40e5 1307
f7d569c1
RH
1308 usb@1,0 {
1309 reg = <0x20800 0 0 0 0>;
538c40e5
SS
1310 phys = <&usb2 0>;
1311 phy-names = "usb";
1312 };
1313
f7d569c1
RH
1314 usb@2,0 {
1315 reg = <0x21000 0 0 0 0>;
538c40e5
SS
1316 phys = <&usb2 0>;
1317 phy-names = "usb";
1318 };
ff4f3eb8
BD
1319 };
1320
745329d2 1321 pciec: pcie@fe000000 {
e670be8d 1322 compatible = "renesas,pcie-r8a7790", "renesas,pcie-rcar-gen2";
745329d2
PE
1323 reg = <0 0xfe000000 0 0x80000>;
1324 #address-cells = <3>;
1325 #size-cells = <2>;
1326 bus-range = <0x00 0xff>;
1327 device_type = "pci";
1328 ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000
1329 0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000
1330 0x02000000 0 0x30000000 0 0x30000000 0 0x08000000
1331 0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
1332 /* Map all possible DDR as inbound ranges */
1333 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000
1334 0x43000000 1 0x80000000 1 0x80000000 0 0x80000000>;
3abb4d5f
SH
1335 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
1336 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
1337 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
745329d2
PE
1338 #interrupt-cells = <1>;
1339 interrupt-map-mask = <0 0 0 0>;
3abb4d5f 1340 interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
5802c420 1341 clocks = <&cpg CPG_MOD 319>, <&pcie_bus_clk>;
745329d2 1342 clock-names = "pcie", "pcie_bus";
36ee3c27 1343 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
745329d2
PE
1344 status = "disabled";
1345 };
1346
b694e380 1347 rcar_sound: sound@ec500000 {
ad63241c
KM
1348 /*
1349 * #sound-dai-cells is required
1350 *
1351 * Single DAI : #sound-dai-cells = <0>; <&rcar_sound>;
1352 * Multi DAI : #sound-dai-cells = <1>; <&rcar_sound N>;
1353 */
31078ecd 1354 compatible = "renesas,rcar_sound-r8a7790", "renesas,rcar_sound-gen2";
7df2fd57
KM
1355 reg = <0 0xec500000 0 0x1000>, /* SCU */
1356 <0 0xec5a0000 0 0x100>, /* ADG */
1357 <0 0xec540000 0 0x1000>, /* SSIU */
4bc4a205 1358 <0 0xec541000 0 0x280>, /* SSI */
0c602677
KM
1359 <0 0xec740000 0 0x200>; /* Audio DMAC peri peri*/
1360 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
46a158f2 1361
5802c420
GU
1362 clocks = <&cpg CPG_MOD 1005>,
1363 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
1364 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
1365 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
1366 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
1367 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
1368 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
1369 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
1370 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
1371 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
1372 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
1373 <&cpg CPG_MOD 1021>, <&cpg CPG_MOD 1020>,
1374 <&cpg CPG_MOD 1021>, <&cpg CPG_MOD 1020>,
1375 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
1376 <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>,
1377 <&cpg CPG_CORE R8A7790_CLK_M2>;
7df2fd57
KM
1378 clock-names = "ssi-all",
1379 "ssi.9", "ssi.8", "ssi.7", "ssi.6", "ssi.5",
1380 "ssi.4", "ssi.3", "ssi.2", "ssi.1", "ssi.0",
1381 "src.9", "src.8", "src.7", "src.6", "src.5",
1382 "src.4", "src.3", "src.2", "src.1", "src.0",
a7163784 1383 "ctu.0", "ctu.1",
fc67bf42 1384 "mix.0", "mix.1",
334d69a2 1385 "dvc.0", "dvc.1",
7df2fd57 1386 "clk_a", "clk_b", "clk_c", "clk_i";
36ee3c27 1387 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
7df2fd57
KM
1388
1389 status = "disabled";
1390
334d69a2 1391 rcar_sound,dvc {
2c3de367 1392 dvc0: dvc-0 {
c4a59df9 1393 dmas = <&audma1 0xbc>;
118a5093
KM
1394 dma-names = "tx";
1395 };
2c3de367 1396 dvc1: dvc-1 {
c4a59df9 1397 dmas = <&audma1 0xbe>;
118a5093
KM
1398 dma-names = "tx";
1399 };
334d69a2
KM
1400 };
1401
fc67bf42 1402 rcar_sound,mix {
2c3de367
GU
1403 mix0: mix-0 { };
1404 mix1: mix-1 { };
fc67bf42
KM
1405 };
1406
a7163784 1407 rcar_sound,ctu {
2c3de367
GU
1408 ctu00: ctu-0 { };
1409 ctu01: ctu-1 { };
1410 ctu02: ctu-2 { };
1411 ctu03: ctu-3 { };
1412 ctu10: ctu-4 { };
1413 ctu11: ctu-5 { };
1414 ctu12: ctu-6 { };
1415 ctu13: ctu-7 { };
a7163784
KM
1416 };
1417
7df2fd57 1418 rcar_sound,src {
2c3de367 1419 src0: src-0 {
3abb4d5f 1420 interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
118a5093
KM
1421 dmas = <&audma0 0x85>, <&audma1 0x9a>;
1422 dma-names = "rx", "tx";
1423 };
2c3de367 1424 src1: src-1 {
3abb4d5f 1425 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
118a5093
KM
1426 dmas = <&audma0 0x87>, <&audma1 0x9c>;
1427 dma-names = "rx", "tx";
1428 };
2c3de367 1429 src2: src-2 {
3abb4d5f 1430 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
118a5093
KM
1431 dmas = <&audma0 0x89>, <&audma1 0x9e>;
1432 dma-names = "rx", "tx";
1433 };
2c3de367 1434 src3: src-3 {
3abb4d5f 1435 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
118a5093
KM
1436 dmas = <&audma0 0x8b>, <&audma1 0xa0>;
1437 dma-names = "rx", "tx";
1438 };
2c3de367 1439 src4: src-4 {
3abb4d5f 1440 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
118a5093
KM
1441 dmas = <&audma0 0x8d>, <&audma1 0xb0>;
1442 dma-names = "rx", "tx";
1443 };
2c3de367 1444 src5: src-5 {
3abb4d5f 1445 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
118a5093
KM
1446 dmas = <&audma0 0x8f>, <&audma1 0xb2>;
1447 dma-names = "rx", "tx";
1448 };
2c3de367 1449 src6: src-6 {
3abb4d5f 1450 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
118a5093
KM
1451 dmas = <&audma0 0x91>, <&audma1 0xb4>;
1452 dma-names = "rx", "tx";
1453 };
2c3de367 1454 src7: src-7 {
3abb4d5f 1455 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
118a5093
KM
1456 dmas = <&audma0 0x93>, <&audma1 0xb6>;
1457 dma-names = "rx", "tx";
1458 };
2c3de367 1459 src8: src-8 {
3abb4d5f 1460 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
118a5093
KM
1461 dmas = <&audma0 0x95>, <&audma1 0xb8>;
1462 dma-names = "rx", "tx";
1463 };
2c3de367 1464 src9: src-9 {
3abb4d5f 1465 interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
118a5093
KM
1466 dmas = <&audma0 0x97>, <&audma1 0xba>;
1467 dma-names = "rx", "tx";
1468 };
7df2fd57
KM
1469 };
1470
1471 rcar_sound,ssi {
2c3de367 1472 ssi0: ssi-0 {
3abb4d5f 1473 interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
118a5093
KM
1474 dmas = <&audma0 0x01>, <&audma1 0x02>, <&audma0 0x15>, <&audma1 0x16>;
1475 dma-names = "rx", "tx", "rxu", "txu";
1476 };
2c3de367 1477 ssi1: ssi-1 {
3abb4d5f 1478 interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
118a5093
KM
1479 dmas = <&audma0 0x03>, <&audma1 0x04>, <&audma0 0x49>, <&audma1 0x4a>;
1480 dma-names = "rx", "tx", "rxu", "txu";
1481 };
2c3de367 1482 ssi2: ssi-2 {
3abb4d5f 1483 interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>;
118a5093
KM
1484 dmas = <&audma0 0x05>, <&audma1 0x06>, <&audma0 0x63>, <&audma1 0x64>;
1485 dma-names = "rx", "tx", "rxu", "txu";
1486 };
2c3de367 1487 ssi3: ssi-3 {
3abb4d5f 1488 interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
118a5093
KM
1489 dmas = <&audma0 0x07>, <&audma1 0x08>, <&audma0 0x6f>, <&audma1 0x70>;
1490 dma-names = "rx", "tx", "rxu", "txu";
1491 };
2c3de367 1492 ssi4: ssi-4 {
3abb4d5f 1493 interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
118a5093
KM
1494 dmas = <&audma0 0x09>, <&audma1 0x0a>, <&audma0 0x71>, <&audma1 0x72>;
1495 dma-names = "rx", "tx", "rxu", "txu";
1496 };
2c3de367 1497 ssi5: ssi-5 {
3abb4d5f 1498 interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
118a5093
KM
1499 dmas = <&audma0 0x0b>, <&audma1 0x0c>, <&audma0 0x73>, <&audma1 0x74>;
1500 dma-names = "rx", "tx", "rxu", "txu";
1501 };
2c3de367 1502 ssi6: ssi-6 {
3abb4d5f 1503 interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>;
118a5093
KM
1504 dmas = <&audma0 0x0d>, <&audma1 0x0e>, <&audma0 0x75>, <&audma1 0x76>;
1505 dma-names = "rx", "tx", "rxu", "txu";
1506 };
2c3de367 1507 ssi7: ssi-7 {
3abb4d5f 1508 interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>;
118a5093
KM
1509 dmas = <&audma0 0x0f>, <&audma1 0x10>, <&audma0 0x79>, <&audma1 0x7a>;
1510 dma-names = "rx", "tx", "rxu", "txu";
1511 };
2c3de367 1512 ssi8: ssi-8 {
3abb4d5f 1513 interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>;
118a5093
KM
1514 dmas = <&audma0 0x11>, <&audma1 0x12>, <&audma0 0x7b>, <&audma1 0x7c>;
1515 dma-names = "rx", "tx", "rxu", "txu";
1516 };
2c3de367 1517 ssi9: ssi-9 {
3abb4d5f 1518 interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
118a5093
KM
1519 dmas = <&audma0 0x13>, <&audma1 0x14>, <&audma0 0x7d>, <&audma1 0x7e>;
1520 dma-names = "rx", "tx", "rxu", "txu";
1521 };
7df2fd57
KM
1522 };
1523 };
70496727
LP
1524
1525 ipmmu_sy0: mmu@e6280000 {
c8d6686e 1526 compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa";
70496727 1527 reg = <0 0xe6280000 0 0x1000>;
3abb4d5f
SH
1528 interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>,
1529 <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>;
70496727
LP
1530 #iommu-cells = <1>;
1531 status = "disabled";
1532 };
1533
1534 ipmmu_sy1: mmu@e6290000 {
c8d6686e 1535 compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa";
70496727 1536 reg = <0 0xe6290000 0 0x1000>;
3abb4d5f 1537 interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>;
70496727
LP
1538 #iommu-cells = <1>;
1539 status = "disabled";
1540 };
1541
1542 ipmmu_ds: mmu@e6740000 {
c8d6686e 1543 compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa";
70496727 1544 reg = <0 0xe6740000 0 0x1000>;
3abb4d5f
SH
1545 interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>,
1546 <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>;
70496727
LP
1547 #iommu-cells = <1>;
1548 status = "disabled";
1549 };
1550
1551 ipmmu_mp: mmu@ec680000 {
c8d6686e 1552 compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa";
70496727 1553 reg = <0 0xec680000 0 0x1000>;
3abb4d5f 1554 interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
70496727
LP
1555 #iommu-cells = <1>;
1556 status = "disabled";
1557 };
1558
1559 ipmmu_mx: mmu@fe951000 {
c8d6686e 1560 compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa";
70496727 1561 reg = <0 0xfe951000 0 0x1000>;
3abb4d5f
SH
1562 interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>,
1563 <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
70496727
LP
1564 #iommu-cells = <1>;
1565 status = "disabled";
1566 };
1567
1568 ipmmu_rt: mmu@ffc80000 {
c8d6686e 1569 compatible = "renesas,ipmmu-r8a7790", "renesas,ipmmu-vmsa";
70496727 1570 reg = <0 0xffc80000 0 0x1000>;
3abb4d5f 1571 interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>;
70496727
LP
1572 #iommu-cells = <1>;
1573 status = "disabled";
1574 };
0468b2d6 1575};