Merge tag 'mfd-for-linus-3.20' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd
[pandora-kernel.git] / arch / arm / boot / dts / r8a7740.dtsi
1 /*
2  * Device Tree Source for the r8a7740 SoC
3  *
4  * Copyright (C) 2012 Renesas Solutions Corp.
5  *
6  * This file is licensed under the terms of the GNU General Public License
7  * version 2.  This program is licensed "as is" without any warranty of any
8  * kind, whether express or implied.
9  */
10
11 /include/ "skeleton.dtsi"
12
13 #include <dt-bindings/clock/r8a7740-clock.h>
14 #include <dt-bindings/interrupt-controller/irq.h>
15
16 / {
17         compatible = "renesas,r8a7740";
18         interrupt-parent = <&gic>;
19
20         cpus {
21                 #address-cells = <1>;
22                 #size-cells = <0>;
23                 cpu@0 {
24                         compatible = "arm,cortex-a9";
25                         device_type = "cpu";
26                         reg = <0x0>;
27                         clock-frequency = <800000000>;
28                         power-domains = <&pd_a3sm>;
29                 };
30         };
31
32         gic: interrupt-controller@c2800000 {
33                 compatible = "arm,cortex-a9-gic";
34                 #interrupt-cells = <3>;
35                 interrupt-controller;
36                 reg = <0xc2800000 0x1000>,
37                       <0xc2000000 0x1000>;
38         };
39
40         dbsc3: memory-controller@fe400000 {
41                 compatible = "renesas,dbsc3-r8a7740";
42                 reg = <0xfe400000 0x400>;
43                 power-domains = <&pd_a4s>;
44         };
45
46         pmu {
47                 compatible = "arm,cortex-a9-pmu";
48                 interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH>;
49         };
50
51         ptm {
52                 compatible = "arm,coresight-etm3x";
53                 power-domains = <&pd_d4>;
54         };
55
56         cmt1: timer@e6138000 {
57                 compatible = "renesas,cmt-48-r8a7740", "renesas,cmt-48";
58                 reg = <0xe6138000 0x170>;
59                 interrupts = <0 58 IRQ_TYPE_LEVEL_HIGH>;
60                 clocks = <&mstp3_clks R8A7740_CLK_CMT1>;
61                 clock-names = "fck";
62                 power-domains = <&pd_c5>;
63
64                 renesas,channels-mask = <0x3f>;
65
66                 status = "disabled";
67         };
68
69         /* irqpin0: IRQ0 - IRQ7 */
70         irqpin0: irqpin@e6900000 {
71                 compatible = "renesas,intc-irqpin-r8a7740", "renesas,intc-irqpin";
72                 #interrupt-cells = <2>;
73                 interrupt-controller;
74                 reg = <0xe6900000 4>,
75                         <0xe6900010 4>,
76                         <0xe6900020 1>,
77                         <0xe6900040 1>,
78                         <0xe6900060 1>;
79                 interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH
80                               0 149 IRQ_TYPE_LEVEL_HIGH
81                               0 149 IRQ_TYPE_LEVEL_HIGH
82                               0 149 IRQ_TYPE_LEVEL_HIGH
83                               0 149 IRQ_TYPE_LEVEL_HIGH
84                               0 149 IRQ_TYPE_LEVEL_HIGH
85                               0 149 IRQ_TYPE_LEVEL_HIGH
86                               0 149 IRQ_TYPE_LEVEL_HIGH>;
87                 clocks = <&mstp2_clks R8A7740_CLK_INTCA>;
88                 power-domains = <&pd_a4s>;
89         };
90
91         /* irqpin1: IRQ8 - IRQ15 */
92         irqpin1: irqpin@e6900004 {
93                 compatible = "renesas,intc-irqpin-r8a7740", "renesas,intc-irqpin";
94                 #interrupt-cells = <2>;
95                 interrupt-controller;
96                 reg = <0xe6900004 4>,
97                         <0xe6900014 4>,
98                         <0xe6900024 1>,
99                         <0xe6900044 1>,
100                         <0xe6900064 1>;
101                 interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH
102                               0 149 IRQ_TYPE_LEVEL_HIGH
103                               0 149 IRQ_TYPE_LEVEL_HIGH
104                               0 149 IRQ_TYPE_LEVEL_HIGH
105                               0 149 IRQ_TYPE_LEVEL_HIGH
106                               0 149 IRQ_TYPE_LEVEL_HIGH
107                               0 149 IRQ_TYPE_LEVEL_HIGH
108                               0 149 IRQ_TYPE_LEVEL_HIGH>;
109                 clocks = <&mstp2_clks R8A7740_CLK_INTCA>;
110                 power-domains = <&pd_a4s>;
111         };
112
113         /* irqpin2: IRQ16 - IRQ23 */
114         irqpin2: irqpin@e6900008 {
115                 compatible = "renesas,intc-irqpin-r8a7740", "renesas,intc-irqpin";
116                 #interrupt-cells = <2>;
117                 interrupt-controller;
118                 reg = <0xe6900008 4>,
119                         <0xe6900018 4>,
120                         <0xe6900028 1>,
121                         <0xe6900048 1>,
122                         <0xe6900068 1>;
123                 interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH
124                               0 149 IRQ_TYPE_LEVEL_HIGH
125                               0 149 IRQ_TYPE_LEVEL_HIGH
126                               0 149 IRQ_TYPE_LEVEL_HIGH
127                               0 149 IRQ_TYPE_LEVEL_HIGH
128                               0 149 IRQ_TYPE_LEVEL_HIGH
129                               0 149 IRQ_TYPE_LEVEL_HIGH
130                               0 149 IRQ_TYPE_LEVEL_HIGH>;
131                 clocks = <&mstp2_clks R8A7740_CLK_INTCA>;
132                 power-domains = <&pd_a4s>;
133         };
134
135         /* irqpin3: IRQ24 - IRQ31 */
136         irqpin3: irqpin@e690000c {
137                 compatible = "renesas,intc-irqpin-r8a7740", "renesas,intc-irqpin";
138                 #interrupt-cells = <2>;
139                 interrupt-controller;
140                 reg = <0xe690000c 4>,
141                         <0xe690001c 4>,
142                         <0xe690002c 1>,
143                         <0xe690004c 1>,
144                         <0xe690006c 1>;
145                 interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH
146                               0 149 IRQ_TYPE_LEVEL_HIGH
147                               0 149 IRQ_TYPE_LEVEL_HIGH
148                               0 149 IRQ_TYPE_LEVEL_HIGH
149                               0 149 IRQ_TYPE_LEVEL_HIGH
150                               0 149 IRQ_TYPE_LEVEL_HIGH
151                               0 149 IRQ_TYPE_LEVEL_HIGH
152                               0 149 IRQ_TYPE_LEVEL_HIGH>;
153                 clocks = <&mstp2_clks R8A7740_CLK_INTCA>;
154                 power-domains = <&pd_a4s>;
155         };
156
157         ether: ethernet@e9a00000 {
158                 compatible = "renesas,gether-r8a7740";
159                 reg = <0xe9a00000 0x800>,
160                       <0xe9a01800 0x800>;
161                 interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH>;
162                 clocks = <&mstp3_clks R8A7740_CLK_GETHER>;
163                 power-domains = <&pd_a4s>;
164                 phy-mode = "mii";
165                 #address-cells = <1>;
166                 #size-cells = <0>;
167                 status = "disabled";
168         };
169
170         i2c0: i2c@fff20000 {
171                 #address-cells = <1>;
172                 #size-cells = <0>;
173                 compatible = "renesas,iic-r8a7740", "renesas,rmobile-iic";
174                 reg = <0xfff20000 0x425>;
175                 interrupts = <0 201 IRQ_TYPE_LEVEL_HIGH
176                               0 202 IRQ_TYPE_LEVEL_HIGH
177                               0 203 IRQ_TYPE_LEVEL_HIGH
178                               0 204 IRQ_TYPE_LEVEL_HIGH>;
179                 clocks = <&mstp1_clks R8A7740_CLK_IIC0>;
180                 power-domains = <&pd_a4r>;
181                 status = "disabled";
182         };
183
184         i2c1: i2c@e6c20000 {
185                 #address-cells = <1>;
186                 #size-cells = <0>;
187                 compatible = "renesas,iic-r8a7740", "renesas,rmobile-iic";
188                 reg = <0xe6c20000 0x425>;
189                 interrupts = <0 70 IRQ_TYPE_LEVEL_HIGH
190                               0 71 IRQ_TYPE_LEVEL_HIGH
191                               0 72 IRQ_TYPE_LEVEL_HIGH
192                               0 73 IRQ_TYPE_LEVEL_HIGH>;
193                 clocks = <&mstp3_clks R8A7740_CLK_IIC1>;
194                 power-domains = <&pd_a3sp>;
195                 status = "disabled";
196         };
197
198         scifa0: serial@e6c40000 {
199                 compatible = "renesas,scifa-r8a7740", "renesas,scifa";
200                 reg = <0xe6c40000 0x100>;
201                 interrupts = <0 100 IRQ_TYPE_LEVEL_HIGH>;
202                 clocks = <&mstp2_clks R8A7740_CLK_SCIFA0>;
203                 clock-names = "sci_ick";
204                 power-domains = <&pd_a3sp>;
205                 status = "disabled";
206         };
207
208         scifa1: serial@e6c50000 {
209                 compatible = "renesas,scifa-r8a7740", "renesas,scifa";
210                 reg = <0xe6c50000 0x100>;
211                 interrupts = <0 101 IRQ_TYPE_LEVEL_HIGH>;
212                 clocks = <&mstp2_clks R8A7740_CLK_SCIFA1>;
213                 clock-names = "sci_ick";
214                 power-domains = <&pd_a3sp>;
215                 status = "disabled";
216         };
217
218         scifa2: serial@e6c60000 {
219                 compatible = "renesas,scifa-r8a7740", "renesas,scifa";
220                 reg = <0xe6c60000 0x100>;
221                 interrupts = <0 102 IRQ_TYPE_LEVEL_HIGH>;
222                 clocks = <&mstp2_clks R8A7740_CLK_SCIFA2>;
223                 clock-names = "sci_ick";
224                 power-domains = <&pd_a3sp>;
225                 status = "disabled";
226         };
227
228         scifa3: serial@e6c70000 {
229                 compatible = "renesas,scifa-r8a7740", "renesas,scifa";
230                 reg = <0xe6c70000 0x100>;
231                 interrupts = <0 103 IRQ_TYPE_LEVEL_HIGH>;
232                 clocks = <&mstp2_clks R8A7740_CLK_SCIFA3>;
233                 clock-names = "sci_ick";
234                 power-domains = <&pd_a3sp>;
235                 status = "disabled";
236         };
237
238         scifa4: serial@e6c80000 {
239                 compatible = "renesas,scifa-r8a7740", "renesas,scifa";
240                 reg = <0xe6c80000 0x100>;
241                 interrupts = <0 104 IRQ_TYPE_LEVEL_HIGH>;
242                 clocks = <&mstp2_clks R8A7740_CLK_SCIFA4>;
243                 clock-names = "sci_ick";
244                 power-domains = <&pd_a3sp>;
245                 status = "disabled";
246         };
247
248         scifa5: serial@e6cb0000 {
249                 compatible = "renesas,scifa-r8a7740", "renesas,scifa";
250                 reg = <0xe6cb0000 0x100>;
251                 interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>;
252                 clocks = <&mstp2_clks R8A7740_CLK_SCIFA5>;
253                 clock-names = "sci_ick";
254                 power-domains = <&pd_a3sp>;
255                 status = "disabled";
256         };
257
258         scifa6: serial@e6cc0000 {
259                 compatible = "renesas,scifa-r8a7740", "renesas,scifa";
260                 reg = <0xe6cc0000 0x100>;
261                 interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>;
262                 clocks = <&mstp2_clks R8A7740_CLK_SCIFA6>;
263                 clock-names = "sci_ick";
264                 power-domains = <&pd_a3sp>;
265                 status = "disabled";
266         };
267
268         scifa7: serial@e6cd0000 {
269                 compatible = "renesas,scifa-r8a7740", "renesas,scifa";
270                 reg = <0xe6cd0000 0x100>;
271                 interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
272                 clocks = <&mstp2_clks R8A7740_CLK_SCIFA7>;
273                 clock-names = "sci_ick";
274                 power-domains = <&pd_a3sp>;
275                 status = "disabled";
276         };
277
278         scifb8: serial@e6c30000 {
279                 compatible = "renesas,scifb-r8a7740", "renesas,scifb";
280                 reg = <0xe6c30000 0x100>;
281                 interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
282                 clocks = <&mstp2_clks R8A7740_CLK_SCIFB>;
283                 clock-names = "sci_ick";
284                 power-domains = <&pd_a3sp>;
285                 status = "disabled";
286         };
287
288         pfc: pfc@e6050000 {
289                 compatible = "renesas,pfc-r8a7740";
290                 reg = <0xe6050000 0x8000>,
291                       <0xe605800c 0x20>;
292                 gpio-controller;
293                 #gpio-cells = <2>;
294                 interrupts-extended =
295                         <&irqpin0 0 0>, <&irqpin0 1 0>, <&irqpin0 2 0>, <&irqpin0 3 0>,
296                         <&irqpin0 4 0>, <&irqpin0 5 0>, <&irqpin0 6 0>, <&irqpin0 7 0>,
297                         <&irqpin1 0 0>, <&irqpin1 1 0>, <&irqpin1 2 0>, <&irqpin1 3 0>,
298                         <&irqpin1 4 0>, <&irqpin1 5 0>, <&irqpin1 6 0>, <&irqpin1 7 0>,
299                         <&irqpin2 0 0>, <&irqpin2 1 0>, <&irqpin2 2 0>, <&irqpin2 3 0>,
300                         <&irqpin2 4 0>, <&irqpin2 5 0>, <&irqpin2 6 0>, <&irqpin2 7 0>,
301                         <&irqpin3 0 0>, <&irqpin3 1 0>, <&irqpin3 2 0>, <&irqpin3 3 0>,
302                         <&irqpin3 4 0>, <&irqpin3 5 0>, <&irqpin3 6 0>, <&irqpin3 7 0>;
303                 power-domains = <&pd_c5>;
304         };
305
306         tpu: pwm@e6600000 {
307                 compatible = "renesas,tpu-r8a7740", "renesas,tpu";
308                 reg = <0xe6600000 0x100>;
309                 clocks = <&mstp3_clks R8A7740_CLK_TPU0>;
310                 power-domains = <&pd_a3sp>;
311                 status = "disabled";
312                 #pwm-cells = <3>;
313         };
314
315         mmcif0: mmc@e6bd0000 {
316                 compatible = "renesas,mmcif-r8a7740", "renesas,sh-mmcif";
317                 reg = <0xe6bd0000 0x100>;
318                 interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH
319                               0 57 IRQ_TYPE_LEVEL_HIGH>;
320                 clocks = <&mstp3_clks R8A7740_CLK_MMC>;
321                 power-domains = <&pd_a3sp>;
322                 status = "disabled";
323         };
324
325         sdhi0: sd@e6850000 {
326                 compatible = "renesas,sdhi-r8a7740";
327                 reg = <0xe6850000 0x100>;
328                 interrupts = <0 117 IRQ_TYPE_LEVEL_HIGH
329                               0 118 IRQ_TYPE_LEVEL_HIGH
330                               0 119 IRQ_TYPE_LEVEL_HIGH>;
331                 clocks = <&mstp3_clks R8A7740_CLK_SDHI0>;
332                 power-domains = <&pd_a3sp>;
333                 cap-sd-highspeed;
334                 cap-sdio-irq;
335                 status = "disabled";
336         };
337
338         sdhi1: sd@e6860000 {
339                 compatible = "renesas,sdhi-r8a7740";
340                 reg = <0xe6860000 0x100>;
341                 interrupts = <0 121 IRQ_TYPE_LEVEL_HIGH
342                               0 122 IRQ_TYPE_LEVEL_HIGH
343                               0 123 IRQ_TYPE_LEVEL_HIGH>;
344                 clocks = <&mstp3_clks R8A7740_CLK_SDHI1>;
345                 power-domains = <&pd_a3sp>;
346                 cap-sd-highspeed;
347                 cap-sdio-irq;
348                 status = "disabled";
349         };
350
351         sdhi2: sd@e6870000 {
352                 compatible = "renesas,sdhi-r8a7740";
353                 reg = <0xe6870000 0x100>;
354                 interrupts = <0 125 IRQ_TYPE_LEVEL_HIGH
355                               0 126 IRQ_TYPE_LEVEL_HIGH
356                               0 127 IRQ_TYPE_LEVEL_HIGH>;
357                 clocks = <&mstp4_clks R8A7740_CLK_SDHI2>;
358                 power-domains = <&pd_a3sp>;
359                 cap-sd-highspeed;
360                 cap-sdio-irq;
361                 status = "disabled";
362         };
363
364         sh_fsi2: sound@fe1f0000 {
365                 #sound-dai-cells = <1>;
366                 compatible = "renesas,fsi2-r8a7740", "renesas,sh_fsi2";
367                 reg = <0xfe1f0000 0x400>;
368                 interrupts = <0 9 0x4>;
369                 clocks = <&mstp3_clks R8A7740_CLK_FSI>;
370                 power-domains = <&pd_a4mp>;
371                 status = "disabled";
372         };
373
374         tmu0: timer@fff80000 {
375                 compatible = "renesas,tmu-r8a7740", "renesas,tmu";
376                 reg = <0xfff80000 0x2c>;
377                 interrupts = <0 198 IRQ_TYPE_LEVEL_HIGH>,
378                              <0 199 IRQ_TYPE_LEVEL_HIGH>,
379                              <0 200 IRQ_TYPE_LEVEL_HIGH>;
380                 clocks = <&mstp1_clks R8A7740_CLK_TMU0>;
381                 clock-names = "fck";
382                 power-domains = <&pd_a4r>;
383
384                 #renesas,channels = <3>;
385
386                 status = "disabled";
387         };
388
389         tmu1: timer@fff90000 {
390                 compatible = "renesas,tmu-r8a7740", "renesas,tmu";
391                 reg = <0xfff90000 0x2c>;
392                 interrupts = <0 170 IRQ_TYPE_LEVEL_HIGH>,
393                              <0 171 IRQ_TYPE_LEVEL_HIGH>,
394                              <0 172 IRQ_TYPE_LEVEL_HIGH>;
395                 clocks = <&mstp1_clks R8A7740_CLK_TMU1>;
396                 clock-names = "fck";
397                 power-domains = <&pd_a4r>;
398
399                 #renesas,channels = <3>;
400
401                 status = "disabled";
402         };
403
404         clocks {
405                 #address-cells = <1>;
406                 #size-cells = <1>;
407                 ranges;
408
409                 /* External root clock */
410                 extalr_clk: extalr_clk {
411                         compatible = "fixed-clock";
412                         #clock-cells = <0>;
413                         clock-frequency = <32768>;
414                         clock-output-names = "extalr";
415                 };
416                 extal1_clk: extal1_clk {
417                         compatible = "fixed-clock";
418                         #clock-cells = <0>;
419                         clock-frequency = <0>;
420                         clock-output-names = "extal1";
421                 };
422                 extal2_clk: extal2_clk {
423                         compatible = "fixed-clock";
424                         #clock-cells = <0>;
425                         clock-frequency = <0>;
426                         clock-output-names = "extal2";
427                 };
428                 dv_clk: dv_clk {
429                         compatible = "fixed-clock";
430                         #clock-cells = <0>;
431                         clock-frequency = <27000000>;
432                         clock-output-names = "dv";
433                 };
434                 fsiack_clk: fsiack_clk {
435                         compatible = "fixed-clock";
436                         #clock-cells = <0>;
437                         clock-frequency = <0>;
438                         clock-output-names = "fsiack";
439                 };
440                 fsibck_clk: fsibck_clk {
441                         compatible = "fixed-clock";
442                         #clock-cells = <0>;
443                         clock-frequency = <0>;
444                         clock-output-names = "fsibck";
445                 };
446
447                 /* Special CPG clocks */
448                 cpg_clocks: cpg_clocks@e6150000 {
449                         compatible = "renesas,r8a7740-cpg-clocks";
450                         reg = <0xe6150000 0x10000>;
451                         clocks = <&extal1_clk>, <&extalr_clk>;
452                         #clock-cells = <1>;
453                         clock-output-names = "system", "pllc0", "pllc1",
454                                              "pllc2", "r",
455                                              "usb24s",
456                                              "i", "zg", "b", "m1", "hp",
457                                              "hpp", "usbp", "s", "zb", "m3",
458                                              "cp";
459                 };
460
461                 /* Variable factor clocks (DIV6) */
462                 sub_clk: sub_clk@e6150080 {
463                         compatible = "renesas,r8a7740-div6-clock", "renesas,cpg-div6-clock";
464                         reg = <0xe6150080 4>;
465                         clocks = <&pllc1_div2_clk>;
466                         #clock-cells = <0>;
467                         clock-output-names = "sub";
468                 };
469
470                 /* Fixed factor clocks */
471                 pllc1_div2_clk: pllc1_div2_clk {
472                         compatible = "fixed-factor-clock";
473                         clocks = <&cpg_clocks R8A7740_CLK_PLLC1>;
474                         #clock-cells = <0>;
475                         clock-div = <2>;
476                         clock-mult = <1>;
477                         clock-output-names = "pllc1_div2";
478                 };
479                 extal1_div2_clk: extal1_div2_clk {
480                         compatible = "fixed-factor-clock";
481                         clocks = <&extal1_clk>;
482                         #clock-cells = <0>;
483                         clock-div = <2>;
484                         clock-mult = <1>;
485                         clock-output-names = "extal1_div2";
486                 };
487
488                 /* Gate clocks */
489                 subck_clks: subck_clks@e6150080 {
490                         compatible = "renesas,r8a7740-mstp-clocks", "renesas,cpg-mstp-clocks";
491                         reg = <0xe6150080 4>;
492                         clocks = <&sub_clk>, <&sub_clk>;
493                         #clock-cells = <1>;
494                         clock-indices = <
495                                 R8A7740_CLK_SUBCK R8A7740_CLK_SUBCK2
496                         >;
497                         clock-output-names =
498                                 "subck", "subck2";
499                 };
500                 mstp1_clks: mstp1_clks@e6150134 {
501                         compatible = "renesas,r8a7740-mstp-clocks", "renesas,cpg-mstp-clocks";
502                         reg = <0xe6150134 4>, <0xe6150038 4>;
503                         clocks = <&cpg_clocks R8A7740_CLK_S>,
504                                  <&cpg_clocks R8A7740_CLK_S>, <&sub_clk>,
505                                  <&cpg_clocks R8A7740_CLK_B>,
506                                  <&cpg_clocks R8A7740_CLK_HPP>, <&sub_clk>,
507                                  <&cpg_clocks R8A7740_CLK_B>;
508                         #clock-cells = <1>;
509                         clock-indices = <
510                                 R8A7740_CLK_CEU21 R8A7740_CLK_CEU20 R8A7740_CLK_TMU0
511                                 R8A7740_CLK_LCDC1 R8A7740_CLK_IIC0 R8A7740_CLK_TMU1
512                                 R8A7740_CLK_LCDC0
513                         >;
514                         clock-output-names =
515                                 "ceu21", "ceu20", "tmu0", "lcdc1", "iic0",
516                                 "tmu1", "lcdc0";
517                 };
518                 mstp2_clks: mstp2_clks@e6150138 {
519                         compatible = "renesas,r8a7740-mstp-clocks", "renesas,cpg-mstp-clocks";
520                         reg = <0xe6150138 4>, <0xe6150040 4>;
521                         clocks = <&sub_clk>, <&cpg_clocks R8A7740_CLK_HP>,
522                                  <&sub_clk>, <&cpg_clocks R8A7740_CLK_HP>,
523                                  <&cpg_clocks R8A7740_CLK_HP>,
524                                  <&cpg_clocks R8A7740_CLK_HP>,
525                                  <&cpg_clocks R8A7740_CLK_HP>,
526                                  <&sub_clk>, <&sub_clk>, <&sub_clk>,
527                                  <&sub_clk>, <&sub_clk>, <&sub_clk>,
528                                  <&sub_clk>;
529                         #clock-cells = <1>;
530                         clock-indices = <
531                                 R8A7740_CLK_SCIFA6 R8A7740_CLK_INTCA
532                                 R8A7740_CLK_SCIFA7
533                                 R8A7740_CLK_DMAC1 R8A7740_CLK_DMAC2
534                                 R8A7740_CLK_DMAC3 R8A7740_CLK_USBDMAC
535                                 R8A7740_CLK_SCIFA5 R8A7740_CLK_SCIFB
536                                 R8A7740_CLK_SCIFA0 R8A7740_CLK_SCIFA1
537                                 R8A7740_CLK_SCIFA2 R8A7740_CLK_SCIFA3
538                                 R8A7740_CLK_SCIFA4
539                         >;
540                         clock-output-names =
541                                 "scifa6", "intca",
542                                 "scifa7", "dmac1", "dmac2", "dmac3",
543                                 "usbdmac", "scifa5", "scifb", "scifa0", "scifa1",
544                                 "scifa2", "scifa3", "scifa4";
545                 };
546                 mstp3_clks: mstp3_clks@e615013c {
547                         compatible = "renesas,r8a7740-mstp-clocks", "renesas,cpg-mstp-clocks";
548                         reg = <0xe615013c 4>, <0xe6150048 4>;
549                         clocks = <&cpg_clocks R8A7740_CLK_R>,
550                                  <&cpg_clocks R8A7740_CLK_HP>,
551                                  <&sub_clk>,
552                                  <&cpg_clocks R8A7740_CLK_HP>,
553                                  <&cpg_clocks R8A7740_CLK_HP>,
554                                  <&cpg_clocks R8A7740_CLK_HP>,
555                                  <&cpg_clocks R8A7740_CLK_HP>,
556                                  <&cpg_clocks R8A7740_CLK_HP>,
557                                  <&cpg_clocks R8A7740_CLK_HP>;
558                         #clock-cells = <1>;
559                         clock-indices = <
560                                 R8A7740_CLK_CMT1 R8A7740_CLK_FSI R8A7740_CLK_IIC1
561                                 R8A7740_CLK_USBF R8A7740_CLK_SDHI0 R8A7740_CLK_SDHI1
562                                 R8A7740_CLK_MMC R8A7740_CLK_GETHER R8A7740_CLK_TPU0
563                         >;
564                         clock-output-names =
565                                 "cmt1", "fsi", "iic1", "usbf", "sdhi0", "sdhi1",
566                                 "mmc", "gether", "tpu0";
567                 };
568                 mstp4_clks: mstp4_clks@e6150140 {
569                         compatible = "renesas,r8a7740-mstp-clocks", "renesas,cpg-mstp-clocks";
570                         reg = <0xe6150140 4>, <0xe615004c 4>;
571                         clocks = <&cpg_clocks R8A7740_CLK_HP>,
572                                  <&cpg_clocks R8A7740_CLK_HP>,
573                                  <&cpg_clocks R8A7740_CLK_HP>,
574                                  <&cpg_clocks R8A7740_CLK_HP>;
575                         #clock-cells = <1>;
576                         clock-indices = <
577                                 R8A7740_CLK_USBH R8A7740_CLK_SDHI2
578                                 R8A7740_CLK_USBFUNC R8A7740_CLK_USBPHY
579                         >;
580                         clock-output-names =
581                                 "usbhost", "sdhi2", "usbfunc", "usphy";
582                 };
583         };
584
585         sysc: system-controller@e6180000 {
586                 compatible = "renesas,sysc-r8a7740", "renesas,sysc-rmobile";
587                 reg = <0xe6180000 0x8000>, <0xe6188000 0x8000>;
588
589                 pm-domains {
590                         pd_c5: c5 {
591                                 #address-cells = <1>;
592                                 #size-cells = <0>;
593                                 #power-domain-cells = <0>;
594
595                                 pd_a4lc: a4lc@1 {
596                                         reg = <1>;
597                                         #power-domain-cells = <0>;
598                                 };
599
600                                 pd_a4mp: a4mp@2 {
601                                         reg = <2>;
602                                         #power-domain-cells = <0>;
603                                 };
604
605                                 pd_d4: d4@3 {
606                                         reg = <3>;
607                                         #power-domain-cells = <0>;
608                                 };
609
610                                 pd_a4r: a4r@5 {
611                                         reg = <5>;
612                                         #address-cells = <1>;
613                                         #size-cells = <0>;
614                                         #power-domain-cells = <0>;
615
616                                         pd_a3rv: a3rv@6 {
617                                                 reg = <6>;
618                                                 #power-domain-cells = <0>;
619                                         };
620                                 };
621
622                                 pd_a4s: a4s@10 {
623                                         reg = <10>;
624                                         #address-cells = <1>;
625                                         #size-cells = <0>;
626                                         #power-domain-cells = <0>;
627
628                                         pd_a3sp: a3sp@11 {
629                                                 reg = <11>;
630                                                 #power-domain-cells = <0>;
631                                         };
632
633                                         pd_a3sm: a3sm@12 {
634                                                 reg = <12>;
635                                                 #power-domain-cells = <0>;
636                                         };
637
638                                         pd_a3sg: a3sg@13 {
639                                                 reg = <13>;
640                                                 #power-domain-cells = <0>;
641                                         };
642                                 };
643
644                                 pd_a4su: a4su@20 {
645                                         reg = <20>;
646                                         #power-domain-cells = <0>;
647                                 };
648                         };
649                 };
650         };
651 };