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