blob: 58d0d952d60e511b235fae39ab5afce807434592 [file] [log] [blame]
Simon Hormanc58a1542013-01-29 14:21:46 +09001/*
Kuninori Morimoto349f5562013-03-03 23:11:03 -08002 * Device Tree Source for Renesas r8a7779
Simon Hormanc58a1542013-01-29 14:21:46 +09003 *
4 * Copyright (C) 2013 Renesas Solutions Corp.
5 * Copyright (C) 2013 Simon Horman
6 *
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
12/include/ "skeleton.dtsi"
13
Simon Horman1e851532014-05-15 20:31:57 +090014#include <dt-bindings/clock/r8a7779-clock.h>
Laurent Pinchart5f75e732013-11-19 03:18:25 +010015#include <dt-bindings/interrupt-controller/irq.h>
16
Simon Hormanc58a1542013-01-29 14:21:46 +090017/ {
18 compatible = "renesas,r8a7779";
Laurent Pinchart9ff254a2014-04-30 02:41:28 +020019 interrupt-parent = <&gic>;
Simon Hormanc58a1542013-01-29 14:21:46 +090020
21 cpus {
22 #address-cells = <1>;
23 #size-cells = <0>;
24
25 cpu@0 {
26 device_type = "cpu";
27 compatible = "arm,cortex-a9";
28 reg = <0>;
Simon Horman6b060f92014-05-16 13:42:58 +090029 clock-frequency = <1000000000>;
Simon Hormanc58a1542013-01-29 14:21:46 +090030 };
31 cpu@1 {
32 device_type = "cpu";
33 compatible = "arm,cortex-a9";
34 reg = <1>;
Simon Horman6b060f92014-05-16 13:42:58 +090035 clock-frequency = <1000000000>;
Simon Hormanc58a1542013-01-29 14:21:46 +090036 };
37 cpu@2 {
38 device_type = "cpu";
39 compatible = "arm,cortex-a9";
40 reg = <2>;
Simon Horman6b060f92014-05-16 13:42:58 +090041 clock-frequency = <1000000000>;
Simon Hormanc58a1542013-01-29 14:21:46 +090042 };
43 cpu@3 {
44 device_type = "cpu";
45 compatible = "arm,cortex-a9";
46 reg = <3>;
Simon Horman6b060f92014-05-16 13:42:58 +090047 clock-frequency = <1000000000>;
Simon Hormanc58a1542013-01-29 14:21:46 +090048 };
49 };
50
Simon Horman3c3f6ad2013-11-26 16:47:11 +090051 aliases {
52 spi0 = &hspi0;
53 spi1 = &hspi1;
54 spi2 = &hspi2;
55 };
56
Simon Hormancc703a52014-07-07 08:47:38 +020057 gic: interrupt-controller@f0001000 {
58 compatible = "arm,cortex-a9-gic";
59 #interrupt-cells = <3>;
60 interrupt-controller;
61 reg = <0xf0001000 0x1000>,
62 <0xf0000100 0x100>;
63 };
Simon Horman10e8d4f2012-11-21 22:00:15 +090064
Laurent Pinchartf5c771b2013-05-10 15:51:14 +020065 gpio0: gpio@ffc40000 {
66 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
67 reg = <0xffc40000 0x2c>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +010068 interrupts = <0 141 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf5c771b2013-05-10 15:51:14 +020069 #gpio-cells = <2>;
70 gpio-controller;
71 gpio-ranges = <&pfc 0 0 32>;
72 #interrupt-cells = <2>;
73 interrupt-controller;
74 };
75
76 gpio1: gpio@ffc41000 {
77 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
78 reg = <0xffc41000 0x2c>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +010079 interrupts = <0 142 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf5c771b2013-05-10 15:51:14 +020080 #gpio-cells = <2>;
81 gpio-controller;
82 gpio-ranges = <&pfc 0 32 32>;
83 #interrupt-cells = <2>;
84 interrupt-controller;
85 };
86
87 gpio2: gpio@ffc42000 {
88 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
89 reg = <0xffc42000 0x2c>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +010090 interrupts = <0 143 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf5c771b2013-05-10 15:51:14 +020091 #gpio-cells = <2>;
92 gpio-controller;
93 gpio-ranges = <&pfc 0 64 32>;
94 #interrupt-cells = <2>;
95 interrupt-controller;
96 };
97
98 gpio3: gpio@ffc43000 {
99 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
100 reg = <0xffc43000 0x2c>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100101 interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf5c771b2013-05-10 15:51:14 +0200102 #gpio-cells = <2>;
103 gpio-controller;
104 gpio-ranges = <&pfc 0 96 32>;
105 #interrupt-cells = <2>;
106 interrupt-controller;
107 };
108
109 gpio4: gpio@ffc44000 {
110 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
111 reg = <0xffc44000 0x2c>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100112 interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf5c771b2013-05-10 15:51:14 +0200113 #gpio-cells = <2>;
114 gpio-controller;
115 gpio-ranges = <&pfc 0 128 32>;
116 #interrupt-cells = <2>;
117 interrupt-controller;
118 };
119
120 gpio5: gpio@ffc45000 {
121 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
122 reg = <0xffc45000 0x2c>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100123 interrupts = <0 146 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf5c771b2013-05-10 15:51:14 +0200124 #gpio-cells = <2>;
125 gpio-controller;
126 gpio-ranges = <&pfc 0 160 32>;
127 #interrupt-cells = <2>;
128 interrupt-controller;
129 };
130
131 gpio6: gpio@ffc46000 {
132 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
133 reg = <0xffc46000 0x2c>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100134 interrupts = <0 147 IRQ_TYPE_LEVEL_HIGH>;
Laurent Pinchartf5c771b2013-05-10 15:51:14 +0200135 #gpio-cells = <2>;
136 gpio-controller;
137 gpio-ranges = <&pfc 0 192 9>;
138 #interrupt-cells = <2>;
139 interrupt-controller;
140 };
141
Guennadi Liakhovetski24603f32013-04-03 11:19:07 +0200142 irqpin0: irqpin@fe780010 {
Magnus Damm11ef0342013-11-28 08:15:18 +0900143 compatible = "renesas,intc-irqpin-r8a7779", "renesas,intc-irqpin";
Guennadi Liakhovetski24603f32013-04-03 11:19:07 +0200144 #interrupt-cells = <2>;
Kuninori Morimoto84b47df2013-10-02 01:39:13 -0700145 status = "disabled";
Guennadi Liakhovetski24603f32013-04-03 11:19:07 +0200146 interrupt-controller;
147 reg = <0xfe78001c 4>,
148 <0xfe780010 4>,
149 <0xfe780024 4>,
150 <0xfe780044 4>,
151 <0xfe780064 4>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100152 interrupts = <0 27 IRQ_TYPE_LEVEL_HIGH
153 0 28 IRQ_TYPE_LEVEL_HIGH
154 0 29 IRQ_TYPE_LEVEL_HIGH
155 0 30 IRQ_TYPE_LEVEL_HIGH>;
Guennadi Liakhovetski24603f32013-04-03 11:19:07 +0200156 sense-bitfield-width = <2>;
157 };
158
Lee Jones98724b72013-07-22 11:52:38 +0100159 i2c0: i2c@ffc70000 {
Simon Horman10e8d4f2012-11-21 22:00:15 +0900160 #address-cells = <1>;
161 #size-cells = <0>;
Kuninori Morimoto63630702013-10-03 23:44:44 -0700162 compatible = "renesas,i2c-r8a7779";
Simon Horman10e8d4f2012-11-21 22:00:15 +0900163 reg = <0xffc70000 0x1000>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100164 interrupts = <0 79 IRQ_TYPE_LEVEL_HIGH>;
Simon Horman3325cbe2014-05-15 20:32:00 +0900165 clocks = <&mstp0_clks R8A7779_CLK_I2C0>;
Guennadi Liakhovetskieda3a4f2013-09-26 13:06:01 +0200166 status = "disabled";
Simon Horman10e8d4f2012-11-21 22:00:15 +0900167 };
168
Lee Jones98724b72013-07-22 11:52:38 +0100169 i2c1: i2c@ffc71000 {
Simon Horman10e8d4f2012-11-21 22:00:15 +0900170 #address-cells = <1>;
171 #size-cells = <0>;
Kuninori Morimoto63630702013-10-03 23:44:44 -0700172 compatible = "renesas,i2c-r8a7779";
Simon Horman10e8d4f2012-11-21 22:00:15 +0900173 reg = <0xffc71000 0x1000>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100174 interrupts = <0 82 IRQ_TYPE_LEVEL_HIGH>;
Simon Horman3325cbe2014-05-15 20:32:00 +0900175 clocks = <&mstp0_clks R8A7779_CLK_I2C1>;
Guennadi Liakhovetskieda3a4f2013-09-26 13:06:01 +0200176 status = "disabled";
Simon Horman10e8d4f2012-11-21 22:00:15 +0900177 };
178
Lee Jones98724b72013-07-22 11:52:38 +0100179 i2c2: i2c@ffc72000 {
Simon Horman10e8d4f2012-11-21 22:00:15 +0900180 #address-cells = <1>;
181 #size-cells = <0>;
Kuninori Morimoto63630702013-10-03 23:44:44 -0700182 compatible = "renesas,i2c-r8a7779";
Simon Horman10e8d4f2012-11-21 22:00:15 +0900183 reg = <0xffc72000 0x1000>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100184 interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
Simon Horman3325cbe2014-05-15 20:32:00 +0900185 clocks = <&mstp0_clks R8A7779_CLK_I2C2>;
Guennadi Liakhovetskieda3a4f2013-09-26 13:06:01 +0200186 status = "disabled";
Simon Horman10e8d4f2012-11-21 22:00:15 +0900187 };
188
Lee Jones98724b72013-07-22 11:52:38 +0100189 i2c3: i2c@ffc73000 {
Simon Horman10e8d4f2012-11-21 22:00:15 +0900190 #address-cells = <1>;
191 #size-cells = <0>;
Kuninori Morimoto63630702013-10-03 23:44:44 -0700192 compatible = "renesas,i2c-r8a7779";
Simon Horman10e8d4f2012-11-21 22:00:15 +0900193 reg = <0xffc73000 0x1000>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100194 interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>;
Simon Horman3325cbe2014-05-15 20:32:00 +0900195 clocks = <&mstp0_clks R8A7779_CLK_I2C3>;
Guennadi Liakhovetskieda3a4f2013-09-26 13:06:01 +0200196 status = "disabled";
Simon Horman10e8d4f2012-11-21 22:00:15 +0900197 };
Kuninori Morimoto25a65972013-03-04 00:32:16 -0800198
Simon Hormanfd953b82014-05-15 20:39:30 +0900199 scif0: serial@ffe40000 {
200 compatible = "renesas,scif-r8a7779", "renesas,scif";
201 reg = <0xffe40000 0x100>;
202 interrupt-parent = <&gic>;
203 interrupts = <0 88 IRQ_TYPE_LEVEL_HIGH>;
204 clocks = <&cpg_clocks R8A7779_CLK_P>;
205 clock-names = "sci_ick";
206 status = "disabled";
207 };
208
209 scif1: serial@ffe41000 {
210 compatible = "renesas,scif-r8a7779", "renesas,scif";
211 reg = <0xffe41000 0x100>;
212 interrupt-parent = <&gic>;
213 interrupts = <0 89 IRQ_TYPE_LEVEL_HIGH>;
214 clocks = <&cpg_clocks R8A7779_CLK_P>;
215 clock-names = "sci_ick";
216 status = "disabled";
217 };
218
219 scif2: serial@ffe42000 {
220 compatible = "renesas,scif-r8a7779", "renesas,scif";
221 reg = <0xffe42000 0x100>;
222 interrupt-parent = <&gic>;
223 interrupts = <0 90 IRQ_TYPE_LEVEL_HIGH>;
224 clocks = <&cpg_clocks R8A7779_CLK_P>;
225 clock-names = "sci_ick";
226 status = "disabled";
227 };
228
229 scif3: serial@ffe43000 {
230 compatible = "renesas,scif-r8a7779", "renesas,scif";
231 reg = <0xffe43000 0x100>;
232 interrupt-parent = <&gic>;
233 interrupts = <0 91 IRQ_TYPE_LEVEL_HIGH>;
234 clocks = <&cpg_clocks R8A7779_CLK_P>;
235 clock-names = "sci_ick";
236 status = "disabled";
237 };
238
239 scif4: serial@ffe44000 {
240 compatible = "renesas,scif-r8a7779", "renesas,scif";
241 reg = <0xffe44000 0x100>;
242 interrupt-parent = <&gic>;
243 interrupts = <0 92 IRQ_TYPE_LEVEL_HIGH>;
244 clocks = <&cpg_clocks R8A7779_CLK_P>;
245 clock-names = "sci_ick";
246 status = "disabled";
247 };
248
249 scif5: serial@ffe45000 {
250 compatible = "renesas,scif-r8a7779", "renesas,scif";
251 reg = <0xffe45000 0x100>;
252 interrupt-parent = <&gic>;
253 interrupts = <0 93 IRQ_TYPE_LEVEL_HIGH>;
254 clocks = <&cpg_clocks R8A7779_CLK_P>;
255 clock-names = "sci_ick";
256 status = "disabled";
257 };
258
Laurent Pinchart3ab03d02013-05-09 15:05:57 +0200259 pfc: pfc@fffc0000 {
260 compatible = "renesas,pfc-r8a7779";
261 reg = <0xfffc0000 0x23c>;
262 };
263
Kuninori Morimoto25a65972013-03-04 00:32:16 -0800264 thermal@ffc48000 {
265 compatible = "renesas,rcar-thermal";
266 reg = <0xffc48000 0x38>;
267 };
Vladimir Barinov7840a652013-02-27 23:34:36 +0300268
269 sata: sata@fc600000 {
270 compatible = "renesas,rcar-sata";
271 reg = <0xfc600000 0x2000>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100272 interrupts = <0 100 IRQ_TYPE_LEVEL_HIGH>;
Simon Horman3325cbe2014-05-15 20:32:00 +0900273 clocks = <&mstp1_clks R8A7779_CLK_SATA>;
Vladimir Barinov7840a652013-02-27 23:34:36 +0300274 };
Kuninori Morimotoc4866e72013-10-10 23:36:22 -0700275
Kuninori Morimoto26247052013-10-21 19:36:02 -0700276 sdhi0: sd@ffe4c000 {
Kuninori Morimotoc4866e72013-10-10 23:36:22 -0700277 compatible = "renesas,sdhi-r8a7779";
278 reg = <0xffe4c000 0x100>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100279 interrupts = <0 104 IRQ_TYPE_LEVEL_HIGH>;
Simon Horman3325cbe2014-05-15 20:32:00 +0900280 clocks = <&mstp3_clks R8A7779_CLK_SDHI0>;
Kuninori Morimotoc4866e72013-10-10 23:36:22 -0700281 cap-sd-highspeed;
282 cap-sdio-irq;
283 status = "disabled";
284 };
285
Kuninori Morimoto26247052013-10-21 19:36:02 -0700286 sdhi1: sd@ffe4d000 {
Kuninori Morimotoc4866e72013-10-10 23:36:22 -0700287 compatible = "renesas,sdhi-r8a7779";
288 reg = <0xffe4d000 0x100>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100289 interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>;
Simon Horman3325cbe2014-05-15 20:32:00 +0900290 clocks = <&mstp3_clks R8A7779_CLK_SDHI1>;
Kuninori Morimotoc4866e72013-10-10 23:36:22 -0700291 cap-sd-highspeed;
292 cap-sdio-irq;
293 status = "disabled";
294 };
295
Kuninori Morimoto26247052013-10-21 19:36:02 -0700296 sdhi2: sd@ffe4e000 {
Kuninori Morimotoc4866e72013-10-10 23:36:22 -0700297 compatible = "renesas,sdhi-r8a7779";
298 reg = <0xffe4e000 0x100>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100299 interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
Simon Horman3325cbe2014-05-15 20:32:00 +0900300 clocks = <&mstp3_clks R8A7779_CLK_SDHI2>;
Kuninori Morimotoc4866e72013-10-10 23:36:22 -0700301 cap-sd-highspeed;
302 cap-sdio-irq;
303 status = "disabled";
304 };
305
Kuninori Morimoto26247052013-10-21 19:36:02 -0700306 sdhi3: sd@ffe4f000 {
Kuninori Morimotoc4866e72013-10-10 23:36:22 -0700307 compatible = "renesas,sdhi-r8a7779";
308 reg = <0xffe4f000 0x100>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100309 interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>;
Simon Horman3325cbe2014-05-15 20:32:00 +0900310 clocks = <&mstp3_clks R8A7779_CLK_SDHI3>;
Kuninori Morimotoc4866e72013-10-10 23:36:22 -0700311 cap-sd-highspeed;
312 cap-sdio-irq;
313 status = "disabled";
314 };
Simon Horman3c3f6ad2013-11-26 16:47:11 +0900315
316 hspi0: spi@fffc7000 {
Geert Uytterhoeven7709c332014-03-14 11:06:40 +0100317 compatible = "renesas,hspi-r8a7779", "renesas,hspi";
Simon Horman3c3f6ad2013-11-26 16:47:11 +0900318 reg = <0xfffc7000 0x18>;
Simon Horman3c3f6ad2013-11-26 16:47:11 +0900319 interrupts = <0 73 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven7709c332014-03-14 11:06:40 +0100320 #address-cells = <1>;
321 #size-cells = <0>;
Simon Horman3325cbe2014-05-15 20:32:00 +0900322 clocks = <&mstp0_clks R8A7779_CLK_HSPI>;
Simon Horman3c3f6ad2013-11-26 16:47:11 +0900323 status = "disabled";
324 };
325
326 hspi1: spi@fffc8000 {
Geert Uytterhoeven7709c332014-03-14 11:06:40 +0100327 compatible = "renesas,hspi-r8a7779", "renesas,hspi";
Simon Horman3c3f6ad2013-11-26 16:47:11 +0900328 reg = <0xfffc8000 0x18>;
Simon Horman3c3f6ad2013-11-26 16:47:11 +0900329 interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven7709c332014-03-14 11:06:40 +0100330 #address-cells = <1>;
331 #size-cells = <0>;
Simon Horman3325cbe2014-05-15 20:32:00 +0900332 clocks = <&mstp0_clks R8A7779_CLK_HSPI>;
Simon Horman3c3f6ad2013-11-26 16:47:11 +0900333 status = "disabled";
334 };
335
336 hspi2: spi@fffc6000 {
Geert Uytterhoeven7709c332014-03-14 11:06:40 +0100337 compatible = "renesas,hspi-r8a7779", "renesas,hspi";
Simon Horman3c3f6ad2013-11-26 16:47:11 +0900338 reg = <0xfffc6000 0x18>;
Simon Horman3c3f6ad2013-11-26 16:47:11 +0900339 interrupts = <0 75 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven7709c332014-03-14 11:06:40 +0100340 #address-cells = <1>;
341 #size-cells = <0>;
Simon Horman3325cbe2014-05-15 20:32:00 +0900342 clocks = <&mstp0_clks R8A7779_CLK_HSPI>;
Simon Horman3c3f6ad2013-11-26 16:47:11 +0900343 status = "disabled";
344 };
Simon Horman1e851532014-05-15 20:31:57 +0900345
346 clocks {
Geert Uytterhoeven5cc8afc2014-05-23 09:46:19 +0200347 #address-cells = <1>;
348 #size-cells = <1>;
Simon Horman1e851532014-05-15 20:31:57 +0900349 ranges;
350
351 /* External root clock */
352 extal_clk: extal_clk {
353 compatible = "fixed-clock";
354 #clock-cells = <0>;
355 /* This value must be overriden by the board. */
356 clock-frequency = <0>;
357 clock-output-names = "extal";
358 };
359
360 /* Special CPG clocks */
Geert Uytterhoeven2909b872014-05-23 09:46:20 +0200361 cpg_clocks: clocks@ffc80000 {
Simon Horman1e851532014-05-15 20:31:57 +0900362 compatible = "renesas,r8a7779-cpg-clocks";
Geert Uytterhoeven5cc8afc2014-05-23 09:46:19 +0200363 reg = <0xffc80000 0x30>;
Simon Horman1e851532014-05-15 20:31:57 +0900364 clocks = <&extal_clk>;
365 #clock-cells = <1>;
366 clock-output-names = "plla", "z", "zs", "s",
367 "s1", "p", "b", "out";
368 };
369
370 /* Fixed factor clocks */
371 i_clk: i_clk {
372 compatible = "fixed-factor-clock";
373 clocks = <&cpg_clocks R8A7779_CLK_PLLA>;
374 #clock-cells = <0>;
375 clock-div = <2>;
376 clock-mult = <1>;
377 clock-output-names = "i";
378 };
379 s3_clk: s3_clk {
380 compatible = "fixed-factor-clock";
381 clocks = <&cpg_clocks R8A7779_CLK_PLLA>;
382 #clock-cells = <0>;
383 clock-div = <8>;
384 clock-mult = <1>;
385 clock-output-names = "s3";
386 };
387 s4_clk: s4_clk {
388 compatible = "fixed-factor-clock";
389 clocks = <&cpg_clocks R8A7779_CLK_PLLA>;
390 #clock-cells = <0>;
391 clock-div = <16>;
392 clock-mult = <1>;
393 clock-output-names = "s4";
394 };
395 g_clk: g_clk {
396 compatible = "fixed-factor-clock";
397 clocks = <&cpg_clocks R8A7779_CLK_PLLA>;
398 #clock-cells = <0>;
399 clock-div = <24>;
400 clock-mult = <1>;
401 clock-output-names = "g";
402 };
403
404 /* Gate clocks */
Geert Uytterhoeven2909b872014-05-23 09:46:20 +0200405 mstp0_clks: clocks@ffc80030 {
Simon Horman1e851532014-05-15 20:31:57 +0900406 compatible = "renesas,r8a7779-mstp-clocks",
407 "renesas,cpg-mstp-clocks";
Geert Uytterhoeven5cc8afc2014-05-23 09:46:19 +0200408 reg = <0xffc80030 4>;
Simon Horman1e851532014-05-15 20:31:57 +0900409 clocks = <&cpg_clocks R8A7779_CLK_S>,
410 <&cpg_clocks R8A7779_CLK_P>,
411 <&cpg_clocks R8A7779_CLK_P>,
412 <&cpg_clocks R8A7779_CLK_P>,
413 <&cpg_clocks R8A7779_CLK_S>,
414 <&cpg_clocks R8A7779_CLK_S>,
415 <&cpg_clocks R8A7779_CLK_S1>,
416 <&cpg_clocks R8A7779_CLK_S1>,
417 <&cpg_clocks R8A7779_CLK_S1>,
418 <&cpg_clocks R8A7779_CLK_S1>,
419 <&cpg_clocks R8A7779_CLK_S1>,
420 <&cpg_clocks R8A7779_CLK_S1>,
421 <&cpg_clocks R8A7779_CLK_P>,
422 <&cpg_clocks R8A7779_CLK_P>,
423 <&cpg_clocks R8A7779_CLK_P>,
424 <&cpg_clocks R8A7779_CLK_P>;
425 #clock-cells = <1>;
426 renesas,clock-indices = <
427 R8A7779_CLK_HSPI R8A7779_CLK_TMU2
428 R8A7779_CLK_TMU1 R8A7779_CLK_TMU0
429 R8A7779_CLK_HSCIF1 R8A7779_CLK_HSCIF0
430 R8A7779_CLK_SCIF5 R8A7779_CLK_SCIF4
431 R8A7779_CLK_SCIF3 R8A7779_CLK_SCIF2
432 R8A7779_CLK_SCIF1 R8A7779_CLK_SCIF0
433 R8A7779_CLK_I2C3 R8A7779_CLK_I2C2
434 R8A7779_CLK_I2C1 R8A7779_CLK_I2C0
435 >;
436 clock-output-names =
437 "hspi", "tmu2", "tmu1", "tmu0", "hscif1",
438 "hscif0", "scif5", "scif4", "scif3", "scif2",
439 "scif1", "scif0", "i2c3", "i2c2", "i2c1",
440 "i2c0";
441 };
Geert Uytterhoeven2909b872014-05-23 09:46:20 +0200442 mstp1_clks: clocks@ffc80034 {
Simon Horman1e851532014-05-15 20:31:57 +0900443 compatible = "renesas,r8a7779-mstp-clocks",
444 "renesas,cpg-mstp-clocks";
Geert Uytterhoeven5cc8afc2014-05-23 09:46:19 +0200445 reg = <0xffc80034 4>, <0xffc80044 4>;
Simon Horman1e851532014-05-15 20:31:57 +0900446 clocks = <&cpg_clocks R8A7779_CLK_P>,
447 <&cpg_clocks R8A7779_CLK_P>,
448 <&cpg_clocks R8A7779_CLK_S>,
449 <&cpg_clocks R8A7779_CLK_S>,
450 <&cpg_clocks R8A7779_CLK_S>,
451 <&cpg_clocks R8A7779_CLK_S>,
452 <&cpg_clocks R8A7779_CLK_P>,
453 <&cpg_clocks R8A7779_CLK_P>,
454 <&cpg_clocks R8A7779_CLK_P>,
455 <&cpg_clocks R8A7779_CLK_S>;
456 #clock-cells = <1>;
457 renesas,clock-indices = <
458 R8A7779_CLK_USB01 R8A7779_CLK_USB2
459 R8A7779_CLK_DU R8A7779_CLK_VIN2
460 R8A7779_CLK_VIN1 R8A7779_CLK_VIN0
461 R8A7779_CLK_ETHER R8A7779_CLK_SATA
462 R8A7779_CLK_PCIE R8A7779_CLK_VIN3
463 >;
464 clock-output-names =
465 "usb01", "usb2",
466 "du", "vin2",
467 "vin1", "vin0",
468 "ether", "sata",
469 "pcie", "vin3";
470 };
Geert Uytterhoeven2909b872014-05-23 09:46:20 +0200471 mstp3_clks: clocks@ffc8003c {
Simon Horman1e851532014-05-15 20:31:57 +0900472 compatible = "renesas,r8a7779-mstp-clocks",
473 "renesas,cpg-mstp-clocks";
Geert Uytterhoeven5cc8afc2014-05-23 09:46:19 +0200474 reg = <0xffc8003c 4>;
Simon Horman1e851532014-05-15 20:31:57 +0900475 clocks = <&s4_clk>, <&s4_clk>, <&s4_clk>, <&s4_clk>,
476 <&s4_clk>, <&s4_clk>;
477 #clock-cells = <1>;
478 renesas,clock-indices = <
479 R8A7779_CLK_SDHI3 R8A7779_CLK_SDHI2
480 R8A7779_CLK_SDHI1 R8A7779_CLK_SDHI0
481 R8A7779_CLK_MMC1 R8A7779_CLK_MMC0
482 >;
483 clock-output-names =
484 "sdhi3", "sdhi2", "sdhi1", "sdhi0",
485 "mmc1", "mmc0";
486 };
487 };
Simon Hormanc58a1542013-01-29 14:21:46 +0900488};