blob: 18ca7ae8dd3fc7b2925278ad6b12f4cec9b31d32 [file] [log] [blame]
Sergei Shtylyovc9536022016-11-05 00:53:38 +03001/*
2 * Device Tree Source for the r8a7745 SoC
3 *
Sergei Shtylyov95b94ed2017-04-15 23:18:26 +03004 * Copyright (C) 2016-2017 Cogent Embedded Inc.
Sergei Shtylyovc9536022016-11-05 00:53:38 +03005 *
6 * This file is licensed under the terms of the GNU General Public License
7 * version 2. This program is licensed "as is" without any warranty of any
8 * kind, whether express or implied.
9 */
10
11#include <dt-bindings/interrupt-controller/irq.h>
12#include <dt-bindings/interrupt-controller/arm-gic.h>
13#include <dt-bindings/clock/r8a7745-cpg-mssr.h>
14#include <dt-bindings/power/r8a7745-sysc.h>
15
16/ {
17 compatible = "renesas,r8a7745";
18 #address-cells = <2>;
19 #size-cells = <2>;
20
21 cpus {
22 #address-cells = <1>;
23 #size-cells = <0>;
24
25 cpu0: cpu@0 {
26 device_type = "cpu";
27 compatible = "arm,cortex-a7";
28 reg = <0>;
29 clock-frequency = <1000000000>;
30 clocks = <&cpg CPG_CORE R8A7745_CLK_Z2>;
31 power-domains = <&sysc R8A7745_PD_CA7_CPU0>;
32 next-level-cache = <&L2_CA7>;
33 };
34
Geert Uytterhoeven51c00a92017-03-06 17:40:38 +010035 L2_CA7: cache-controller-0 {
Sergei Shtylyovc9536022016-11-05 00:53:38 +030036 compatible = "cache";
Sergei Shtylyovc9536022016-11-05 00:53:38 +030037 cache-unified;
38 cache-level = <2>;
39 power-domains = <&sysc R8A7745_PD_CA7_SCU>;
40 };
41 };
42
43 soc {
44 compatible = "simple-bus";
45 interrupt-parent = <&gic>;
46
47 #address-cells = <2>;
48 #size-cells = <2>;
49 ranges;
50
51 gic: interrupt-controller@f1001000 {
52 compatible = "arm,gic-400";
53 #interrupt-cells = <3>;
54 #address-cells = <0>;
55 interrupt-controller;
56 reg = <0 0xf1001000 0 0x1000>,
Marc Zyngier387720c2017-01-18 09:27:28 +000057 <0 0xf1002000 0 0x2000>,
Sergei Shtylyovc9536022016-11-05 00:53:38 +030058 <0 0xf1004000 0 0x2000>,
59 <0 0xf1006000 0 0x2000>;
60 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) |
61 IRQ_TYPE_LEVEL_HIGH)>;
Geert Uytterhoevendb017f32017-01-17 13:49:18 +010062 clocks = <&cpg CPG_MOD 408>;
63 clock-names = "clk";
64 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
Geert Uytterhoeven1efab6e2017-03-16 15:07:26 +010065 resets = <&cpg 408>;
Sergei Shtylyovc9536022016-11-05 00:53:38 +030066 };
67
Biju Das3163c032017-08-18 15:56:01 +010068 gpio0: gpio@e6050000 {
69 compatible = "renesas,gpio-r8a7745",
70 "renesas,rcar-gen2-gpio";
71 reg = <0 0xe6050000 0 0x50>;
72 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
73 #gpio-cells = <2>;
74 gpio-controller;
75 gpio-ranges = <&pfc 0 0 32>;
76 #interrupt-cells = <2>;
77 interrupt-controller;
78 clocks = <&cpg CPG_MOD 912>;
79 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
80 resets = <&cpg 912>;
81 };
82
83 gpio1: gpio@e6051000 {
84 compatible = "renesas,gpio-r8a7745",
85 "renesas,rcar-gen2-gpio";
86 reg = <0 0xe6051000 0 0x50>;
87 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
88 #gpio-cells = <2>;
89 gpio-controller;
90 gpio-ranges = <&pfc 0 32 26>;
91 #interrupt-cells = <2>;
92 interrupt-controller;
93 clocks = <&cpg CPG_MOD 911>;
94 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
95 resets = <&cpg 911>;
96 };
97
98 gpio2: gpio@e6052000 {
99 compatible = "renesas,gpio-r8a7745",
100 "renesas,rcar-gen2-gpio";
101 reg = <0 0xe6052000 0 0x50>;
102 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
103 #gpio-cells = <2>;
104 gpio-controller;
105 gpio-ranges = <&pfc 0 64 32>;
106 #interrupt-cells = <2>;
107 interrupt-controller;
108 clocks = <&cpg CPG_MOD 910>;
109 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
110 resets = <&cpg 910>;
111 };
112
113 gpio3: gpio@e6053000 {
114 compatible = "renesas,gpio-r8a7745",
115 "renesas,rcar-gen2-gpio";
116 reg = <0 0xe6053000 0 0x50>;
117 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
118 #gpio-cells = <2>;
119 gpio-controller;
120 gpio-ranges = <&pfc 0 96 32>;
121 #interrupt-cells = <2>;
122 interrupt-controller;
123 clocks = <&cpg CPG_MOD 909>;
124 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
125 resets = <&cpg 909>;
126 };
127
128 gpio4: gpio@e6054000 {
129 compatible = "renesas,gpio-r8a7745",
130 "renesas,rcar-gen2-gpio";
131 reg = <0 0xe6054000 0 0x50>;
132 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
133 #gpio-cells = <2>;
134 gpio-controller;
135 gpio-ranges = <&pfc 0 128 32>;
136 #interrupt-cells = <2>;
137 interrupt-controller;
138 clocks = <&cpg CPG_MOD 908>;
139 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
140 resets = <&cpg 908>;
141 };
142
143 gpio5: gpio@e6055000 {
144 compatible = "renesas,gpio-r8a7745",
145 "renesas,rcar-gen2-gpio";
146 reg = <0 0xe6055000 0 0x50>;
147 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
148 #gpio-cells = <2>;
149 gpio-controller;
150 gpio-ranges = <&pfc 0 160 28>;
151 #interrupt-cells = <2>;
152 interrupt-controller;
153 clocks = <&cpg CPG_MOD 907>;
154 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
155 resets = <&cpg 907>;
156 };
157
158 gpio6: gpio@e6055400 {
159 compatible = "renesas,gpio-r8a7745",
160 "renesas,rcar-gen2-gpio";
161 reg = <0 0xe6055400 0 0x50>;
162 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
163 #gpio-cells = <2>;
164 gpio-controller;
165 gpio-ranges = <&pfc 0 192 26>;
166 #interrupt-cells = <2>;
167 interrupt-controller;
168 clocks = <&cpg CPG_MOD 905>;
169 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
170 resets = <&cpg 905>;
171 };
172
Sergei Shtylyov28c43fb2016-11-05 00:59:37 +0300173 irqc: interrupt-controller@e61c0000 {
174 compatible = "renesas,irqc-r8a7745", "renesas,irqc";
175 #interrupt-cells = <2>;
176 interrupt-controller;
177 reg = <0 0xe61c0000 0 0x200>;
178 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
179 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
180 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
181 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
182 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
183 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
184 <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
185 <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
186 <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
187 <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
188 clocks = <&cpg CPG_MOD 407>;
189 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
Geert Uytterhoeven1efab6e2017-03-16 15:07:26 +0100190 resets = <&cpg 407>;
Sergei Shtylyov28c43fb2016-11-05 00:59:37 +0300191 };
192
Sergei Shtylyovc9536022016-11-05 00:53:38 +0300193 timer {
194 compatible = "arm,armv7-timer";
195 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) |
196 IRQ_TYPE_LEVEL_LOW)>,
197 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) |
198 IRQ_TYPE_LEVEL_LOW)>,
199 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) |
200 IRQ_TYPE_LEVEL_LOW)>,
201 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) |
202 IRQ_TYPE_LEVEL_LOW)>;
203 };
204
205 cpg: clock-controller@e6150000 {
206 compatible = "renesas,r8a7745-cpg-mssr";
207 reg = <0 0xe6150000 0 0x1000>;
208 clocks = <&extal_clk>, <&usb_extal_clk>;
209 clock-names = "extal", "usb_extal";
210 #clock-cells = <2>;
211 #power-domain-cells = <0>;
Geert Uytterhoeven1efab6e2017-03-16 15:07:26 +0100212 #reset-cells = <1>;
Sergei Shtylyovc9536022016-11-05 00:53:38 +0300213 };
214
Geert Uytterhoeven8916c7b2016-11-18 11:37:43 +0100215 prr: chipid@ff000044 {
216 compatible = "renesas,prr";
217 reg = <0 0xff000044 0 4>;
218 };
219
Geert Uytterhoeven13ae6ac2016-11-18 11:24:23 +0100220 rst: reset-controller@e6160000 {
221 compatible = "renesas,r8a7745-rst";
222 reg = <0 0xe6160000 0 0x100>;
223 };
224
Sergei Shtylyovc9536022016-11-05 00:53:38 +0300225 sysc: system-controller@e6180000 {
226 compatible = "renesas,r8a7745-sysc";
227 reg = <0 0xe6180000 0 0x200>;
228 #power-domain-cells = <1>;
229 };
230
Sergei Shtylyov95b94ed2017-04-15 23:18:26 +0300231 pfc: pin-controller@e6060000 {
232 compatible = "renesas,pfc-r8a7745";
233 reg = <0 0xe6060000 0 0x11c>;
234 };
235
Sergei Shtylyov06a80ba2016-11-05 00:54:51 +0300236 dmac0: dma-controller@e6700000 {
237 compatible = "renesas,dmac-r8a7745",
238 "renesas,rcar-dmac";
239 reg = <0 0xe6700000 0 0x20000>;
240 interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH
241 GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH
242 GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH
243 GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH
244 GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH
245 GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH
246 GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH
247 GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH
248 GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH
249 GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH
250 GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH
251 GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH
252 GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH
253 GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH
254 GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH
255 GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>;
256 interrupt-names = "error",
257 "ch0", "ch1", "ch2", "ch3",
258 "ch4", "ch5", "ch6", "ch7",
259 "ch8", "ch9", "ch10", "ch11",
260 "ch12", "ch13", "ch14";
261 clocks = <&cpg CPG_MOD 219>;
262 clock-names = "fck";
263 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
Geert Uytterhoeven1efab6e2017-03-16 15:07:26 +0100264 resets = <&cpg 219>;
Sergei Shtylyov06a80ba2016-11-05 00:54:51 +0300265 #dma-cells = <1>;
266 dma-channels = <15>;
267 };
268
269 dmac1: dma-controller@e6720000 {
270 compatible = "renesas,dmac-r8a7745",
271 "renesas,rcar-dmac";
272 reg = <0 0xe6720000 0 0x20000>;
273 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
274 GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
275 GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
276 GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
277 GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
278 GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
279 GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
280 GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
281 GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
282 GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
283 GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
284 GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
285 GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
286 GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
287 GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
288 GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>;
289 interrupt-names = "error",
290 "ch0", "ch1", "ch2", "ch3",
291 "ch4", "ch5", "ch6", "ch7",
292 "ch8", "ch9", "ch10", "ch11",
293 "ch12", "ch13", "ch14";
294 clocks = <&cpg CPG_MOD 218>;
295 clock-names = "fck";
296 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
Geert Uytterhoeven1efab6e2017-03-16 15:07:26 +0100297 resets = <&cpg 218>;
Sergei Shtylyov06a80ba2016-11-05 00:54:51 +0300298 #dma-cells = <1>;
299 dma-channels = <15>;
300 };
Sergei Shtylyove0d2da52016-11-05 00:55:52 +0300301
302 scifa0: serial@e6c40000 {
303 compatible = "renesas,scifa-r8a7745",
304 "renesas,rcar-gen2-scifa", "renesas,scifa";
305 reg = <0 0xe6c40000 0 0x40>;
306 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
307 clocks = <&cpg CPG_MOD 204>;
308 clock-names = "fck";
309 dmas = <&dmac0 0x21>, <&dmac0 0x22>,
310 <&dmac1 0x21>, <&dmac1 0x22>;
311 dma-names = "tx", "rx", "tx", "rx";
312 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
Geert Uytterhoeven1efab6e2017-03-16 15:07:26 +0100313 resets = <&cpg 204>;
Sergei Shtylyove0d2da52016-11-05 00:55:52 +0300314 status = "disabled";
315 };
316
317 scifa1: serial@e6c50000 {
318 compatible = "renesas,scifa-r8a7745",
319 "renesas,rcar-gen2-scifa", "renesas,scifa";
320 reg = <0 0xe6c50000 0 0x40>;
321 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
322 clocks = <&cpg CPG_MOD 203>;
323 clock-names = "fck";
324 dmas = <&dmac0 0x25>, <&dmac0 0x26>,
325 <&dmac1 0x25>, <&dmac1 0x26>;
326 dma-names = "tx", "rx", "tx", "rx";
327 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
Geert Uytterhoeven1efab6e2017-03-16 15:07:26 +0100328 resets = <&cpg 203>;
Sergei Shtylyove0d2da52016-11-05 00:55:52 +0300329 status = "disabled";
330 };
331
332 scifa2: serial@e6c60000 {
333 compatible = "renesas,scifa-r8a7745",
334 "renesas,rcar-gen2-scifa", "renesas,scifa";
335 reg = <0 0xe6c60000 0 0x40>;
336 interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
337 clocks = <&cpg CPG_MOD 202>;
338 clock-names = "fck";
339 dmas = <&dmac0 0x27>, <&dmac0 0x28>,
340 <&dmac1 0x27>, <&dmac1 0x28>;
341 dma-names = "tx", "rx", "tx", "rx";
342 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
Geert Uytterhoeven1efab6e2017-03-16 15:07:26 +0100343 resets = <&cpg 202>;
Sergei Shtylyove0d2da52016-11-05 00:55:52 +0300344 status = "disabled";
345 };
346
347 scifa3: serial@e6c70000 {
348 compatible = "renesas,scifa-r8a7745",
349 "renesas,rcar-gen2-scifa", "renesas,scifa";
350 reg = <0 0xe6c70000 0 0x40>;
351 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
352 clocks = <&cpg CPG_MOD 1106>;
353 clock-names = "fck";
354 dmas = <&dmac0 0x1b>, <&dmac0 0x1c>,
355 <&dmac1 0x1b>, <&dmac1 0x1c>;
356 dma-names = "tx", "rx", "tx", "rx";
357 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
Geert Uytterhoeven1efab6e2017-03-16 15:07:26 +0100358 resets = <&cpg 1106>;
Sergei Shtylyove0d2da52016-11-05 00:55:52 +0300359 status = "disabled";
360 };
361
362 scifa4: serial@e6c78000 {
363 compatible = "renesas,scifa-r8a7745",
364 "renesas,rcar-gen2-scifa", "renesas,scifa";
365 reg = <0 0xe6c78000 0 0x40>;
366 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
367 clocks = <&cpg CPG_MOD 1107>;
368 clock-names = "fck";
369 dmas = <&dmac0 0x1f>, <&dmac0 0x20>,
370 <&dmac1 0x1f>, <&dmac1 0x20>;
371 dma-names = "tx", "rx", "tx", "rx";
372 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
Geert Uytterhoeven1efab6e2017-03-16 15:07:26 +0100373 resets = <&cpg 1107>;
Sergei Shtylyove0d2da52016-11-05 00:55:52 +0300374 status = "disabled";
375 };
376
377 scifa5: serial@e6c80000 {
378 compatible = "renesas,scifa-r8a7745",
379 "renesas,rcar-gen2-scifa", "renesas,scifa";
380 reg = <0 0xe6c80000 0 0x40>;
381 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
382 clocks = <&cpg CPG_MOD 1108>;
383 clock-names = "fck";
384 dmas = <&dmac0 0x23>, <&dmac0 0x24>,
385 <&dmac1 0x23>, <&dmac1 0x24>;
386 dma-names = "tx", "rx", "tx", "rx";
387 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
Geert Uytterhoeven1efab6e2017-03-16 15:07:26 +0100388 resets = <&cpg 1108>;
Sergei Shtylyove0d2da52016-11-05 00:55:52 +0300389 status = "disabled";
390 };
391
392 scifb0: serial@e6c20000 {
393 compatible = "renesas,scifb-r8a7745",
394 "renesas,rcar-gen2-scifb", "renesas,scifb";
395 reg = <0 0xe6c20000 0 0x100>;
396 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
397 clocks = <&cpg CPG_MOD 206>;
398 clock-names = "fck";
399 dmas = <&dmac0 0x3d>, <&dmac0 0x3e>,
Geert Uytterhoevenad20bb62017-02-08 19:00:44 +0100400 <&dmac1 0x3d>, <&dmac1 0x3e>;
Sergei Shtylyove0d2da52016-11-05 00:55:52 +0300401 dma-names = "tx", "rx", "tx", "rx";
402 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
Geert Uytterhoeven1efab6e2017-03-16 15:07:26 +0100403 resets = <&cpg 206>;
Sergei Shtylyove0d2da52016-11-05 00:55:52 +0300404 status = "disabled";
405 };
406
407 scifb1: serial@e6c30000 {
408 compatible = "renesas,scifb-r8a7745",
409 "renesas,rcar-gen2-scifb", "renesas,scifb";
410 reg = <0 0xe6c30000 0 0x100>;
411 interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
412 clocks = <&cpg CPG_MOD 207>;
413 clock-names = "fck";
414 dmas = <&dmac0 0x19>, <&dmac0 0x1a>,
415 <&dmac1 0x19>, <&dmac1 0x1a>;
416 dma-names = "tx", "rx", "tx", "rx";
417 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
Geert Uytterhoeven1efab6e2017-03-16 15:07:26 +0100418 resets = <&cpg 207>;
Sergei Shtylyove0d2da52016-11-05 00:55:52 +0300419 status = "disabled";
420 };
421
422 scifb2: serial@e6ce0000 {
423 compatible = "renesas,scifb-r8a7745",
424 "renesas,rcar-gen2-scifb", "renesas,scifb";
425 reg = <0 0xe6ce0000 0 0x100>;
426 interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
427 clocks = <&cpg CPG_MOD 216>;
428 clock-names = "fck";
429 dmas = <&dmac0 0x1d>, <&dmac0 0x1e>,
430 <&dmac1 0x1d>, <&dmac1 0x1e>;
431 dma-names = "tx", "rx", "tx", "rx";
432 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
Geert Uytterhoeven1efab6e2017-03-16 15:07:26 +0100433 resets = <&cpg 216>;
Sergei Shtylyove0d2da52016-11-05 00:55:52 +0300434 status = "disabled";
435 };
436
437 scif0: serial@e6e60000 {
438 compatible = "renesas,scif-r8a7745",
439 "renesas,rcar-gen2-scif", "renesas,scif";
440 reg = <0 0xe6e60000 0 0x40>;
441 interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
442 clocks = <&cpg CPG_MOD 721>,
443 <&cpg CPG_CORE R8A7745_CLK_ZS>, <&scif_clk>;
444 clock-names = "fck", "brg_int", "scif_clk";
445 dmas = <&dmac0 0x29>, <&dmac0 0x2a>,
446 <&dmac1 0x29>, <&dmac1 0x2a>;
447 dma-names = "tx", "rx", "tx", "rx";
448 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
Geert Uytterhoeven1efab6e2017-03-16 15:07:26 +0100449 resets = <&cpg 721>;
Sergei Shtylyove0d2da52016-11-05 00:55:52 +0300450 status = "disabled";
451 };
452
453 scif1: serial@e6e68000 {
454 compatible = "renesas,scif-r8a7745",
455 "renesas,rcar-gen2-scif", "renesas,scif";
456 reg = <0 0xe6e68000 0 0x40>;
457 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
458 clocks = <&cpg CPG_MOD 720>,
459 <&cpg CPG_CORE R8A7745_CLK_ZS>, <&scif_clk>;
460 clock-names = "fck", "brg_int", "scif_clk";
461 dmas = <&dmac0 0x2d>, <&dmac0 0x2e>,
462 <&dmac1 0x2d>, <&dmac1 0x2e>;
463 dma-names = "tx", "rx", "tx", "rx";
464 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
Geert Uytterhoeven1efab6e2017-03-16 15:07:26 +0100465 resets = <&cpg 720>;
Sergei Shtylyove0d2da52016-11-05 00:55:52 +0300466 status = "disabled";
467 };
468
469 scif2: serial@e6e58000 {
470 compatible = "renesas,scif-r8a7745",
471 "renesas,rcar-gen2-scif", "renesas,scif";
472 reg = <0 0xe6e58000 0 0x40>;
473 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
474 clocks = <&cpg CPG_MOD 719>,
475 <&cpg CPG_CORE R8A7745_CLK_ZS>, <&scif_clk>;
476 clock-names = "fck", "brg_int", "scif_clk";
477 dmas = <&dmac0 0x2b>, <&dmac0 0x2c>,
478 <&dmac1 0x2b>, <&dmac1 0x2c>;
479 dma-names = "tx", "rx", "tx", "rx";
480 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
Geert Uytterhoeven1efab6e2017-03-16 15:07:26 +0100481 resets = <&cpg 719>;
Sergei Shtylyove0d2da52016-11-05 00:55:52 +0300482 status = "disabled";
483 };
484
485 scif3: serial@e6ea8000 {
486 compatible = "renesas,scif-r8a7745",
487 "renesas,rcar-gen2-scif", "renesas,scif";
488 reg = <0 0xe6ea8000 0 0x40>;
489 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
490 clocks = <&cpg CPG_MOD 718>,
491 <&cpg CPG_CORE R8A7745_CLK_ZS>, <&scif_clk>;
492 clock-names = "fck", "brg_int", "scif_clk";
493 dmas = <&dmac0 0x2f>, <&dmac0 0x30>,
494 <&dmac1 0x2f>, <&dmac1 0x30>;
495 dma-names = "tx", "rx", "tx", "rx";
496 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
Geert Uytterhoeven1efab6e2017-03-16 15:07:26 +0100497 resets = <&cpg 718>;
Sergei Shtylyove0d2da52016-11-05 00:55:52 +0300498 status = "disabled";
499 };
500
501 scif4: serial@e6ee0000 {
502 compatible = "renesas,scif-r8a7745",
503 "renesas,rcar-gen2-scif", "renesas,scif";
504 reg = <0 0xe6ee0000 0 0x40>;
505 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
506 clocks = <&cpg CPG_MOD 715>,
507 <&cpg CPG_CORE R8A7745_CLK_ZS>, <&scif_clk>;
508 clock-names = "fck", "brg_int", "scif_clk";
509 dmas = <&dmac0 0xfb>, <&dmac0 0xfc>,
510 <&dmac1 0xfb>, <&dmac1 0xfc>;
511 dma-names = "tx", "rx", "tx", "rx";
512 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
Geert Uytterhoeven1efab6e2017-03-16 15:07:26 +0100513 resets = <&cpg 715>;
Sergei Shtylyove0d2da52016-11-05 00:55:52 +0300514 status = "disabled";
515 };
516
517 scif5: serial@e6ee8000 {
518 compatible = "renesas,scif-r8a7745",
519 "renesas,rcar-gen2-scif", "renesas,scif";
520 reg = <0 0xe6ee8000 0 0x40>;
521 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
522 clocks = <&cpg CPG_MOD 714>,
523 <&cpg CPG_CORE R8A7745_CLK_ZS>, <&scif_clk>;
524 clock-names = "fck", "brg_int", "scif_clk";
525 dmas = <&dmac0 0xfd>, <&dmac0 0xfe>,
526 <&dmac1 0xfd>, <&dmac1 0xfe>;
527 dma-names = "tx", "rx", "tx", "rx";
528 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
Geert Uytterhoeven1efab6e2017-03-16 15:07:26 +0100529 resets = <&cpg 714>;
Sergei Shtylyove0d2da52016-11-05 00:55:52 +0300530 status = "disabled";
531 };
532
533 hscif0: serial@e62c0000 {
534 compatible = "renesas,hscif-r8a7745",
535 "renesas,rcar-gen2-hscif", "renesas,hscif";
536 reg = <0 0xe62c0000 0 0x60>;
537 interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
538 clocks = <&cpg CPG_MOD 717>,
539 <&cpg CPG_CORE R8A7745_CLK_ZS>, <&scif_clk>;
540 clock-names = "fck", "brg_int", "scif_clk";
541 dmas = <&dmac0 0x39>, <&dmac0 0x3a>,
542 <&dmac1 0x39>, <&dmac1 0x3a>;
543 dma-names = "tx", "rx", "tx", "rx";
544 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
Geert Uytterhoeven1efab6e2017-03-16 15:07:26 +0100545 resets = <&cpg 717>;
Sergei Shtylyove0d2da52016-11-05 00:55:52 +0300546 status = "disabled";
547 };
548
549 hscif1: serial@e62c8000 {
550 compatible = "renesas,hscif-r8a7745",
551 "renesas,rcar-gen2-hscif", "renesas,hscif";
552 reg = <0 0xe62c8000 0 0x60>;
553 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
554 clocks = <&cpg CPG_MOD 716>,
555 <&cpg CPG_CORE R8A7745_CLK_ZS>, <&scif_clk>;
556 clock-names = "fck", "brg_int", "scif_clk";
557 dmas = <&dmac0 0x4d>, <&dmac0 0x4e>,
558 <&dmac1 0x4d>, <&dmac1 0x4e>;
559 dma-names = "tx", "rx", "tx", "rx";
560 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
Geert Uytterhoeven1efab6e2017-03-16 15:07:26 +0100561 resets = <&cpg 716>;
Sergei Shtylyove0d2da52016-11-05 00:55:52 +0300562 status = "disabled";
563 };
564
565 hscif2: serial@e62d0000 {
566 compatible = "renesas,hscif-r8a7745",
567 "renesas,rcar-gen2-hscif", "renesas,hscif";
568 reg = <0 0xe62d0000 0 0x60>;
569 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
570 clocks = <&cpg CPG_MOD 713>,
571 <&cpg CPG_CORE R8A7745_CLK_ZS>, <&scif_clk>;
572 clock-names = "fck", "brg_int", "scif_clk";
573 dmas = <&dmac0 0x3b>, <&dmac0 0x3c>,
574 <&dmac1 0x3b>, <&dmac1 0x3c>;
575 dma-names = "tx", "rx", "tx", "rx";
576 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
Geert Uytterhoeven1efab6e2017-03-16 15:07:26 +0100577 resets = <&cpg 713>;
Sergei Shtylyove0d2da52016-11-05 00:55:52 +0300578 status = "disabled";
579 };
Sergei Shtylyovbed98a52016-11-04 14:57:01 -0700580
Geert Uytterhoeven825216b2017-07-04 17:23:13 +0200581 icram2: sram@e6300000 {
582 compatible = "mmio-sram";
583 reg = <0 0xe6300000 0 0x40000>;
584 };
585
586 icram0: sram@e63a0000 {
587 compatible = "mmio-sram";
588 reg = <0 0xe63a0000 0 0x12000>;
589 };
590
591 icram1: sram@e63c0000 {
592 compatible = "mmio-sram";
593 reg = <0 0xe63c0000 0 0x1000>;
Geert Uytterhoevend2791b12017-07-04 17:41:38 +0200594 #address-cells = <1>;
595 #size-cells = <1>;
596 ranges = <0 0 0xe63c0000 0x1000>;
597
598 smp-sram@0 {
599 compatible = "renesas,smp-sram";
600 reg = <0 0x10>;
601 };
Geert Uytterhoeven825216b2017-07-04 17:23:13 +0200602 };
603
Sergei Shtylyovbed98a52016-11-04 14:57:01 -0700604 ether: ethernet@ee700000 {
605 compatible = "renesas,ether-r8a7745";
606 reg = <0 0xee700000 0 0x400>;
607 interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
608 clocks = <&cpg CPG_MOD 813>;
609 power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
Geert Uytterhoeven1efab6e2017-03-16 15:07:26 +0100610 resets = <&cpg 813>;
Sergei Shtylyovbed98a52016-11-04 14:57:01 -0700611 phy-mode = "rmii";
612 #address-cells = <1>;
613 #size-cells = <0>;
614 status = "disabled";
615 };
Sergei Shtylyovc9536022016-11-05 00:53:38 +0300616 };
617
618 /* External root clock */
619 extal_clk: extal {
620 compatible = "fixed-clock";
621 #clock-cells = <0>;
622 /* This value must be overridden by the board. */
623 clock-frequency = <0>;
624 };
625
626 /* External USB clock - can be overridden by the board */
627 usb_extal_clk: usb_extal {
628 compatible = "fixed-clock";
629 #clock-cells = <0>;
630 clock-frequency = <48000000>;
631 };
632
633 /* External SCIF clock */
634 scif_clk: scif {
635 compatible = "fixed-clock";
636 #clock-cells = <0>;
637 /* This value must be overridden by the board. */
638 clock-frequency = <0>;
639 };
640};