]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/imx25.dtsi
Merge tag 'armsoc-tee' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[karo-tx-linux.git] / arch / arm / boot / dts / imx25.dtsi
1 /*
2  * Copyright 2012 Sascha Hauer, Pengutronix <s.hauer@pengutronix.de>
3  *
4  * The code contained herein is licensed under the GNU General Public
5  * License. You may obtain a copy of the GNU General Public License
6  * Version 2 or later at the following locations:
7  *
8  * http://www.opensource.org/licenses/gpl-license.html
9  * http://www.gnu.org/copyleft/gpl.html
10  */
11
12 #include "imx25-pinfunc.h"
13
14 / {
15         #address-cells = <1>;
16         #size-cells = <1>;
17         /*
18          * The decompressor and also some bootloaders rely on a
19          * pre-existing /chosen node to be available to insert the
20          * command line and merge other ATAGS info.
21          * Also for U-Boot there must be a pre-existing /memory node.
22          */
23         chosen {};
24         memory { device_type = "memory"; reg = <0 0>; };
25
26         aliases {
27                 ethernet0 = &fec;
28                 gpio0 = &gpio1;
29                 gpio1 = &gpio2;
30                 gpio2 = &gpio3;
31                 gpio3 = &gpio4;
32                 i2c0 = &i2c1;
33                 i2c1 = &i2c2;
34                 i2c2 = &i2c3;
35                 mmc0 = &esdhc1;
36                 mmc1 = &esdhc2;
37                 pwm0 = &pwm1;
38                 pwm1 = &pwm2;
39                 pwm2 = &pwm3;
40                 pwm3 = &pwm4;
41                 serial0 = &uart1;
42                 serial1 = &uart2;
43                 serial2 = &uart3;
44                 serial3 = &uart4;
45                 serial4 = &uart5;
46                 spi0 = &spi1;
47                 spi1 = &spi2;
48                 spi2 = &spi3;
49                 usb0 = &usbotg;
50                 usb1 = &usbhost1;
51         };
52
53         cpus {
54                 #address-cells = <1>;
55                 #size-cells = <0>;
56
57                 cpu@0 {
58                         compatible = "arm,arm926ej-s";
59                         device_type = "cpu";
60                         reg = <0>;
61                 };
62         };
63
64         asic: asic-interrupt-controller@68000000 {
65                 compatible = "fsl,imx25-asic", "fsl,avic";
66                 interrupt-controller;
67                 #interrupt-cells = <1>;
68                 reg = <0x68000000 0x8000000>;
69         };
70
71         clocks {
72                 #address-cells = <1>;
73                 #size-cells = <0>;
74
75                 osc {
76                         compatible = "fsl,imx-osc", "fixed-clock";
77                         #clock-cells = <0>;
78                         clock-frequency = <24000000>;
79                 };
80         };
81
82         soc {
83                 #address-cells = <1>;
84                 #size-cells = <1>;
85                 compatible = "simple-bus";
86                 interrupt-parent = <&asic>;
87                 ranges;
88
89                 aips@43f00000 { /* AIPS1 */
90                         compatible = "fsl,aips-bus", "simple-bus";
91                         #address-cells = <1>;
92                         #size-cells = <1>;
93                         reg = <0x43f00000 0x100000>;
94                         ranges;
95
96                         aips1: bridge@43f00000 {
97                                 compatible = "fsl,imx25-aips";
98                                 reg = <0x43f00000 0x4000>;
99                         };
100
101                         i2c1: i2c@43f80000 {
102                                 #address-cells = <1>;
103                                 #size-cells = <0>;
104                                 compatible = "fsl,imx25-i2c", "fsl,imx21-i2c";
105                                 reg = <0x43f80000 0x4000>;
106                                 clocks = <&clks 48>;
107                                 clock-names = "";
108                                 interrupts = <3>;
109                                 status = "disabled";
110                         };
111
112                         i2c3: i2c@43f84000 {
113                                 #address-cells = <1>;
114                                 #size-cells = <0>;
115                                 compatible = "fsl,imx25-i2c", "fsl,imx21-i2c";
116                                 reg = <0x43f84000 0x4000>;
117                                 clocks = <&clks 48>;
118                                 clock-names = "";
119                                 interrupts = <10>;
120                                 status = "disabled";
121                         };
122
123                         can1: can@43f88000 {
124                                 compatible = "fsl,imx25-flexcan", "fsl,p1010-flexcan";
125                                 reg = <0x43f88000 0x4000>;
126                                 interrupts = <43>;
127                                 clocks = <&clks 75>, <&clks 75>;
128                                 clock-names = "ipg", "per";
129                                 status = "disabled";
130                         };
131
132                         can2: can@43f8c000 {
133                                 compatible = "fsl,imx25-flexcan", "fsl,p1010-flexcan";
134                                 reg = <0x43f8c000 0x4000>;
135                                 interrupts = <44>;
136                                 clocks = <&clks 76>, <&clks 76>;
137                                 clock-names = "ipg", "per";
138                                 status = "disabled";
139                         };
140
141                         uart1: serial@43f90000 {
142                                 compatible = "fsl,imx25-uart", "fsl,imx21-uart";
143                                 reg = <0x43f90000 0x4000>;
144                                 interrupts = <45>;
145                                 clocks = <&clks 120>, <&clks 57>;
146                                 clock-names = "ipg", "per";
147                                 status = "disabled";
148                         };
149
150                         uart2: serial@43f94000 {
151                                 compatible = "fsl,imx25-uart", "fsl,imx21-uart";
152                                 reg = <0x43f94000 0x4000>;
153                                 interrupts = <32>;
154                                 clocks = <&clks 121>, <&clks 57>;
155                                 clock-names = "ipg", "per";
156                                 status = "disabled";
157                         };
158
159                         i2c2: i2c@43f98000 {
160                                 #address-cells = <1>;
161                                 #size-cells = <0>;
162                                 compatible = "fsl,imx25-i2c", "fsl,imx21-i2c";
163                                 reg = <0x43f98000 0x4000>;
164                                 clocks = <&clks 48>;
165                                 clock-names = "";
166                                 interrupts = <4>;
167                                 status = "disabled";
168                         };
169
170                         owire@43f9c000 {
171                                 #address-cells = <1>;
172                                 #size-cells = <0>;
173                                 reg = <0x43f9c000 0x4000>;
174                                 clocks = <&clks 51>;
175                                 clock-names = "";
176                                 interrupts = <2>;
177                                 status = "disabled";
178                         };
179
180                         spi1: cspi@43fa4000 {
181                                 #address-cells = <1>;
182                                 #size-cells = <0>;
183                                 compatible = "fsl,imx25-cspi", "fsl,imx35-cspi";
184                                 reg = <0x43fa4000 0x4000>;
185                                 clocks = <&clks 78>, <&clks 78>;
186                                 clock-names = "ipg", "per";
187                                 interrupts = <14>;
188                                 status = "disabled";
189                         };
190
191                         kpp: kpp@43fa8000 {
192                                 #address-cells = <1>;
193                                 #size-cells = <0>;
194                                 compatible = "fsl,imx25-kpp", "fsl,imx21-kpp";
195                                 reg = <0x43fa8000 0x4000>;
196                                 clocks = <&clks 102>;
197                                 clock-names = "";
198                                 interrupts = <24>;
199                                 status = "disabled";
200                         };
201
202                         iomuxc: iomuxc@43fac000 {
203                                 compatible = "fsl,imx25-iomuxc";
204                                 reg = <0x43fac000 0x4000>;
205                         };
206
207                         audmux: audmux@43fb0000 {
208                                 compatible = "fsl,imx25-audmux", "fsl,imx31-audmux";
209                                 reg = <0x43fb0000 0x4000>;
210                                 status = "disabled";
211                         };
212                 };
213
214                 spba@50000000 {
215                         compatible = "fsl,spba-bus", "simple-bus";
216                         #address-cells = <1>;
217                         #size-cells = <1>;
218                         reg = <0x50000000 0x40000>;
219                         ranges;
220
221                         spi3: cspi@50004000 {
222                                 #address-cells = <1>;
223                                 #size-cells = <0>;
224                                 compatible = "fsl,imx25-cspi", "fsl,imx35-cspi";
225                                 reg = <0x50004000 0x4000>;
226                                 interrupts = <0>;
227                                 clocks = <&clks 80>, <&clks 80>;
228                                 clock-names = "ipg", "per";
229                                 status = "disabled";
230                         };
231
232                         uart4: serial@50008000 {
233                                 compatible = "fsl,imx25-uart", "fsl,imx21-uart";
234                                 reg = <0x50008000 0x4000>;
235                                 interrupts = <5>;
236                                 clocks = <&clks 123>, <&clks 57>;
237                                 clock-names = "ipg", "per";
238                                 status = "disabled";
239                         };
240
241                         uart3: serial@5000c000 {
242                                 compatible = "fsl,imx25-uart", "fsl,imx21-uart";
243                                 reg = <0x5000c000 0x4000>;
244                                 interrupts = <18>;
245                                 clocks = <&clks 122>, <&clks 57>;
246                                 clock-names = "ipg", "per";
247                                 status = "disabled";
248                         };
249
250                         spi2: cspi@50010000 {
251                                 #address-cells = <1>;
252                                 #size-cells = <0>;
253                                 compatible = "fsl,imx25-cspi", "fsl,imx35-cspi";
254                                 reg = <0x50010000 0x4000>;
255                                 clocks = <&clks 79>, <&clks 79>;
256                                 clock-names = "ipg", "per";
257                                 interrupts = <13>;
258                                 status = "disabled";
259                         };
260
261                         ssi2: ssi@50014000 {
262                                 #sound-dai-cells = <0>;
263                                 compatible = "fsl,imx25-ssi", "fsl,imx21-ssi";
264                                 reg = <0x50014000 0x4000>;
265                                 interrupts = <11>;
266                                 clocks = <&clks 118>;
267                                 clock-names = "ipg";
268                                 dmas = <&sdma 24 1 0>,
269                                        <&sdma 25 1 0>;
270                                 dma-names = "rx", "tx";
271                                 status = "disabled";
272                         };
273
274                         esai@50018000 {
275                                 reg = <0x50018000 0x4000>;
276                                 interrupts = <7>;
277                         };
278
279                         uart5: serial@5002c000 {
280                                 compatible = "fsl,imx25-uart", "fsl,imx21-uart";
281                                 reg = <0x5002c000 0x4000>;
282                                 interrupts = <40>;
283                                 clocks = <&clks 124>, <&clks 57>;
284                                 clock-names = "ipg", "per";
285                                 status = "disabled";
286                         };
287
288                         tscadc: tscadc@50030000 {
289                                 compatible = "fsl,imx25-tsadc";
290                                 reg = <0x50030000 0xc>;
291                                 interrupts = <46>;
292                                 clocks = <&clks 119>;
293                                 clock-names = "ipg";
294                                 interrupt-controller;
295                                 #interrupt-cells = <1>;
296                                 #address-cells = <1>;
297                                 #size-cells = <1>;
298                                 status = "disabled";
299
300                                 adc: adc@50030800 {
301                                         compatible = "fsl,imx25-gcq";
302                                         reg = <0x50030800 0x60>;
303                                         interrupt-parent = <&tscadc>;
304                                         interrupts = <1>;
305                                         #address-cells = <1>;
306                                         #size-cells = <0>;
307                                         status = "disabled";
308                                 };
309
310                                 tsc: tcq@50030400 {
311                                         compatible = "fsl,imx25-tcq";
312                                         reg = <0x50030400 0x60>;
313                                         interrupt-parent = <&tscadc>;
314                                         interrupts = <0>;
315                                         fsl,wires = <4>;
316                                         status = "disabled";
317                                 };
318                         };
319
320                         ssi1: ssi@50034000 {
321                                 #sound-dai-cells = <0>;
322                                 compatible = "fsl,imx25-ssi", "fsl,imx21-ssi";
323                                 reg = <0x50034000 0x4000>;
324                                 interrupts = <12>;
325                                 clocks = <&clks 117>;
326                                 clock-names = "ipg";
327                                 dmas = <&sdma 28 1 0>,
328                                        <&sdma 29 1 0>;
329                                 dma-names = "rx", "tx";
330                                 status = "disabled";
331                         };
332
333                         fec: ethernet@50038000 {
334                                 compatible = "fsl,imx25-fec";
335                                 reg = <0x50038000 0x4000>;
336                                 interrupts = <57>;
337                                 clocks = <&clks 88>, <&clks 65>;
338                                 clock-names = "ipg", "ahb";
339                                 status = "disabled";
340                         };
341                 };
342
343                 aips@53f00000 { /* AIPS2 */
344                         compatible = "fsl,aips-bus", "simple-bus";
345                         #address-cells = <1>;
346                         #size-cells = <1>;
347                         reg = <0x53f00000 0x100000>;
348                         ranges;
349
350                         aips2: bridge@53f00000 {
351                                 compatible = "fsl,imx25-aips";
352                                 reg = <0x53f00000 0x4000>;
353                         };
354
355                         clks: ccm@53f80000 {
356                                 compatible = "fsl,imx25-ccm";
357                                 reg = <0x53f80000 0x4000>;
358                                 interrupts = <31>;
359                                 #clock-cells = <1>;
360                         };
361
362                         gpt4: timer@53f84000 {
363                                 compatible = "fsl,imx25-gpt", "fsl,imx31-gpt";
364                                 reg = <0x53f84000 0x4000>;
365                                 clocks = <&clks 95>, <&clks 47>;
366                                 clock-names = "ipg", "per";
367                                 interrupts = <1>;
368                         };
369
370                         gpt3: timer@53f88000 {
371                                 compatible = "fsl,imx25-gpt", "fsl,imx31-gpt";
372                                 reg = <0x53f88000 0x4000>;
373                                 clocks = <&clks 94>, <&clks 47>;
374                                 clock-names = "ipg", "per";
375                                 interrupts = <29>;
376                         };
377
378                         gpt2: timer@53f8c000 {
379                                 compatible = "fsl,imx25-gpt", "fsl,imx31-gpt";
380                                 reg = <0x53f8c000 0x4000>;
381                                 clocks = <&clks 93>, <&clks 47>;
382                                 clock-names = "ipg", "per";
383                                 interrupts = <53>;
384                         };
385
386                         gpt1: timer@53f90000 {
387                                 compatible = "fsl,imx25-gpt", "fsl,imx31-gpt";
388                                 reg = <0x53f90000 0x4000>;
389                                 clocks = <&clks 92>, <&clks 47>;
390                                 clock-names = "ipg", "per";
391                                 interrupts = <54>;
392                         };
393
394                         epit1: timer@53f94000 {
395                                 compatible = "fsl,imx25-epit";
396                                 reg = <0x53f94000 0x4000>;
397                                 interrupts = <28>;
398                         };
399
400                         epit2: timer@53f98000 {
401                                 compatible = "fsl,imx25-epit";
402                                 reg = <0x53f98000 0x4000>;
403                                 interrupts = <27>;
404                         };
405
406                         gpio4: gpio@53f9c000 {
407                                 compatible = "fsl,imx25-gpio", "fsl,imx35-gpio";
408                                 reg = <0x53f9c000 0x4000>;
409                                 interrupts = <23>;
410                                 gpio-controller;
411                                 #gpio-cells = <2>;
412                                 interrupt-controller;
413                                 #interrupt-cells = <2>;
414                         };
415
416                         pwm2: pwm@53fa0000 {
417                                 compatible = "fsl,imx25-pwm", "fsl,imx27-pwm";
418                                 #pwm-cells = <2>;
419                                 reg = <0x53fa0000 0x4000>;
420                                 clocks = <&clks 106>, <&clks 52>;
421                                 clock-names = "ipg", "per";
422                                 interrupts = <36>;
423                         };
424
425                         gpio3: gpio@53fa4000 {
426                                 compatible = "fsl,imx25-gpio", "fsl,imx35-gpio";
427                                 reg = <0x53fa4000 0x4000>;
428                                 interrupts = <16>;
429                                 gpio-controller;
430                                 #gpio-cells = <2>;
431                                 interrupt-controller;
432                                 #interrupt-cells = <2>;
433                         };
434
435                         pwm3: pwm@53fa8000 {
436                                 compatible = "fsl,imx25-pwm", "fsl,imx27-pwm";
437                                 #pwm-cells = <2>;
438                                 reg = <0x53fa8000 0x4000>;
439                                 clocks = <&clks 107>, <&clks 52>;
440                                 clock-names = "ipg", "per";
441                                 interrupts = <41>;
442                         };
443
444                         scc: crypto@53fac000 {
445                                 compatible = "fsl,imx25-scc";
446                                 reg = <0x53fac000 0x4000>;
447                                 clocks = <&clks 111>;
448                                 clock-names = "ipg";
449                                 interrupts = <49>, <50>;
450                                 interrupt-names = "scm", "smn";
451                         };
452
453                         esdhc1: esdhc@53fb4000 {
454                                 compatible = "fsl,imx25-esdhc";
455                                 reg = <0x53fb4000 0x4000>;
456                                 interrupts = <9>;
457                                 clocks = <&clks 86>, <&clks 63>, <&clks 45>;
458                                 clock-names = "ipg", "ahb", "per";
459                                 status = "disabled";
460                         };
461
462                         esdhc2: esdhc@53fb8000 {
463                                 compatible = "fsl,imx25-esdhc";
464                                 reg = <0x53fb8000 0x4000>;
465                                 interrupts = <8>;
466                                 clocks = <&clks 87>, <&clks 64>, <&clks 46>;
467                                 clock-names = "ipg", "ahb", "per";
468                                 status = "disabled";
469                         };
470
471                         lcdc: lcdc@53fbc000 {
472                                 compatible = "fsl,imx25-fb", "fsl,imx21-fb";
473                                 reg = <0x53fbc000 0x4000>;
474                                 interrupts = <39>;
475                                 clocks = <&clks 103>, <&clks 66>, <&clks 49>;
476                                 clock-names = "ipg", "ahb", "per";
477                                 status = "disabled";
478                         };
479
480                         slcdc@53fc0000 {
481                                 reg = <0x53fc0000 0x4000>;
482                                 interrupts = <38>;
483                                 status = "disabled";
484                         };
485
486                         pwm4: pwm@53fc8000 {
487                                 compatible = "fsl,imx25-pwm", "fsl,imx27-pwm";
488                                 #pwm-cells = <2>;
489                                 reg = <0x53fc8000 0x4000>;
490                                 clocks = <&clks 108>, <&clks 52>;
491                                 clock-names = "ipg", "per";
492                                 interrupts = <42>;
493                         };
494
495                         gpio1: gpio@53fcc000 {
496                                 compatible = "fsl,imx25-gpio", "fsl,imx35-gpio";
497                                 reg = <0x53fcc000 0x4000>;
498                                 interrupts = <52>;
499                                 gpio-controller;
500                                 #gpio-cells = <2>;
501                                 interrupt-controller;
502                                 #interrupt-cells = <2>;
503                         };
504
505                         gpio2: gpio@53fd0000 {
506                                 compatible = "fsl,imx25-gpio", "fsl,imx35-gpio";
507                                 reg = <0x53fd0000 0x4000>;
508                                 interrupts = <51>;
509                                 gpio-controller;
510                                 #gpio-cells = <2>;
511                                 interrupt-controller;
512                                 #interrupt-cells = <2>;
513                         };
514
515                         sdma: sdma@53fd4000 {
516                                 compatible = "fsl,imx25-sdma";
517                                 reg = <0x53fd4000 0x4000>;
518                                 clocks = <&clks 112>, <&clks 68>;
519                                 clock-names = "ipg", "ahb";
520                                 #dma-cells = <3>;
521                                 interrupts = <34>;
522                                 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx25.bin";
523                         };
524
525                         wdog@53fdc000 {
526                                 compatible = "fsl,imx25-wdt", "fsl,imx21-wdt";
527                                 reg = <0x53fdc000 0x4000>;
528                                 clocks = <&clks 126>;
529                                 clock-names = "";
530                                 interrupts = <55>;
531                         };
532
533                         pwm1: pwm@53fe0000 {
534                                 compatible = "fsl,imx25-pwm", "fsl,imx27-pwm";
535                                 #pwm-cells = <2>;
536                                 reg = <0x53fe0000 0x4000>;
537                                 clocks = <&clks 105>, <&clks 52>;
538                                 clock-names = "ipg", "per";
539                                 interrupts = <26>;
540                         };
541
542                         iim: iim@53ff0000 {
543                                 compatible = "fsl,imx25-iim", "fsl,imx27-iim";
544                                 reg = <0x53ff0000 0x4000>;
545                                 interrupts = <19>;
546                                 clocks = <&clks 99>;
547                         };
548
549                         usbotg: usb@53ff4000 {
550                                 compatible = "fsl,imx25-usb", "fsl,imx27-usb";
551                                 reg = <0x53ff4000 0x0200>;
552                                 interrupts = <37>;
553                                 clocks = <&clks 9>, <&clks 70>, <&clks 8>;
554                                 clock-names = "ipg", "ahb", "per";
555                                 fsl,usbmisc = <&usbmisc 0>;
556                                 fsl,usbphy = <&usbphy0>;
557                                 phy_type = "utmi";
558                                 dr_mode = "otg";
559                                 status = "disabled";
560                         };
561
562                         usbhost1: usb@53ff4400 {
563                                 compatible = "fsl,imx25-usb", "fsl,imx27-usb";
564                                 reg = <0x53ff4400 0x0200>;
565                                 interrupts = <35>;
566                                 clocks = <&clks 9>, <&clks 70>, <&clks 8>;
567                                 clock-names = "ipg", "ahb", "per";
568                                 fsl,usbmisc = <&usbmisc 1>;
569                                 fsl,usbphy = <&usbphy1>;
570                                 status = "disabled";
571                         };
572
573                         usbmisc: usbmisc@53ff4600 {
574                                 #index-cells = <1>;
575                                 compatible = "fsl,imx25-usbmisc";
576                                 reg = <0x53ff4600 0x00f>;
577                         };
578
579                         dryice@53ffc000 {
580                                 compatible = "fsl,imx25-dryice", "fsl,imx25-rtc";
581                                 reg = <0x53ffc000 0x4000>;
582                                 clocks = <&clks 81>;
583                                 clock-names = "ipg";
584                                 interrupts = <25 56>;
585                         };
586                 };
587
588                 iram: sram@78000000 {
589                         compatible = "mmio-sram";
590                         reg = <0x78000000 0x20000>;
591                 };
592
593                 emi@80000000 {
594                         compatible = "fsl,emi-bus", "simple-bus";
595                         #address-cells = <1>;
596                         #size-cells = <1>;
597                         reg = <0x80000000 0x3b002000>;
598                         ranges;
599
600                         nfc: nand@bb000000 {
601                                 #address-cells = <1>;
602                                 #size-cells = <1>;
603
604                                 compatible = "fsl,imx25-nand";
605                                 reg = <0xbb000000 0x2000>;
606                                 clocks = <&clks 50>;
607                                 clock-names = "";
608                                 interrupts = <33>;
609                                 status = "disabled";
610                         };
611                 };
612         };
613
614         usbphy {
615                 compatible = "simple-bus";
616                 #address-cells = <1>;
617                 #size-cells = <0>;
618
619                 usbphy0: usb-phy@0 {
620                         reg = <0>;
621                         compatible = "usb-nop-xceiv";
622                 };
623
624                 usbphy1: usb-phy@1 {
625                         reg = <1>;
626                         compatible = "usb-nop-xceiv";
627                 };
628         };
629 };