blob: 5eea08fb3722e480c24146887327b4676e3f4ca7 [file] [log] [blame]
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +09001/*
2 * Device Tree Source for the r8a7791 SoC
3 *
4 * Copyright (C) 2013 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;
Wolfram Sang5bd3de72014-02-17 11:44:41 +010037 };
38
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +090039 cpus {
40 #address-cells = <1>;
41 #size-cells = <0>;
42
43 cpu0: cpu@0 {
44 device_type = "cpu";
45 compatible = "arm,cortex-a15";
46 reg = <0>;
Magnus Damm896b79d2014-03-06 12:15:36 +090047 clock-frequency = <1500000000>;
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +090048 };
Magnus Damm15ab4262013-10-01 17:13:07 +090049
50 cpu1: cpu@1 {
51 device_type = "cpu";
52 compatible = "arm,cortex-a15";
53 reg = <1>;
Magnus Damm896b79d2014-03-06 12:15:36 +090054 clock-frequency = <1500000000>;
Magnus Damm15ab4262013-10-01 17:13:07 +090055 };
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +090056 };
57
58 gic: interrupt-controller@f1001000 {
59 compatible = "arm,cortex-a15-gic";
60 #interrupt-cells = <3>;
61 #address-cells = <0>;
62 interrupt-controller;
63 reg = <0 0xf1001000 0 0x1000>,
64 <0 0xf1002000 0 0x1000>,
65 <0 0xf1004000 0 0x2000>,
66 <0 0xf1006000 0 0x2000>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +010067 interrupts = <1 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +090068 };
Magnus Dammd77db732013-10-01 17:12:29 +090069
Magnus Damm89fbba12013-11-21 14:22:00 +090070 gpio0: gpio@e6050000 {
Magnus Dammab87e3f2013-10-08 12:39:30 +090071 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
Magnus Damm89fbba12013-11-21 14:22:00 +090072 reg = <0 0xe6050000 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +010073 interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammab87e3f2013-10-08 12:39:30 +090074 #gpio-cells = <2>;
75 gpio-controller;
76 gpio-ranges = <&pfc 0 0 32>;
77 #interrupt-cells = <2>;
78 interrupt-controller;
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +020079 clocks = <&mstp9_clks R8A7791_CLK_GPIO0>;
Magnus Dammab87e3f2013-10-08 12:39:30 +090080 };
81
Magnus Damm89fbba12013-11-21 14:22:00 +090082 gpio1: gpio@e6051000 {
Magnus Dammab87e3f2013-10-08 12:39:30 +090083 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
Magnus Damm89fbba12013-11-21 14:22:00 +090084 reg = <0 0xe6051000 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +010085 interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammab87e3f2013-10-08 12:39:30 +090086 #gpio-cells = <2>;
87 gpio-controller;
88 gpio-ranges = <&pfc 0 32 32>;
89 #interrupt-cells = <2>;
90 interrupt-controller;
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +020091 clocks = <&mstp9_clks R8A7791_CLK_GPIO1>;
Magnus Dammab87e3f2013-10-08 12:39:30 +090092 };
93
Magnus Damm89fbba12013-11-21 14:22:00 +090094 gpio2: gpio@e6052000 {
Magnus Dammab87e3f2013-10-08 12:39:30 +090095 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
Magnus Damm89fbba12013-11-21 14:22:00 +090096 reg = <0 0xe6052000 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +010097 interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammab87e3f2013-10-08 12:39:30 +090098 #gpio-cells = <2>;
99 gpio-controller;
100 gpio-ranges = <&pfc 0 64 32>;
101 #interrupt-cells = <2>;
102 interrupt-controller;
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +0200103 clocks = <&mstp9_clks R8A7791_CLK_GPIO2>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900104 };
105
Magnus Damm89fbba12013-11-21 14:22:00 +0900106 gpio3: gpio@e6053000 {
Magnus Dammab87e3f2013-10-08 12:39:30 +0900107 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
Magnus Damm89fbba12013-11-21 14:22:00 +0900108 reg = <0 0xe6053000 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100109 interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900110 #gpio-cells = <2>;
111 gpio-controller;
112 gpio-ranges = <&pfc 0 96 32>;
113 #interrupt-cells = <2>;
114 interrupt-controller;
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +0200115 clocks = <&mstp9_clks R8A7791_CLK_GPIO3>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900116 };
117
Magnus Damm89fbba12013-11-21 14:22:00 +0900118 gpio4: gpio@e6054000 {
Magnus Dammab87e3f2013-10-08 12:39:30 +0900119 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
Magnus Damm89fbba12013-11-21 14:22:00 +0900120 reg = <0 0xe6054000 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100121 interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900122 #gpio-cells = <2>;
123 gpio-controller;
124 gpio-ranges = <&pfc 0 128 32>;
125 #interrupt-cells = <2>;
126 interrupt-controller;
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +0200127 clocks = <&mstp9_clks R8A7791_CLK_GPIO4>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900128 };
129
Magnus Damm89fbba12013-11-21 14:22:00 +0900130 gpio5: gpio@e6055000 {
Magnus Dammab87e3f2013-10-08 12:39:30 +0900131 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
Magnus Damm89fbba12013-11-21 14:22:00 +0900132 reg = <0 0xe6055000 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100133 interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900134 #gpio-cells = <2>;
135 gpio-controller;
136 gpio-ranges = <&pfc 0 160 32>;
137 #interrupt-cells = <2>;
138 interrupt-controller;
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +0200139 clocks = <&mstp9_clks R8A7791_CLK_GPIO5>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900140 };
141
Magnus Damm89fbba12013-11-21 14:22:00 +0900142 gpio6: gpio@e6055400 {
Magnus Dammab87e3f2013-10-08 12:39:30 +0900143 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
Magnus Damm89fbba12013-11-21 14:22:00 +0900144 reg = <0 0xe6055400 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100145 interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900146 #gpio-cells = <2>;
147 gpio-controller;
148 gpio-ranges = <&pfc 0 192 32>;
149 #interrupt-cells = <2>;
150 interrupt-controller;
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +0200151 clocks = <&mstp9_clks R8A7791_CLK_GPIO6>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900152 };
153
Magnus Damm89fbba12013-11-21 14:22:00 +0900154 gpio7: gpio@e6055800 {
Magnus Dammab87e3f2013-10-08 12:39:30 +0900155 compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar";
Magnus Damm89fbba12013-11-21 14:22:00 +0900156 reg = <0 0xe6055800 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100157 interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900158 #gpio-cells = <2>;
159 gpio-controller;
160 gpio-ranges = <&pfc 0 224 26>;
161 #interrupt-cells = <2>;
162 interrupt-controller;
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +0200163 clocks = <&mstp9_clks R8A7791_CLK_GPIO7>;
Magnus Dammab87e3f2013-10-08 12:39:30 +0900164 };
165
Magnus Dammd103f4d2013-11-20 16:59:48 +0900166 thermal@e61f0000 {
167 compatible = "renesas,thermal-r8a7791", "renesas,rcar-thermal";
168 reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>;
Magnus Dammd103f4d2013-11-20 16:59:48 +0900169 interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven563bc8e2014-01-07 19:57:13 +0100170 clocks = <&mstp5_clks R8A7791_CLK_THERMAL>;
Magnus Dammd103f4d2013-11-20 16:59:48 +0900171 };
172
Magnus Damm03586ac2013-10-01 17:12:38 +0900173 timer {
174 compatible = "arm,armv7-timer";
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100175 interrupts = <1 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
176 <1 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
177 <1 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
178 <1 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
Magnus Damm03586ac2013-10-01 17:12:38 +0900179 };
180
Magnus Dammd77db732013-10-01 17:12:29 +0900181 irqc0: interrupt-controller@e61c0000 {
Magnus Damm26041b02013-11-20 13:18:05 +0900182 compatible = "renesas,irqc-r8a7791", "renesas,irqc";
Magnus Dammd77db732013-10-01 17:12:29 +0900183 #interrupt-cells = <2>;
184 interrupt-controller;
185 reg = <0 0xe61c0000 0 0x200>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100186 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>,
187 <0 1 IRQ_TYPE_LEVEL_HIGH>,
188 <0 2 IRQ_TYPE_LEVEL_HIGH>,
189 <0 3 IRQ_TYPE_LEVEL_HIGH>,
190 <0 12 IRQ_TYPE_LEVEL_HIGH>,
191 <0 13 IRQ_TYPE_LEVEL_HIGH>,
192 <0 14 IRQ_TYPE_LEVEL_HIGH>,
193 <0 15 IRQ_TYPE_LEVEL_HIGH>,
194 <0 16 IRQ_TYPE_LEVEL_HIGH>,
195 <0 17 IRQ_TYPE_LEVEL_HIGH>;
Magnus Dammd77db732013-10-01 17:12:29 +0900196 };
Magnus Damm55146922013-10-08 12:39:01 +0900197
Wolfram Sang36408d92014-03-10 12:26:58 +0100198 /* The memory map in the User's Manual maps the cores to bus numbers */
Wolfram Sang5bd3de72014-02-17 11:44:41 +0100199 i2c0: i2c@e6508000 {
200 #address-cells = <1>;
201 #size-cells = <0>;
202 compatible = "renesas,i2c-r8a7791";
203 reg = <0 0xe6508000 0 0x40>;
204 interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>;
205 clocks = <&mstp9_clks R8A7791_CLK_I2C0>;
206 status = "disabled";
207 };
208
209 i2c1: i2c@e6518000 {
210 #address-cells = <1>;
211 #size-cells = <0>;
212 compatible = "renesas,i2c-r8a7791";
213 reg = <0 0xe6518000 0 0x40>;
214 interrupts = <0 288 IRQ_TYPE_LEVEL_HIGH>;
215 clocks = <&mstp9_clks R8A7791_CLK_I2C1>;
216 status = "disabled";
217 };
218
219 i2c2: i2c@e6530000 {
220 #address-cells = <1>;
221 #size-cells = <0>;
222 compatible = "renesas,i2c-r8a7791";
223 reg = <0 0xe6530000 0 0x40>;
224 interrupts = <0 286 IRQ_TYPE_LEVEL_HIGH>;
225 clocks = <&mstp9_clks R8A7791_CLK_I2C2>;
226 status = "disabled";
227 };
228
229 i2c3: i2c@e6540000 {
230 #address-cells = <1>;
231 #size-cells = <0>;
232 compatible = "renesas,i2c-r8a7791";
233 reg = <0 0xe6540000 0 0x40>;
234 interrupts = <0 290 IRQ_TYPE_LEVEL_HIGH>;
235 clocks = <&mstp9_clks R8A7791_CLK_I2C3>;
236 status = "disabled";
237 };
238
239 i2c4: i2c@e6520000 {
240 #address-cells = <1>;
241 #size-cells = <0>;
242 compatible = "renesas,i2c-r8a7791";
243 reg = <0 0xe6520000 0 0x40>;
244 interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>;
245 clocks = <&mstp9_clks R8A7791_CLK_I2C4>;
246 status = "disabled";
247 };
248
249 i2c5: i2c@e6528000 {
Wolfram Sang36408d92014-03-10 12:26:58 +0100250 /* doesn't need pinmux */
Wolfram Sang5bd3de72014-02-17 11:44:41 +0100251 #address-cells = <1>;
252 #size-cells = <0>;
253 compatible = "renesas,i2c-r8a7791";
254 reg = <0 0xe6528000 0 0x40>;
255 interrupts = <0 20 IRQ_TYPE_LEVEL_HIGH>;
256 clocks = <&mstp9_clks R8A7791_CLK_I2C5>;
257 status = "disabled";
258 };
259
Wolfram Sang36408d92014-03-10 12:26:58 +0100260 i2c6: i2c@e60b0000 {
261 /* doesn't need pinmux */
262 #address-cells = <1>;
263 #size-cells = <0>;
264 compatible = "renesas,iic-r8a7791", "renesas,rmobile-iic";
265 reg = <0 0xe60b0000 0 0x425>;
266 interrupts = <0 173 IRQ_TYPE_LEVEL_HIGH>;
267 clocks = <&mstp9_clks R8A7791_CLK_IICDVFS>;
268 status = "disabled";
269 };
270
271 i2c7: i2c@e6500000 {
272 #address-cells = <1>;
273 #size-cells = <0>;
274 compatible = "renesas,iic-r8a7791", "renesas,rmobile-iic";
275 reg = <0 0xe6500000 0 0x425>;
276 interrupts = <0 174 IRQ_TYPE_LEVEL_HIGH>;
277 clocks = <&mstp3_clks R8A7791_CLK_IIC0>;
278 status = "disabled";
279 };
280
281 i2c8: i2c@e6510000 {
282 #address-cells = <1>;
283 #size-cells = <0>;
284 compatible = "renesas,iic-r8a7791", "renesas,rmobile-iic";
285 reg = <0 0xe6510000 0 0x425>;
286 interrupts = <0 175 IRQ_TYPE_LEVEL_HIGH>;
287 clocks = <&mstp3_clks R8A7791_CLK_IIC1>;
288 status = "disabled";
289 };
290
Magnus Damm55146922013-10-08 12:39:01 +0900291 pfc: pfc@e6060000 {
292 compatible = "renesas,pfc-r8a7791";
293 reg = <0 0xe6060000 0 0x250>;
294 #gpio-range-cells = <3>;
295 };
Laurent Pinchart59e79892013-12-11 15:05:16 +0100296
Magnus Dammb7ed8a02014-02-12 18:53:55 +0900297 sdhi0: sd@ee100000 {
298 compatible = "renesas,sdhi-r8a7791";
299 reg = <0 0xee100000 0 0x200>;
Magnus Dammb7ed8a02014-02-12 18:53:55 +0900300 interrupts = <0 165 IRQ_TYPE_LEVEL_HIGH>;
301 clocks = <&mstp3_clks R8A7791_CLK_SDHI0>;
302 status = "disabled";
303 };
304
305 sdhi1: sd@ee140000 {
306 compatible = "renesas,sdhi-r8a7791";
307 reg = <0 0xee140000 0 0x100>;
Magnus Dammb7ed8a02014-02-12 18:53:55 +0900308 interrupts = <0 167 IRQ_TYPE_LEVEL_HIGH>;
309 clocks = <&mstp3_clks R8A7791_CLK_SDHI1>;
310 status = "disabled";
311 };
312
313 sdhi2: sd@ee160000 {
314 compatible = "renesas,sdhi-r8a7791";
315 reg = <0 0xee160000 0 0x100>;
Magnus Dammb7ed8a02014-02-12 18:53:55 +0900316 interrupts = <0 168 IRQ_TYPE_LEVEL_HIGH>;
317 clocks = <&mstp3_clks R8A7791_CLK_SDHI2>;
318 status = "disabled";
319 };
320
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100321 scifa0: serial@e6c40000 {
322 compatible = "renesas,scifa-r8a7791", "renesas,scifa";
323 reg = <0 0xe6c40000 0 64>;
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100324 interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>;
325 clocks = <&mstp2_clks R8A7791_CLK_SCIFA0>;
326 clock-names = "sci_ick";
327 status = "disabled";
328 };
329
330 scifa1: serial@e6c50000 {
331 compatible = "renesas,scifa-r8a7791", "renesas,scifa";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100332 reg = <0 0xe6c50000 0 64>;
333 interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>;
334 clocks = <&mstp2_clks R8A7791_CLK_SCIFA1>;
335 clock-names = "sci_ick";
336 status = "disabled";
337 };
338
339 scifa2: serial@e6c60000 {
340 compatible = "renesas,scifa-r8a7791", "renesas,scifa";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100341 reg = <0 0xe6c60000 0 64>;
342 interrupts = <0 151 IRQ_TYPE_LEVEL_HIGH>;
343 clocks = <&mstp2_clks R8A7791_CLK_SCIFA2>;
344 clock-names = "sci_ick";
345 status = "disabled";
346 };
347
348 scifa3: serial@e6c70000 {
349 compatible = "renesas,scifa-r8a7791", "renesas,scifa";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100350 reg = <0 0xe6c70000 0 64>;
351 interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>;
352 clocks = <&mstp11_clks R8A7791_CLK_SCIFA3>;
353 clock-names = "sci_ick";
354 status = "disabled";
355 };
356
357 scifa4: serial@e6c78000 {
358 compatible = "renesas,scifa-r8a7791", "renesas,scifa";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100359 reg = <0 0xe6c78000 0 64>;
360 interrupts = <0 30 IRQ_TYPE_LEVEL_HIGH>;
361 clocks = <&mstp11_clks R8A7791_CLK_SCIFA4>;
362 clock-names = "sci_ick";
363 status = "disabled";
364 };
365
366 scifa5: serial@e6c80000 {
367 compatible = "renesas,scifa-r8a7791", "renesas,scifa";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100368 reg = <0 0xe6c80000 0 64>;
369 interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>;
370 clocks = <&mstp11_clks R8A7791_CLK_SCIFA5>;
371 clock-names = "sci_ick";
372 status = "disabled";
373 };
374
375 scifb0: serial@e6c20000 {
376 compatible = "renesas,scifb-r8a7791", "renesas,scifb";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100377 reg = <0 0xe6c20000 0 64>;
378 interrupts = <0 148 IRQ_TYPE_LEVEL_HIGH>;
379 clocks = <&mstp2_clks R8A7791_CLK_SCIFB0>;
380 clock-names = "sci_ick";
381 status = "disabled";
382 };
383
384 scifb1: serial@e6c30000 {
385 compatible = "renesas,scifb-r8a7791", "renesas,scifb";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100386 reg = <0 0xe6c30000 0 64>;
387 interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH>;
388 clocks = <&mstp2_clks R8A7791_CLK_SCIFB1>;
389 clock-names = "sci_ick";
390 status = "disabled";
391 };
392
393 scifb2: serial@e6ce0000 {
394 compatible = "renesas,scifb-r8a7791", "renesas,scifb";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100395 reg = <0 0xe6ce0000 0 64>;
396 interrupts = <0 150 IRQ_TYPE_LEVEL_HIGH>;
397 clocks = <&mstp2_clks R8A7791_CLK_SCIFB2>;
398 clock-names = "sci_ick";
399 status = "disabled";
400 };
401
402 scif0: serial@e6e60000 {
403 compatible = "renesas,scif-r8a7791", "renesas,scif";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100404 reg = <0 0xe6e60000 0 64>;
405 interrupts = <0 152 IRQ_TYPE_LEVEL_HIGH>;
406 clocks = <&mstp7_clks R8A7791_CLK_SCIF0>;
407 clock-names = "sci_ick";
408 status = "disabled";
409 };
410
411 scif1: serial@e6e68000 {
412 compatible = "renesas,scif-r8a7791", "renesas,scif";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100413 reg = <0 0xe6e68000 0 64>;
414 interrupts = <0 153 IRQ_TYPE_LEVEL_HIGH>;
415 clocks = <&mstp7_clks R8A7791_CLK_SCIF1>;
416 clock-names = "sci_ick";
417 status = "disabled";
418 };
419
420 scif2: serial@e6e58000 {
421 compatible = "renesas,scif-r8a7791", "renesas,scif";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100422 reg = <0 0xe6e58000 0 64>;
423 interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>;
424 clocks = <&mstp7_clks R8A7791_CLK_SCIF2>;
425 clock-names = "sci_ick";
426 status = "disabled";
427 };
428
429 scif3: serial@e6ea8000 {
430 compatible = "renesas,scif-r8a7791", "renesas,scif";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100431 reg = <0 0xe6ea8000 0 64>;
432 interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>;
433 clocks = <&mstp7_clks R8A7791_CLK_SCIF3>;
434 clock-names = "sci_ick";
435 status = "disabled";
436 };
437
438 scif4: serial@e6ee0000 {
439 compatible = "renesas,scif-r8a7791", "renesas,scif";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100440 reg = <0 0xe6ee0000 0 64>;
441 interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>;
442 clocks = <&mstp7_clks R8A7791_CLK_SCIF4>;
443 clock-names = "sci_ick";
444 status = "disabled";
445 };
446
447 scif5: serial@e6ee8000 {
448 compatible = "renesas,scif-r8a7791", "renesas,scif";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100449 reg = <0 0xe6ee8000 0 64>;
450 interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>;
451 clocks = <&mstp7_clks R8A7791_CLK_SCIF5>;
452 clock-names = "sci_ick";
453 status = "disabled";
454 };
455
456 hscif0: serial@e62c0000 {
457 compatible = "renesas,hscif-r8a7791", "renesas,hscif";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100458 reg = <0 0xe62c0000 0 96>;
459 interrupts = <0 154 IRQ_TYPE_LEVEL_HIGH>;
460 clocks = <&mstp7_clks R8A7791_CLK_HSCIF0>;
461 clock-names = "sci_ick";
462 status = "disabled";
463 };
464
465 hscif1: serial@e62c8000 {
466 compatible = "renesas,hscif-r8a7791", "renesas,hscif";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100467 reg = <0 0xe62c8000 0 96>;
468 interrupts = <0 155 IRQ_TYPE_LEVEL_HIGH>;
469 clocks = <&mstp7_clks R8A7791_CLK_HSCIF1>;
470 clock-names = "sci_ick";
471 status = "disabled";
472 };
473
474 hscif2: serial@e62d0000 {
475 compatible = "renesas,hscif-r8a7791", "renesas,hscif";
Laurent Pinchart9640cf22013-12-11 14:14:22 +0100476 reg = <0 0xe62d0000 0 96>;
477 interrupts = <0 21 IRQ_TYPE_LEVEL_HIGH>;
478 clocks = <&mstp7_clks R8A7791_CLK_HSCIF2>;
479 clock-names = "sci_ick";
480 status = "disabled";
481 };
482
Sergei Shtylyov2e5d55c2014-02-20 02:27:04 +0300483 ether: ethernet@ee700000 {
484 compatible = "renesas,ether-r8a7791";
485 reg = <0 0xee700000 0 0x400>;
486 interrupts = <0 162 IRQ_TYPE_LEVEL_HIGH>;
487 clocks = <&mstp8_clks R8A7791_CLK_ETHER>;
488 phy-mode = "rmii";
489 #address-cells = <1>;
490 #size-cells = <0>;
491 status = "disabled";
492 };
493
Valentine Barshakb8532c62014-01-14 21:05:40 +0400494 sata0: sata@ee300000 {
495 compatible = "renesas,sata-r8a7791";
496 reg = <0 0xee300000 0 0x2000>;
Valentine Barshakb8532c62014-01-14 21:05:40 +0400497 interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>;
498 clocks = <&mstp8_clks R8A7791_CLK_SATA0>;
499 status = "disabled";
500 };
501
502 sata1: sata@ee500000 {
503 compatible = "renesas,sata-r8a7791";
504 reg = <0 0xee500000 0 0x2000>;
Valentine Barshakb8532c62014-01-14 21:05:40 +0400505 interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>;
506 clocks = <&mstp8_clks R8A7791_CLK_SATA1>;
507 status = "disabled";
508 };
509
Laurent Pinchart59e79892013-12-11 15:05:16 +0100510 clocks {
511 #address-cells = <2>;
512 #size-cells = <2>;
513 ranges;
514
515 /* External root clock */
516 extal_clk: extal_clk {
517 compatible = "fixed-clock";
518 #clock-cells = <0>;
519 /* This value must be overriden by the board. */
520 clock-frequency = <0>;
521 clock-output-names = "extal";
522 };
523
524 /* Special CPG clocks */
525 cpg_clocks: cpg_clocks@e6150000 {
526 compatible = "renesas,r8a7791-cpg-clocks",
527 "renesas,rcar-gen2-cpg-clocks";
528 reg = <0 0xe6150000 0 0x1000>;
529 clocks = <&extal_clk>;
530 #clock-cells = <1>;
531 clock-output-names = "main", "pll0", "pll1", "pll3",
532 "lb", "qspi", "sdh", "sd0", "z";
533 };
534
535 /* Variable factor clocks */
536 sd1_clk: sd2_clk@e6150078 {
537 compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock";
538 reg = <0 0xe6150078 0 4>;
539 clocks = <&pll1_div2_clk>;
540 #clock-cells = <0>;
541 clock-output-names = "sd1";
542 };
543 sd2_clk: sd3_clk@e615007c {
544 compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock";
545 reg = <0 0xe615007c 0 4>;
546 clocks = <&pll1_div2_clk>;
547 #clock-cells = <0>;
548 clock-output-names = "sd2";
549 };
550 mmc0_clk: mmc0_clk@e6150240 {
551 compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock";
552 reg = <0 0xe6150240 0 4>;
553 clocks = <&pll1_div2_clk>;
554 #clock-cells = <0>;
555 clock-output-names = "mmc0";
556 };
557 ssp_clk: ssp_clk@e6150248 {
558 compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock";
559 reg = <0 0xe6150248 0 4>;
560 clocks = <&pll1_div2_clk>;
561 #clock-cells = <0>;
562 clock-output-names = "ssp";
563 };
564 ssprs_clk: ssprs_clk@e615024c {
565 compatible = "renesas,r8a7791-div6-clock", "renesas,cpg-div6-clock";
566 reg = <0 0xe615024c 0 4>;
567 clocks = <&pll1_div2_clk>;
568 #clock-cells = <0>;
569 clock-output-names = "ssprs";
570 };
571
572 /* Fixed factor clocks */
573 pll1_div2_clk: pll1_div2_clk {
574 compatible = "fixed-factor-clock";
575 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
576 #clock-cells = <0>;
577 clock-div = <2>;
578 clock-mult = <1>;
579 clock-output-names = "pll1_div2";
580 };
581 zg_clk: zg_clk {
582 compatible = "fixed-factor-clock";
583 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
584 #clock-cells = <0>;
585 clock-div = <3>;
586 clock-mult = <1>;
587 clock-output-names = "zg";
588 };
589 zx_clk: zx_clk {
590 compatible = "fixed-factor-clock";
591 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
592 #clock-cells = <0>;
593 clock-div = <3>;
594 clock-mult = <1>;
595 clock-output-names = "zx";
596 };
597 zs_clk: zs_clk {
598 compatible = "fixed-factor-clock";
599 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
600 #clock-cells = <0>;
601 clock-div = <6>;
602 clock-mult = <1>;
603 clock-output-names = "zs";
604 };
605 hp_clk: hp_clk {
606 compatible = "fixed-factor-clock";
607 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
608 #clock-cells = <0>;
609 clock-div = <12>;
610 clock-mult = <1>;
611 clock-output-names = "hp";
612 };
613 i_clk: i_clk {
614 compatible = "fixed-factor-clock";
615 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
616 #clock-cells = <0>;
617 clock-div = <2>;
618 clock-mult = <1>;
619 clock-output-names = "i";
620 };
621 b_clk: b_clk {
622 compatible = "fixed-factor-clock";
623 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
624 #clock-cells = <0>;
625 clock-div = <12>;
626 clock-mult = <1>;
627 clock-output-names = "b";
628 };
629 p_clk: p_clk {
630 compatible = "fixed-factor-clock";
631 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
632 #clock-cells = <0>;
633 clock-div = <24>;
634 clock-mult = <1>;
635 clock-output-names = "p";
636 };
637 cl_clk: cl_clk {
638 compatible = "fixed-factor-clock";
639 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
640 #clock-cells = <0>;
641 clock-div = <48>;
642 clock-mult = <1>;
643 clock-output-names = "cl";
644 };
645 m2_clk: m2_clk {
646 compatible = "fixed-factor-clock";
647 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
648 #clock-cells = <0>;
649 clock-div = <8>;
650 clock-mult = <1>;
651 clock-output-names = "m2";
652 };
653 imp_clk: imp_clk {
654 compatible = "fixed-factor-clock";
655 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
656 #clock-cells = <0>;
657 clock-div = <4>;
658 clock-mult = <1>;
659 clock-output-names = "imp";
660 };
661 rclk_clk: rclk_clk {
662 compatible = "fixed-factor-clock";
663 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
664 #clock-cells = <0>;
665 clock-div = <(48 * 1024)>;
666 clock-mult = <1>;
667 clock-output-names = "rclk";
668 };
669 oscclk_clk: oscclk_clk {
670 compatible = "fixed-factor-clock";
671 clocks = <&cpg_clocks R8A7791_CLK_PLL1>;
672 #clock-cells = <0>;
673 clock-div = <(12 * 1024)>;
674 clock-mult = <1>;
675 clock-output-names = "oscclk";
676 };
677 zb3_clk: zb3_clk {
678 compatible = "fixed-factor-clock";
679 clocks = <&cpg_clocks R8A7791_CLK_PLL3>;
680 #clock-cells = <0>;
681 clock-div = <4>;
682 clock-mult = <1>;
683 clock-output-names = "zb3";
684 };
685 zb3d2_clk: zb3d2_clk {
686 compatible = "fixed-factor-clock";
687 clocks = <&cpg_clocks R8A7791_CLK_PLL3>;
688 #clock-cells = <0>;
689 clock-div = <8>;
690 clock-mult = <1>;
691 clock-output-names = "zb3d2";
692 };
693 ddr_clk: ddr_clk {
694 compatible = "fixed-factor-clock";
695 clocks = <&cpg_clocks R8A7791_CLK_PLL3>;
696 #clock-cells = <0>;
697 clock-div = <8>;
698 clock-mult = <1>;
699 clock-output-names = "ddr";
700 };
701 mp_clk: mp_clk {
702 compatible = "fixed-factor-clock";
703 clocks = <&pll1_div2_clk>;
704 #clock-cells = <0>;
705 clock-div = <15>;
706 clock-mult = <1>;
707 clock-output-names = "mp";
708 };
709 cp_clk: cp_clk {
710 compatible = "fixed-factor-clock";
711 clocks = <&extal_clk>;
712 #clock-cells = <0>;
713 clock-div = <2>;
714 clock-mult = <1>;
715 clock-output-names = "cp";
716 };
717
718 /* Gate clocks */
Laurent Pinchartcded80f2013-12-19 16:51:02 +0100719 mstp0_clks: mstp0_clks@e6150130 {
720 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
721 reg = <0 0xe6150130 0 4>, <0 0xe6150030 0 4>;
722 clocks = <&mp_clk>;
723 #clock-cells = <1>;
724 renesas,clock-indices = <R8A7791_CLK_MSIOF0>;
725 clock-output-names = "msiof0";
726 };
Laurent Pinchart59e79892013-12-11 15:05:16 +0100727 mstp1_clks: mstp1_clks@e6150134 {
728 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
729 reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>;
730 clocks = <&p_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>,
731 <&cp_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>;
732 #clock-cells = <1>;
733 renesas,clock-indices = <
734 R8A7791_CLK_TMU1 R8A7791_CLK_TMU3 R8A7791_CLK_TMU2
735 R8A7791_CLK_CMT0 R8A7791_CLK_TMU0 R8A7791_CLK_VSP1_DU1
736 R8A7791_CLK_VSP1_DU0 R8A7791_CLK_VSP1_SY
737 >;
738 clock-output-names =
739 "tmu1", "tmu3", "tmu2", "cmt0", "tmu0", "vsp1-du1",
740 "vsp1-du0", "vsp1-sy";
741 };
742 mstp2_clks: mstp2_clks@e6150138 {
743 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
744 reg = <0 0xe6150138 0 4>, <0 0xe6150040 0 4>;
745 clocks = <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>,
Laurent Pinchartcded80f2013-12-19 16:51:02 +0100746 <&mp_clk>, <&mp_clk>, <&mp_clk>;
Laurent Pinchart59e79892013-12-11 15:05:16 +0100747 #clock-cells = <1>;
748 renesas,clock-indices = <
749 R8A7791_CLK_SCIFA2 R8A7791_CLK_SCIFA1 R8A7791_CLK_SCIFA0
Laurent Pinchartcded80f2013-12-19 16:51:02 +0100750 R8A7791_CLK_MSIOF2 R8A7791_CLK_SCIFB0 R8A7791_CLK_SCIFB1
751 R8A7791_CLK_MSIOF1 R8A7791_CLK_SCIFB2
Laurent Pinchart59e79892013-12-11 15:05:16 +0100752 >;
753 clock-output-names =
Geert Uytterhoeven0c002ef2014-02-20 15:49:29 +0100754 "scifa2", "scifa1", "scifa0", "msiof2", "scifb0",
Laurent Pinchartcded80f2013-12-19 16:51:02 +0100755 "scifb1", "msiof1", "scifb2";
Laurent Pinchart59e79892013-12-11 15:05:16 +0100756 };
757 mstp3_clks: mstp3_clks@e615013c {
758 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
759 reg = <0 0xe615013c 0 4>, <0 0xe6150048 0 4>;
Wolfram Sangc08691b2014-03-10 12:26:57 +0100760 clocks = <&cp_clk>, <&sd2_clk>, <&sd1_clk>, <&cpg_clocks R8A7791_CLK_SD0>,
761 <&mmc0_clk>, <&hp_clk>, <&hp_clk>, <&rclk_clk>;
Laurent Pinchart59e79892013-12-11 15:05:16 +0100762 #clock-cells = <1>;
763 renesas,clock-indices = <
Wolfram Sangc08691b2014-03-10 12:26:57 +0100764 R8A7791_CLK_TPU0 R8A7791_CLK_SDHI2 R8A7791_CLK_SDHI1 R8A7791_CLK_SDHI0
765 R8A7791_CLK_MMCIF0 R8A7791_CLK_IIC0 R8A7791_CLK_IIC1 R8A7791_CLK_CMT1
Laurent Pinchart59e79892013-12-11 15:05:16 +0100766 >;
767 clock-output-names =
Wolfram Sangc08691b2014-03-10 12:26:57 +0100768 "tpu0", "sdhi2", "sdhi1", "sdhi0",
769 "mmcif0", "i2c7", "i2c8", "cmt1";
Laurent Pinchart59e79892013-12-11 15:05:16 +0100770 };
771 mstp5_clks: mstp5_clks@e6150144 {
772 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
773 reg = <0 0xe6150144 0 4>, <0 0xe615003c 0 4>;
774 clocks = <&extal_clk>, <&p_clk>;
775 #clock-cells = <1>;
776 renesas,clock-indices = <R8A7791_CLK_THERMAL R8A7791_CLK_PWM>;
777 clock-output-names = "thermal", "pwm";
778 };
779 mstp7_clks: mstp7_clks@e615014c {
780 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
781 reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>;
Magnus Damm6225b992014-04-07 15:04:21 +0900782 clocks = <&mp_clk>, <&mp_clk>, <&zs_clk>, <&p_clk>, <&p_clk>, <&zs_clk>,
Laurent Pinchart59e79892013-12-11 15:05:16 +0100783 <&zs_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&p_clk>,
784 <&zx_clk>, <&zx_clk>, <&zx_clk>;
785 #clock-cells = <1>;
786 renesas,clock-indices = <
Magnus Damm6225b992014-04-07 15:04:21 +0900787 R8A7791_CLK_EHCI R8A7791_CLK_HSUSB R8A7791_CLK_HSCIF2 R8A7791_CLK_SCIF5
Laurent Pinchart59e79892013-12-11 15:05:16 +0100788 R8A7791_CLK_SCIF4 R8A7791_CLK_HSCIF1 R8A7791_CLK_HSCIF0
789 R8A7791_CLK_SCIF3 R8A7791_CLK_SCIF2 R8A7791_CLK_SCIF1
790 R8A7791_CLK_SCIF0 R8A7791_CLK_DU1 R8A7791_CLK_DU0
791 R8A7791_CLK_LVDS0
792 >;
793 clock-output-names =
Magnus Damm6225b992014-04-07 15:04:21 +0900794 "ehci", "hsusb", "hscif2", "scif5", "scif4", "hscif1", "hscif0",
Laurent Pinchart59e79892013-12-11 15:05:16 +0100795 "scif3", "scif2", "scif1", "scif0", "du1", "du0", "lvds0";
796 };
797 mstp8_clks: mstp8_clks@e6150990 {
798 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
799 reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>;
Laurent Pinchart65f05c32014-01-07 09:22:56 +0100800 clocks = <&zg_clk>, <&zg_clk>, <&zg_clk>, <&p_clk>, <&zs_clk>,
801 <&zs_clk>;
Laurent Pinchart59e79892013-12-11 15:05:16 +0100802 #clock-cells = <1>;
Laurent Pinchart09c98342014-01-07 09:22:54 +0100803 renesas,clock-indices = <
804 R8A7791_CLK_VIN2 R8A7791_CLK_VIN1 R8A7791_CLK_VIN0
Laurent Pinchart65f05c32014-01-07 09:22:56 +0100805 R8A7791_CLK_ETHER R8A7791_CLK_SATA1 R8A7791_CLK_SATA0
Laurent Pinchart09c98342014-01-07 09:22:54 +0100806 >;
Laurent Pinchart65f05c32014-01-07 09:22:56 +0100807 clock-output-names =
808 "vin2", "vin1", "vin0", "ether", "sata1", "sata0";
Laurent Pinchart59e79892013-12-11 15:05:16 +0100809 };
810 mstp9_clks: mstp9_clks@e6150994 {
811 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
812 reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>;
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +0200813 clocks = <&cp_clk>, <&cp_clk>, <&cp_clk>, <&cp_clk>,
814 <&cp_clk>, <&cp_clk>, <&cp_clk>, <&cp_clk>,
815 <&p_clk>, <&p_clk>, <&cpg_clocks R8A7791_CLK_QSPI>, <&hp_clk>,
Laurent Pinchart11b48db2014-04-01 13:02:18 +0200816 <&cp_clk>, <&hp_clk>, <&hp_clk>, <&hp_clk>,
817 <&hp_clk>, <&hp_clk>;
Laurent Pinchart59e79892013-12-11 15:05:16 +0100818 #clock-cells = <1>;
819 renesas,clock-indices = <
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +0200820 R8A7791_CLK_GPIO7 R8A7791_CLK_GPIO6 R8A7791_CLK_GPIO5 R8A7791_CLK_GPIO4
821 R8A7791_CLK_GPIO3 R8A7791_CLK_GPIO2 R8A7791_CLK_GPIO1 R8A7791_CLK_GPIO0
Wolfram Sangc08691b2014-03-10 12:26:57 +0100822 R8A7791_CLK_RCAN1 R8A7791_CLK_RCAN0 R8A7791_CLK_QSPI_MOD R8A7791_CLK_I2C5
823 R8A7791_CLK_IICDVFS R8A7791_CLK_I2C4 R8A7791_CLK_I2C3 R8A7791_CLK_I2C2
824 R8A7791_CLK_I2C1 R8A7791_CLK_I2C0
Laurent Pinchart59e79892013-12-11 15:05:16 +0100825 >;
826 clock-output-names =
Geert Uytterhoeven4faf9c52014-04-23 10:25:28 +0200827 "gpio7", "gpio6", "gpio5", "gpio4", "gpio3", "gpio2", "gpio1", "gpio0",
828 "rcan1", "rcan0", "qspi_mod", "i2c5", "i2c6", "i2c4", "i2c3", "i2c2",
829 "i2c1", "i2c0";
Laurent Pinchart59e79892013-12-11 15:05:16 +0100830 };
831 mstp11_clks: mstp11_clks@e615099c {
832 compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
833 reg = <0 0xe615099c 0 4>, <0 0xe61509ac 0 4>;
834 clocks = <&mp_clk>, <&mp_clk>, <&mp_clk>;
835 #clock-cells = <1>;
836 renesas,clock-indices = <
837 R8A7791_CLK_SCIFA3 R8A7791_CLK_SCIFA4 R8A7791_CLK_SCIFA5
838 >;
839 clock-output-names = "scifa3", "scifa4", "scifa5";
840 };
841 };
Geert Uytterhoeven4d5b59c2014-02-04 16:24:03 +0100842
Geert Uytterhoeven6f3e4ee2014-02-25 11:30:14 +0100843 qspi: spi@e6b10000 {
Geert Uytterhoeven4d5b59c2014-02-04 16:24:03 +0100844 compatible = "renesas,qspi-r8a7791", "renesas,qspi";
845 reg = <0 0xe6b10000 0 0x2c>;
Geert Uytterhoeven4d5b59c2014-02-04 16:24:03 +0100846 interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>;
847 clocks = <&mstp9_clks R8A7791_CLK_QSPI_MOD>;
848 num-cs = <1>;
849 #address-cells = <1>;
850 #size-cells = <0>;
851 status = "disabled";
852 };
Geert Uytterhoeven7713d3a2014-02-25 11:30:16 +0100853
854 msiof0: spi@e6e20000 {
855 compatible = "renesas,msiof-r8a7791";
856 reg = <0 0xe6e20000 0 0x0064>;
857 interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>;
858 clocks = <&mstp0_clks R8A7791_CLK_MSIOF0>;
859 #address-cells = <1>;
860 #size-cells = <0>;
861 status = "disabled";
862 };
863
864 msiof1: spi@e6e10000 {
865 compatible = "renesas,msiof-r8a7791";
866 reg = <0 0xe6e10000 0 0x0064>;
867 interrupts = <0 157 IRQ_TYPE_LEVEL_HIGH>;
868 clocks = <&mstp2_clks R8A7791_CLK_MSIOF1>;
869 #address-cells = <1>;
870 #size-cells = <0>;
871 status = "disabled";
872 };
873
874 msiof2: spi@e6e00000 {
875 compatible = "renesas,msiof-r8a7791";
876 reg = <0 0xe6e00000 0 0x0064>;
877 interrupts = <0 158 IRQ_TYPE_LEVEL_HIGH>;
878 clocks = <&mstp2_clks R8A7791_CLK_MSIOF2>;
879 #address-cells = <1>;
880 #size-cells = <0>;
881 status = "disabled";
882 };
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +0900883};