usb: phy: rcar-gen2-usb: always use 'dev' variable in probe() method
[platform/adaptation/renesas_rcar/renesas_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/interrupt-controller/irq.h>
14
15 / {
16         compatible = "renesas,r8a7740";
17         interrupt-parent = <&gic>;
18
19         cpus {
20                 #address-cells = <1>;
21                 #size-cells = <0>;
22                 cpu@0 {
23                         compatible = "arm,cortex-a9";
24                         device_type = "cpu";
25                         reg = <0x0>;
26                         clock-frequency = <800000000>;
27                 };
28         };
29
30         gic: interrupt-controller@c2800000 {
31                 compatible = "arm,cortex-a9-gic";
32                 #interrupt-cells = <3>;
33                 interrupt-controller;
34                 reg = <0xc2800000 0x1000>,
35                       <0xc2000000 0x1000>;
36         };
37
38         pmu {
39                 compatible = "arm,cortex-a9-pmu";
40                 interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH>;
41         };
42
43         /* irqpin0: IRQ0 - IRQ7 */
44         irqpin0: irqpin@e6900000 {
45                 compatible = "renesas,intc-irqpin-r8a7740", "renesas,intc-irqpin";
46                 #interrupt-cells = <2>;
47                 interrupt-controller;
48                 reg = <0xe6900000 4>,
49                         <0xe6900010 4>,
50                         <0xe6900020 1>,
51                         <0xe6900040 1>,
52                         <0xe6900060 1>;
53                 interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH
54                               0 149 IRQ_TYPE_LEVEL_HIGH
55                               0 149 IRQ_TYPE_LEVEL_HIGH
56                               0 149 IRQ_TYPE_LEVEL_HIGH
57                               0 149 IRQ_TYPE_LEVEL_HIGH
58                               0 149 IRQ_TYPE_LEVEL_HIGH
59                               0 149 IRQ_TYPE_LEVEL_HIGH
60                               0 149 IRQ_TYPE_LEVEL_HIGH>;
61         };
62
63         /* irqpin1: IRQ8 - IRQ15 */
64         irqpin1: irqpin@e6900004 {
65                 compatible = "renesas,intc-irqpin-r8a7740", "renesas,intc-irqpin";
66                 #interrupt-cells = <2>;
67                 interrupt-controller;
68                 reg = <0xe6900004 4>,
69                         <0xe6900014 4>,
70                         <0xe6900024 1>,
71                         <0xe6900044 1>,
72                         <0xe6900064 1>;
73                 interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH
74                               0 149 IRQ_TYPE_LEVEL_HIGH
75                               0 149 IRQ_TYPE_LEVEL_HIGH
76                               0 149 IRQ_TYPE_LEVEL_HIGH
77                               0 149 IRQ_TYPE_LEVEL_HIGH
78                               0 149 IRQ_TYPE_LEVEL_HIGH
79                               0 149 IRQ_TYPE_LEVEL_HIGH
80                               0 149 IRQ_TYPE_LEVEL_HIGH>;
81         };
82
83         /* irqpin2: IRQ16 - IRQ23 */
84         irqpin2: irqpin@e6900008 {
85                 compatible = "renesas,intc-irqpin-r8a7740", "renesas,intc-irqpin";
86                 #interrupt-cells = <2>;
87                 interrupt-controller;
88                 reg = <0xe6900008 4>,
89                         <0xe6900018 4>,
90                         <0xe6900028 1>,
91                         <0xe6900048 1>,
92                         <0xe6900068 1>;
93                 interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH
94                               0 149 IRQ_TYPE_LEVEL_HIGH
95                               0 149 IRQ_TYPE_LEVEL_HIGH
96                               0 149 IRQ_TYPE_LEVEL_HIGH
97                               0 149 IRQ_TYPE_LEVEL_HIGH
98                               0 149 IRQ_TYPE_LEVEL_HIGH
99                               0 149 IRQ_TYPE_LEVEL_HIGH
100                               0 149 IRQ_TYPE_LEVEL_HIGH>;
101         };
102
103         /* irqpin3: IRQ24 - IRQ31 */
104         irqpin3: irqpin@e690000c {
105                 compatible = "renesas,intc-irqpin-r8a7740", "renesas,intc-irqpin";
106                 #interrupt-cells = <2>;
107                 interrupt-controller;
108                 reg = <0xe690000c 4>,
109                         <0xe690001c 4>,
110                         <0xe690002c 1>,
111                         <0xe690004c 1>,
112                         <0xe690006c 1>;
113                 interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH
114                               0 149 IRQ_TYPE_LEVEL_HIGH
115                               0 149 IRQ_TYPE_LEVEL_HIGH
116                               0 149 IRQ_TYPE_LEVEL_HIGH
117                               0 149 IRQ_TYPE_LEVEL_HIGH
118                               0 149 IRQ_TYPE_LEVEL_HIGH
119                               0 149 IRQ_TYPE_LEVEL_HIGH
120                               0 149 IRQ_TYPE_LEVEL_HIGH>;
121         };
122
123         ether: ethernet@e9a00000 {
124                 compatible = "renesas,gether-r8a7740";
125                 reg = <0xe9a00000 0x800>,
126                       <0xe9a01800 0x800>;
127                 interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH>;
128                 /* clocks = <&mstp3_clks R8A7740_CLK_GETHER>; */
129                 phy-mode = "mii";
130                 #address-cells = <1>;
131                 #size-cells = <0>;
132                 status = "disabled";
133         };
134
135         i2c0: i2c@fff20000 {
136                 #address-cells = <1>;
137                 #size-cells = <0>;
138                 compatible = "renesas,iic-r8a7740", "renesas,rmobile-iic";
139                 reg = <0xfff20000 0x425>;
140                 interrupts = <0 201 IRQ_TYPE_LEVEL_HIGH
141                               0 202 IRQ_TYPE_LEVEL_HIGH
142                               0 203 IRQ_TYPE_LEVEL_HIGH
143                               0 204 IRQ_TYPE_LEVEL_HIGH>;
144                 status = "disabled";
145         };
146
147         i2c1: i2c@e6c20000 {
148                 #address-cells = <1>;
149                 #size-cells = <0>;
150                 compatible = "renesas,iic-r8a7740", "renesas,rmobile-iic";
151                 reg = <0xe6c20000 0x425>;
152                 interrupts = <0 70 IRQ_TYPE_LEVEL_HIGH
153                               0 71 IRQ_TYPE_LEVEL_HIGH
154                               0 72 IRQ_TYPE_LEVEL_HIGH
155                               0 73 IRQ_TYPE_LEVEL_HIGH>;
156                 status = "disabled";
157         };
158
159         scifa0: serial@e6c40000 {
160                 compatible = "renesas,scifa-r8a7740", "renesas,scifa";
161                 reg = <0xe6c40000 0x100>;
162                 interrupts = <0 100 IRQ_TYPE_LEVEL_HIGH>;
163                 status = "disabled";
164         };
165
166         scifa1: serial@e6c50000 {
167                 compatible = "renesas,scifa-r8a7740", "renesas,scifa";
168                 reg = <0xe6c50000 0x100>;
169                 interrupts = <0 101 IRQ_TYPE_LEVEL_HIGH>;
170                 status = "disabled";
171         };
172
173         scifa2: serial@e6c60000 {
174                 compatible = "renesas,scifa-r8a7740", "renesas,scifa";
175                 reg = <0xe6c60000 0x100>;
176                 interrupts = <0 102 IRQ_TYPE_LEVEL_HIGH>;
177                 status = "disabled";
178         };
179
180         scifa3: serial@e6c70000 {
181                 compatible = "renesas,scifa-r8a7740", "renesas,scifa";
182                 reg = <0xe6c70000 0x100>;
183                 interrupts = <0 103 IRQ_TYPE_LEVEL_HIGH>;
184                 status = "disabled";
185         };
186
187         scifa4: serial@e6c80000 {
188                 compatible = "renesas,scifa-r8a7740", "renesas,scifa";
189                 reg = <0xe6c80000 0x100>;
190                 interrupts = <0 104 IRQ_TYPE_LEVEL_HIGH>;
191                 status = "disabled";
192         };
193
194         scifa5: serial@e6cb0000 {
195                 compatible = "renesas,scifa-r8a7740", "renesas,scifa";
196                 reg = <0xe6cb0000 0x100>;
197                 interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>;
198                 status = "disabled";
199         };
200
201         scifa6: serial@e6cc0000 {
202                 compatible = "renesas,scifa-r8a7740", "renesas,scifa";
203                 reg = <0xe6cc0000 0x100>;
204                 interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>;
205                 status = "disabled";
206         };
207
208         scifa7: serial@e6cd0000 {
209                 compatible = "renesas,scifa-r8a7740", "renesas,scifa";
210                 reg = <0xe6cd0000 0x100>;
211                 interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
212                 status = "disabled";
213         };
214
215         scifb8: serial@e6c30000 {
216                 compatible = "renesas,scifb-r8a7740", "renesas,scifb";
217                 reg = <0xe6c30000 0x100>;
218                 interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
219                 status = "disabled";
220         };
221
222         pfc: pfc@e6050000 {
223                 compatible = "renesas,pfc-r8a7740";
224                 reg = <0xe6050000 0x8000>,
225                       <0xe605800c 0x20>;
226                 gpio-controller;
227                 #gpio-cells = <2>;
228                 interrupts-extended =
229                         <&irqpin0 0 0>, <&irqpin0 1 0>, <&irqpin0 2 0>, <&irqpin0 3 0>,
230                         <&irqpin0 4 0>, <&irqpin0 5 0>, <&irqpin0 6 0>, <&irqpin0 7 0>,
231                         <&irqpin1 0 0>, <&irqpin1 1 0>, <&irqpin1 2 0>, <&irqpin1 3 0>,
232                         <&irqpin1 4 0>, <&irqpin1 5 0>, <&irqpin1 6 0>, <&irqpin1 7 0>,
233                         <&irqpin2 0 0>, <&irqpin2 1 0>, <&irqpin2 2 0>, <&irqpin2 3 0>,
234                         <&irqpin2 4 0>, <&irqpin2 5 0>, <&irqpin2 6 0>, <&irqpin2 7 0>,
235                         <&irqpin3 0 0>, <&irqpin3 1 0>, <&irqpin3 2 0>, <&irqpin3 3 0>,
236                         <&irqpin3 4 0>, <&irqpin3 5 0>, <&irqpin3 6 0>, <&irqpin3 7 0>;
237         };
238
239         tpu: pwm@e6600000 {
240                 compatible = "renesas,tpu-r8a7740", "renesas,tpu";
241                 reg = <0xe6600000 0x100>;
242                 status = "disabled";
243                 #pwm-cells = <3>;
244         };
245
246         mmcif0: mmc@e6bd0000 {
247                 compatible = "renesas,mmcif-r8a7740", "renesas,sh-mmcif";
248                 reg = <0xe6bd0000 0x100>;
249                 interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH
250                               0 57 IRQ_TYPE_LEVEL_HIGH>;
251                 status = "disabled";
252         };
253
254         sdhi0: sd@e6850000 {
255                 compatible = "renesas,sdhi-r8a7740";
256                 reg = <0xe6850000 0x100>;
257                 interrupts = <0 117 IRQ_TYPE_LEVEL_HIGH
258                               0 118 IRQ_TYPE_LEVEL_HIGH
259                               0 119 IRQ_TYPE_LEVEL_HIGH>;
260                 cap-sd-highspeed;
261                 cap-sdio-irq;
262                 status = "disabled";
263         };
264
265         sdhi1: sd@e6860000 {
266                 compatible = "renesas,sdhi-r8a7740";
267                 reg = <0xe6860000 0x100>;
268                 interrupts = <0 121 IRQ_TYPE_LEVEL_HIGH
269                               0 122 IRQ_TYPE_LEVEL_HIGH
270                               0 123 IRQ_TYPE_LEVEL_HIGH>;
271                 cap-sd-highspeed;
272                 cap-sdio-irq;
273                 status = "disabled";
274         };
275
276         sdhi2: sd@e6870000 {
277                 compatible = "renesas,sdhi-r8a7740";
278                 reg = <0xe6870000 0x100>;
279                 interrupts = <0 125 IRQ_TYPE_LEVEL_HIGH
280                               0 126 IRQ_TYPE_LEVEL_HIGH
281                               0 127 IRQ_TYPE_LEVEL_HIGH>;
282                 cap-sd-highspeed;
283                 cap-sdio-irq;
284                 status = "disabled";
285         };
286
287         sh_fsi2: sound@fe1f0000 {
288                 #sound-dai-cells = <1>;
289                 compatible = "renesas,fsi2-r8a7740", "renesas,sh_fsi2";
290                 reg = <0xfe1f0000 0x400>;
291                 interrupts = <0 9 0x4>;
292                 status = "disabled";
293         };
294 };