]> asedeno.scripts.mit.edu Git - linux.git/blob - arch/arm/boot/dts/imx35.dtsi
Merge tag 'samsung-dt-4.11-3' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk...
[linux.git] / arch / arm / boot / dts / imx35.dtsi
1 /*
2  * Copyright 2012 Steffen Trumtrar, Pengutronix
3  *
4  * based on imx27.dtsi
5  *
6  * This program is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License version 2 as published by the
8  * Free Software Foundation.
9  */
10
11 #include "imx35-pinfunc.h"
12
13 / {
14         #address-cells = <1>;
15         #size-cells = <1>;
16
17         aliases {
18                 ethernet0 = &fec;
19                 gpio0 = &gpio1;
20                 gpio1 = &gpio2;
21                 gpio2 = &gpio3;
22                 serial0 = &uart1;
23                 serial1 = &uart2;
24                 serial2 = &uart3;
25                 spi0 = &spi1;
26                 spi1 = &spi2;
27         };
28
29         cpus {
30                 #address-cells = <1>;
31                 #size-cells = <0>;
32
33                 cpu@0 {
34                         compatible = "arm,arm1136jf-s";
35                         device_type = "cpu";
36                         reg = <0>;
37                 };
38         };
39
40         avic: avic-interrupt-controller@68000000 {
41                 compatible = "fsl,imx35-avic", "fsl,avic";
42                 interrupt-controller;
43                 #interrupt-cells = <1>;
44                 reg = <0x68000000 0x10000000>;
45         };
46
47         soc {
48                 #address-cells = <1>;
49                 #size-cells = <1>;
50                 compatible = "simple-bus";
51                 interrupt-parent = <&avic>;
52                 ranges;
53
54                 L2: l2-cache@30000000 {
55                         compatible = "arm,l210-cache";
56                         reg = <0x30000000 0x1000>;
57                         cache-unified;
58                         cache-level = <2>;
59                 };
60
61                 aips1: aips@43f00000 {
62                         compatible = "fsl,aips", "simple-bus";
63                         #address-cells = <1>;
64                         #size-cells = <1>;
65                         reg = <0x43f00000 0x100000>;
66                         ranges;
67
68                         i2c1: i2c@43f80000 {
69                                 #address-cells = <1>;
70                                 #size-cells = <0>;
71                                 compatible = "fsl,imx35-i2c", "fsl,imx1-i2c";
72                                 reg = <0x43f80000 0x4000>;
73                                 clocks = <&clks 51>;
74                                 clock-names = "ipg_per";
75                                 interrupts = <10>;
76                                 status = "disabled";
77                         };
78
79                         i2c3: i2c@43f84000 {
80                                 #address-cells = <1>;
81                                 #size-cells = <0>;
82                                 compatible = "fsl,imx35-i2c", "fsl,imx1-i2c";
83                                 reg = <0x43f84000 0x4000>;
84                                 clocks = <&clks 53>;
85                                 clock-names = "ipg_per";
86                                 interrupts = <3>;
87                                 status = "disabled";
88                         };
89
90                         uart1: serial@43f90000 {
91                                 compatible = "fsl,imx35-uart", "fsl,imx21-uart";
92                                 reg = <0x43f90000 0x4000>;
93                                 clocks = <&clks 9>, <&clks 70>;
94                                 clock-names = "ipg", "per";
95                                 interrupts = <45>;
96                                 status = "disabled";
97                         };
98
99                         uart2: serial@43f94000 {
100                                 compatible = "fsl,imx35-uart", "fsl,imx21-uart";
101                                 reg = <0x43f94000 0x4000>;
102                                 clocks = <&clks 9>, <&clks 71>;
103                                 clock-names = "ipg", "per";
104                                 interrupts = <32>;
105                                 status = "disabled";
106                         };
107
108                         i2c2: i2c@43f98000 {
109                                 #address-cells = <1>;
110                                 #size-cells = <0>;
111                                 compatible = "fsl,imx35-i2c", "fsl,imx1-i2c";
112                                 reg = <0x43f98000 0x4000>;
113                                 clocks = <&clks 52>;
114                                 clock-names = "ipg_per";
115                                 interrupts = <4>;
116                                 status = "disabled";
117                         };
118
119                         ssi1: ssi@43fa0000 {
120                                 #sound-dai-cells = <0>;
121                                 compatible = "fsl,imx35-ssi", "fsl,imx21-ssi";
122                                 reg = <0x43fa0000 0x4000>;
123                                 interrupts = <11>;
124                                 clocks = <&clks 68>;
125                                 dmas = <&sdma 28 0 0>,
126                                        <&sdma 29 0 0>;
127                                 dma-names = "rx", "tx";
128                                 fsl,fifo-depth = <15>;
129                                 status = "disabled";
130                         };
131
132                         spi1: cspi@43fa4000 {
133                                 #address-cells = <1>;
134                                 #size-cells = <0>;
135                                 compatible = "fsl,imx35-cspi";
136                                 reg = <0x43fa4000 0x4000>;
137                                 clocks = <&clks 35 &clks 35>;
138                                 clock-names = "ipg", "per";
139                                 interrupts = <14>;
140                                 status = "disabled";
141                         };
142
143                         kpp: kpp@43fa8000 {
144                                 compatible = "fsl,imx35-kpp", "fsl,imx21-kpp";
145                                 reg = <0x43fa8000 0x4000>;
146                                 interrupts = <24>;
147                                 clocks = <&clks 56>;
148                                 status = "disabled";
149                         };
150
151                         iomuxc: iomuxc@43fac000 {
152                                 compatible = "fsl,imx35-iomuxc";
153                                 reg = <0x43fac000 0x4000>;
154                         };
155                 };
156
157                 spba: spba-bus@50000000 {
158                         compatible = "fsl,spba-bus", "simple-bus";
159                         #address-cells = <1>;
160                         #size-cells = <1>;
161                         reg = <0x50000000 0x100000>;
162                         ranges;
163
164                         uart3: serial@5000c000 {
165                                 compatible = "fsl,imx35-uart", "fsl,imx21-uart";
166                                 reg = <0x5000c000 0x4000>;
167                                 clocks = <&clks 9>, <&clks 72>;
168                                 clock-names = "ipg", "per";
169                                 interrupts = <18>;
170                                 status = "disabled";
171                         };
172
173                         spi2: cspi@50010000 {
174                                 #address-cells = <1>;
175                                 #size-cells = <0>;
176                                 compatible = "fsl,imx35-cspi";
177                                 reg = <0x50010000 0x4000>;
178                                 interrupts = <13>;
179                                 clocks = <&clks 36 &clks 36>;
180                                 clock-names = "ipg", "per";
181                                 status = "disabled";
182                         };
183
184                         fec: fec@50038000 {
185                                 compatible = "fsl,imx35-fec", "fsl,imx27-fec";
186                                 reg = <0x50038000 0x4000>;
187                                 clocks = <&clks 46>, <&clks 8>;
188                                 clock-names = "ipg", "ahb";
189                                 interrupts = <57>;
190                                 status = "disabled";
191                         };
192                 };
193
194                 aips2: aips@53f00000 {
195                         compatible = "fsl,aips", "simple-bus";
196                         #address-cells = <1>;
197                         #size-cells = <1>;
198                         reg = <0x53f00000 0x100000>;
199                         ranges;
200
201                         clks: ccm@53f80000 {
202                                 compatible = "fsl,imx35-ccm";
203                                 reg = <0x53f80000 0x4000>;
204                                 interrupts = <31>;
205                                 #clock-cells = <1>;
206                         };
207
208                         gpt: timer@53f90000 {
209                                 compatible = "fsl,imx35-gpt", "fsl,imx31-gpt";
210                                 reg = <0x53f90000 0x4000>;
211                                 interrupts = <29>;
212                                 clocks = <&clks 9>, <&clks 50>;
213                                 clock-names = "ipg", "per";
214                         };
215
216                         gpio3: gpio@53fa4000 {
217                                 compatible = "fsl,imx35-gpio", "fsl,imx31-gpio";
218                                 reg = <0x53fa4000 0x4000>;
219                                 interrupts = <56>;
220                                 gpio-controller;
221                                 #gpio-cells = <2>;
222                                 interrupt-controller;
223                                 #interrupt-cells = <2>;
224                         };
225
226                         esdhc1: esdhc@53fb4000 {
227                                 compatible = "fsl,imx35-esdhc";
228                                 reg = <0x53fb4000 0x4000>;
229                                 interrupts = <7>;
230                                 clocks = <&clks 9>, <&clks 8>, <&clks 43>;
231                                 clock-names = "ipg", "ahb", "per";
232                                 status = "disabled";
233                         };
234
235                         esdhc2: esdhc@53fb8000 {
236                                 compatible = "fsl,imx35-esdhc";
237                                 reg = <0x53fb8000 0x4000>;
238                                 interrupts = <8>;
239                                 clocks = <&clks 9>, <&clks 8>, <&clks 44>;
240                                 clock-names = "ipg", "ahb", "per";
241                                 status = "disabled";
242                         };
243
244                         esdhc3: esdhc@53fbc000 {
245                                 compatible = "fsl,imx35-esdhc";
246                                 reg = <0x53fbc000 0x4000>;
247                                 interrupts = <9>;
248                                 clocks = <&clks 9>, <&clks 8>, <&clks 45>;
249                                 clock-names = "ipg", "ahb", "per";
250                                 status = "disabled";
251                         };
252
253                         audmux: audmux@53fc4000 {
254                                 compatible = "fsl,imx35-audmux", "fsl,imx31-audmux";
255                                 reg = <0x53fc4000 0x4000>;
256                                 status = "disabled";
257                         };
258
259                         gpio1: gpio@53fcc000 {
260                                 compatible = "fsl,imx35-gpio", "fsl,imx31-gpio";
261                                 reg = <0x53fcc000 0x4000>;
262                                 interrupts = <52>;
263                                 gpio-controller;
264                                 #gpio-cells = <2>;
265                                 interrupt-controller;
266                                 #interrupt-cells = <2>;
267                         };
268
269                         gpio2: gpio@53fd0000 {
270                                 compatible = "fsl,imx35-gpio", "fsl,imx31-gpio";
271                                 reg = <0x53fd0000 0x4000>;
272                                 interrupts = <51>;
273                                 gpio-controller;
274                                 #gpio-cells = <2>;
275                                 interrupt-controller;
276                                 #interrupt-cells = <2>;
277                         };
278
279                         sdma: sdma@53fd4000 {
280                                 compatible = "fsl,imx35-sdma";
281                                 reg = <0x53fd4000 0x4000>;
282                                 clocks = <&clks 9>, <&clks 65>;
283                                 clock-names = "ipg", "ahb";
284                                 #dma-cells = <3>;
285                                 interrupts = <34>;
286                                 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx35.bin";
287                         };
288
289                         wdog: wdog@53fdc000 {
290                                 compatible = "fsl,imx35-wdt", "fsl,imx21-wdt";
291                                 reg = <0x53fdc000 0x4000>;
292                                 clocks = <&clks 74>;
293                                 clock-names = "";
294                                 interrupts = <55>;
295                         };
296
297                         can1: can@53fe4000 {
298                                 compatible = "fsl,imx35-flexcan", "fsl,p1010-flexcan";
299                                 reg = <0x53fe4000 0x1000>;
300                                 clocks = <&clks 33>, <&clks 33>;
301                                 clock-names = "ipg", "per";
302                                 interrupts = <43>;
303                                 status = "disabled";
304                         };
305
306                         can2: can@53fe8000 {
307                                 compatible = "fsl,imx35-flexcan", "fsl,p1010-flexcan";
308                                 reg = <0x53fe8000 0x1000>;
309                                 clocks = <&clks 34>, <&clks 34>;
310                                 clock-names = "ipg", "per";
311                                 interrupts = <44>;
312                                 status = "disabled";
313                         };
314
315                         iim@53ff0000 {
316                                 compatible = "fsl,imx35-iim";
317                                 reg = <0x53ff0000 0x4000>;
318                                 interrupts = <19>;
319                                 clocks = <&clks 80>;
320                         };
321
322                         usbotg: usb@53ff4000 {
323                                 compatible = "fsl,imx35-usb", "fsl,imx27-usb";
324                                 reg = <0x53ff4000 0x0200>;
325                                 interrupts = <37>;
326                                 clocks = <&clks 9>, <&clks 73>, <&clks 28>;
327                                 clock-names = "ipg", "ahb", "per";
328                                 fsl,usbmisc = <&usbmisc 0>;
329                                 fsl,usbphy = <&usbphy0>;
330                                 status = "disabled";
331                         };
332
333                         usbhost1: usb@53ff4400 {
334                                 compatible = "fsl,imx35-usb", "fsl,imx27-usb";
335                                 reg = <0x53ff4400 0x0200>;
336                                 interrupts = <35>;
337                                 clocks = <&clks 9>, <&clks 73>, <&clks 28>;
338                                 clock-names = "ipg", "ahb", "per";
339                                 fsl,usbmisc = <&usbmisc 1>;
340                                 fsl,usbphy = <&usbphy1>;
341                                 dr_mode = "host";
342                                 status = "disabled";
343                         };
344
345                         usbmisc: usbmisc@53ff4600 {
346                                 #index-cells = <1>;
347                                 compatible = "fsl,imx35-usbmisc";
348                                 reg = <0x53ff4600 0x00f>;
349                         };
350                 };
351
352                 emi@80000000 { /* External Memory Interface */
353                         compatible = "fsl,emi", "simple-bus";
354                         #address-cells = <1>;
355                         #size-cells = <1>;
356                         reg = <0x80000000 0x40000000>;
357                         ranges;
358
359                         nfc: nand@bb000000 {
360                                 #address-cells = <1>;
361                                 #size-cells = <1>;
362                                 compatible = "fsl,imx35-nand", "fsl,imx25-nand";
363                                 reg = <0xbb000000 0x2000>;
364                                 clocks = <&clks 29>;
365                                 clock-names = "";
366                                 interrupts = <33>;
367                                 status = "disabled";
368                         };
369
370                         weim: weim@b8002000 {
371                                 #address-cells = <2>;
372                                 #size-cells = <1>;
373                                 clocks = <&clks 0>;
374                                 compatible = "fsl,imx35-weim", "fsl,imx27-weim";
375                                 reg = <0xb8002000 0x1000>;
376                                 ranges = <
377                                         0 0 0xa0000000 0x8000000
378                                         1 0 0xa8000000 0x8000000
379                                         2 0 0xb0000000 0x2000000
380                                         3 0 0xb2000000 0x2000000
381                                         4 0 0xb4000000 0x2000000
382                                         5 0 0xb6000000 0x2000000
383                                 >;
384                                 status = "disabled";
385                         };
386                 };
387         };
388
389         usbphy {
390                 compatible = "simple-bus";
391                 #address-cells = <1>;
392                 #size-cells = <0>;
393
394                 usbphy0: usb-phy@0 {
395                         reg = <0>;
396                         compatible = "usb-nop-xceiv";
397                 };
398
399                 usbphy1: usb-phy@1 {
400                         reg = <1>;
401                         compatible = "usb-nop-xceiv";
402                 };
403         };
404 };