blob: 98feb29c240e4bc168e8dfd16412837b3e3fa7d5 [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
Fabrizio Castro04360e42019-10-08 11:38:52 +0100393 intc_ex: interrupt-controller@e61c0000 {
394 compatible = "renesas,intc-ex-r8a774b1", "renesas,irqc";
395 #interrupt-cells = <2>;
396 interrupt-controller;
397 reg = <0 0xe61c0000 0 0x200>;
398 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH
399 GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH
400 GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH
401 GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH
402 GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH
403 GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
404 clocks = <&cpg CPG_MOD 407>;
405 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
406 resets = <&cpg 407>;
407 };
408
Biju Das928249b2019-09-23 15:57:28 +0100409 tmu0: timer@e61e0000 {
410 compatible = "renesas,tmu-r8a774b1", "renesas,tmu";
411 reg = <0 0xe61e0000 0 0x30>;
412 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
413 <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
414 <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
415 clocks = <&cpg CPG_MOD 125>;
416 clock-names = "fck";
417 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
418 resets = <&cpg 125>;
419 status = "disabled";
420 };
421
422 tmu1: timer@e6fc0000 {
423 compatible = "renesas,tmu-r8a774b1", "renesas,tmu";
424 reg = <0 0xe6fc0000 0 0x30>;
425 interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
426 <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
427 <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
428 clocks = <&cpg CPG_MOD 124>;
429 clock-names = "fck";
430 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
431 resets = <&cpg 124>;
432 status = "disabled";
433 };
434
435 tmu2: timer@e6fd0000 {
436 compatible = "renesas,tmu-r8a774b1", "renesas,tmu";
437 reg = <0 0xe6fd0000 0 0x30>;
438 interrupts = <GIC_SPI 303 IRQ_TYPE_LEVEL_HIGH>,
439 <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
440 <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
441 clocks = <&cpg CPG_MOD 123>;
442 clock-names = "fck";
443 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
444 resets = <&cpg 123>;
445 status = "disabled";
446 };
447
448 tmu3: timer@e6fe0000 {
449 compatible = "renesas,tmu-r8a774b1", "renesas,tmu";
450 reg = <0 0xe6fe0000 0 0x30>;
451 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
452 <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>,
453 <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
454 clocks = <&cpg CPG_MOD 122>;
455 clock-names = "fck";
456 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
457 resets = <&cpg 122>;
458 status = "disabled";
459 };
460
461 tmu4: timer@ffc00000 {
462 compatible = "renesas,tmu-r8a774b1", "renesas,tmu";
463 reg = <0 0xffc00000 0 0x30>;
464 interrupts = <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>,
465 <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>,
466 <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>;
467 clocks = <&cpg CPG_MOD 121>;
468 clock-names = "fck";
469 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
470 resets = <&cpg 121>;
471 status = "disabled";
472 };
473
Biju Das070302d2019-09-24 09:22:50 +0100474 i2c0: i2c@e6500000 {
475 #address-cells = <1>;
476 #size-cells = <0>;
477 compatible = "renesas,i2c-r8a774b1",
478 "renesas,rcar-gen3-i2c";
479 reg = <0 0xe6500000 0 0x40>;
480 interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
481 clocks = <&cpg CPG_MOD 931>;
482 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
483 resets = <&cpg 931>;
484 dmas = <&dmac1 0x91>, <&dmac1 0x90>,
485 <&dmac2 0x91>, <&dmac2 0x90>;
486 dma-names = "tx", "rx", "tx", "rx";
487 i2c-scl-internal-delay-ns = <110>;
488 status = "disabled";
489 };
490
491 i2c1: i2c@e6508000 {
492 #address-cells = <1>;
493 #size-cells = <0>;
494 compatible = "renesas,i2c-r8a774b1",
495 "renesas,rcar-gen3-i2c";
496 reg = <0 0xe6508000 0 0x40>;
497 interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
498 clocks = <&cpg CPG_MOD 930>;
499 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
500 resets = <&cpg 930>;
501 dmas = <&dmac1 0x93>, <&dmac1 0x92>,
502 <&dmac2 0x93>, <&dmac2 0x92>;
503 dma-names = "tx", "rx", "tx", "rx";
504 i2c-scl-internal-delay-ns = <6>;
505 status = "disabled";
506 };
507
508 i2c2: i2c@e6510000 {
509 #address-cells = <1>;
510 #size-cells = <0>;
511 compatible = "renesas,i2c-r8a774b1",
512 "renesas,rcar-gen3-i2c";
513 reg = <0 0xe6510000 0 0x40>;
514 interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
515 clocks = <&cpg CPG_MOD 929>;
516 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
517 resets = <&cpg 929>;
518 dmas = <&dmac1 0x95>, <&dmac1 0x94>,
519 <&dmac2 0x95>, <&dmac2 0x94>;
520 dma-names = "tx", "rx", "tx", "rx";
521 i2c-scl-internal-delay-ns = <6>;
522 status = "disabled";
523 };
524
525 i2c3: i2c@e66d0000 {
526 #address-cells = <1>;
527 #size-cells = <0>;
528 compatible = "renesas,i2c-r8a774b1",
529 "renesas,rcar-gen3-i2c";
530 reg = <0 0xe66d0000 0 0x40>;
531 interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
532 clocks = <&cpg CPG_MOD 928>;
533 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
534 resets = <&cpg 928>;
535 dmas = <&dmac0 0x97>, <&dmac0 0x96>;
536 dma-names = "tx", "rx";
537 i2c-scl-internal-delay-ns = <110>;
538 status = "disabled";
539 };
540
Biju Das9b33e302019-09-27 14:06:24 +0100541 i2c4: i2c@e66d8000 {
542 #address-cells = <1>;
543 #size-cells = <0>;
Biju Das070302d2019-09-24 09:22:50 +0100544 compatible = "renesas,i2c-r8a774b1",
545 "renesas,rcar-gen3-i2c";
Biju Das9b33e302019-09-27 14:06:24 +0100546 reg = <0 0xe66d8000 0 0x40>;
Biju Das070302d2019-09-24 09:22:50 +0100547 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
548 clocks = <&cpg CPG_MOD 927>;
549 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
550 resets = <&cpg 927>;
551 dmas = <&dmac0 0x99>, <&dmac0 0x98>;
552 dma-names = "tx", "rx";
553 i2c-scl-internal-delay-ns = <110>;
554 status = "disabled";
555 };
556
557 i2c5: i2c@e66e0000 {
558 #address-cells = <1>;
559 #size-cells = <0>;
560 compatible = "renesas,i2c-r8a774b1",
561 "renesas,rcar-gen3-i2c";
562 reg = <0 0xe66e0000 0 0x40>;
563 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
564 clocks = <&cpg CPG_MOD 919>;
565 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
566 resets = <&cpg 919>;
567 dmas = <&dmac0 0x9b>, <&dmac0 0x9a>;
568 dma-names = "tx", "rx";
569 i2c-scl-internal-delay-ns = <110>;
570 status = "disabled";
571 };
572
573 i2c6: i2c@e66e8000 {
574 #address-cells = <1>;
575 #size-cells = <0>;
576 compatible = "renesas,i2c-r8a774b1",
577 "renesas,rcar-gen3-i2c";
578 reg = <0 0xe66e8000 0 0x40>;
579 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
580 clocks = <&cpg CPG_MOD 918>;
581 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
582 resets = <&cpg 918>;
583 dmas = <&dmac0 0x9d>, <&dmac0 0x9c>;
584 dma-names = "tx", "rx";
585 i2c-scl-internal-delay-ns = <6>;
586 status = "disabled";
587 };
588
589 i2c_dvfs: i2c@e60b0000 {
590 #address-cells = <1>;
591 #size-cells = <0>;
592 compatible = "renesas,iic-r8a774b1",
593 "renesas,rcar-gen3-iic",
594 "renesas,rmobile-iic";
595 reg = <0 0xe60b0000 0 0x425>;
596 interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
597 clocks = <&cpg CPG_MOD 926>;
598 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
599 resets = <&cpg 926>;
600 dmas = <&dmac0 0x11>, <&dmac0 0x10>;
601 dma-names = "tx", "rx";
602 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +0100603 };
604
605 hscif0: serial@e6540000 {
Biju Das83e76202019-09-30 09:18:44 +0100606 compatible = "renesas,hscif-r8a774b1",
607 "renesas,rcar-gen3-hscif",
608 "renesas,hscif";
Biju Das9b33e302019-09-27 14:06:24 +0100609 reg = <0 0xe6540000 0 0x60>;
Biju Das83e76202019-09-30 09:18:44 +0100610 interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
611 clocks = <&cpg CPG_MOD 520>,
612 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
613 <&scif_clk>;
614 clock-names = "fck", "brg_int", "scif_clk";
615 dmas = <&dmac1 0x31>, <&dmac1 0x30>,
616 <&dmac2 0x31>, <&dmac2 0x30>;
617 dma-names = "tx", "rx", "tx", "rx";
618 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
619 resets = <&cpg 520>;
620 status = "disabled";
621 };
622
623 hscif1: serial@e6550000 {
624 compatible = "renesas,hscif-r8a774b1",
625 "renesas,rcar-gen3-hscif",
626 "renesas,hscif";
627 reg = <0 0xe6550000 0 0x60>;
628 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
629 clocks = <&cpg CPG_MOD 519>,
630 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
631 <&scif_clk>;
632 clock-names = "fck", "brg_int", "scif_clk";
633 dmas = <&dmac1 0x33>, <&dmac1 0x32>,
634 <&dmac2 0x33>, <&dmac2 0x32>;
635 dma-names = "tx", "rx", "tx", "rx";
636 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
637 resets = <&cpg 519>;
638 status = "disabled";
639 };
640
641 hscif2: serial@e6560000 {
642 compatible = "renesas,hscif-r8a774b1",
643 "renesas,rcar-gen3-hscif",
644 "renesas,hscif";
645 reg = <0 0xe6560000 0 0x60>;
646 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
647 clocks = <&cpg CPG_MOD 518>,
648 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
649 <&scif_clk>;
650 clock-names = "fck", "brg_int", "scif_clk";
651 dmas = <&dmac1 0x35>, <&dmac1 0x34>,
652 <&dmac2 0x35>, <&dmac2 0x34>;
653 dma-names = "tx", "rx", "tx", "rx";
654 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
655 resets = <&cpg 518>;
656 status = "disabled";
657 };
658
659 hscif3: serial@e66a0000 {
660 compatible = "renesas,hscif-r8a774b1",
661 "renesas,rcar-gen3-hscif",
662 "renesas,hscif";
663 reg = <0 0xe66a0000 0 0x60>;
664 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
665 clocks = <&cpg CPG_MOD 517>,
666 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
667 <&scif_clk>;
668 clock-names = "fck", "brg_int", "scif_clk";
669 dmas = <&dmac0 0x37>, <&dmac0 0x36>;
670 dma-names = "tx", "rx";
671 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
672 resets = <&cpg 517>;
673 status = "disabled";
674 };
675
676 hscif4: serial@e66b0000 {
677 compatible = "renesas,hscif-r8a774b1",
678 "renesas,rcar-gen3-hscif",
679 "renesas,hscif";
680 reg = <0 0xe66b0000 0 0x60>;
681 interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
682 clocks = <&cpg CPG_MOD 516>,
683 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
684 <&scif_clk>;
685 clock-names = "fck", "brg_int", "scif_clk";
686 dmas = <&dmac0 0x39>, <&dmac0 0x38>;
687 dma-names = "tx", "rx";
688 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
689 resets = <&cpg 516>;
690 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +0100691 };
692
693 hsusb: usb@e6590000 {
Fabrizio Castro34560ef2019-10-08 11:38:50 +0100694 compatible = "renesas,usbhs-r8a774b1",
695 "renesas,rcar-gen3-usbhs";
Biju Das9b33e302019-09-27 14:06:24 +0100696 reg = <0 0xe6590000 0 0x200>;
Fabrizio Castro34560ef2019-10-08 11:38:50 +0100697 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
698 clocks = <&cpg CPG_MOD 704>, <&cpg CPG_MOD 703>;
699 dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
700 <&usb_dmac1 0>, <&usb_dmac1 1>;
701 dma-names = "ch0", "ch1", "ch2", "ch3";
702 renesas,buswait = <11>;
703 phys = <&usb2_phy0 3>;
704 phy-names = "usb";
705 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
706 resets = <&cpg 704>, <&cpg 703>;
707 status = "disabled";
708 };
709
710 usb_dmac0: dma-controller@e65a0000 {
711 compatible = "renesas,r8a774b1-usb-dmac",
712 "renesas,usb-dmac";
713 reg = <0 0xe65a0000 0 0x100>;
714 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH
715 GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
716 interrupt-names = "ch0", "ch1";
717 clocks = <&cpg CPG_MOD 330>;
718 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
719 resets = <&cpg 330>;
720 #dma-cells = <1>;
721 dma-channels = <2>;
722 };
723
724 usb_dmac1: dma-controller@e65b0000 {
725 compatible = "renesas,r8a774b1-usb-dmac",
726 "renesas,usb-dmac";
727 reg = <0 0xe65b0000 0 0x100>;
728 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH
729 GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
730 interrupt-names = "ch0", "ch1";
731 clocks = <&cpg CPG_MOD 331>;
732 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
733 resets = <&cpg 331>;
734 #dma-cells = <1>;
735 dma-channels = <2>;
Biju Das9b33e302019-09-27 14:06:24 +0100736 };
737
738 usb3_phy0: usb-phy@e65ee000 {
Fabrizio Castro4ec25b32019-10-08 11:38:51 +0100739 compatible = "renesas,r8a774b1-usb3-phy",
740 "renesas,rcar-gen3-usb3-phy";
Biju Das9b33e302019-09-27 14:06:24 +0100741 reg = <0 0xe65ee000 0 0x90>;
Fabrizio Castro4ec25b32019-10-08 11:38:51 +0100742 clocks = <&cpg CPG_MOD 328>, <&usb3s0_clk>,
743 <&usb_extal_clk>;
744 clock-names = "usb3-if", "usb3s_clk", "usb_extal";
745 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
746 resets = <&cpg 328>;
Biju Das9b33e302019-09-27 14:06:24 +0100747 #phy-cells = <0>;
Fabrizio Castro4ec25b32019-10-08 11:38:51 +0100748 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +0100749 };
750
Biju Dasfd863e52019-09-30 09:18:43 +0100751 dmac0: dma-controller@e6700000 {
752 compatible = "renesas,dmac-r8a774b1",
753 "renesas,rcar-dmac";
754 reg = <0 0xe6700000 0 0x10000>;
755 interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH
756 GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH
757 GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH
758 GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH
759 GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH
760 GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH
761 GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH
762 GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH
763 GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH
764 GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH
765 GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH
766 GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH
767 GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH
768 GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH
769 GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH
770 GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH
771 GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
772 interrupt-names = "error",
773 "ch0", "ch1", "ch2", "ch3",
774 "ch4", "ch5", "ch6", "ch7",
775 "ch8", "ch9", "ch10", "ch11",
776 "ch12", "ch13", "ch14", "ch15";
777 clocks = <&cpg CPG_MOD 219>;
778 clock-names = "fck";
779 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
780 resets = <&cpg 219>;
781 #dma-cells = <1>;
782 dma-channels = <16>;
Biju Dasc6558892019-09-24 09:22:54 +0100783 iommus = <&ipmmu_ds0 0>, <&ipmmu_ds0 1>,
784 <&ipmmu_ds0 2>, <&ipmmu_ds0 3>,
785 <&ipmmu_ds0 4>, <&ipmmu_ds0 5>,
786 <&ipmmu_ds0 6>, <&ipmmu_ds0 7>,
787 <&ipmmu_ds0 8>, <&ipmmu_ds0 9>,
788 <&ipmmu_ds0 10>, <&ipmmu_ds0 11>,
789 <&ipmmu_ds0 12>, <&ipmmu_ds0 13>,
790 <&ipmmu_ds0 14>, <&ipmmu_ds0 15>;
Biju Dasfd863e52019-09-30 09:18:43 +0100791 };
792
793 dmac1: dma-controller@e7300000 {
794 compatible = "renesas,dmac-r8a774b1",
795 "renesas,rcar-dmac";
796 reg = <0 0xe7300000 0 0x10000>;
797 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
798 GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
799 GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
800 GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
801 GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
802 GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
803 GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
804 GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
805 GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
806 GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
807 GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
808 GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
809 GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
810 GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
811 GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
812 GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
813 GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>;
814 interrupt-names = "error",
815 "ch0", "ch1", "ch2", "ch3",
816 "ch4", "ch5", "ch6", "ch7",
817 "ch8", "ch9", "ch10", "ch11",
818 "ch12", "ch13", "ch14", "ch15";
819 clocks = <&cpg CPG_MOD 218>;
820 clock-names = "fck";
821 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
822 resets = <&cpg 218>;
823 #dma-cells = <1>;
824 dma-channels = <16>;
Biju Dasc6558892019-09-24 09:22:54 +0100825 iommus = <&ipmmu_ds1 0>, <&ipmmu_ds1 1>,
826 <&ipmmu_ds1 2>, <&ipmmu_ds1 3>,
827 <&ipmmu_ds1 4>, <&ipmmu_ds1 5>,
828 <&ipmmu_ds1 6>, <&ipmmu_ds1 7>,
829 <&ipmmu_ds1 8>, <&ipmmu_ds1 9>,
830 <&ipmmu_ds1 10>, <&ipmmu_ds1 11>,
831 <&ipmmu_ds1 12>, <&ipmmu_ds1 13>,
832 <&ipmmu_ds1 14>, <&ipmmu_ds1 15>;
Biju Dasfd863e52019-09-30 09:18:43 +0100833 };
834
835 dmac2: dma-controller@e7310000 {
836 compatible = "renesas,dmac-r8a774b1",
837 "renesas,rcar-dmac";
838 reg = <0 0xe7310000 0 0x10000>;
839 interrupts = <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH
840 GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH
841 GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH
842 GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH
843 GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH
844 GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH
845 GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH
846 GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH
847 GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH
848 GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH
849 GIC_SPI 426 IRQ_TYPE_LEVEL_HIGH
850 GIC_SPI 427 IRQ_TYPE_LEVEL_HIGH
851 GIC_SPI 428 IRQ_TYPE_LEVEL_HIGH
852 GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH
853 GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH
854 GIC_SPI 431 IRQ_TYPE_LEVEL_HIGH
855 GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>;
856 interrupt-names = "error",
857 "ch0", "ch1", "ch2", "ch3",
858 "ch4", "ch5", "ch6", "ch7",
859 "ch8", "ch9", "ch10", "ch11",
860 "ch12", "ch13", "ch14", "ch15";
861 clocks = <&cpg CPG_MOD 217>;
862 clock-names = "fck";
863 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
864 resets = <&cpg 217>;
865 #dma-cells = <1>;
866 dma-channels = <16>;
Biju Dasc6558892019-09-24 09:22:54 +0100867 iommus = <&ipmmu_ds1 16>, <&ipmmu_ds1 17>,
868 <&ipmmu_ds1 18>, <&ipmmu_ds1 19>,
869 <&ipmmu_ds1 20>, <&ipmmu_ds1 21>,
870 <&ipmmu_ds1 22>, <&ipmmu_ds1 23>,
871 <&ipmmu_ds1 24>, <&ipmmu_ds1 25>,
872 <&ipmmu_ds1 26>, <&ipmmu_ds1 27>,
873 <&ipmmu_ds1 28>, <&ipmmu_ds1 29>,
874 <&ipmmu_ds1 30>, <&ipmmu_ds1 31>;
Biju Dasfd863e52019-09-30 09:18:43 +0100875 };
876
Biju Das63093a82019-09-24 09:22:51 +0100877 ipmmu_ds0: mmu@e6740000 {
878 compatible = "renesas,ipmmu-r8a774b1";
879 reg = <0 0xe6740000 0 0x1000>;
880 renesas,ipmmu-main = <&ipmmu_mm 0>;
881 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
882 #iommu-cells = <1>;
883 };
884
885 ipmmu_ds1: mmu@e7740000 {
886 compatible = "renesas,ipmmu-r8a774b1";
887 reg = <0 0xe7740000 0 0x1000>;
888 renesas,ipmmu-main = <&ipmmu_mm 1>;
889 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
890 #iommu-cells = <1>;
891 };
892
893 ipmmu_hc: mmu@e6570000 {
894 compatible = "renesas,ipmmu-r8a774b1";
895 reg = <0 0xe6570000 0 0x1000>;
896 renesas,ipmmu-main = <&ipmmu_mm 2>;
897 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
898 #iommu-cells = <1>;
899 };
900
901 ipmmu_mm: mmu@e67b0000 {
902 compatible = "renesas,ipmmu-r8a774b1";
903 reg = <0 0xe67b0000 0 0x1000>;
904 interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
905 <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
906 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
907 #iommu-cells = <1>;
908 };
909
910 ipmmu_mp: mmu@ec670000 {
911 compatible = "renesas,ipmmu-r8a774b1";
912 reg = <0 0xec670000 0 0x1000>;
913 renesas,ipmmu-main = <&ipmmu_mm 4>;
914 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
915 #iommu-cells = <1>;
916 };
917
918 ipmmu_pv0: mmu@fd800000 {
919 compatible = "renesas,ipmmu-r8a774b1";
920 reg = <0 0xfd800000 0 0x1000>;
921 renesas,ipmmu-main = <&ipmmu_mm 6>;
922 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
923 #iommu-cells = <1>;
924 };
925
926 ipmmu_vc0: mmu@fe6b0000 {
927 compatible = "renesas,ipmmu-r8a774b1";
928 reg = <0 0xfe6b0000 0 0x1000>;
929 renesas,ipmmu-main = <&ipmmu_mm 12>;
930 power-domains = <&sysc R8A774B1_PD_A3VC>;
931 #iommu-cells = <1>;
932 };
933
934 ipmmu_vi0: mmu@febd0000 {
935 compatible = "renesas,ipmmu-r8a774b1";
936 reg = <0 0xfebd0000 0 0x1000>;
937 renesas,ipmmu-main = <&ipmmu_mm 14>;
938 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
939 #iommu-cells = <1>;
940 };
941
942 ipmmu_vp0: mmu@fe990000 {
943 compatible = "renesas,ipmmu-r8a774b1";
944 reg = <0 0xfe990000 0 0x1000>;
945 renesas,ipmmu-main = <&ipmmu_mm 16>;
946 power-domains = <&sysc R8A774B1_PD_A3VP>;
947 #iommu-cells = <1>;
948 };
949
Biju Das9b33e302019-09-27 14:06:24 +0100950 avb: ethernet@e6800000 {
Biju Dasc722d902019-09-30 09:18:46 +0100951 compatible = "renesas,etheravb-r8a774b1",
952 "renesas,etheravb-rcar-gen3";
Biju Das9b33e302019-09-27 14:06:24 +0100953 reg = <0 0xe6800000 0 0x800>;
Biju Dasc722d902019-09-30 09:18:46 +0100954 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
955 <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
956 <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
957 <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
958 <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
959 <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
960 <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
961 <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
962 <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
963 <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
964 <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
965 <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
966 <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
967 <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
968 <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
969 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
970 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
971 <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
972 <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
973 <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
974 <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
975 <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
976 <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
977 <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
978 <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
979 interrupt-names = "ch0", "ch1", "ch2", "ch3",
980 "ch4", "ch5", "ch6", "ch7",
981 "ch8", "ch9", "ch10", "ch11",
982 "ch12", "ch13", "ch14", "ch15",
983 "ch16", "ch17", "ch18", "ch19",
984 "ch20", "ch21", "ch22", "ch23",
985 "ch24";
986 clocks = <&cpg CPG_MOD 812>;
987 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
988 resets = <&cpg 812>;
989 phy-mode = "rgmii";
Biju Das79718f92019-09-24 09:22:55 +0100990 iommus = <&ipmmu_ds0 16>;
Biju Dasc722d902019-09-30 09:18:46 +0100991 #address-cells = <1>;
992 #size-cells = <0>;
993 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +0100994 };
995
996 can0: can@e6c30000 {
Fabrizio Castro3fa08cb2019-10-10 15:26:00 +0100997 compatible = "renesas,can-r8a774b1",
998 "renesas,rcar-gen3-can";
Biju Das9b33e302019-09-27 14:06:24 +0100999 reg = <0 0xe6c30000 0 0x1000>;
Fabrizio Castro3fa08cb2019-10-10 15:26:00 +01001000 interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
1001 clocks = <&cpg CPG_MOD 916>,
1002 <&cpg CPG_CORE R8A774B1_CLK_CANFD>,
1003 <&can_clk>;
1004 clock-names = "clkp1", "clkp2", "can_clk";
1005 assigned-clocks = <&cpg CPG_CORE R8A774B1_CLK_CANFD>;
1006 assigned-clock-rates = <40000000>;
1007 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1008 resets = <&cpg 916>;
1009 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001010 };
1011
1012 can1: can@e6c38000 {
Fabrizio Castro3fa08cb2019-10-10 15:26:00 +01001013 compatible = "renesas,can-r8a774b1",
1014 "renesas,rcar-gen3-can";
Biju Das9b33e302019-09-27 14:06:24 +01001015 reg = <0 0xe6c38000 0 0x1000>;
Fabrizio Castro3fa08cb2019-10-10 15:26:00 +01001016 interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
1017 clocks = <&cpg CPG_MOD 915>,
1018 <&cpg CPG_CORE R8A774B1_CLK_CANFD>,
1019 <&can_clk>;
1020 clock-names = "clkp1", "clkp2", "can_clk";
1021 assigned-clocks = <&cpg CPG_CORE R8A774B1_CLK_CANFD>;
1022 assigned-clock-rates = <40000000>;
1023 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1024 resets = <&cpg 915>;
1025 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001026 };
1027
1028 canfd: can@e66c0000 {
Fabrizio Castro3fa08cb2019-10-10 15:26:00 +01001029 compatible = "renesas,r8a774b1-canfd",
1030 "renesas,rcar-gen3-canfd";
Biju Das9b33e302019-09-27 14:06:24 +01001031 reg = <0 0xe66c0000 0 0x8000>;
Fabrizio Castro3fa08cb2019-10-10 15:26:00 +01001032 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
1033 <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
1034 clocks = <&cpg CPG_MOD 914>,
1035 <&cpg CPG_CORE R8A774B1_CLK_CANFD>,
1036 <&can_clk>;
1037 clock-names = "fck", "canfd", "can_clk";
1038 assigned-clocks = <&cpg CPG_CORE R8A774B1_CLK_CANFD>;
1039 assigned-clock-rates = <40000000>;
1040 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1041 resets = <&cpg 914>;
1042 status = "disabled";
1043
1044 channel0 {
1045 status = "disabled";
1046 };
1047
1048 channel1 {
1049 status = "disabled";
1050 };
Biju Das9b33e302019-09-27 14:06:24 +01001051 };
1052
Biju Das68f62752019-10-02 16:20:16 +01001053 pwm0: pwm@e6e30000 {
1054 compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
1055 reg = <0 0xe6e30000 0 0x8>;
1056 #pwm-cells = <2>;
1057 clocks = <&cpg CPG_MOD 523>;
1058 resets = <&cpg 523>;
1059 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1060 status = "disabled";
1061 };
1062
1063 pwm1: pwm@e6e31000 {
1064 compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
1065 reg = <0 0xe6e31000 0 0x8>;
1066 #pwm-cells = <2>;
1067 clocks = <&cpg CPG_MOD 523>;
1068 resets = <&cpg 523>;
1069 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1070 status = "disabled";
1071 };
1072
1073 pwm2: pwm@e6e32000 {
1074 compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
1075 reg = <0 0xe6e32000 0 0x8>;
1076 #pwm-cells = <2>;
1077 clocks = <&cpg CPG_MOD 523>;
1078 resets = <&cpg 523>;
1079 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1080 status = "disabled";
1081 };
1082
1083 pwm3: pwm@e6e33000 {
1084 compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
1085 reg = <0 0xe6e33000 0 0x8>;
1086 #pwm-cells = <2>;
1087 clocks = <&cpg CPG_MOD 523>;
1088 resets = <&cpg 523>;
1089 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1090 status = "disabled";
1091 };
1092
1093 pwm4: pwm@e6e34000 {
1094 compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
1095 reg = <0 0xe6e34000 0 0x8>;
1096 #pwm-cells = <2>;
1097 clocks = <&cpg CPG_MOD 523>;
1098 resets = <&cpg 523>;
1099 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1100 status = "disabled";
1101 };
1102
1103 pwm5: pwm@e6e35000 {
1104 compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
1105 reg = <0 0xe6e35000 0 0x8>;
1106 #pwm-cells = <2>;
1107 clocks = <&cpg CPG_MOD 523>;
1108 resets = <&cpg 523>;
1109 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1110 status = "disabled";
1111 };
1112
1113 pwm6: pwm@e6e36000 {
1114 compatible = "renesas,pwm-r8a774b1", "renesas,pwm-rcar";
1115 reg = <0 0xe6e36000 0 0x8>;
1116 #pwm-cells = <2>;
1117 clocks = <&cpg CPG_MOD 523>;
1118 resets = <&cpg 523>;
1119 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1120 status = "disabled";
1121 };
1122
Biju Das83e76202019-09-30 09:18:44 +01001123 scif0: serial@e6e60000 {
1124 compatible = "renesas,scif-r8a774b1",
1125 "renesas,rcar-gen3-scif", "renesas,scif";
1126 reg = <0 0xe6e60000 0 0x40>;
1127 interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
1128 clocks = <&cpg CPG_MOD 207>,
1129 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
1130 <&scif_clk>;
1131 clock-names = "fck", "brg_int", "scif_clk";
1132 dmas = <&dmac1 0x51>, <&dmac1 0x50>,
1133 <&dmac2 0x51>, <&dmac2 0x50>;
1134 dma-names = "tx", "rx", "tx", "rx";
1135 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1136 resets = <&cpg 207>;
1137 status = "disabled";
1138 };
1139
1140 scif1: serial@e6e68000 {
1141 compatible = "renesas,scif-r8a774b1",
1142 "renesas,rcar-gen3-scif", "renesas,scif";
1143 reg = <0 0xe6e68000 0 0x40>;
1144 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
1145 clocks = <&cpg CPG_MOD 206>,
1146 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
1147 <&scif_clk>;
1148 clock-names = "fck", "brg_int", "scif_clk";
1149 dmas = <&dmac1 0x53>, <&dmac1 0x52>,
1150 <&dmac2 0x53>, <&dmac2 0x52>;
1151 dma-names = "tx", "rx", "tx", "rx";
1152 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1153 resets = <&cpg 206>;
1154 status = "disabled";
1155 };
1156
Biju Das9b33e302019-09-27 14:06:24 +01001157 scif2: serial@e6e88000 {
1158 compatible = "renesas,scif-r8a774b1",
1159 "renesas,rcar-gen3-scif", "renesas,scif";
Biju Das83e76202019-09-30 09:18:44 +01001160 reg = <0 0xe6e88000 0 0x40>;
Biju Das9b33e302019-09-27 14:06:24 +01001161 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
1162 clocks = <&cpg CPG_MOD 310>,
1163 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
1164 <&scif_clk>;
1165 clock-names = "fck", "brg_int", "scif_clk";
Biju Das83e76202019-09-30 09:18:44 +01001166 dmas = <&dmac1 0x13>, <&dmac1 0x12>,
1167 <&dmac2 0x13>, <&dmac2 0x12>;
1168 dma-names = "tx", "rx", "tx", "rx";
Biju Das9b33e302019-09-27 14:06:24 +01001169 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1170 resets = <&cpg 310>;
1171 status = "disabled";
1172 };
1173
Biju Das83e76202019-09-30 09:18:44 +01001174 scif3: serial@e6c50000 {
1175 compatible = "renesas,scif-r8a774b1",
1176 "renesas,rcar-gen3-scif", "renesas,scif";
1177 reg = <0 0xe6c50000 0 0x40>;
1178 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
1179 clocks = <&cpg CPG_MOD 204>,
1180 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
1181 <&scif_clk>;
1182 clock-names = "fck", "brg_int", "scif_clk";
1183 dmas = <&dmac0 0x57>, <&dmac0 0x56>;
1184 dma-names = "tx", "rx";
1185 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1186 resets = <&cpg 204>;
1187 status = "disabled";
1188 };
1189
1190 scif4: serial@e6c40000 {
1191 compatible = "renesas,scif-r8a774b1",
1192 "renesas,rcar-gen3-scif", "renesas,scif";
1193 reg = <0 0xe6c40000 0 0x40>;
1194 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
1195 clocks = <&cpg CPG_MOD 203>,
1196 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
1197 <&scif_clk>;
1198 clock-names = "fck", "brg_int", "scif_clk";
1199 dmas = <&dmac0 0x59>, <&dmac0 0x58>;
1200 dma-names = "tx", "rx";
1201 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1202 resets = <&cpg 203>;
1203 status = "disabled";
1204 };
1205
1206 scif5: serial@e6f30000 {
1207 compatible = "renesas,scif-r8a774b1",
1208 "renesas,rcar-gen3-scif", "renesas,scif";
1209 reg = <0 0xe6f30000 0 0x40>;
1210 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
1211 clocks = <&cpg CPG_MOD 202>,
1212 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
1213 <&scif_clk>;
1214 clock-names = "fck", "brg_int", "scif_clk";
1215 dmas = <&dmac1 0x5b>, <&dmac1 0x5a>,
1216 <&dmac2 0x5b>, <&dmac2 0x5a>;
1217 dma-names = "tx", "rx", "tx", "rx";
1218 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1219 resets = <&cpg 202>;
1220 status = "disabled";
1221 };
1222
Fabrizio Castroc88657c2019-10-04 09:35:31 +01001223 msiof0: spi@e6e90000 {
1224 compatible = "renesas,msiof-r8a774b1",
1225 "renesas,rcar-gen3-msiof";
1226 reg = <0 0xe6e90000 0 0x0064>;
1227 interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
1228 clocks = <&cpg CPG_MOD 211>;
1229 dmas = <&dmac1 0x41>, <&dmac1 0x40>,
1230 <&dmac2 0x41>, <&dmac2 0x40>;
1231 dma-names = "tx", "rx", "tx", "rx";
1232 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1233 resets = <&cpg 211>;
1234 #address-cells = <1>;
1235 #size-cells = <0>;
1236 status = "disabled";
1237 };
1238
1239 msiof1: spi@e6ea0000 {
1240 compatible = "renesas,msiof-r8a774b1",
1241 "renesas,rcar-gen3-msiof";
1242 reg = <0 0xe6ea0000 0 0x0064>;
1243 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
1244 clocks = <&cpg CPG_MOD 210>;
1245 dmas = <&dmac1 0x43>, <&dmac1 0x42>,
1246 <&dmac2 0x43>, <&dmac2 0x42>;
1247 dma-names = "tx", "rx", "tx", "rx";
1248 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1249 resets = <&cpg 210>;
1250 #address-cells = <1>;
1251 #size-cells = <0>;
1252 status = "disabled";
1253 };
1254
1255 msiof2: spi@e6c00000 {
1256 compatible = "renesas,msiof-r8a774b1",
1257 "renesas,rcar-gen3-msiof";
1258 reg = <0 0xe6c00000 0 0x0064>;
1259 interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
1260 clocks = <&cpg CPG_MOD 209>;
1261 dmas = <&dmac0 0x45>, <&dmac0 0x44>;
1262 dma-names = "tx", "rx";
1263 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1264 resets = <&cpg 209>;
1265 #address-cells = <1>;
1266 #size-cells = <0>;
1267 status = "disabled";
1268 };
1269
1270 msiof3: spi@e6c10000 {
1271 compatible = "renesas,msiof-r8a774b1",
1272 "renesas,rcar-gen3-msiof";
1273 reg = <0 0xe6c10000 0 0x0064>;
1274 interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
1275 clocks = <&cpg CPG_MOD 208>;
1276 dmas = <&dmac0 0x47>, <&dmac0 0x46>;
1277 dma-names = "tx", "rx";
1278 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1279 resets = <&cpg 208>;
1280 #address-cells = <1>;
1281 #size-cells = <0>;
1282 status = "disabled";
1283 };
1284
Biju Das9b33e302019-09-27 14:06:24 +01001285 rcar_sound: sound@ec500000 {
Biju Das067eca62019-10-04 15:52:41 +01001286 /*
1287 * #sound-dai-cells is required
1288 *
1289 * Single DAI : #sound-dai-cells = <0>; <&rcar_sound>;
1290 * Multi DAI : #sound-dai-cells = <1>; <&rcar_sound N>;
1291 */
1292 /*
1293 * #clock-cells is required for audio_clkout0/1/2/3
1294 *
1295 * clkout : #clock-cells = <0>; <&rcar_sound>;
1296 * clkout0/1/2/3: #clock-cells = <1>; <&rcar_sound N>;
1297 */
1298 compatible = "renesas,rcar_sound-r8a774b1", "renesas,rcar_sound-gen3";
Biju Das9b33e302019-09-27 14:06:24 +01001299 reg = <0 0xec500000 0 0x1000>, /* SCU */
1300 <0 0xec5a0000 0 0x100>, /* ADG */
1301 <0 0xec540000 0 0x1000>, /* SSIU */
1302 <0 0xec541000 0 0x280>, /* SSI */
1303 <0 0xec760000 0 0x200>; /* Audio DMAC peri peri*/
Biju Das067eca62019-10-04 15:52:41 +01001304 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
1305
1306 clocks = <&cpg CPG_MOD 1005>,
1307 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
1308 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
1309 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
1310 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
1311 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
1312 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
1313 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
1314 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
1315 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
1316 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
1317 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
1318 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
1319 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
1320 <&audio_clk_a>, <&audio_clk_b>,
1321 <&audio_clk_c>,
1322 <&cpg CPG_CORE R8A774B1_CLK_S0D4>;
1323 clock-names = "ssi-all",
1324 "ssi.9", "ssi.8", "ssi.7", "ssi.6",
1325 "ssi.5", "ssi.4", "ssi.3", "ssi.2",
1326 "ssi.1", "ssi.0",
1327 "src.9", "src.8", "src.7", "src.6",
1328 "src.5", "src.4", "src.3", "src.2",
1329 "src.1", "src.0",
1330 "mix.1", "mix.0",
1331 "ctu.1", "ctu.0",
1332 "dvc.0", "dvc.1",
1333 "clk_a", "clk_b", "clk_c", "clk_i";
1334 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1335 resets = <&cpg 1005>,
1336 <&cpg 1006>, <&cpg 1007>,
1337 <&cpg 1008>, <&cpg 1009>,
1338 <&cpg 1010>, <&cpg 1011>,
1339 <&cpg 1012>, <&cpg 1013>,
1340 <&cpg 1014>, <&cpg 1015>;
1341 reset-names = "ssi-all",
1342 "ssi.9", "ssi.8", "ssi.7", "ssi.6",
1343 "ssi.5", "ssi.4", "ssi.3", "ssi.2",
1344 "ssi.1", "ssi.0";
1345 status = "disabled";
1346
1347 rcar_sound,ctu {
1348 ctu00: ctu-0 { };
1349 ctu01: ctu-1 { };
1350 ctu02: ctu-2 { };
1351 ctu03: ctu-3 { };
1352 ctu10: ctu-4 { };
1353 ctu11: ctu-5 { };
1354 ctu12: ctu-6 { };
1355 ctu13: ctu-7 { };
1356 };
1357
1358 rcar_sound,dvc {
1359 dvc0: dvc-0 {
1360 dmas = <&audma1 0xbc>;
1361 dma-names = "tx";
1362 };
1363 dvc1: dvc-1 {
1364 dmas = <&audma1 0xbe>;
1365 dma-names = "tx";
1366 };
1367 };
1368
1369 rcar_sound,mix {
1370 mix0: mix-0 { };
1371 mix1: mix-1 { };
1372 };
1373
1374 rcar_sound,src {
1375 src0: src-0 {
1376 interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
1377 dmas = <&audma0 0x85>, <&audma1 0x9a>;
1378 dma-names = "rx", "tx";
1379 };
1380 src1: src-1 {
1381 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1382 dmas = <&audma0 0x87>, <&audma1 0x9c>;
1383 dma-names = "rx", "tx";
1384 };
1385 src2: src-2 {
1386 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1387 dmas = <&audma0 0x89>, <&audma1 0x9e>;
1388 dma-names = "rx", "tx";
1389 };
1390 src3: src-3 {
1391 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1392 dmas = <&audma0 0x8b>, <&audma1 0xa0>;
1393 dma-names = "rx", "tx";
1394 };
1395 src4: src-4 {
1396 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1397 dmas = <&audma0 0x8d>, <&audma1 0xb0>;
1398 dma-names = "rx", "tx";
1399 };
1400 src5: src-5 {
1401 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1402 dmas = <&audma0 0x8f>, <&audma1 0xb2>;
1403 dma-names = "rx", "tx";
1404 };
1405 src6: src-6 {
1406 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1407 dmas = <&audma0 0x91>, <&audma1 0xb4>;
1408 dma-names = "rx", "tx";
1409 };
1410 src7: src-7 {
1411 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1412 dmas = <&audma0 0x93>, <&audma1 0xb6>;
1413 dma-names = "rx", "tx";
1414 };
1415 src8: src-8 {
1416 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1417 dmas = <&audma0 0x95>, <&audma1 0xb8>;
1418 dma-names = "rx", "tx";
1419 };
1420 src9: src-9 {
1421 interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
1422 dmas = <&audma0 0x97>, <&audma1 0xba>;
1423 dma-names = "rx", "tx";
1424 };
1425 };
Biju Das9b33e302019-09-27 14:06:24 +01001426
1427 rcar_sound,ssi {
Biju Das067eca62019-10-04 15:52:41 +01001428 ssi0: ssi-0 {
1429 interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
1430 dmas = <&audma0 0x01>, <&audma1 0x02>;
1431 dma-names = "rx", "tx";
1432 };
1433 ssi1: ssi-1 {
1434 interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
1435 dmas = <&audma0 0x03>, <&audma1 0x04>;
1436 dma-names = "rx", "tx";
1437 };
1438 ssi2: ssi-2 {
1439 interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>;
1440 dmas = <&audma0 0x05>, <&audma1 0x06>;
1441 dma-names = "rx", "tx";
1442 };
1443 ssi3: ssi-3 {
1444 interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
1445 dmas = <&audma0 0x07>, <&audma1 0x08>;
1446 dma-names = "rx", "tx";
1447 };
1448 ssi4: ssi-4 {
1449 interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
1450 dmas = <&audma0 0x09>, <&audma1 0x0a>;
1451 dma-names = "rx", "tx";
1452 };
1453 ssi5: ssi-5 {
1454 interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
1455 dmas = <&audma0 0x0b>, <&audma1 0x0c>;
1456 dma-names = "rx", "tx";
1457 };
1458 ssi6: ssi-6 {
1459 interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>;
1460 dmas = <&audma0 0x0d>, <&audma1 0x0e>;
1461 dma-names = "rx", "tx";
1462 };
1463 ssi7: ssi-7 {
1464 interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>;
1465 dmas = <&audma0 0x0f>, <&audma1 0x10>;
1466 dma-names = "rx", "tx";
1467 };
1468 ssi8: ssi-8 {
1469 interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>;
1470 dmas = <&audma0 0x11>, <&audma1 0x12>;
1471 dma-names = "rx", "tx";
1472 };
1473 ssi9: ssi-9 {
1474 interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
1475 dmas = <&audma0 0x13>, <&audma1 0x14>;
1476 dma-names = "rx", "tx";
1477 };
Biju Das9b33e302019-09-27 14:06:24 +01001478 };
Biju Das067eca62019-10-04 15:52:41 +01001479
1480 rcar_sound,ssiu {
1481 ssiu00: ssiu-0 {
1482 dmas = <&audma0 0x15>, <&audma1 0x16>;
1483 dma-names = "rx", "tx";
1484 };
1485 ssiu01: ssiu-1 {
1486 dmas = <&audma0 0x35>, <&audma1 0x36>;
1487 dma-names = "rx", "tx";
1488 };
1489 ssiu02: ssiu-2 {
1490 dmas = <&audma0 0x37>, <&audma1 0x38>;
1491 dma-names = "rx", "tx";
1492 };
1493 ssiu03: ssiu-3 {
1494 dmas = <&audma0 0x47>, <&audma1 0x48>;
1495 dma-names = "rx", "tx";
1496 };
1497 ssiu04: ssiu-4 {
1498 dmas = <&audma0 0x3F>, <&audma1 0x40>;
1499 dma-names = "rx", "tx";
1500 };
1501 ssiu05: ssiu-5 {
1502 dmas = <&audma0 0x43>, <&audma1 0x44>;
1503 dma-names = "rx", "tx";
1504 };
1505 ssiu06: ssiu-6 {
1506 dmas = <&audma0 0x4F>, <&audma1 0x50>;
1507 dma-names = "rx", "tx";
1508 };
1509 ssiu07: ssiu-7 {
1510 dmas = <&audma0 0x53>, <&audma1 0x54>;
1511 dma-names = "rx", "tx";
1512 };
1513 ssiu10: ssiu-8 {
1514 dmas = <&audma0 0x49>, <&audma1 0x4a>;
1515 dma-names = "rx", "tx";
1516 };
1517 ssiu11: ssiu-9 {
1518 dmas = <&audma0 0x4B>, <&audma1 0x4C>;
1519 dma-names = "rx", "tx";
1520 };
1521 ssiu12: ssiu-10 {
1522 dmas = <&audma0 0x57>, <&audma1 0x58>;
1523 dma-names = "rx", "tx";
1524 };
1525 ssiu13: ssiu-11 {
1526 dmas = <&audma0 0x59>, <&audma1 0x5A>;
1527 dma-names = "rx", "tx";
1528 };
1529 ssiu14: ssiu-12 {
1530 dmas = <&audma0 0x5F>, <&audma1 0x60>;
1531 dma-names = "rx", "tx";
1532 };
1533 ssiu15: ssiu-13 {
1534 dmas = <&audma0 0xC3>, <&audma1 0xC4>;
1535 dma-names = "rx", "tx";
1536 };
1537 ssiu16: ssiu-14 {
1538 dmas = <&audma0 0xC7>, <&audma1 0xC8>;
1539 dma-names = "rx", "tx";
1540 };
1541 ssiu17: ssiu-15 {
1542 dmas = <&audma0 0xCB>, <&audma1 0xCC>;
1543 dma-names = "rx", "tx";
1544 };
1545 ssiu20: ssiu-16 {
1546 dmas = <&audma0 0x63>, <&audma1 0x64>;
1547 dma-names = "rx", "tx";
1548 };
1549 ssiu21: ssiu-17 {
1550 dmas = <&audma0 0x67>, <&audma1 0x68>;
1551 dma-names = "rx", "tx";
1552 };
1553 ssiu22: ssiu-18 {
1554 dmas = <&audma0 0x6B>, <&audma1 0x6C>;
1555 dma-names = "rx", "tx";
1556 };
1557 ssiu23: ssiu-19 {
1558 dmas = <&audma0 0x6D>, <&audma1 0x6E>;
1559 dma-names = "rx", "tx";
1560 };
1561 ssiu24: ssiu-20 {
1562 dmas = <&audma0 0xCF>, <&audma1 0xCE>;
1563 dma-names = "rx", "tx";
1564 };
1565 ssiu25: ssiu-21 {
1566 dmas = <&audma0 0xEB>, <&audma1 0xEC>;
1567 dma-names = "rx", "tx";
1568 };
1569 ssiu26: ssiu-22 {
1570 dmas = <&audma0 0xED>, <&audma1 0xEE>;
1571 dma-names = "rx", "tx";
1572 };
1573 ssiu27: ssiu-23 {
1574 dmas = <&audma0 0xEF>, <&audma1 0xF0>;
1575 dma-names = "rx", "tx";
1576 };
1577 ssiu30: ssiu-24 {
1578 dmas = <&audma0 0x6f>, <&audma1 0x70>;
1579 dma-names = "rx", "tx";
1580 };
1581 ssiu31: ssiu-25 {
1582 dmas = <&audma0 0x21>, <&audma1 0x22>;
1583 dma-names = "rx", "tx";
1584 };
1585 ssiu32: ssiu-26 {
1586 dmas = <&audma0 0x23>, <&audma1 0x24>;
1587 dma-names = "rx", "tx";
1588 };
1589 ssiu33: ssiu-27 {
1590 dmas = <&audma0 0x25>, <&audma1 0x26>;
1591 dma-names = "rx", "tx";
1592 };
1593 ssiu34: ssiu-28 {
1594 dmas = <&audma0 0x27>, <&audma1 0x28>;
1595 dma-names = "rx", "tx";
1596 };
1597 ssiu35: ssiu-29 {
1598 dmas = <&audma0 0x29>, <&audma1 0x2A>;
1599 dma-names = "rx", "tx";
1600 };
1601 ssiu36: ssiu-30 {
1602 dmas = <&audma0 0x2B>, <&audma1 0x2C>;
1603 dma-names = "rx", "tx";
1604 };
1605 ssiu37: ssiu-31 {
1606 dmas = <&audma0 0x2D>, <&audma1 0x2E>;
1607 dma-names = "rx", "tx";
1608 };
1609 ssiu40: ssiu-32 {
1610 dmas = <&audma0 0x71>, <&audma1 0x72>;
1611 dma-names = "rx", "tx";
1612 };
1613 ssiu41: ssiu-33 {
1614 dmas = <&audma0 0x17>, <&audma1 0x18>;
1615 dma-names = "rx", "tx";
1616 };
1617 ssiu42: ssiu-34 {
1618 dmas = <&audma0 0x19>, <&audma1 0x1A>;
1619 dma-names = "rx", "tx";
1620 };
1621 ssiu43: ssiu-35 {
1622 dmas = <&audma0 0x1B>, <&audma1 0x1C>;
1623 dma-names = "rx", "tx";
1624 };
1625 ssiu44: ssiu-36 {
1626 dmas = <&audma0 0x1D>, <&audma1 0x1E>;
1627 dma-names = "rx", "tx";
1628 };
1629 ssiu45: ssiu-37 {
1630 dmas = <&audma0 0x1F>, <&audma1 0x20>;
1631 dma-names = "rx", "tx";
1632 };
1633 ssiu46: ssiu-38 {
1634 dmas = <&audma0 0x31>, <&audma1 0x32>;
1635 dma-names = "rx", "tx";
1636 };
1637 ssiu47: ssiu-39 {
1638 dmas = <&audma0 0x33>, <&audma1 0x34>;
1639 dma-names = "rx", "tx";
1640 };
1641 ssiu50: ssiu-40 {
1642 dmas = <&audma0 0x73>, <&audma1 0x74>;
1643 dma-names = "rx", "tx";
1644 };
1645 ssiu60: ssiu-41 {
1646 dmas = <&audma0 0x75>, <&audma1 0x76>;
1647 dma-names = "rx", "tx";
1648 };
1649 ssiu70: ssiu-42 {
1650 dmas = <&audma0 0x79>, <&audma1 0x7a>;
1651 dma-names = "rx", "tx";
1652 };
1653 ssiu80: ssiu-43 {
1654 dmas = <&audma0 0x7b>, <&audma1 0x7c>;
1655 dma-names = "rx", "tx";
1656 };
1657 ssiu90: ssiu-44 {
1658 dmas = <&audma0 0x7d>, <&audma1 0x7e>;
1659 dma-names = "rx", "tx";
1660 };
1661 ssiu91: ssiu-45 {
1662 dmas = <&audma0 0x7F>, <&audma1 0x80>;
1663 dma-names = "rx", "tx";
1664 };
1665 ssiu92: ssiu-46 {
1666 dmas = <&audma0 0x81>, <&audma1 0x82>;
1667 dma-names = "rx", "tx";
1668 };
1669 ssiu93: ssiu-47 {
1670 dmas = <&audma0 0x83>, <&audma1 0x84>;
1671 dma-names = "rx", "tx";
1672 };
1673 ssiu94: ssiu-48 {
1674 dmas = <&audma0 0xA3>, <&audma1 0xA4>;
1675 dma-names = "rx", "tx";
1676 };
1677 ssiu95: ssiu-49 {
1678 dmas = <&audma0 0xA5>, <&audma1 0xA6>;
1679 dma-names = "rx", "tx";
1680 };
1681 ssiu96: ssiu-50 {
1682 dmas = <&audma0 0xA7>, <&audma1 0xA8>;
1683 dma-names = "rx", "tx";
1684 };
1685 ssiu97: ssiu-51 {
1686 dmas = <&audma0 0xA9>, <&audma1 0xAA>;
1687 dma-names = "rx", "tx";
1688 };
1689 };
1690 };
1691
1692 audma0: dma-controller@ec700000 {
1693 compatible = "renesas,dmac-r8a774b1",
1694 "renesas,rcar-dmac";
1695 reg = <0 0xec700000 0 0x10000>;
1696 interrupts = <GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH
1697 GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH
1698 GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH
1699 GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH
1700 GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH
1701 GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH
1702 GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH
1703 GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH
1704 GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH
1705 GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH
1706 GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH
1707 GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH
1708 GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH
1709 GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH
1710 GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH
1711 GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH
1712 GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>;
1713 interrupt-names = "error",
1714 "ch0", "ch1", "ch2", "ch3",
1715 "ch4", "ch5", "ch6", "ch7",
1716 "ch8", "ch9", "ch10", "ch11",
1717 "ch12", "ch13", "ch14", "ch15";
1718 clocks = <&cpg CPG_MOD 502>;
1719 clock-names = "fck";
1720 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1721 resets = <&cpg 502>;
1722 #dma-cells = <1>;
1723 dma-channels = <16>;
1724 };
1725
1726 audma1: dma-controller@ec720000 {
1727 compatible = "renesas,dmac-r8a774b1",
1728 "renesas,rcar-dmac";
1729 reg = <0 0xec720000 0 0x10000>;
1730 interrupts = <GIC_SPI 351 IRQ_TYPE_LEVEL_HIGH
1731 GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH
1732 GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH
1733 GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH
1734 GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH
1735 GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH
1736 GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH
1737 GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH
1738 GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH
1739 GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH
1740 GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH
1741 GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH
1742 GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH
1743 GIC_SPI 348 IRQ_TYPE_LEVEL_HIGH
1744 GIC_SPI 349 IRQ_TYPE_LEVEL_HIGH
1745 GIC_SPI 382 IRQ_TYPE_LEVEL_HIGH
1746 GIC_SPI 383 IRQ_TYPE_LEVEL_HIGH>;
1747 interrupt-names = "error",
1748 "ch0", "ch1", "ch2", "ch3",
1749 "ch4", "ch5", "ch6", "ch7",
1750 "ch8", "ch9", "ch10", "ch11",
1751 "ch12", "ch13", "ch14", "ch15";
1752 clocks = <&cpg CPG_MOD 501>;
1753 clock-names = "fck";
1754 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1755 resets = <&cpg 501>;
1756 #dma-cells = <1>;
1757 dma-channels = <16>;
Biju Das9b33e302019-09-27 14:06:24 +01001758 };
1759
1760 xhci0: usb@ee000000 {
Fabrizio Castro4ec25b32019-10-08 11:38:51 +01001761 compatible = "renesas,xhci-r8a774b1",
1762 "renesas,rcar-gen3-xhci";
Biju Das9b33e302019-09-27 14:06:24 +01001763 reg = <0 0xee000000 0 0xc00>;
Fabrizio Castro4ec25b32019-10-08 11:38:51 +01001764 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
1765 clocks = <&cpg CPG_MOD 328>;
1766 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1767 resets = <&cpg 328>;
1768 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001769 };
1770
1771 usb3_peri0: usb@ee020000 {
Fabrizio Castro4ec25b32019-10-08 11:38:51 +01001772 compatible = "renesas,r8a774b1-usb3-peri",
1773 "renesas,rcar-gen3-usb3-peri";
Biju Das9b33e302019-09-27 14:06:24 +01001774 reg = <0 0xee020000 0 0x400>;
Fabrizio Castro4ec25b32019-10-08 11:38:51 +01001775 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
1776 clocks = <&cpg CPG_MOD 328>;
1777 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1778 resets = <&cpg 328>;
1779 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001780 };
1781
1782 ohci0: usb@ee080000 {
Fabrizio Castro561668a2019-10-08 11:38:49 +01001783 compatible = "generic-ohci";
Biju Das9b33e302019-09-27 14:06:24 +01001784 reg = <0 0xee080000 0 0x100>;
Fabrizio Castro561668a2019-10-08 11:38:49 +01001785 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1786 clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
1787 phys = <&usb2_phy0 1>;
1788 phy-names = "usb";
1789 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1790 resets = <&cpg 703>, <&cpg 704>;
1791 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001792 };
1793
1794 ohci1: usb@ee0a0000 {
Fabrizio Castro561668a2019-10-08 11:38:49 +01001795 compatible = "generic-ohci";
Biju Das9b33e302019-09-27 14:06:24 +01001796 reg = <0 0xee0a0000 0 0x100>;
Fabrizio Castro561668a2019-10-08 11:38:49 +01001797 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
1798 clocks = <&cpg CPG_MOD 702>;
1799 phys = <&usb2_phy1 1>;
1800 phy-names = "usb";
1801 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1802 resets = <&cpg 702>;
1803 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001804 };
1805
1806 ehci0: usb@ee080100 {
Fabrizio Castro561668a2019-10-08 11:38:49 +01001807 compatible = "generic-ehci";
Biju Das9b33e302019-09-27 14:06:24 +01001808 reg = <0 0xee080100 0 0x100>;
Fabrizio Castro561668a2019-10-08 11:38:49 +01001809 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1810 clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
1811 phys = <&usb2_phy0 2>;
1812 phy-names = "usb";
1813 companion = <&ohci0>;
1814 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1815 resets = <&cpg 703>, <&cpg 704>;
1816 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001817 };
1818
1819 ehci1: usb@ee0a0100 {
Fabrizio Castro561668a2019-10-08 11:38:49 +01001820 compatible = "generic-ehci";
Biju Das9b33e302019-09-27 14:06:24 +01001821 reg = <0 0xee0a0100 0 0x100>;
Fabrizio Castro561668a2019-10-08 11:38:49 +01001822 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
1823 clocks = <&cpg CPG_MOD 702>;
1824 phys = <&usb2_phy1 2>;
1825 phy-names = "usb";
1826 companion = <&ohci1>;
1827 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1828 resets = <&cpg 702>;
1829 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001830 };
1831
1832 usb2_phy0: usb-phy@ee080200 {
Fabrizio Castro561668a2019-10-08 11:38:49 +01001833 compatible = "renesas,usb2-phy-r8a774b1",
1834 "renesas,rcar-gen3-usb2-phy";
Biju Das9b33e302019-09-27 14:06:24 +01001835 reg = <0 0xee080200 0 0x700>;
Fabrizio Castro561668a2019-10-08 11:38:49 +01001836 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1837 clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
1838 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1839 resets = <&cpg 703>, <&cpg 704>;
1840 #phy-cells = <1>;
1841 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001842 };
1843
1844 usb2_phy1: usb-phy@ee0a0200 {
Fabrizio Castro561668a2019-10-08 11:38:49 +01001845 compatible = "renesas,usb2-phy-r8a774b1",
1846 "renesas,rcar-gen3-usb2-phy";
Biju Das9b33e302019-09-27 14:06:24 +01001847 reg = <0 0xee0a0200 0 0x700>;
Fabrizio Castro561668a2019-10-08 11:38:49 +01001848 clocks = <&cpg CPG_MOD 702>;
1849 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1850 resets = <&cpg 702>;
1851 #phy-cells = <1>;
1852 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001853 };
1854
1855 sdhi0: sd@ee100000 {
Biju Das63177362019-09-24 09:22:49 +01001856 compatible = "renesas,sdhi-r8a774b1",
1857 "renesas,rcar-gen3-sdhi";
Biju Das9b33e302019-09-27 14:06:24 +01001858 reg = <0 0xee100000 0 0x2000>;
Biju Das63177362019-09-24 09:22:49 +01001859 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
1860 clocks = <&cpg CPG_MOD 314>;
1861 max-frequency = <200000000>;
1862 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1863 resets = <&cpg 314>;
1864 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001865 };
1866
1867 sdhi1: sd@ee120000 {
Biju Das63177362019-09-24 09:22:49 +01001868 compatible = "renesas,sdhi-r8a774b1",
1869 "renesas,rcar-gen3-sdhi";
Biju Das9b33e302019-09-27 14:06:24 +01001870 reg = <0 0xee120000 0 0x2000>;
Biju Das63177362019-09-24 09:22:49 +01001871 interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
1872 clocks = <&cpg CPG_MOD 313>;
1873 max-frequency = <200000000>;
1874 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1875 resets = <&cpg 313>;
1876 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001877 };
1878
1879 sdhi2: sd@ee140000 {
Biju Das63177362019-09-24 09:22:49 +01001880 compatible = "renesas,sdhi-r8a774b1",
1881 "renesas,rcar-gen3-sdhi";
Biju Das9b33e302019-09-27 14:06:24 +01001882 reg = <0 0xee140000 0 0x2000>;
Biju Das63177362019-09-24 09:22:49 +01001883 interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
1884 clocks = <&cpg CPG_MOD 312>;
1885 max-frequency = <200000000>;
1886 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1887 resets = <&cpg 312>;
1888 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001889 };
1890
1891 sdhi3: sd@ee160000 {
Biju Das63177362019-09-24 09:22:49 +01001892 compatible = "renesas,sdhi-r8a774b1",
1893 "renesas,rcar-gen3-sdhi";
Biju Das9b33e302019-09-27 14:06:24 +01001894 reg = <0 0xee160000 0 0x2000>;
Biju Das63177362019-09-24 09:22:49 +01001895 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
1896 clocks = <&cpg CPG_MOD 311>;
1897 max-frequency = <200000000>;
1898 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1899 resets = <&cpg 311>;
1900 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001901 };
1902
1903 gic: interrupt-controller@f1010000 {
1904 compatible = "arm,gic-400";
1905 #interrupt-cells = <3>;
1906 #address-cells = <0>;
1907 interrupt-controller;
1908 reg = <0x0 0xf1010000 0 0x1000>,
1909 <0x0 0xf1020000 0 0x20000>,
1910 <0x0 0xf1040000 0 0x20000>,
1911 <0x0 0xf1060000 0 0x20000>;
1912 interrupts = <GIC_PPI 9
1913 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
1914 clocks = <&cpg CPG_MOD 408>;
1915 clock-names = "clk";
1916 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1917 resets = <&cpg 408>;
1918 };
1919
1920 pciec0: pcie@fe000000 {
Fabrizio Castrob3ddadf2019-10-04 09:35:32 +01001921 compatible = "renesas,pcie-r8a774b1",
1922 "renesas,pcie-rcar-gen3";
Biju Das9b33e302019-09-27 14:06:24 +01001923 reg = <0 0xfe000000 0 0x80000>;
1924 #address-cells = <3>;
1925 #size-cells = <2>;
1926 bus-range = <0x00 0xff>;
Fabrizio Castrob3ddadf2019-10-04 09:35:32 +01001927 device_type = "pci";
1928 ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000
1929 0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000
1930 0x02000000 0 0x30000000 0 0x30000000 0 0x08000000
1931 0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
1932 /* Map all possible DDR as inbound ranges */
1933 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000>;
1934 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
1935 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
1936 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
1937 #interrupt-cells = <1>;
1938 interrupt-map-mask = <0 0 0 0>;
1939 interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
1940 clocks = <&cpg CPG_MOD 319>, <&pcie_bus_clk>;
1941 clock-names = "pcie", "pcie_bus";
1942 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1943 resets = <&cpg 319>;
1944 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001945 };
1946
1947 pciec1: pcie@ee800000 {
Fabrizio Castrob3ddadf2019-10-04 09:35:32 +01001948 compatible = "renesas,pcie-r8a774b1",
1949 "renesas,pcie-rcar-gen3";
Biju Das9b33e302019-09-27 14:06:24 +01001950 reg = <0 0xee800000 0 0x80000>;
1951 #address-cells = <3>;
1952 #size-cells = <2>;
1953 bus-range = <0x00 0xff>;
Fabrizio Castrob3ddadf2019-10-04 09:35:32 +01001954 device_type = "pci";
1955 ranges = <0x01000000 0 0x00000000 0 0xee900000 0 0x00100000
1956 0x02000000 0 0xeea00000 0 0xeea00000 0 0x00200000
1957 0x02000000 0 0xc0000000 0 0xc0000000 0 0x08000000
1958 0x42000000 0 0xc8000000 0 0xc8000000 0 0x08000000>;
1959 /* Map all possible DDR as inbound ranges */
1960 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000>;
1961 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
1962 <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
1963 <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
1964 #interrupt-cells = <1>;
1965 interrupt-map-mask = <0 0 0 0>;
1966 interrupt-map = <0 0 0 0 &gic GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
1967 clocks = <&cpg CPG_MOD 318>, <&pcie_bus_clk>;
1968 clock-names = "pcie", "pcie_bus";
1969 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1970 resets = <&cpg 318>;
1971 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001972 };
1973
Biju Dasab468162019-10-02 16:20:15 +01001974 fdp1@fe940000 {
1975 compatible = "renesas,fdp1";
1976 reg = <0 0xfe940000 0 0x2400>;
1977 interrupts = <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>;
1978 clocks = <&cpg CPG_MOD 119>;
1979 power-domains = <&sysc R8A774B1_PD_A3VP>;
1980 resets = <&cpg 119>;
1981 renesas,fcp = <&fcpf0>;
1982 };
1983
Biju Das955ceb52019-09-24 09:22:52 +01001984 fcpf0: fcp@fe950000 {
1985 compatible = "renesas,fcpf";
1986 reg = <0 0xfe950000 0 0x200>;
1987 clocks = <&cpg CPG_MOD 615>;
1988 power-domains = <&sysc R8A774B1_PD_A3VP>;
1989 resets = <&cpg 615>;
1990 };
1991
Biju Das966607b2019-09-24 09:22:53 +01001992 vspb: vsp@fe960000 {
1993 compatible = "renesas,vsp2";
1994 reg = <0 0xfe960000 0 0x8000>;
1995 interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
1996 clocks = <&cpg CPG_MOD 626>;
1997 power-domains = <&sysc R8A774B1_PD_A3VP>;
1998 resets = <&cpg 626>;
1999
2000 renesas,fcp = <&fcpvb0>;
2001 };
2002
2003 vspi0: vsp@fe9a0000 {
2004 compatible = "renesas,vsp2";
2005 reg = <0 0xfe9a0000 0 0x8000>;
2006 interrupts = <GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>;
2007 clocks = <&cpg CPG_MOD 631>;
2008 power-domains = <&sysc R8A774B1_PD_A3VP>;
2009 resets = <&cpg 631>;
2010
2011 renesas,fcp = <&fcpvi0>;
2012 };
2013
2014 vspd0: vsp@fea20000 {
2015 compatible = "renesas,vsp2";
2016 reg = <0 0xfea20000 0 0x5000>;
2017 interrupts = <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>;
2018 clocks = <&cpg CPG_MOD 623>;
2019 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2020 resets = <&cpg 623>;
2021
2022 renesas,fcp = <&fcpvd0>;
2023 };
2024
2025 vspd1: vsp@fea28000 {
2026 compatible = "renesas,vsp2";
2027 reg = <0 0xfea28000 0 0x5000>;
2028 interrupts = <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>;
2029 clocks = <&cpg CPG_MOD 622>;
2030 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2031 resets = <&cpg 622>;
2032
2033 renesas,fcp = <&fcpvd1>;
2034 };
2035
Biju Das955ceb52019-09-24 09:22:52 +01002036 fcpvb0: fcp@fe96f000 {
2037 compatible = "renesas,fcpv";
2038 reg = <0 0xfe96f000 0 0x200>;
2039 clocks = <&cpg CPG_MOD 607>;
2040 power-domains = <&sysc R8A774B1_PD_A3VP>;
2041 resets = <&cpg 607>;
2042 };
2043
2044 fcpvd0: fcp@fea27000 {
2045 compatible = "renesas,fcpv";
2046 reg = <0 0xfea27000 0 0x200>;
2047 clocks = <&cpg CPG_MOD 603>;
2048 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2049 resets = <&cpg 603>;
2050 };
2051
2052 fcpvd1: fcp@fea2f000 {
2053 compatible = "renesas,fcpv";
2054 reg = <0 0xfea2f000 0 0x200>;
2055 clocks = <&cpg CPG_MOD 602>;
2056 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2057 resets = <&cpg 602>;
2058 };
2059
2060 fcpvi0: fcp@fe9af000 {
2061 compatible = "renesas,fcpv";
2062 reg = <0 0xfe9af000 0 0x200>;
2063 clocks = <&cpg CPG_MOD 611>;
2064 power-domains = <&sysc R8A774B1_PD_A3VP>;
2065 resets = <&cpg 611>;
2066 };
2067
Biju Das9b33e302019-09-27 14:06:24 +01002068 hdmi0: hdmi@fead0000 {
Biju Das3a025552019-10-02 16:20:13 +01002069 compatible = "renesas,r8a774b1-hdmi",
2070 "renesas,rcar-gen3-hdmi";
Biju Das9b33e302019-09-27 14:06:24 +01002071 reg = <0 0xfead0000 0 0x10000>;
Biju Das3a025552019-10-02 16:20:13 +01002072 interrupts = <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>;
2073 clocks = <&cpg CPG_MOD 729>,
2074 <&cpg CPG_CORE R8A774B1_CLK_HDMI>;
2075 clock-names = "iahb", "isfr";
2076 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2077 resets = <&cpg 729>;
2078 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01002079
2080 ports {
2081 #address-cells = <1>;
2082 #size-cells = <0>;
2083
2084 port@0 {
2085 reg = <0>;
2086 dw_hdmi0_in: endpoint {
Biju Das3a025552019-10-02 16:20:13 +01002087 remote-endpoint = <&du_out_hdmi0>;
Biju Das9b33e302019-09-27 14:06:24 +01002088 };
2089 };
2090 port@1 {
2091 reg = <1>;
2092 };
Biju Das3a025552019-10-02 16:20:13 +01002093 port@2 {
2094 /* HDMI sound */
2095 reg = <2>;
2096 };
Biju Das9b33e302019-09-27 14:06:24 +01002097 };
2098 };
2099
2100 du: display@feb00000 {
Biju Das04e4bad2019-10-02 16:20:12 +01002101 compatible = "renesas,du-r8a774b1";
Biju Das9b33e302019-09-27 14:06:24 +01002102 reg = <0 0xfeb00000 0 0x80000>;
Biju Das04e4bad2019-10-02 16:20:12 +01002103 interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
2104 <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
2105 <GIC_SPI 270 IRQ_TYPE_LEVEL_HIGH>;
2106 clocks = <&cpg CPG_MOD 724>,
2107 <&cpg CPG_MOD 723>,
2108 <&cpg CPG_MOD 721>;
2109 clock-names = "du.0", "du.1", "du.3";
2110 status = "disabled";
2111
2112 vsps = <&vspd0 0>, <&vspd1 0>, <&vspd0 1>;
Biju Das9b33e302019-09-27 14:06:24 +01002113
2114 ports {
2115 #address-cells = <1>;
2116 #size-cells = <0>;
2117
2118 port@0 {
2119 reg = <0>;
2120 du_out_rgb: endpoint {
2121 };
2122 };
2123 port@1 {
2124 reg = <1>;
2125 du_out_hdmi0: endpoint {
Biju Das3a025552019-10-02 16:20:13 +01002126 remote-endpoint = <&dw_hdmi0_in>;
Biju Das9b33e302019-09-27 14:06:24 +01002127 };
2128 };
2129 port@2 {
2130 reg = <2>;
2131 du_out_lvds0: endpoint {
Biju Das04e4bad2019-10-02 16:20:12 +01002132 remote-endpoint = <&lvds0_in>;
2133 };
2134 };
2135 };
2136 };
2137
2138 lvds0: lvds@feb90000 {
2139 compatible = "renesas,r8a774b1-lvds";
2140 reg = <0 0xfeb90000 0 0x14>;
2141 clocks = <&cpg CPG_MOD 727>;
2142 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
2143 resets = <&cpg 727>;
2144 status = "disabled";
2145
2146 ports {
2147 #address-cells = <1>;
2148 #size-cells = <0>;
2149
2150 port@0 {
2151 reg = <0>;
2152 lvds0_in: endpoint {
2153 remote-endpoint = <&du_out_lvds0>;
2154 };
2155 };
2156 port@1 {
2157 reg = <1>;
2158 lvds0_out: endpoint {
Biju Das9b33e302019-09-27 14:06:24 +01002159 };
2160 };
2161 };
2162 };
2163
2164 prr: chipid@fff00044 {
2165 compatible = "renesas,prr";
2166 reg = <0 0xfff00044 0 4>;
2167 };
2168 };
2169
Biju Das95b35472019-09-23 15:57:26 +01002170 thermal-zones {
2171 sensor_thermal1: sensor-thermal1 {
2172 polling-delay-passive = <250>;
2173 polling-delay = <1000>;
2174 thermal-sensors = <&tsc 0>;
2175 sustainable-power = <2439>;
2176
2177 trips {
2178 sensor1_crit: sensor1-crit {
2179 temperature = <120000>;
2180 hysteresis = <1000>;
2181 type = "critical";
2182 };
2183 };
2184 };
2185
2186 sensor_thermal2: sensor-thermal2 {
2187 polling-delay-passive = <250>;
2188 polling-delay = <1000>;
2189 thermal-sensors = <&tsc 1>;
2190 sustainable-power = <2439>;
2191
2192 trips {
2193 sensor2_crit: sensor2-crit {
2194 temperature = <120000>;
2195 hysteresis = <1000>;
2196 type = "critical";
2197 };
2198 };
2199 };
2200
2201 sensor_thermal3: sensor-thermal3 {
2202 polling-delay-passive = <250>;
2203 polling-delay = <1000>;
2204 thermal-sensors = <&tsc 2>;
2205 sustainable-power = <2439>;
2206
2207 cooling-maps {
2208 map0 {
2209 trip = <&target>;
2210 cooling-device = <&a57_0 0 2>;
2211 contribution = <1024>;
2212 };
2213 };
2214 trips {
2215 target: trip-point1 {
2216 temperature = <100000>;
2217 hysteresis = <1000>;
2218 type = "passive";
2219 };
2220
2221 sensor3_crit: sensor3-crit {
2222 temperature = <120000>;
2223 hysteresis = <1000>;
2224 type = "critical";
2225 };
2226 };
2227 };
2228 };
2229
Biju Das9b33e302019-09-27 14:06:24 +01002230 timer {
2231 compatible = "arm,armv8-timer";
2232 interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
2233 <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
2234 <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
2235 <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
2236 };
2237
2238 /* External USB clocks - can be overridden by the board */
2239 usb3s0_clk: usb3s0 {
2240 compatible = "fixed-clock";
2241 #clock-cells = <0>;
2242 clock-frequency = <0>;
2243 };
2244
2245 usb_extal_clk: usb_extal {
2246 compatible = "fixed-clock";
2247 #clock-cells = <0>;
2248 clock-frequency = <0>;
2249 };
2250};