blob: e990d3c4fe62340a291fe1b910dd7b0d69112add [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;
Wolfram Sang6b1d7c62014-02-16 10:40:58 +010036 };
37
Magnus Damm0468b2d2013-03-28 00:49:34 +090038 cpus {
39 #address-cells = <1>;
40 #size-cells = <0>;
41
42 cpu0: cpu@0 {
43 device_type = "cpu";
44 compatible = "arm,cortex-a15";
45 reg = <0>;
46 clock-frequency = <1300000000>;
Benoit Coussonb989e132014-06-03 21:02:24 +090047 voltage-tolerance = <1>; /* 1% */
48 clocks = <&cpg_clocks R8A7790_CLK_Z>;
49 clock-latency = <300000>; /* 300 us */
50
51 /* kHz - uV - OPPs unknown yet */
52 operating-points = <1400000 1000000>,
53 <1225000 1000000>,
54 <1050000 1000000>,
55 < 875000 1000000>,
56 < 700000 1000000>,
57 < 350000 1000000>;
Magnus Damm0468b2d2013-03-28 00:49:34 +090058 };
Magnus Dammc1f95972013-08-29 08:22:17 +090059
60 cpu1: cpu@1 {
61 device_type = "cpu";
62 compatible = "arm,cortex-a15";
63 reg = <1>;
64 clock-frequency = <1300000000>;
65 };
66
67 cpu2: cpu@2 {
68 device_type = "cpu";
69 compatible = "arm,cortex-a15";
70 reg = <2>;
71 clock-frequency = <1300000000>;
72 };
73
74 cpu3: cpu@3 {
75 device_type = "cpu";
76 compatible = "arm,cortex-a15";
77 reg = <3>;
78 clock-frequency = <1300000000>;
79 };
Magnus Damm2007e742013-09-15 00:28:58 +090080
81 cpu4: cpu@4 {
82 device_type = "cpu";
83 compatible = "arm,cortex-a7";
84 reg = <0x100>;
85 clock-frequency = <780000000>;
86 };
87
88 cpu5: cpu@5 {
89 device_type = "cpu";
90 compatible = "arm,cortex-a7";
91 reg = <0x101>;
92 clock-frequency = <780000000>;
93 };
94
95 cpu6: cpu@6 {
96 device_type = "cpu";
97 compatible = "arm,cortex-a7";
98 reg = <0x102>;
99 clock-frequency = <780000000>;
100 };
101
102 cpu7: cpu@7 {
103 device_type = "cpu";
104 compatible = "arm,cortex-a7";
105 reg = <0x103>;
106 clock-frequency = <780000000>;
107 };
Magnus Damm0468b2d2013-03-28 00:49:34 +0900108 };
109
110 gic: interrupt-controller@f1001000 {
111 compatible = "arm,cortex-a15-gic";
112 #interrupt-cells = <3>;
113 #address-cells = <0>;
114 interrupt-controller;
Takashi Yoshii8585deb2013-03-29 16:49:17 +0900115 reg = <0 0xf1001000 0 0x1000>,
116 <0 0xf1002000 0 0x1000>,
117 <0 0xf1004000 0 0x2000>,
118 <0 0xf1006000 0 0x2000>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100119 interrupts = <1 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
Magnus Damm0468b2d2013-03-28 00:49:34 +0900120 };
121
Magnus Damm23de2272013-11-21 14:19:29 +0900122 gpio0: gpio@e6050000 {
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200123 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
Magnus Damm23de2272013-11-21 14:19:29 +0900124 reg = <0 0xe6050000 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100125 interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200126 #gpio-cells = <2>;
127 gpio-controller;
128 gpio-ranges = <&pfc 0 0 32>;
129 #interrupt-cells = <2>;
130 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200131 clocks = <&mstp9_clks R8A7790_CLK_GPIO0>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200132 };
133
Magnus Damm23de2272013-11-21 14:19:29 +0900134 gpio1: gpio@e6051000 {
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200135 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
Magnus Damm23de2272013-11-21 14:19:29 +0900136 reg = <0 0xe6051000 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100137 interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200138 #gpio-cells = <2>;
139 gpio-controller;
140 gpio-ranges = <&pfc 0 32 32>;
141 #interrupt-cells = <2>;
142 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200143 clocks = <&mstp9_clks R8A7790_CLK_GPIO1>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200144 };
145
Magnus Damm23de2272013-11-21 14:19:29 +0900146 gpio2: gpio@e6052000 {
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200147 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
Magnus Damm23de2272013-11-21 14:19:29 +0900148 reg = <0 0xe6052000 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100149 interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200150 #gpio-cells = <2>;
151 gpio-controller;
152 gpio-ranges = <&pfc 0 64 32>;
153 #interrupt-cells = <2>;
154 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200155 clocks = <&mstp9_clks R8A7790_CLK_GPIO2>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200156 };
157
Magnus Damm23de2272013-11-21 14:19:29 +0900158 gpio3: gpio@e6053000 {
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200159 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
Magnus Damm23de2272013-11-21 14:19:29 +0900160 reg = <0 0xe6053000 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100161 interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200162 #gpio-cells = <2>;
163 gpio-controller;
164 gpio-ranges = <&pfc 0 96 32>;
165 #interrupt-cells = <2>;
166 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200167 clocks = <&mstp9_clks R8A7790_CLK_GPIO3>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200168 };
169
Magnus Damm23de2272013-11-21 14:19:29 +0900170 gpio4: gpio@e6054000 {
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200171 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
Magnus Damm23de2272013-11-21 14:19:29 +0900172 reg = <0 0xe6054000 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100173 interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200174 #gpio-cells = <2>;
175 gpio-controller;
176 gpio-ranges = <&pfc 0 128 32>;
177 #interrupt-cells = <2>;
178 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200179 clocks = <&mstp9_clks R8A7790_CLK_GPIO4>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200180 };
181
Magnus Damm23de2272013-11-21 14:19:29 +0900182 gpio5: gpio@e6055000 {
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200183 compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar";
Magnus Damm23de2272013-11-21 14:19:29 +0900184 reg = <0 0xe6055000 0 0x50>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100185 interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200186 #gpio-cells = <2>;
187 gpio-controller;
188 gpio-ranges = <&pfc 0 160 32>;
189 #interrupt-cells = <2>;
190 interrupt-controller;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200191 clocks = <&mstp9_clks R8A7790_CLK_GPIO5>;
Laurent Pinchartf98e10c2013-05-10 15:51:14 +0200192 };
193
Magnus Damm03e2f562013-11-20 16:59:30 +0900194 thermal@e61f0000 {
195 compatible = "renesas,thermal-r8a7790", "renesas,rcar-thermal";
196 reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>;
Magnus Damm03e2f562013-11-20 16:59:30 +0900197 interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevend3a439d2014-01-07 19:57:14 +0100198 clocks = <&mstp5_clks R8A7790_CLK_THERMAL>;
Magnus Damm03e2f562013-11-20 16:59:30 +0900199 };
200
Magnus Damm0468b2d2013-03-28 00:49:34 +0900201 timer {
202 compatible = "arm,armv7-timer";
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100203 interrupts = <1 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
204 <1 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
205 <1 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
206 <1 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
Magnus Damm0468b2d2013-03-28 00:49:34 +0900207 };
Magnus Damm8f5ec0a2013-03-28 00:49:54 +0900208
209 irqc0: interrupt-controller@e61c0000 {
Magnus Damm220fc352013-11-20 09:07:40 +0900210 compatible = "renesas,irqc-r8a7790", "renesas,irqc";
Magnus Damm8f5ec0a2013-03-28 00:49:54 +0900211 #interrupt-cells = <2>;
212 interrupt-controller;
Takashi Yoshii8585deb2013-03-29 16:49:17 +0900213 reg = <0 0xe61c0000 0 0x200>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100214 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>,
215 <0 1 IRQ_TYPE_LEVEL_HIGH>,
216 <0 2 IRQ_TYPE_LEVEL_HIGH>,
217 <0 3 IRQ_TYPE_LEVEL_HIGH>;
Magnus Damm8f5ec0a2013-03-28 00:49:54 +0900218 };
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200219
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200220 i2c0: i2c@e6508000 {
221 #address-cells = <1>;
222 #size-cells = <0>;
223 compatible = "renesas,i2c-r8a7790";
224 reg = <0 0xe6508000 0 0x40>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100225 interrupts = <0 287 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooks2450bad2014-01-20 11:44:21 +0000226 clocks = <&mstp9_clks R8A7790_CLK_I2C0>;
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200227 status = "disabled";
228 };
229
230 i2c1: i2c@e6518000 {
231 #address-cells = <1>;
232 #size-cells = <0>;
233 compatible = "renesas,i2c-r8a7790";
234 reg = <0 0xe6518000 0 0x40>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100235 interrupts = <0 288 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooks2450bad2014-01-20 11:44:21 +0000236 clocks = <&mstp9_clks R8A7790_CLK_I2C1>;
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200237 status = "disabled";
238 };
239
240 i2c2: i2c@e6530000 {
241 #address-cells = <1>;
242 #size-cells = <0>;
243 compatible = "renesas,i2c-r8a7790";
244 reg = <0 0xe6530000 0 0x40>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100245 interrupts = <0 286 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooks2450bad2014-01-20 11:44:21 +0000246 clocks = <&mstp9_clks R8A7790_CLK_I2C2>;
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200247 status = "disabled";
248 };
249
250 i2c3: i2c@e6540000 {
251 #address-cells = <1>;
252 #size-cells = <0>;
253 compatible = "renesas,i2c-r8a7790";
254 reg = <0 0xe6540000 0 0x40>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100255 interrupts = <0 290 IRQ_TYPE_LEVEL_HIGH>;
Ben Dooks2450bad2014-01-20 11:44:21 +0000256 clocks = <&mstp9_clks R8A7790_CLK_I2C3>;
Guennadi Liakhovetskiedd2b9f2013-09-26 19:20:58 +0200257 status = "disabled";
258 };
259
Wolfram Sang05f39912014-03-25 19:56:29 +0100260 iic0: i2c@e6500000 {
261 #address-cells = <1>;
262 #size-cells = <0>;
263 compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic";
264 reg = <0 0xe6500000 0 0x425>;
265 interrupts = <0 174 IRQ_TYPE_LEVEL_HIGH>;
266 clocks = <&mstp3_clks R8A7790_CLK_IIC0>;
267 status = "disabled";
268 };
269
270 iic1: i2c@e6510000 {
271 #address-cells = <1>;
272 #size-cells = <0>;
273 compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic";
274 reg = <0 0xe6510000 0 0x425>;
275 interrupts = <0 175 IRQ_TYPE_LEVEL_HIGH>;
276 clocks = <&mstp3_clks R8A7790_CLK_IIC1>;
277 status = "disabled";
278 };
279
280 iic2: i2c@e6520000 {
281 #address-cells = <1>;
282 #size-cells = <0>;
283 compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic";
284 reg = <0 0xe6520000 0 0x425>;
285 interrupts = <0 176 IRQ_TYPE_LEVEL_HIGH>;
286 clocks = <&mstp3_clks R8A7790_CLK_IIC2>;
287 status = "disabled";
288 };
289
290 iic3: i2c@e60b0000 {
291 #address-cells = <1>;
292 #size-cells = <0>;
293 compatible = "renesas,iic-r8a7790", "renesas,rmobile-iic";
294 reg = <0 0xe60b0000 0 0x425>;
295 interrupts = <0 173 IRQ_TYPE_LEVEL_HIGH>;
296 clocks = <&mstp9_clks R8A7790_CLK_IICDVFS>;
297 status = "disabled";
298 };
299
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200300 mmcif0: mmcif@ee200000 {
Magnus Damm063e85602013-11-20 09:05:53 +0900301 compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif";
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200302 reg = <0 0xee200000 0 0x80>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100303 interrupts = <0 169 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100304 clocks = <&mstp3_clks R8A7790_CLK_MMCIF0>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200305 reg-io-width = <4>;
306 status = "disabled";
307 };
308
Kuninori Morimotob718aa42013-10-21 19:36:13 -0700309 mmcif1: mmc@ee220000 {
Magnus Damm063e85602013-11-20 09:05:53 +0900310 compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif";
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200311 reg = <0 0xee220000 0 0x80>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100312 interrupts = <0 170 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100313 clocks = <&mstp3_clks R8A7790_CLK_MMCIF1>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200314 reg-io-width = <4>;
315 status = "disabled";
316 };
317
Laurent Pinchart9694c772013-05-09 15:05:57 +0200318 pfc: pfc@e6060000 {
319 compatible = "renesas,pfc-r8a7790";
320 reg = <0 0xe6060000 0 0x250>;
321 };
Olof Johansson55689bf2013-08-14 00:24:05 -0700322
Kuninori Morimotob718aa42013-10-21 19:36:13 -0700323 sdhi0: sd@ee100000 {
Guennadi Liakhovetskidf1d0582013-08-29 17:14:49 +0200324 compatible = "renesas,sdhi-r8a7790";
Ben Dooksd721a152013-12-16 12:38:48 +0000325 reg = <0 0xee100000 0 0x200>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100326 interrupts = <0 165 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100327 clocks = <&mstp3_clks R8A7790_CLK_SDHI0>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200328 cap-sd-highspeed;
329 status = "disabled";
330 };
331
Kuninori Morimotob718aa42013-10-21 19:36:13 -0700332 sdhi1: sd@ee120000 {
Guennadi Liakhovetskidf1d0582013-08-29 17:14:49 +0200333 compatible = "renesas,sdhi-r8a7790";
Ben Dooksd721a152013-12-16 12:38:48 +0000334 reg = <0 0xee120000 0 0x200>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100335 interrupts = <0 166 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100336 clocks = <&mstp3_clks R8A7790_CLK_SDHI1>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200337 cap-sd-highspeed;
338 status = "disabled";
339 };
340
Kuninori Morimotob718aa42013-10-21 19:36:13 -0700341 sdhi2: sd@ee140000 {
Guennadi Liakhovetskidf1d0582013-08-29 17:14:49 +0200342 compatible = "renesas,sdhi-r8a7790";
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200343 reg = <0 0xee140000 0 0x100>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100344 interrupts = <0 167 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100345 clocks = <&mstp3_clks R8A7790_CLK_SDHI2>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200346 cap-sd-highspeed;
347 status = "disabled";
348 };
349
Kuninori Morimotob718aa42013-10-21 19:36:13 -0700350 sdhi3: sd@ee160000 {
Guennadi Liakhovetskidf1d0582013-08-29 17:14:49 +0200351 compatible = "renesas,sdhi-r8a7790";
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200352 reg = <0 0xee160000 0 0x100>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100353 interrupts = <0 168 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart72197ca2013-12-11 15:05:15 +0100354 clocks = <&mstp3_clks R8A7790_CLK_SDHI3>;
Guennadi Liakhovetski8c9b1aa2013-07-08 17:54:46 +0200355 cap-sd-highspeed;
356 status = "disabled";
357 };
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100358
Laurent Pinchart597af202013-10-29 16:23:12 +0100359 scifa0: serial@e6c40000 {
Laurent Pinchart59d2b512014-01-21 13:48:38 +0100360 compatible = "renesas,scifa-r8a7790", "renesas,scifa";
Laurent Pinchart597af202013-10-29 16:23:12 +0100361 reg = <0 0xe6c40000 0 64>;
Laurent Pinchart1f4c7452014-01-21 13:48:39 +0100362 interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100363 clocks = <&mstp2_clks R8A7790_CLK_SCIFA0>;
364 clock-names = "sci_ick";
365 status = "disabled";
366 };
367
368 scifa1: serial@e6c50000 {
Laurent Pinchart59d2b512014-01-21 13:48:38 +0100369 compatible = "renesas,scifa-r8a7790", "renesas,scifa";
Laurent Pinchart597af202013-10-29 16:23:12 +0100370 reg = <0 0xe6c50000 0 64>;
Laurent Pinchart1f4c7452014-01-21 13:48:39 +0100371 interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100372 clocks = <&mstp2_clks R8A7790_CLK_SCIFA1>;
373 clock-names = "sci_ick";
374 status = "disabled";
375 };
376
377 scifa2: serial@e6c60000 {
Laurent Pinchart59d2b512014-01-21 13:48:38 +0100378 compatible = "renesas,scifa-r8a7790", "renesas,scifa";
Laurent Pinchart597af202013-10-29 16:23:12 +0100379 reg = <0 0xe6c60000 0 64>;
Laurent Pinchart1f4c7452014-01-21 13:48:39 +0100380 interrupts = <0 151 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100381 clocks = <&mstp2_clks R8A7790_CLK_SCIFA2>;
382 clock-names = "sci_ick";
383 status = "disabled";
384 };
385
386 scifb0: serial@e6c20000 {
Laurent Pinchart59d2b512014-01-21 13:48:38 +0100387 compatible = "renesas,scifb-r8a7790", "renesas,scifb";
Laurent Pinchart597af202013-10-29 16:23:12 +0100388 reg = <0 0xe6c20000 0 64>;
Laurent Pinchart1f4c7452014-01-21 13:48:39 +0100389 interrupts = <0 148 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100390 clocks = <&mstp2_clks R8A7790_CLK_SCIFB0>;
391 clock-names = "sci_ick";
392 status = "disabled";
393 };
394
395 scifb1: serial@e6c30000 {
Laurent Pinchart59d2b512014-01-21 13:48:38 +0100396 compatible = "renesas,scifb-r8a7790", "renesas,scifb";
Laurent Pinchart597af202013-10-29 16:23:12 +0100397 reg = <0 0xe6c30000 0 64>;
Laurent Pinchart1f4c7452014-01-21 13:48:39 +0100398 interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100399 clocks = <&mstp2_clks R8A7790_CLK_SCIFB1>;
400 clock-names = "sci_ick";
401 status = "disabled";
402 };
403
404 scifb2: serial@e6ce0000 {
Laurent Pinchart59d2b512014-01-21 13:48:38 +0100405 compatible = "renesas,scifb-r8a7790", "renesas,scifb";
Laurent Pinchart597af202013-10-29 16:23:12 +0100406 reg = <0 0xe6ce0000 0 64>;
Laurent Pinchart1f4c7452014-01-21 13:48:39 +0100407 interrupts = <0 150 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100408 clocks = <&mstp2_clks R8A7790_CLK_SCIFB2>;
409 clock-names = "sci_ick";
410 status = "disabled";
411 };
412
413 scif0: serial@e6e60000 {
Laurent Pinchart59d2b512014-01-21 13:48:38 +0100414 compatible = "renesas,scif-r8a7790", "renesas,scif";
Laurent Pinchart597af202013-10-29 16:23:12 +0100415 reg = <0 0xe6e60000 0 64>;
Laurent Pinchart1f4c7452014-01-21 13:48:39 +0100416 interrupts = <0 152 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100417 clocks = <&mstp7_clks R8A7790_CLK_SCIF0>;
418 clock-names = "sci_ick";
419 status = "disabled";
420 };
421
422 scif1: serial@e6e68000 {
Laurent Pinchart59d2b512014-01-21 13:48:38 +0100423 compatible = "renesas,scif-r8a7790", "renesas,scif";
Laurent Pinchart597af202013-10-29 16:23:12 +0100424 reg = <0 0xe6e68000 0 64>;
Laurent Pinchart1f4c7452014-01-21 13:48:39 +0100425 interrupts = <0 153 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100426 clocks = <&mstp7_clks R8A7790_CLK_SCIF1>;
427 clock-names = "sci_ick";
428 status = "disabled";
429 };
430
431 hscif0: serial@e62c0000 {
Laurent Pinchart59d2b512014-01-21 13:48:38 +0100432 compatible = "renesas,hscif-r8a7790", "renesas,hscif";
Laurent Pinchart597af202013-10-29 16:23:12 +0100433 reg = <0 0xe62c0000 0 96>;
Laurent Pinchart1f4c7452014-01-21 13:48:39 +0100434 interrupts = <0 154 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100435 clocks = <&mstp7_clks R8A7790_CLK_HSCIF0>;
436 clock-names = "sci_ick";
437 status = "disabled";
438 };
439
440 hscif1: serial@e62c8000 {
Laurent Pinchart59d2b512014-01-21 13:48:38 +0100441 compatible = "renesas,hscif-r8a7790", "renesas,hscif";
Laurent Pinchart597af202013-10-29 16:23:12 +0100442 reg = <0 0xe62c8000 0 96>;
Laurent Pinchart1f4c7452014-01-21 13:48:39 +0100443 interrupts = <0 155 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchart597af202013-10-29 16:23:12 +0100444 clocks = <&mstp7_clks R8A7790_CLK_HSCIF1>;
445 clock-names = "sci_ick";
446 status = "disabled";
447 };
448
Sergei Shtylyovd8913c62014-02-20 02:20:43 +0300449 ether: ethernet@ee700000 {
450 compatible = "renesas,ether-r8a7790";
451 reg = <0 0xee700000 0 0x400>;
452 interrupts = <0 162 IRQ_TYPE_LEVEL_HIGH>;
453 clocks = <&mstp8_clks R8A7790_CLK_ETHER>;
454 phy-mode = "rmii";
455 #address-cells = <1>;
456 #size-cells = <0>;
457 status = "disabled";
458 };
459
Valentine Barshakcde630f2014-01-14 21:05:30 +0400460 sata0: sata@ee300000 {
461 compatible = "renesas,sata-r8a7790";
462 reg = <0 0xee300000 0 0x2000>;
Valentine Barshakcde630f2014-01-14 21:05:30 +0400463 interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>;
464 clocks = <&mstp8_clks R8A7790_CLK_SATA0>;
465 status = "disabled";
466 };
467
468 sata1: sata@ee500000 {
469 compatible = "renesas,sata-r8a7790";
470 reg = <0 0xee500000 0 0x2000>;
Valentine Barshakcde630f2014-01-14 21:05:30 +0400471 interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>;
472 clocks = <&mstp8_clks R8A7790_CLK_SATA1>;
473 status = "disabled";
474 };
475
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100476 clocks {
477 #address-cells = <2>;
478 #size-cells = <2>;
479 ranges;
480
481 /* External root clock */
482 extal_clk: extal_clk {
483 compatible = "fixed-clock";
484 #clock-cells = <0>;
485 /* This value must be overriden by the board. */
486 clock-frequency = <0>;
487 clock-output-names = "extal";
488 };
489
Kuninori Morimotoc7c2ec32014-01-13 18:25:39 -0800490 /*
491 * The external audio clocks are configured as 0 Hz fixed frequency clocks by
492 * default. Boards that provide audio clocks should override them.
493 */
494 audio_clk_a: audio_clk_a {
495 compatible = "fixed-clock";
496 #clock-cells = <0>;
497 clock-frequency = <0>;
498 clock-output-names = "audio_clk_a";
499 };
500 audio_clk_b: audio_clk_b {
501 compatible = "fixed-clock";
502 #clock-cells = <0>;
503 clock-frequency = <0>;
504 clock-output-names = "audio_clk_b";
505 };
506 audio_clk_c: audio_clk_c {
507 compatible = "fixed-clock";
508 #clock-cells = <0>;
509 clock-frequency = <0>;
510 clock-output-names = "audio_clk_c";
511 };
512
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100513 /* Special CPG clocks */
514 cpg_clocks: cpg_clocks@e6150000 {
515 compatible = "renesas,r8a7790-cpg-clocks",
516 "renesas,rcar-gen2-cpg-clocks";
517 reg = <0 0xe6150000 0 0x1000>;
518 clocks = <&extal_clk>;
519 #clock-cells = <1>;
520 clock-output-names = "main", "pll0", "pll1", "pll3",
521 "lb", "qspi", "sdh", "sd0", "sd1",
522 "z";
523 };
524
525 /* Variable factor clocks */
526 sd2_clk: sd2_clk@e6150078 {
527 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
528 reg = <0 0xe6150078 0 4>;
529 clocks = <&pll1_div2_clk>;
530 #clock-cells = <0>;
531 clock-output-names = "sd2";
532 };
533 sd3_clk: sd3_clk@e615007c {
534 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
535 reg = <0 0xe615007c 0 4>;
536 clocks = <&pll1_div2_clk>;
537 #clock-cells = <0>;
538 clock-output-names = "sd3";
539 };
540 mmc0_clk: mmc0_clk@e6150240 {
541 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
542 reg = <0 0xe6150240 0 4>;
543 clocks = <&pll1_div2_clk>;
544 #clock-cells = <0>;
545 clock-output-names = "mmc0";
546 };
547 mmc1_clk: mmc1_clk@e6150244 {
548 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
549 reg = <0 0xe6150244 0 4>;
550 clocks = <&pll1_div2_clk>;
551 #clock-cells = <0>;
552 clock-output-names = "mmc1";
553 };
554 ssp_clk: ssp_clk@e6150248 {
555 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
556 reg = <0 0xe6150248 0 4>;
557 clocks = <&pll1_div2_clk>;
558 #clock-cells = <0>;
559 clock-output-names = "ssp";
560 };
561 ssprs_clk: ssprs_clk@e615024c {
562 compatible = "renesas,r8a7790-div6-clock", "renesas,cpg-div6-clock";
563 reg = <0 0xe615024c 0 4>;
564 clocks = <&pll1_div2_clk>;
565 #clock-cells = <0>;
566 clock-output-names = "ssprs";
567 };
568
569 /* Fixed factor clocks */
570 pll1_div2_clk: pll1_div2_clk {
571 compatible = "fixed-factor-clock";
572 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
573 #clock-cells = <0>;
574 clock-div = <2>;
575 clock-mult = <1>;
576 clock-output-names = "pll1_div2";
577 };
578 z2_clk: z2_clk {
579 compatible = "fixed-factor-clock";
580 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
581 #clock-cells = <0>;
582 clock-div = <2>;
583 clock-mult = <1>;
584 clock-output-names = "z2";
585 };
586 zg_clk: zg_clk {
587 compatible = "fixed-factor-clock";
588 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
589 #clock-cells = <0>;
590 clock-div = <3>;
591 clock-mult = <1>;
592 clock-output-names = "zg";
593 };
594 zx_clk: zx_clk {
595 compatible = "fixed-factor-clock";
596 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
597 #clock-cells = <0>;
598 clock-div = <3>;
599 clock-mult = <1>;
600 clock-output-names = "zx";
601 };
602 zs_clk: zs_clk {
603 compatible = "fixed-factor-clock";
604 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
605 #clock-cells = <0>;
606 clock-div = <6>;
607 clock-mult = <1>;
608 clock-output-names = "zs";
609 };
610 hp_clk: hp_clk {
611 compatible = "fixed-factor-clock";
612 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
613 #clock-cells = <0>;
614 clock-div = <12>;
615 clock-mult = <1>;
616 clock-output-names = "hp";
617 };
618 i_clk: i_clk {
619 compatible = "fixed-factor-clock";
620 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
621 #clock-cells = <0>;
622 clock-div = <2>;
623 clock-mult = <1>;
624 clock-output-names = "i";
625 };
626 b_clk: b_clk {
627 compatible = "fixed-factor-clock";
628 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
629 #clock-cells = <0>;
630 clock-div = <12>;
631 clock-mult = <1>;
632 clock-output-names = "b";
633 };
634 p_clk: p_clk {
635 compatible = "fixed-factor-clock";
636 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
637 #clock-cells = <0>;
638 clock-div = <24>;
639 clock-mult = <1>;
640 clock-output-names = "p";
641 };
642 cl_clk: cl_clk {
643 compatible = "fixed-factor-clock";
644 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
645 #clock-cells = <0>;
646 clock-div = <48>;
647 clock-mult = <1>;
648 clock-output-names = "cl";
649 };
650 m2_clk: m2_clk {
651 compatible = "fixed-factor-clock";
652 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
653 #clock-cells = <0>;
654 clock-div = <8>;
655 clock-mult = <1>;
656 clock-output-names = "m2";
657 };
658 imp_clk: imp_clk {
659 compatible = "fixed-factor-clock";
660 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
661 #clock-cells = <0>;
662 clock-div = <4>;
663 clock-mult = <1>;
664 clock-output-names = "imp";
665 };
666 rclk_clk: rclk_clk {
667 compatible = "fixed-factor-clock";
668 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
669 #clock-cells = <0>;
670 clock-div = <(48 * 1024)>;
671 clock-mult = <1>;
672 clock-output-names = "rclk";
673 };
674 oscclk_clk: oscclk_clk {
675 compatible = "fixed-factor-clock";
676 clocks = <&cpg_clocks R8A7790_CLK_PLL1>;
677 #clock-cells = <0>;
678 clock-div = <(12 * 1024)>;
679 clock-mult = <1>;
680 clock-output-names = "oscclk";
681 };
682 zb3_clk: zb3_clk {
683 compatible = "fixed-factor-clock";
684 clocks = <&cpg_clocks R8A7790_CLK_PLL3>;
685 #clock-cells = <0>;
686 clock-div = <4>;
687 clock-mult = <1>;
688 clock-output-names = "zb3";
689 };
690 zb3d2_clk: zb3d2_clk {
691 compatible = "fixed-factor-clock";
692 clocks = <&cpg_clocks R8A7790_CLK_PLL3>;
693 #clock-cells = <0>;
694 clock-div = <8>;
695 clock-mult = <1>;
696 clock-output-names = "zb3d2";
697 };
698 ddr_clk: ddr_clk {
699 compatible = "fixed-factor-clock";
700 clocks = <&cpg_clocks R8A7790_CLK_PLL3>;
701 #clock-cells = <0>;
702 clock-div = <8>;
703 clock-mult = <1>;
704 clock-output-names = "ddr";
705 };
706 mp_clk: mp_clk {
707 compatible = "fixed-factor-clock";
708 clocks = <&pll1_div2_clk>;
709 #clock-cells = <0>;
710 clock-div = <15>;
711 clock-mult = <1>;
712 clock-output-names = "mp";
713 };
714 cp_clk: cp_clk {
715 compatible = "fixed-factor-clock";
716 clocks = <&extal_clk>;
717 #clock-cells = <0>;
718 clock-div = <2>;
719 clock-mult = <1>;
720 clock-output-names = "cp";
721 };
722
723 /* Gate clocks */
Laurent Pinchart9d909512013-12-19 16:51:01 +0100724 mstp0_clks: mstp0_clks@e6150130 {
725 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
726 reg = <0 0xe6150130 0 4>, <0 0xe6150030 0 4>;
727 clocks = <&mp_clk>;
728 #clock-cells = <1>;
729 renesas,clock-indices = <R8A7790_CLK_MSIOF0>;
730 clock-output-names = "msiof0";
731 };
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100732 mstp1_clks: mstp1_clks@e6150134 {
733 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
734 reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>;
735 clocks = <&p_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>,
736 <&cp_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>,
737 <&zs_clk>;
738 #clock-cells = <1>;
739 renesas,clock-indices = <
740 R8A7790_CLK_TMU1 R8A7790_CLK_TMU3 R8A7790_CLK_TMU2
741 R8A7790_CLK_CMT0 R8A7790_CLK_TMU0 R8A7790_CLK_VSP1_DU1
Laurent Pinchart79ea9932014-04-02 16:31:46 +0200742 R8A7790_CLK_VSP1_DU0 R8A7790_CLK_VSP1_R R8A7790_CLK_VSP1_S
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100743 >;
744 clock-output-names =
745 "tmu1", "tmu3", "tmu2", "cmt0", "tmu0", "vsp1-du1",
746 "vsp1-du0", "vsp1-rt", "vsp1-sy";
747 };
748 mstp2_clks: mstp2_clks@e6150138 {
749 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
750 reg = <0 0xe6150138 0 4>, <0 0xe6150040 0 4>;
751 clocks = <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>,
Laurent Pinchart9d909512013-12-19 16:51:01 +0100752 <&mp_clk>, <&mp_clk>, <&mp_clk>, <&mp_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100753 #clock-cells = <1>;
754 renesas,clock-indices = <
755 R8A7790_CLK_SCIFA2 R8A7790_CLK_SCIFA1 R8A7790_CLK_SCIFA0
Laurent Pinchart9d909512013-12-19 16:51:01 +0100756 R8A7790_CLK_MSIOF2 R8A7790_CLK_SCIFB0 R8A7790_CLK_SCIFB1
757 R8A7790_CLK_MSIOF1 R8A7790_CLK_MSIOF3 R8A7790_CLK_SCIFB2
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100758 >;
759 clock-output-names =
Laurent Pinchart9d909512013-12-19 16:51:01 +0100760 "scifa2", "scifa1", "scifa0", "msiof2", "scifb0",
761 "scifb1", "msiof1", "msiof3", "scifb2";
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100762 };
763 mstp3_clks: mstp3_clks@e615013c {
764 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
765 reg = <0 0xe615013c 0 4>, <0 0xe6150048 0 4>;
Wolfram Sang17465142014-03-11 22:24:37 +0100766 clocks = <&hp_clk>, <&cp_clk>, <&mmc1_clk>, <&sd3_clk>,
767 <&sd2_clk>, <&cpg_clocks R8A7790_CLK_SD1>, <&cpg_clocks R8A7790_CLK_SD0>, <&mmc0_clk>,
Yoshihiro Shimoda35b5da72014-06-03 15:54:19 +0900768 <&hp_clk>, <&hp_clk>, <&mp_clk>, <&rclk_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100769 #clock-cells = <1>;
770 renesas,clock-indices = <
Wolfram Sang17465142014-03-11 22:24:37 +0100771 R8A7790_CLK_IIC2 R8A7790_CLK_TPU0 R8A7790_CLK_MMCIF1 R8A7790_CLK_SDHI3
772 R8A7790_CLK_SDHI2 R8A7790_CLK_SDHI1 R8A7790_CLK_SDHI0 R8A7790_CLK_MMCIF0
Yoshihiro Shimoda35b5da72014-06-03 15:54:19 +0900773 R8A7790_CLK_IIC0 R8A7790_CLK_IIC1 R8A7790_CLK_SSUSB R8A7790_CLK_CMT1
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100774 >;
775 clock-output-names =
Wolfram Sang17465142014-03-11 22:24:37 +0100776 "iic2", "tpu0", "mmcif1", "sdhi3",
777 "sdhi2", "sdhi1", "sdhi0", "mmcif0",
Yoshihiro Shimoda35b5da72014-06-03 15:54:19 +0900778 "iic0", "iic1", "ssusb", "cmt1";
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100779 };
780 mstp5_clks: mstp5_clks@e6150144 {
781 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
782 reg = <0 0xe6150144 0 4>, <0 0xe615003c 0 4>;
783 clocks = <&extal_clk>, <&p_clk>;
784 #clock-cells = <1>;
785 renesas,clock-indices = <R8A7790_CLK_THERMAL R8A7790_CLK_PWM>;
786 clock-output-names = "thermal", "pwm";
787 };
788 mstp7_clks: mstp7_clks@e615014c {
789 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
790 reg = <0 0xe615014c 0 4>, <0 0xe61501c4 0 4>;
791 clocks = <&mp_clk>, <&mp_clk>, <&zs_clk>, <&zs_clk>, <&p_clk>,
792 <&p_clk>, <&zx_clk>, <&zx_clk>, <&zx_clk>, <&zx_clk>,
793 <&zx_clk>;
794 #clock-cells = <1>;
795 renesas,clock-indices = <
796 R8A7790_CLK_EHCI R8A7790_CLK_HSUSB R8A7790_CLK_HSCIF1
797 R8A7790_CLK_HSCIF0 R8A7790_CLK_SCIF1 R8A7790_CLK_SCIF0
798 R8A7790_CLK_DU2 R8A7790_CLK_DU1 R8A7790_CLK_DU0
799 R8A7790_CLK_LVDS1 R8A7790_CLK_LVDS0
800 >;
801 clock-output-names =
802 "ehci", "hsusb", "hscif1", "hscif0", "scif1",
803 "scif0", "du2", "du1", "du0", "lvds1", "lvds0";
804 };
805 mstp8_clks: mstp8_clks@e6150990 {
806 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
807 reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>;
Laurent Pinchartbccccc32014-01-07 09:22:55 +0100808 clocks = <&zg_clk>, <&zg_clk>, <&zg_clk>, <&zg_clk>, <&p_clk>,
809 <&zs_clk>, <&zs_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100810 #clock-cells = <1>;
Laurent Pinchart3f2beaa2014-01-07 09:22:53 +0100811 renesas,clock-indices = <
812 R8A7790_CLK_VIN3 R8A7790_CLK_VIN2 R8A7790_CLK_VIN1
Laurent Pinchartbccccc32014-01-07 09:22:55 +0100813 R8A7790_CLK_VIN0 R8A7790_CLK_ETHER R8A7790_CLK_SATA1
814 R8A7790_CLK_SATA0
Laurent Pinchart3f2beaa2014-01-07 09:22:53 +0100815 >;
Laurent Pinchartbccccc32014-01-07 09:22:55 +0100816 clock-output-names =
817 "vin3", "vin2", "vin1", "vin0", "ether", "sata1", "sata0";
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100818 };
819 mstp9_clks: mstp9_clks@e6150994 {
820 compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
821 reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>;
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200822 clocks = <&cp_clk>, <&cp_clk>, <&cp_clk>,
823 <&cp_clk>, <&cp_clk>, <&cp_clk>,
824 <&p_clk>, <&p_clk>, <&cpg_clocks R8A7790_CLK_QSPI>, <&cp_clk>,
Laurent Pinchart3672b052014-04-01 13:02:17 +0200825 <&hp_clk>, <&hp_clk>, <&hp_clk>, <&hp_clk>;
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100826 #clock-cells = <1>;
827 renesas,clock-indices = <
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200828 R8A7790_CLK_GPIO5 R8A7790_CLK_GPIO4 R8A7790_CLK_GPIO3
829 R8A7790_CLK_GPIO2 R8A7790_CLK_GPIO1 R8A7790_CLK_GPIO0
Wolfram Sang17465142014-03-11 22:24:37 +0100830 R8A7790_CLK_RCAN1 R8A7790_CLK_RCAN0 R8A7790_CLK_QSPI_MOD R8A7790_CLK_IICDVFS
831 R8A7790_CLK_I2C3 R8A7790_CLK_I2C2 R8A7790_CLK_I2C1 R8A7790_CLK_I2C0
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100832 >;
Laurent Pinchart91b56ca2013-12-19 16:51:03 +0100833 clock-output-names =
Geert Uytterhoeven81f68832014-04-23 10:25:27 +0200834 "gpio5", "gpio4", "gpio3", "gpio2", "gpio1", "gpio0",
Wolfram Sang17465142014-03-11 22:24:37 +0100835 "rcan1", "rcan0", "qspi_mod", "iic3",
836 "i2c3", "i2c2", "i2c1", "i2c0";
Laurent Pinchart22a1f592013-12-11 15:05:14 +0100837 };
838 };
Geert Uytterhoeven7053e132014-02-10 11:47:29 +0100839
Geert Uytterhoevenfad6d452014-02-25 11:30:13 +0100840 qspi: spi@e6b10000 {
Geert Uytterhoeven7053e132014-02-10 11:47:29 +0100841 compatible = "renesas,qspi-r8a7790", "renesas,qspi";
842 reg = <0 0xe6b10000 0 0x2c>;
Geert Uytterhoeven7053e132014-02-10 11:47:29 +0100843 interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>;
844 clocks = <&mstp9_clks R8A7790_CLK_QSPI_MOD>;
845 num-cs = <1>;
846 #address-cells = <1>;
847 #size-cells = <0>;
848 status = "disabled";
849 };
Geert Uytterhoevenae8a6142014-02-25 11:30:15 +0100850
851 msiof0: spi@e6e20000 {
852 compatible = "renesas,msiof-r8a7790";
853 reg = <0 0xe6e20000 0 0x0064>;
854 interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>;
855 clocks = <&mstp0_clks R8A7790_CLK_MSIOF0>;
856 #address-cells = <1>;
857 #size-cells = <0>;
858 status = "disabled";
859 };
860
861 msiof1: spi@e6e10000 {
862 compatible = "renesas,msiof-r8a7790";
863 reg = <0 0xe6e10000 0 0x0064>;
864 interrupts = <0 157 IRQ_TYPE_LEVEL_HIGH>;
865 clocks = <&mstp2_clks R8A7790_CLK_MSIOF1>;
866 #address-cells = <1>;
867 #size-cells = <0>;
868 status = "disabled";
869 };
870
871 msiof2: spi@e6e00000 {
872 compatible = "renesas,msiof-r8a7790";
873 reg = <0 0xe6e00000 0 0x0064>;
874 interrupts = <0 158 IRQ_TYPE_LEVEL_HIGH>;
875 clocks = <&mstp2_clks R8A7790_CLK_MSIOF2>;
876 #address-cells = <1>;
877 #size-cells = <0>;
878 status = "disabled";
879 };
880
881 msiof3: spi@e6c90000 {
882 compatible = "renesas,msiof-r8a7790";
883 reg = <0 0xe6c90000 0 0x0064>;
884 interrupts = <0 159 IRQ_TYPE_LEVEL_HIGH>;
885 clocks = <&mstp2_clks R8A7790_CLK_MSIOF3>;
886 #address-cells = <1>;
887 #size-cells = <0>;
888 status = "disabled";
889 };
Magnus Damm0468b2d2013-03-28 00:49:34 +0900890};