2 * Copyright 2013 Greg Ungerer <gerg@uclinux.org>
3 * Copyright 2011 Freescale Semiconductor, Inc.
4 * Copyright 2011 Linaro Ltd.
6 * The code contained herein is licensed under the GNU General Public
7 * License. You may obtain a copy of the GNU General Public License
8 * Version 2 or later at the following locations:
10 * http://www.opensource.org/licenses/gpl-license.html
11 * http://www.gnu.org/copyleft/gpl.html
14 #include "imx50-pinfunc.h"
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/clock/imx5-clock.h>
22 * The decompressor and also some bootloaders rely on a
23 * pre-existing /chosen node to be available to insert the
24 * command line and merge other ATAGS info.
25 * Also for U-Boot there must be a pre-existing /memory node.
28 memory { device_type = "memory"; };
50 compatible = "arm,cortex-a8";
55 tzic: tz-interrupt-controller@fffc000 {
56 compatible = "fsl,imx50-tzic", "fsl,imx53-tzic", "fsl,tzic";
58 #interrupt-cells = <1>;
59 reg = <0x0fffc000 0x4000>;
64 compatible = "fsl,imx-ckil", "fixed-clock";
66 clock-frequency = <32768>;
70 compatible = "fsl,imx-ckih1", "fixed-clock";
72 clock-frequency = <22579200>;
76 compatible = "fsl,imx-ckih2", "fixed-clock";
78 clock-frequency = <0>;
82 compatible = "fsl,imx-osc", "fixed-clock";
84 clock-frequency = <24000000>;
91 compatible = "simple-bus";
92 interrupt-parent = <&tzic>;
95 aips@50000000 { /* AIPS1 */
96 compatible = "fsl,aips-bus", "simple-bus";
99 reg = <0x50000000 0x10000000>;
103 compatible = "fsl,spba-bus", "simple-bus";
104 #address-cells = <1>;
106 reg = <0x50000000 0x40000>;
109 esdhc1: esdhc@50004000 {
110 compatible = "fsl,imx50-esdhc", "fsl,imx53-esdhc";
111 reg = <0x50004000 0x4000>;
113 clocks = <&clks IMX5_CLK_ESDHC1_IPG_GATE>,
114 <&clks IMX5_CLK_DUMMY>,
115 <&clks IMX5_CLK_ESDHC1_PER_GATE>;
116 clock-names = "ipg", "ahb", "per";
121 esdhc2: esdhc@50008000 {
122 compatible = "fsl,imx50-esdhc", "fsl,imx53-esdhc";
123 reg = <0x50008000 0x4000>;
125 clocks = <&clks IMX5_CLK_ESDHC2_IPG_GATE>,
126 <&clks IMX5_CLK_DUMMY>,
127 <&clks IMX5_CLK_ESDHC2_PER_GATE>;
128 clock-names = "ipg", "ahb", "per";
133 uart3: serial@5000c000 {
134 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
135 reg = <0x5000c000 0x4000>;
137 clocks = <&clks IMX5_CLK_UART3_IPG_GATE>,
138 <&clks IMX5_CLK_UART3_PER_GATE>;
139 clock-names = "ipg", "per";
143 ecspi1: ecspi@50010000 {
144 #address-cells = <1>;
146 compatible = "fsl,imx50-ecspi", "fsl,imx51-ecspi";
147 reg = <0x50010000 0x4000>;
149 clocks = <&clks IMX5_CLK_ECSPI1_IPG_GATE>,
150 <&clks IMX5_CLK_ECSPI1_PER_GATE>;
151 clock-names = "ipg", "per";
156 #sound-dai-cells = <0>;
157 compatible = "fsl,imx50-ssi",
160 reg = <0x50014000 0x4000>;
162 clocks = <&clks IMX5_CLK_SSI2_IPG_GATE>;
163 dmas = <&sdma 24 1 0>,
165 dma-names = "rx", "tx";
166 fsl,fifo-depth = <15>;
170 esdhc3: esdhc@50020000 {
171 compatible = "fsl,imx50-esdhc", "fsl,imx53-esdhc";
172 reg = <0x50020000 0x4000>;
174 clocks = <&clks IMX5_CLK_ESDHC3_IPG_GATE>,
175 <&clks IMX5_CLK_DUMMY>,
176 <&clks IMX5_CLK_ESDHC3_PER_GATE>;
177 clock-names = "ipg", "ahb", "per";
182 esdhc4: esdhc@50024000 {
183 compatible = "fsl,imx50-esdhc", "fsl,imx53-esdhc";
184 reg = <0x50024000 0x4000>;
186 clocks = <&clks IMX5_CLK_ESDHC4_IPG_GATE>,
187 <&clks IMX5_CLK_DUMMY>,
188 <&clks IMX5_CLK_ESDHC4_PER_GATE>;
189 clock-names = "ipg", "ahb", "per";
195 usbotg: usb@53f80000 {
196 compatible = "fsl,imx50-usb", "fsl,imx27-usb";
197 reg = <0x53f80000 0x0200>;
199 clocks = <&clks IMX5_CLK_USB_PHY1_GATE>;
203 usbh1: usb@53f80200 {
204 compatible = "fsl,imx50-usb", "fsl,imx27-usb";
205 reg = <0x53f80200 0x0200>;
207 clocks = <&clks IMX5_CLK_USB_PHY2_GATE>;
212 usbh2: usb@53f80400 {
213 compatible = "fsl,imx50-usb", "fsl,imx27-usb";
214 reg = <0x53f80400 0x0200>;
216 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
221 usbh3: usb@53f80600 {
222 compatible = "fsl,imx50-usb", "fsl,imx27-usb";
223 reg = <0x53f80600 0x0200>;
225 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
230 gpio1: gpio@53f84000 {
231 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
232 reg = <0x53f84000 0x4000>;
233 interrupts = <50 51>;
236 interrupt-controller;
237 #interrupt-cells = <2>;
238 gpio-ranges = <&iomuxc 0 151 28>;
241 gpio2: gpio@53f88000 {
242 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
243 reg = <0x53f88000 0x4000>;
244 interrupts = <52 53>;
247 interrupt-controller;
248 #interrupt-cells = <2>;
249 gpio-ranges = <&iomuxc 0 75 8>, <&iomuxc 8 100 8>,
250 <&iomuxc 16 83 1>, <&iomuxc 17 85 1>,
251 <&iomuxc 18 87 1>, <&iomuxc 19 84 1>,
252 <&iomuxc 20 88 1>, <&iomuxc 21 86 1>;
255 gpio3: gpio@53f8c000 {
256 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
257 reg = <0x53f8c000 0x4000>;
258 interrupts = <54 55>;
261 interrupt-controller;
262 #interrupt-cells = <2>;
263 gpio-ranges = <&iomuxc 0 108 32>;
266 gpio4: gpio@53f90000 {
267 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
268 reg = <0x53f90000 0x4000>;
269 interrupts = <56 57>;
272 interrupt-controller;
273 #interrupt-cells = <2>;
274 gpio-ranges = <&iomuxc 0 8 8>, <&iomuxc 8 45 12>,
278 wdog1: wdog@53f98000 {
279 compatible = "fsl,imx50-wdt", "fsl,imx21-wdt";
280 reg = <0x53f98000 0x4000>;
282 clocks = <&clks IMX5_CLK_DUMMY>;
285 gpt: timer@53fa0000 {
286 compatible = "fsl,imx50-gpt", "fsl,imx31-gpt";
287 reg = <0x53fa0000 0x4000>;
289 clocks = <&clks IMX5_CLK_GPT_IPG_GATE>,
290 <&clks IMX5_CLK_GPT_HF_GATE>;
291 clock-names = "ipg", "per";
294 iomuxc: iomuxc@53fa8000 {
295 compatible = "fsl,imx50-iomuxc", "fsl,imx53-iomuxc";
296 reg = <0x53fa8000 0x4000>;
299 gpr: iomuxc-gpr@53fa8000 {
300 compatible = "fsl,imx50-iomuxc-gpr", "syscon";
301 reg = <0x53fa8000 0xc>;
306 compatible = "fsl,imx50-pwm", "fsl,imx27-pwm";
307 reg = <0x53fb4000 0x4000>;
308 clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>,
309 <&clks IMX5_CLK_PWM1_HF_GATE>;
310 clock-names = "ipg", "per";
316 compatible = "fsl,imx50-pwm", "fsl,imx27-pwm";
317 reg = <0x53fb8000 0x4000>;
318 clocks = <&clks IMX5_CLK_PWM2_IPG_GATE>,
319 <&clks IMX5_CLK_PWM2_HF_GATE>;
320 clock-names = "ipg", "per";
324 uart1: serial@53fbc000 {
325 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
326 reg = <0x53fbc000 0x4000>;
328 clocks = <&clks IMX5_CLK_UART1_IPG_GATE>,
329 <&clks IMX5_CLK_UART1_PER_GATE>;
330 clock-names = "ipg", "per";
334 uart2: serial@53fc0000 {
335 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
336 reg = <0x53fc0000 0x4000>;
338 clocks = <&clks IMX5_CLK_UART2_IPG_GATE>,
339 <&clks IMX5_CLK_UART2_PER_GATE>;
340 clock-names = "ipg", "per";
345 compatible = "fsl,imx50-src", "fsl,imx51-src";
346 reg = <0x53fd0000 0x4000>;
351 compatible = "fsl,imx50-ccm";
352 reg = <0x53fd4000 0x4000>;
353 interrupts = <0 71 0x04 0 72 0x04>;
357 gpio5: gpio@53fdc000 {
358 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
359 reg = <0x53fdc000 0x4000>;
360 interrupts = <103 104>;
363 interrupt-controller;
364 #interrupt-cells = <2>;
365 gpio-ranges = <&iomuxc 0 57 18>, <&iomuxc 18 89 11>;
368 gpio6: gpio@53fe0000 {
369 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
370 reg = <0x53fe0000 0x4000>;
371 interrupts = <105 106>;
374 interrupt-controller;
375 #interrupt-cells = <2>;
376 gpio-ranges = <&iomuxc 0 27 18>, <&iomuxc 18 16 11>;
380 #address-cells = <1>;
382 compatible = "fsl,imx50-i2c", "fsl,imx21-i2c";
383 reg = <0x53fec000 0x4000>;
385 clocks = <&clks IMX5_CLK_I2C3_GATE>;
389 uart4: serial@53ff0000 {
390 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
391 reg = <0x53ff0000 0x4000>;
393 clocks = <&clks IMX5_CLK_UART4_IPG_GATE>,
394 <&clks IMX5_CLK_UART4_PER_GATE>;
395 clock-names = "ipg", "per";
400 aips@60000000 { /* AIPS2 */
401 compatible = "fsl,aips-bus", "simple-bus";
402 #address-cells = <1>;
404 reg = <0x60000000 0x10000000>;
407 uart5: serial@63f90000 {
408 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
409 reg = <0x63f90000 0x4000>;
411 clocks = <&clks IMX5_CLK_UART5_IPG_GATE>,
412 <&clks IMX5_CLK_UART5_PER_GATE>;
413 clock-names = "ipg", "per";
417 owire: owire@63fa4000 {
418 compatible = "fsl,imx50-owire", "fsl,imx21-owire";
419 reg = <0x63fa4000 0x4000>;
420 clocks = <&clks IMX5_CLK_OWIRE_GATE>;
424 ecspi2: ecspi@63fac000 {
425 #address-cells = <1>;
427 compatible = "fsl,imx50-ecspi", "fsl,imx51-ecspi";
428 reg = <0x63fac000 0x4000>;
430 clocks = <&clks IMX5_CLK_ECSPI2_IPG_GATE>,
431 <&clks IMX5_CLK_ECSPI2_PER_GATE>;
432 clock-names = "ipg", "per";
436 sdma: sdma@63fb0000 {
437 compatible = "fsl,imx50-sdma", "fsl,imx35-sdma";
438 reg = <0x63fb0000 0x4000>;
440 clocks = <&clks IMX5_CLK_SDMA_GATE>,
441 <&clks IMX5_CLK_SDMA_GATE>;
442 clock-names = "ipg", "ahb";
444 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx50.bin";
447 cspi: cspi@63fc0000 {
448 #address-cells = <1>;
450 compatible = "fsl,imx50-cspi", "fsl,imx35-cspi";
451 reg = <0x63fc0000 0x4000>;
453 clocks = <&clks IMX5_CLK_CSPI_IPG_GATE>,
454 <&clks IMX5_CLK_CSPI_IPG_GATE>;
455 clock-names = "ipg", "per";
460 #address-cells = <1>;
462 compatible = "fsl,imx50-i2c", "fsl,imx21-i2c";
463 reg = <0x63fc4000 0x4000>;
465 clocks = <&clks IMX5_CLK_I2C2_GATE>;
470 #address-cells = <1>;
472 compatible = "fsl,imx50-i2c", "fsl,imx21-i2c";
473 reg = <0x63fc8000 0x4000>;
475 clocks = <&clks IMX5_CLK_I2C1_GATE>;
480 #sound-dai-cells = <0>;
481 compatible = "fsl,imx50-ssi", "fsl,imx51-ssi",
483 reg = <0x63fcc000 0x4000>;
485 clocks = <&clks IMX5_CLK_SSI1_IPG_GATE>;
486 dmas = <&sdma 28 0 0>,
488 dma-names = "rx", "tx";
489 fsl,fifo-depth = <15>;
493 audmux: audmux@63fd0000 {
494 compatible = "fsl,imx50-audmux", "fsl,imx31-audmux";
495 reg = <0x63fd0000 0x4000>;
499 fec: ethernet@63fec000 {
500 compatible = "fsl,imx53-fec", "fsl,imx25-fec";
501 reg = <0x63fec000 0x4000>;
503 clocks = <&clks IMX5_CLK_FEC_GATE>,
504 <&clks IMX5_CLK_FEC_GATE>,
505 <&clks IMX5_CLK_FEC_GATE>;
506 clock-names = "ipg", "ahb", "ptp";