blob: c92550e3c5cd70fcc4408fb239ceb81251ac46bb [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 {
154 reg = <0 0xe6020000 0 0x0c>;
155 /* placeholder */
156 };
157
158 gpio0: gpio@e6050000 {
Biju Dasbbbb9192019-09-30 09:18:45 +0100159 compatible = "renesas,gpio-r8a774b1",
160 "renesas,rcar-gen3-gpio";
Biju Das9b33e302019-09-27 14:06:24 +0100161 reg = <0 0xe6050000 0 0x50>;
Biju Dasbbbb9192019-09-30 09:18:45 +0100162 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
Biju Das9b33e302019-09-27 14:06:24 +0100163 #gpio-cells = <2>;
164 gpio-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100165 gpio-ranges = <&pfc 0 0 16>;
Biju Das9b33e302019-09-27 14:06:24 +0100166 #interrupt-cells = <2>;
167 interrupt-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100168 clocks = <&cpg CPG_MOD 912>;
169 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
170 resets = <&cpg 912>;
Biju Das9b33e302019-09-27 14:06:24 +0100171 };
172
173 gpio1: gpio@e6051000 {
Biju Dasbbbb9192019-09-30 09:18:45 +0100174 compatible = "renesas,gpio-r8a774b1",
175 "renesas,rcar-gen3-gpio";
Biju Das9b33e302019-09-27 14:06:24 +0100176 reg = <0 0xe6051000 0 0x50>;
Biju Dasbbbb9192019-09-30 09:18:45 +0100177 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
Biju Das9b33e302019-09-27 14:06:24 +0100178 #gpio-cells = <2>;
179 gpio-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100180 gpio-ranges = <&pfc 0 32 29>;
Biju Das9b33e302019-09-27 14:06:24 +0100181 #interrupt-cells = <2>;
182 interrupt-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100183 clocks = <&cpg CPG_MOD 911>;
184 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
185 resets = <&cpg 911>;
Biju Das9b33e302019-09-27 14:06:24 +0100186 };
187
188 gpio2: gpio@e6052000 {
Biju Dasbbbb9192019-09-30 09:18:45 +0100189 compatible = "renesas,gpio-r8a774b1",
190 "renesas,rcar-gen3-gpio";
Biju Das9b33e302019-09-27 14:06:24 +0100191 reg = <0 0xe6052000 0 0x50>;
Biju Dasbbbb9192019-09-30 09:18:45 +0100192 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Biju Das9b33e302019-09-27 14:06:24 +0100193 #gpio-cells = <2>;
194 gpio-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100195 gpio-ranges = <&pfc 0 64 15>;
Biju Das9b33e302019-09-27 14:06:24 +0100196 #interrupt-cells = <2>;
197 interrupt-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100198 clocks = <&cpg CPG_MOD 910>;
199 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
200 resets = <&cpg 910>;
Biju Das9b33e302019-09-27 14:06:24 +0100201 };
202
203 gpio3: gpio@e6053000 {
Biju Dasbbbb9192019-09-30 09:18:45 +0100204 compatible = "renesas,gpio-r8a774b1",
205 "renesas,rcar-gen3-gpio";
Biju Das9b33e302019-09-27 14:06:24 +0100206 reg = <0 0xe6053000 0 0x50>;
Biju Dasbbbb9192019-09-30 09:18:45 +0100207 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
Biju Das9b33e302019-09-27 14:06:24 +0100208 #gpio-cells = <2>;
209 gpio-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100210 gpio-ranges = <&pfc 0 96 16>;
Biju Das9b33e302019-09-27 14:06:24 +0100211 #interrupt-cells = <2>;
212 interrupt-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100213 clocks = <&cpg CPG_MOD 909>;
214 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
215 resets = <&cpg 909>;
Biju Das9b33e302019-09-27 14:06:24 +0100216 };
217
218 gpio4: gpio@e6054000 {
Biju Dasbbbb9192019-09-30 09:18:45 +0100219 compatible = "renesas,gpio-r8a774b1",
220 "renesas,rcar-gen3-gpio";
Biju Das9b33e302019-09-27 14:06:24 +0100221 reg = <0 0xe6054000 0 0x50>;
Biju Dasbbbb9192019-09-30 09:18:45 +0100222 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
Biju Das9b33e302019-09-27 14:06:24 +0100223 #gpio-cells = <2>;
224 gpio-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100225 gpio-ranges = <&pfc 0 128 18>;
Biju Das9b33e302019-09-27 14:06:24 +0100226 #interrupt-cells = <2>;
227 interrupt-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100228 clocks = <&cpg CPG_MOD 908>;
229 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
230 resets = <&cpg 908>;
Biju Das9b33e302019-09-27 14:06:24 +0100231 };
232
233 gpio5: gpio@e6055000 {
Biju Dasbbbb9192019-09-30 09:18:45 +0100234 compatible = "renesas,gpio-r8a774b1",
235 "renesas,rcar-gen3-gpio";
Biju Das9b33e302019-09-27 14:06:24 +0100236 reg = <0 0xe6055000 0 0x50>;
Biju Dasbbbb9192019-09-30 09:18:45 +0100237 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
Biju Das9b33e302019-09-27 14:06:24 +0100238 #gpio-cells = <2>;
239 gpio-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100240 gpio-ranges = <&pfc 0 160 26>;
Biju Das9b33e302019-09-27 14:06:24 +0100241 #interrupt-cells = <2>;
242 interrupt-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100243 clocks = <&cpg CPG_MOD 907>;
244 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
245 resets = <&cpg 907>;
Biju Das9b33e302019-09-27 14:06:24 +0100246 };
247
248 gpio6: gpio@e6055400 {
Biju Dasbbbb9192019-09-30 09:18:45 +0100249 compatible = "renesas,gpio-r8a774b1",
250 "renesas,rcar-gen3-gpio";
Biju Das9b33e302019-09-27 14:06:24 +0100251 reg = <0 0xe6055400 0 0x50>;
Biju Dasbbbb9192019-09-30 09:18:45 +0100252 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
Biju Das9b33e302019-09-27 14:06:24 +0100253 #gpio-cells = <2>;
254 gpio-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100255 gpio-ranges = <&pfc 0 192 32>;
Biju Das9b33e302019-09-27 14:06:24 +0100256 #interrupt-cells = <2>;
257 interrupt-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100258 clocks = <&cpg CPG_MOD 906>;
259 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
260 resets = <&cpg 906>;
Biju Das9b33e302019-09-27 14:06:24 +0100261 };
262
263 gpio7: gpio@e6055800 {
Biju Dasbbbb9192019-09-30 09:18:45 +0100264 compatible = "renesas,gpio-r8a774b1",
265 "renesas,rcar-gen3-gpio";
Biju Das9b33e302019-09-27 14:06:24 +0100266 reg = <0 0xe6055800 0 0x50>;
Biju Dasbbbb9192019-09-30 09:18:45 +0100267 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
Biju Das9b33e302019-09-27 14:06:24 +0100268 #gpio-cells = <2>;
269 gpio-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100270 gpio-ranges = <&pfc 0 224 4>;
Biju Das9b33e302019-09-27 14:06:24 +0100271 #interrupt-cells = <2>;
272 interrupt-controller;
Biju Dasbbbb9192019-09-30 09:18:45 +0100273 clocks = <&cpg CPG_MOD 905>;
274 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
275 resets = <&cpg 905>;
Biju Das9b33e302019-09-27 14:06:24 +0100276 };
277
278 pfc: pin-controller@e6060000 {
279 compatible = "renesas,pfc-r8a774b1";
280 reg = <0 0xe6060000 0 0x50c>;
281 };
282
Biju Das39040e82019-09-23 15:57:27 +0100283 cmt0: timer@e60f0000 {
284 compatible = "renesas,r8a774b1-cmt0",
285 "renesas,rcar-gen3-cmt0";
286 reg = <0 0xe60f0000 0 0x1004>;
287 interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
288 <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
289 clocks = <&cpg CPG_MOD 303>;
290 clock-names = "fck";
291 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
292 resets = <&cpg 303>;
293 status = "disabled";
294 };
295
296 cmt1: timer@e6130000 {
297 compatible = "renesas,r8a774b1-cmt1",
298 "renesas,rcar-gen3-cmt1";
299 reg = <0 0xe6130000 0 0x1004>;
300 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
301 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
302 <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
303 <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
304 <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
305 <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
306 <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
307 <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
308 clocks = <&cpg CPG_MOD 302>;
309 clock-names = "fck";
310 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
311 resets = <&cpg 302>;
312 status = "disabled";
313 };
314
315 cmt2: timer@e6140000 {
316 compatible = "renesas,r8a774b1-cmt1",
317 "renesas,rcar-gen3-cmt1";
318 reg = <0 0xe6140000 0 0x1004>;
319 interrupts = <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>,
320 <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>,
321 <GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>,
322 <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>,
323 <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>,
324 <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>,
325 <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>,
326 <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>;
327 clocks = <&cpg CPG_MOD 301>;
328 clock-names = "fck";
329 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
330 resets = <&cpg 301>;
331 status = "disabled";
332 };
333
334 cmt3: timer@e6148000 {
335 compatible = "renesas,r8a774b1-cmt1",
336 "renesas,rcar-gen3-cmt1";
337 reg = <0 0xe6148000 0 0x1004>;
338 interrupts = <GIC_SPI 470 IRQ_TYPE_LEVEL_HIGH>,
339 <GIC_SPI 471 IRQ_TYPE_LEVEL_HIGH>,
340 <GIC_SPI 472 IRQ_TYPE_LEVEL_HIGH>,
341 <GIC_SPI 473 IRQ_TYPE_LEVEL_HIGH>,
342 <GIC_SPI 474 IRQ_TYPE_LEVEL_HIGH>,
343 <GIC_SPI 475 IRQ_TYPE_LEVEL_HIGH>,
344 <GIC_SPI 476 IRQ_TYPE_LEVEL_HIGH>,
345 <GIC_SPI 477 IRQ_TYPE_LEVEL_HIGH>;
346 clocks = <&cpg CPG_MOD 300>;
347 clock-names = "fck";
348 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
349 resets = <&cpg 300>;
350 status = "disabled";
351 };
352
Biju Das9b33e302019-09-27 14:06:24 +0100353 cpg: clock-controller@e6150000 {
354 compatible = "renesas,r8a774b1-cpg-mssr";
355 reg = <0 0xe6150000 0 0x1000>;
356 clocks = <&extal_clk>, <&extalr_clk>;
357 clock-names = "extal", "extalr";
358 #clock-cells = <2>;
359 #power-domain-cells = <0>;
360 #reset-cells = <1>;
361 };
362
363 rst: reset-controller@e6160000 {
364 compatible = "renesas,r8a774b1-rst";
365 reg = <0 0xe6160000 0 0x0200>;
366 };
367
368 sysc: system-controller@e6180000 {
369 compatible = "renesas,r8a774b1-sysc";
370 reg = <0 0xe6180000 0 0x0400>;
371 #power-domain-cells = <1>;
372 };
373
Biju Das95b35472019-09-23 15:57:26 +0100374 tsc: thermal@e6198000 {
375 compatible = "renesas,r8a774b1-thermal";
376 reg = <0 0xe6198000 0 0x100>,
377 <0 0xe61a0000 0 0x100>,
378 <0 0xe61a8000 0 0x100>;
379 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
380 <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
381 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
382 clocks = <&cpg CPG_MOD 522>;
383 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
384 resets = <&cpg 522>;
385 #thermal-sensor-cells = <1>;
386 };
387
Biju Das928249b2019-09-23 15:57:28 +0100388 tmu0: timer@e61e0000 {
389 compatible = "renesas,tmu-r8a774b1", "renesas,tmu";
390 reg = <0 0xe61e0000 0 0x30>;
391 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
392 <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
393 <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
394 clocks = <&cpg CPG_MOD 125>;
395 clock-names = "fck";
396 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
397 resets = <&cpg 125>;
398 status = "disabled";
399 };
400
401 tmu1: timer@e6fc0000 {
402 compatible = "renesas,tmu-r8a774b1", "renesas,tmu";
403 reg = <0 0xe6fc0000 0 0x30>;
404 interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
405 <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
406 <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
407 clocks = <&cpg CPG_MOD 124>;
408 clock-names = "fck";
409 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
410 resets = <&cpg 124>;
411 status = "disabled";
412 };
413
414 tmu2: timer@e6fd0000 {
415 compatible = "renesas,tmu-r8a774b1", "renesas,tmu";
416 reg = <0 0xe6fd0000 0 0x30>;
417 interrupts = <GIC_SPI 303 IRQ_TYPE_LEVEL_HIGH>,
418 <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
419 <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
420 clocks = <&cpg CPG_MOD 123>;
421 clock-names = "fck";
422 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
423 resets = <&cpg 123>;
424 status = "disabled";
425 };
426
427 tmu3: timer@e6fe0000 {
428 compatible = "renesas,tmu-r8a774b1", "renesas,tmu";
429 reg = <0 0xe6fe0000 0 0x30>;
430 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
431 <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>,
432 <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
433 clocks = <&cpg CPG_MOD 122>;
434 clock-names = "fck";
435 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
436 resets = <&cpg 122>;
437 status = "disabled";
438 };
439
440 tmu4: timer@ffc00000 {
441 compatible = "renesas,tmu-r8a774b1", "renesas,tmu";
442 reg = <0 0xffc00000 0 0x30>;
443 interrupts = <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>,
444 <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>,
445 <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>;
446 clocks = <&cpg CPG_MOD 121>;
447 clock-names = "fck";
448 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
449 resets = <&cpg 121>;
450 status = "disabled";
451 };
452
Biju Das070302d2019-09-24 09:22:50 +0100453 i2c0: i2c@e6500000 {
454 #address-cells = <1>;
455 #size-cells = <0>;
456 compatible = "renesas,i2c-r8a774b1",
457 "renesas,rcar-gen3-i2c";
458 reg = <0 0xe6500000 0 0x40>;
459 interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
460 clocks = <&cpg CPG_MOD 931>;
461 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
462 resets = <&cpg 931>;
463 dmas = <&dmac1 0x91>, <&dmac1 0x90>,
464 <&dmac2 0x91>, <&dmac2 0x90>;
465 dma-names = "tx", "rx", "tx", "rx";
466 i2c-scl-internal-delay-ns = <110>;
467 status = "disabled";
468 };
469
470 i2c1: i2c@e6508000 {
471 #address-cells = <1>;
472 #size-cells = <0>;
473 compatible = "renesas,i2c-r8a774b1",
474 "renesas,rcar-gen3-i2c";
475 reg = <0 0xe6508000 0 0x40>;
476 interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
477 clocks = <&cpg CPG_MOD 930>;
478 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
479 resets = <&cpg 930>;
480 dmas = <&dmac1 0x93>, <&dmac1 0x92>,
481 <&dmac2 0x93>, <&dmac2 0x92>;
482 dma-names = "tx", "rx", "tx", "rx";
483 i2c-scl-internal-delay-ns = <6>;
484 status = "disabled";
485 };
486
487 i2c2: i2c@e6510000 {
488 #address-cells = <1>;
489 #size-cells = <0>;
490 compatible = "renesas,i2c-r8a774b1",
491 "renesas,rcar-gen3-i2c";
492 reg = <0 0xe6510000 0 0x40>;
493 interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
494 clocks = <&cpg CPG_MOD 929>;
495 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
496 resets = <&cpg 929>;
497 dmas = <&dmac1 0x95>, <&dmac1 0x94>,
498 <&dmac2 0x95>, <&dmac2 0x94>;
499 dma-names = "tx", "rx", "tx", "rx";
500 i2c-scl-internal-delay-ns = <6>;
501 status = "disabled";
502 };
503
504 i2c3: i2c@e66d0000 {
505 #address-cells = <1>;
506 #size-cells = <0>;
507 compatible = "renesas,i2c-r8a774b1",
508 "renesas,rcar-gen3-i2c";
509 reg = <0 0xe66d0000 0 0x40>;
510 interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
511 clocks = <&cpg CPG_MOD 928>;
512 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
513 resets = <&cpg 928>;
514 dmas = <&dmac0 0x97>, <&dmac0 0x96>;
515 dma-names = "tx", "rx";
516 i2c-scl-internal-delay-ns = <110>;
517 status = "disabled";
518 };
519
Biju Das9b33e302019-09-27 14:06:24 +0100520 i2c4: i2c@e66d8000 {
521 #address-cells = <1>;
522 #size-cells = <0>;
Biju Das070302d2019-09-24 09:22:50 +0100523 compatible = "renesas,i2c-r8a774b1",
524 "renesas,rcar-gen3-i2c";
Biju Das9b33e302019-09-27 14:06:24 +0100525 reg = <0 0xe66d8000 0 0x40>;
Biju Das070302d2019-09-24 09:22:50 +0100526 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
527 clocks = <&cpg CPG_MOD 927>;
528 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
529 resets = <&cpg 927>;
530 dmas = <&dmac0 0x99>, <&dmac0 0x98>;
531 dma-names = "tx", "rx";
532 i2c-scl-internal-delay-ns = <110>;
533 status = "disabled";
534 };
535
536 i2c5: i2c@e66e0000 {
537 #address-cells = <1>;
538 #size-cells = <0>;
539 compatible = "renesas,i2c-r8a774b1",
540 "renesas,rcar-gen3-i2c";
541 reg = <0 0xe66e0000 0 0x40>;
542 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
543 clocks = <&cpg CPG_MOD 919>;
544 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
545 resets = <&cpg 919>;
546 dmas = <&dmac0 0x9b>, <&dmac0 0x9a>;
547 dma-names = "tx", "rx";
548 i2c-scl-internal-delay-ns = <110>;
549 status = "disabled";
550 };
551
552 i2c6: i2c@e66e8000 {
553 #address-cells = <1>;
554 #size-cells = <0>;
555 compatible = "renesas,i2c-r8a774b1",
556 "renesas,rcar-gen3-i2c";
557 reg = <0 0xe66e8000 0 0x40>;
558 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
559 clocks = <&cpg CPG_MOD 918>;
560 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
561 resets = <&cpg 918>;
562 dmas = <&dmac0 0x9d>, <&dmac0 0x9c>;
563 dma-names = "tx", "rx";
564 i2c-scl-internal-delay-ns = <6>;
565 status = "disabled";
566 };
567
568 i2c_dvfs: i2c@e60b0000 {
569 #address-cells = <1>;
570 #size-cells = <0>;
571 compatible = "renesas,iic-r8a774b1",
572 "renesas,rcar-gen3-iic",
573 "renesas,rmobile-iic";
574 reg = <0 0xe60b0000 0 0x425>;
575 interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
576 clocks = <&cpg CPG_MOD 926>;
577 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
578 resets = <&cpg 926>;
579 dmas = <&dmac0 0x11>, <&dmac0 0x10>;
580 dma-names = "tx", "rx";
581 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +0100582 };
583
584 hscif0: serial@e6540000 {
Biju Das83e76202019-09-30 09:18:44 +0100585 compatible = "renesas,hscif-r8a774b1",
586 "renesas,rcar-gen3-hscif",
587 "renesas,hscif";
Biju Das9b33e302019-09-27 14:06:24 +0100588 reg = <0 0xe6540000 0 0x60>;
Biju Das83e76202019-09-30 09:18:44 +0100589 interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
590 clocks = <&cpg CPG_MOD 520>,
591 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
592 <&scif_clk>;
593 clock-names = "fck", "brg_int", "scif_clk";
594 dmas = <&dmac1 0x31>, <&dmac1 0x30>,
595 <&dmac2 0x31>, <&dmac2 0x30>;
596 dma-names = "tx", "rx", "tx", "rx";
597 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
598 resets = <&cpg 520>;
599 status = "disabled";
600 };
601
602 hscif1: serial@e6550000 {
603 compatible = "renesas,hscif-r8a774b1",
604 "renesas,rcar-gen3-hscif",
605 "renesas,hscif";
606 reg = <0 0xe6550000 0 0x60>;
607 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
608 clocks = <&cpg CPG_MOD 519>,
609 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
610 <&scif_clk>;
611 clock-names = "fck", "brg_int", "scif_clk";
612 dmas = <&dmac1 0x33>, <&dmac1 0x32>,
613 <&dmac2 0x33>, <&dmac2 0x32>;
614 dma-names = "tx", "rx", "tx", "rx";
615 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
616 resets = <&cpg 519>;
617 status = "disabled";
618 };
619
620 hscif2: serial@e6560000 {
621 compatible = "renesas,hscif-r8a774b1",
622 "renesas,rcar-gen3-hscif",
623 "renesas,hscif";
624 reg = <0 0xe6560000 0 0x60>;
625 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
626 clocks = <&cpg CPG_MOD 518>,
627 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
628 <&scif_clk>;
629 clock-names = "fck", "brg_int", "scif_clk";
630 dmas = <&dmac1 0x35>, <&dmac1 0x34>,
631 <&dmac2 0x35>, <&dmac2 0x34>;
632 dma-names = "tx", "rx", "tx", "rx";
633 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
634 resets = <&cpg 518>;
635 status = "disabled";
636 };
637
638 hscif3: serial@e66a0000 {
639 compatible = "renesas,hscif-r8a774b1",
640 "renesas,rcar-gen3-hscif",
641 "renesas,hscif";
642 reg = <0 0xe66a0000 0 0x60>;
643 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
644 clocks = <&cpg CPG_MOD 517>,
645 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
646 <&scif_clk>;
647 clock-names = "fck", "brg_int", "scif_clk";
648 dmas = <&dmac0 0x37>, <&dmac0 0x36>;
649 dma-names = "tx", "rx";
650 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
651 resets = <&cpg 517>;
652 status = "disabled";
653 };
654
655 hscif4: serial@e66b0000 {
656 compatible = "renesas,hscif-r8a774b1",
657 "renesas,rcar-gen3-hscif",
658 "renesas,hscif";
659 reg = <0 0xe66b0000 0 0x60>;
660 interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
661 clocks = <&cpg CPG_MOD 516>,
662 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
663 <&scif_clk>;
664 clock-names = "fck", "brg_int", "scif_clk";
665 dmas = <&dmac0 0x39>, <&dmac0 0x38>;
666 dma-names = "tx", "rx";
667 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
668 resets = <&cpg 516>;
669 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +0100670 };
671
672 hsusb: usb@e6590000 {
673 reg = <0 0xe6590000 0 0x200>;
674 /* placeholder */
675 };
676
677 usb3_phy0: usb-phy@e65ee000 {
678 reg = <0 0xe65ee000 0 0x90>;
679 #phy-cells = <0>;
680 /* placeholder */
681 };
682
Biju Dasfd863e52019-09-30 09:18:43 +0100683 dmac0: dma-controller@e6700000 {
684 compatible = "renesas,dmac-r8a774b1",
685 "renesas,rcar-dmac";
686 reg = <0 0xe6700000 0 0x10000>;
687 interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH
688 GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH
689 GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH
690 GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH
691 GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH
692 GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH
693 GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH
694 GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH
695 GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH
696 GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH
697 GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH
698 GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH
699 GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH
700 GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH
701 GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH
702 GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH
703 GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
704 interrupt-names = "error",
705 "ch0", "ch1", "ch2", "ch3",
706 "ch4", "ch5", "ch6", "ch7",
707 "ch8", "ch9", "ch10", "ch11",
708 "ch12", "ch13", "ch14", "ch15";
709 clocks = <&cpg CPG_MOD 219>;
710 clock-names = "fck";
711 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
712 resets = <&cpg 219>;
713 #dma-cells = <1>;
714 dma-channels = <16>;
715 };
716
717 dmac1: dma-controller@e7300000 {
718 compatible = "renesas,dmac-r8a774b1",
719 "renesas,rcar-dmac";
720 reg = <0 0xe7300000 0 0x10000>;
721 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
722 GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
723 GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
724 GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
725 GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
726 GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
727 GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
728 GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
729 GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
730 GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
731 GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
732 GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
733 GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
734 GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
735 GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
736 GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
737 GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>;
738 interrupt-names = "error",
739 "ch0", "ch1", "ch2", "ch3",
740 "ch4", "ch5", "ch6", "ch7",
741 "ch8", "ch9", "ch10", "ch11",
742 "ch12", "ch13", "ch14", "ch15";
743 clocks = <&cpg CPG_MOD 218>;
744 clock-names = "fck";
745 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
746 resets = <&cpg 218>;
747 #dma-cells = <1>;
748 dma-channels = <16>;
749 };
750
751 dmac2: dma-controller@e7310000 {
752 compatible = "renesas,dmac-r8a774b1",
753 "renesas,rcar-dmac";
754 reg = <0 0xe7310000 0 0x10000>;
755 interrupts = <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH
756 GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH
757 GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH
758 GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH
759 GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH
760 GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH
761 GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH
762 GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH
763 GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH
764 GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH
765 GIC_SPI 426 IRQ_TYPE_LEVEL_HIGH
766 GIC_SPI 427 IRQ_TYPE_LEVEL_HIGH
767 GIC_SPI 428 IRQ_TYPE_LEVEL_HIGH
768 GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH
769 GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH
770 GIC_SPI 431 IRQ_TYPE_LEVEL_HIGH
771 GIC_SPI 397 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 217>;
778 clock-names = "fck";
779 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
780 resets = <&cpg 217>;
781 #dma-cells = <1>;
782 dma-channels = <16>;
783 };
784
Biju Das63093a82019-09-24 09:22:51 +0100785 ipmmu_ds0: mmu@e6740000 {
786 compatible = "renesas,ipmmu-r8a774b1";
787 reg = <0 0xe6740000 0 0x1000>;
788 renesas,ipmmu-main = <&ipmmu_mm 0>;
789 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
790 #iommu-cells = <1>;
791 };
792
793 ipmmu_ds1: mmu@e7740000 {
794 compatible = "renesas,ipmmu-r8a774b1";
795 reg = <0 0xe7740000 0 0x1000>;
796 renesas,ipmmu-main = <&ipmmu_mm 1>;
797 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
798 #iommu-cells = <1>;
799 };
800
801 ipmmu_hc: mmu@e6570000 {
802 compatible = "renesas,ipmmu-r8a774b1";
803 reg = <0 0xe6570000 0 0x1000>;
804 renesas,ipmmu-main = <&ipmmu_mm 2>;
805 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
806 #iommu-cells = <1>;
807 };
808
809 ipmmu_mm: mmu@e67b0000 {
810 compatible = "renesas,ipmmu-r8a774b1";
811 reg = <0 0xe67b0000 0 0x1000>;
812 interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
813 <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
814 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
815 #iommu-cells = <1>;
816 };
817
818 ipmmu_mp: mmu@ec670000 {
819 compatible = "renesas,ipmmu-r8a774b1";
820 reg = <0 0xec670000 0 0x1000>;
821 renesas,ipmmu-main = <&ipmmu_mm 4>;
822 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
823 #iommu-cells = <1>;
824 };
825
826 ipmmu_pv0: mmu@fd800000 {
827 compatible = "renesas,ipmmu-r8a774b1";
828 reg = <0 0xfd800000 0 0x1000>;
829 renesas,ipmmu-main = <&ipmmu_mm 6>;
830 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
831 #iommu-cells = <1>;
832 };
833
834 ipmmu_vc0: mmu@fe6b0000 {
835 compatible = "renesas,ipmmu-r8a774b1";
836 reg = <0 0xfe6b0000 0 0x1000>;
837 renesas,ipmmu-main = <&ipmmu_mm 12>;
838 power-domains = <&sysc R8A774B1_PD_A3VC>;
839 #iommu-cells = <1>;
840 };
841
842 ipmmu_vi0: mmu@febd0000 {
843 compatible = "renesas,ipmmu-r8a774b1";
844 reg = <0 0xfebd0000 0 0x1000>;
845 renesas,ipmmu-main = <&ipmmu_mm 14>;
846 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
847 #iommu-cells = <1>;
848 };
849
850 ipmmu_vp0: mmu@fe990000 {
851 compatible = "renesas,ipmmu-r8a774b1";
852 reg = <0 0xfe990000 0 0x1000>;
853 renesas,ipmmu-main = <&ipmmu_mm 16>;
854 power-domains = <&sysc R8A774B1_PD_A3VP>;
855 #iommu-cells = <1>;
856 };
857
Biju Das9b33e302019-09-27 14:06:24 +0100858 avb: ethernet@e6800000 {
Biju Dasc722d902019-09-30 09:18:46 +0100859 compatible = "renesas,etheravb-r8a774b1",
860 "renesas,etheravb-rcar-gen3";
Biju Das9b33e302019-09-27 14:06:24 +0100861 reg = <0 0xe6800000 0 0x800>;
Biju Dasc722d902019-09-30 09:18:46 +0100862 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
863 <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
864 <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
865 <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
866 <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
867 <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
868 <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
869 <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
870 <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
871 <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
872 <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
873 <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
874 <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
875 <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
876 <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
877 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
878 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
879 <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
880 <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
881 <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
882 <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
883 <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
884 <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
885 <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
886 <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
887 interrupt-names = "ch0", "ch1", "ch2", "ch3",
888 "ch4", "ch5", "ch6", "ch7",
889 "ch8", "ch9", "ch10", "ch11",
890 "ch12", "ch13", "ch14", "ch15",
891 "ch16", "ch17", "ch18", "ch19",
892 "ch20", "ch21", "ch22", "ch23",
893 "ch24";
894 clocks = <&cpg CPG_MOD 812>;
895 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
896 resets = <&cpg 812>;
897 phy-mode = "rgmii";
898 #address-cells = <1>;
899 #size-cells = <0>;
900 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +0100901 };
902
903 can0: can@e6c30000 {
904 reg = <0 0xe6c30000 0 0x1000>;
905 /* placeholder */
906 };
907
908 can1: can@e6c38000 {
909 reg = <0 0xe6c38000 0 0x1000>;
910 /* placeholder */
911 };
912
913 canfd: can@e66c0000 {
914 reg = <0 0xe66c0000 0 0x8000>;
915 /* placeholder */
916 };
917
Biju Das83e76202019-09-30 09:18:44 +0100918 scif0: serial@e6e60000 {
919 compatible = "renesas,scif-r8a774b1",
920 "renesas,rcar-gen3-scif", "renesas,scif";
921 reg = <0 0xe6e60000 0 0x40>;
922 interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
923 clocks = <&cpg CPG_MOD 207>,
924 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
925 <&scif_clk>;
926 clock-names = "fck", "brg_int", "scif_clk";
927 dmas = <&dmac1 0x51>, <&dmac1 0x50>,
928 <&dmac2 0x51>, <&dmac2 0x50>;
929 dma-names = "tx", "rx", "tx", "rx";
930 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
931 resets = <&cpg 207>;
932 status = "disabled";
933 };
934
935 scif1: serial@e6e68000 {
936 compatible = "renesas,scif-r8a774b1",
937 "renesas,rcar-gen3-scif", "renesas,scif";
938 reg = <0 0xe6e68000 0 0x40>;
939 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
940 clocks = <&cpg CPG_MOD 206>,
941 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
942 <&scif_clk>;
943 clock-names = "fck", "brg_int", "scif_clk";
944 dmas = <&dmac1 0x53>, <&dmac1 0x52>,
945 <&dmac2 0x53>, <&dmac2 0x52>;
946 dma-names = "tx", "rx", "tx", "rx";
947 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
948 resets = <&cpg 206>;
949 status = "disabled";
950 };
951
Biju Das9b33e302019-09-27 14:06:24 +0100952 scif2: serial@e6e88000 {
953 compatible = "renesas,scif-r8a774b1",
954 "renesas,rcar-gen3-scif", "renesas,scif";
Biju Das83e76202019-09-30 09:18:44 +0100955 reg = <0 0xe6e88000 0 0x40>;
Biju Das9b33e302019-09-27 14:06:24 +0100956 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
957 clocks = <&cpg CPG_MOD 310>,
958 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
959 <&scif_clk>;
960 clock-names = "fck", "brg_int", "scif_clk";
Biju Das83e76202019-09-30 09:18:44 +0100961 dmas = <&dmac1 0x13>, <&dmac1 0x12>,
962 <&dmac2 0x13>, <&dmac2 0x12>;
963 dma-names = "tx", "rx", "tx", "rx";
Biju Das9b33e302019-09-27 14:06:24 +0100964 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
965 resets = <&cpg 310>;
966 status = "disabled";
967 };
968
Biju Das83e76202019-09-30 09:18:44 +0100969 scif3: serial@e6c50000 {
970 compatible = "renesas,scif-r8a774b1",
971 "renesas,rcar-gen3-scif", "renesas,scif";
972 reg = <0 0xe6c50000 0 0x40>;
973 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
974 clocks = <&cpg CPG_MOD 204>,
975 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
976 <&scif_clk>;
977 clock-names = "fck", "brg_int", "scif_clk";
978 dmas = <&dmac0 0x57>, <&dmac0 0x56>;
979 dma-names = "tx", "rx";
980 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
981 resets = <&cpg 204>;
982 status = "disabled";
983 };
984
985 scif4: serial@e6c40000 {
986 compatible = "renesas,scif-r8a774b1",
987 "renesas,rcar-gen3-scif", "renesas,scif";
988 reg = <0 0xe6c40000 0 0x40>;
989 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
990 clocks = <&cpg CPG_MOD 203>,
991 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
992 <&scif_clk>;
993 clock-names = "fck", "brg_int", "scif_clk";
994 dmas = <&dmac0 0x59>, <&dmac0 0x58>;
995 dma-names = "tx", "rx";
996 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
997 resets = <&cpg 203>;
998 status = "disabled";
999 };
1000
1001 scif5: serial@e6f30000 {
1002 compatible = "renesas,scif-r8a774b1",
1003 "renesas,rcar-gen3-scif", "renesas,scif";
1004 reg = <0 0xe6f30000 0 0x40>;
1005 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
1006 clocks = <&cpg CPG_MOD 202>,
1007 <&cpg CPG_CORE R8A774B1_CLK_S3D1>,
1008 <&scif_clk>;
1009 clock-names = "fck", "brg_int", "scif_clk";
1010 dmas = <&dmac1 0x5b>, <&dmac1 0x5a>,
1011 <&dmac2 0x5b>, <&dmac2 0x5a>;
1012 dma-names = "tx", "rx", "tx", "rx";
1013 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1014 resets = <&cpg 202>;
1015 status = "disabled";
1016 };
1017
Biju Das9b33e302019-09-27 14:06:24 +01001018 rcar_sound: sound@ec500000 {
1019 reg = <0 0xec500000 0 0x1000>, /* SCU */
1020 <0 0xec5a0000 0 0x100>, /* ADG */
1021 <0 0xec540000 0 0x1000>, /* SSIU */
1022 <0 0xec541000 0 0x280>, /* SSI */
1023 <0 0xec760000 0 0x200>; /* Audio DMAC peri peri*/
1024
1025 rcar_sound,ssi {
1026 ssi0: ssi-0 { };
1027 ssi1: ssi-1 { };
1028 ssi2: ssi-2 { };
1029 ssi3: ssi-3 { };
1030 ssi4: ssi-4 { };
1031 ssi5: ssi-5 { };
1032 ssi6: ssi-6 { };
1033 ssi7: ssi-7 { };
1034 ssi8: ssi-8 { };
1035 ssi9: ssi-9 { };
1036 };
1037 };
1038
1039 xhci0: usb@ee000000 {
1040 reg = <0 0xee000000 0 0xc00>;
1041 /* placeholder */
1042 };
1043
1044 usb3_peri0: usb@ee020000 {
1045 reg = <0 0xee020000 0 0x400>;
1046 /* placeholder */
1047 };
1048
1049 ohci0: usb@ee080000 {
1050 reg = <0 0xee080000 0 0x100>;
1051 /* placeholder */
1052 };
1053
1054 ohci1: usb@ee0a0000 {
1055 reg = <0 0xee0a0000 0 0x100>;
1056 /* placeholder */
1057 };
1058
1059 ehci0: usb@ee080100 {
1060 reg = <0 0xee080100 0 0x100>;
1061 /* placeholder */
1062 };
1063
1064 ehci1: usb@ee0a0100 {
1065 reg = <0 0xee0a0100 0 0x100>;
1066 /* placeholder */
1067 };
1068
1069 usb2_phy0: usb-phy@ee080200 {
1070 reg = <0 0xee080200 0 0x700>;
1071 /* placeholder */
1072 };
1073
1074 usb2_phy1: usb-phy@ee0a0200 {
1075 reg = <0 0xee0a0200 0 0x700>;
1076 /* placeholder */
1077 };
1078
1079 sdhi0: sd@ee100000 {
Biju Das63177362019-09-24 09:22:49 +01001080 compatible = "renesas,sdhi-r8a774b1",
1081 "renesas,rcar-gen3-sdhi";
Biju Das9b33e302019-09-27 14:06:24 +01001082 reg = <0 0xee100000 0 0x2000>;
Biju Das63177362019-09-24 09:22:49 +01001083 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
1084 clocks = <&cpg CPG_MOD 314>;
1085 max-frequency = <200000000>;
1086 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1087 resets = <&cpg 314>;
1088 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001089 };
1090
1091 sdhi1: sd@ee120000 {
Biju Das63177362019-09-24 09:22:49 +01001092 compatible = "renesas,sdhi-r8a774b1",
1093 "renesas,rcar-gen3-sdhi";
Biju Das9b33e302019-09-27 14:06:24 +01001094 reg = <0 0xee120000 0 0x2000>;
Biju Das63177362019-09-24 09:22:49 +01001095 interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
1096 clocks = <&cpg CPG_MOD 313>;
1097 max-frequency = <200000000>;
1098 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1099 resets = <&cpg 313>;
1100 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001101 };
1102
1103 sdhi2: sd@ee140000 {
Biju Das63177362019-09-24 09:22:49 +01001104 compatible = "renesas,sdhi-r8a774b1",
1105 "renesas,rcar-gen3-sdhi";
Biju Das9b33e302019-09-27 14:06:24 +01001106 reg = <0 0xee140000 0 0x2000>;
Biju Das63177362019-09-24 09:22:49 +01001107 interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
1108 clocks = <&cpg CPG_MOD 312>;
1109 max-frequency = <200000000>;
1110 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1111 resets = <&cpg 312>;
1112 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001113 };
1114
1115 sdhi3: sd@ee160000 {
Biju Das63177362019-09-24 09:22:49 +01001116 compatible = "renesas,sdhi-r8a774b1",
1117 "renesas,rcar-gen3-sdhi";
Biju Das9b33e302019-09-27 14:06:24 +01001118 reg = <0 0xee160000 0 0x2000>;
Biju Das63177362019-09-24 09:22:49 +01001119 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
1120 clocks = <&cpg CPG_MOD 311>;
1121 max-frequency = <200000000>;
1122 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1123 resets = <&cpg 311>;
1124 status = "disabled";
Biju Das9b33e302019-09-27 14:06:24 +01001125 };
1126
1127 gic: interrupt-controller@f1010000 {
1128 compatible = "arm,gic-400";
1129 #interrupt-cells = <3>;
1130 #address-cells = <0>;
1131 interrupt-controller;
1132 reg = <0x0 0xf1010000 0 0x1000>,
1133 <0x0 0xf1020000 0 0x20000>,
1134 <0x0 0xf1040000 0 0x20000>,
1135 <0x0 0xf1060000 0 0x20000>;
1136 interrupts = <GIC_PPI 9
1137 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
1138 clocks = <&cpg CPG_MOD 408>;
1139 clock-names = "clk";
1140 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1141 resets = <&cpg 408>;
1142 };
1143
1144 pciec0: pcie@fe000000 {
1145 reg = <0 0xfe000000 0 0x80000>;
1146 #address-cells = <3>;
1147 #size-cells = <2>;
1148 bus-range = <0x00 0xff>;
1149 /* placeholder */
1150 };
1151
1152 pciec1: pcie@ee800000 {
1153 reg = <0 0xee800000 0 0x80000>;
1154 #address-cells = <3>;
1155 #size-cells = <2>;
1156 bus-range = <0x00 0xff>;
1157 /* placeholder */
1158 };
1159
Biju Das955ceb52019-09-24 09:22:52 +01001160 fcpf0: fcp@fe950000 {
1161 compatible = "renesas,fcpf";
1162 reg = <0 0xfe950000 0 0x200>;
1163 clocks = <&cpg CPG_MOD 615>;
1164 power-domains = <&sysc R8A774B1_PD_A3VP>;
1165 resets = <&cpg 615>;
1166 };
1167
Biju Das966607b2019-09-24 09:22:53 +01001168 vspb: vsp@fe960000 {
1169 compatible = "renesas,vsp2";
1170 reg = <0 0xfe960000 0 0x8000>;
1171 interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
1172 clocks = <&cpg CPG_MOD 626>;
1173 power-domains = <&sysc R8A774B1_PD_A3VP>;
1174 resets = <&cpg 626>;
1175
1176 renesas,fcp = <&fcpvb0>;
1177 };
1178
1179 vspi0: vsp@fe9a0000 {
1180 compatible = "renesas,vsp2";
1181 reg = <0 0xfe9a0000 0 0x8000>;
1182 interrupts = <GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>;
1183 clocks = <&cpg CPG_MOD 631>;
1184 power-domains = <&sysc R8A774B1_PD_A3VP>;
1185 resets = <&cpg 631>;
1186
1187 renesas,fcp = <&fcpvi0>;
1188 };
1189
1190 vspd0: vsp@fea20000 {
1191 compatible = "renesas,vsp2";
1192 reg = <0 0xfea20000 0 0x5000>;
1193 interrupts = <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>;
1194 clocks = <&cpg CPG_MOD 623>;
1195 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1196 resets = <&cpg 623>;
1197
1198 renesas,fcp = <&fcpvd0>;
1199 };
1200
1201 vspd1: vsp@fea28000 {
1202 compatible = "renesas,vsp2";
1203 reg = <0 0xfea28000 0 0x5000>;
1204 interrupts = <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>;
1205 clocks = <&cpg CPG_MOD 622>;
1206 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1207 resets = <&cpg 622>;
1208
1209 renesas,fcp = <&fcpvd1>;
1210 };
1211
Biju Das955ceb52019-09-24 09:22:52 +01001212 fcpvb0: fcp@fe96f000 {
1213 compatible = "renesas,fcpv";
1214 reg = <0 0xfe96f000 0 0x200>;
1215 clocks = <&cpg CPG_MOD 607>;
1216 power-domains = <&sysc R8A774B1_PD_A3VP>;
1217 resets = <&cpg 607>;
1218 };
1219
1220 fcpvd0: fcp@fea27000 {
1221 compatible = "renesas,fcpv";
1222 reg = <0 0xfea27000 0 0x200>;
1223 clocks = <&cpg CPG_MOD 603>;
1224 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1225 resets = <&cpg 603>;
1226 };
1227
1228 fcpvd1: fcp@fea2f000 {
1229 compatible = "renesas,fcpv";
1230 reg = <0 0xfea2f000 0 0x200>;
1231 clocks = <&cpg CPG_MOD 602>;
1232 power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
1233 resets = <&cpg 602>;
1234 };
1235
1236 fcpvi0: fcp@fe9af000 {
1237 compatible = "renesas,fcpv";
1238 reg = <0 0xfe9af000 0 0x200>;
1239 clocks = <&cpg CPG_MOD 611>;
1240 power-domains = <&sysc R8A774B1_PD_A3VP>;
1241 resets = <&cpg 611>;
1242 };
1243
Biju Das9b33e302019-09-27 14:06:24 +01001244 hdmi0: hdmi@fead0000 {
1245 reg = <0 0xfead0000 0 0x10000>;
1246
1247 ports {
1248 #address-cells = <1>;
1249 #size-cells = <0>;
1250
1251 port@0 {
1252 reg = <0>;
1253 dw_hdmi0_in: endpoint {
1254 };
1255 };
1256 port@1 {
1257 reg = <1>;
1258 };
1259 };
1260 };
1261
1262 du: display@feb00000 {
1263 reg = <0 0xfeb00000 0 0x80000>;
1264
1265 ports {
1266 #address-cells = <1>;
1267 #size-cells = <0>;
1268
1269 port@0 {
1270 reg = <0>;
1271 du_out_rgb: endpoint {
1272 };
1273 };
1274 port@1 {
1275 reg = <1>;
1276 du_out_hdmi0: endpoint {
1277 };
1278 };
1279 port@2 {
1280 reg = <2>;
1281 du_out_lvds0: endpoint {
1282 };
1283 };
1284 };
1285 };
1286
1287 prr: chipid@fff00044 {
1288 compatible = "renesas,prr";
1289 reg = <0 0xfff00044 0 4>;
1290 };
1291 };
1292
Biju Das95b35472019-09-23 15:57:26 +01001293 thermal-zones {
1294 sensor_thermal1: sensor-thermal1 {
1295 polling-delay-passive = <250>;
1296 polling-delay = <1000>;
1297 thermal-sensors = <&tsc 0>;
1298 sustainable-power = <2439>;
1299
1300 trips {
1301 sensor1_crit: sensor1-crit {
1302 temperature = <120000>;
1303 hysteresis = <1000>;
1304 type = "critical";
1305 };
1306 };
1307 };
1308
1309 sensor_thermal2: sensor-thermal2 {
1310 polling-delay-passive = <250>;
1311 polling-delay = <1000>;
1312 thermal-sensors = <&tsc 1>;
1313 sustainable-power = <2439>;
1314
1315 trips {
1316 sensor2_crit: sensor2-crit {
1317 temperature = <120000>;
1318 hysteresis = <1000>;
1319 type = "critical";
1320 };
1321 };
1322 };
1323
1324 sensor_thermal3: sensor-thermal3 {
1325 polling-delay-passive = <250>;
1326 polling-delay = <1000>;
1327 thermal-sensors = <&tsc 2>;
1328 sustainable-power = <2439>;
1329
1330 cooling-maps {
1331 map0 {
1332 trip = <&target>;
1333 cooling-device = <&a57_0 0 2>;
1334 contribution = <1024>;
1335 };
1336 };
1337 trips {
1338 target: trip-point1 {
1339 temperature = <100000>;
1340 hysteresis = <1000>;
1341 type = "passive";
1342 };
1343
1344 sensor3_crit: sensor3-crit {
1345 temperature = <120000>;
1346 hysteresis = <1000>;
1347 type = "critical";
1348 };
1349 };
1350 };
1351 };
1352
Biju Das9b33e302019-09-27 14:06:24 +01001353 timer {
1354 compatible = "arm,armv8-timer";
1355 interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1356 <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1357 <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
1358 <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
1359 };
1360
1361 /* External USB clocks - can be overridden by the board */
1362 usb3s0_clk: usb3s0 {
1363 compatible = "fixed-clock";
1364 #clock-cells = <0>;
1365 clock-frequency = <0>;
1366 };
1367
1368 usb_extal_clk: usb_extal {
1369 compatible = "fixed-clock";
1370 #clock-cells = <0>;
1371 clock-frequency = <0>;
1372 };
1373};