blob: b679745001aa6a50f795ed93d6c75d4d3145fc2e [file] [log] [blame]
Biju Das9b33e302019-09-27 14:06:24 +01001// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for the r8a774b1 SoC
4 *
5 * Copyright (C) 2019 Renesas Electronics Corp.
6 */
7
8#include <dt-bindings/interrupt-controller/irq.h>
9#include <dt-bindings/interrupt-controller/arm-gic.h>
10#include <dt-bindings/clock/r8a774b1-cpg-mssr.h>
11#include <dt-bindings/power/r8a774b1-sysc.h>
12
13/ {
14 compatible = "renesas,r8a774b1";
15 #address-cells = <2>;
16 #size-cells = <2>;
17
18 /*
19 * The external audio clocks are configured as 0 Hz fixed frequency
20 * clocks by default.
21 * Boards that provide audio clocks should override them.
22 */
23 audio_clk_a: audio_clk_a {
24 compatible = "fixed-clock";
25 #clock-cells = <0>;
26 clock-frequency = <0>;
27 };
28
29 audio_clk_b: audio_clk_b {
30 compatible = "fixed-clock";
31 #clock-cells = <0>;
32 clock-frequency = <0>;
33 };
34
35 audio_clk_c: audio_clk_c {
36 compatible = "fixed-clock";
37 #clock-cells = <0>;
38 clock-frequency = <0>;
39 };
40
41 /* External CAN clock - to be overridden by boards that provide it */
42 can_clk: can {
43 compatible = "fixed-clock";
44 #clock-cells = <0>;
45 clock-frequency = <0>;
46 };
47
Biju Dasce21f292019-09-23 15:57:25 +010048 cluster0_opp: opp_table0 {
49 compatible = "operating-points-v2";
50 opp-shared;
51
52 opp-500000000 {
53 opp-hz = /bits/ 64 <500000000>;
54 opp-microvolt = <830000>;
55 clock-latency-ns = <300000>;
56 };
57 opp-1000000000 {
58 opp-hz = /bits/ 64 <1000000000>;
59 opp-microvolt = <830000>;
60 clock-latency-ns = <300000>;
61 };
62 opp-1500000000 {
63 opp-hz = /bits/ 64 <1500000000>;
64 opp-microvolt = <830000>;
65 clock-latency-ns = <300000>;
66 opp-suspend;
67 };
68 };
69
Biju Das9b33e302019-09-27 14:06:24 +010070 cpus {
71 #address-cells = <1>;
72 #size-cells = <0>;
73
74 a57_0: cpu@0 {
75 compatible = "arm,cortex-a57";
76 reg = <0x0>;
77 device_type = "cpu";
78 power-domains = <&sysc R8A774B1_PD_CA57_CPU0>;
79 next-level-cache = <&L2_CA57>;
80 enable-method = "psci";
81 #cooling-cells = <2>;
82 dynamic-power-coefficient = <854>;
83 clocks = <&cpg CPG_CORE R8A774B1_CLK_Z>;
Biju Dasce21f292019-09-23 15:57:25 +010084 operating-points-v2 = <&cluster0_opp>;
Biju Das9b33e302019-09-27 14:06:24 +010085 };
86
87 a57_1: cpu@1 {
88 compatible = "arm,cortex-a57";
89 reg = <0x1>;
90 device_type = "cpu";
91 power-domains = <&sysc R8A774B1_PD_CA57_CPU1>;
92 next-level-cache = <&L2_CA57>;
93 enable-method = "psci";
94 clocks = <&cpg CPG_CORE R8A774B1_CLK_Z>;
Biju Dasce21f292019-09-23 15:57:25 +010095 operating-points-v2 = <&cluster0_opp>;
Biju Das9b33e302019-09-27 14:06:24 +010096 };
97
98 L2_CA57: cache-controller-0 {
99 compatible = "cache";
100 power-domains = <&sysc R8A774B1_PD_CA57_SCU>;
101 cache-unified;
102 cache-level = <2>;
103 };
104 };
105
106 extal_clk: extal {
107 compatible = "fixed-clock";
108 #clock-cells = <0>;
109 /* This value must be overridden by the board */
110 clock-frequency = <0>;
111 };
112
113 extalr_clk: extalr {
114 compatible = "fixed-clock";
115 #clock-cells = <0>;
116 /* This value must be overridden by the board */
117 clock-frequency = <0>;
118 };
119
120 /* External PCIe clock - can be overridden by the board */
121 pcie_bus_clk: pcie_bus {
122 compatible = "fixed-clock";
123 #clock-cells = <0>;
124 clock-frequency = <0>;
125 };
126
127 pmu_a57 {
128 compatible = "arm,cortex-a57-pmu";
129 interrupts-extended = <&gic GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
130 <&gic GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
131 interrupt-affinity = <&a57_0>, <&a57_1>;
132 };
133
134 psci {
135 compatible = "arm,psci-1.0", "arm,psci-0.2";
136 method = "smc";
137 };
138
139 /* External SCIF clock - to be overridden by boards that provide it */
140 scif_clk: scif {
141 compatible = "fixed-clock";
142 #clock-cells = <0>;
143 clock-frequency = <0>;
144 };
145
146 soc {
147 compatible = "simple-bus";
148 interrupt-parent = <&gic>;
149 #address-cells = <2>;
150 #size-cells = <2>;
151 ranges;
152
153 rwdt: watchdog@e6020000 {
Fabrizio Castro7213aea2019-10-04 09:35:30 +0100154 compatible = "renesas,r8a774b1-wdt",
155 "renesas,rcar-gen3-wdt";
Biju Das9b33e302019-09-27 14:06:24 +0100156 reg = <0 0xe6020000 0 0x0c>;
Fabrizio Castro7213aea2019-10-04 09:35:30 +0100157 clocks = <&cpg CPG_MOD 402>;
158 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
159 resets = <&cpg 402>;
160 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +0100161 };
162
163 gpio0: gpio@e6050000 {
Biju Dasbbbb9192019-09-30 09:18:45 +0100164 compatible = "renesas,gpio-r8a774b1",
165 "renesas,rcar-gen3-gpio";
Biju Das9b33e302019-09-27 14:06:24 +0100166 reg = <0 0xe6050000 0 0x50>;
Biju Dasbbbb9192019-09-30 09:18:45 +0100167 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
Biju Das9b33e302019-09-27 14:06:24 +0100168 #gpio-cells = <2>;
169 gpio-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100170 gpio-ranges = <&pfc 0 0 16>;
Biju Das9b33e302019-09-27 14:06:24 +0100171 #interrupt-cells = <2>;
172 interrupt-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100173 clocks = <&cpg CPG_MOD 912>;
174 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
175 resets = <&cpg 912>;
Biju Das9b33e302019-09-27 14:06:24 +0100176 };
177
178 gpio1: gpio@e6051000 {
Biju Dasbbbb9192019-09-30 09:18:45 +0100179 compatible = "renesas,gpio-r8a774b1",
180 "renesas,rcar-gen3-gpio";
Biju Das9b33e302019-09-27 14:06:24 +0100181 reg = <0 0xe6051000 0 0x50>;
Biju Dasbbbb9192019-09-30 09:18:45 +0100182 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
Biju Das9b33e302019-09-27 14:06:24 +0100183 #gpio-cells = <2>;
184 gpio-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100185 gpio-ranges = <&pfc 0 32 29>;
Biju Das9b33e302019-09-27 14:06:24 +0100186 #interrupt-cells = <2>;
187 interrupt-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100188 clocks = <&cpg CPG_MOD 911>;
189 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
190 resets = <&cpg 911>;
Biju Das9b33e302019-09-27 14:06:24 +0100191 };
192
193 gpio2: gpio@e6052000 {
Biju Dasbbbb9192019-09-30 09:18:45 +0100194 compatible = "renesas,gpio-r8a774b1",
195 "renesas,rcar-gen3-gpio";
Biju Das9b33e302019-09-27 14:06:24 +0100196 reg = <0 0xe6052000 0 0x50>;
Biju Dasbbbb9192019-09-30 09:18:45 +0100197 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Biju Das9b33e302019-09-27 14:06:24 +0100198 #gpio-cells = <2>;
199 gpio-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100200 gpio-ranges = <&pfc 0 64 15>;
Biju Das9b33e302019-09-27 14:06:24 +0100201 #interrupt-cells = <2>;
202 interrupt-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100203 clocks = <&cpg CPG_MOD 910>;
204 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
205 resets = <&cpg 910>;
Biju Das9b33e302019-09-27 14:06:24 +0100206 };
207
208 gpio3: gpio@e6053000 {
Biju Dasbbbb9192019-09-30 09:18:45 +0100209 compatible = "renesas,gpio-r8a774b1",
210 "renesas,rcar-gen3-gpio";
Biju Das9b33e302019-09-27 14:06:24 +0100211 reg = <0 0xe6053000 0 0x50>;
Biju Dasbbbb9192019-09-30 09:18:45 +0100212 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
Biju Das9b33e302019-09-27 14:06:24 +0100213 #gpio-cells = <2>;
214 gpio-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100215 gpio-ranges = <&pfc 0 96 16>;
Biju Das9b33e302019-09-27 14:06:24 +0100216 #interrupt-cells = <2>;
217 interrupt-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100218 clocks = <&cpg CPG_MOD 909>;
219 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
220 resets = <&cpg 909>;
Biju Das9b33e302019-09-27 14:06:24 +0100221 };
222
223 gpio4: gpio@e6054000 {
Biju Dasbbbb9192019-09-30 09:18:45 +0100224 compatible = "renesas,gpio-r8a774b1",
225 "renesas,rcar-gen3-gpio";
Biju Das9b33e302019-09-27 14:06:24 +0100226 reg = <0 0xe6054000 0 0x50>;
Biju Dasbbbb9192019-09-30 09:18:45 +0100227 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
Biju Das9b33e302019-09-27 14:06:24 +0100228 #gpio-cells = <2>;
229 gpio-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100230 gpio-ranges = <&pfc 0 128 18>;
Biju Das9b33e302019-09-27 14:06:24 +0100231 #interrupt-cells = <2>;
232 interrupt-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100233 clocks = <&cpg CPG_MOD 908>;
234 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
235 resets = <&cpg 908>;
Biju Das9b33e302019-09-27 14:06:24 +0100236 };
237
238 gpio5: gpio@e6055000 {
Biju Dasbbbb9192019-09-30 09:18:45 +0100239 compatible = "renesas,gpio-r8a774b1",
240 "renesas,rcar-gen3-gpio";
Biju Das9b33e302019-09-27 14:06:24 +0100241 reg = <0 0xe6055000 0 0x50>;
Biju Dasbbbb9192019-09-30 09:18:45 +0100242 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
Biju Das9b33e302019-09-27 14:06:24 +0100243 #gpio-cells = <2>;
244 gpio-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100245 gpio-ranges = <&pfc 0 160 26>;
Biju Das9b33e302019-09-27 14:06:24 +0100246 #interrupt-cells = <2>;
247 interrupt-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100248 clocks = <&cpg CPG_MOD 907>;
249 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
250 resets = <&cpg 907>;
Biju Das9b33e302019-09-27 14:06:24 +0100251 };
252
253 gpio6: gpio@e6055400 {
Biju Dasbbbb9192019-09-30 09:18:45 +0100254 compatible = "renesas,gpio-r8a774b1",
255 "renesas,rcar-gen3-gpio";
Biju Das9b33e302019-09-27 14:06:24 +0100256 reg = <0 0xe6055400 0 0x50>;
Biju Dasbbbb9192019-09-30 09:18:45 +0100257 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
Biju Das9b33e302019-09-27 14:06:24 +0100258 #gpio-cells = <2>;
259 gpio-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100260 gpio-ranges = <&pfc 0 192 32>;
Biju Das9b33e302019-09-27 14:06:24 +0100261 #interrupt-cells = <2>;
262 interrupt-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100263 clocks = <&cpg CPG_MOD 906>;
264 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
265 resets = <&cpg 906>;
Biju Das9b33e302019-09-27 14:06:24 +0100266 };
267
268 gpio7: gpio@e6055800 {
Biju Dasbbbb9192019-09-30 09:18:45 +0100269 compatible = "renesas,gpio-r8a774b1",
270 "renesas,rcar-gen3-gpio";
Biju Das9b33e302019-09-27 14:06:24 +0100271 reg = <0 0xe6055800 0 0x50>;
Biju Dasbbbb9192019-09-30 09:18:45 +0100272 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
Biju Das9b33e302019-09-27 14:06:24 +0100273 #gpio-cells = <2>;
274 gpio-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100275 gpio-ranges = <&pfc 0 224 4>;
Biju Das9b33e302019-09-27 14:06:24 +0100276 #interrupt-cells = <2>;
277 interrupt-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100278 clocks = <&cpg CPG_MOD 905>;
279 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
280 resets = <&cpg 905>;
Biju Das9b33e302019-09-27 14:06:24 +0100281 };
282
283 pfc: pin-controller@e6060000 {
284 compatible = "renesas,pfc-r8a774b1";
285 reg = <0 0xe6060000 0 0x50c>;
286 };
287
Biju Das39040e82019-09-23 15:57:27 +0100288 cmt0: timer@e60f0000 {
289 compatible = "renesas,r8a774b1-cmt0",
290 "renesas,rcar-gen3-cmt0";
291 reg = <0 0xe60f0000 0 0x1004>;
292 interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
293 <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
294 clocks = <&cpg CPG_MOD 303>;
295 clock-names = "fck";
296 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
297 resets = <&cpg 303>;
298 status = "disabled";
299 };
300
301 cmt1: timer@e6130000 {
302 compatible = "renesas,r8a774b1-cmt1",
303 "renesas,rcar-gen3-cmt1";
304 reg = <0 0xe6130000 0 0x1004>;
305 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
306 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
307 <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
308 <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
309 <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
310 <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
311 <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
312 <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
313 clocks = <&cpg CPG_MOD 302>;
314 clock-names = "fck";
315 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
316 resets = <&cpg 302>;
317 status = "disabled";
318 };
319
320 cmt2: timer@e6140000 {
321 compatible = "renesas,r8a774b1-cmt1",
322 "renesas,rcar-gen3-cmt1";
323 reg = <0 0xe6140000 0 0x1004>;
324 interrupts = <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>,
325 <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>,
326 <GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>,
327 <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>,
328 <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>,
329 <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>,
330 <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>,
331 <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>;
332 clocks = <&cpg CPG_MOD 301>;
333 clock-names = "fck";
334 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
335 resets = <&cpg 301>;
336 status = "disabled";
337 };
338
339 cmt3: timer@e6148000 {
340 compatible = "renesas,r8a774b1-cmt1",
341 "renesas,rcar-gen3-cmt1";
342 reg = <0 0xe6148000 0 0x1004>;
343 interrupts = <GIC_SPI 470 IRQ_TYPE_LEVEL_HIGH>,
344 <GIC_SPI 471 IRQ_TYPE_LEVEL_HIGH>,
345 <GIC_SPI 472 IRQ_TYPE_LEVEL_HIGH>,
346 <GIC_SPI 473 IRQ_TYPE_LEVEL_HIGH>,
347 <GIC_SPI 474 IRQ_TYPE_LEVEL_HIGH>,
348 <GIC_SPI 475 IRQ_TYPE_LEVEL_HIGH>,
349 <GIC_SPI 476 IRQ_TYPE_LEVEL_HIGH>,
350 <GIC_SPI 477 IRQ_TYPE_LEVEL_HIGH>;
351 clocks = <&cpg CPG_MOD 300>;
352 clock-names = "fck";
353 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
354 resets = <&cpg 300>;
355 status = "disabled";
356 };
357
Biju Das9b33e302019-09-27 14:06:24 +0100358 cpg: clock-controller@e6150000 {
359 compatible = "renesas,r8a774b1-cpg-mssr";
360 reg = <0 0xe6150000 0 0x1000>;
361 clocks = <&extal_clk>, <&extalr_clk>;
362 clock-names = "extal", "extalr";
363 #clock-cells = <2>;
364 #power-domain-cells = <0>;
365 #reset-cells = <1>;
366 };
367
368 rst: reset-controller@e6160000 {
369 compatible = "renesas,r8a774b1-rst";
370 reg = <0 0xe6160000 0 0x0200>;
371 };
372
373 sysc: system-controller@e6180000 {
374 compatible = "renesas,r8a774b1-sysc";
375 reg = <0 0xe6180000 0 0x0400>;
376 #power-domain-cells = <1>;
377 };
378
Biju Das95b35472019-09-23 15:57:26 +0100379 tsc: thermal@e6198000 {
380 compatible = "renesas,r8a774b1-thermal";
381 reg = <0 0xe6198000 0 0x100>,
382 <0 0xe61a0000 0 0x100>,
383 <0 0xe61a8000 0 0x100>;
384 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
385 <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
386 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
387 clocks = <&cpg CPG_MOD 522>;
388 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
389 resets = <&cpg 522>;
390 #thermal-sensor-cells = <1>;
391 };
392
Biju Das928249b2019-09-23 15:57:28 +0100393 tmu0: timer@e61e0000 {
394 compatible = "renesas,tmu-r8a774b1", "renesas,tmu";
395 reg = <0 0xe61e0000 0 0x30>;
396 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
397 <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
398 <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
399 clocks = <&cpg CPG_MOD 125>;
400 clock-names = "fck";
401 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
402 resets = <&cpg 125>;
403 status = "disabled";
404 };
405
406 tmu1: timer@e6fc0000 {
407 compatible = "renesas,tmu-r8a774b1", "renesas,tmu";
408 reg = <0 0xe6fc0000 0 0x30>;
409 interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
410 <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
411 <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
412 clocks = <&cpg CPG_MOD 124>;
413 clock-names = "fck";
414 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
415 resets = <&cpg 124>;
416 status = "disabled";
417 };
418
419 tmu2: timer@e6fd0000 {
420 compatible = "renesas,tmu-r8a774b1", "renesas,tmu";
421 reg = <0 0xe6fd0000 0 0x30>;
422 interrupts = <GIC_SPI 303 IRQ_TYPE_LEVEL_HIGH>,
423 <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
424 <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
425 clocks = <&cpg CPG_MOD 123>;
426 clock-names = "fck";
427 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
428 resets = <&cpg 123>;
429 status = "disabled";
430 };
431
432 tmu3: timer@e6fe0000 {
433 compatible = "renesas,tmu-r8a774b1", "renesas,tmu";
434 reg = <0 0xe6fe0000 0 0x30>;
435 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
436 <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>,
437 <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
438 clocks = <&cpg CPG_MOD 122>;
439 clock-names = "fck";
440 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
441 resets = <&cpg 122>;
442 status = "disabled";
443 };
444
445 tmu4: timer@ffc00000 {
446 compatible = "renesas,tmu-r8a774b1", "renesas,tmu";
447 reg = <0 0xffc00000 0 0x30>;
448 interrupts = <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>,
449 <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>,
450 <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>;
451 clocks = <&cpg CPG_MOD 121>;
452 clock-names = "fck";
453 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
454 resets = <&cpg 121>;
455 status = "disabled";
456 };
457
Biju Das070302d2019-09-24 09:22:50 +0100458 i2c0: i2c@e6500000 {
459 #address-cells = <1>;
460 #size-cells = <0>;
461 compatible = "renesas,i2c-r8a774b1",
462 "renesas,rcar-gen3-i2c";
463 reg = <0 0xe6500000 0 0x40>;
464 interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
465 clocks = <&cpg CPG_MOD 931>;
466 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
467 resets = <&cpg 931>;
468 dmas = <&dmac1 0x91>, <&dmac1 0x90>,
469 <&dmac2 0x91>, <&dmac2 0x90>;
470 dma-names = "tx", "rx", "tx", "rx";
471 i2c-scl-internal-delay-ns = <110>;
472 status = "disabled";
473 };
474
475 i2c1: i2c@e6508000 {
476 #address-cells = <1>;
477 #size-cells = <0>;
478 compatible = "renesas,i2c-r8a774b1",
479 "renesas,rcar-gen3-i2c";
480 reg = <0 0xe6508000 0 0x40>;
481 interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
482 clocks = <&cpg CPG_MOD 930>;
483 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
484 resets = <&cpg 930>;
485 dmas = <&dmac1 0x93>, <&dmac1 0x92>,
486 <&dmac2 0x93>, <&dmac2 0x92>;
487 dma-names = "tx", "rx", "tx", "rx";
488 i2c-scl-internal-delay-ns = <6>;
489 status = "disabled";
490 };
491
492 i2c2: i2c@e6510000 {
493 #address-cells = <1>;
494 #size-cells = <0>;
495 compatible = "renesas,i2c-r8a774b1",
496 "renesas,rcar-gen3-i2c";
497 reg = <0 0xe6510000 0 0x40>;
498 interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
499 clocks = <&cpg CPG_MOD 929>;
500 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
501 resets = <&cpg 929>;
502 dmas = <&dmac1 0x95>, <&dmac1 0x94>,
503 <&dmac2 0x95>, <&dmac2 0x94>;
504 dma-names = "tx", "rx", "tx", "rx";
505 i2c-scl-internal-delay-ns = <6>;
506 status = "disabled";
507 };
508
509 i2c3: i2c@e66d0000 {
510 #address-cells = <1>;
511 #size-cells = <0>;
512 compatible = "renesas,i2c-r8a774b1",
513 "renesas,rcar-gen3-i2c";
514 reg = <0 0xe66d0000 0 0x40>;
515 interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
516 clocks = <&cpg CPG_MOD 928>;
517 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
518 resets = <&cpg 928>;
519 dmas = <&dmac0 0x97>, <&dmac0 0x96>;
520 dma-names = "tx", "rx";
521 i2c-scl-internal-delay-ns = <110>;
522 status = "disabled";
523 };
524
Biju Das9b33e302019-09-27 14:06:24 +0100525 i2c4: i2c@e66d8000 {
526 #address-cells = <1>;
527 #size-cells = <0>;
Biju Das070302d2019-09-24 09:22:50 +0100528 compatible = "renesas,i2c-r8a774b1",
529 "renesas,rcar-gen3-i2c";
Biju Das9b33e302019-09-27 14:06:24 +0100530 reg = <0 0xe66d8000 0 0x40>;
Biju Das070302d2019-09-24 09:22:50 +0100531 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
532 clocks = <&cpg CPG_MOD 927>;
533 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
534 resets = <&cpg 927>;
535 dmas = <&dmac0 0x99>, <&dmac0 0x98>;
536 dma-names = "tx", "rx";
537 i2c-scl-internal-delay-ns = <110>;
538 status = "disabled";
539 };
540
541 i2c5: i2c@e66e0000 {
542 #address-cells = <1>;
543 #size-cells = <0>;
544 compatible = "renesas,i2c-r8a774b1",
545 "renesas,rcar-gen3-i2c";
546 reg = <0 0xe66e0000 0 0x40>;
547 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
548 clocks = <&cpg CPG_MOD 919>;
549 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
550 resets = <&cpg 919>;
551 dmas = <&dmac0 0x9b>, <&dmac0 0x9a>;
552 dma-names = "tx", "rx";
553 i2c-scl-internal-delay-ns = <110>;
554 status = "disabled";
555 };
556
557 i2c6: i2c@e66e8000 {
558 #address-cells = <1>;
559 #size-cells = <0>;
560 compatible = "renesas,i2c-r8a774b1",
561 "renesas,rcar-gen3-i2c";
562 reg = <0 0xe66e8000 0 0x40>;
563 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
564 clocks = <&cpg CPG_MOD 918>;
565 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
566 resets = <&cpg 918>;
567 dmas = <&dmac0 0x9d>, <&dmac0 0x9c>;
568 dma-names = "tx", "rx";
569 i2c-scl-internal-delay-ns = <6>;
570 status = "disabled";
571 };
572
573 i2c_dvfs: i2c@e60b0000 {
574 #address-cells = <1>;
575 #size-cells = <0>;
576 compatible = "renesas,iic-r8a774b1",
577 "renesas,rcar-gen3-iic",
578 "renesas,rmobile-iic";
579 reg = <0 0xe60b0000 0 0x425>;
580 interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
581 clocks = <&cpg CPG_MOD 926>;
582 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
583 resets = <&cpg 926>;
584 dmas = <&dmac0 0x11>, <&dmac0 0x10>;
585 dma-names = "tx", "rx";
586 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +0100587 };
588
589 hscif0: serial@e6540000 {
Biju Das83e76202019-09-30 09:18:44 +0100590 compatible = "renesas,hscif-r8a774b1",
591 "renesas,rcar-gen3-hscif",
592 "renesas,hscif";
Biju Das9b33e302019-09-27 14:06:24 +0100593 reg = <0 0xe6540000 0 0x60>;
Biju Das83e76202019-09-30 09:18:44 +0100594 interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
595 clocks = <&cpg CPG_MOD 520>,
596 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
597 <&scif_clk>;
598 clock-names = "fck", "brg_int", "scif_clk";
599 dmas = <&dmac1 0x31>, <&dmac1 0x30>,
600 <&dmac2 0x31>, <&dmac2 0x30>;
601 dma-names = "tx", "rx", "tx", "rx";
602 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
603 resets = <&cpg 520>;
604 status = "disabled";
605 };
606
607 hscif1: serial@e6550000 {
608 compatible = "renesas,hscif-r8a774b1",
609 "renesas,rcar-gen3-hscif",
610 "renesas,hscif";
611 reg = <0 0xe6550000 0 0x60>;
612 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
613 clocks = <&cpg CPG_MOD 519>,
614 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
615 <&scif_clk>;
616 clock-names = "fck", "brg_int", "scif_clk";
617 dmas = <&dmac1 0x33>, <&dmac1 0x32>,
618 <&dmac2 0x33>, <&dmac2 0x32>;
619 dma-names = "tx", "rx", "tx", "rx";
620 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
621 resets = <&cpg 519>;
622 status = "disabled";
623 };
624
625 hscif2: serial@e6560000 {
626 compatible = "renesas,hscif-r8a774b1",
627 "renesas,rcar-gen3-hscif",
628 "renesas,hscif";
629 reg = <0 0xe6560000 0 0x60>;
630 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
631 clocks = <&cpg CPG_MOD 518>,
632 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
633 <&scif_clk>;
634 clock-names = "fck", "brg_int", "scif_clk";
635 dmas = <&dmac1 0x35>, <&dmac1 0x34>,
636 <&dmac2 0x35>, <&dmac2 0x34>;
637 dma-names = "tx", "rx", "tx", "rx";
638 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
639 resets = <&cpg 518>;
640 status = "disabled";
641 };
642
643 hscif3: serial@e66a0000 {
644 compatible = "renesas,hscif-r8a774b1",
645 "renesas,rcar-gen3-hscif",
646 "renesas,hscif";
647 reg = <0 0xe66a0000 0 0x60>;
648 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
649 clocks = <&cpg CPG_MOD 517>,
650 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
651 <&scif_clk>;
652 clock-names = "fck", "brg_int", "scif_clk";
653 dmas = <&dmac0 0x37>, <&dmac0 0x36>;
654 dma-names = "tx", "rx";
655 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
656 resets = <&cpg 517>;
657 status = "disabled";
658 };
659
660 hscif4: serial@e66b0000 {
661 compatible = "renesas,hscif-r8a774b1",
662 "renesas,rcar-gen3-hscif",
663 "renesas,hscif";
664 reg = <0 0xe66b0000 0 0x60>;
665 interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
666 clocks = <&cpg CPG_MOD 516>,
667 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
668 <&scif_clk>;
669 clock-names = "fck", "brg_int", "scif_clk";
670 dmas = <&dmac0 0x39>, <&dmac0 0x38>;
671 dma-names = "tx", "rx";
672 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
673 resets = <&cpg 516>;
674 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +0100675 };
676
677 hsusb: usb@e6590000 {
Fabrizio Castro34560ef2019-10-08 11:38:50 +0100678 compatible = "renesas,usbhs-r8a774b1",
679 "renesas,rcar-gen3-usbhs";
Biju Das9b33e302019-09-27 14:06:24 +0100680 reg = <0 0xe6590000 0 0x200>;
Fabrizio Castro34560ef2019-10-08 11:38:50 +0100681 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
682 clocks = <&cpg CPG_MOD 704>, <&cpg CPG_MOD 703>;
683 dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
684 <&usb_dmac1 0>, <&usb_dmac1 1>;
685 dma-names = "ch0", "ch1", "ch2", "ch3";
686 renesas,buswait = <11>;
687 phys = <&usb2_phy0 3>;
688 phy-names = "usb";
689 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
690 resets = <&cpg 704>, <&cpg 703>;
691 status = "disabled";
692 };
693
694 usb_dmac0: dma-controller@e65a0000 {
695 compatible = "renesas,r8a774b1-usb-dmac",
696 "renesas,usb-dmac";
697 reg = <0 0xe65a0000 0 0x100>;
698 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH
699 GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
700 interrupt-names = "ch0", "ch1";
701 clocks = <&cpg CPG_MOD 330>;
702 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
703 resets = <&cpg 330>;
704 #dma-cells = <1>;
705 dma-channels = <2>;
706 };
707
708 usb_dmac1: dma-controller@e65b0000 {
709 compatible = "renesas,r8a774b1-usb-dmac",
710 "renesas,usb-dmac";
711 reg = <0 0xe65b0000 0 0x100>;
712 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH
713 GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
714 interrupt-names = "ch0", "ch1";
715 clocks = <&cpg CPG_MOD 331>;
716 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
717 resets = <&cpg 331>;
718 #dma-cells = <1>;
719 dma-channels = <2>;
Biju Das9b33e302019-09-27 14:06:24 +0100720 };
721
722 usb3_phy0: usb-phy@e65ee000 {
Fabrizio Castro4ec25b32019-10-08 11:38:51 +0100723 compatible = "renesas,r8a774b1-usb3-phy",
724 "renesas,rcar-gen3-usb3-phy";
Biju Das9b33e302019-09-27 14:06:24 +0100725 reg = <0 0xe65ee000 0 0x90>;
Fabrizio Castro4ec25b32019-10-08 11:38:51 +0100726 clocks = <&cpg CPG_MOD 328>, <&usb3s0_clk>,
727 <&usb_extal_clk>;
728 clock-names = "usb3-if", "usb3s_clk", "usb_extal";
729 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
730 resets = <&cpg 328>;
Biju Das9b33e302019-09-27 14:06:24 +0100731 #phy-cells = <0>;
Fabrizio Castro4ec25b32019-10-08 11:38:51 +0100732 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +0100733 };
734
Biju Dasfd863e52019-09-30 09:18:43 +0100735 dmac0: dma-controller@e6700000 {
736 compatible = "renesas,dmac-r8a774b1",
737 "renesas,rcar-dmac";
738 reg = <0 0xe6700000 0 0x10000>;
739 interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH
740 GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH
741 GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH
742 GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH
743 GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH
744 GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH
745 GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH
746 GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH
747 GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH
748 GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH
749 GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH
750 GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH
751 GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH
752 GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH
753 GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH
754 GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH
755 GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
756 interrupt-names = "error",
757 "ch0", "ch1", "ch2", "ch3",
758 "ch4", "ch5", "ch6", "ch7",
759 "ch8", "ch9", "ch10", "ch11",
760 "ch12", "ch13", "ch14", "ch15";
761 clocks = <&cpg CPG_MOD 219>;
762 clock-names = "fck";
763 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
764 resets = <&cpg 219>;
765 #dma-cells = <1>;
766 dma-channels = <16>;
Biju Dasc6558892019-09-24 09:22:54 +0100767 iommus = <&ipmmu_ds0 0>, <&ipmmu_ds0 1>,
768 <&ipmmu_ds0 2>, <&ipmmu_ds0 3>,
769 <&ipmmu_ds0 4>, <&ipmmu_ds0 5>,
770 <&ipmmu_ds0 6>, <&ipmmu_ds0 7>,
771 <&ipmmu_ds0 8>, <&ipmmu_ds0 9>,
772 <&ipmmu_ds0 10>, <&ipmmu_ds0 11>,
773 <&ipmmu_ds0 12>, <&ipmmu_ds0 13>,
774 <&ipmmu_ds0 14>, <&ipmmu_ds0 15>;
Biju Dasfd863e52019-09-30 09:18:43 +0100775 };
776
777 dmac1: dma-controller@e7300000 {
778 compatible = "renesas,dmac-r8a774b1",
779 "renesas,rcar-dmac";
780 reg = <0 0xe7300000 0 0x10000>;
781 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
782 GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
783 GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
784 GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
785 GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
786 GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
787 GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
788 GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
789 GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
790 GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
791 GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
792 GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
793 GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
794 GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
795 GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
796 GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
797 GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>;
798 interrupt-names = "error",
799 "ch0", "ch1", "ch2", "ch3",
800 "ch4", "ch5", "ch6", "ch7",
801 "ch8", "ch9", "ch10", "ch11",
802 "ch12", "ch13", "ch14", "ch15";
803 clocks = <&cpg CPG_MOD 218>;
804 clock-names = "fck";
805 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
806 resets = <&cpg 218>;
807 #dma-cells = <1>;
808 dma-channels = <16>;
Biju Dasc6558892019-09-24 09:22:54 +0100809 iommus = <&ipmmu_ds1 0>, <&ipmmu_ds1 1>,
810 <&ipmmu_ds1 2>, <&ipmmu_ds1 3>,
811 <&ipmmu_ds1 4>, <&ipmmu_ds1 5>,
812 <&ipmmu_ds1 6>, <&ipmmu_ds1 7>,
813 <&ipmmu_ds1 8>, <&ipmmu_ds1 9>,
814 <&ipmmu_ds1 10>, <&ipmmu_ds1 11>,
815 <&ipmmu_ds1 12>, <&ipmmu_ds1 13>,
816 <&ipmmu_ds1 14>, <&ipmmu_ds1 15>;
Biju Dasfd863e52019-09-30 09:18:43 +0100817 };
818
819 dmac2: dma-controller@e7310000 {
820 compatible = "renesas,dmac-r8a774b1",
821 "renesas,rcar-dmac";
822 reg = <0 0xe7310000 0 0x10000>;
823 interrupts = <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH
824 GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH
825 GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH
826 GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH
827 GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH
828 GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH
829 GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH
830 GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH
831 GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH
832 GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH
833 GIC_SPI 426 IRQ_TYPE_LEVEL_HIGH
834 GIC_SPI 427 IRQ_TYPE_LEVEL_HIGH
835 GIC_SPI 428 IRQ_TYPE_LEVEL_HIGH
836 GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH
837 GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH
838 GIC_SPI 431 IRQ_TYPE_LEVEL_HIGH
839 GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>;
840 interrupt-names = "error",
841 "ch0", "ch1", "ch2", "ch3",
842 "ch4", "ch5", "ch6", "ch7",
843 "ch8", "ch9", "ch10", "ch11",
844 "ch12", "ch13", "ch14", "ch15";
845 clocks = <&cpg CPG_MOD 217>;
846 clock-names = "fck";
847 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
848 resets = <&cpg 217>;
849 #dma-cells = <1>;
850 dma-channels = <16>;
Biju Dasc6558892019-09-24 09:22:54 +0100851 iommus = <&ipmmu_ds1 16>, <&ipmmu_ds1 17>,
852 <&ipmmu_ds1 18>, <&ipmmu_ds1 19>,
853 <&ipmmu_ds1 20>, <&ipmmu_ds1 21>,
854 <&ipmmu_ds1 22>, <&ipmmu_ds1 23>,
855 <&ipmmu_ds1 24>, <&ipmmu_ds1 25>,
856 <&ipmmu_ds1 26>, <&ipmmu_ds1 27>,
857 <&ipmmu_ds1 28>, <&ipmmu_ds1 29>,
858 <&ipmmu_ds1 30>, <&ipmmu_ds1 31>;
Biju Dasfd863e52019-09-30 09:18:43 +0100859 };
860
Biju Das63093a82019-09-24 09:22:51 +0100861 ipmmu_ds0: mmu@e6740000 {
862 compatible = "renesas,ipmmu-r8a774b1";
863 reg = <0 0xe6740000 0 0x1000>;
864 renesas,ipmmu-main = <&ipmmu_mm 0>;
865 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
866 #iommu-cells = <1>;
867 };
868
869 ipmmu_ds1: mmu@e7740000 {
870 compatible = "renesas,ipmmu-r8a774b1";
871 reg = <0 0xe7740000 0 0x1000>;
872 renesas,ipmmu-main = <&ipmmu_mm 1>;
873 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
874 #iommu-cells = <1>;
875 };
876
877 ipmmu_hc: mmu@e6570000 {
878 compatible = "renesas,ipmmu-r8a774b1";
879 reg = <0 0xe6570000 0 0x1000>;
880 renesas,ipmmu-main = <&ipmmu_mm 2>;
881 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
882 #iommu-cells = <1>;
883 };
884
885 ipmmu_mm: mmu@e67b0000 {
886 compatible = "renesas,ipmmu-r8a774b1";
887 reg = <0 0xe67b0000 0 0x1000>;
888 interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
889 <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
890 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
891 #iommu-cells = <1>;
892 };
893
894 ipmmu_mp: mmu@ec670000 {
895 compatible = "renesas,ipmmu-r8a774b1";
896 reg = <0 0xec670000 0 0x1000>;
897 renesas,ipmmu-main = <&ipmmu_mm 4>;
898 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
899 #iommu-cells = <1>;
900 };
901
902 ipmmu_pv0: mmu@fd800000 {
903 compatible = "renesas,ipmmu-r8a774b1";
904 reg = <0 0xfd800000 0 0x1000>;
905 renesas,ipmmu-main = <&ipmmu_mm 6>;
906 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
907 #iommu-cells = <1>;
908 };
909
910 ipmmu_vc0: mmu@fe6b0000 {
911 compatible = "renesas,ipmmu-r8a774b1";
912 reg = <0 0xfe6b0000 0 0x1000>;
913 renesas,ipmmu-main = <&ipmmu_mm 12>;
914 power-domains = <&sysc R8A774B1_PD_A3VC>;
915 #iommu-cells = <1>;
916 };
917
918 ipmmu_vi0: mmu@febd0000 {
919 compatible = "renesas,ipmmu-r8a774b1";
920 reg = <0 0xfebd0000 0 0x1000>;
921 renesas,ipmmu-main = <&ipmmu_mm 14>;
922 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
923 #iommu-cells = <1>;
924 };
925
926 ipmmu_vp0: mmu@fe990000 {
927 compatible = "renesas,ipmmu-r8a774b1";
928 reg = <0 0xfe990000 0 0x1000>;
929 renesas,ipmmu-main = <&ipmmu_mm 16>;
930 power-domains = <&sysc R8A774B1_PD_A3VP>;
931 #iommu-cells = <1>;
932 };
933
Biju Das9b33e302019-09-27 14:06:24 +0100934 avb: ethernet@e6800000 {
Biju Dasc722d902019-09-30 09:18:46 +0100935 compatible = "renesas,etheravb-r8a774b1",
936 "renesas,etheravb-rcar-gen3";
Biju Das9b33e302019-09-27 14:06:24 +0100937 reg = <0 0xe6800000 0 0x800>;
Biju Dasc722d902019-09-30 09:18:46 +0100938 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
939 <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
940 <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
941 <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
942 <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
943 <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
944 <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
945 <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
946 <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
947 <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
948 <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
949 <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
950 <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
951 <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
952 <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
953 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
954 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
955 <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
956 <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
957 <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
958 <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
959 <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
960 <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
961 <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
962 <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
963 interrupt-names = "ch0", "ch1", "ch2", "ch3",
964 "ch4", "ch5", "ch6", "ch7",
965 "ch8", "ch9", "ch10", "ch11",
966 "ch12", "ch13", "ch14", "ch15",
967 "ch16", "ch17", "ch18", "ch19",
968 "ch20", "ch21", "ch22", "ch23",
969 "ch24";
970 clocks = <&cpg CPG_MOD 812>;
971 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
972 resets = <&cpg 812>;
973 phy-mode = "rgmii";
Biju Das79718f92019-09-24 09:22:55 +0100974 iommus = <&ipmmu_ds0 16>;
Biju Dasc722d902019-09-30 09:18:46 +0100975 #address-cells = <1>;
976 #size-cells = <0>;
977 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +0100978 };
979
980 can0: can@e6c30000 {
981 reg = <0 0xe6c30000 0 0x1000>;
982 /* placeholder */
983 };
984
985 can1: can@e6c38000 {
986 reg = <0 0xe6c38000 0 0x1000>;
987 /* placeholder */
988 };
989
990 canfd: can@e66c0000 {
991 reg = <0 0xe66c0000 0 0x8000>;
992 /* placeholder */
993 };
994
Biju Das68f62752019-10-02 16:20:16 +0100995 pwm0: pwm@e6e30000 {
996 compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
997 reg = <0 0xe6e30000 0 0x8>;
998 #pwm-cells = <2>;
999 clocks = <&cpg CPG_MOD 523>;
1000 resets = <&cpg 523>;
1001 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1002 status = "disabled";
1003 };
1004
1005 pwm1: pwm@e6e31000 {
1006 compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
1007 reg = <0 0xe6e31000 0 0x8>;
1008 #pwm-cells = <2>;
1009 clocks = <&cpg CPG_MOD 523>;
1010 resets = <&cpg 523>;
1011 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1012 status = "disabled";
1013 };
1014
1015 pwm2: pwm@e6e32000 {
1016 compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
1017 reg = <0 0xe6e32000 0 0x8>;
1018 #pwm-cells = <2>;
1019 clocks = <&cpg CPG_MOD 523>;
1020 resets = <&cpg 523>;
1021 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1022 status = "disabled";
1023 };
1024
1025 pwm3: pwm@e6e33000 {
1026 compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
1027 reg = <0 0xe6e33000 0 0x8>;
1028 #pwm-cells = <2>;
1029 clocks = <&cpg CPG_MOD 523>;
1030 resets = <&cpg 523>;
1031 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1032 status = "disabled";
1033 };
1034
1035 pwm4: pwm@e6e34000 {
1036 compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
1037 reg = <0 0xe6e34000 0 0x8>;
1038 #pwm-cells = <2>;
1039 clocks = <&cpg CPG_MOD 523>;
1040 resets = <&cpg 523>;
1041 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1042 status = "disabled";
1043 };
1044
1045 pwm5: pwm@e6e35000 {
1046 compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
1047 reg = <0 0xe6e35000 0 0x8>;
1048 #pwm-cells = <2>;
1049 clocks = <&cpg CPG_MOD 523>;
1050 resets = <&cpg 523>;
1051 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1052 status = "disabled";
1053 };
1054
1055 pwm6: pwm@e6e36000 {
1056 compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
1057 reg = <0 0xe6e36000 0 0x8>;
1058 #pwm-cells = <2>;
1059 clocks = <&cpg CPG_MOD 523>;
1060 resets = <&cpg 523>;
1061 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1062 status = "disabled";
1063 };
1064
Biju Das83e76202019-09-30 09:18:44 +01001065 scif0: serial@e6e60000 {
1066 compatible = "renesas,scif-r8a774b1",
1067 "renesas,rcar-gen3-scif", "renesas,scif";
1068 reg = <0 0xe6e60000 0 0x40>;
1069 interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
1070 clocks = <&cpg CPG_MOD 207>,
1071 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
1072 <&scif_clk>;
1073 clock-names = "fck", "brg_int", "scif_clk";
1074 dmas = <&dmac1 0x51>, <&dmac1 0x50>,
1075 <&dmac2 0x51>, <&dmac2 0x50>;
1076 dma-names = "tx", "rx", "tx", "rx";
1077 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1078 resets = <&cpg 207>;
1079 status = "disabled";
1080 };
1081
1082 scif1: serial@e6e68000 {
1083 compatible = "renesas,scif-r8a774b1",
1084 "renesas,rcar-gen3-scif", "renesas,scif";
1085 reg = <0 0xe6e68000 0 0x40>;
1086 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
1087 clocks = <&cpg CPG_MOD 206>,
1088 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
1089 <&scif_clk>;
1090 clock-names = "fck", "brg_int", "scif_clk";
1091 dmas = <&dmac1 0x53>, <&dmac1 0x52>,
1092 <&dmac2 0x53>, <&dmac2 0x52>;
1093 dma-names = "tx", "rx", "tx", "rx";
1094 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1095 resets = <&cpg 206>;
1096 status = "disabled";
1097 };
1098
Biju Das9b33e302019-09-27 14:06:24 +01001099 scif2: serial@e6e88000 {
1100 compatible = "renesas,scif-r8a774b1",
1101 "renesas,rcar-gen3-scif", "renesas,scif";
Biju Das83e76202019-09-30 09:18:44 +01001102 reg = <0 0xe6e88000 0 0x40>;
Biju Das9b33e302019-09-27 14:06:24 +01001103 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
1104 clocks = <&cpg CPG_MOD 310>,
1105 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
1106 <&scif_clk>;
1107 clock-names = "fck", "brg_int", "scif_clk";
Biju Das83e76202019-09-30 09:18:44 +01001108 dmas = <&dmac1 0x13>, <&dmac1 0x12>,
1109 <&dmac2 0x13>, <&dmac2 0x12>;
1110 dma-names = "tx", "rx", "tx", "rx";
Biju Das9b33e302019-09-27 14:06:24 +01001111 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1112 resets = <&cpg 310>;
1113 status = "disabled";
1114 };
1115
Biju Das83e76202019-09-30 09:18:44 +01001116 scif3: serial@e6c50000 {
1117 compatible = "renesas,scif-r8a774b1",
1118 "renesas,rcar-gen3-scif", "renesas,scif";
1119 reg = <0 0xe6c50000 0 0x40>;
1120 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
1121 clocks = <&cpg CPG_MOD 204>,
1122 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
1123 <&scif_clk>;
1124 clock-names = "fck", "brg_int", "scif_clk";
1125 dmas = <&dmac0 0x57>, <&dmac0 0x56>;
1126 dma-names = "tx", "rx";
1127 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1128 resets = <&cpg 204>;
1129 status = "disabled";
1130 };
1131
1132 scif4: serial@e6c40000 {
1133 compatible = "renesas,scif-r8a774b1",
1134 "renesas,rcar-gen3-scif", "renesas,scif";
1135 reg = <0 0xe6c40000 0 0x40>;
1136 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
1137 clocks = <&cpg CPG_MOD 203>,
1138 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
1139 <&scif_clk>;
1140 clock-names = "fck", "brg_int", "scif_clk";
1141 dmas = <&dmac0 0x59>, <&dmac0 0x58>;
1142 dma-names = "tx", "rx";
1143 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1144 resets = <&cpg 203>;
1145 status = "disabled";
1146 };
1147
1148 scif5: serial@e6f30000 {
1149 compatible = "renesas,scif-r8a774b1",
1150 "renesas,rcar-gen3-scif", "renesas,scif";
1151 reg = <0 0xe6f30000 0 0x40>;
1152 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
1153 clocks = <&cpg CPG_MOD 202>,
1154 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
1155 <&scif_clk>;
1156 clock-names = "fck", "brg_int", "scif_clk";
1157 dmas = <&dmac1 0x5b>, <&dmac1 0x5a>,
1158 <&dmac2 0x5b>, <&dmac2 0x5a>;
1159 dma-names = "tx", "rx", "tx", "rx";
1160 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1161 resets = <&cpg 202>;
1162 status = "disabled";
1163 };
1164
Fabrizio Castroc88657c2019-10-04 09:35:31 +01001165 msiof0: spi@e6e90000 {
1166 compatible = "renesas,msiof-r8a774b1",
1167 "renesas,rcar-gen3-msiof";
1168 reg = <0 0xe6e90000 0 0x0064>;
1169 interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
1170 clocks = <&cpg CPG_MOD 211>;
1171 dmas = <&dmac1 0x41>, <&dmac1 0x40>,
1172 <&dmac2 0x41>, <&dmac2 0x40>;
1173 dma-names = "tx", "rx", "tx", "rx";
1174 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1175 resets = <&cpg 211>;
1176 #address-cells = <1>;
1177 #size-cells = <0>;
1178 status = "disabled";
1179 };
1180
1181 msiof1: spi@e6ea0000 {
1182 compatible = "renesas,msiof-r8a774b1",
1183 "renesas,rcar-gen3-msiof";
1184 reg = <0 0xe6ea0000 0 0x0064>;
1185 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
1186 clocks = <&cpg CPG_MOD 210>;
1187 dmas = <&dmac1 0x43>, <&dmac1 0x42>,
1188 <&dmac2 0x43>, <&dmac2 0x42>;
1189 dma-names = "tx", "rx", "tx", "rx";
1190 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1191 resets = <&cpg 210>;
1192 #address-cells = <1>;
1193 #size-cells = <0>;
1194 status = "disabled";
1195 };
1196
1197 msiof2: spi@e6c00000 {
1198 compatible = "renesas,msiof-r8a774b1",
1199 "renesas,rcar-gen3-msiof";
1200 reg = <0 0xe6c00000 0 0x0064>;
1201 interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
1202 clocks = <&cpg CPG_MOD 209>;
1203 dmas = <&dmac0 0x45>, <&dmac0 0x44>;
1204 dma-names = "tx", "rx";
1205 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1206 resets = <&cpg 209>;
1207 #address-cells = <1>;
1208 #size-cells = <0>;
1209 status = "disabled";
1210 };
1211
1212 msiof3: spi@e6c10000 {
1213 compatible = "renesas,msiof-r8a774b1",
1214 "renesas,rcar-gen3-msiof";
1215 reg = <0 0xe6c10000 0 0x0064>;
1216 interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
1217 clocks = <&cpg CPG_MOD 208>;
1218 dmas = <&dmac0 0x47>, <&dmac0 0x46>;
1219 dma-names = "tx", "rx";
1220 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1221 resets = <&cpg 208>;
1222 #address-cells = <1>;
1223 #size-cells = <0>;
1224 status = "disabled";
1225 };
1226
Biju Das9b33e302019-09-27 14:06:24 +01001227 rcar_sound: sound@ec500000 {
Biju Das067eca62019-10-04 15:52:41 +01001228 /*
1229 * #sound-dai-cells is required
1230 *
1231 * Single DAI : #sound-dai-cells = <0>; <&rcar_sound>;
1232 * Multi DAI : #sound-dai-cells = <1>; <&rcar_sound N>;
1233 */
1234 /*
1235 * #clock-cells is required for audio_clkout0/1/2/3
1236 *
1237 * clkout : #clock-cells = <0>; <&rcar_sound>;
1238 * clkout0/1/2/3: #clock-cells = <1>; <&rcar_sound N>;
1239 */
1240 compatible = "renesas,rcar_sound-r8a774b1", "renesas,rcar_sound-gen3";
Biju Das9b33e302019-09-27 14:06:24 +01001241 reg = <0 0xec500000 0 0x1000>, /* SCU */
1242 <0 0xec5a0000 0 0x100>, /* ADG */
1243 <0 0xec540000 0 0x1000>, /* SSIU */
1244 <0 0xec541000 0 0x280>, /* SSI */
1245 <0 0xec760000 0 0x200>; /* Audio DMAC peri peri*/
Biju Das067eca62019-10-04 15:52:41 +01001246 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
1247
1248 clocks = <&cpg CPG_MOD 1005>,
1249 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
1250 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
1251 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
1252 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
1253 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
1254 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
1255 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
1256 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
1257 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
1258 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
1259 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
1260 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
1261 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
1262 <&audio_clk_a>, <&audio_clk_b>,
1263 <&audio_clk_c>,
1264 <&cpg CPG_CORE R8A774B1_CLK_S0D4>;
1265 clock-names = "ssi-all",
1266 "ssi.9", "ssi.8", "ssi.7", "ssi.6",
1267 "ssi.5", "ssi.4", "ssi.3", "ssi.2",
1268 "ssi.1", "ssi.0",
1269 "src.9", "src.8", "src.7", "src.6",
1270 "src.5", "src.4", "src.3", "src.2",
1271 "src.1", "src.0",
1272 "mix.1", "mix.0",
1273 "ctu.1", "ctu.0",
1274 "dvc.0", "dvc.1",
1275 "clk_a", "clk_b", "clk_c", "clk_i";
1276 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1277 resets = <&cpg 1005>,
1278 <&cpg 1006>, <&cpg 1007>,
1279 <&cpg 1008>, <&cpg 1009>,
1280 <&cpg 1010>, <&cpg 1011>,
1281 <&cpg 1012>, <&cpg 1013>,
1282 <&cpg 1014>, <&cpg 1015>;
1283 reset-names = "ssi-all",
1284 "ssi.9", "ssi.8", "ssi.7", "ssi.6",
1285 "ssi.5", "ssi.4", "ssi.3", "ssi.2",
1286 "ssi.1", "ssi.0";
1287 status = "disabled";
1288
1289 rcar_sound,ctu {
1290 ctu00: ctu-0 { };
1291 ctu01: ctu-1 { };
1292 ctu02: ctu-2 { };
1293 ctu03: ctu-3 { };
1294 ctu10: ctu-4 { };
1295 ctu11: ctu-5 { };
1296 ctu12: ctu-6 { };
1297 ctu13: ctu-7 { };
1298 };
1299
1300 rcar_sound,dvc {
1301 dvc0: dvc-0 {
1302 dmas = <&audma1 0xbc>;
1303 dma-names = "tx";
1304 };
1305 dvc1: dvc-1 {
1306 dmas = <&audma1 0xbe>;
1307 dma-names = "tx";
1308 };
1309 };
1310
1311 rcar_sound,mix {
1312 mix0: mix-0 { };
1313 mix1: mix-1 { };
1314 };
1315
1316 rcar_sound,src {
1317 src0: src-0 {
1318 interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
1319 dmas = <&audma0 0x85>, <&audma1 0x9a>;
1320 dma-names = "rx", "tx";
1321 };
1322 src1: src-1 {
1323 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1324 dmas = <&audma0 0x87>, <&audma1 0x9c>;
1325 dma-names = "rx", "tx";
1326 };
1327 src2: src-2 {
1328 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1329 dmas = <&audma0 0x89>, <&audma1 0x9e>;
1330 dma-names = "rx", "tx";
1331 };
1332 src3: src-3 {
1333 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1334 dmas = <&audma0 0x8b>, <&audma1 0xa0>;
1335 dma-names = "rx", "tx";
1336 };
1337 src4: src-4 {
1338 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1339 dmas = <&audma0 0x8d>, <&audma1 0xb0>;
1340 dma-names = "rx", "tx";
1341 };
1342 src5: src-5 {
1343 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1344 dmas = <&audma0 0x8f>, <&audma1 0xb2>;
1345 dma-names = "rx", "tx";
1346 };
1347 src6: src-6 {
1348 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1349 dmas = <&audma0 0x91>, <&audma1 0xb4>;
1350 dma-names = "rx", "tx";
1351 };
1352 src7: src-7 {
1353 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1354 dmas = <&audma0 0x93>, <&audma1 0xb6>;
1355 dma-names = "rx", "tx";
1356 };
1357 src8: src-8 {
1358 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1359 dmas = <&audma0 0x95>, <&audma1 0xb8>;
1360 dma-names = "rx", "tx";
1361 };
1362 src9: src-9 {
1363 interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
1364 dmas = <&audma0 0x97>, <&audma1 0xba>;
1365 dma-names = "rx", "tx";
1366 };
1367 };
Biju Das9b33e302019-09-27 14:06:24 +01001368
1369 rcar_sound,ssi {
Biju Das067eca62019-10-04 15:52:41 +01001370 ssi0: ssi-0 {
1371 interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
1372 dmas = <&audma0 0x01>, <&audma1 0x02>;
1373 dma-names = "rx", "tx";
1374 };
1375 ssi1: ssi-1 {
1376 interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
1377 dmas = <&audma0 0x03>, <&audma1 0x04>;
1378 dma-names = "rx", "tx";
1379 };
1380 ssi2: ssi-2 {
1381 interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>;
1382 dmas = <&audma0 0x05>, <&audma1 0x06>;
1383 dma-names = "rx", "tx";
1384 };
1385 ssi3: ssi-3 {
1386 interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
1387 dmas = <&audma0 0x07>, <&audma1 0x08>;
1388 dma-names = "rx", "tx";
1389 };
1390 ssi4: ssi-4 {
1391 interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
1392 dmas = <&audma0 0x09>, <&audma1 0x0a>;
1393 dma-names = "rx", "tx";
1394 };
1395 ssi5: ssi-5 {
1396 interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
1397 dmas = <&audma0 0x0b>, <&audma1 0x0c>;
1398 dma-names = "rx", "tx";
1399 };
1400 ssi6: ssi-6 {
1401 interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>;
1402 dmas = <&audma0 0x0d>, <&audma1 0x0e>;
1403 dma-names = "rx", "tx";
1404 };
1405 ssi7: ssi-7 {
1406 interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>;
1407 dmas = <&audma0 0x0f>, <&audma1 0x10>;
1408 dma-names = "rx", "tx";
1409 };
1410 ssi8: ssi-8 {
1411 interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>;
1412 dmas = <&audma0 0x11>, <&audma1 0x12>;
1413 dma-names = "rx", "tx";
1414 };
1415 ssi9: ssi-9 {
1416 interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
1417 dmas = <&audma0 0x13>, <&audma1 0x14>;
1418 dma-names = "rx", "tx";
1419 };
Biju Das9b33e302019-09-27 14:06:24 +01001420 };
Biju Das067eca62019-10-04 15:52:41 +01001421
1422 rcar_sound,ssiu {
1423 ssiu00: ssiu-0 {
1424 dmas = <&audma0 0x15>, <&audma1 0x16>;
1425 dma-names = "rx", "tx";
1426 };
1427 ssiu01: ssiu-1 {
1428 dmas = <&audma0 0x35>, <&audma1 0x36>;
1429 dma-names = "rx", "tx";
1430 };
1431 ssiu02: ssiu-2 {
1432 dmas = <&audma0 0x37>, <&audma1 0x38>;
1433 dma-names = "rx", "tx";
1434 };
1435 ssiu03: ssiu-3 {
1436 dmas = <&audma0 0x47>, <&audma1 0x48>;
1437 dma-names = "rx", "tx";
1438 };
1439 ssiu04: ssiu-4 {
1440 dmas = <&audma0 0x3F>, <&audma1 0x40>;
1441 dma-names = "rx", "tx";
1442 };
1443 ssiu05: ssiu-5 {
1444 dmas = <&audma0 0x43>, <&audma1 0x44>;
1445 dma-names = "rx", "tx";
1446 };
1447 ssiu06: ssiu-6 {
1448 dmas = <&audma0 0x4F>, <&audma1 0x50>;
1449 dma-names = "rx", "tx";
1450 };
1451 ssiu07: ssiu-7 {
1452 dmas = <&audma0 0x53>, <&audma1 0x54>;
1453 dma-names = "rx", "tx";
1454 };
1455 ssiu10: ssiu-8 {
1456 dmas = <&audma0 0x49>, <&audma1 0x4a>;
1457 dma-names = "rx", "tx";
1458 };
1459 ssiu11: ssiu-9 {
1460 dmas = <&audma0 0x4B>, <&audma1 0x4C>;
1461 dma-names = "rx", "tx";
1462 };
1463 ssiu12: ssiu-10 {
1464 dmas = <&audma0 0x57>, <&audma1 0x58>;
1465 dma-names = "rx", "tx";
1466 };
1467 ssiu13: ssiu-11 {
1468 dmas = <&audma0 0x59>, <&audma1 0x5A>;
1469 dma-names = "rx", "tx";
1470 };
1471 ssiu14: ssiu-12 {
1472 dmas = <&audma0 0x5F>, <&audma1 0x60>;
1473 dma-names = "rx", "tx";
1474 };
1475 ssiu15: ssiu-13 {
1476 dmas = <&audma0 0xC3>, <&audma1 0xC4>;
1477 dma-names = "rx", "tx";
1478 };
1479 ssiu16: ssiu-14 {
1480 dmas = <&audma0 0xC7>, <&audma1 0xC8>;
1481 dma-names = "rx", "tx";
1482 };
1483 ssiu17: ssiu-15 {
1484 dmas = <&audma0 0xCB>, <&audma1 0xCC>;
1485 dma-names = "rx", "tx";
1486 };
1487 ssiu20: ssiu-16 {
1488 dmas = <&audma0 0x63>, <&audma1 0x64>;
1489 dma-names = "rx", "tx";
1490 };
1491 ssiu21: ssiu-17 {
1492 dmas = <&audma0 0x67>, <&audma1 0x68>;
1493 dma-names = "rx", "tx";
1494 };
1495 ssiu22: ssiu-18 {
1496 dmas = <&audma0 0x6B>, <&audma1 0x6C>;
1497 dma-names = "rx", "tx";
1498 };
1499 ssiu23: ssiu-19 {
1500 dmas = <&audma0 0x6D>, <&audma1 0x6E>;
1501 dma-names = "rx", "tx";
1502 };
1503 ssiu24: ssiu-20 {
1504 dmas = <&audma0 0xCF>, <&audma1 0xCE>;
1505 dma-names = "rx", "tx";
1506 };
1507 ssiu25: ssiu-21 {
1508 dmas = <&audma0 0xEB>, <&audma1 0xEC>;
1509 dma-names = "rx", "tx";
1510 };
1511 ssiu26: ssiu-22 {
1512 dmas = <&audma0 0xED>, <&audma1 0xEE>;
1513 dma-names = "rx", "tx";
1514 };
1515 ssiu27: ssiu-23 {
1516 dmas = <&audma0 0xEF>, <&audma1 0xF0>;
1517 dma-names = "rx", "tx";
1518 };
1519 ssiu30: ssiu-24 {
1520 dmas = <&audma0 0x6f>, <&audma1 0x70>;
1521 dma-names = "rx", "tx";
1522 };
1523 ssiu31: ssiu-25 {
1524 dmas = <&audma0 0x21>, <&audma1 0x22>;
1525 dma-names = "rx", "tx";
1526 };
1527 ssiu32: ssiu-26 {
1528 dmas = <&audma0 0x23>, <&audma1 0x24>;
1529 dma-names = "rx", "tx";
1530 };
1531 ssiu33: ssiu-27 {
1532 dmas = <&audma0 0x25>, <&audma1 0x26>;
1533 dma-names = "rx", "tx";
1534 };
1535 ssiu34: ssiu-28 {
1536 dmas = <&audma0 0x27>, <&audma1 0x28>;
1537 dma-names = "rx", "tx";
1538 };
1539 ssiu35: ssiu-29 {
1540 dmas = <&audma0 0x29>, <&audma1 0x2A>;
1541 dma-names = "rx", "tx";
1542 };
1543 ssiu36: ssiu-30 {
1544 dmas = <&audma0 0x2B>, <&audma1 0x2C>;
1545 dma-names = "rx", "tx";
1546 };
1547 ssiu37: ssiu-31 {
1548 dmas = <&audma0 0x2D>, <&audma1 0x2E>;
1549 dma-names = "rx", "tx";
1550 };
1551 ssiu40: ssiu-32 {
1552 dmas = <&audma0 0x71>, <&audma1 0x72>;
1553 dma-names = "rx", "tx";
1554 };
1555 ssiu41: ssiu-33 {
1556 dmas = <&audma0 0x17>, <&audma1 0x18>;
1557 dma-names = "rx", "tx";
1558 };
1559 ssiu42: ssiu-34 {
1560 dmas = <&audma0 0x19>, <&audma1 0x1A>;
1561 dma-names = "rx", "tx";
1562 };
1563 ssiu43: ssiu-35 {
1564 dmas = <&audma0 0x1B>, <&audma1 0x1C>;
1565 dma-names = "rx", "tx";
1566 };
1567 ssiu44: ssiu-36 {
1568 dmas = <&audma0 0x1D>, <&audma1 0x1E>;
1569 dma-names = "rx", "tx";
1570 };
1571 ssiu45: ssiu-37 {
1572 dmas = <&audma0 0x1F>, <&audma1 0x20>;
1573 dma-names = "rx", "tx";
1574 };
1575 ssiu46: ssiu-38 {
1576 dmas = <&audma0 0x31>, <&audma1 0x32>;
1577 dma-names = "rx", "tx";
1578 };
1579 ssiu47: ssiu-39 {
1580 dmas = <&audma0 0x33>, <&audma1 0x34>;
1581 dma-names = "rx", "tx";
1582 };
1583 ssiu50: ssiu-40 {
1584 dmas = <&audma0 0x73>, <&audma1 0x74>;
1585 dma-names = "rx", "tx";
1586 };
1587 ssiu60: ssiu-41 {
1588 dmas = <&audma0 0x75>, <&audma1 0x76>;
1589 dma-names = "rx", "tx";
1590 };
1591 ssiu70: ssiu-42 {
1592 dmas = <&audma0 0x79>, <&audma1 0x7a>;
1593 dma-names = "rx", "tx";
1594 };
1595 ssiu80: ssiu-43 {
1596 dmas = <&audma0 0x7b>, <&audma1 0x7c>;
1597 dma-names = "rx", "tx";
1598 };
1599 ssiu90: ssiu-44 {
1600 dmas = <&audma0 0x7d>, <&audma1 0x7e>;
1601 dma-names = "rx", "tx";
1602 };
1603 ssiu91: ssiu-45 {
1604 dmas = <&audma0 0x7F>, <&audma1 0x80>;
1605 dma-names = "rx", "tx";
1606 };
1607 ssiu92: ssiu-46 {
1608 dmas = <&audma0 0x81>, <&audma1 0x82>;
1609 dma-names = "rx", "tx";
1610 };
1611 ssiu93: ssiu-47 {
1612 dmas = <&audma0 0x83>, <&audma1 0x84>;
1613 dma-names = "rx", "tx";
1614 };
1615 ssiu94: ssiu-48 {
1616 dmas = <&audma0 0xA3>, <&audma1 0xA4>;
1617 dma-names = "rx", "tx";
1618 };
1619 ssiu95: ssiu-49 {
1620 dmas = <&audma0 0xA5>, <&audma1 0xA6>;
1621 dma-names = "rx", "tx";
1622 };
1623 ssiu96: ssiu-50 {
1624 dmas = <&audma0 0xA7>, <&audma1 0xA8>;
1625 dma-names = "rx", "tx";
1626 };
1627 ssiu97: ssiu-51 {
1628 dmas = <&audma0 0xA9>, <&audma1 0xAA>;
1629 dma-names = "rx", "tx";
1630 };
1631 };
1632 };
1633
1634 audma0: dma-controller@ec700000 {
1635 compatible = "renesas,dmac-r8a774b1",
1636 "renesas,rcar-dmac";
1637 reg = <0 0xec700000 0 0x10000>;
1638 interrupts = <GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH
1639 GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH
1640 GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH
1641 GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH
1642 GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH
1643 GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH
1644 GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH
1645 GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH
1646 GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH
1647 GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH
1648 GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH
1649 GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH
1650 GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH
1651 GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH
1652 GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH
1653 GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH
1654 GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>;
1655 interrupt-names = "error",
1656 "ch0", "ch1", "ch2", "ch3",
1657 "ch4", "ch5", "ch6", "ch7",
1658 "ch8", "ch9", "ch10", "ch11",
1659 "ch12", "ch13", "ch14", "ch15";
1660 clocks = <&cpg CPG_MOD 502>;
1661 clock-names = "fck";
1662 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1663 resets = <&cpg 502>;
1664 #dma-cells = <1>;
1665 dma-channels = <16>;
1666 };
1667
1668 audma1: dma-controller@ec720000 {
1669 compatible = "renesas,dmac-r8a774b1",
1670 "renesas,rcar-dmac";
1671 reg = <0 0xec720000 0 0x10000>;
1672 interrupts = <GIC_SPI 351 IRQ_TYPE_LEVEL_HIGH
1673 GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH
1674 GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH
1675 GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH
1676 GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH
1677 GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH
1678 GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH
1679 GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH
1680 GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH
1681 GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH
1682 GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH
1683 GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH
1684 GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH
1685 GIC_SPI 348 IRQ_TYPE_LEVEL_HIGH
1686 GIC_SPI 349 IRQ_TYPE_LEVEL_HIGH
1687 GIC_SPI 382 IRQ_TYPE_LEVEL_HIGH
1688 GIC_SPI 383 IRQ_TYPE_LEVEL_HIGH>;
1689 interrupt-names = "error",
1690 "ch0", "ch1", "ch2", "ch3",
1691 "ch4", "ch5", "ch6", "ch7",
1692 "ch8", "ch9", "ch10", "ch11",
1693 "ch12", "ch13", "ch14", "ch15";
1694 clocks = <&cpg CPG_MOD 501>;
1695 clock-names = "fck";
1696 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1697 resets = <&cpg 501>;
1698 #dma-cells = <1>;
1699 dma-channels = <16>;
Biju Das9b33e302019-09-27 14:06:24 +01001700 };
1701
1702 xhci0: usb@ee000000 {
Fabrizio Castro4ec25b32019-10-08 11:38:51 +01001703 compatible = "renesas,xhci-r8a774b1",
1704 "renesas,rcar-gen3-xhci";
Biju Das9b33e302019-09-27 14:06:24 +01001705 reg = <0 0xee000000 0 0xc00>;
Fabrizio Castro4ec25b32019-10-08 11:38:51 +01001706 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
1707 clocks = <&cpg CPG_MOD 328>;
1708 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1709 resets = <&cpg 328>;
1710 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001711 };
1712
1713 usb3_peri0: usb@ee020000 {
Fabrizio Castro4ec25b32019-10-08 11:38:51 +01001714 compatible = "renesas,r8a774b1-usb3-peri",
1715 "renesas,rcar-gen3-usb3-peri";
Biju Das9b33e302019-09-27 14:06:24 +01001716 reg = <0 0xee020000 0 0x400>;
Fabrizio Castro4ec25b32019-10-08 11:38:51 +01001717 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
1718 clocks = <&cpg CPG_MOD 328>;
1719 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1720 resets = <&cpg 328>;
1721 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001722 };
1723
1724 ohci0: usb@ee080000 {
Fabrizio Castro561668a2019-10-08 11:38:49 +01001725 compatible = "generic-ohci";
Biju Das9b33e302019-09-27 14:06:24 +01001726 reg = <0 0xee080000 0 0x100>;
Fabrizio Castro561668a2019-10-08 11:38:49 +01001727 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1728 clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
1729 phys = <&usb2_phy0 1>;
1730 phy-names = "usb";
1731 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1732 resets = <&cpg 703>, <&cpg 704>;
1733 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001734 };
1735
1736 ohci1: usb@ee0a0000 {
Fabrizio Castro561668a2019-10-08 11:38:49 +01001737 compatible = "generic-ohci";
Biju Das9b33e302019-09-27 14:06:24 +01001738 reg = <0 0xee0a0000 0 0x100>;
Fabrizio Castro561668a2019-10-08 11:38:49 +01001739 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
1740 clocks = <&cpg CPG_MOD 702>;
1741 phys = <&usb2_phy1 1>;
1742 phy-names = "usb";
1743 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1744 resets = <&cpg 702>;
1745 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001746 };
1747
1748 ehci0: usb@ee080100 {
Fabrizio Castro561668a2019-10-08 11:38:49 +01001749 compatible = "generic-ehci";
Biju Das9b33e302019-09-27 14:06:24 +01001750 reg = <0 0xee080100 0 0x100>;
Fabrizio Castro561668a2019-10-08 11:38:49 +01001751 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1752 clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
1753 phys = <&usb2_phy0 2>;
1754 phy-names = "usb";
1755 companion = <&ohci0>;
1756 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1757 resets = <&cpg 703>, <&cpg 704>;
1758 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001759 };
1760
1761 ehci1: usb@ee0a0100 {
Fabrizio Castro561668a2019-10-08 11:38:49 +01001762 compatible = "generic-ehci";
Biju Das9b33e302019-09-27 14:06:24 +01001763 reg = <0 0xee0a0100 0 0x100>;
Fabrizio Castro561668a2019-10-08 11:38:49 +01001764 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
1765 clocks = <&cpg CPG_MOD 702>;
1766 phys = <&usb2_phy1 2>;
1767 phy-names = "usb";
1768 companion = <&ohci1>;
1769 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1770 resets = <&cpg 702>;
1771 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001772 };
1773
1774 usb2_phy0: usb-phy@ee080200 {
Fabrizio Castro561668a2019-10-08 11:38:49 +01001775 compatible = "renesas,usb2-phy-r8a774b1",
1776 "renesas,rcar-gen3-usb2-phy";
Biju Das9b33e302019-09-27 14:06:24 +01001777 reg = <0 0xee080200 0 0x700>;
Fabrizio Castro561668a2019-10-08 11:38:49 +01001778 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1779 clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
1780 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1781 resets = <&cpg 703>, <&cpg 704>;
1782 #phy-cells = <1>;
1783 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001784 };
1785
1786 usb2_phy1: usb-phy@ee0a0200 {
Fabrizio Castro561668a2019-10-08 11:38:49 +01001787 compatible = "renesas,usb2-phy-r8a774b1",
1788 "renesas,rcar-gen3-usb2-phy";
Biju Das9b33e302019-09-27 14:06:24 +01001789 reg = <0 0xee0a0200 0 0x700>;
Fabrizio Castro561668a2019-10-08 11:38:49 +01001790 clocks = <&cpg CPG_MOD 702>;
1791 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1792 resets = <&cpg 702>;
1793 #phy-cells = <1>;
1794 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001795 };
1796
1797 sdhi0: sd@ee100000 {
Biju Das63177362019-09-24 09:22:49 +01001798 compatible = "renesas,sdhi-r8a774b1",
1799 "renesas,rcar-gen3-sdhi";
Biju Das9b33e302019-09-27 14:06:24 +01001800 reg = <0 0xee100000 0 0x2000>;
Biju Das63177362019-09-24 09:22:49 +01001801 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
1802 clocks = <&cpg CPG_MOD 314>;
1803 max-frequency = <200000000>;
1804 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1805 resets = <&cpg 314>;
1806 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001807 };
1808
1809 sdhi1: sd@ee120000 {
Biju Das63177362019-09-24 09:22:49 +01001810 compatible = "renesas,sdhi-r8a774b1",
1811 "renesas,rcar-gen3-sdhi";
Biju Das9b33e302019-09-27 14:06:24 +01001812 reg = <0 0xee120000 0 0x2000>;
Biju Das63177362019-09-24 09:22:49 +01001813 interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
1814 clocks = <&cpg CPG_MOD 313>;
1815 max-frequency = <200000000>;
1816 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1817 resets = <&cpg 313>;
1818 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001819 };
1820
1821 sdhi2: sd@ee140000 {
Biju Das63177362019-09-24 09:22:49 +01001822 compatible = "renesas,sdhi-r8a774b1",
1823 "renesas,rcar-gen3-sdhi";
Biju Das9b33e302019-09-27 14:06:24 +01001824 reg = <0 0xee140000 0 0x2000>;
Biju Das63177362019-09-24 09:22:49 +01001825 interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
1826 clocks = <&cpg CPG_MOD 312>;
1827 max-frequency = <200000000>;
1828 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1829 resets = <&cpg 312>;
1830 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001831 };
1832
1833 sdhi3: sd@ee160000 {
Biju Das63177362019-09-24 09:22:49 +01001834 compatible = "renesas,sdhi-r8a774b1",
1835 "renesas,rcar-gen3-sdhi";
Biju Das9b33e302019-09-27 14:06:24 +01001836 reg = <0 0xee160000 0 0x2000>;
Biju Das63177362019-09-24 09:22:49 +01001837 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
1838 clocks = <&cpg CPG_MOD 311>;
1839 max-frequency = <200000000>;
1840 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1841 resets = <&cpg 311>;
1842 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001843 };
1844
1845 gic: interrupt-controller@f1010000 {
1846 compatible = "arm,gic-400";
1847 #interrupt-cells = <3>;
1848 #address-cells = <0>;
1849 interrupt-controller;
1850 reg = <0x0 0xf1010000 0 0x1000>,
1851 <0x0 0xf1020000 0 0x20000>,
1852 <0x0 0xf1040000 0 0x20000>,
1853 <0x0 0xf1060000 0 0x20000>;
1854 interrupts = <GIC_PPI 9
1855 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
1856 clocks = <&cpg CPG_MOD 408>;
1857 clock-names = "clk";
1858 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1859 resets = <&cpg 408>;
1860 };
1861
1862 pciec0: pcie@fe000000 {
Fabrizio Castrob3ddadf2019-10-04 09:35:32 +01001863 compatible = "renesas,pcie-r8a774b1",
1864 "renesas,pcie-rcar-gen3";
Biju Das9b33e302019-09-27 14:06:24 +01001865 reg = <0 0xfe000000 0 0x80000>;
1866 #address-cells = <3>;
1867 #size-cells = <2>;
1868 bus-range = <0x00 0xff>;
Fabrizio Castrob3ddadf2019-10-04 09:35:32 +01001869 device_type = "pci";
1870 ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000
1871 0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000
1872 0x02000000 0 0x30000000 0 0x30000000 0 0x08000000
1873 0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
1874 /* Map all possible DDR as inbound ranges */
1875 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000>;
1876 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
1877 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
1878 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
1879 #interrupt-cells = <1>;
1880 interrupt-map-mask = <0 0 0 0>;
1881 interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
1882 clocks = <&cpg CPG_MOD 319>, <&pcie_bus_clk>;
1883 clock-names = "pcie", "pcie_bus";
1884 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1885 resets = <&cpg 319>;
1886 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001887 };
1888
1889 pciec1: pcie@ee800000 {
Fabrizio Castrob3ddadf2019-10-04 09:35:32 +01001890 compatible = "renesas,pcie-r8a774b1",
1891 "renesas,pcie-rcar-gen3";
Biju Das9b33e302019-09-27 14:06:24 +01001892 reg = <0 0xee800000 0 0x80000>;
1893 #address-cells = <3>;
1894 #size-cells = <2>;
1895 bus-range = <0x00 0xff>;
Fabrizio Castrob3ddadf2019-10-04 09:35:32 +01001896 device_type = "pci";
1897 ranges = <0x01000000 0 0x00000000 0 0xee900000 0 0x00100000
1898 0x02000000 0 0xeea00000 0 0xeea00000 0 0x00200000
1899 0x02000000 0 0xc0000000 0 0xc0000000 0 0x08000000
1900 0x42000000 0 0xc8000000 0 0xc8000000 0 0x08000000>;
1901 /* Map all possible DDR as inbound ranges */
1902 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000>;
1903 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
1904 <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
1905 <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
1906 #interrupt-cells = <1>;
1907 interrupt-map-mask = <0 0 0 0>;
1908 interrupt-map = <0 0 0 0 &gic GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
1909 clocks = <&cpg CPG_MOD 318>, <&pcie_bus_clk>;
1910 clock-names = "pcie", "pcie_bus";
1911 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1912 resets = <&cpg 318>;
1913 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001914 };
1915
Biju Dasab468162019-10-02 16:20:15 +01001916 fdp1@fe940000 {
1917 compatible = "renesas,fdp1";
1918 reg = <0 0xfe940000 0 0x2400>;
1919 interrupts = <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>;
1920 clocks = <&cpg CPG_MOD 119>;
1921 power-domains = <&sysc R8A774B1_PD_A3VP>;
1922 resets = <&cpg 119>;
1923 renesas,fcp = <&fcpf0>;
1924 };
1925
Biju Das955ceb52019-09-24 09:22:52 +01001926 fcpf0: fcp@fe950000 {
1927 compatible = "renesas,fcpf";
1928 reg = <0 0xfe950000 0 0x200>;
1929 clocks = <&cpg CPG_MOD 615>;
1930 power-domains = <&sysc R8A774B1_PD_A3VP>;
1931 resets = <&cpg 615>;
1932 };
1933
Biju Das966607b2019-09-24 09:22:53 +01001934 vspb: vsp@fe960000 {
1935 compatible = "renesas,vsp2";
1936 reg = <0 0xfe960000 0 0x8000>;
1937 interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
1938 clocks = <&cpg CPG_MOD 626>;
1939 power-domains = <&sysc R8A774B1_PD_A3VP>;
1940 resets = <&cpg 626>;
1941
1942 renesas,fcp = <&fcpvb0>;
1943 };
1944
1945 vspi0: vsp@fe9a0000 {
1946 compatible = "renesas,vsp2";
1947 reg = <0 0xfe9a0000 0 0x8000>;
1948 interrupts = <GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>;
1949 clocks = <&cpg CPG_MOD 631>;
1950 power-domains = <&sysc R8A774B1_PD_A3VP>;
1951 resets = <&cpg 631>;
1952
1953 renesas,fcp = <&fcpvi0>;
1954 };
1955
1956 vspd0: vsp@fea20000 {
1957 compatible = "renesas,vsp2";
1958 reg = <0 0xfea20000 0 0x5000>;
1959 interrupts = <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>;
1960 clocks = <&cpg CPG_MOD 623>;
1961 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1962 resets = <&cpg 623>;
1963
1964 renesas,fcp = <&fcpvd0>;
1965 };
1966
1967 vspd1: vsp@fea28000 {
1968 compatible = "renesas,vsp2";
1969 reg = <0 0xfea28000 0 0x5000>;
1970 interrupts = <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>;
1971 clocks = <&cpg CPG_MOD 622>;
1972 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1973 resets = <&cpg 622>;
1974
1975 renesas,fcp = <&fcpvd1>;
1976 };
1977
Biju Das955ceb52019-09-24 09:22:52 +01001978 fcpvb0: fcp@fe96f000 {
1979 compatible = "renesas,fcpv";
1980 reg = <0 0xfe96f000 0 0x200>;
1981 clocks = <&cpg CPG_MOD 607>;
1982 power-domains = <&sysc R8A774B1_PD_A3VP>;
1983 resets = <&cpg 607>;
1984 };
1985
1986 fcpvd0: fcp@fea27000 {
1987 compatible = "renesas,fcpv";
1988 reg = <0 0xfea27000 0 0x200>;
1989 clocks = <&cpg CPG_MOD 603>;
1990 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1991 resets = <&cpg 603>;
1992 };
1993
1994 fcpvd1: fcp@fea2f000 {
1995 compatible = "renesas,fcpv";
1996 reg = <0 0xfea2f000 0 0x200>;
1997 clocks = <&cpg CPG_MOD 602>;
1998 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1999 resets = <&cpg 602>;
2000 };
2001
2002 fcpvi0: fcp@fe9af000 {
2003 compatible = "renesas,fcpv";
2004 reg = <0 0xfe9af000 0 0x200>;
2005 clocks = <&cpg CPG_MOD 611>;
2006 power-domains = <&sysc R8A774B1_PD_A3VP>;
2007 resets = <&cpg 611>;
2008 };
2009
Biju Das9b33e302019-09-27 14:06:24 +01002010 hdmi0: hdmi@fead0000 {
Biju Das3a025552019-10-02 16:20:13 +01002011 compatible = "renesas,r8a774b1-hdmi",
2012 "renesas,rcar-gen3-hdmi";
Biju Das9b33e302019-09-27 14:06:24 +01002013 reg = <0 0xfead0000 0 0x10000>;
Biju Das3a025552019-10-02 16:20:13 +01002014 interrupts = <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>;
2015 clocks = <&cpg CPG_MOD 729>,
2016 <&cpg CPG_CORE R8A774B1_CLK_HDMI>;
2017 clock-names = "iahb", "isfr";
2018 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2019 resets = <&cpg 729>;
2020 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01002021
2022 ports {
2023 #address-cells = <1>;
2024 #size-cells = <0>;
2025
2026 port@0 {
2027 reg = <0>;
2028 dw_hdmi0_in: endpoint {
Biju Das3a025552019-10-02 16:20:13 +01002029 remote-endpoint = <&du_out_hdmi0>;
Biju Das9b33e302019-09-27 14:06:24 +01002030 };
2031 };
2032 port@1 {
2033 reg = <1>;
2034 };
Biju Das3a025552019-10-02 16:20:13 +01002035 port@2 {
2036 /* HDMI sound */
2037 reg = <2>;
2038 };
Biju Das9b33e302019-09-27 14:06:24 +01002039 };
2040 };
2041
2042 du: display@feb00000 {
Biju Das04e4bad2019-10-02 16:20:12 +01002043 compatible = "renesas,du-r8a774b1";
Biju Das9b33e302019-09-27 14:06:24 +01002044 reg = <0 0xfeb00000 0 0x80000>;
Biju Das04e4bad2019-10-02 16:20:12 +01002045 interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
2046 <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
2047 <GIC_SPI 270 IRQ_TYPE_LEVEL_HIGH>;
2048 clocks = <&cpg CPG_MOD 724>,
2049 <&cpg CPG_MOD 723>,
2050 <&cpg CPG_MOD 721>;
2051 clock-names = "du.0", "du.1", "du.3";
2052 status = "disabled";
2053
2054 vsps = <&vspd0 0>, <&vspd1 0>, <&vspd0 1>;
Biju Das9b33e302019-09-27 14:06:24 +01002055
2056 ports {
2057 #address-cells = <1>;
2058 #size-cells = <0>;
2059
2060 port@0 {
2061 reg = <0>;
2062 du_out_rgb: endpoint {
2063 };
2064 };
2065 port@1 {
2066 reg = <1>;
2067 du_out_hdmi0: endpoint {
Biju Das3a025552019-10-02 16:20:13 +01002068 remote-endpoint = <&dw_hdmi0_in>;
Biju Das9b33e302019-09-27 14:06:24 +01002069 };
2070 };
2071 port@2 {
2072 reg = <2>;
2073 du_out_lvds0: endpoint {
Biju Das04e4bad2019-10-02 16:20:12 +01002074 remote-endpoint = <&lvds0_in>;
2075 };
2076 };
2077 };
2078 };
2079
2080 lvds0: lvds@feb90000 {
2081 compatible = "renesas,r8a774b1-lvds";
2082 reg = <0 0xfeb90000 0 0x14>;
2083 clocks = <&cpg CPG_MOD 727>;
2084 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2085 resets = <&cpg 727>;
2086 status = "disabled";
2087
2088 ports {
2089 #address-cells = <1>;
2090 #size-cells = <0>;
2091
2092 port@0 {
2093 reg = <0>;
2094 lvds0_in: endpoint {
2095 remote-endpoint = <&du_out_lvds0>;
2096 };
2097 };
2098 port@1 {
2099 reg = <1>;
2100 lvds0_out: endpoint {
Biju Das9b33e302019-09-27 14:06:24 +01002101 };
2102 };
2103 };
2104 };
2105
2106 prr: chipid@fff00044 {
2107 compatible = "renesas,prr";
2108 reg = <0 0xfff00044 0 4>;
2109 };
2110 };
2111
Biju Das95b35472019-09-23 15:57:26 +01002112 thermal-zones {
2113 sensor_thermal1: sensor-thermal1 {
2114 polling-delay-passive = <250>;
2115 polling-delay = <1000>;
2116 thermal-sensors = <&tsc 0>;
2117 sustainable-power = <2439>;
2118
2119 trips {
2120 sensor1_crit: sensor1-crit {
2121 temperature = <120000>;
2122 hysteresis = <1000>;
2123 type = "critical";
2124 };
2125 };
2126 };
2127
2128 sensor_thermal2: sensor-thermal2 {
2129 polling-delay-passive = <250>;
2130 polling-delay = <1000>;
2131 thermal-sensors = <&tsc 1>;
2132 sustainable-power = <2439>;
2133
2134 trips {
2135 sensor2_crit: sensor2-crit {
2136 temperature = <120000>;
2137 hysteresis = <1000>;
2138 type = "critical";
2139 };
2140 };
2141 };
2142
2143 sensor_thermal3: sensor-thermal3 {
2144 polling-delay-passive = <250>;
2145 polling-delay = <1000>;
2146 thermal-sensors = <&tsc 2>;
2147 sustainable-power = <2439>;
2148
2149 cooling-maps {
2150 map0 {
2151 trip = <&target>;
2152 cooling-device = <&a57_0 0 2>;
2153 contribution = <1024>;
2154 };
2155 };
2156 trips {
2157 target: trip-point1 {
2158 temperature = <100000>;
2159 hysteresis = <1000>;
2160 type = "passive";
2161 };
2162
2163 sensor3_crit: sensor3-crit {
2164 temperature = <120000>;
2165 hysteresis = <1000>;
2166 type = "critical";
2167 };
2168 };
2169 };
2170 };
2171
Biju Das9b33e302019-09-27 14:06:24 +01002172 timer {
2173 compatible = "arm,armv8-timer";
2174 interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
2175 <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
2176 <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
2177 <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
2178 };
2179
2180 /* External USB clocks - can be overridden by the board */
2181 usb3s0_clk: usb3s0 {
2182 compatible = "fixed-clock";
2183 #clock-cells = <0>;
2184 clock-frequency = <0>;
2185 };
2186
2187 usb_extal_clk: usb_extal {
2188 compatible = "fixed-clock";
2189 #clock-cells = <0>;
2190 clock-frequency = <0>;
2191 };
2192};