blob: c95ad177b097809d49bf7d206df3f2782d4bd4f9 [file] [log] [blame]
Simon Horman1561f202016-05-24 10:54:38 +09001/*
2 * Device Tree Source for the r8a7796 SoC
3 *
4 * Copyright (C) 2016 Renesas Electronics Corp.
5 *
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/clock/r8a7796-cpg-mssr.h>
12#include <dt-bindings/interrupt-controller/arm-gic.h>
Geert Uytterhoeven56aebae2016-05-31 11:08:44 +020013#include <dt-bindings/power/r8a7796-sysc.h>
Simon Horman1561f202016-05-24 10:54:38 +090014
15/ {
16 compatible = "renesas,r8a7796";
17 #address-cells = <2>;
18 #size-cells = <2>;
19
Ulrich Hechtfcb008a2016-10-26 16:14:07 +020020 aliases {
21 i2c0 = &i2c0;
22 i2c1 = &i2c1;
23 i2c2 = &i2c2;
24 i2c3 = &i2c3;
25 i2c4 = &i2c4;
26 i2c5 = &i2c5;
27 i2c6 = &i2c6;
Dien Pham0fb1fd22017-01-26 09:52:27 +010028 i2c7 = &i2c_dvfs;
Ulrich Hechtfcb008a2016-10-26 16:14:07 +020029 };
30
Simon Horman1561f202016-05-24 10:54:38 +090031 psci {
32 compatible = "arm,psci-0.2";
33 method = "smc";
34 };
35
36 cpus {
37 #address-cells = <1>;
38 #size-cells = <0>;
39
40 /* 1 core only at this point */
41 a57_0: cpu@0 {
42 compatible = "arm,cortex-a57", "arm,armv8";
43 reg = <0x0>;
44 device_type = "cpu";
Geert Uytterhoeven56aebae2016-05-31 11:08:44 +020045 power-domains = <&sysc R8A7796_PD_CA57_CPU0>;
Simon Horman1561f202016-05-24 10:54:38 +090046 next-level-cache = <&L2_CA57>;
47 enable-method = "psci";
48 };
49
50 L2_CA57: cache-controller@0 {
51 compatible = "cache";
52 reg = <0>;
Geert Uytterhoeven56aebae2016-05-31 11:08:44 +020053 power-domains = <&sysc R8A7796_PD_CA57_SCU>;
Simon Horman1561f202016-05-24 10:54:38 +090054 cache-unified;
55 cache-level = <2>;
56 };
57 };
58
59 extal_clk: extal {
60 compatible = "fixed-clock";
61 #clock-cells = <0>;
62 /* This value must be overridden by the board */
63 clock-frequency = <0>;
64 };
65
66 extalr_clk: extalr {
67 compatible = "fixed-clock";
68 #clock-cells = <0>;
69 /* This value must be overridden by the board */
70 clock-frequency = <0>;
71 };
72
Chris Paterson8a6de042016-11-24 16:13:39 +000073 /* External CAN clock - to be overridden by boards that provide it */
74 can_clk: can {
75 compatible = "fixed-clock";
76 #clock-cells = <0>;
77 clock-frequency = <0>;
78 };
79
Simon Horman1561f202016-05-24 10:54:38 +090080 /* External SCIF clock - to be overridden by boards that provide it */
81 scif_clk: scif {
82 compatible = "fixed-clock";
83 #clock-cells = <0>;
84 clock-frequency = <0>;
85 };
86
87 soc {
88 compatible = "simple-bus";
89 interrupt-parent = <&gic>;
90 #address-cells = <2>;
91 #size-cells = <2>;
92 ranges;
93
94 gic: interrupt-controller@f1010000 {
95 compatible = "arm,gic-400";
96 #interrupt-cells = <3>;
97 #address-cells = <0>;
98 interrupt-controller;
99 reg = <0x0 0xf1010000 0 0x1000>,
100 <0x0 0xf1020000 0 0x20000>,
101 <0x0 0xf1040000 0 0x20000>,
102 <0x0 0xf1060000 0 0x20000>;
103 interrupts = <GIC_PPI 9
104 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_HIGH)>;
Geert Uytterhoeven0bacdbc2017-01-17 13:49:20 +0100105 clocks = <&cpg CPG_MOD 408>;
106 clock-names = "clk";
107 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
Simon Horman1561f202016-05-24 10:54:38 +0900108 };
109
110 timer {
111 compatible = "arm,armv8-timer";
112 interrupts = <GIC_PPI 13
113 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
114 <GIC_PPI 14
115 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
116 <GIC_PPI 11
117 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
118 <GIC_PPI 10
119 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>;
120 };
121
Geert Uytterhoevenc8ce8002016-06-27 19:50:46 +0200122 wdt0: watchdog@e6020000 {
123 compatible = "renesas,r8a7796-wdt",
124 "renesas,rcar-gen3-wdt";
125 reg = <0 0xe6020000 0 0x0c>;
126 clocks = <&cpg CPG_MOD 402>;
127 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
128 status = "disabled";
129 };
130
Takeshi Kiharafa765e52016-08-17 11:13:51 +0200131 gpio0: gpio@e6050000 {
132 compatible = "renesas,gpio-r8a7796",
133 "renesas,gpio-rcar";
134 reg = <0 0xe6050000 0 0x50>;
135 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
136 #gpio-cells = <2>;
137 gpio-controller;
138 gpio-ranges = <&pfc 0 0 16>;
139 #interrupt-cells = <2>;
140 interrupt-controller;
141 clocks = <&cpg CPG_MOD 912>;
142 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
143 };
144
145 gpio1: gpio@e6051000 {
146 compatible = "renesas,gpio-r8a7796",
147 "renesas,gpio-rcar";
148 reg = <0 0xe6051000 0 0x50>;
149 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
150 #gpio-cells = <2>;
151 gpio-controller;
152 gpio-ranges = <&pfc 0 32 29>;
153 #interrupt-cells = <2>;
154 interrupt-controller;
155 clocks = <&cpg CPG_MOD 911>;
156 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
157 };
158
159 gpio2: gpio@e6052000 {
160 compatible = "renesas,gpio-r8a7796",
161 "renesas,gpio-rcar";
162 reg = <0 0xe6052000 0 0x50>;
163 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
164 #gpio-cells = <2>;
165 gpio-controller;
166 gpio-ranges = <&pfc 0 64 15>;
167 #interrupt-cells = <2>;
168 interrupt-controller;
169 clocks = <&cpg CPG_MOD 910>;
170 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
171 };
172
173 gpio3: gpio@e6053000 {
174 compatible = "renesas,gpio-r8a7796",
175 "renesas,gpio-rcar";
176 reg = <0 0xe6053000 0 0x50>;
177 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
178 #gpio-cells = <2>;
179 gpio-controller;
180 gpio-ranges = <&pfc 0 96 16>;
181 #interrupt-cells = <2>;
182 interrupt-controller;
183 clocks = <&cpg CPG_MOD 909>;
184 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
185 };
186
187 gpio4: gpio@e6054000 {
188 compatible = "renesas,gpio-r8a7796",
189 "renesas,gpio-rcar";
190 reg = <0 0xe6054000 0 0x50>;
191 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
192 #gpio-cells = <2>;
193 gpio-controller;
194 gpio-ranges = <&pfc 0 128 18>;
195 #interrupt-cells = <2>;
196 interrupt-controller;
197 clocks = <&cpg CPG_MOD 908>;
198 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
199 };
200
201 gpio5: gpio@e6055000 {
202 compatible = "renesas,gpio-r8a7796",
203 "renesas,gpio-rcar";
204 reg = <0 0xe6055000 0 0x50>;
205 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
206 #gpio-cells = <2>;
207 gpio-controller;
208 gpio-ranges = <&pfc 0 160 26>;
209 #interrupt-cells = <2>;
210 interrupt-controller;
211 clocks = <&cpg CPG_MOD 907>;
212 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
213 };
214
215 gpio6: gpio@e6055400 {
216 compatible = "renesas,gpio-r8a7796",
217 "renesas,gpio-rcar";
218 reg = <0 0xe6055400 0 0x50>;
219 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
220 #gpio-cells = <2>;
221 gpio-controller;
222 gpio-ranges = <&pfc 0 192 32>;
223 #interrupt-cells = <2>;
224 interrupt-controller;
225 clocks = <&cpg CPG_MOD 906>;
226 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
227 };
228
229 gpio7: gpio@e6055800 {
230 compatible = "renesas,gpio-r8a7796",
231 "renesas,gpio-rcar";
232 reg = <0 0xe6055800 0 0x50>;
233 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
234 #gpio-cells = <2>;
235 gpio-controller;
236 gpio-ranges = <&pfc 0 224 4>;
237 #interrupt-cells = <2>;
238 interrupt-controller;
239 clocks = <&cpg CPG_MOD 905>;
240 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
241 };
242
Takeshi Kihara50809472016-08-18 15:12:34 +0200243 pfc: pin-controller@e6060000 {
244 compatible = "renesas,pfc-r8a7796";
245 reg = <0 0xe6060000 0 0x50c>;
246 };
247
Simon Horman1561f202016-05-24 10:54:38 +0900248 cpg: clock-controller@e6150000 {
249 compatible = "renesas,r8a7796-cpg-mssr";
250 reg = <0 0xe6150000 0 0x1000>;
251 clocks = <&extal_clk>, <&extalr_clk>;
252 clock-names = "extal", "extalr";
253 #clock-cells = <2>;
254 #power-domain-cells = <0>;
255 };
256
Geert Uytterhoeven65f922c2016-05-27 11:55:26 +0200257 rst: reset-controller@e6160000 {
258 compatible = "renesas,r8a7796-rst";
259 reg = <0 0xe6160000 0 0x0200>;
260 };
261
Geert Uytterhoeven5de68962016-11-14 19:37:17 +0100262 prr: chipid@fff00044 {
263 compatible = "renesas,prr";
264 reg = <0 0xfff00044 0 4>;
265 };
266
Geert Uytterhoeven56aebae2016-05-31 11:08:44 +0200267 sysc: system-controller@e6180000 {
268 compatible = "renesas,r8a7796-sysc";
269 reg = <0 0xe6180000 0 0x0400>;
270 #power-domain-cells = <1>;
271 };
272
Dien Pham0fb1fd22017-01-26 09:52:27 +0100273 i2c_dvfs: i2c@e60b0000 {
274 #address-cells = <1>;
275 #size-cells = <0>;
276 compatible = "renesas,iic-r8a7796",
277 "renesas,rcar-gen3-iic",
278 "renesas,rmobile-iic";
279 reg = <0 0xe60b0000 0 0x425>;
280 interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
281 clocks = <&cpg CPG_MOD 926>;
282 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
283 status = "disabled";
284 };
285
Ulrich Hechtfcb008a2016-10-26 16:14:07 +0200286 i2c0: i2c@e6500000 {
287 #address-cells = <1>;
288 #size-cells = <0>;
Simon Horman5553e212016-12-13 12:45:55 +0100289 compatible = "renesas,i2c-r8a7796",
290 "renesas,rcar-gen3-i2c";
Ulrich Hechtfcb008a2016-10-26 16:14:07 +0200291 reg = <0 0xe6500000 0 0x40>;
292 interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
293 clocks = <&cpg CPG_MOD 931>;
294 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
Ulrich Hechtc758f4e2016-10-26 16:14:08 +0200295 dmas = <&dmac1 0x91>, <&dmac1 0x90>,
296 <&dmac2 0x91>, <&dmac2 0x90>;
297 dma-names = "tx", "rx", "tx", "rx";
Ulrich Hechtfcb008a2016-10-26 16:14:07 +0200298 i2c-scl-internal-delay-ns = <110>;
299 status = "disabled";
300 };
301
302 i2c1: i2c@e6508000 {
303 #address-cells = <1>;
304 #size-cells = <0>;
Simon Horman5553e212016-12-13 12:45:55 +0100305 compatible = "renesas,i2c-r8a7796",
306 "renesas,rcar-gen3-i2c";
Ulrich Hechtfcb008a2016-10-26 16:14:07 +0200307 reg = <0 0xe6508000 0 0x40>;
308 interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
309 clocks = <&cpg CPG_MOD 930>;
310 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
Ulrich Hechtc758f4e2016-10-26 16:14:08 +0200311 dmas = <&dmac1 0x93>, <&dmac1 0x92>,
312 <&dmac2 0x93>, <&dmac2 0x92>;
313 dma-names = "tx", "rx", "tx", "rx";
Ulrich Hechtfcb008a2016-10-26 16:14:07 +0200314 i2c-scl-internal-delay-ns = <6>;
315 status = "disabled";
316 };
317
318 i2c2: i2c@e6510000 {
319 #address-cells = <1>;
320 #size-cells = <0>;
Simon Horman5553e212016-12-13 12:45:55 +0100321 compatible = "renesas,i2c-r8a7796",
322 "renesas,rcar-gen3-i2c";
Ulrich Hechtfcb008a2016-10-26 16:14:07 +0200323 reg = <0 0xe6510000 0 0x40>;
324 interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
325 clocks = <&cpg CPG_MOD 929>;
326 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
Ulrich Hechtc758f4e2016-10-26 16:14:08 +0200327 dmas = <&dmac1 0x95>, <&dmac1 0x94>,
328 <&dmac2 0x95>, <&dmac2 0x94>;
329 dma-names = "tx", "rx", "tx", "rx";
Ulrich Hechtfcb008a2016-10-26 16:14:07 +0200330 i2c-scl-internal-delay-ns = <6>;
331 status = "disabled";
332 };
333
334 i2c3: i2c@e66d0000 {
335 #address-cells = <1>;
336 #size-cells = <0>;
Simon Horman5553e212016-12-13 12:45:55 +0100337 compatible = "renesas,i2c-r8a7796",
338 "renesas,rcar-gen3-i2c";
Ulrich Hechtfcb008a2016-10-26 16:14:07 +0200339 reg = <0 0xe66d0000 0 0x40>;
340 interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
341 clocks = <&cpg CPG_MOD 928>;
342 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
Ulrich Hechtc758f4e2016-10-26 16:14:08 +0200343 dmas = <&dmac0 0x97>, <&dmac0 0x96>;
344 dma-names = "tx", "rx";
Ulrich Hechtfcb008a2016-10-26 16:14:07 +0200345 i2c-scl-internal-delay-ns = <110>;
346 status = "disabled";
347 };
348
349 i2c4: i2c@e66d8000 {
350 #address-cells = <1>;
351 #size-cells = <0>;
Simon Horman5553e212016-12-13 12:45:55 +0100352 compatible = "renesas,i2c-r8a7796",
353 "renesas,rcar-gen3-i2c";
Ulrich Hechtfcb008a2016-10-26 16:14:07 +0200354 reg = <0 0xe66d8000 0 0x40>;
355 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
356 clocks = <&cpg CPG_MOD 927>;
357 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
Ulrich Hechtc758f4e2016-10-26 16:14:08 +0200358 dmas = <&dmac0 0x99>, <&dmac0 0x98>;
359 dma-names = "tx", "rx";
Ulrich Hechtfcb008a2016-10-26 16:14:07 +0200360 i2c-scl-internal-delay-ns = <110>;
361 status = "disabled";
362 };
363
364 i2c5: i2c@e66e0000 {
365 #address-cells = <1>;
366 #size-cells = <0>;
Simon Horman5553e212016-12-13 12:45:55 +0100367 compatible = "renesas,i2c-r8a7796",
368 "renesas,rcar-gen3-i2c";
Ulrich Hechtfcb008a2016-10-26 16:14:07 +0200369 reg = <0 0xe66e0000 0 0x40>;
370 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
371 clocks = <&cpg CPG_MOD 919>;
372 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
Ulrich Hechtc758f4e2016-10-26 16:14:08 +0200373 dmas = <&dmac0 0x9b>, <&dmac0 0x9a>;
374 dma-names = "tx", "rx";
Ulrich Hechtfcb008a2016-10-26 16:14:07 +0200375 i2c-scl-internal-delay-ns = <110>;
376 status = "disabled";
377 };
378
379 i2c6: i2c@e66e8000 {
380 #address-cells = <1>;
381 #size-cells = <0>;
Simon Horman5553e212016-12-13 12:45:55 +0100382 compatible = "renesas,i2c-r8a7796",
383 "renesas,rcar-gen3-i2c";
Ulrich Hechtfcb008a2016-10-26 16:14:07 +0200384 reg = <0 0xe66e8000 0 0x40>;
385 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
386 clocks = <&cpg CPG_MOD 918>;
387 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
Ulrich Hechtc758f4e2016-10-26 16:14:08 +0200388 dmas = <&dmac0 0x9d>, <&dmac0 0x9c>;
389 dma-names = "tx", "rx";
Ulrich Hechtfcb008a2016-10-26 16:14:07 +0200390 i2c-scl-internal-delay-ns = <6>;
391 status = "disabled";
392 };
393
Chris Paterson909c1622016-11-24 16:13:40 +0000394 can0: can@e6c30000 {
395 compatible = "renesas,can-r8a7796",
396 "renesas,rcar-gen3-can";
397 reg = <0 0xe6c30000 0 0x1000>;
398 interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
399 clocks = <&cpg CPG_MOD 916>,
400 <&cpg CPG_CORE R8A7796_CLK_CANFD>,
401 <&can_clk>;
402 clock-names = "clkp1", "clkp2", "can_clk";
403 assigned-clocks = <&cpg CPG_CORE R8A7796_CLK_CANFD>;
404 assigned-clock-rates = <40000000>;
405 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
406 status = "disabled";
407 };
408
409 can1: can@e6c38000 {
410 compatible = "renesas,can-r8a7796",
411 "renesas,rcar-gen3-can";
412 reg = <0 0xe6c38000 0 0x1000>;
413 interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
414 clocks = <&cpg CPG_MOD 915>,
415 <&cpg CPG_CORE R8A7796_CLK_CANFD>,
416 <&can_clk>;
417 clock-names = "clkp1", "clkp2", "can_clk";
418 assigned-clocks = <&cpg CPG_CORE R8A7796_CLK_CANFD>;
419 assigned-clock-rates = <40000000>;
420 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
421 status = "disabled";
422 };
423
Chris Patersonf4176d7c2016-11-24 16:13:41 +0000424 canfd: can@e66c0000 {
425 compatible = "renesas,r8a7796-canfd",
426 "renesas,rcar-gen3-canfd";
427 reg = <0 0xe66c0000 0 0x8000>;
428 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
429 <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
430 clocks = <&cpg CPG_MOD 914>,
431 <&cpg CPG_CORE R8A7796_CLK_CANFD>,
432 <&can_clk>;
433 clock-names = "fck", "canfd", "can_clk";
434 assigned-clocks = <&cpg CPG_CORE R8A7796_CLK_CANFD>;
435 assigned-clock-rates = <40000000>;
436 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
437 status = "disabled";
438
439 channel0 {
440 status = "disabled";
441 };
442
443 channel1 {
444 status = "disabled";
445 };
446 };
447
Laurent Pinchart8e8b9ea2016-09-06 11:25:51 +0300448 avb: ethernet@e6800000 {
449 compatible = "renesas,etheravb-r8a7796",
450 "renesas,etheravb-rcar-gen3";
451 reg = <0 0xe6800000 0 0x800>, <0 0xe6a00000 0 0x10000>;
452 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
453 <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
454 <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
455 <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
456 <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
457 <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
458 <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
459 <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
460 <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
461 <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
462 <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
463 <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
464 <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
465 <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
466 <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
467 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
468 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
469 <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
470 <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
471 <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
472 <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
473 <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
474 <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
475 <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
476 <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
477 interrupt-names = "ch0", "ch1", "ch2", "ch3",
478 "ch4", "ch5", "ch6", "ch7",
479 "ch8", "ch9", "ch10", "ch11",
480 "ch12", "ch13", "ch14", "ch15",
481 "ch16", "ch17", "ch18", "ch19",
482 "ch20", "ch21", "ch22", "ch23",
483 "ch24";
484 clocks = <&cpg CPG_MOD 812>;
485 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
486 phy-mode = "rgmii-id";
487 #address-cells = <1>;
488 #size-cells = <0>;
Geert Uytterhoeven7e1c23b2017-01-25 14:19:31 +0100489 status = "disabled";
Laurent Pinchart8e8b9ea2016-09-06 11:25:51 +0300490 };
491
Simon Horman1561f202016-05-24 10:54:38 +0900492 scif2: serial@e6e88000 {
493 compatible = "renesas,scif-r8a7796",
494 "renesas,rcar-gen3-scif", "renesas,scif";
495 reg = <0 0xe6e88000 0 64>;
496 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
497 clocks = <&cpg CPG_MOD 310>,
498 <&cpg CPG_CORE R8A7796_CLK_S3D1>,
499 <&scif_clk>;
500 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoevena9003182016-05-31 11:08:45 +0200501 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
Simon Horman1561f202016-05-24 10:54:38 +0900502 status = "disabled";
503 };
Simon Hormana513cf12016-08-17 10:08:05 +0200504
Geert Uytterhoeven80fab062016-11-21 18:26:53 +0100505 msiof0: spi@e6e90000 {
Simon Horman8b51f972016-12-20 11:32:36 +0100506 compatible = "renesas,msiof-r8a7796",
507 "renesas,rcar-gen3-msiof";
Geert Uytterhoeven80fab062016-11-21 18:26:53 +0100508 reg = <0 0xe6e90000 0 0x0064>;
509 interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
510 clocks = <&cpg CPG_MOD 211>;
511 dmas = <&dmac1 0x41>, <&dmac1 0x40>,
512 <&dmac2 0x41>, <&dmac2 0x40>;
513 dma-names = "tx", "rx";
514 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
515 #address-cells = <1>;
516 #size-cells = <0>;
517 status = "disabled";
518 };
519
520 msiof1: spi@e6ea0000 {
Simon Horman8b51f972016-12-20 11:32:36 +0100521 compatible = "renesas,msiof-r8a7796",
522 "renesas,rcar-gen3-msiof";
Geert Uytterhoeven80fab062016-11-21 18:26:53 +0100523 reg = <0 0xe6ea0000 0 0x0064>;
524 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
525 clocks = <&cpg CPG_MOD 210>;
526 dmas = <&dmac1 0x43>, <&dmac1 0x42>,
527 <&dmac2 0x43>, <&dmac2 0x42>;
528 dma-names = "tx", "rx";
529 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
530 #address-cells = <1>;
531 #size-cells = <0>;
532 status = "disabled";
533 };
534
535 msiof2: spi@e6c00000 {
Simon Horman8b51f972016-12-20 11:32:36 +0100536 compatible = "renesas,msiof-r8a7796",
537 "renesas,rcar-gen3-msiof";
Geert Uytterhoeven80fab062016-11-21 18:26:53 +0100538 reg = <0 0xe6c00000 0 0x0064>;
539 interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
540 clocks = <&cpg CPG_MOD 209>;
541 dmas = <&dmac0 0x45>, <&dmac0 0x44>;
542 dma-names = "tx", "rx";
543 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
544 #address-cells = <1>;
545 #size-cells = <0>;
546 status = "disabled";
547 };
548
549 msiof3: spi@e6c10000 {
Simon Horman8b51f972016-12-20 11:32:36 +0100550 compatible = "renesas,msiof-r8a7796",
551 "renesas,rcar-gen3-msiof";
Geert Uytterhoeven80fab062016-11-21 18:26:53 +0100552 reg = <0 0xe6c10000 0 0x0064>;
553 interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
554 clocks = <&cpg CPG_MOD 208>;
555 dmas = <&dmac0 0x47>, <&dmac0 0x46>;
556 dma-names = "tx", "rx";
557 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
558 #address-cells = <1>;
559 #size-cells = <0>;
560 status = "disabled";
561 };
562
Ulrich Hecht93508522016-09-14 18:45:48 +0200563 dmac0: dma-controller@e6700000 {
564 compatible = "renesas,dmac-r8a7796",
565 "renesas,rcar-dmac";
566 reg = <0 0xe6700000 0 0x10000>;
567 interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH
568 GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH
569 GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH
570 GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH
571 GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH
572 GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH
573 GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH
574 GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH
575 GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH
576 GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH
577 GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH
578 GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH
579 GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH
580 GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH
581 GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH
582 GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH
583 GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
584 interrupt-names = "error",
585 "ch0", "ch1", "ch2", "ch3",
586 "ch4", "ch5", "ch6", "ch7",
587 "ch8", "ch9", "ch10", "ch11",
588 "ch12", "ch13", "ch14", "ch15";
589 clocks = <&cpg CPG_MOD 219>;
590 clock-names = "fck";
591 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
592 #dma-cells = <1>;
593 dma-channels = <16>;
594 };
595
596 dmac1: dma-controller@e7300000 {
597 compatible = "renesas,dmac-r8a7796",
598 "renesas,rcar-dmac";
599 reg = <0 0xe7300000 0 0x10000>;
600 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
601 GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
602 GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
603 GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
604 GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
605 GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
606 GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
607 GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
608 GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
609 GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
610 GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
611 GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
612 GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
613 GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
614 GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
615 GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
616 GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>;
617 interrupt-names = "error",
618 "ch0", "ch1", "ch2", "ch3",
619 "ch4", "ch5", "ch6", "ch7",
620 "ch8", "ch9", "ch10", "ch11",
621 "ch12", "ch13", "ch14", "ch15";
622 clocks = <&cpg CPG_MOD 218>;
623 clock-names = "fck";
624 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
625 #dma-cells = <1>;
626 dma-channels = <16>;
627 };
628
629 dmac2: dma-controller@e7310000 {
630 compatible = "renesas,dmac-r8a7796",
631 "renesas,rcar-dmac";
632 reg = <0 0xe7310000 0 0x10000>;
633 interrupts = <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH
634 GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH
635 GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH
636 GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH
637 GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH
638 GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH
639 GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH
640 GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH
641 GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH
642 GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH
643 GIC_SPI 426 IRQ_TYPE_LEVEL_HIGH
644 GIC_SPI 427 IRQ_TYPE_LEVEL_HIGH
645 GIC_SPI 428 IRQ_TYPE_LEVEL_HIGH
646 GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH
647 GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH
648 GIC_SPI 431 IRQ_TYPE_LEVEL_HIGH
649 GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>;
650 interrupt-names = "error",
651 "ch0", "ch1", "ch2", "ch3",
652 "ch4", "ch5", "ch6", "ch7",
653 "ch8", "ch9", "ch10", "ch11",
654 "ch12", "ch13", "ch14", "ch15";
655 clocks = <&cpg CPG_MOD 217>;
656 clock-names = "fck";
657 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
658 #dma-cells = <1>;
659 dma-channels = <16>;
660 };
661
Simon Hormana513cf12016-08-17 10:08:05 +0200662 sdhi0: sd@ee100000 {
663 compatible = "renesas,sdhi-r8a7796";
664 reg = <0 0xee100000 0 0x2000>;
665 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
666 clocks = <&cpg CPG_MOD 314>;
667 max-frequency = <200000000>;
668 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
669 status = "disabled";
670 };
671
672 sdhi1: sd@ee120000 {
673 compatible = "renesas,sdhi-r8a7796";
674 reg = <0 0xee120000 0 0x2000>;
675 interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
676 clocks = <&cpg CPG_MOD 313>;
677 max-frequency = <200000000>;
678 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
679 status = "disabled";
680 };
681
682 sdhi2: sd@ee140000 {
683 compatible = "renesas,sdhi-r8a7796";
684 reg = <0 0xee140000 0 0x2000>;
685 interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
686 clocks = <&cpg CPG_MOD 312>;
687 max-frequency = <200000000>;
688 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
689 status = "disabled";
690 };
691
692 sdhi3: sd@ee160000 {
693 compatible = "renesas,sdhi-r8a7796";
694 reg = <0 0xee160000 0 0x2000>;
695 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
696 clocks = <&cpg CPG_MOD 311>;
697 max-frequency = <200000000>;
698 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
699 status = "disabled";
700 };
Wolfram Sangaf25d1c2017-01-20 12:26:43 +0100701
702 tsc: thermal@e6198000 {
703 compatible = "renesas,r8a7796-thermal";
704 reg = <0 0xe6198000 0 0x68>,
705 <0 0xe61a0000 0 0x5c>,
706 <0 0xe61a8000 0 0x5c>;
707 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
708 <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
709 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
710 clocks = <&cpg CPG_MOD 522>;
711 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
712 #thermal-sensor-cells = <1>;
713 status = "okay";
714 };
715
716 thermal-zones {
717 sensor_thermal1: sensor-thermal1 {
718 polling-delay-passive = <250>;
719 polling-delay = <1000>;
720 thermal-sensors = <&tsc 0>;
721
722 trips {
723 sensor1_crit: sensor1-crit {
724 temperature = <120000>;
725 hysteresis = <2000>;
726 type = "critical";
727 };
728 };
729 };
730
731 sensor_thermal2: sensor-thermal2 {
732 polling-delay-passive = <250>;
733 polling-delay = <1000>;
734 thermal-sensors = <&tsc 1>;
735
736 trips {
737 sensor2_crit: sensor2-crit {
738 temperature = <120000>;
739 hysteresis = <2000>;
740 type = "critical";
741 };
742 };
743 };
744
745 sensor_thermal3: sensor-thermal3 {
746 polling-delay-passive = <250>;
747 polling-delay = <1000>;
748 thermal-sensors = <&tsc 2>;
749
750 trips {
751 sensor3_crit: sensor3-crit {
752 temperature = <120000>;
753 hysteresis = <2000>;
754 type = "critical";
755 };
756 };
757 };
758 };
Simon Horman1561f202016-05-24 10:54:38 +0900759 };
760};