blob: bbef666596e5c4cc6cabe52c3289d3108ae2ec89 [file] [log] [blame]
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +09001/*
2 * Device Tree Source for the r8a7791 SoC
3 *
Kazuya Mizuguchi118e4e62015-02-19 10:43:10 -05004 * Copyright (C) 2013-2015 Renesas Electronics Corporation
Sergei Shtylyov2e5d55c2014-02-20 02:27:04 +03005 * Copyright (C) 2013-2014 Renesas Solutions Corp.
6 * Copyright (C) 2014 Cogent Embedded Inc.
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +09007 *
8 * This file is licensed under the terms of the GNU General Public License
9 * version 2. This program is licensed "as is" without any warranty of any
10 * kind, whether express or implied.
11 */
12
Laurent Pinchart59e79892013-12-11 15:05:16 +010013#include <dt-bindings/clock/r8a7791-clock.h>
Laurent Pinchart5f75e732013-11-19 03:18:25 +010014#include <dt-bindings/interrupt-controller/arm-gic.h>
15#include <dt-bindings/interrupt-controller/irq.h>
16
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +090017/ {
18 compatible = "renesas,r8a7791";
19 interrupt-parent = <&gic>;
20 #address-cells = <2>;
21 #size-cells = <2>;
22
Wolfram Sang5bd3de72014-02-17 11:44:41 +010023 aliases {
24 i2c0 = &i2c0;
25 i2c1 = &i2c1;
26 i2c2 = &i2c2;
27 i2c3 = &i2c3;
28 i2c4 = &i2c4;
29 i2c5 = &i2c5;
Wolfram Sang36408d92014-03-10 12:26:58 +010030 i2c6 = &i2c6;
31 i2c7 = &i2c7;
32 i2c8 = &i2c8;
Geert Uytterhoeven6f3e4ee2014-02-25 11:30:14 +010033 spi0 = &qspi;
Geert Uytterhoeven7713d3a2014-02-25 11:30:16 +010034 spi1 = &msiof0;
35 spi2 = &msiof1;
36 spi3 = &msiof2;
Sergei Shtylyov0b8d1d52014-08-02 04:04:21 +040037 vin0 = &vin0;
38 vin1 = &vin1;
39 vin2 = &vin2;
Wolfram Sang5bd3de72014-02-17 11:44:41 +010040 };
41
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +090042 cpus {
43 #address-cells = <1>;
44 #size-cells = <0>;
45
46 cpu0: cpu@0 {
47 device_type = "cpu";
48 compatible = "arm,cortex-a15";
49 reg = <0>;
Magnus Damm896b79d2014-03-06 12:15:36 +090050 clock-frequency = <1500000000>;
Gaku Inamia57004ec2014-06-03 21:03:10 +090051 voltage-tolerance = <1>; /* 1% */
52 clocks = <&cpg_clocks R8A7791_CLK_Z>;
53 clock-latency = <300000>; /* 300 us */
54
55 /* kHz - uV - OPPs unknown yet */
56 operating-points = <1500000 1000000>,
57 <1312500 1000000>,
58 <1125000 1000000>,
59 < 937500 1000000>,
60 < 750000 1000000>,
61 < 375000 1000000>;
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +090062 };
Magnus Damm15ab4262013-10-01 17:13:07 +090063
64 cpu1: cpu@1 {
65 device_type = "cpu";
66 compatible = "arm,cortex-a15";
67 reg = <1>;
Magnus Damm896b79d2014-03-06 12:15:36 +090068 clock-frequency = <1500000000>;
Magnus Damm15ab4262013-10-01 17:13:07 +090069 };
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +090070 };
71
72 gic: interrupt-controller@f1001000 {
73 compatible = "arm,cortex-a15-gic";
74 #interrupt-cells = <3>;
75 #address-cells = <0>;
76 interrupt-controller;
77 reg = <0 0xf1001000 0 0x1000>,
78 <0 0xf1002000 0 0x1000>,
79 <0 0xf1004000 0 0x2000>,
80 <0 0xf1006000 0 0x2000>;
Geert Uytterhoevenaa5404f2014-11-27 11:57:16 +010081 interrupts = <1 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +090082 };
Magnus Dammd77db732013-10-01 17:12:29 +090083
Magnus Damm89fbba12013-11-21 14:22:00 +090084 gpio0: gpio@e6050000 {
Magnus Dammab87e3f2013-10-08 12:39:30 +090085 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
Magnus Damm89fbba12013-11-21 14:22:00 +090086 reg = <0 0xe6050000 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +010087 interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammab87e3f2013-10-08 12:39:30 +090088 #gpio-cells = <2>;
89 gpio-controller;
90 gpio-ranges = <&pfc 0 0 32>;
91 #interrupt-cells = <2>;
92 interrupt-controller;
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +020093 clocks = <&mstp9_clks R8A7791_CLK_GPIO0>;
Magnus Dammab87e3f2013-10-08 12:39:30 +090094 };
95
Magnus Damm89fbba12013-11-21 14:22:00 +090096 gpio1: gpio@e6051000 {
Magnus Dammab87e3f2013-10-08 12:39:30 +090097 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
Magnus Damm89fbba12013-11-21 14:22:00 +090098 reg = <0 0xe6051000 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +010099 interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900100 #gpio-cells = <2>;
101 gpio-controller;
102 gpio-ranges = <&pfc 0 32 32>;
103 #interrupt-cells = <2>;
104 interrupt-controller;
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +0200105 clocks = <&mstp9_clks R8A7791_CLK_GPIO1>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900106 };
107
Magnus Damm89fbba12013-11-21 14:22:00 +0900108 gpio2: gpio@e6052000 {
Magnus Dammab87e3f2013-10-08 12:39:30 +0900109 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
Magnus Damm89fbba12013-11-21 14:22:00 +0900110 reg = <0 0xe6052000 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100111 interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900112 #gpio-cells = <2>;
113 gpio-controller;
114 gpio-ranges = <&pfc 0 64 32>;
115 #interrupt-cells = <2>;
116 interrupt-controller;
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +0200117 clocks = <&mstp9_clks R8A7791_CLK_GPIO2>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900118 };
119
Magnus Damm89fbba12013-11-21 14:22:00 +0900120 gpio3: gpio@e6053000 {
Magnus Dammab87e3f2013-10-08 12:39:30 +0900121 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
Magnus Damm89fbba12013-11-21 14:22:00 +0900122 reg = <0 0xe6053000 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100123 interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900124 #gpio-cells = <2>;
125 gpio-controller;
126 gpio-ranges = <&pfc 0 96 32>;
127 #interrupt-cells = <2>;
128 interrupt-controller;
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +0200129 clocks = <&mstp9_clks R8A7791_CLK_GPIO3>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900130 };
131
Magnus Damm89fbba12013-11-21 14:22:00 +0900132 gpio4: gpio@e6054000 {
Magnus Dammab87e3f2013-10-08 12:39:30 +0900133 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
Magnus Damm89fbba12013-11-21 14:22:00 +0900134 reg = <0 0xe6054000 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100135 interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900136 #gpio-cells = <2>;
137 gpio-controller;
138 gpio-ranges = <&pfc 0 128 32>;
139 #interrupt-cells = <2>;
140 interrupt-controller;
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +0200141 clocks = <&mstp9_clks R8A7791_CLK_GPIO4>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900142 };
143
Magnus Damm89fbba12013-11-21 14:22:00 +0900144 gpio5: gpio@e6055000 {
Magnus Dammab87e3f2013-10-08 12:39:30 +0900145 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
Magnus Damm89fbba12013-11-21 14:22:00 +0900146 reg = <0 0xe6055000 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100147 interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900148 #gpio-cells = <2>;
149 gpio-controller;
150 gpio-ranges = <&pfc 0 160 32>;
151 #interrupt-cells = <2>;
152 interrupt-controller;
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +0200153 clocks = <&mstp9_clks R8A7791_CLK_GPIO5>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900154 };
155
Magnus Damm89fbba12013-11-21 14:22:00 +0900156 gpio6: gpio@e6055400 {
Magnus Dammab87e3f2013-10-08 12:39:30 +0900157 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
Magnus Damm89fbba12013-11-21 14:22:00 +0900158 reg = <0 0xe6055400 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100159 interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900160 #gpio-cells = <2>;
161 gpio-controller;
162 gpio-ranges = <&pfc 0 192 32>;
163 #interrupt-cells = <2>;
164 interrupt-controller;
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +0200165 clocks = <&mstp9_clks R8A7791_CLK_GPIO6>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900166 };
167
Magnus Damm89fbba12013-11-21 14:22:00 +0900168 gpio7: gpio@e6055800 {
Magnus Dammab87e3f2013-10-08 12:39:30 +0900169 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
Magnus Damm89fbba12013-11-21 14:22:00 +0900170 reg = <0 0xe6055800 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100171 interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900172 #gpio-cells = <2>;
173 gpio-controller;
174 gpio-ranges = <&pfc 0 224 26>;
175 #interrupt-cells = <2>;
176 interrupt-controller;
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +0200177 clocks = <&mstp9_clks R8A7791_CLK_GPIO7>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900178 };
179
Magnus Dammd103f4d2013-11-20 16:59:48 +0900180 thermal@e61f0000 {
181 compatible = "renesas,thermal-r8a7791", "renesas,rcar-thermal";
182 reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>;
Magnus Dammd103f4d2013-11-20 16:59:48 +0900183 interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven563bc8e2014-01-07 19:57:13 +0100184 clocks = <&mstp5_clks R8A7791_CLK_THERMAL>;
Magnus Dammd103f4d2013-11-20 16:59:48 +0900185 };
186
Magnus Damm03586ac2013-10-01 17:12:38 +0900187 timer {
188 compatible = "arm,armv7-timer";
Geert Uytterhoevenaa5404f2014-11-27 11:57:16 +0100189 interrupts = <1 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
190 <1 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
191 <1 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
192 <1 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
Magnus Damm03586ac2013-10-01 17:12:38 +0900193 };
194
Laurent Pinchartceaa1892014-07-09 15:12:38 +0200195 cmt0: timer@ffca0000 {
Simon Horman4217f322014-09-08 09:27:46 +0900196 compatible = "renesas,cmt-48-r8a7791", "renesas,cmt-48-gen2";
Laurent Pinchartceaa1892014-07-09 15:12:38 +0200197 reg = <0 0xffca0000 0 0x1004>;
198 interrupts = <0 142 IRQ_TYPE_LEVEL_HIGH>,
199 <0 143 IRQ_TYPE_LEVEL_HIGH>;
200 clocks = <&mstp1_clks R8A7791_CLK_CMT0>;
201 clock-names = "fck";
202
203 renesas,channels-mask = <0x60>;
204
205 status = "disabled";
206 };
207
208 cmt1: timer@e6130000 {
Simon Horman4217f322014-09-08 09:27:46 +0900209 compatible = "renesas,cmt-48-r8a7791", "renesas,cmt-48-gen2";
Laurent Pinchartceaa1892014-07-09 15:12:38 +0200210 reg = <0 0xe6130000 0 0x1004>;
211 interrupts = <0 120 IRQ_TYPE_LEVEL_HIGH>,
212 <0 121 IRQ_TYPE_LEVEL_HIGH>,
213 <0 122 IRQ_TYPE_LEVEL_HIGH>,
214 <0 123 IRQ_TYPE_LEVEL_HIGH>,
215 <0 124 IRQ_TYPE_LEVEL_HIGH>,
216 <0 125 IRQ_TYPE_LEVEL_HIGH>,
217 <0 126 IRQ_TYPE_LEVEL_HIGH>,
218 <0 127 IRQ_TYPE_LEVEL_HIGH>;
219 clocks = <&mstp3_clks R8A7791_CLK_CMT1>;
220 clock-names = "fck";
221
222 renesas,channels-mask = <0xff>;
223
224 status = "disabled";
225 };
226
Magnus Dammd77db732013-10-01 17:12:29 +0900227 irqc0: interrupt-controller@e61c0000 {
Magnus Damm26041b02013-11-20 13:18:05 +0900228 compatible = "renesas,irqc-r8a7791", "renesas,irqc";
Magnus Dammd77db732013-10-01 17:12:29 +0900229 #interrupt-cells = <2>;
230 interrupt-controller;
231 reg = <0 0xe61c0000 0 0x200>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100232 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>,
233 <0 1 IRQ_TYPE_LEVEL_HIGH>,
234 <0 2 IRQ_TYPE_LEVEL_HIGH>,
235 <0 3 IRQ_TYPE_LEVEL_HIGH>,
236 <0 12 IRQ_TYPE_LEVEL_HIGH>,
237 <0 13 IRQ_TYPE_LEVEL_HIGH>,
238 <0 14 IRQ_TYPE_LEVEL_HIGH>,
239 <0 15 IRQ_TYPE_LEVEL_HIGH>,
240 <0 16 IRQ_TYPE_LEVEL_HIGH>,
241 <0 17 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven62d386c2015-03-18 19:56:00 +0100242 clocks = <&mstp4_clks R8A7791_CLK_IRQC>;
Magnus Dammd77db732013-10-01 17:12:29 +0900243 };
Magnus Damm55146922013-10-08 12:39:01 +0900244
Laurent Pinchartfde8fee2014-07-19 01:50:25 +0200245 dmac0: dma-controller@e6700000 {
246 compatible = "renesas,rcar-dmac";
247 reg = <0 0xe6700000 0 0x20000>;
248 interrupts = <0 197 IRQ_TYPE_LEVEL_HIGH
249 0 200 IRQ_TYPE_LEVEL_HIGH
250 0 201 IRQ_TYPE_LEVEL_HIGH
251 0 202 IRQ_TYPE_LEVEL_HIGH
252 0 203 IRQ_TYPE_LEVEL_HIGH
253 0 204 IRQ_TYPE_LEVEL_HIGH
254 0 205 IRQ_TYPE_LEVEL_HIGH
255 0 206 IRQ_TYPE_LEVEL_HIGH
256 0 207 IRQ_TYPE_LEVEL_HIGH
257 0 208 IRQ_TYPE_LEVEL_HIGH
258 0 209 IRQ_TYPE_LEVEL_HIGH
259 0 210 IRQ_TYPE_LEVEL_HIGH
260 0 211 IRQ_TYPE_LEVEL_HIGH
261 0 212 IRQ_TYPE_LEVEL_HIGH
262 0 213 IRQ_TYPE_LEVEL_HIGH
263 0 214 IRQ_TYPE_LEVEL_HIGH>;
264 interrupt-names = "error",
265 "ch0", "ch1", "ch2", "ch3",
266 "ch4", "ch5", "ch6", "ch7",
267 "ch8", "ch9", "ch10", "ch11",
268 "ch12", "ch13", "ch14";
269 clocks = <&mstp2_clks R8A7791_CLK_SYS_DMAC0>;
270 clock-names = "fck";
271 #dma-cells = <1>;
272 dma-channels = <15>;
273 };
274
275 dmac1: dma-controller@e6720000 {
276 compatible = "renesas,rcar-dmac";
277 reg = <0 0xe6720000 0 0x20000>;
278 interrupts = <0 220 IRQ_TYPE_LEVEL_HIGH
279 0 216 IRQ_TYPE_LEVEL_HIGH
280 0 217 IRQ_TYPE_LEVEL_HIGH
281 0 218 IRQ_TYPE_LEVEL_HIGH
282 0 219 IRQ_TYPE_LEVEL_HIGH
283 0 308 IRQ_TYPE_LEVEL_HIGH
284 0 309 IRQ_TYPE_LEVEL_HIGH
285 0 310 IRQ_TYPE_LEVEL_HIGH
286 0 311 IRQ_TYPE_LEVEL_HIGH
287 0 312 IRQ_TYPE_LEVEL_HIGH
288 0 313 IRQ_TYPE_LEVEL_HIGH
289 0 314 IRQ_TYPE_LEVEL_HIGH
290 0 315 IRQ_TYPE_LEVEL_HIGH
291 0 316 IRQ_TYPE_LEVEL_HIGH
292 0 317 IRQ_TYPE_LEVEL_HIGH
293 0 318 IRQ_TYPE_LEVEL_HIGH>;
294 interrupt-names = "error",
295 "ch0", "ch1", "ch2", "ch3",
296 "ch4", "ch5", "ch6", "ch7",
297 "ch8", "ch9", "ch10", "ch11",
298 "ch12", "ch13", "ch14";
299 clocks = <&mstp2_clks R8A7791_CLK_SYS_DMAC1>;
300 clock-names = "fck";
301 #dma-cells = <1>;
302 dma-channels = <15>;
303 };
304
Kuninori Morimoto8994fff2014-11-03 17:45:37 -0800305 audma0: dma-controller@ec700000 {
306 compatible = "renesas,rcar-dmac";
307 reg = <0 0xec700000 0 0x10000>;
308 interrupts = <0 346 IRQ_TYPE_LEVEL_HIGH
309 0 320 IRQ_TYPE_LEVEL_HIGH
310 0 321 IRQ_TYPE_LEVEL_HIGH
311 0 322 IRQ_TYPE_LEVEL_HIGH
312 0 323 IRQ_TYPE_LEVEL_HIGH
313 0 324 IRQ_TYPE_LEVEL_HIGH
314 0 325 IRQ_TYPE_LEVEL_HIGH
315 0 326 IRQ_TYPE_LEVEL_HIGH
316 0 327 IRQ_TYPE_LEVEL_HIGH
317 0 328 IRQ_TYPE_LEVEL_HIGH
318 0 329 IRQ_TYPE_LEVEL_HIGH
319 0 330 IRQ_TYPE_LEVEL_HIGH
320 0 331 IRQ_TYPE_LEVEL_HIGH
321 0 332 IRQ_TYPE_LEVEL_HIGH>;
322 interrupt-names = "error",
323 "ch0", "ch1", "ch2", "ch3",
324 "ch4", "ch5", "ch6", "ch7",
325 "ch8", "ch9", "ch10", "ch11",
326 "ch12";
327 clocks = <&mstp5_clks R8A7791_CLK_AUDIO_DMAC0>;
328 clock-names = "fck";
329 #dma-cells = <1>;
330 dma-channels = <13>;
331 };
332
333 audma1: dma-controller@ec720000 {
334 compatible = "renesas,rcar-dmac";
335 reg = <0 0xec720000 0 0x10000>;
336 interrupts = <0 347 IRQ_TYPE_LEVEL_HIGH
337 0 333 IRQ_TYPE_LEVEL_HIGH
338 0 334 IRQ_TYPE_LEVEL_HIGH
339 0 335 IRQ_TYPE_LEVEL_HIGH
340 0 336 IRQ_TYPE_LEVEL_HIGH
341 0 337 IRQ_TYPE_LEVEL_HIGH
342 0 338 IRQ_TYPE_LEVEL_HIGH
343 0 339 IRQ_TYPE_LEVEL_HIGH
344 0 340 IRQ_TYPE_LEVEL_HIGH
345 0 341 IRQ_TYPE_LEVEL_HIGH
346 0 342 IRQ_TYPE_LEVEL_HIGH
347 0 343 IRQ_TYPE_LEVEL_HIGH
348 0 344 IRQ_TYPE_LEVEL_HIGH
349 0 345 IRQ_TYPE_LEVEL_HIGH>;
350 interrupt-names = "error",
351 "ch0", "ch1", "ch2", "ch3",
352 "ch4", "ch5", "ch6", "ch7",
353 "ch8", "ch9", "ch10", "ch11",
354 "ch12";
355 clocks = <&mstp5_clks R8A7791_CLK_AUDIO_DMAC1>;
356 clock-names = "fck";
357 #dma-cells = <1>;
358 dma-channels = <13>;
359 };
360
Yoshihiro Shimodae3e25ed2015-05-08 16:13:33 +0900361 usb_dmac0: dma-controller@e65a0000 {
362 compatible = "renesas,usb-dmac";
363 reg = <0 0xe65a0000 0 0x100>;
364 interrupts = <0 109 IRQ_TYPE_LEVEL_HIGH
365 0 109 IRQ_TYPE_LEVEL_HIGH>;
366 interrupt-names = "ch0", "ch1";
367 clocks = <&mstp3_clks R8A7791_CLK_USBDMAC0>;
368 #dma-cells = <1>;
369 dma-channels = <2>;
370 };
371
372 usb_dmac1: dma-controller@e65b0000 {
373 compatible = "renesas,usb-dmac";
374 reg = <0 0xe65b0000 0 0x100>;
375 interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH
376 0 110 IRQ_TYPE_LEVEL_HIGH>;
377 interrupt-names = "ch0", "ch1";
378 clocks = <&mstp3_clks R8A7791_CLK_USBDMAC1>;
379 #dma-cells = <1>;
380 dma-channels = <2>;
381 };
382
Wolfram Sang36408d92014-03-10 12:26:58 +0100383 /* The memory map in the User's Manual maps the cores to bus numbers */
Wolfram Sang5bd3de72014-02-17 11:44:41 +0100384 i2c0: i2c@e6508000 {
385 #address-cells = <1>;
386 #size-cells = <0>;
387 compatible = "renesas,i2c-r8a7791";
388 reg = <0 0xe6508000 0 0x40>;
389 interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>;
390 clocks = <&mstp9_clks R8A7791_CLK_I2C0>;
391 status = "disabled";
392 };
393
394 i2c1: i2c@e6518000 {
395 #address-cells = <1>;
396 #size-cells = <0>;
397 compatible = "renesas,i2c-r8a7791";
398 reg = <0 0xe6518000 0 0x40>;
399 interrupts = <0 288 IRQ_TYPE_LEVEL_HIGH>;
400 clocks = <&mstp9_clks R8A7791_CLK_I2C1>;
401 status = "disabled";
402 };
403
404 i2c2: i2c@e6530000 {
405 #address-cells = <1>;
406 #size-cells = <0>;
407 compatible = "renesas,i2c-r8a7791";
408 reg = <0 0xe6530000 0 0x40>;
409 interrupts = <0 286 IRQ_TYPE_LEVEL_HIGH>;
410 clocks = <&mstp9_clks R8A7791_CLK_I2C2>;
411 status = "disabled";
412 };
413
414 i2c3: i2c@e6540000 {
415 #address-cells = <1>;
416 #size-cells = <0>;
417 compatible = "renesas,i2c-r8a7791";
418 reg = <0 0xe6540000 0 0x40>;
419 interrupts = <0 290 IRQ_TYPE_LEVEL_HIGH>;
420 clocks = <&mstp9_clks R8A7791_CLK_I2C3>;
421 status = "disabled";
422 };
423
424 i2c4: i2c@e6520000 {
425 #address-cells = <1>;
426 #size-cells = <0>;
427 compatible = "renesas,i2c-r8a7791";
428 reg = <0 0xe6520000 0 0x40>;
429 interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>;
430 clocks = <&mstp9_clks R8A7791_CLK_I2C4>;
431 status = "disabled";
432 };
433
434 i2c5: i2c@e6528000 {
Wolfram Sang36408d92014-03-10 12:26:58 +0100435 /* doesn't need pinmux */
Wolfram Sang5bd3de72014-02-17 11:44:41 +0100436 #address-cells = <1>;
437 #size-cells = <0>;
438 compatible = "renesas,i2c-r8a7791";
439 reg = <0 0xe6528000 0 0x40>;
440 interrupts = <0 20 IRQ_TYPE_LEVEL_HIGH>;
441 clocks = <&mstp9_clks R8A7791_CLK_I2C5>;
442 status = "disabled";
443 };
444
Wolfram Sang36408d92014-03-10 12:26:58 +0100445 i2c6: i2c@e60b0000 {
446 /* doesn't need pinmux */
447 #address-cells = <1>;
448 #size-cells = <0>;
449 compatible = "renesas,iic-r8a7791", "renesas,rmobile-iic";
450 reg = <0 0xe60b0000 0 0x425>;
451 interrupts = <0 173 IRQ_TYPE_LEVEL_HIGH>;
452 clocks = <&mstp9_clks R8A7791_CLK_IICDVFS>;
Wolfram Sang3f58c542014-11-07 11:11:44 +0100453 dmas = <&dmac0 0x77>, <&dmac0 0x78>;
454 dma-names = "tx", "rx";
Wolfram Sang36408d92014-03-10 12:26:58 +0100455 status = "disabled";
456 };
457
458 i2c7: i2c@e6500000 {
459 #address-cells = <1>;
460 #size-cells = <0>;
461 compatible = "renesas,iic-r8a7791", "renesas,rmobile-iic";
462 reg = <0 0xe6500000 0 0x425>;
463 interrupts = <0 174 IRQ_TYPE_LEVEL_HIGH>;
464 clocks = <&mstp3_clks R8A7791_CLK_IIC0>;
Wolfram Sang3f58c542014-11-07 11:11:44 +0100465 dmas = <&dmac0 0x61>, <&dmac0 0x62>;
466 dma-names = "tx", "rx";
Wolfram Sang36408d92014-03-10 12:26:58 +0100467 status = "disabled";
468 };
469
470 i2c8: i2c@e6510000 {
471 #address-cells = <1>;
472 #size-cells = <0>;
473 compatible = "renesas,iic-r8a7791", "renesas,rmobile-iic";
474 reg = <0 0xe6510000 0 0x425>;
475 interrupts = <0 175 IRQ_TYPE_LEVEL_HIGH>;
476 clocks = <&mstp3_clks R8A7791_CLK_IIC1>;
Wolfram Sang3f58c542014-11-07 11:11:44 +0100477 dmas = <&dmac0 0x65>, <&dmac0 0x66>;
478 dma-names = "tx", "rx";
Wolfram Sang36408d92014-03-10 12:26:58 +0100479 status = "disabled";
480 };
481
Magnus Damm55146922013-10-08 12:39:01 +0900482 pfc: pfc@e6060000 {
483 compatible = "renesas,pfc-r8a7791";
484 reg = <0 0xe6060000 0 0x250>;
485 #gpio-range-cells = <3>;
486 };
Laurent Pinchart59e79892013-12-11 15:05:16 +0100487
Laurent Pinchart8edae492014-10-26 19:40:12 +0200488 mmcif0: mmc@ee200000 {
489 compatible = "renesas,mmcif-r8a7791", "renesas,sh-mmcif";
490 reg = <0 0xee200000 0 0x80>;
491 interrupts = <0 169 IRQ_TYPE_LEVEL_HIGH>;
492 clocks = <&mstp3_clks R8A7791_CLK_MMCIF0>;
Laurent Pinchart16b355b2014-10-26 19:40:14 +0200493 dmas = <&dmac0 0xd1>, <&dmac0 0xd2>;
494 dma-names = "tx", "rx";
Laurent Pinchart8edae492014-10-26 19:40:12 +0200495 reg-io-width = <4>;
496 status = "disabled";
Kuninori Morimotod957ab82015-05-14 07:23:20 +0000497 max-frequency = <97500000>;
Laurent Pinchart8edae492014-10-26 19:40:12 +0200498 };
499
Magnus Dammb7ed8a02014-02-12 18:53:55 +0900500 sdhi0: sd@ee100000 {
501 compatible = "renesas,sdhi-r8a7791";
Kuninori Morimotoe849b062015-02-24 02:20:52 +0000502 reg = <0 0xee100000 0 0x328>;
Magnus Dammb7ed8a02014-02-12 18:53:55 +0900503 interrupts = <0 165 IRQ_TYPE_LEVEL_HIGH>;
504 clocks = <&mstp3_clks R8A7791_CLK_SDHI0>;
Laurent Pinchartae67fa22015-02-24 02:20:19 +0000505 dmas = <&dmac1 0xcd>, <&dmac1 0xce>;
506 dma-names = "tx", "rx";
Magnus Dammb7ed8a02014-02-12 18:53:55 +0900507 status = "disabled";
508 };
509
510 sdhi1: sd@ee140000 {
511 compatible = "renesas,sdhi-r8a7791";
512 reg = <0 0xee140000 0 0x100>;
Magnus Dammb7ed8a02014-02-12 18:53:55 +0900513 interrupts = <0 167 IRQ_TYPE_LEVEL_HIGH>;
514 clocks = <&mstp3_clks R8A7791_CLK_SDHI1>;
Laurent Pinchartae67fa22015-02-24 02:20:19 +0000515 dmas = <&dmac1 0xc1>, <&dmac1 0xc2>;
516 dma-names = "tx", "rx";
Magnus Dammb7ed8a02014-02-12 18:53:55 +0900517 status = "disabled";
518 };
519
520 sdhi2: sd@ee160000 {
521 compatible = "renesas,sdhi-r8a7791";
522 reg = <0 0xee160000 0 0x100>;
Magnus Dammb7ed8a02014-02-12 18:53:55 +0900523 interrupts = <0 168 IRQ_TYPE_LEVEL_HIGH>;
524 clocks = <&mstp3_clks R8A7791_CLK_SDHI2>;
Laurent Pinchartae67fa22015-02-24 02:20:19 +0000525 dmas = <&dmac1 0xd3>, <&dmac1 0xd4>;
526 dma-names = "tx", "rx";
Magnus Dammb7ed8a02014-02-12 18:53:55 +0900527 status = "disabled";
528 };
529
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100530 scifa0: serial@e6c40000 {
531 compatible = "renesas,scifa-r8a7791", "renesas,scifa";
532 reg = <0 0xe6c40000 0 64>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100533 interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>;
534 clocks = <&mstp2_clks R8A7791_CLK_SCIFA0>;
535 clock-names = "sci_ick";
536 status = "disabled";
537 };
538
539 scifa1: serial@e6c50000 {
540 compatible = "renesas,scifa-r8a7791", "renesas,scifa";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100541 reg = <0 0xe6c50000 0 64>;
542 interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>;
543 clocks = <&mstp2_clks R8A7791_CLK_SCIFA1>;
544 clock-names = "sci_ick";
545 status = "disabled";
546 };
547
548 scifa2: serial@e6c60000 {
549 compatible = "renesas,scifa-r8a7791", "renesas,scifa";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100550 reg = <0 0xe6c60000 0 64>;
551 interrupts = <0 151 IRQ_TYPE_LEVEL_HIGH>;
552 clocks = <&mstp2_clks R8A7791_CLK_SCIFA2>;
553 clock-names = "sci_ick";
554 status = "disabled";
555 };
556
557 scifa3: serial@e6c70000 {
558 compatible = "renesas,scifa-r8a7791", "renesas,scifa";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100559 reg = <0 0xe6c70000 0 64>;
560 interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>;
561 clocks = <&mstp11_clks R8A7791_CLK_SCIFA3>;
562 clock-names = "sci_ick";
563 status = "disabled";
564 };
565
566 scifa4: serial@e6c78000 {
567 compatible = "renesas,scifa-r8a7791", "renesas,scifa";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100568 reg = <0 0xe6c78000 0 64>;
569 interrupts = <0 30 IRQ_TYPE_LEVEL_HIGH>;
570 clocks = <&mstp11_clks R8A7791_CLK_SCIFA4>;
571 clock-names = "sci_ick";
572 status = "disabled";
573 };
574
575 scifa5: serial@e6c80000 {
576 compatible = "renesas,scifa-r8a7791", "renesas,scifa";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100577 reg = <0 0xe6c80000 0 64>;
578 interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>;
579 clocks = <&mstp11_clks R8A7791_CLK_SCIFA5>;
580 clock-names = "sci_ick";
581 status = "disabled";
582 };
583
584 scifb0: serial@e6c20000 {
585 compatible = "renesas,scifb-r8a7791", "renesas,scifb";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100586 reg = <0 0xe6c20000 0 64>;
587 interrupts = <0 148 IRQ_TYPE_LEVEL_HIGH>;
588 clocks = <&mstp2_clks R8A7791_CLK_SCIFB0>;
589 clock-names = "sci_ick";
590 status = "disabled";
591 };
592
593 scifb1: serial@e6c30000 {
594 compatible = "renesas,scifb-r8a7791", "renesas,scifb";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100595 reg = <0 0xe6c30000 0 64>;
596 interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH>;
597 clocks = <&mstp2_clks R8A7791_CLK_SCIFB1>;
598 clock-names = "sci_ick";
599 status = "disabled";
600 };
601
602 scifb2: serial@e6ce0000 {
603 compatible = "renesas,scifb-r8a7791", "renesas,scifb";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100604 reg = <0 0xe6ce0000 0 64>;
605 interrupts = <0 150 IRQ_TYPE_LEVEL_HIGH>;
606 clocks = <&mstp2_clks R8A7791_CLK_SCIFB2>;
607 clock-names = "sci_ick";
608 status = "disabled";
609 };
610
611 scif0: serial@e6e60000 {
612 compatible = "renesas,scif-r8a7791", "renesas,scif";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100613 reg = <0 0xe6e60000 0 64>;
614 interrupts = <0 152 IRQ_TYPE_LEVEL_HIGH>;
615 clocks = <&mstp7_clks R8A7791_CLK_SCIF0>;
616 clock-names = "sci_ick";
617 status = "disabled";
618 };
619
620 scif1: serial@e6e68000 {
621 compatible = "renesas,scif-r8a7791", "renesas,scif";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100622 reg = <0 0xe6e68000 0 64>;
623 interrupts = <0 153 IRQ_TYPE_LEVEL_HIGH>;
624 clocks = <&mstp7_clks R8A7791_CLK_SCIF1>;
625 clock-names = "sci_ick";
626 status = "disabled";
627 };
628
629 scif2: serial@e6e58000 {
630 compatible = "renesas,scif-r8a7791", "renesas,scif";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100631 reg = <0 0xe6e58000 0 64>;
632 interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>;
633 clocks = <&mstp7_clks R8A7791_CLK_SCIF2>;
634 clock-names = "sci_ick";
635 status = "disabled";
636 };
637
638 scif3: serial@e6ea8000 {
639 compatible = "renesas,scif-r8a7791", "renesas,scif";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100640 reg = <0 0xe6ea8000 0 64>;
641 interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>;
642 clocks = <&mstp7_clks R8A7791_CLK_SCIF3>;
643 clock-names = "sci_ick";
644 status = "disabled";
645 };
646
647 scif4: serial@e6ee0000 {
648 compatible = "renesas,scif-r8a7791", "renesas,scif";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100649 reg = <0 0xe6ee0000 0 64>;
650 interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>;
651 clocks = <&mstp7_clks R8A7791_CLK_SCIF4>;
652 clock-names = "sci_ick";
653 status = "disabled";
654 };
655
656 scif5: serial@e6ee8000 {
657 compatible = "renesas,scif-r8a7791", "renesas,scif";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100658 reg = <0 0xe6ee8000 0 64>;
659 interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>;
660 clocks = <&mstp7_clks R8A7791_CLK_SCIF5>;
661 clock-names = "sci_ick";
662 status = "disabled";
663 };
664
665 hscif0: serial@e62c0000 {
666 compatible = "renesas,hscif-r8a7791", "renesas,hscif";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100667 reg = <0 0xe62c0000 0 96>;
668 interrupts = <0 154 IRQ_TYPE_LEVEL_HIGH>;
669 clocks = <&mstp7_clks R8A7791_CLK_HSCIF0>;
670 clock-names = "sci_ick";
671 status = "disabled";
672 };
673
674 hscif1: serial@e62c8000 {
675 compatible = "renesas,hscif-r8a7791", "renesas,hscif";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100676 reg = <0 0xe62c8000 0 96>;
677 interrupts = <0 155 IRQ_TYPE_LEVEL_HIGH>;
678 clocks = <&mstp7_clks R8A7791_CLK_HSCIF1>;
679 clock-names = "sci_ick";
680 status = "disabled";
681 };
682
683 hscif2: serial@e62d0000 {
684 compatible = "renesas,hscif-r8a7791", "renesas,hscif";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100685 reg = <0 0xe62d0000 0 96>;
686 interrupts = <0 21 IRQ_TYPE_LEVEL_HIGH>;
687 clocks = <&mstp7_clks R8A7791_CLK_HSCIF2>;
688 clock-names = "sci_ick";
689 status = "disabled";
690 };
691
Sergei Shtylyov2e5d55c2014-02-20 02:27:04 +0300692 ether: ethernet@ee700000 {
693 compatible = "renesas,ether-r8a7791";
694 reg = <0 0xee700000 0 0x400>;
695 interrupts = <0 162 IRQ_TYPE_LEVEL_HIGH>;
696 clocks = <&mstp8_clks R8A7791_CLK_ETHER>;
697 phy-mode = "rmii";
698 #address-cells = <1>;
699 #size-cells = <0>;
700 status = "disabled";
701 };
702
Valentine Barshakb8532c62014-01-14 21:05:40 +0400703 sata0: sata@ee300000 {
704 compatible = "renesas,sata-r8a7791";
705 reg = <0 0xee300000 0 0x2000>;
Valentine Barshakb8532c62014-01-14 21:05:40 +0400706 interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>;
707 clocks = <&mstp8_clks R8A7791_CLK_SATA0>;
708 status = "disabled";
709 };
710
711 sata1: sata@ee500000 {
712 compatible = "renesas,sata-r8a7791";
713 reg = <0 0xee500000 0 0x2000>;
Valentine Barshakb8532c62014-01-14 21:05:40 +0400714 interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>;
715 clocks = <&mstp8_clks R8A7791_CLK_SATA1>;
716 status = "disabled";
717 };
718
Yoshihiro Shimoda1c1fee72014-10-24 19:45:06 +0900719 hsusb: usb@e6590000 {
720 compatible = "renesas,usbhs-r8a7791";
721 reg = <0 0xe6590000 0 0x100>;
722 interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
723 clocks = <&mstp7_clks R8A7791_CLK_HSUSB>;
724 renesas,buswait = <4>;
725 phys = <&usb0 1>;
726 phy-names = "usb";
Yoshihiro Shimoda77069932015-05-08 16:13:34 +0900727 dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
728 <&usb_dmac1 0>, <&usb_dmac1 1>;
729 dma-names = "ch0", "ch1", "ch2", "ch3";
Yoshihiro Shimoda1c1fee72014-10-24 19:45:06 +0900730 status = "disabled";
731 };
732
Sergei Shtylyov3b7e5302014-09-27 01:08:12 +0400733 usbphy: usb-phy@e6590100 {
734 compatible = "renesas,usb-phy-r8a7791";
735 reg = <0 0xe6590100 0 0x100>;
736 #address-cells = <1>;
737 #size-cells = <0>;
738 clocks = <&mstp7_clks R8A7791_CLK_HSUSB>;
739 clock-names = "usbhs";
740 status = "disabled";
741
742 usb0: usb-channel@0 {
743 reg = <0>;
744 #phy-cells = <1>;
745 };
746 usb2: usb-channel@2 {
747 reg = <2>;
748 #phy-cells = <1>;
749 };
750 };
751
Sergei Shtylyov0b8d1d52014-08-02 04:04:21 +0400752 vin0: video@e6ef0000 {
753 compatible = "renesas,vin-r8a7791";
754 clocks = <&mstp8_clks R8A7791_CLK_VIN0>;
755 reg = <0 0xe6ef0000 0 0x1000>;
756 interrupts = <0 188 IRQ_TYPE_LEVEL_HIGH>;
757 status = "disabled";
758 };
759
760 vin1: video@e6ef1000 {
761 compatible = "renesas,vin-r8a7791";
762 clocks = <&mstp8_clks R8A7791_CLK_VIN1>;
763 reg = <0 0xe6ef1000 0 0x1000>;
764 interrupts = <0 189 IRQ_TYPE_LEVEL_HIGH>;
765 status = "disabled";
766 };
767
768 vin2: video@e6ef2000 {
769 compatible = "renesas,vin-r8a7791";
770 clocks = <&mstp8_clks R8A7791_CLK_VIN2>;
771 reg = <0 0xe6ef2000 0 0x1000>;
772 interrupts = <0 190 IRQ_TYPE_LEVEL_HIGH>;
773 status = "disabled";
774 };
775
Laurent Pinchart8eefac22014-01-21 16:00:46 +0100776 vsp1@fe928000 {
777 compatible = "renesas,vsp1";
778 reg = <0 0xfe928000 0 0x8000>;
779 interrupts = <0 267 IRQ_TYPE_LEVEL_HIGH>;
780 clocks = <&mstp1_clks R8A7791_CLK_VSP1_S>;
781
782 renesas,has-lut;
783 renesas,has-sru;
784 renesas,#rpf = <5>;
785 renesas,#uds = <3>;
786 renesas,#wpf = <4>;
787 };
788
789 vsp1@fe930000 {
790 compatible = "renesas,vsp1";
791 reg = <0 0xfe930000 0 0x8000>;
792 interrupts = <0 246 IRQ_TYPE_LEVEL_HIGH>;
793 clocks = <&mstp1_clks R8A7791_CLK_VSP1_DU0>;
794
795 renesas,has-lif;
796 renesas,has-lut;
797 renesas,#rpf = <4>;
798 renesas,#uds = <1>;
799 renesas,#wpf = <4>;
800 };
801
802 vsp1@fe938000 {
803 compatible = "renesas,vsp1";
804 reg = <0 0xfe938000 0 0x8000>;
805 interrupts = <0 247 IRQ_TYPE_LEVEL_HIGH>;
806 clocks = <&mstp1_clks R8A7791_CLK_VSP1_DU1>;
807
808 renesas,has-lif;
809 renesas,has-lut;
810 renesas,#rpf = <4>;
811 renesas,#uds = <1>;
812 renesas,#wpf = <4>;
813 };
814
815 du: display@feb00000 {
816 compatible = "renesas,du-r8a7791";
817 reg = <0 0xfeb00000 0 0x40000>,
818 <0 0xfeb90000 0 0x1c>;
819 reg-names = "du", "lvds.0";
820 interrupts = <0 256 IRQ_TYPE_LEVEL_HIGH>,
821 <0 268 IRQ_TYPE_LEVEL_HIGH>;
822 clocks = <&mstp7_clks R8A7791_CLK_DU0>,
823 <&mstp7_clks R8A7791_CLK_DU1>,
824 <&mstp7_clks R8A7791_CLK_LVDS0>;
825 clock-names = "du.0", "du.1", "lvds.0";
826 status = "disabled";
827
828 ports {
829 #address-cells = <1>;
830 #size-cells = <0>;
831
832 port@0 {
833 reg = <0>;
834 du_out_rgb: endpoint {
835 };
836 };
837 port@1 {
838 reg = <1>;
839 du_out_lvds0: endpoint {
840 };
841 };
842 };
843 };
844
Sergei Shtylyov3cf01882015-01-06 01:25:25 +0300845 can0: can@e6e80000 {
846 compatible = "renesas,can-r8a7791";
847 reg = <0 0xe6e80000 0 0x1000>;
848 interrupts = <0 186 IRQ_TYPE_LEVEL_HIGH>;
849 clocks = <&mstp9_clks R8A7791_CLK_RCAN0>,
850 <&cpg_clocks R8A7791_CLK_RCAN>, <&can_clk>;
851 clock-names = "clkp1", "clkp2", "can_clk";
852 status = "disabled";
853 };
854
855 can1: can@e6e88000 {
856 compatible = "renesas,can-r8a7791";
857 reg = <0 0xe6e88000 0 0x1000>;
858 interrupts = <0 187 IRQ_TYPE_LEVEL_HIGH>;
859 clocks = <&mstp9_clks R8A7791_CLK_RCAN1>,
860 <&cpg_clocks R8A7791_CLK_RCAN>, <&can_clk>;
861 clock-names = "clkp1", "clkp2", "can_clk";
862 status = "disabled";
863 };
864
Laurent Pinchart59e79892013-12-11 15:05:16 +0100865 clocks {
866 #address-cells = <2>;
867 #size-cells = <2>;
868 ranges;
869
870 /* External root clock */
871 extal_clk: extal_clk {
872 compatible = "fixed-clock";
873 #clock-cells = <0>;
874 /* This value must be overriden by the board. */
875 clock-frequency = <0>;
876 clock-output-names = "extal";
877 };
878
Kuninori Morimoto0d3dbde2014-06-11 21:44:04 -0700879 /*
880 * The external audio clocks are configured as 0 Hz fixed frequency clocks by
881 * default. Boards that provide audio clocks should override them.
882 */
883 audio_clk_a: audio_clk_a {
884 compatible = "fixed-clock";
885 #clock-cells = <0>;
886 clock-frequency = <0>;
887 clock-output-names = "audio_clk_a";
888 };
889 audio_clk_b: audio_clk_b {
890 compatible = "fixed-clock";
891 #clock-cells = <0>;
892 clock-frequency = <0>;
893 clock-output-names = "audio_clk_b";
894 };
895 audio_clk_c: audio_clk_c {
896 compatible = "fixed-clock";
897 #clock-cells = <0>;
898 clock-frequency = <0>;
899 clock-output-names = "audio_clk_c";
900 };
901
Phil Edworthy66c405e2014-06-13 10:37:19 +0100902 /* External PCIe clock - can be overridden by the board */
903 pcie_bus_clk: pcie_bus_clk {
904 compatible = "fixed-clock";
905 #clock-cells = <0>;
906 clock-frequency = <100000000>;
907 clock-output-names = "pcie_bus";
908 status = "disabled";
909 };
910
Sergei Shtylyovb3242522015-01-06 01:24:08 +0300911 /* External USB clock - can be overridden by the board */
912 usb_extal_clk: usb_extal_clk {
913 compatible = "fixed-clock";
914 #clock-cells = <0>;
915 clock-frequency = <48000000>;
916 clock-output-names = "usb_extal";
917 };
918
919 /* External CAN clock */
920 can_clk: can_clk {
921 compatible = "fixed-clock";
922 #clock-cells = <0>;
923 /* This value must be overridden by the board. */
924 clock-frequency = <0>;
925 clock-output-names = "can_clk";
926 status = "disabled";
927 };
928
Laurent Pinchart59e79892013-12-11 15:05:16 +0100929 /* Special CPG clocks */
930 cpg_clocks: cpg_clocks@e6150000 {
931 compatible = "renesas,r8a7791-cpg-clocks",
932 "renesas,rcar-gen2-cpg-clocks";
933 reg = <0 0xe6150000 0 0x1000>;
Sergei Shtylyovb3242522015-01-06 01:24:08 +0300934 clocks = <&extal_clk &usb_extal_clk>;
Laurent Pinchart59e79892013-12-11 15:05:16 +0100935 #clock-cells = <1>;
936 clock-output-names = "main", "pll0", "pll1", "pll3",
Sergei Shtylyovb3242522015-01-06 01:24:08 +0300937 "lb", "qspi", "sdh", "sd0", "z",
Sergei Shtylyovae65a8a2014-12-30 23:20:34 +0300938 "rcan", "adsp";
Laurent Pinchart59e79892013-12-11 15:05:16 +0100939 };
940
941 /* Variable factor clocks */
Simon Horman2ea0d4e2015-01-29 10:41:24 +0900942 sd2_clk: sd2_clk@e6150078 {
Laurent Pinchart59e79892013-12-11 15:05:16 +0100943 compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock";
944 reg = <0 0xe6150078 0 4>;
945 clocks = <&pll1_div2_clk>;
946 #clock-cells = <0>;
Simon Horman2ea0d4e2015-01-29 10:41:24 +0900947 clock-output-names = "sd2";
Laurent Pinchart59e79892013-12-11 15:05:16 +0100948 };
Simon Horman2ea0d4e2015-01-29 10:41:24 +0900949 sd3_clk: sd3_clk@e615026c {
Laurent Pinchart59e79892013-12-11 15:05:16 +0100950 compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock";
Shinobu Ueharac9b22772014-07-21 22:04:29 -0700951 reg = <0 0xe615026c 0 4>;
Laurent Pinchart59e79892013-12-11 15:05:16 +0100952 clocks = <&pll1_div2_clk>;
953 #clock-cells = <0>;
Simon Horman2ea0d4e2015-01-29 10:41:24 +0900954 clock-output-names = "sd3";
Laurent Pinchart59e79892013-12-11 15:05:16 +0100955 };
956 mmc0_clk: mmc0_clk@e6150240 {
957 compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock";
958 reg = <0 0xe6150240 0 4>;
959 clocks = <&pll1_div2_clk>;
960 #clock-cells = <0>;
961 clock-output-names = "mmc0";
962 };
963 ssp_clk: ssp_clk@e6150248 {
964 compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock";
965 reg = <0 0xe6150248 0 4>;
966 clocks = <&pll1_div2_clk>;
967 #clock-cells = <0>;
968 clock-output-names = "ssp";
969 };
970 ssprs_clk: ssprs_clk@e615024c {
971 compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock";
972 reg = <0 0xe615024c 0 4>;
973 clocks = <&pll1_div2_clk>;
974 #clock-cells = <0>;
975 clock-output-names = "ssprs";
976 };
977
978 /* Fixed factor clocks */
979 pll1_div2_clk: pll1_div2_clk {
980 compatible = "fixed-factor-clock";
981 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
982 #clock-cells = <0>;
983 clock-div = <2>;
984 clock-mult = <1>;
985 clock-output-names = "pll1_div2";
986 };
987 zg_clk: zg_clk {
988 compatible = "fixed-factor-clock";
989 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
990 #clock-cells = <0>;
991 clock-div = <3>;
992 clock-mult = <1>;
993 clock-output-names = "zg";
994 };
995 zx_clk: zx_clk {
996 compatible = "fixed-factor-clock";
997 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
998 #clock-cells = <0>;
999 clock-div = <3>;
1000 clock-mult = <1>;
1001 clock-output-names = "zx";
1002 };
1003 zs_clk: zs_clk {
1004 compatible = "fixed-factor-clock";
1005 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
1006 #clock-cells = <0>;
1007 clock-div = <6>;
1008 clock-mult = <1>;
1009 clock-output-names = "zs";
1010 };
1011 hp_clk: hp_clk {
1012 compatible = "fixed-factor-clock";
1013 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
1014 #clock-cells = <0>;
1015 clock-div = <12>;
1016 clock-mult = <1>;
1017 clock-output-names = "hp";
1018 };
1019 i_clk: i_clk {
1020 compatible = "fixed-factor-clock";
1021 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
1022 #clock-cells = <0>;
1023 clock-div = <2>;
1024 clock-mult = <1>;
1025 clock-output-names = "i";
1026 };
1027 b_clk: b_clk {
1028 compatible = "fixed-factor-clock";
1029 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
1030 #clock-cells = <0>;
1031 clock-div = <12>;
1032 clock-mult = <1>;
1033 clock-output-names = "b";
1034 };
1035 p_clk: p_clk {
1036 compatible = "fixed-factor-clock";
1037 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
1038 #clock-cells = <0>;
1039 clock-div = <24>;
1040 clock-mult = <1>;
1041 clock-output-names = "p";
1042 };
1043 cl_clk: cl_clk {
1044 compatible = "fixed-factor-clock";
1045 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
1046 #clock-cells = <0>;
1047 clock-div = <48>;
1048 clock-mult = <1>;
1049 clock-output-names = "cl";
1050 };
1051 m2_clk: m2_clk {
1052 compatible = "fixed-factor-clock";
1053 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
1054 #clock-cells = <0>;
1055 clock-div = <8>;
1056 clock-mult = <1>;
1057 clock-output-names = "m2";
1058 };
1059 imp_clk: imp_clk {
1060 compatible = "fixed-factor-clock";
1061 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
1062 #clock-cells = <0>;
1063 clock-div = <4>;
1064 clock-mult = <1>;
1065 clock-output-names = "imp";
1066 };
1067 rclk_clk: rclk_clk {
1068 compatible = "fixed-factor-clock";
1069 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
1070 #clock-cells = <0>;
1071 clock-div = <(48 * 1024)>;
1072 clock-mult = <1>;
1073 clock-output-names = "rclk";
1074 };
1075 oscclk_clk: oscclk_clk {
1076 compatible = "fixed-factor-clock";
1077 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
1078 #clock-cells = <0>;
1079 clock-div = <(12 * 1024)>;
1080 clock-mult = <1>;
1081 clock-output-names = "oscclk";
1082 };
1083 zb3_clk: zb3_clk {
1084 compatible = "fixed-factor-clock";
1085 clocks = <&cpg_clocks R8A7791_CLK_PLL3>;
1086 #clock-cells = <0>;
1087 clock-div = <4>;
1088 clock-mult = <1>;
1089 clock-output-names = "zb3";
1090 };
1091 zb3d2_clk: zb3d2_clk {
1092 compatible = "fixed-factor-clock";
1093 clocks = <&cpg_clocks R8A7791_CLK_PLL3>;
1094 #clock-cells = <0>;
1095 clock-div = <8>;
1096 clock-mult = <1>;
1097 clock-output-names = "zb3d2";
1098 };
1099 ddr_clk: ddr_clk {
1100 compatible = "fixed-factor-clock";
1101 clocks = <&cpg_clocks R8A7791_CLK_PLL3>;
1102 #clock-cells = <0>;
1103 clock-div = <8>;
1104 clock-mult = <1>;
1105 clock-output-names = "ddr";
1106 };
1107 mp_clk: mp_clk {
1108 compatible = "fixed-factor-clock";
1109 clocks = <&pll1_div2_clk>;
1110 #clock-cells = <0>;
1111 clock-div = <15>;
1112 clock-mult = <1>;
1113 clock-output-names = "mp";
1114 };
1115 cp_clk: cp_clk {
1116 compatible = "fixed-factor-clock";
1117 clocks = <&extal_clk>;
1118 #clock-cells = <0>;
1119 clock-div = <2>;
1120 clock-mult = <1>;
1121 clock-output-names = "cp";
1122 };
1123
1124 /* Gate clocks */
Laurent Pinchartcded80f2013-12-19 16:51:02 +01001125 mstp0_clks: mstp0_clks@e6150130 {
1126 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
1127 reg = <0 0xe6150130 0 4>, <0 0xe6150030 0 4>;
1128 clocks = <&mp_clk>;
1129 #clock-cells = <1>;
Ben Dookscb0bf852014-11-10 19:49:38 +01001130 clock-indices = <R8A7791_CLK_MSIOF0>;
Laurent Pinchartcded80f2013-12-19 16:51:02 +01001131 clock-output-names = "msiof0";
1132 };
Laurent Pinchart59e79892013-12-11 15:05:16 +01001133 mstp1_clks: mstp1_clks@e6150134 {
1134 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
1135 reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>;
Yoshifumi Hosoya74d89d22014-10-14 16:01:43 +09001136 clocks = <&zs_clk>, <&zs_clk>, <&m2_clk>, <&zs_clk>, <&p_clk>,
1137 <&zg_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>, <&p_clk>,
1138 <&p_clk>, <&rclk_clk>, <&cp_clk>, <&zs_clk>, <&zs_clk>,
1139 <&zs_clk>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001140 #clock-cells = <1>;
Ben Dookscb0bf852014-11-10 19:49:38 +01001141 clock-indices = <
Yoshifumi Hosoya74d89d22014-10-14 16:01:43 +09001142 R8A7791_CLK_VCP0 R8A7791_CLK_VPC0 R8A7791_CLK_JPU
1143 R8A7791_CLK_SSP1 R8A7791_CLK_TMU1 R8A7791_CLK_3DG
1144 R8A7791_CLK_2DDMAC R8A7791_CLK_FDP1_1 R8A7791_CLK_FDP1_0
1145 R8A7791_CLK_TMU3 R8A7791_CLK_TMU2 R8A7791_CLK_CMT0
1146 R8A7791_CLK_TMU0 R8A7791_CLK_VSP1_DU1 R8A7791_CLK_VSP1_DU0
1147 R8A7791_CLK_VSP1_S
Laurent Pinchart59e79892013-12-11 15:05:16 +01001148 >;
1149 clock-output-names =
Yoshifumi Hosoya74d89d22014-10-14 16:01:43 +09001150 "vcp0", "vpc0", "jpu", "ssp1", "tmu1", "3dg",
1151 "2ddmac", "fdp1-1", "fdp1-0", "tmu3", "tmu2", "cmt0",
1152 "tmu0", "vsp1-du1", "vsp1-du0", "vsp1-sy";
Laurent Pinchart59e79892013-12-11 15:05:16 +01001153 };
1154 mstp2_clks: mstp2_clks@e6150138 {
1155 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
1156 reg = <0 0xe6150138 0 4>, <0 0xe6150040 0 4>;
1157 clocks = <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>,
Geert Uytterhoeven4e074bc2014-06-02 15:42:07 +02001158 <&mp_clk>, <&mp_clk>, <&mp_clk>,
1159 <&zs_clk>, <&zs_clk>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001160 #clock-cells = <1>;
Ben Dookscb0bf852014-11-10 19:49:38 +01001161 clock-indices = <
Laurent Pinchart59e79892013-12-11 15:05:16 +01001162 R8A7791_CLK_SCIFA2 R8A7791_CLK_SCIFA1 R8A7791_CLK_SCIFA0
Laurent Pinchartcded80f2013-12-19 16:51:02 +01001163 R8A7791_CLK_MSIOF2 R8A7791_CLK_SCIFB0 R8A7791_CLK_SCIFB1
1164 R8A7791_CLK_MSIOF1 R8A7791_CLK_SCIFB2
Geert Uytterhoeven4e074bc2014-06-02 15:42:07 +02001165 R8A7791_CLK_SYS_DMAC1 R8A7791_CLK_SYS_DMAC0
Laurent Pinchart59e79892013-12-11 15:05:16 +01001166 >;
1167 clock-output-names =
Geert Uytterhoeven0c002ef2014-02-20 15:49:29 +01001168 "scifa2", "scifa1", "scifa0", "msiof2", "scifb0",
Geert Uytterhoeven4e074bc2014-06-02 15:42:07 +02001169 "scifb1", "msiof1", "scifb2",
1170 "sys-dmac1", "sys-dmac0";
Laurent Pinchart59e79892013-12-11 15:05:16 +01001171 };
1172 mstp3_clks: mstp3_clks@e615013c {
1173 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
1174 reg = <0 0xe615013c 0 4>, <0 0xe6150048 0 4>;
Simon Horman2ea0d4e2015-01-29 10:41:24 +09001175 clocks = <&cp_clk>, <&sd3_clk>, <&sd2_clk>, <&cpg_clocks R8A7791_CLK_SD0>,
Yoshihiro Shimodab9473d92014-11-17 18:25:25 +09001176 <&mmc0_clk>, <&hp_clk>, <&mp_clk>, <&hp_clk>, <&mp_clk>, <&rclk_clk>,
1177 <&hp_clk>, <&hp_clk>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001178 #clock-cells = <1>;
Ben Dookscb0bf852014-11-10 19:49:38 +01001179 clock-indices = <
Wolfram Sangc08691b2014-03-10 12:26:57 +01001180 R8A7791_CLK_TPU0 R8A7791_CLK_SDHI2 R8A7791_CLK_SDHI1 R8A7791_CLK_SDHI0
Phil Edworthy4bfb3762014-06-13 10:37:18 +01001181 R8A7791_CLK_MMCIF0 R8A7791_CLK_IIC0 R8A7791_CLK_PCIEC R8A7791_CLK_IIC1
1182 R8A7791_CLK_SSUSB R8A7791_CLK_CMT1
Yoshihiro Shimodab9473d92014-11-17 18:25:25 +09001183 R8A7791_CLK_USBDMAC0 R8A7791_CLK_USBDMAC1
Laurent Pinchart59e79892013-12-11 15:05:16 +01001184 >;
1185 clock-output-names =
Wolfram Sangc08691b2014-03-10 12:26:57 +01001186 "tpu0", "sdhi2", "sdhi1", "sdhi0",
Yoshihiro Shimodab9473d92014-11-17 18:25:25 +09001187 "mmcif0", "i2c7", "pciec", "i2c8", "ssusb", "cmt1",
1188 "usbdmac0", "usbdmac1";
Laurent Pinchart59e79892013-12-11 15:05:16 +01001189 };
Geert Uytterhoeven62d386c2015-03-18 19:56:00 +01001190 mstp4_clks: mstp4_clks@e6150140 {
1191 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
1192 reg = <0 0xe6150140 0 4>, <0 0xe615004c 0 4>;
1193 clocks = <&cp_clk>;
1194 #clock-cells = <1>;
1195 clock-indices = <R8A7791_CLK_IRQC>;
1196 clock-output-names = "irqc";
1197 };
Laurent Pinchart59e79892013-12-11 15:05:16 +01001198 mstp5_clks: mstp5_clks@e6150144 {
1199 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
1200 reg = <0 0xe6150144 0 4>, <0 0xe615003c 0 4>;
Sergei Shtylyovae65a8a2014-12-30 23:20:34 +03001201 clocks = <&hp_clk>, <&hp_clk>, <&cpg_clocks R8A7791_CLK_ADSP>,
1202 <&extal_clk>, <&p_clk>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001203 #clock-cells = <1>;
Ben Dookscb0bf852014-11-10 19:49:38 +01001204 clock-indices = <
1205 R8A7791_CLK_AUDIO_DMAC0 R8A7791_CLK_AUDIO_DMAC1
Sergei Shtylyovae65a8a2014-12-30 23:20:34 +03001206 R8A7791_CLK_ADSP_MOD R8A7791_CLK_THERMAL
1207 R8A7791_CLK_PWM
Ben Dookscb0bf852014-11-10 19:49:38 +01001208 >;
Sergei Shtylyovae65a8a2014-12-30 23:20:34 +03001209 clock-output-names = "audmac0", "audmac1", "adsp_mod",
1210 "thermal", "pwm";
Laurent Pinchart59e79892013-12-11 15:05:16 +01001211 };
1212 mstp7_clks: mstp7_clks@e615014c {
1213 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
1214 reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>;
Kazuya Mizuguchi118e4e62015-02-19 10:43:10 -05001215 clocks = <&mp_clk>, <&hp_clk>, <&zs_clk>, <&p_clk>, <&p_clk>, <&zs_clk>,
Laurent Pinchart59e79892013-12-11 15:05:16 +01001216 <&zs_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
1217 <&zx_clk>, <&zx_clk>, <&zx_clk>;
1218 #clock-cells = <1>;
Ben Dookscb0bf852014-11-10 19:49:38 +01001219 clock-indices = <
Magnus Damm6225b992014-04-07 15:04:21 +09001220 R8A7791_CLK_EHCI R8A7791_CLK_HSUSB R8A7791_CLK_HSCIF2 R8A7791_CLK_SCIF5
Laurent Pinchart59e79892013-12-11 15:05:16 +01001221 R8A7791_CLK_SCIF4 R8A7791_CLK_HSCIF1 R8A7791_CLK_HSCIF0
1222 R8A7791_CLK_SCIF3 R8A7791_CLK_SCIF2 R8A7791_CLK_SCIF1
1223 R8A7791_CLK_SCIF0 R8A7791_CLK_DU1 R8A7791_CLK_DU0
1224 R8A7791_CLK_LVDS0
1225 >;
1226 clock-output-names =
Magnus Damm6225b992014-04-07 15:04:21 +09001227 "ehci", "hsusb", "hscif2", "scif5", "scif4", "hscif1", "hscif0",
Laurent Pinchart59e79892013-12-11 15:05:16 +01001228 "scif3", "scif2", "scif1", "scif0", "du1", "du0", "lvds0";
1229 };
1230 mstp8_clks: mstp8_clks@e6150990 {
1231 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
1232 reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>;
Ryo Kataoka75a499a2015-02-19 22:29:06 +09001233 clocks = <&zx_clk>, <&hp_clk>, <&zg_clk>, <&zg_clk>,
Andrey Gusakov7408d302014-12-18 23:43:03 +03001234 <&zg_clk>, <&p_clk>, <&zs_clk>, <&zs_clk>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001235 #clock-cells = <1>;
Ben Dookscb0bf852014-11-10 19:49:38 +01001236 clock-indices = <
Andrey Gusakov7408d302014-12-18 23:43:03 +03001237 R8A7791_CLK_IPMMU_SGX R8A7791_CLK_MLB
Laurent Pinchart09c98342014-01-07 09:22:54 +01001238 R8A7791_CLK_VIN2 R8A7791_CLK_VIN1 R8A7791_CLK_VIN0
Laurent Pinchart65f05c32014-01-07 09:22:56 +01001239 R8A7791_CLK_ETHER R8A7791_CLK_SATA1 R8A7791_CLK_SATA0
Laurent Pinchart09c98342014-01-07 09:22:54 +01001240 >;
Laurent Pinchart65f05c32014-01-07 09:22:56 +01001241 clock-output-names =
Andrey Gusakov7408d302014-12-18 23:43:03 +03001242 "ipmmu_sgx", "mlb", "vin2", "vin1", "vin0", "ether",
1243 "sata1", "sata0";
Laurent Pinchart59e79892013-12-11 15:05:16 +01001244 };
1245 mstp9_clks: mstp9_clks@e6150994 {
1246 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
1247 reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>;
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +02001248 clocks = <&cp_clk>, <&cp_clk>, <&cp_clk>, <&cp_clk>,
1249 <&cp_clk>, <&cp_clk>, <&cp_clk>, <&cp_clk>,
1250 <&p_clk>, <&p_clk>, <&cpg_clocks R8A7791_CLK_QSPI>, <&hp_clk>,
Laurent Pinchart11b48db2014-04-01 13:02:18 +02001251 <&cp_clk>, <&hp_clk>, <&hp_clk>, <&hp_clk>,
1252 <&hp_clk>, <&hp_clk>;
Laurent Pinchart59e79892013-12-11 15:05:16 +01001253 #clock-cells = <1>;
Ben Dookscb0bf852014-11-10 19:49:38 +01001254 clock-indices = <
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +02001255 R8A7791_CLK_GPIO7 R8A7791_CLK_GPIO6 R8A7791_CLK_GPIO5 R8A7791_CLK_GPIO4
1256 R8A7791_CLK_GPIO3 R8A7791_CLK_GPIO2 R8A7791_CLK_GPIO1 R8A7791_CLK_GPIO0
Wolfram Sangc08691b2014-03-10 12:26:57 +01001257 R8A7791_CLK_RCAN1 R8A7791_CLK_RCAN0 R8A7791_CLK_QSPI_MOD R8A7791_CLK_I2C5
1258 R8A7791_CLK_IICDVFS R8A7791_CLK_I2C4 R8A7791_CLK_I2C3 R8A7791_CLK_I2C2
1259 R8A7791_CLK_I2C1 R8A7791_CLK_I2C0
Laurent Pinchart59e79892013-12-11 15:05:16 +01001260 >;
1261 clock-output-names =
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +02001262 "gpio7", "gpio6", "gpio5", "gpio4", "gpio3", "gpio2", "gpio1", "gpio0",
1263 "rcan1", "rcan0", "qspi_mod", "i2c5", "i2c6", "i2c4", "i2c3", "i2c2",
1264 "i2c1", "i2c0";
Laurent Pinchart59e79892013-12-11 15:05:16 +01001265 };
Kuninori Morimotoee914152014-06-11 21:44:16 -07001266 mstp10_clks: mstp10_clks@e6150998 {
1267 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
1268 reg = <0 0xe6150998 0 4>, <0 0xe61509a8 0 4>;
1269 clocks = <&p_clk>,
1270 <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
1271 <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
1272 <&p_clk>,
1273 <&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>,
1274 <&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>,
1275 <&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>,
1276 <&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>,
1277 <&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>,
1278 <&mstp10_clks R8A7791_CLK_SCU_ALL>, <&mstp10_clks R8A7791_CLK_SCU_ALL>;
1279
1280 #clock-cells = <1>;
1281 clock-indices = <
1282 R8A7791_CLK_SSI_ALL
1283 R8A7791_CLK_SSI9 R8A7791_CLK_SSI8 R8A7791_CLK_SSI7 R8A7791_CLK_SSI6 R8A7791_CLK_SSI5
1284 R8A7791_CLK_SSI4 R8A7791_CLK_SSI3 R8A7791_CLK_SSI2 R8A7791_CLK_SSI1 R8A7791_CLK_SSI0
1285 R8A7791_CLK_SCU_ALL
1286 R8A7791_CLK_SCU_DVC1 R8A7791_CLK_SCU_DVC0
1287 R8A7791_CLK_SCU_SRC9 R8A7791_CLK_SCU_SRC8 R8A7791_CLK_SCU_SRC7 R8A7791_CLK_SCU_SRC6 R8A7791_CLK_SCU_SRC5
1288 R8A7791_CLK_SCU_SRC4 R8A7791_CLK_SCU_SRC3 R8A7791_CLK_SCU_SRC2 R8A7791_CLK_SCU_SRC1 R8A7791_CLK_SCU_SRC0
1289 >;
1290 clock-output-names =
1291 "ssi-all",
1292 "ssi9", "ssi8", "ssi7", "ssi6", "ssi5",
1293 "ssi4", "ssi3", "ssi2", "ssi1", "ssi0",
1294 "scu-all",
1295 "scu-dvc1", "scu-dvc0",
1296 "scu-src9", "scu-src8", "scu-src7", "scu-src6", "scu-src5",
1297 "scu-src4", "scu-src3", "scu-src2", "scu-src1", "scu-src0";
1298 };
Laurent Pinchart59e79892013-12-11 15:05:16 +01001299 mstp11_clks: mstp11_clks@e615099c {
1300 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
1301 reg = <0 0xe615099c 0 4>, <0 0xe61509ac 0 4>;
1302 clocks = <&mp_clk>, <&mp_clk>, <&mp_clk>;
1303 #clock-cells = <1>;
Ben Dookscb0bf852014-11-10 19:49:38 +01001304 clock-indices = <
Laurent Pinchart59e79892013-12-11 15:05:16 +01001305 R8A7791_CLK_SCIFA3 R8A7791_CLK_SCIFA4 R8A7791_CLK_SCIFA5
1306 >;
1307 clock-output-names = "scifa3", "scifa4", "scifa5";
1308 };
1309 };
Geert Uytterhoeven4d5b59c2014-02-04 16:24:03 +01001310
Geert Uytterhoeven6f3e4ee2014-02-25 11:30:14 +01001311 qspi: spi@e6b10000 {
Geert Uytterhoeven4d5b59c2014-02-04 16:24:03 +01001312 compatible = "renesas,qspi-r8a7791", "renesas,qspi";
1313 reg = <0 0xe6b10000 0 0x2c>;
Geert Uytterhoeven4d5b59c2014-02-04 16:24:03 +01001314 interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>;
1315 clocks = <&mstp9_clks R8A7791_CLK_QSPI_MOD>;
Geert Uytterhoeven591f2fa2014-08-06 14:59:06 +02001316 dmas = <&dmac0 0x17>, <&dmac0 0x18>;
1317 dma-names = "tx", "rx";
Geert Uytterhoeven4d5b59c2014-02-04 16:24:03 +01001318 num-cs = <1>;
1319 #address-cells = <1>;
1320 #size-cells = <0>;
1321 status = "disabled";
1322 };
Geert Uytterhoeven7713d3a2014-02-25 11:30:16 +01001323
1324 msiof0: spi@e6e20000 {
1325 compatible = "renesas,msiof-r8a7791";
Ryo Kataokacb6d08a2015-04-05 01:55:12 +09001326 reg = <0 0xe6e20000 0 0x0064>;
Geert Uytterhoeven7713d3a2014-02-25 11:30:16 +01001327 interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>;
1328 clocks = <&mstp0_clks R8A7791_CLK_MSIOF0>;
Geert Uytterhoevena5ce27f2014-08-06 14:59:07 +02001329 dmas = <&dmac0 0x51>, <&dmac0 0x52>;
1330 dma-names = "tx", "rx";
Geert Uytterhoeven7713d3a2014-02-25 11:30:16 +01001331 #address-cells = <1>;
1332 #size-cells = <0>;
1333 status = "disabled";
1334 };
1335
1336 msiof1: spi@e6e10000 {
1337 compatible = "renesas,msiof-r8a7791";
Ryo Kataokacb6d08a2015-04-05 01:55:12 +09001338 reg = <0 0xe6e10000 0 0x0064>;
Geert Uytterhoeven7713d3a2014-02-25 11:30:16 +01001339 interrupts = <0 157 IRQ_TYPE_LEVEL_HIGH>;
1340 clocks = <&mstp2_clks R8A7791_CLK_MSIOF1>;
Geert Uytterhoevena5ce27f2014-08-06 14:59:07 +02001341 dmas = <&dmac0 0x55>, <&dmac0 0x56>;
1342 dma-names = "tx", "rx";
Geert Uytterhoeven7713d3a2014-02-25 11:30:16 +01001343 #address-cells = <1>;
1344 #size-cells = <0>;
1345 status = "disabled";
1346 };
1347
1348 msiof2: spi@e6e00000 {
1349 compatible = "renesas,msiof-r8a7791";
Ryo Kataokacb6d08a2015-04-05 01:55:12 +09001350 reg = <0 0xe6e00000 0 0x0064>;
Geert Uytterhoeven7713d3a2014-02-25 11:30:16 +01001351 interrupts = <0 158 IRQ_TYPE_LEVEL_HIGH>;
1352 clocks = <&mstp2_clks R8A7791_CLK_MSIOF2>;
Geert Uytterhoevena5ce27f2014-08-06 14:59:07 +02001353 dmas = <&dmac0 0x41>, <&dmac0 0x42>;
1354 dma-names = "tx", "rx";
Geert Uytterhoeven7713d3a2014-02-25 11:30:16 +01001355 #address-cells = <1>;
1356 #size-cells = <0>;
1357 status = "disabled";
1358 };
Phil Edworthy811cdfa2014-06-13 10:37:20 +01001359
Yoshihiro Shimodac1969312014-10-24 19:43:02 +09001360 xhci: usb@ee000000 {
1361 compatible = "renesas,xhci-r8a7791";
1362 reg = <0 0xee000000 0 0xc00>;
1363 interrupts = <0 101 IRQ_TYPE_LEVEL_HIGH>;
1364 clocks = <&mstp3_clks R8A7791_CLK_SSUSB>;
1365 phys = <&usb2 1>;
1366 phy-names = "usb";
1367 status = "disabled";
1368 };
1369
Sergei Shtylyovaace0802014-06-24 22:10:05 +04001370 pci0: pci@ee090000 {
1371 compatible = "renesas,pci-r8a7791";
1372 device_type = "pci";
1373 clocks = <&mstp7_clks R8A7791_CLK_EHCI>;
1374 reg = <0 0xee090000 0 0xc00>,
1375 <0 0xee080000 0 0x1100>;
1376 interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
1377 status = "disabled";
1378
1379 bus-range = <0 0>;
1380 #address-cells = <3>;
1381 #size-cells = <2>;
1382 #interrupt-cells = <1>;
1383 ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>;
1384 interrupt-map-mask = <0xff00 0 0 0x7>;
1385 interrupt-map = <0x0000 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH
1386 0x0800 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH
1387 0x1000 0 0 2 &gic 0 108 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyove1bce122014-09-29 22:23:11 +04001388
1389 usb@0,1 {
1390 reg = <0x800 0 0 0 0>;
1391 device_type = "pci";
1392 phys = <&usb0 0>;
1393 phy-names = "usb";
1394 };
1395
1396 usb@0,2 {
1397 reg = <0x1000 0 0 0 0>;
1398 device_type = "pci";
1399 phys = <&usb0 0>;
1400 phy-names = "usb";
1401 };
Sergei Shtylyovaace0802014-06-24 22:10:05 +04001402 };
1403
1404 pci1: pci@ee0d0000 {
1405 compatible = "renesas,pci-r8a7791";
1406 device_type = "pci";
1407 clocks = <&mstp7_clks R8A7791_CLK_EHCI>;
1408 reg = <0 0xee0d0000 0 0xc00>,
1409 <0 0xee0c0000 0 0x1100>;
1410 interrupts = <0 113 IRQ_TYPE_LEVEL_HIGH>;
1411 status = "disabled";
1412
1413 bus-range = <1 1>;
1414 #address-cells = <3>;
1415 #size-cells = <2>;
1416 #interrupt-cells = <1>;
1417 ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>;
1418 interrupt-map-mask = <0xff00 0 0 0x7>;
1419 interrupt-map = <0x0000 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH
1420 0x0800 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH
1421 0x1000 0 0 2 &gic 0 113 IRQ_TYPE_LEVEL_HIGH>;
Sergei Shtylyove1bce122014-09-29 22:23:11 +04001422
1423 usb@0,1 {
1424 reg = <0x800 0 0 0 0>;
1425 device_type = "pci";
1426 phys = <&usb2 0>;
1427 phy-names = "usb";
1428 };
1429
1430 usb@0,2 {
1431 reg = <0x1000 0 0 0 0>;
1432 device_type = "pci";
1433 phys = <&usb2 0>;
1434 phy-names = "usb";
1435 };
Sergei Shtylyovaace0802014-06-24 22:10:05 +04001436 };
1437
Phil Edworthy811cdfa2014-06-13 10:37:20 +01001438 pciec: pcie@fe000000 {
1439 compatible = "renesas,pcie-r8a7791";
1440 reg = <0 0xfe000000 0 0x80000>;
1441 #address-cells = <3>;
1442 #size-cells = <2>;
1443 bus-range = <0x00 0xff>;
1444 device_type = "pci";
1445 ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000
1446 0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000
1447 0x02000000 0 0x30000000 0 0x30000000 0 0x08000000
1448 0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
1449 /* Map all possible DDR as inbound ranges */
1450 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000
1451 0x43000000 2 0x00000000 2 0x00000000 1 0x00000000>;
1452 interrupts = <0 116 IRQ_TYPE_LEVEL_HIGH>,
1453 <0 117 IRQ_TYPE_LEVEL_HIGH>,
1454 <0 118 IRQ_TYPE_LEVEL_HIGH>;
1455 #interrupt-cells = <1>;
1456 interrupt-map-mask = <0 0 0 0>;
1457 interrupt-map = <0 0 0 0 &gic 0 116 IRQ_TYPE_LEVEL_HIGH>;
1458 clocks = <&mstp3_clks R8A7791_CLK_PCIEC>, <&pcie_bus_clk>;
1459 clock-names = "pcie", "pcie_bus";
1460 status = "disabled";
1461 };
Kuninori Morimoto09abd1f2014-06-11 21:44:26 -07001462
Laurent Pinchartf1951852015-01-27 11:13:24 +02001463 ipmmu_sy0: mmu@e6280000 {
1464 compatible = "renesas,ipmmu-vmsa";
1465 reg = <0 0xe6280000 0 0x1000>;
1466 interrupts = <0 223 IRQ_TYPE_LEVEL_HIGH>,
1467 <0 224 IRQ_TYPE_LEVEL_HIGH>;
1468 #iommu-cells = <1>;
1469 status = "disabled";
1470 };
1471
1472 ipmmu_sy1: mmu@e6290000 {
1473 compatible = "renesas,ipmmu-vmsa";
1474 reg = <0 0xe6290000 0 0x1000>;
1475 interrupts = <0 225 IRQ_TYPE_LEVEL_HIGH>;
1476 #iommu-cells = <1>;
1477 status = "disabled";
1478 };
1479
1480 ipmmu_ds: mmu@e6740000 {
1481 compatible = "renesas,ipmmu-vmsa";
1482 reg = <0 0xe6740000 0 0x1000>;
1483 interrupts = <0 198 IRQ_TYPE_LEVEL_HIGH>,
1484 <0 199 IRQ_TYPE_LEVEL_HIGH>;
1485 #iommu-cells = <1>;
1486 status = "disabled";
1487 };
1488
1489 ipmmu_mp: mmu@ec680000 {
1490 compatible = "renesas,ipmmu-vmsa";
1491 reg = <0 0xec680000 0 0x1000>;
1492 interrupts = <0 226 IRQ_TYPE_LEVEL_HIGH>;
1493 #iommu-cells = <1>;
1494 status = "disabled";
1495 };
1496
1497 ipmmu_mx: mmu@fe951000 {
1498 compatible = "renesas,ipmmu-vmsa";
1499 reg = <0 0xfe951000 0 0x1000>;
1500 interrupts = <0 222 IRQ_TYPE_LEVEL_HIGH>,
1501 <0 221 IRQ_TYPE_LEVEL_HIGH>;
1502 #iommu-cells = <1>;
1503 status = "disabled";
1504 };
1505
1506 ipmmu_rt: mmu@ffc80000 {
1507 compatible = "renesas,ipmmu-vmsa";
1508 reg = <0 0xffc80000 0 0x1000>;
1509 interrupts = <0 307 IRQ_TYPE_LEVEL_HIGH>;
1510 #iommu-cells = <1>;
1511 status = "disabled";
1512 };
1513
1514 ipmmu_gp: mmu@e62a0000 {
1515 compatible = "renesas,ipmmu-vmsa";
1516 reg = <0 0xe62a0000 0 0x1000>;
1517 interrupts = <0 260 IRQ_TYPE_LEVEL_HIGH>,
1518 <0 261 IRQ_TYPE_LEVEL_HIGH>;
1519 #iommu-cells = <1>;
1520 status = "disabled";
1521 };
1522
Geert Uytterhoeven6c63e072015-04-27 14:55:29 +02001523 rcar_sound: sound@ec500000 {
Kuninori Morimotod2b541c2014-12-17 06:12:02 +00001524 /*
1525 * #sound-dai-cells is required
1526 *
1527 * Single DAI : #sound-dai-cells = <0>; <&rcar_sound>;
1528 * Multi DAI : #sound-dai-cells = <1>; <&rcar_sound N>;
1529 */
Geert Uytterhoevenf49cd2b2015-01-06 21:01:53 +01001530 compatible = "renesas,rcar_sound-r8a7791", "renesas,rcar_sound-gen2";
Kuninori Morimoto09abd1f2014-06-11 21:44:26 -07001531 reg = <0 0xec500000 0 0x1000>, /* SCU */
1532 <0 0xec5a0000 0 0x100>, /* ADG */
1533 <0 0xec540000 0 0x1000>, /* SSIU */
Kuninori Morimotod73a5012015-03-10 01:39:55 +00001534 <0 0xec541000 0 0x1280>, /* SSI */
1535 <0 0xec740000 0 0x200>; /* Audio DMAC peri peri*/
1536 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
Kuninori Morimotod88a6a22015-03-10 01:39:18 +00001537
Kuninori Morimoto09abd1f2014-06-11 21:44:26 -07001538 clocks = <&mstp10_clks R8A7791_CLK_SSI_ALL>,
1539 <&mstp10_clks R8A7791_CLK_SSI9>, <&mstp10_clks R8A7791_CLK_SSI8>,
1540 <&mstp10_clks R8A7791_CLK_SSI7>, <&mstp10_clks R8A7791_CLK_SSI6>,
1541 <&mstp10_clks R8A7791_CLK_SSI5>, <&mstp10_clks R8A7791_CLK_SSI4>,
1542 <&mstp10_clks R8A7791_CLK_SSI3>, <&mstp10_clks R8A7791_CLK_SSI2>,
1543 <&mstp10_clks R8A7791_CLK_SSI1>, <&mstp10_clks R8A7791_CLK_SSI0>,
1544 <&mstp10_clks R8A7791_CLK_SCU_SRC9>, <&mstp10_clks R8A7791_CLK_SCU_SRC8>,
1545 <&mstp10_clks R8A7791_CLK_SCU_SRC7>, <&mstp10_clks R8A7791_CLK_SCU_SRC6>,
1546 <&mstp10_clks R8A7791_CLK_SCU_SRC5>, <&mstp10_clks R8A7791_CLK_SCU_SRC4>,
1547 <&mstp10_clks R8A7791_CLK_SCU_SRC3>, <&mstp10_clks R8A7791_CLK_SCU_SRC2>,
1548 <&mstp10_clks R8A7791_CLK_SCU_SRC1>, <&mstp10_clks R8A7791_CLK_SCU_SRC0>,
Kuninori Morimoto150c8ad2014-06-25 17:52:33 -07001549 <&mstp10_clks R8A7791_CLK_SCU_DVC0>, <&mstp10_clks R8A7791_CLK_SCU_DVC1>,
Kuninori Morimoto09abd1f2014-06-11 21:44:26 -07001550 <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>, <&m2_clk>;
1551 clock-names = "ssi-all",
1552 "ssi.9", "ssi.8", "ssi.7", "ssi.6", "ssi.5",
1553 "ssi.4", "ssi.3", "ssi.2", "ssi.1", "ssi.0",
1554 "src.9", "src.8", "src.7", "src.6", "src.5",
1555 "src.4", "src.3", "src.2", "src.1", "src.0",
Kuninori Morimoto150c8ad2014-06-25 17:52:33 -07001556 "dvc.0", "dvc.1",
Kuninori Morimoto09abd1f2014-06-11 21:44:26 -07001557 "clk_a", "clk_b", "clk_c", "clk_i";
1558
1559 status = "disabled";
1560
Kuninori Morimoto150c8ad2014-06-25 17:52:33 -07001561 rcar_sound,dvc {
Kuninori Morimoto63573332015-03-10 01:40:27 +00001562 dvc0: dvc@0 {
1563 dmas = <&audma0 0xbc>;
1564 dma-names = "tx";
1565 };
1566 dvc1: dvc@1 {
1567 dmas = <&audma0 0xbe>;
1568 dma-names = "tx";
1569 };
Kuninori Morimoto150c8ad2014-06-25 17:52:33 -07001570 };
1571
Kuninori Morimoto09abd1f2014-06-11 21:44:26 -07001572 rcar_sound,src {
Kuninori Morimoto63573332015-03-10 01:40:27 +00001573 src0: src@0 {
1574 interrupts = <0 352 IRQ_TYPE_LEVEL_HIGH>;
1575 dmas = <&audma0 0x85>, <&audma1 0x9a>;
1576 dma-names = "rx", "tx";
1577 };
1578 src1: src@1 {
1579 interrupts = <0 353 IRQ_TYPE_LEVEL_HIGH>;
1580 dmas = <&audma0 0x87>, <&audma1 0x9c>;
1581 dma-names = "rx", "tx";
1582 };
1583 src2: src@2 {
1584 interrupts = <0 354 IRQ_TYPE_LEVEL_HIGH>;
1585 dmas = <&audma0 0x89>, <&audma1 0x9e>;
1586 dma-names = "rx", "tx";
1587 };
1588 src3: src@3 {
1589 interrupts = <0 355 IRQ_TYPE_LEVEL_HIGH>;
1590 dmas = <&audma0 0x8b>, <&audma1 0xa0>;
1591 dma-names = "rx", "tx";
1592 };
1593 src4: src@4 {
1594 interrupts = <0 356 IRQ_TYPE_LEVEL_HIGH>;
1595 dmas = <&audma0 0x8d>, <&audma1 0xb0>;
1596 dma-names = "rx", "tx";
1597 };
1598 src5: src@5 {
1599 interrupts = <0 357 IRQ_TYPE_LEVEL_HIGH>;
1600 dmas = <&audma0 0x8f>, <&audma1 0xb2>;
1601 dma-names = "rx", "tx";
1602 };
1603 src6: src@6 {
1604 interrupts = <0 358 IRQ_TYPE_LEVEL_HIGH>;
1605 dmas = <&audma0 0x91>, <&audma1 0xb4>;
1606 dma-names = "rx", "tx";
1607 };
1608 src7: src@7 {
1609 interrupts = <0 359 IRQ_TYPE_LEVEL_HIGH>;
1610 dmas = <&audma0 0x93>, <&audma1 0xb6>;
1611 dma-names = "rx", "tx";
1612 };
1613 src8: src@8 {
1614 interrupts = <0 360 IRQ_TYPE_LEVEL_HIGH>;
1615 dmas = <&audma0 0x95>, <&audma1 0xb8>;
1616 dma-names = "rx", "tx";
1617 };
1618 src9: src@9 {
1619 interrupts = <0 361 IRQ_TYPE_LEVEL_HIGH>;
1620 dmas = <&audma0 0x97>, <&audma1 0xba>;
1621 dma-names = "rx", "tx";
1622 };
Kuninori Morimoto09abd1f2014-06-11 21:44:26 -07001623 };
1624
1625 rcar_sound,ssi {
Kuninori Morimoto63573332015-03-10 01:40:27 +00001626 ssi0: ssi@0 {
1627 interrupts = <0 370 IRQ_TYPE_LEVEL_HIGH>;
1628 dmas = <&audma0 0x01>, <&audma1 0x02>, <&audma0 0x15>, <&audma1 0x16>;
1629 dma-names = "rx", "tx", "rxu", "txu";
1630 };
1631 ssi1: ssi@1 {
1632 interrupts = <0 371 IRQ_TYPE_LEVEL_HIGH>;
1633 dmas = <&audma0 0x03>, <&audma1 0x04>, <&audma0 0x49>, <&audma1 0x4a>;
1634 dma-names = "rx", "tx", "rxu", "txu";
1635 };
1636 ssi2: ssi@2 {
1637 interrupts = <0 372 IRQ_TYPE_LEVEL_HIGH>;
1638 dmas = <&audma0 0x05>, <&audma1 0x06>, <&audma0 0x63>, <&audma1 0x64>;
1639 dma-names = "rx", "tx", "rxu", "txu";
1640 };
1641 ssi3: ssi@3 {
1642 interrupts = <0 373 IRQ_TYPE_LEVEL_HIGH>;
1643 dmas = <&audma0 0x07>, <&audma1 0x08>, <&audma0 0x6f>, <&audma1 0x70>;
1644 dma-names = "rx", "tx", "rxu", "txu";
1645 };
1646 ssi4: ssi@4 {
1647 interrupts = <0 374 IRQ_TYPE_LEVEL_HIGH>;
1648 dmas = <&audma0 0x09>, <&audma1 0x0a>, <&audma0 0x71>, <&audma1 0x72>;
1649 dma-names = "rx", "tx", "rxu", "txu";
1650 };
1651 ssi5: ssi@5 {
1652 interrupts = <0 375 IRQ_TYPE_LEVEL_HIGH>;
1653 dmas = <&audma0 0x0b>, <&audma1 0x0c>, <&audma0 0x73>, <&audma1 0x74>;
1654 dma-names = "rx", "tx", "rxu", "txu";
1655 };
1656 ssi6: ssi@6 {
1657 interrupts = <0 376 IRQ_TYPE_LEVEL_HIGH>;
1658 dmas = <&audma0 0x0d>, <&audma1 0x0e>, <&audma0 0x75>, <&audma1 0x76>;
1659 dma-names = "rx", "tx", "rxu", "txu";
1660 };
1661 ssi7: ssi@7 {
1662 interrupts = <0 377 IRQ_TYPE_LEVEL_HIGH>;
1663 dmas = <&audma0 0x0f>, <&audma1 0x10>, <&audma0 0x79>, <&audma1 0x7a>;
1664 dma-names = "rx", "tx", "rxu", "txu";
1665 };
1666 ssi8: ssi@8 {
1667 interrupts = <0 378 IRQ_TYPE_LEVEL_HIGH>;
1668 dmas = <&audma0 0x11>, <&audma1 0x12>, <&audma0 0x7b>, <&audma1 0x7c>;
1669 dma-names = "rx", "tx", "rxu", "txu";
1670 };
1671 ssi9: ssi@9 {
1672 interrupts = <0 379 IRQ_TYPE_LEVEL_HIGH>;
1673 dmas = <&audma0 0x13>, <&audma1 0x14>, <&audma0 0x7d>, <&audma1 0x7e>;
1674 dma-names = "rx", "tx", "rxu", "txu";
1675 };
Kuninori Morimoto09abd1f2014-06-11 21:44:26 -07001676 };
1677 };
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +09001678};