blob: 951e351ddae1086b54147fbc48025eca48ec281e [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>;
Kazuya Mizuguchi325f3902017-02-01 09:42:03 +0100486 phy-mode = "rgmii-txid";
Laurent Pinchart8e8b9ea2016-09-06 11:25:51 +0300487 #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
Ulrich Hecht68cd1612016-12-07 17:44:47 +0100492 hscif0: serial@e6540000 {
493 compatible = "renesas,hscif-r8a7796",
494 "renesas,rcar-gen3-hscif",
495 "renesas,hscif";
496 reg = <0 0xe6540000 0 0x60>;
497 interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
498 clocks = <&cpg CPG_MOD 520>,
499 <&cpg CPG_CORE R8A7796_CLK_S3D1>,
500 <&scif_clk>;
501 clock-names = "fck", "brg_int", "scif_clk";
502 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
503 status = "disabled";
504 };
505
506 hscif1: serial@e6550000 {
507 compatible = "renesas,hscif-r8a7796",
508 "renesas,rcar-gen3-hscif",
509 "renesas,hscif";
510 reg = <0 0xe6550000 0 0x60>;
511 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
512 clocks = <&cpg CPG_MOD 519>,
513 <&cpg CPG_CORE R8A7796_CLK_S3D1>,
514 <&scif_clk>;
515 clock-names = "fck", "brg_int", "scif_clk";
516 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
517 status = "disabled";
518 };
519
520 hscif2: serial@e6560000 {
521 compatible = "renesas,hscif-r8a7796",
522 "renesas,rcar-gen3-hscif",
523 "renesas,hscif";
524 reg = <0 0xe6560000 0 0x60>;
525 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
526 clocks = <&cpg CPG_MOD 518>,
527 <&cpg CPG_CORE R8A7796_CLK_S3D1>,
528 <&scif_clk>;
529 clock-names = "fck", "brg_int", "scif_clk";
530 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
531 status = "disabled";
532 };
533
534 hscif3: serial@e66a0000 {
535 compatible = "renesas,hscif-r8a7796",
536 "renesas,rcar-gen3-hscif",
537 "renesas,hscif";
538 reg = <0 0xe66a0000 0 0x60>;
539 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
540 clocks = <&cpg CPG_MOD 517>,
541 <&cpg CPG_CORE R8A7796_CLK_S3D1>,
542 <&scif_clk>;
543 clock-names = "fck", "brg_int", "scif_clk";
544 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
545 status = "disabled";
546 };
547
548 hscif4: serial@e66b0000 {
549 compatible = "renesas,hscif-r8a7796",
550 "renesas,rcar-gen3-hscif",
551 "renesas,hscif";
552 reg = <0 0xe66b0000 0 0x60>;
553 interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
554 clocks = <&cpg CPG_MOD 516>,
555 <&cpg CPG_CORE R8A7796_CLK_S3D1>,
556 <&scif_clk>;
557 clock-names = "fck", "brg_int", "scif_clk";
558 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
559 status = "disabled";
560 };
561
Ulrich Hecht19d76f32016-12-07 17:44:26 +0100562 scif0: serial@e6e60000 {
563 compatible = "renesas,scif-r8a7796",
564 "renesas,rcar-gen3-scif", "renesas,scif";
565 reg = <0 0xe6e60000 0 64>;
566 interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
567 clocks = <&cpg CPG_MOD 207>,
568 <&cpg CPG_CORE R8A7796_CLK_S3D1>,
569 <&scif_clk>;
570 clock-names = "fck", "brg_int", "scif_clk";
Ulrich Hechtdbcae5e2016-12-07 17:44:27 +0100571 dmas = <&dmac1 0x51>, <&dmac1 0x50>,
572 <&dmac2 0x51>, <&dmac2 0x50>;
573 dma-names = "tx", "rx", "tx", "rx";
Ulrich Hecht19d76f32016-12-07 17:44:26 +0100574 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
575 status = "disabled";
576 };
577
578 scif1: serial@e6e68000 {
579 compatible = "renesas,scif-r8a7796",
580 "renesas,rcar-gen3-scif", "renesas,scif";
581 reg = <0 0xe6e68000 0 64>;
582 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
583 clocks = <&cpg CPG_MOD 206>,
584 <&cpg CPG_CORE R8A7796_CLK_S3D1>,
585 <&scif_clk>;
586 clock-names = "fck", "brg_int", "scif_clk";
Ulrich Hechtdbcae5e2016-12-07 17:44:27 +0100587 dmas = <&dmac1 0x53>, <&dmac1 0x52>,
588 <&dmac2 0x53>, <&dmac2 0x52>;
589 dma-names = "tx", "rx", "tx", "rx";
Ulrich Hecht19d76f32016-12-07 17:44:26 +0100590 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
591 status = "disabled";
592 };
593
Simon Horman1561f202016-05-24 10:54:38 +0900594 scif2: serial@e6e88000 {
595 compatible = "renesas,scif-r8a7796",
596 "renesas,rcar-gen3-scif", "renesas,scif";
597 reg = <0 0xe6e88000 0 64>;
598 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
599 clocks = <&cpg CPG_MOD 310>,
600 <&cpg CPG_CORE R8A7796_CLK_S3D1>,
601 <&scif_clk>;
602 clock-names = "fck", "brg_int", "scif_clk";
Geert Uytterhoevena9003182016-05-31 11:08:45 +0200603 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
Simon Horman1561f202016-05-24 10:54:38 +0900604 status = "disabled";
605 };
Simon Hormana513cf12016-08-17 10:08:05 +0200606
Ulrich Hecht19d76f32016-12-07 17:44:26 +0100607 scif3: serial@e6c50000 {
608 compatible = "renesas,scif-r8a7796",
609 "renesas,rcar-gen3-scif", "renesas,scif";
610 reg = <0 0xe6c50000 0 64>;
611 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
612 clocks = <&cpg CPG_MOD 204>,
613 <&cpg CPG_CORE R8A7796_CLK_S3D1>,
614 <&scif_clk>;
615 clock-names = "fck", "brg_int", "scif_clk";
Ulrich Hechtdbcae5e2016-12-07 17:44:27 +0100616 dmas = <&dmac0 0x57>, <&dmac0 0x56>;
617 dma-names = "tx", "rx";
Ulrich Hecht19d76f32016-12-07 17:44:26 +0100618 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
619 status = "disabled";
620 };
621
622 scif4: serial@e6c40000 {
623 compatible = "renesas,scif-r8a7796",
624 "renesas,rcar-gen3-scif", "renesas,scif";
625 reg = <0 0xe6c40000 0 64>;
626 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
627 clocks = <&cpg CPG_MOD 203>,
628 <&cpg CPG_CORE R8A7796_CLK_S3D1>,
629 <&scif_clk>;
630 clock-names = "fck", "brg_int", "scif_clk";
Ulrich Hechtdbcae5e2016-12-07 17:44:27 +0100631 dmas = <&dmac0 0x59>, <&dmac0 0x58>;
632 dma-names = "tx", "rx";
Ulrich Hecht19d76f32016-12-07 17:44:26 +0100633 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
634 status = "disabled";
635 };
636
637 scif5: serial@e6f30000 {
638 compatible = "renesas,scif-r8a7796",
639 "renesas,rcar-gen3-scif", "renesas,scif";
640 reg = <0 0xe6f30000 0 64>;
641 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
642 clocks = <&cpg CPG_MOD 202>,
643 <&cpg CPG_CORE R8A7796_CLK_S3D1>,
644 <&scif_clk>;
645 clock-names = "fck", "brg_int", "scif_clk";
Ulrich Hechtdbcae5e2016-12-07 17:44:27 +0100646 dmas = <&dmac1 0x5b>, <&dmac1 0x5a>,
647 <&dmac2 0x5b>, <&dmac2 0x5a>;
648 dma-names = "tx", "rx", "tx", "rx";
Ulrich Hecht19d76f32016-12-07 17:44:26 +0100649 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
650 status = "disabled";
651 };
652
Geert Uytterhoeven80fab062016-11-21 18:26:53 +0100653 msiof0: spi@e6e90000 {
Simon Horman8b51f972016-12-20 11:32:36 +0100654 compatible = "renesas,msiof-r8a7796",
655 "renesas,rcar-gen3-msiof";
Geert Uytterhoeven80fab062016-11-21 18:26:53 +0100656 reg = <0 0xe6e90000 0 0x0064>;
657 interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
658 clocks = <&cpg CPG_MOD 211>;
659 dmas = <&dmac1 0x41>, <&dmac1 0x40>,
660 <&dmac2 0x41>, <&dmac2 0x40>;
661 dma-names = "tx", "rx";
662 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
663 #address-cells = <1>;
664 #size-cells = <0>;
665 status = "disabled";
666 };
667
668 msiof1: spi@e6ea0000 {
Simon Horman8b51f972016-12-20 11:32:36 +0100669 compatible = "renesas,msiof-r8a7796",
670 "renesas,rcar-gen3-msiof";
Geert Uytterhoeven80fab062016-11-21 18:26:53 +0100671 reg = <0 0xe6ea0000 0 0x0064>;
672 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
673 clocks = <&cpg CPG_MOD 210>;
674 dmas = <&dmac1 0x43>, <&dmac1 0x42>,
675 <&dmac2 0x43>, <&dmac2 0x42>;
676 dma-names = "tx", "rx";
677 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
678 #address-cells = <1>;
679 #size-cells = <0>;
680 status = "disabled";
681 };
682
683 msiof2: spi@e6c00000 {
Simon Horman8b51f972016-12-20 11:32:36 +0100684 compatible = "renesas,msiof-r8a7796",
685 "renesas,rcar-gen3-msiof";
Geert Uytterhoeven80fab062016-11-21 18:26:53 +0100686 reg = <0 0xe6c00000 0 0x0064>;
687 interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
688 clocks = <&cpg CPG_MOD 209>;
689 dmas = <&dmac0 0x45>, <&dmac0 0x44>;
690 dma-names = "tx", "rx";
691 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
692 #address-cells = <1>;
693 #size-cells = <0>;
694 status = "disabled";
695 };
696
697 msiof3: spi@e6c10000 {
Simon Horman8b51f972016-12-20 11:32:36 +0100698 compatible = "renesas,msiof-r8a7796",
699 "renesas,rcar-gen3-msiof";
Geert Uytterhoeven80fab062016-11-21 18:26:53 +0100700 reg = <0 0xe6c10000 0 0x0064>;
701 interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
702 clocks = <&cpg CPG_MOD 208>;
703 dmas = <&dmac0 0x47>, <&dmac0 0x46>;
704 dma-names = "tx", "rx";
705 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
706 #address-cells = <1>;
707 #size-cells = <0>;
708 status = "disabled";
709 };
710
Ulrich Hecht93508522016-09-14 18:45:48 +0200711 dmac0: dma-controller@e6700000 {
712 compatible = "renesas,dmac-r8a7796",
713 "renesas,rcar-dmac";
714 reg = <0 0xe6700000 0 0x10000>;
715 interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH
716 GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH
717 GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH
718 GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH
719 GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH
720 GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH
721 GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH
722 GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH
723 GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH
724 GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH
725 GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH
726 GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH
727 GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH
728 GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH
729 GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH
730 GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH
731 GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
732 interrupt-names = "error",
733 "ch0", "ch1", "ch2", "ch3",
734 "ch4", "ch5", "ch6", "ch7",
735 "ch8", "ch9", "ch10", "ch11",
736 "ch12", "ch13", "ch14", "ch15";
737 clocks = <&cpg CPG_MOD 219>;
738 clock-names = "fck";
739 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
740 #dma-cells = <1>;
741 dma-channels = <16>;
742 };
743
744 dmac1: dma-controller@e7300000 {
745 compatible = "renesas,dmac-r8a7796",
746 "renesas,rcar-dmac";
747 reg = <0 0xe7300000 0 0x10000>;
748 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
749 GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
750 GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
751 GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
752 GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
753 GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
754 GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
755 GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
756 GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
757 GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
758 GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
759 GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
760 GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
761 GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
762 GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
763 GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
764 GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>;
765 interrupt-names = "error",
766 "ch0", "ch1", "ch2", "ch3",
767 "ch4", "ch5", "ch6", "ch7",
768 "ch8", "ch9", "ch10", "ch11",
769 "ch12", "ch13", "ch14", "ch15";
770 clocks = <&cpg CPG_MOD 218>;
771 clock-names = "fck";
772 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
773 #dma-cells = <1>;
774 dma-channels = <16>;
775 };
776
777 dmac2: dma-controller@e7310000 {
778 compatible = "renesas,dmac-r8a7796",
779 "renesas,rcar-dmac";
780 reg = <0 0xe7310000 0 0x10000>;
781 interrupts = <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH
782 GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH
783 GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH
784 GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH
785 GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH
786 GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH
787 GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH
788 GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH
789 GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH
790 GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH
791 GIC_SPI 426 IRQ_TYPE_LEVEL_HIGH
792 GIC_SPI 427 IRQ_TYPE_LEVEL_HIGH
793 GIC_SPI 428 IRQ_TYPE_LEVEL_HIGH
794 GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH
795 GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH
796 GIC_SPI 431 IRQ_TYPE_LEVEL_HIGH
797 GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>;
798 interrupt-names = "error",
799 "ch0", "ch1", "ch2", "ch3",
800 "ch4", "ch5", "ch6", "ch7",
801 "ch8", "ch9", "ch10", "ch11",
802 "ch12", "ch13", "ch14", "ch15";
803 clocks = <&cpg CPG_MOD 217>;
804 clock-names = "fck";
805 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
806 #dma-cells = <1>;
807 dma-channels = <16>;
808 };
809
Simon Hormana513cf12016-08-17 10:08:05 +0200810 sdhi0: sd@ee100000 {
811 compatible = "renesas,sdhi-r8a7796";
812 reg = <0 0xee100000 0 0x2000>;
813 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
814 clocks = <&cpg CPG_MOD 314>;
815 max-frequency = <200000000>;
816 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
817 status = "disabled";
818 };
819
820 sdhi1: sd@ee120000 {
821 compatible = "renesas,sdhi-r8a7796";
822 reg = <0 0xee120000 0 0x2000>;
823 interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
824 clocks = <&cpg CPG_MOD 313>;
825 max-frequency = <200000000>;
826 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
827 status = "disabled";
828 };
829
830 sdhi2: sd@ee140000 {
831 compatible = "renesas,sdhi-r8a7796";
832 reg = <0 0xee140000 0 0x2000>;
833 interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
834 clocks = <&cpg CPG_MOD 312>;
835 max-frequency = <200000000>;
836 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
837 status = "disabled";
838 };
839
840 sdhi3: sd@ee160000 {
841 compatible = "renesas,sdhi-r8a7796";
842 reg = <0 0xee160000 0 0x2000>;
843 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
844 clocks = <&cpg CPG_MOD 311>;
845 max-frequency = <200000000>;
846 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
847 status = "disabled";
848 };
Wolfram Sangaf25d1c2017-01-20 12:26:43 +0100849
850 tsc: thermal@e6198000 {
851 compatible = "renesas,r8a7796-thermal";
852 reg = <0 0xe6198000 0 0x68>,
853 <0 0xe61a0000 0 0x5c>,
854 <0 0xe61a8000 0 0x5c>;
855 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
856 <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
857 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
858 clocks = <&cpg CPG_MOD 522>;
859 power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
860 #thermal-sensor-cells = <1>;
861 status = "okay";
862 };
863
864 thermal-zones {
865 sensor_thermal1: sensor-thermal1 {
866 polling-delay-passive = <250>;
867 polling-delay = <1000>;
868 thermal-sensors = <&tsc 0>;
869
870 trips {
871 sensor1_crit: sensor1-crit {
872 temperature = <120000>;
873 hysteresis = <2000>;
874 type = "critical";
875 };
876 };
877 };
878
879 sensor_thermal2: sensor-thermal2 {
880 polling-delay-passive = <250>;
881 polling-delay = <1000>;
882 thermal-sensors = <&tsc 1>;
883
884 trips {
885 sensor2_crit: sensor2-crit {
886 temperature = <120000>;
887 hysteresis = <2000>;
888 type = "critical";
889 };
890 };
891 };
892
893 sensor_thermal3: sensor-thermal3 {
894 polling-delay-passive = <250>;
895 polling-delay = <1000>;
896 thermal-sensors = <&tsc 2>;
897
898 trips {
899 sensor3_crit: sensor3-crit {
900 temperature = <120000>;
901 hysteresis = <2000>;
902 type = "critical";
903 };
904 };
905 };
906 };
Simon Horman1561f202016-05-24 10:54:38 +0900907 };
908};