blob: b7c59b7b06b048c1315ec6541583a0f27220aae7 [file] [log] [blame]
Magnus Damm0468b2d2013-03-28 00:49:34 +09001/*
2 * Device Tree Source for the r8a7790 SoC
3 *
Sergei Shtylyovd8913c62014-02-20 02:20:43 +03004 * Copyright (C) 2013-2014 Renesas Solutions Corp.
5 * Copyright (C) 2014 Cogent Embedded Inc.
Magnus Damm0468b2d2013-03-28 00:49:34 +09006 *
7 * This file is licensed under the terms of the GNU General Public License
8 * version 2. This program is licensed "as is" without any warranty of any
9 * kind, whether express or implied.
10 */
11
Laurent Pinchart22a1f592013-12-11 15:05:14 +010012#include <dt-bindings/clock/r8a7790-clock.h>
Laurent Pinchart5f75e732013-11-19 03:18:25 +010013#include <dt-bindings/interrupt-controller/arm-gic.h>
14#include <dt-bindings/interrupt-controller/irq.h>
15
Magnus Damm0468b2d2013-03-28 00:49:34 +090016/ {
17 compatible = "renesas,r8a7790";
18 interrupt-parent = <&gic>;
Takashi Yoshii8585deb2013-03-29 16:49:17 +090019 #address-cells = <2>;
20 #size-cells = <2>;
Magnus Damm0468b2d2013-03-28 00:49:34 +090021
Wolfram Sang6b1d7c62014-02-16 10:40:58 +010022 aliases {
23 i2c0 = &i2c0;
24 i2c1 = &i2c1;
25 i2c2 = &i2c2;
26 i2c3 = &i2c3;
Wolfram Sang05f39912014-03-25 19:56:29 +010027 i2c4 = &iic0;
28 i2c5 = &iic1;
29 i2c6 = &iic2;
30 i2c7 = &iic3;
Geert Uytterhoevenfad6d452014-02-25 11:30:13 +010031 spi0 = &qspi;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +010032 spi1 = &msiof0;
33 spi2 = &msiof1;
34 spi3 = &msiof2;
35 spi4 = &msiof3;
Ben Dooks9f685bf2014-08-13 00:16:18 +040036 vin0 = &vin0;
37 vin1 = &vin1;
38 vin2 = &vin2;
39 vin3 = &vin3;
Wolfram Sang6b1d7c62014-02-16 10:40:58 +010040 };
41
Magnus Damm0468b2d2013-03-28 00:49:34 +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>;
50 clock-frequency = <1300000000>;
Benoit Coussonb989e132014-06-03 21:02:24 +090051 voltage-tolerance = <1>; /* 1% */
52 clocks = <&cpg_clocks R8A7790_CLK_Z>;
53 clock-latency = <300000>; /* 300 us */
54
55 /* kHz - uV - OPPs unknown yet */
56 operating-points = <1400000 1000000>,
57 <1225000 1000000>,
58 <1050000 1000000>,
59 < 875000 1000000>,
60 < 700000 1000000>,
61 < 350000 1000000>;
Magnus Damm0468b2d2013-03-28 00:49:34 +090062 };
Magnus Dammc1f95972013-08-29 08:22:17 +090063
64 cpu1: cpu@1 {
65 device_type = "cpu";
66 compatible = "arm,cortex-a15";
67 reg = <1>;
68 clock-frequency = <1300000000>;
69 };
70
71 cpu2: cpu@2 {
72 device_type = "cpu";
73 compatible = "arm,cortex-a15";
74 reg = <2>;
75 clock-frequency = <1300000000>;
76 };
77
78 cpu3: cpu@3 {
79 device_type = "cpu";
80 compatible = "arm,cortex-a15";
81 reg = <3>;
82 clock-frequency = <1300000000>;
83 };
Magnus Damm2007e742013-09-15 00:28:58 +090084
85 cpu4: cpu@4 {
86 device_type = "cpu";
87 compatible = "arm,cortex-a7";
88 reg = <0x100>;
89 clock-frequency = <780000000>;
90 };
91
92 cpu5: cpu@5 {
93 device_type = "cpu";
94 compatible = "arm,cortex-a7";
95 reg = <0x101>;
96 clock-frequency = <780000000>;
97 };
98
99 cpu6: cpu@6 {
100 device_type = "cpu";
101 compatible = "arm,cortex-a7";
102 reg = <0x102>;
103 clock-frequency = <780000000>;
104 };
105
106 cpu7: cpu@7 {
107 device_type = "cpu";
108 compatible = "arm,cortex-a7";
109 reg = <0x103>;
110 clock-frequency = <780000000>;
111 };
Magnus Damm0468b2d2013-03-28 00:49:34 +0900112 };
113
114 gic: interrupt-controller@f1001000 {
115 compatible = "arm,cortex-a15-gic";
116 #interrupt-cells = <3>;
117 #address-cells = <0>;
118 interrupt-controller;
Takashi Yoshii8585deb2013-03-29 16:49:17 +0900119 reg = <0 0xf1001000 0 0x1000>,
120 <0 0xf1002000 0 0x1000>,
121 <0 0xf1004000 0 0x2000>,
122 <0 0xf1006000 0 0x2000>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100123 interrupts = <1 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
Magnus Damm0468b2d2013-03-28 00:49:34 +0900124 };
125
Magnus Damm23de2272013-11-21 14:19:29 +0900126 gpio0: gpio@e6050000 {
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200127 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
Magnus Damm23de2272013-11-21 14:19:29 +0900128 reg = <0 0xe6050000 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100129 interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200130 #gpio-cells = <2>;
131 gpio-controller;
132 gpio-ranges = <&pfc 0 0 32>;
133 #interrupt-cells = <2>;
134 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200135 clocks = <&mstp9_clks R8A7790_CLK_GPIO0>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200136 };
137
Magnus Damm23de2272013-11-21 14:19:29 +0900138 gpio1: gpio@e6051000 {
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200139 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
Magnus Damm23de2272013-11-21 14:19:29 +0900140 reg = <0 0xe6051000 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100141 interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200142 #gpio-cells = <2>;
143 gpio-controller;
144 gpio-ranges = <&pfc 0 32 32>;
145 #interrupt-cells = <2>;
146 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200147 clocks = <&mstp9_clks R8A7790_CLK_GPIO1>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200148 };
149
Magnus Damm23de2272013-11-21 14:19:29 +0900150 gpio2: gpio@e6052000 {
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200151 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
Magnus Damm23de2272013-11-21 14:19:29 +0900152 reg = <0 0xe6052000 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100153 interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200154 #gpio-cells = <2>;
155 gpio-controller;
156 gpio-ranges = <&pfc 0 64 32>;
157 #interrupt-cells = <2>;
158 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200159 clocks = <&mstp9_clks R8A7790_CLK_GPIO2>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200160 };
161
Magnus Damm23de2272013-11-21 14:19:29 +0900162 gpio3: gpio@e6053000 {
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200163 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
Magnus Damm23de2272013-11-21 14:19:29 +0900164 reg = <0 0xe6053000 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100165 interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200166 #gpio-cells = <2>;
167 gpio-controller;
168 gpio-ranges = <&pfc 0 96 32>;
169 #interrupt-cells = <2>;
170 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200171 clocks = <&mstp9_clks R8A7790_CLK_GPIO3>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200172 };
173
Magnus Damm23de2272013-11-21 14:19:29 +0900174 gpio4: gpio@e6054000 {
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200175 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
Magnus Damm23de2272013-11-21 14:19:29 +0900176 reg = <0 0xe6054000 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100177 interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200178 #gpio-cells = <2>;
179 gpio-controller;
180 gpio-ranges = <&pfc 0 128 32>;
181 #interrupt-cells = <2>;
182 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200183 clocks = <&mstp9_clks R8A7790_CLK_GPIO4>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200184 };
185
Magnus Damm23de2272013-11-21 14:19:29 +0900186 gpio5: gpio@e6055000 {
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200187 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
Magnus Damm23de2272013-11-21 14:19:29 +0900188 reg = <0 0xe6055000 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100189 interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200190 #gpio-cells = <2>;
191 gpio-controller;
192 gpio-ranges = <&pfc 0 160 32>;
193 #interrupt-cells = <2>;
194 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200195 clocks = <&mstp9_clks R8A7790_CLK_GPIO5>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200196 };
197
Magnus Damm03e2f562013-11-20 16:59:30 +0900198 thermal@e61f0000 {
199 compatible = "renesas,thermal-r8a7790", "renesas,rcar-thermal";
200 reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>;
Magnus Damm03e2f562013-11-20 16:59:30 +0900201 interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevend3a439d2014-01-07 19:57:14 +0100202 clocks = <&mstp5_clks R8A7790_CLK_THERMAL>;
Magnus Damm03e2f562013-11-20 16:59:30 +0900203 };
204
Magnus Damm0468b2d2013-03-28 00:49:34 +0900205 timer {
206 compatible = "arm,armv7-timer";
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100207 interrupts = <1 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
208 <1 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
209 <1 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
210 <1 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
Magnus Damm0468b2d2013-03-28 00:49:34 +0900211 };
Magnus Damm8f5ec0a2013-03-28 00:49:54 +0900212
Laurent Pinchart39cf6d72014-07-09 15:12:37 +0200213 cmt0: timer@ffca0000 {
Simon Horman37757032014-09-08 09:27:45 +0900214 compatible = "renesas,cmt-48-r8a7790", "renesas,cmt-48-gen2";
Laurent Pinchart39cf6d72014-07-09 15:12:37 +0200215 reg = <0 0xffca0000 0 0x1004>;
216 interrupts = <0 142 IRQ_TYPE_LEVEL_HIGH>,
217 <0 143 IRQ_TYPE_LEVEL_HIGH>;
218 clocks = <&mstp1_clks R8A7790_CLK_CMT0>;
219 clock-names = "fck";
220
221 renesas,channels-mask = <0x60>;
222
223 status = "disabled";
224 };
225
226 cmt1: timer@e6130000 {
Simon Horman37757032014-09-08 09:27:45 +0900227 compatible = "renesas,cmt-48-r8a7790", "renesas,cmt-48-gen2";
Laurent Pinchart39cf6d72014-07-09 15:12:37 +0200228 reg = <0 0xe6130000 0 0x1004>;
229 interrupts = <0 120 IRQ_TYPE_LEVEL_HIGH>,
230 <0 121 IRQ_TYPE_LEVEL_HIGH>,
231 <0 122 IRQ_TYPE_LEVEL_HIGH>,
232 <0 123 IRQ_TYPE_LEVEL_HIGH>,
233 <0 124 IRQ_TYPE_LEVEL_HIGH>,
234 <0 125 IRQ_TYPE_LEVEL_HIGH>,
235 <0 126 IRQ_TYPE_LEVEL_HIGH>,
236 <0 127 IRQ_TYPE_LEVEL_HIGH>;
237 clocks = <&mstp3_clks R8A7790_CLK_CMT1>;
238 clock-names = "fck";
239
240 renesas,channels-mask = <0xff>;
241
242 status = "disabled";
243 };
244
Magnus Damm8f5ec0a2013-03-28 00:49:54 +0900245 irqc0: interrupt-controller@e61c0000 {
Magnus Damm220fc352013-11-20 09:07:40 +0900246 compatible = "renesas,irqc-r8a7790", "renesas,irqc";
Magnus Damm8f5ec0a2013-03-28 00:49:54 +0900247 #interrupt-cells = <2>;
248 interrupt-controller;
Takashi Yoshii8585deb2013-03-29 16:49:17 +0900249 reg = <0 0xe61c0000 0 0x200>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100250 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>,
251 <0 1 IRQ_TYPE_LEVEL_HIGH>,
252 <0 2 IRQ_TYPE_LEVEL_HIGH>,
253 <0 3 IRQ_TYPE_LEVEL_HIGH>;
Magnus Damm8f5ec0a2013-03-28 00:49:54 +0900254 };
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200255
Laurent Pinchartb9fea492014-07-19 01:50:24 +0200256 dmac0: dma-controller@e6700000 {
257 compatible = "renesas,rcar-dmac";
258 reg = <0 0xe6700000 0 0x20000>;
259 interrupts = <0 197 IRQ_TYPE_LEVEL_HIGH
260 0 200 IRQ_TYPE_LEVEL_HIGH
261 0 201 IRQ_TYPE_LEVEL_HIGH
262 0 202 IRQ_TYPE_LEVEL_HIGH
263 0 203 IRQ_TYPE_LEVEL_HIGH
264 0 204 IRQ_TYPE_LEVEL_HIGH
265 0 205 IRQ_TYPE_LEVEL_HIGH
266 0 206 IRQ_TYPE_LEVEL_HIGH
267 0 207 IRQ_TYPE_LEVEL_HIGH
268 0 208 IRQ_TYPE_LEVEL_HIGH
269 0 209 IRQ_TYPE_LEVEL_HIGH
270 0 210 IRQ_TYPE_LEVEL_HIGH
271 0 211 IRQ_TYPE_LEVEL_HIGH
272 0 212 IRQ_TYPE_LEVEL_HIGH
273 0 213 IRQ_TYPE_LEVEL_HIGH
274 0 214 IRQ_TYPE_LEVEL_HIGH>;
275 interrupt-names = "error",
276 "ch0", "ch1", "ch2", "ch3",
277 "ch4", "ch5", "ch6", "ch7",
278 "ch8", "ch9", "ch10", "ch11",
279 "ch12", "ch13", "ch14";
280 clocks = <&mstp2_clks R8A7790_CLK_SYS_DMAC0>;
281 clock-names = "fck";
282 #dma-cells = <1>;
283 dma-channels = <15>;
284 };
285
286 dmac1: dma-controller@e6720000 {
287 compatible = "renesas,rcar-dmac";
288 reg = <0 0xe6720000 0 0x20000>;
289 interrupts = <0 220 IRQ_TYPE_LEVEL_HIGH
290 0 216 IRQ_TYPE_LEVEL_HIGH
291 0 217 IRQ_TYPE_LEVEL_HIGH
292 0 218 IRQ_TYPE_LEVEL_HIGH
293 0 219 IRQ_TYPE_LEVEL_HIGH
294 0 308 IRQ_TYPE_LEVEL_HIGH
295 0 309 IRQ_TYPE_LEVEL_HIGH
296 0 310 IRQ_TYPE_LEVEL_HIGH
297 0 311 IRQ_TYPE_LEVEL_HIGH
298 0 312 IRQ_TYPE_LEVEL_HIGH
299 0 313 IRQ_TYPE_LEVEL_HIGH
300 0 314 IRQ_TYPE_LEVEL_HIGH
301 0 315 IRQ_TYPE_LEVEL_HIGH
302 0 316 IRQ_TYPE_LEVEL_HIGH
303 0 317 IRQ_TYPE_LEVEL_HIGH
304 0 318 IRQ_TYPE_LEVEL_HIGH>;
305 interrupt-names = "error",
306 "ch0", "ch1", "ch2", "ch3",
307 "ch4", "ch5", "ch6", "ch7",
308 "ch8", "ch9", "ch10", "ch11",
309 "ch12", "ch13", "ch14";
310 clocks = <&mstp2_clks R8A7790_CLK_SYS_DMAC1>;
311 clock-names = "fck";
312 #dma-cells = <1>;
313 dma-channels = <15>;
314 };
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200315 i2c0: i2c@e6508000 {
316 #address-cells = <1>;
317 #size-cells = <0>;
318 compatible = "renesas,i2c-r8a7790";
319 reg = <0 0xe6508000 0 0x40>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100320 interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooks2450bad2014-01-20 11:44:21 +0000321 clocks = <&mstp9_clks R8A7790_CLK_I2C0>;
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200322 status = "disabled";
323 };
324
325 i2c1: i2c@e6518000 {
326 #address-cells = <1>;
327 #size-cells = <0>;
328 compatible = "renesas,i2c-r8a7790";
329 reg = <0 0xe6518000 0 0x40>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100330 interrupts = <0 288 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooks2450bad2014-01-20 11:44:21 +0000331 clocks = <&mstp9_clks R8A7790_CLK_I2C1>;
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200332 status = "disabled";
333 };
334
335 i2c2: i2c@e6530000 {
336 #address-cells = <1>;
337 #size-cells = <0>;
338 compatible = "renesas,i2c-r8a7790";
339 reg = <0 0xe6530000 0 0x40>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100340 interrupts = <0 286 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooks2450bad2014-01-20 11:44:21 +0000341 clocks = <&mstp9_clks R8A7790_CLK_I2C2>;
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200342 status = "disabled";
343 };
344
345 i2c3: i2c@e6540000 {
346 #address-cells = <1>;
347 #size-cells = <0>;
348 compatible = "renesas,i2c-r8a7790";
349 reg = <0 0xe6540000 0 0x40>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100350 interrupts = <0 290 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooks2450bad2014-01-20 11:44:21 +0000351 clocks = <&mstp9_clks R8A7790_CLK_I2C3>;
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200352 status = "disabled";
353 };
354
Wolfram Sang05f39912014-03-25 19:56:29 +0100355 iic0: i2c@e6500000 {
356 #address-cells = <1>;
357 #size-cells = <0>;
358 compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic";
359 reg = <0 0xe6500000 0 0x425>;
360 interrupts = <0 174 IRQ_TYPE_LEVEL_HIGH>;
361 clocks = <&mstp3_clks R8A7790_CLK_IIC0>;
362 status = "disabled";
363 };
364
365 iic1: i2c@e6510000 {
366 #address-cells = <1>;
367 #size-cells = <0>;
368 compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic";
369 reg = <0 0xe6510000 0 0x425>;
370 interrupts = <0 175 IRQ_TYPE_LEVEL_HIGH>;
371 clocks = <&mstp3_clks R8A7790_CLK_IIC1>;
372 status = "disabled";
373 };
374
375 iic2: i2c@e6520000 {
376 #address-cells = <1>;
377 #size-cells = <0>;
378 compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic";
379 reg = <0 0xe6520000 0 0x425>;
380 interrupts = <0 176 IRQ_TYPE_LEVEL_HIGH>;
381 clocks = <&mstp3_clks R8A7790_CLK_IIC2>;
382 status = "disabled";
383 };
384
385 iic3: i2c@e60b0000 {
386 #address-cells = <1>;
387 #size-cells = <0>;
388 compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic";
389 reg = <0 0xe60b0000 0 0x425>;
390 interrupts = <0 173 IRQ_TYPE_LEVEL_HIGH>;
391 clocks = <&mstp9_clks R8A7790_CLK_IICDVFS>;
392 status = "disabled";
393 };
394
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200395 mmcif0: mmcif@ee200000 {
Magnus Damm063e85602013-11-20 09:05:53 +0900396 compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif";
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200397 reg = <0 0xee200000 0 0x80>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100398 interrupts = <0 169 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100399 clocks = <&mstp3_clks R8A7790_CLK_MMCIF0>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200400 reg-io-width = <4>;
401 status = "disabled";
402 };
403
Kuninori Morimotob718aa42013-10-21 19:36:13 -0700404 mmcif1: mmc@ee220000 {
Magnus Damm063e85602013-11-20 09:05:53 +0900405 compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif";
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200406 reg = <0 0xee220000 0 0x80>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100407 interrupts = <0 170 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100408 clocks = <&mstp3_clks R8A7790_CLK_MMCIF1>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200409 reg-io-width = <4>;
410 status = "disabled";
411 };
412
Laurent Pinchart9694c772013-05-09 15:05:57 +0200413 pfc: pfc@e6060000 {
414 compatible = "renesas,pfc-r8a7790";
415 reg = <0 0xe6060000 0 0x250>;
416 };
Olof Johansson55689bf2013-08-14 00:24:05 -0700417
Kuninori Morimotob718aa42013-10-21 19:36:13 -0700418 sdhi0: sd@ee100000 {
Guennadi Liakhovetskidf1d0582013-08-29 17:14:49 +0200419 compatible = "renesas,sdhi-r8a7790";
Ben Dooksd721a152013-12-16 12:38:48 +0000420 reg = <0 0xee100000 0 0x200>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100421 interrupts = <0 165 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100422 clocks = <&mstp3_clks R8A7790_CLK_SDHI0>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200423 cap-sd-highspeed;
424 status = "disabled";
425 };
426
Kuninori Morimotob718aa42013-10-21 19:36:13 -0700427 sdhi1: sd@ee120000 {
Guennadi Liakhovetskidf1d0582013-08-29 17:14:49 +0200428 compatible = "renesas,sdhi-r8a7790";
Ben Dooksd721a152013-12-16 12:38:48 +0000429 reg = <0 0xee120000 0 0x200>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100430 interrupts = <0 166 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100431 clocks = <&mstp3_clks R8A7790_CLK_SDHI1>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200432 cap-sd-highspeed;
433 status = "disabled";
434 };
435
Kuninori Morimotob718aa42013-10-21 19:36:13 -0700436 sdhi2: sd@ee140000 {
Guennadi Liakhovetskidf1d0582013-08-29 17:14:49 +0200437 compatible = "renesas,sdhi-r8a7790";
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200438 reg = <0 0xee140000 0 0x100>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100439 interrupts = <0 167 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100440 clocks = <&mstp3_clks R8A7790_CLK_SDHI2>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200441 cap-sd-highspeed;
442 status = "disabled";
443 };
444
Kuninori Morimotob718aa42013-10-21 19:36:13 -0700445 sdhi3: sd@ee160000 {
Guennadi Liakhovetskidf1d0582013-08-29 17:14:49 +0200446 compatible = "renesas,sdhi-r8a7790";
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200447 reg = <0 0xee160000 0 0x100>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100448 interrupts = <0 168 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100449 clocks = <&mstp3_clks R8A7790_CLK_SDHI3>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200450 cap-sd-highspeed;
451 status = "disabled";
452 };
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100453
Laurent Pinchart597af202013-10-29 16:23:12 +0100454 scifa0: serial@e6c40000 {
Laurent Pinchart59d2b512014-01-21 13:48:38 +0100455 compatible = "renesas,scifa-r8a7790", "renesas,scifa";
Laurent Pinchart597af202013-10-29 16:23:12 +0100456 reg = <0 0xe6c40000 0 64>;
Laurent Pinchart1f4c7452014-01-21 13:48:39 +0100457 interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100458 clocks = <&mstp2_clks R8A7790_CLK_SCIFA0>;
459 clock-names = "sci_ick";
460 status = "disabled";
461 };
462
463 scifa1: serial@e6c50000 {
Laurent Pinchart59d2b512014-01-21 13:48:38 +0100464 compatible = "renesas,scifa-r8a7790", "renesas,scifa";
Laurent Pinchart597af202013-10-29 16:23:12 +0100465 reg = <0 0xe6c50000 0 64>;
Laurent Pinchart1f4c7452014-01-21 13:48:39 +0100466 interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100467 clocks = <&mstp2_clks R8A7790_CLK_SCIFA1>;
468 clock-names = "sci_ick";
469 status = "disabled";
470 };
471
472 scifa2: serial@e6c60000 {
Laurent Pinchart59d2b512014-01-21 13:48:38 +0100473 compatible = "renesas,scifa-r8a7790", "renesas,scifa";
Laurent Pinchart597af202013-10-29 16:23:12 +0100474 reg = <0 0xe6c60000 0 64>;
Laurent Pinchart1f4c7452014-01-21 13:48:39 +0100475 interrupts = <0 151 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100476 clocks = <&mstp2_clks R8A7790_CLK_SCIFA2>;
477 clock-names = "sci_ick";
478 status = "disabled";
479 };
480
481 scifb0: serial@e6c20000 {
Laurent Pinchart59d2b512014-01-21 13:48:38 +0100482 compatible = "renesas,scifb-r8a7790", "renesas,scifb";
Laurent Pinchart597af202013-10-29 16:23:12 +0100483 reg = <0 0xe6c20000 0 64>;
Laurent Pinchart1f4c7452014-01-21 13:48:39 +0100484 interrupts = <0 148 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100485 clocks = <&mstp2_clks R8A7790_CLK_SCIFB0>;
486 clock-names = "sci_ick";
487 status = "disabled";
488 };
489
490 scifb1: serial@e6c30000 {
Laurent Pinchart59d2b512014-01-21 13:48:38 +0100491 compatible = "renesas,scifb-r8a7790", "renesas,scifb";
Laurent Pinchart597af202013-10-29 16:23:12 +0100492 reg = <0 0xe6c30000 0 64>;
Laurent Pinchart1f4c7452014-01-21 13:48:39 +0100493 interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100494 clocks = <&mstp2_clks R8A7790_CLK_SCIFB1>;
495 clock-names = "sci_ick";
496 status = "disabled";
497 };
498
499 scifb2: serial@e6ce0000 {
Laurent Pinchart59d2b512014-01-21 13:48:38 +0100500 compatible = "renesas,scifb-r8a7790", "renesas,scifb";
Laurent Pinchart597af202013-10-29 16:23:12 +0100501 reg = <0 0xe6ce0000 0 64>;
Laurent Pinchart1f4c7452014-01-21 13:48:39 +0100502 interrupts = <0 150 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100503 clocks = <&mstp2_clks R8A7790_CLK_SCIFB2>;
504 clock-names = "sci_ick";
505 status = "disabled";
506 };
507
508 scif0: serial@e6e60000 {
Laurent Pinchart59d2b512014-01-21 13:48:38 +0100509 compatible = "renesas,scif-r8a7790", "renesas,scif";
Laurent Pinchart597af202013-10-29 16:23:12 +0100510 reg = <0 0xe6e60000 0 64>;
Laurent Pinchart1f4c7452014-01-21 13:48:39 +0100511 interrupts = <0 152 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100512 clocks = <&mstp7_clks R8A7790_CLK_SCIF0>;
513 clock-names = "sci_ick";
514 status = "disabled";
515 };
516
517 scif1: serial@e6e68000 {
Laurent Pinchart59d2b512014-01-21 13:48:38 +0100518 compatible = "renesas,scif-r8a7790", "renesas,scif";
Laurent Pinchart597af202013-10-29 16:23:12 +0100519 reg = <0 0xe6e68000 0 64>;
Laurent Pinchart1f4c7452014-01-21 13:48:39 +0100520 interrupts = <0 153 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100521 clocks = <&mstp7_clks R8A7790_CLK_SCIF1>;
522 clock-names = "sci_ick";
523 status = "disabled";
524 };
525
526 hscif0: serial@e62c0000 {
Laurent Pinchart59d2b512014-01-21 13:48:38 +0100527 compatible = "renesas,hscif-r8a7790", "renesas,hscif";
Laurent Pinchart597af202013-10-29 16:23:12 +0100528 reg = <0 0xe62c0000 0 96>;
Laurent Pinchart1f4c7452014-01-21 13:48:39 +0100529 interrupts = <0 154 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100530 clocks = <&mstp7_clks R8A7790_CLK_HSCIF0>;
531 clock-names = "sci_ick";
532 status = "disabled";
533 };
534
535 hscif1: serial@e62c8000 {
Laurent Pinchart59d2b512014-01-21 13:48:38 +0100536 compatible = "renesas,hscif-r8a7790", "renesas,hscif";
Laurent Pinchart597af202013-10-29 16:23:12 +0100537 reg = <0 0xe62c8000 0 96>;
Laurent Pinchart1f4c7452014-01-21 13:48:39 +0100538 interrupts = <0 155 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100539 clocks = <&mstp7_clks R8A7790_CLK_HSCIF1>;
540 clock-names = "sci_ick";
541 status = "disabled";
542 };
543
Sergei Shtylyovd8913c62014-02-20 02:20:43 +0300544 ether: ethernet@ee700000 {
545 compatible = "renesas,ether-r8a7790";
546 reg = <0 0xee700000 0 0x400>;
547 interrupts = <0 162 IRQ_TYPE_LEVEL_HIGH>;
548 clocks = <&mstp8_clks R8A7790_CLK_ETHER>;
549 phy-mode = "rmii";
550 #address-cells = <1>;
551 #size-cells = <0>;
552 status = "disabled";
553 };
554
Valentine Barshakcde630f2014-01-14 21:05:30 +0400555 sata0: sata@ee300000 {
556 compatible = "renesas,sata-r8a7790";
557 reg = <0 0xee300000 0 0x2000>;
Valentine Barshakcde630f2014-01-14 21:05:30 +0400558 interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>;
559 clocks = <&mstp8_clks R8A7790_CLK_SATA0>;
560 status = "disabled";
561 };
562
563 sata1: sata@ee500000 {
564 compatible = "renesas,sata-r8a7790";
565 reg = <0 0xee500000 0 0x2000>;
Valentine Barshakcde630f2014-01-14 21:05:30 +0400566 interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>;
567 clocks = <&mstp8_clks R8A7790_CLK_SATA1>;
568 status = "disabled";
569 };
570
Ben Dooks9f685bf2014-08-13 00:16:18 +0400571 vin0: video@e6ef0000 {
572 compatible = "renesas,vin-r8a7790";
573 clocks = <&mstp8_clks R8A7790_CLK_VIN0>;
574 reg = <0 0xe6ef0000 0 0x1000>;
575 interrupts = <0 188 IRQ_TYPE_LEVEL_HIGH>;
576 status = "disabled";
577 };
578
579 vin1: video@e6ef1000 {
580 compatible = "renesas,vin-r8a7790";
581 clocks = <&mstp8_clks R8A7790_CLK_VIN1>;
582 reg = <0 0xe6ef1000 0 0x1000>;
583 interrupts = <0 189 IRQ_TYPE_LEVEL_HIGH>;
584 status = "disabled";
585 };
586
587 vin2: video@e6ef2000 {
588 compatible = "renesas,vin-r8a7790";
589 clocks = <&mstp8_clks R8A7790_CLK_VIN2>;
590 reg = <0 0xe6ef2000 0 0x1000>;
591 interrupts = <0 190 IRQ_TYPE_LEVEL_HIGH>;
592 status = "disabled";
593 };
594
595 vin3: video@e6ef3000 {
596 compatible = "renesas,vin-r8a7790";
597 clocks = <&mstp8_clks R8A7790_CLK_VIN3>;
598 reg = <0 0xe6ef3000 0 0x1000>;
599 interrupts = <0 191 IRQ_TYPE_LEVEL_HIGH>;
600 status = "disabled";
601 };
602
Laurent Pinchart3ac6a832014-01-21 16:00:46 +0100603 vsp1@fe920000 {
604 compatible = "renesas,vsp1";
605 reg = <0 0xfe920000 0 0x8000>;
606 interrupts = <0 266 IRQ_TYPE_LEVEL_HIGH>;
607 clocks = <&mstp1_clks R8A7790_CLK_VSP1_R>;
608
609 renesas,has-sru;
610 renesas,#rpf = <5>;
611 renesas,#uds = <1>;
612 renesas,#wpf = <4>;
613 };
614
615 vsp1@fe928000 {
616 compatible = "renesas,vsp1";
617 reg = <0 0xfe928000 0 0x8000>;
618 interrupts = <0 267 IRQ_TYPE_LEVEL_HIGH>;
619 clocks = <&mstp1_clks R8A7790_CLK_VSP1_S>;
620
621 renesas,has-lut;
622 renesas,has-sru;
623 renesas,#rpf = <5>;
624 renesas,#uds = <3>;
625 renesas,#wpf = <4>;
626 };
627
628 vsp1@fe930000 {
629 compatible = "renesas,vsp1";
630 reg = <0 0xfe930000 0 0x8000>;
631 interrupts = <0 246 IRQ_TYPE_LEVEL_HIGH>;
632 clocks = <&mstp1_clks R8A7790_CLK_VSP1_DU0>;
633
634 renesas,has-lif;
635 renesas,has-lut;
636 renesas,#rpf = <4>;
637 renesas,#uds = <1>;
638 renesas,#wpf = <4>;
639 };
640
641 vsp1@fe938000 {
642 compatible = "renesas,vsp1";
643 reg = <0 0xfe938000 0 0x8000>;
644 interrupts = <0 247 IRQ_TYPE_LEVEL_HIGH>;
645 clocks = <&mstp1_clks R8A7790_CLK_VSP1_DU1>;
646
647 renesas,has-lif;
648 renesas,has-lut;
649 renesas,#rpf = <4>;
650 renesas,#uds = <1>;
651 renesas,#wpf = <4>;
652 };
653
654 du: display@feb00000 {
655 compatible = "renesas,du-r8a7790";
656 reg = <0 0xfeb00000 0 0x70000>,
657 <0 0xfeb90000 0 0x1c>,
658 <0 0xfeb94000 0 0x1c>;
659 reg-names = "du", "lvds.0", "lvds.1";
660 interrupts = <0 256 IRQ_TYPE_LEVEL_HIGH>,
661 <0 268 IRQ_TYPE_LEVEL_HIGH>,
662 <0 269 IRQ_TYPE_LEVEL_HIGH>;
663 clocks = <&mstp7_clks R8A7790_CLK_DU0>,
664 <&mstp7_clks R8A7790_CLK_DU1>,
665 <&mstp7_clks R8A7790_CLK_DU2>,
666 <&mstp7_clks R8A7790_CLK_LVDS0>,
667 <&mstp7_clks R8A7790_CLK_LVDS1>;
668 clock-names = "du.0", "du.1", "du.2", "lvds.0", "lvds.1";
669 status = "disabled";
670
671 ports {
672 #address-cells = <1>;
673 #size-cells = <0>;
674
675 port@0 {
676 reg = <0>;
677 du_out_rgb: endpoint {
678 };
679 };
680 port@1 {
681 reg = <1>;
682 du_out_lvds0: endpoint {
683 };
684 };
685 port@2 {
686 reg = <2>;
687 du_out_lvds1: endpoint {
688 };
689 };
690 };
691 };
692
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100693 clocks {
694 #address-cells = <2>;
695 #size-cells = <2>;
696 ranges;
697
698 /* External root clock */
699 extal_clk: extal_clk {
700 compatible = "fixed-clock";
701 #clock-cells = <0>;
702 /* This value must be overriden by the board. */
703 clock-frequency = <0>;
704 clock-output-names = "extal";
705 };
706
Phil Edworthy51d17912014-06-13 10:37:16 +0100707 /* External PCIe clock - can be overridden by the board */
708 pcie_bus_clk: pcie_bus_clk {
709 compatible = "fixed-clock";
710 #clock-cells = <0>;
711 clock-frequency = <100000000>;
712 clock-output-names = "pcie_bus";
713 status = "disabled";
714 };
715
Kuninori Morimotoc7c2ec32014-01-13 18:25:39 -0800716 /*
717 * The external audio clocks are configured as 0 Hz fixed frequency clocks by
718 * default. Boards that provide audio clocks should override them.
719 */
720 audio_clk_a: audio_clk_a {
721 compatible = "fixed-clock";
722 #clock-cells = <0>;
723 clock-frequency = <0>;
724 clock-output-names = "audio_clk_a";
725 };
726 audio_clk_b: audio_clk_b {
727 compatible = "fixed-clock";
728 #clock-cells = <0>;
729 clock-frequency = <0>;
730 clock-output-names = "audio_clk_b";
731 };
732 audio_clk_c: audio_clk_c {
733 compatible = "fixed-clock";
734 #clock-cells = <0>;
735 clock-frequency = <0>;
736 clock-output-names = "audio_clk_c";
737 };
738
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100739 /* Special CPG clocks */
740 cpg_clocks: cpg_clocks@e6150000 {
741 compatible = "renesas,r8a7790-cpg-clocks",
742 "renesas,rcar-gen2-cpg-clocks";
743 reg = <0 0xe6150000 0 0x1000>;
744 clocks = <&extal_clk>;
745 #clock-cells = <1>;
746 clock-output-names = "main", "pll0", "pll1", "pll3",
747 "lb", "qspi", "sdh", "sd0", "sd1",
748 "z";
749 };
750
751 /* Variable factor clocks */
752 sd2_clk: sd2_clk@e6150078 {
753 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
754 reg = <0 0xe6150078 0 4>;
755 clocks = <&pll1_div2_clk>;
756 #clock-cells = <0>;
757 clock-output-names = "sd2";
758 };
759 sd3_clk: sd3_clk@e615007c {
760 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
761 reg = <0 0xe615007c 0 4>;
762 clocks = <&pll1_div2_clk>;
763 #clock-cells = <0>;
764 clock-output-names = "sd3";
765 };
766 mmc0_clk: mmc0_clk@e6150240 {
767 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
768 reg = <0 0xe6150240 0 4>;
769 clocks = <&pll1_div2_clk>;
770 #clock-cells = <0>;
771 clock-output-names = "mmc0";
772 };
773 mmc1_clk: mmc1_clk@e6150244 {
774 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
775 reg = <0 0xe6150244 0 4>;
776 clocks = <&pll1_div2_clk>;
777 #clock-cells = <0>;
778 clock-output-names = "mmc1";
779 };
780 ssp_clk: ssp_clk@e6150248 {
781 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
782 reg = <0 0xe6150248 0 4>;
783 clocks = <&pll1_div2_clk>;
784 #clock-cells = <0>;
785 clock-output-names = "ssp";
786 };
787 ssprs_clk: ssprs_clk@e615024c {
788 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
789 reg = <0 0xe615024c 0 4>;
790 clocks = <&pll1_div2_clk>;
791 #clock-cells = <0>;
792 clock-output-names = "ssprs";
793 };
794
795 /* Fixed factor clocks */
796 pll1_div2_clk: pll1_div2_clk {
797 compatible = "fixed-factor-clock";
798 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
799 #clock-cells = <0>;
800 clock-div = <2>;
801 clock-mult = <1>;
802 clock-output-names = "pll1_div2";
803 };
804 z2_clk: z2_clk {
805 compatible = "fixed-factor-clock";
806 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
807 #clock-cells = <0>;
808 clock-div = <2>;
809 clock-mult = <1>;
810 clock-output-names = "z2";
811 };
812 zg_clk: zg_clk {
813 compatible = "fixed-factor-clock";
814 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
815 #clock-cells = <0>;
816 clock-div = <3>;
817 clock-mult = <1>;
818 clock-output-names = "zg";
819 };
820 zx_clk: zx_clk {
821 compatible = "fixed-factor-clock";
822 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
823 #clock-cells = <0>;
824 clock-div = <3>;
825 clock-mult = <1>;
826 clock-output-names = "zx";
827 };
828 zs_clk: zs_clk {
829 compatible = "fixed-factor-clock";
830 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
831 #clock-cells = <0>;
832 clock-div = <6>;
833 clock-mult = <1>;
834 clock-output-names = "zs";
835 };
836 hp_clk: hp_clk {
837 compatible = "fixed-factor-clock";
838 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
839 #clock-cells = <0>;
840 clock-div = <12>;
841 clock-mult = <1>;
842 clock-output-names = "hp";
843 };
844 i_clk: i_clk {
845 compatible = "fixed-factor-clock";
846 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
847 #clock-cells = <0>;
848 clock-div = <2>;
849 clock-mult = <1>;
850 clock-output-names = "i";
851 };
852 b_clk: b_clk {
853 compatible = "fixed-factor-clock";
854 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
855 #clock-cells = <0>;
856 clock-div = <12>;
857 clock-mult = <1>;
858 clock-output-names = "b";
859 };
860 p_clk: p_clk {
861 compatible = "fixed-factor-clock";
862 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
863 #clock-cells = <0>;
864 clock-div = <24>;
865 clock-mult = <1>;
866 clock-output-names = "p";
867 };
868 cl_clk: cl_clk {
869 compatible = "fixed-factor-clock";
870 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
871 #clock-cells = <0>;
872 clock-div = <48>;
873 clock-mult = <1>;
874 clock-output-names = "cl";
875 };
876 m2_clk: m2_clk {
877 compatible = "fixed-factor-clock";
878 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
879 #clock-cells = <0>;
880 clock-div = <8>;
881 clock-mult = <1>;
882 clock-output-names = "m2";
883 };
884 imp_clk: imp_clk {
885 compatible = "fixed-factor-clock";
886 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
887 #clock-cells = <0>;
888 clock-div = <4>;
889 clock-mult = <1>;
890 clock-output-names = "imp";
891 };
892 rclk_clk: rclk_clk {
893 compatible = "fixed-factor-clock";
894 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
895 #clock-cells = <0>;
896 clock-div = <(48 * 1024)>;
897 clock-mult = <1>;
898 clock-output-names = "rclk";
899 };
900 oscclk_clk: oscclk_clk {
901 compatible = "fixed-factor-clock";
902 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
903 #clock-cells = <0>;
904 clock-div = <(12 * 1024)>;
905 clock-mult = <1>;
906 clock-output-names = "oscclk";
907 };
908 zb3_clk: zb3_clk {
909 compatible = "fixed-factor-clock";
910 clocks = <&cpg_clocks R8A7790_CLK_PLL3>;
911 #clock-cells = <0>;
912 clock-div = <4>;
913 clock-mult = <1>;
914 clock-output-names = "zb3";
915 };
916 zb3d2_clk: zb3d2_clk {
917 compatible = "fixed-factor-clock";
918 clocks = <&cpg_clocks R8A7790_CLK_PLL3>;
919 #clock-cells = <0>;
920 clock-div = <8>;
921 clock-mult = <1>;
922 clock-output-names = "zb3d2";
923 };
924 ddr_clk: ddr_clk {
925 compatible = "fixed-factor-clock";
926 clocks = <&cpg_clocks R8A7790_CLK_PLL3>;
927 #clock-cells = <0>;
928 clock-div = <8>;
929 clock-mult = <1>;
930 clock-output-names = "ddr";
931 };
932 mp_clk: mp_clk {
933 compatible = "fixed-factor-clock";
934 clocks = <&pll1_div2_clk>;
935 #clock-cells = <0>;
936 clock-div = <15>;
937 clock-mult = <1>;
938 clock-output-names = "mp";
939 };
940 cp_clk: cp_clk {
941 compatible = "fixed-factor-clock";
942 clocks = <&extal_clk>;
943 #clock-cells = <0>;
944 clock-div = <2>;
945 clock-mult = <1>;
946 clock-output-names = "cp";
947 };
948
949 /* Gate clocks */
Laurent Pinchart9d909512013-12-19 16:51:01 +0100950 mstp0_clks: mstp0_clks@e6150130 {
951 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
952 reg = <0 0xe6150130 0 4>, <0 0xe6150030 0 4>;
953 clocks = <&mp_clk>;
954 #clock-cells = <1>;
955 renesas,clock-indices = <R8A7790_CLK_MSIOF0>;
956 clock-output-names = "msiof0";
957 };
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100958 mstp1_clks: mstp1_clks@e6150134 {
959 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
960 reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>;
Mikhail Ulyanovda076a82014-08-19 16:50:49 +0400961 clocks = <&m2_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>,
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100962 <&cp_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>,
963 <&zs_clk>;
964 #clock-cells = <1>;
965 renesas,clock-indices = <
Mikhail Ulyanovda076a82014-08-19 16:50:49 +0400966 R8A7790_CLK_JPU R8A7790_CLK_TMU1 R8A7790_CLK_TMU3 R8A7790_CLK_TMU2
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100967 R8A7790_CLK_CMT0 R8A7790_CLK_TMU0 R8A7790_CLK_VSP1_DU1
Laurent Pinchart79ea9932014-04-02 16:31:46 +0200968 R8A7790_CLK_VSP1_DU0 R8A7790_CLK_VSP1_R R8A7790_CLK_VSP1_S
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100969 >;
970 clock-output-names =
Mikhail Ulyanovda076a82014-08-19 16:50:49 +0400971 "jpu", "tmu1", "tmu3", "tmu2", "cmt0", "tmu0", "vsp1-du1",
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100972 "vsp1-du0", "vsp1-rt", "vsp1-sy";
973 };
974 mstp2_clks: mstp2_clks@e6150138 {
975 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
976 reg = <0 0xe6150138 0 4>, <0 0xe6150040 0 4>;
977 clocks = <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>,
Laurent Pinchartc819acd2014-07-19 01:50:23 +0200978 <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>, <&zs_clk>,
979 <&zs_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100980 #clock-cells = <1>;
981 renesas,clock-indices = <
982 R8A7790_CLK_SCIFA2 R8A7790_CLK_SCIFA1 R8A7790_CLK_SCIFA0
Laurent Pinchart9d909512013-12-19 16:51:01 +0100983 R8A7790_CLK_MSIOF2 R8A7790_CLK_SCIFB0 R8A7790_CLK_SCIFB1
984 R8A7790_CLK_MSIOF1 R8A7790_CLK_MSIOF3 R8A7790_CLK_SCIFB2
Laurent Pinchartc819acd2014-07-19 01:50:23 +0200985 R8A7790_CLK_SYS_DMAC1 R8A7790_CLK_SYS_DMAC0
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100986 >;
987 clock-output-names =
Laurent Pinchart9d909512013-12-19 16:51:01 +0100988 "scifa2", "scifa1", "scifa0", "msiof2", "scifb0",
Laurent Pinchartc819acd2014-07-19 01:50:23 +0200989 "scifb1", "msiof1", "msiof3", "scifb2",
990 "sys-dmac1", "sys-dmac0";
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100991 };
992 mstp3_clks: mstp3_clks@e615013c {
993 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
994 reg = <0 0xe615013c 0 4>, <0 0xe6150048 0 4>;
Wolfram Sang17465142014-03-11 22:24:37 +0100995 clocks = <&hp_clk>, <&cp_clk>, <&mmc1_clk>, <&sd3_clk>,
996 <&sd2_clk>, <&cpg_clocks R8A7790_CLK_SD1>, <&cpg_clocks R8A7790_CLK_SD0>, <&mmc0_clk>,
Phil Edworthyecafea82014-06-13 10:37:15 +0100997 <&hp_clk>, <&mp_clk>, <&hp_clk>, <&mp_clk>, <&rclk_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100998 #clock-cells = <1>;
999 renesas,clock-indices = <
Wolfram Sang17465142014-03-11 22:24:37 +01001000 R8A7790_CLK_IIC2 R8A7790_CLK_TPU0 R8A7790_CLK_MMCIF1 R8A7790_CLK_SDHI3
1001 R8A7790_CLK_SDHI2 R8A7790_CLK_SDHI1 R8A7790_CLK_SDHI0 R8A7790_CLK_MMCIF0
Phil Edworthyecafea82014-06-13 10:37:15 +01001002 R8A7790_CLK_IIC0 R8A7790_CLK_PCIEC R8A7790_CLK_IIC1 R8A7790_CLK_SSUSB R8A7790_CLK_CMT1
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001003 >;
1004 clock-output-names =
Wolfram Sang17465142014-03-11 22:24:37 +01001005 "iic2", "tpu0", "mmcif1", "sdhi3",
1006 "sdhi2", "sdhi1", "sdhi0", "mmcif0",
Phil Edworthyecafea82014-06-13 10:37:15 +01001007 "iic0", "pciec", "iic1", "ssusb", "cmt1";
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001008 };
1009 mstp5_clks: mstp5_clks@e6150144 {
1010 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1011 reg = <0 0xe6150144 0 4>, <0 0xe615003c 0 4>;
1012 clocks = <&extal_clk>, <&p_clk>;
1013 #clock-cells = <1>;
1014 renesas,clock-indices = <R8A7790_CLK_THERMAL R8A7790_CLK_PWM>;
1015 clock-output-names = "thermal", "pwm";
1016 };
1017 mstp7_clks: mstp7_clks@e615014c {
1018 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1019 reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>;
1020 clocks = <&mp_clk>, <&mp_clk>, <&zs_clk>, <&zs_clk>, <&p_clk>,
1021 <&p_clk>, <&zx_clk>, <&zx_clk>, <&zx_clk>, <&zx_clk>,
1022 <&zx_clk>;
1023 #clock-cells = <1>;
1024 renesas,clock-indices = <
1025 R8A7790_CLK_EHCI R8A7790_CLK_HSUSB R8A7790_CLK_HSCIF1
1026 R8A7790_CLK_HSCIF0 R8A7790_CLK_SCIF1 R8A7790_CLK_SCIF0
1027 R8A7790_CLK_DU2 R8A7790_CLK_DU1 R8A7790_CLK_DU0
1028 R8A7790_CLK_LVDS1 R8A7790_CLK_LVDS0
1029 >;
1030 clock-output-names =
1031 "ehci", "hsusb", "hscif1", "hscif0", "scif1",
1032 "scif0", "du2", "du1", "du0", "lvds1", "lvds0";
1033 };
1034 mstp8_clks: mstp8_clks@e6150990 {
1035 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1036 reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>;
Laurent Pinchartbccccc32014-01-07 09:22:55 +01001037 clocks = <&zg_clk>, <&zg_clk>, <&zg_clk>, <&zg_clk>, <&p_clk>,
1038 <&zs_clk>, <&zs_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001039 #clock-cells = <1>;
Laurent Pinchart3f2beaa2014-01-07 09:22:53 +01001040 renesas,clock-indices = <
1041 R8A7790_CLK_VIN3 R8A7790_CLK_VIN2 R8A7790_CLK_VIN1
Laurent Pinchartbccccc32014-01-07 09:22:55 +01001042 R8A7790_CLK_VIN0 R8A7790_CLK_ETHER R8A7790_CLK_SATA1
1043 R8A7790_CLK_SATA0
Laurent Pinchart3f2beaa2014-01-07 09:22:53 +01001044 >;
Laurent Pinchartbccccc32014-01-07 09:22:55 +01001045 clock-output-names =
1046 "vin3", "vin2", "vin1", "vin0", "ether", "sata1", "sata0";
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001047 };
1048 mstp9_clks: mstp9_clks@e6150994 {
1049 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1050 reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +02001051 clocks = <&cp_clk>, <&cp_clk>, <&cp_clk>,
1052 <&cp_clk>, <&cp_clk>, <&cp_clk>,
1053 <&p_clk>, <&p_clk>, <&cpg_clocks R8A7790_CLK_QSPI>, <&cp_clk>,
Laurent Pinchart3672b052014-04-01 13:02:17 +02001054 <&hp_clk>, <&hp_clk>, <&hp_clk>, <&hp_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001055 #clock-cells = <1>;
1056 renesas,clock-indices = <
Geert Uytterhoeven81f68832014-04-23 10:25:27 +02001057 R8A7790_CLK_GPIO5 R8A7790_CLK_GPIO4 R8A7790_CLK_GPIO3
1058 R8A7790_CLK_GPIO2 R8A7790_CLK_GPIO1 R8A7790_CLK_GPIO0
Wolfram Sang17465142014-03-11 22:24:37 +01001059 R8A7790_CLK_RCAN1 R8A7790_CLK_RCAN0 R8A7790_CLK_QSPI_MOD R8A7790_CLK_IICDVFS
1060 R8A7790_CLK_I2C3 R8A7790_CLK_I2C2 R8A7790_CLK_I2C1 R8A7790_CLK_I2C0
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001061 >;
Laurent Pinchart91b56ca2013-12-19 16:51:03 +01001062 clock-output-names =
Geert Uytterhoeven81f68832014-04-23 10:25:27 +02001063 "gpio5", "gpio4", "gpio3", "gpio2", "gpio1", "gpio0",
Wolfram Sang17465142014-03-11 22:24:37 +01001064 "rcan1", "rcan0", "qspi_mod", "iic3",
1065 "i2c3", "i2c2", "i2c1", "i2c0";
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001066 };
Kuninori Morimotobcde3722014-06-10 23:53:27 -07001067 mstp10_clks: mstp10_clks@e6150998 {
1068 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
1069 reg = <0 0xe6150998 0 4>, <0 0xe61509a8 0 4>;
1070 clocks = <&p_clk>,
1071 <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
1072 <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
1073 <&p_clk>,
1074 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
1075 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
1076 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
1077 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
1078 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>,
1079 <&mstp10_clks R8A7790_CLK_SCU_ALL>, <&mstp10_clks R8A7790_CLK_SCU_ALL>;
1080
1081 #clock-cells = <1>;
1082 clock-indices = <
1083 R8A7790_CLK_SSI_ALL
1084 R8A7790_CLK_SSI9 R8A7790_CLK_SSI8 R8A7790_CLK_SSI7 R8A7790_CLK_SSI6 R8A7790_CLK_SSI5
1085 R8A7790_CLK_SSI4 R8A7790_CLK_SSI3 R8A7790_CLK_SSI2 R8A7790_CLK_SSI1 R8A7790_CLK_SSI0
1086 R8A7790_CLK_SCU_ALL
1087 R8A7790_CLK_SCU_DVC1 R8A7790_CLK_SCU_DVC0
1088 R8A7790_CLK_SCU_SRC9 R8A7790_CLK_SCU_SRC8 R8A7790_CLK_SCU_SRC7 R8A7790_CLK_SCU_SRC6 R8A7790_CLK_SCU_SRC5
1089 R8A7790_CLK_SCU_SRC4 R8A7790_CLK_SCU_SRC3 R8A7790_CLK_SCU_SRC2 R8A7790_CLK_SCU_SRC1 R8A7790_CLK_SCU_SRC0
1090 >;
1091 clock-output-names =
1092 "ssi-all",
1093 "ssi9", "ssi8", "ssi7", "ssi6", "ssi5",
1094 "ssi4", "ssi3", "ssi2", "ssi1", "ssi0",
1095 "scu-all",
1096 "scu-dvc1", "scu-dvc0",
1097 "scu-src9", "scu-src8", "scu-src7", "scu-src6", "scu-src5",
1098 "scu-src4", "scu-src3", "scu-src2", "scu-src1", "scu-src0";
1099 };
Laurent Pinchart22a1f592013-12-11 15:05:14 +01001100 };
Geert Uytterhoeven7053e132014-02-10 11:47:29 +01001101
Geert Uytterhoevenfad6d452014-02-25 11:30:13 +01001102 qspi: spi@e6b10000 {
Geert Uytterhoeven7053e132014-02-10 11:47:29 +01001103 compatible = "renesas,qspi-r8a7790", "renesas,qspi";
1104 reg = <0 0xe6b10000 0 0x2c>;
Geert Uytterhoeven7053e132014-02-10 11:47:29 +01001105 interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>;
1106 clocks = <&mstp9_clks R8A7790_CLK_QSPI_MOD>;
Geert Uytterhoeven37cf3d62014-08-06 14:59:08 +02001107 dmas = <&dmac0 0x17>, <&dmac0 0x18>;
1108 dma-names = "tx", "rx";
Geert Uytterhoeven7053e132014-02-10 11:47:29 +01001109 num-cs = <1>;
1110 #address-cells = <1>;
1111 #size-cells = <0>;
1112 status = "disabled";
1113 };
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001114
1115 msiof0: spi@e6e20000 {
1116 compatible = "renesas,msiof-r8a7790";
Geert Uytterhoevenfbff6682014-08-06 14:59:09 +02001117 reg = <0 0xe6e20000 0 0x0064>, <0 0xe7e20000 0 0x0064>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001118 interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>;
1119 clocks = <&mstp0_clks R8A7790_CLK_MSIOF0>;
Geert Uytterhoevenfbff6682014-08-06 14:59:09 +02001120 dmas = <&dmac0 0x51>, <&dmac0 0x52>;
1121 dma-names = "tx", "rx";
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001122 #address-cells = <1>;
1123 #size-cells = <0>;
1124 status = "disabled";
1125 };
1126
1127 msiof1: spi@e6e10000 {
1128 compatible = "renesas,msiof-r8a7790";
Geert Uytterhoevenfbff6682014-08-06 14:59:09 +02001129 reg = <0 0xe6e10000 0 0x0064>, <0 0xe7e10000 0 0x0064>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001130 interrupts = <0 157 IRQ_TYPE_LEVEL_HIGH>;
1131 clocks = <&mstp2_clks R8A7790_CLK_MSIOF1>;
Geert Uytterhoevenfbff6682014-08-06 14:59:09 +02001132 dmas = <&dmac0 0x55>, <&dmac0 0x56>;
1133 dma-names = "tx", "rx";
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001134 #address-cells = <1>;
1135 #size-cells = <0>;
1136 status = "disabled";
1137 };
1138
1139 msiof2: spi@e6e00000 {
1140 compatible = "renesas,msiof-r8a7790";
Geert Uytterhoevenfbff6682014-08-06 14:59:09 +02001141 reg = <0 0xe6e00000 0 0x0064>, <0 0xe7e00000 0 0x0064>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001142 interrupts = <0 158 IRQ_TYPE_LEVEL_HIGH>;
1143 clocks = <&mstp2_clks R8A7790_CLK_MSIOF2>;
Geert Uytterhoevenfbff6682014-08-06 14:59:09 +02001144 dmas = <&dmac0 0x41>, <&dmac0 0x42>;
1145 dma-names = "tx", "rx";
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001146 #address-cells = <1>;
1147 #size-cells = <0>;
1148 status = "disabled";
1149 };
1150
1151 msiof3: spi@e6c90000 {
1152 compatible = "renesas,msiof-r8a7790";
Geert Uytterhoevenfbff6682014-08-06 14:59:09 +02001153 reg = <0 0xe6c90000 0 0x0064>, <0 0xe7c90000 0 0x0064>;
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001154 interrupts = <0 159 IRQ_TYPE_LEVEL_HIGH>;
1155 clocks = <&mstp2_clks R8A7790_CLK_MSIOF3>;
Geert Uytterhoevenfbff6682014-08-06 14:59:09 +02001156 dmas = <&dmac0 0x45>, <&dmac0 0x46>;
1157 dma-names = "tx", "rx";
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +01001158 #address-cells = <1>;
1159 #size-cells = <0>;
1160 status = "disabled";
1161 };
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001162
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001163 pci0: pci@ee090000 {
1164 compatible = "renesas,pci-r8a7790";
1165 device_type = "pci";
1166 clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
1167 reg = <0 0xee090000 0 0xc00>,
1168 <0 0xee080000 0 0x1100>;
1169 interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
1170 status = "disabled";
1171
1172 bus-range = <0 0>;
1173 #address-cells = <3>;
1174 #size-cells = <2>;
1175 #interrupt-cells = <1>;
1176 ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>;
1177 interrupt-map-mask = <0xff00 0 0 0x7>;
1178 interrupt-map = <0x0000 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH
Geert Uytterhoeven517ec802014-06-30 11:49:53 +02001179 0x0800 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH
1180 0x1000 0 0 2 &gic 0 108 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001181 };
1182
1183 pci1: pci@ee0b0000 {
1184 compatible = "renesas,pci-r8a7790";
1185 device_type = "pci";
1186 clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
1187 reg = <0 0xee0b0000 0 0xc00>,
1188 <0 0xee0a0000 0 0x1100>;
1189 interrupts = <0 112 IRQ_TYPE_LEVEL_HIGH>;
1190 status = "disabled";
1191
1192 bus-range = <1 1>;
1193 #address-cells = <3>;
1194 #size-cells = <2>;
1195 #interrupt-cells = <1>;
1196 ranges = <0x02000000 0 0xee0a0000 0 0xee0a0000 0 0x00010000>;
1197 interrupt-map-mask = <0xff00 0 0 0x7>;
1198 interrupt-map = <0x0000 0 0 1 &gic 0 112 IRQ_TYPE_LEVEL_HIGH
Geert Uytterhoeven517ec802014-06-30 11:49:53 +02001199 0x0800 0 0 1 &gic 0 112 IRQ_TYPE_LEVEL_HIGH
1200 0x1000 0 0 2 &gic 0 112 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001201 };
1202
1203 pci2: pci@ee0d0000 {
1204 compatible = "renesas,pci-r8a7790";
1205 device_type = "pci";
1206 clocks = <&mstp7_clks R8A7790_CLK_EHCI>;
1207 reg = <0 0xee0d0000 0 0xc00>,
1208 <0 0xee0c0000 0 0x1100>;
1209 interrupts = <0 113 IRQ_TYPE_LEVEL_HIGH>;
1210 status = "disabled";
1211
1212 bus-range = <2 2>;
1213 #address-cells = <3>;
1214 #size-cells = <2>;
1215 #interrupt-cells = <1>;
1216 ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>;
1217 interrupt-map-mask = <0xff00 0 0 0x7>;
1218 interrupt-map = <0x0000 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH
Geert Uytterhoeven517ec802014-06-30 11:49:53 +02001219 0x0800 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH
1220 0x1000 0 0 2 &gic 0 113 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooksff4f3eb2014-06-24 21:59:54 +04001221 };
1222
Phil Edworthy745329d2014-06-13 10:37:17 +01001223 pciec: pcie@fe000000 {
1224 compatible = "renesas,pcie-r8a7790";
1225 reg = <0 0xfe000000 0 0x80000>;
1226 #address-cells = <3>;
1227 #size-cells = <2>;
1228 bus-range = <0x00 0xff>;
1229 device_type = "pci";
1230 ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000
1231 0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000
1232 0x02000000 0 0x30000000 0 0x30000000 0 0x08000000
1233 0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
1234 /* Map all possible DDR as inbound ranges */
1235 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000
1236 0x43000000 1 0x80000000 1 0x80000000 0 0x80000000>;
1237 interrupts = <0 116 IRQ_TYPE_LEVEL_HIGH>,
1238 <0 117 IRQ_TYPE_LEVEL_HIGH>,
1239 <0 118 IRQ_TYPE_LEVEL_HIGH>;
1240 #interrupt-cells = <1>;
1241 interrupt-map-mask = <0 0 0 0>;
1242 interrupt-map = <0 0 0 0 &gic 0 116 IRQ_TYPE_LEVEL_HIGH>;
1243 clocks = <&mstp3_clks R8A7790_CLK_PCIEC>, <&pcie_bus_clk>;
1244 clock-names = "pcie", "pcie_bus";
1245 status = "disabled";
1246 };
1247
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001248 rcar_sound: rcar_sound@0xec500000 {
1249 #sound-dai-cells = <1>;
1250 compatible = "renesas,rcar_sound-r8a7790", "renesas,rcar_sound-gen2", "renesas,rcar_sound";
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001251 reg = <0 0xec500000 0 0x1000>, /* SCU */
1252 <0 0xec5a0000 0 0x100>, /* ADG */
1253 <0 0xec540000 0 0x1000>, /* SSIU */
1254 <0 0xec541000 0 0x1280>; /* SSI */
1255 clocks = <&mstp10_clks R8A7790_CLK_SSI_ALL>,
1256 <&mstp10_clks R8A7790_CLK_SSI9>, <&mstp10_clks R8A7790_CLK_SSI8>,
1257 <&mstp10_clks R8A7790_CLK_SSI7>, <&mstp10_clks R8A7790_CLK_SSI6>,
1258 <&mstp10_clks R8A7790_CLK_SSI5>, <&mstp10_clks R8A7790_CLK_SSI4>,
1259 <&mstp10_clks R8A7790_CLK_SSI3>, <&mstp10_clks R8A7790_CLK_SSI2>,
1260 <&mstp10_clks R8A7790_CLK_SSI1>, <&mstp10_clks R8A7790_CLK_SSI0>,
1261 <&mstp10_clks R8A7790_CLK_SCU_SRC9>, <&mstp10_clks R8A7790_CLK_SCU_SRC8>,
1262 <&mstp10_clks R8A7790_CLK_SCU_SRC7>, <&mstp10_clks R8A7790_CLK_SCU_SRC6>,
1263 <&mstp10_clks R8A7790_CLK_SCU_SRC5>, <&mstp10_clks R8A7790_CLK_SCU_SRC4>,
1264 <&mstp10_clks R8A7790_CLK_SCU_SRC3>, <&mstp10_clks R8A7790_CLK_SCU_SRC2>,
1265 <&mstp10_clks R8A7790_CLK_SCU_SRC1>, <&mstp10_clks R8A7790_CLK_SCU_SRC0>,
Kuninori Morimoto334d69a2014-06-25 17:52:17 -07001266 <&mstp10_clks R8A7790_CLK_SCU_DVC0>, <&mstp10_clks R8A7790_CLK_SCU_DVC1>,
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001267 <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>, <&m2_clk>;
1268 clock-names = "ssi-all",
1269 "ssi.9", "ssi.8", "ssi.7", "ssi.6", "ssi.5",
1270 "ssi.4", "ssi.3", "ssi.2", "ssi.1", "ssi.0",
1271 "src.9", "src.8", "src.7", "src.6", "src.5",
1272 "src.4", "src.3", "src.2", "src.1", "src.0",
Kuninori Morimoto334d69a2014-06-25 17:52:17 -07001273 "dvc.0", "dvc.1",
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001274 "clk_a", "clk_b", "clk_c", "clk_i";
1275
1276 status = "disabled";
1277
Kuninori Morimoto334d69a2014-06-25 17:52:17 -07001278 rcar_sound,dvc {
1279 dvc0: dvc@0 { };
1280 dvc1: dvc@1 { };
1281 };
1282
Kuninori Morimoto7df2fd52014-06-10 23:53:54 -07001283 rcar_sound,src {
1284 src0: src@0 { };
1285 src1: src@1 { };
1286 src2: src@2 { };
1287 src3: src@3 { };
1288 src4: src@4 { };
1289 src5: src@5 { };
1290 src6: src@6 { };
1291 src7: src@7 { };
1292 src8: src@8 { };
1293 src9: src@9 { };
1294 };
1295
1296 rcar_sound,ssi {
1297 ssi0: ssi@0 { interrupts = <0 370 IRQ_TYPE_LEVEL_HIGH>; };
1298 ssi1: ssi@1 { interrupts = <0 371 IRQ_TYPE_LEVEL_HIGH>; };
1299 ssi2: ssi@2 { interrupts = <0 372 IRQ_TYPE_LEVEL_HIGH>; };
1300 ssi3: ssi@3 { interrupts = <0 373 IRQ_TYPE_LEVEL_HIGH>; };
1301 ssi4: ssi@4 { interrupts = <0 374 IRQ_TYPE_LEVEL_HIGH>; };
1302 ssi5: ssi@5 { interrupts = <0 375 IRQ_TYPE_LEVEL_HIGH>; };
1303 ssi6: ssi@6 { interrupts = <0 376 IRQ_TYPE_LEVEL_HIGH>; };
1304 ssi7: ssi@7 { interrupts = <0 377 IRQ_TYPE_LEVEL_HIGH>; };
1305 ssi8: ssi@8 { interrupts = <0 378 IRQ_TYPE_LEVEL_HIGH>; };
1306 ssi9: ssi@9 { interrupts = <0 379 IRQ_TYPE_LEVEL_HIGH>; };
1307 };
1308 };
Magnus Damm0468b2d2013-03-28 00:49:34 +09001309};