Merge tag 'pwm/for-3.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / sh73a0.dtsi
1 /*
2  * Device Tree Source for the SH73A0 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,sh73a0";
17         interrupt-parent = <&gic>;
18
19         cpus {
20                 #address-cells = <1>;
21                 #size-cells = <0>;
22
23                 cpu@0 {
24                         device_type = "cpu";
25                         compatible = "arm,cortex-a9";
26                         reg = <0>;
27                         clock-frequency = <1196000000>;
28                 };
29                 cpu@1 {
30                         device_type = "cpu";
31                         compatible = "arm,cortex-a9";
32                         reg = <1>;
33                         clock-frequency = <1196000000>;
34                 };
35         };
36
37         gic: interrupt-controller@f0001000 {
38                 compatible = "arm,cortex-a9-gic";
39                 #interrupt-cells = <3>;
40                 interrupt-controller;
41                 reg = <0xf0001000 0x1000>,
42                       <0xf0000100 0x100>;
43         };
44
45         pmu {
46                 compatible = "arm,cortex-a9-pmu";
47                 interrupts = <0 55 IRQ_TYPE_LEVEL_HIGH>,
48                              <0 56 IRQ_TYPE_LEVEL_HIGH>;
49         };
50
51         cmt1: timer@e6138000 {
52                 compatible = "renesas,cmt-48-sh73a0", "renesas,cmt-48";
53                 reg = <0xe6138000 0x200>;
54                 interrupts = <0 65 IRQ_TYPE_LEVEL_HIGH>;
55
56                 renesas,channels-mask = <0x3f>;
57
58                 status = "disabled";
59         };
60
61         irqpin0: irqpin@e6900000 {
62                 compatible = "renesas,intc-irqpin-sh73a0", "renesas,intc-irqpin";
63                 #interrupt-cells = <2>;
64                 interrupt-controller;
65                 reg = <0xe6900000 4>,
66                         <0xe6900010 4>,
67                         <0xe6900020 1>,
68                         <0xe6900040 1>,
69                         <0xe6900060 1>;
70                 interrupts = <0 1 IRQ_TYPE_LEVEL_HIGH
71                               0 2 IRQ_TYPE_LEVEL_HIGH
72                               0 3 IRQ_TYPE_LEVEL_HIGH
73                               0 4 IRQ_TYPE_LEVEL_HIGH
74                               0 5 IRQ_TYPE_LEVEL_HIGH
75                               0 6 IRQ_TYPE_LEVEL_HIGH
76                               0 7 IRQ_TYPE_LEVEL_HIGH
77                               0 8 IRQ_TYPE_LEVEL_HIGH>;
78         };
79
80         irqpin1: irqpin@e6900004 {
81                 compatible = "renesas,intc-irqpin-sh73a0", "renesas,intc-irqpin";
82                 #interrupt-cells = <2>;
83                 interrupt-controller;
84                 reg = <0xe6900004 4>,
85                         <0xe6900014 4>,
86                         <0xe6900024 1>,
87                         <0xe6900044 1>,
88                         <0xe6900064 1>;
89                 interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH
90                               0 10 IRQ_TYPE_LEVEL_HIGH
91                               0 11 IRQ_TYPE_LEVEL_HIGH
92                               0 12 IRQ_TYPE_LEVEL_HIGH
93                               0 13 IRQ_TYPE_LEVEL_HIGH
94                               0 14 IRQ_TYPE_LEVEL_HIGH
95                               0 15 IRQ_TYPE_LEVEL_HIGH
96                               0 16 IRQ_TYPE_LEVEL_HIGH>;
97                 control-parent;
98         };
99
100         irqpin2: irqpin@e6900008 {
101                 compatible = "renesas,intc-irqpin-sh73a0", "renesas,intc-irqpin";
102                 #interrupt-cells = <2>;
103                 interrupt-controller;
104                 reg = <0xe6900008 4>,
105                         <0xe6900018 4>,
106                         <0xe6900028 1>,
107                         <0xe6900048 1>,
108                         <0xe6900068 1>;
109                 interrupts = <0 17 IRQ_TYPE_LEVEL_HIGH
110                               0 18 IRQ_TYPE_LEVEL_HIGH
111                               0 19 IRQ_TYPE_LEVEL_HIGH
112                               0 20 IRQ_TYPE_LEVEL_HIGH
113                               0 21 IRQ_TYPE_LEVEL_HIGH
114                               0 22 IRQ_TYPE_LEVEL_HIGH
115                               0 23 IRQ_TYPE_LEVEL_HIGH
116                               0 24 IRQ_TYPE_LEVEL_HIGH>;
117         };
118
119         irqpin3: irqpin@e690000c {
120                 compatible = "renesas,intc-irqpin-sh73a0", "renesas,intc-irqpin";
121                 #interrupt-cells = <2>;
122                 interrupt-controller;
123                 reg = <0xe690000c 4>,
124                         <0xe690001c 4>,
125                         <0xe690002c 1>,
126                         <0xe690004c 1>,
127                         <0xe690006c 1>;
128                 interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH
129                               0 26 IRQ_TYPE_LEVEL_HIGH
130                               0 27 IRQ_TYPE_LEVEL_HIGH
131                               0 28 IRQ_TYPE_LEVEL_HIGH
132                               0 29 IRQ_TYPE_LEVEL_HIGH
133                               0 30 IRQ_TYPE_LEVEL_HIGH
134                               0 31 IRQ_TYPE_LEVEL_HIGH
135                               0 32 IRQ_TYPE_LEVEL_HIGH>;
136         };
137
138         i2c0: i2c@e6820000 {
139                 #address-cells = <1>;
140                 #size-cells = <0>;
141                 compatible = "renesas,rmobile-iic";
142                 reg = <0xe6820000 0x425>;
143                 interrupts = <0 167 IRQ_TYPE_LEVEL_HIGH
144                               0 168 IRQ_TYPE_LEVEL_HIGH
145                               0 169 IRQ_TYPE_LEVEL_HIGH
146                               0 170 IRQ_TYPE_LEVEL_HIGH>;
147                 status = "disabled";
148         };
149
150         i2c1: i2c@e6822000 {
151                 #address-cells = <1>;
152                 #size-cells = <0>;
153                 compatible = "renesas,rmobile-iic";
154                 reg = <0xe6822000 0x425>;
155                 interrupts = <0 51 IRQ_TYPE_LEVEL_HIGH
156                               0 52 IRQ_TYPE_LEVEL_HIGH
157                               0 53 IRQ_TYPE_LEVEL_HIGH
158                               0 54 IRQ_TYPE_LEVEL_HIGH>;
159                 status = "disabled";
160         };
161
162         i2c2: i2c@e6824000 {
163                 #address-cells = <1>;
164                 #size-cells = <0>;
165                 compatible = "renesas,rmobile-iic";
166                 reg = <0xe6824000 0x425>;
167                 interrupts = <0 171 IRQ_TYPE_LEVEL_HIGH
168                               0 172 IRQ_TYPE_LEVEL_HIGH
169                               0 173 IRQ_TYPE_LEVEL_HIGH
170                               0 174 IRQ_TYPE_LEVEL_HIGH>;
171                 status = "disabled";
172         };
173
174         i2c3: i2c@e6826000 {
175                 #address-cells = <1>;
176                 #size-cells = <0>;
177                 compatible = "renesas,rmobile-iic";
178                 reg = <0xe6826000 0x425>;
179                 interrupts = <0 183 IRQ_TYPE_LEVEL_HIGH
180                               0 184 IRQ_TYPE_LEVEL_HIGH
181                               0 185 IRQ_TYPE_LEVEL_HIGH
182                               0 186 IRQ_TYPE_LEVEL_HIGH>;
183                 status = "disabled";
184         };
185
186         i2c4: i2c@e6828000 {
187                 #address-cells = <1>;
188                 #size-cells = <0>;
189                 compatible = "renesas,rmobile-iic";
190                 reg = <0xe6828000 0x425>;
191                 interrupts = <0 187 IRQ_TYPE_LEVEL_HIGH
192                               0 188 IRQ_TYPE_LEVEL_HIGH
193                               0 189 IRQ_TYPE_LEVEL_HIGH
194                               0 190 IRQ_TYPE_LEVEL_HIGH>;
195                 status = "disabled";
196         };
197
198         mmcif: mmc@e6bd0000 {
199                 compatible = "renesas,sh-mmcif";
200                 reg = <0xe6bd0000 0x100>;
201                 interrupts = <0 140 IRQ_TYPE_LEVEL_HIGH
202                               0 141 IRQ_TYPE_LEVEL_HIGH>;
203                 reg-io-width = <4>;
204                 status = "disabled";
205         };
206
207         sdhi0: sd@ee100000 {
208                 compatible = "renesas,sdhi-sh73a0";
209                 reg = <0xee100000 0x100>;
210                 interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH
211                               0 84 IRQ_TYPE_LEVEL_HIGH
212                               0 85 IRQ_TYPE_LEVEL_HIGH>;
213                 cap-sd-highspeed;
214                 status = "disabled";
215         };
216
217         /* SDHI1 and SDHI2 have no CD pins, no need for CD IRQ */
218         sdhi1: sd@ee120000 {
219                 compatible = "renesas,sdhi-sh73a0";
220                 reg = <0xee120000 0x100>;
221                 interrupts = <0 88 IRQ_TYPE_LEVEL_HIGH
222                               0 89 IRQ_TYPE_LEVEL_HIGH>;
223                 toshiba,mmc-wrprotect-disable;
224                 cap-sd-highspeed;
225                 status = "disabled";
226         };
227
228         sdhi2: sd@ee140000 {
229                 compatible = "renesas,sdhi-sh73a0";
230                 reg = <0xee140000 0x100>;
231                 interrupts = <0 104 IRQ_TYPE_LEVEL_HIGH
232                               0 105 IRQ_TYPE_LEVEL_HIGH>;
233                 toshiba,mmc-wrprotect-disable;
234                 cap-sd-highspeed;
235                 status = "disabled";
236         };
237
238         scifa0: serial@e6c40000 {
239                 compatible = "renesas,scifa-sh73a0", "renesas,scifa";
240                 reg = <0xe6c40000 0x100>;
241                 interrupts = <0 72 IRQ_TYPE_LEVEL_HIGH>;
242                 status = "disabled";
243         };
244
245         scifa1: serial@e6c50000 {
246                 compatible = "renesas,scifa-sh73a0", "renesas,scifa";
247                 reg = <0xe6c50000 0x100>;
248                 interrupts = <0 73 IRQ_TYPE_LEVEL_HIGH>;
249                 status = "disabled";
250         };
251
252         scifa2: serial@e6c60000 {
253                 compatible = "renesas,scifa-sh73a0", "renesas,scifa";
254                 reg = <0xe6c60000 0x100>;
255                 interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>;
256                 status = "disabled";
257         };
258
259         scifa3: serial@e6c70000 {
260                 compatible = "renesas,scifa-sh73a0", "renesas,scifa";
261                 reg = <0xe6c70000 0x100>;
262                 interrupts = <0 75 IRQ_TYPE_LEVEL_HIGH>;
263                 status = "disabled";
264         };
265
266         scifa4: serial@e6c80000 {
267                 compatible = "renesas,scifa-sh73a0", "renesas,scifa";
268                 reg = <0xe6c80000 0x100>;
269                 interrupts = <0 78 IRQ_TYPE_LEVEL_HIGH>;
270                 status = "disabled";
271         };
272
273         scifa5: serial@e6cb0000 {
274                 compatible = "renesas,scifa-sh73a0", "renesas,scifa";
275                 reg = <0xe6cb0000 0x100>;
276                 interrupts = <0 79 IRQ_TYPE_LEVEL_HIGH>;
277                 status = "disabled";
278         };
279
280         scifa6: serial@e6cc0000 {
281                 compatible = "renesas,scifa-sh73a0", "renesas,scifa";
282                 reg = <0xe6cc0000 0x100>;
283                 interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>;
284                 status = "disabled";
285         };
286
287         scifa7: serial@e6cd0000 {
288                 compatible = "renesas,scifa-sh73a0", "renesas,scifa";
289                 reg = <0xe6cd0000 0x100>;
290                 interrupts = <0 143 IRQ_TYPE_LEVEL_HIGH>;
291                 status = "disabled";
292         };
293
294         scifb8: serial@e6c30000 {
295                 compatible = "renesas,scifb-sh73a0", "renesas,scifb";
296                 reg = <0xe6c30000 0x100>;
297                 interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
298                 status = "disabled";
299         };
300
301         pfc: pfc@e6050000 {
302                 compatible = "renesas,pfc-sh73a0";
303                 reg = <0xe6050000 0x8000>,
304                       <0xe605801c 0x1c>;
305                 gpio-controller;
306                 #gpio-cells = <2>;
307                 interrupts-extended =
308                         <&irqpin0 0 0>, <&irqpin0 1 0>, <&irqpin0 2 0>, <&irqpin0 3 0>,
309                         <&irqpin0 4 0>, <&irqpin0 5 0>, <&irqpin0 6 0>, <&irqpin0 7 0>,
310                         <&irqpin1 0 0>, <&irqpin1 1 0>, <&irqpin1 2 0>, <&irqpin1 3 0>,
311                         <&irqpin1 4 0>, <&irqpin1 5 0>, <&irqpin1 6 0>, <&irqpin1 7 0>,
312                         <&irqpin2 0 0>, <&irqpin2 1 0>, <&irqpin2 2 0>, <&irqpin2 3 0>,
313                         <&irqpin2 4 0>, <&irqpin2 5 0>, <&irqpin2 6 0>, <&irqpin2 7 0>,
314                         <&irqpin3 0 0>, <&irqpin3 1 0>, <&irqpin3 2 0>, <&irqpin3 3 0>,
315                         <&irqpin3 4 0>, <&irqpin3 5 0>, <&irqpin3 6 0>, <&irqpin3 7 0>;
316         };
317
318         sh_fsi2: sound@ec230000 {
319                 #sound-dai-cells = <1>;
320                 compatible = "renesas,sh_fsi2";
321                 reg = <0xec230000 0x400>;
322                 interrupts = <0 146 0x4>;
323                 status = "disabled";
324         };
325 };