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"; reg = <0 0>; };
50 compatible = "arm,cortex-a8";
55 tzic: tz-interrupt-controller@0fffc000 {
56 compatible = "fsl,imx50-tzic", "fsl,imx53-tzic", "fsl,tzic";
58 #interrupt-cells = <1>;
59 reg = <0x0fffc000 0x4000>;
67 compatible = "fsl,imx-ckil", "fixed-clock";
69 clock-frequency = <32768>;
73 compatible = "fsl,imx-ckih1", "fixed-clock";
75 clock-frequency = <22579200>;
79 compatible = "fsl,imx-ckih2", "fixed-clock";
81 clock-frequency = <0>;
85 compatible = "fsl,imx-osc", "fixed-clock";
87 clock-frequency = <24000000>;
94 compatible = "simple-bus";
95 interrupt-parent = <&tzic>;
98 aips@50000000 { /* AIPS1 */
99 compatible = "fsl,aips-bus", "simple-bus";
100 #address-cells = <1>;
102 reg = <0x50000000 0x10000000>;
106 compatible = "fsl,spba-bus", "simple-bus";
107 #address-cells = <1>;
109 reg = <0x50000000 0x40000>;
112 esdhc1: esdhc@50004000 {
113 compatible = "fsl,imx50-esdhc", "fsl,imx53-esdhc";
114 reg = <0x50004000 0x4000>;
116 clocks = <&clks IMX5_CLK_ESDHC1_IPG_GATE>,
117 <&clks IMX5_CLK_DUMMY>,
118 <&clks IMX5_CLK_ESDHC1_PER_GATE>;
119 clock-names = "ipg", "ahb", "per";
124 esdhc2: esdhc@50008000 {
125 compatible = "fsl,imx50-esdhc", "fsl,imx53-esdhc";
126 reg = <0x50008000 0x4000>;
128 clocks = <&clks IMX5_CLK_ESDHC2_IPG_GATE>,
129 <&clks IMX5_CLK_DUMMY>,
130 <&clks IMX5_CLK_ESDHC2_PER_GATE>;
131 clock-names = "ipg", "ahb", "per";
136 uart3: serial@5000c000 {
137 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
138 reg = <0x5000c000 0x4000>;
140 clocks = <&clks IMX5_CLK_UART3_IPG_GATE>,
141 <&clks IMX5_CLK_UART3_PER_GATE>;
142 clock-names = "ipg", "per";
146 ecspi1: ecspi@50010000 {
147 #address-cells = <1>;
149 compatible = "fsl,imx50-ecspi", "fsl,imx51-ecspi";
150 reg = <0x50010000 0x4000>;
152 clocks = <&clks IMX5_CLK_ECSPI1_IPG_GATE>,
153 <&clks IMX5_CLK_ECSPI1_PER_GATE>;
154 clock-names = "ipg", "per";
159 #sound-dai-cells = <0>;
160 compatible = "fsl,imx50-ssi",
163 reg = <0x50014000 0x4000>;
165 clocks = <&clks IMX5_CLK_SSI2_IPG_GATE>;
166 dmas = <&sdma 24 1 0>,
168 dma-names = "rx", "tx";
169 fsl,fifo-depth = <15>;
173 esdhc3: esdhc@50020000 {
174 compatible = "fsl,imx50-esdhc", "fsl,imx53-esdhc";
175 reg = <0x50020000 0x4000>;
177 clocks = <&clks IMX5_CLK_ESDHC3_IPG_GATE>,
178 <&clks IMX5_CLK_DUMMY>,
179 <&clks IMX5_CLK_ESDHC3_PER_GATE>;
180 clock-names = "ipg", "ahb", "per";
185 esdhc4: esdhc@50024000 {
186 compatible = "fsl,imx50-esdhc", "fsl,imx53-esdhc";
187 reg = <0x50024000 0x4000>;
189 clocks = <&clks IMX5_CLK_ESDHC4_IPG_GATE>,
190 <&clks IMX5_CLK_DUMMY>,
191 <&clks IMX5_CLK_ESDHC4_PER_GATE>;
192 clock-names = "ipg", "ahb", "per";
198 usbotg: usb@53f80000 {
199 compatible = "fsl,imx50-usb", "fsl,imx27-usb";
200 reg = <0x53f80000 0x0200>;
202 clocks = <&clks IMX5_CLK_USB_PHY1_GATE>;
206 usbh1: usb@53f80200 {
207 compatible = "fsl,imx50-usb", "fsl,imx27-usb";
208 reg = <0x53f80200 0x0200>;
210 clocks = <&clks IMX5_CLK_USB_PHY2_GATE>;
215 usbh2: usb@53f80400 {
216 compatible = "fsl,imx50-usb", "fsl,imx27-usb";
217 reg = <0x53f80400 0x0200>;
219 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
224 usbh3: usb@53f80600 {
225 compatible = "fsl,imx50-usb", "fsl,imx27-usb";
226 reg = <0x53f80600 0x0200>;
228 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
233 gpio1: gpio@53f84000 {
234 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
235 reg = <0x53f84000 0x4000>;
236 interrupts = <50 51>;
239 interrupt-controller;
240 #interrupt-cells = <2>;
241 gpio-ranges = <&iomuxc 0 151 28>;
244 gpio2: gpio@53f88000 {
245 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
246 reg = <0x53f88000 0x4000>;
247 interrupts = <52 53>;
250 interrupt-controller;
251 #interrupt-cells = <2>;
252 gpio-ranges = <&iomuxc 0 75 8>, <&iomuxc 8 100 8>,
253 <&iomuxc 16 83 1>, <&iomuxc 17 85 1>,
254 <&iomuxc 18 87 1>, <&iomuxc 19 84 1>,
255 <&iomuxc 20 88 1>, <&iomuxc 21 86 1>;
258 gpio3: gpio@53f8c000 {
259 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
260 reg = <0x53f8c000 0x4000>;
261 interrupts = <54 55>;
264 interrupt-controller;
265 #interrupt-cells = <2>;
266 gpio-ranges = <&iomuxc 0 108 32>;
269 gpio4: gpio@53f90000 {
270 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
271 reg = <0x53f90000 0x4000>;
272 interrupts = <56 57>;
275 interrupt-controller;
276 #interrupt-cells = <2>;
277 gpio-ranges = <&iomuxc 0 8 8>, <&iomuxc 8 45 12>,
281 wdog1: wdog@53f98000 {
282 compatible = "fsl,imx50-wdt", "fsl,imx21-wdt";
283 reg = <0x53f98000 0x4000>;
285 clocks = <&clks IMX5_CLK_DUMMY>;
288 gpt: timer@53fa0000 {
289 compatible = "fsl,imx50-gpt", "fsl,imx31-gpt";
290 reg = <0x53fa0000 0x4000>;
292 clocks = <&clks IMX5_CLK_GPT_IPG_GATE>,
293 <&clks IMX5_CLK_GPT_HF_GATE>;
294 clock-names = "ipg", "per";
297 iomuxc: iomuxc@53fa8000 {
298 compatible = "fsl,imx50-iomuxc", "fsl,imx53-iomuxc";
299 reg = <0x53fa8000 0x4000>;
302 gpr: iomuxc-gpr@53fa8000 {
303 compatible = "fsl,imx50-iomuxc-gpr", "syscon";
304 reg = <0x53fa8000 0xc>;
309 compatible = "fsl,imx50-pwm", "fsl,imx27-pwm";
310 reg = <0x53fb4000 0x4000>;
311 clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>,
312 <&clks IMX5_CLK_PWM1_HF_GATE>;
313 clock-names = "ipg", "per";
319 compatible = "fsl,imx50-pwm", "fsl,imx27-pwm";
320 reg = <0x53fb8000 0x4000>;
321 clocks = <&clks IMX5_CLK_PWM2_IPG_GATE>,
322 <&clks IMX5_CLK_PWM2_HF_GATE>;
323 clock-names = "ipg", "per";
327 uart1: serial@53fbc000 {
328 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
329 reg = <0x53fbc000 0x4000>;
331 clocks = <&clks IMX5_CLK_UART1_IPG_GATE>,
332 <&clks IMX5_CLK_UART1_PER_GATE>;
333 clock-names = "ipg", "per";
337 uart2: serial@53fc0000 {
338 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
339 reg = <0x53fc0000 0x4000>;
341 clocks = <&clks IMX5_CLK_UART2_IPG_GATE>,
342 <&clks IMX5_CLK_UART2_PER_GATE>;
343 clock-names = "ipg", "per";
348 compatible = "fsl,imx50-src", "fsl,imx51-src";
349 reg = <0x53fd0000 0x4000>;
354 compatible = "fsl,imx50-ccm";
355 reg = <0x53fd4000 0x4000>;
356 interrupts = <0 71 0x04 0 72 0x04>;
360 gpio5: gpio@53fdc000 {
361 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
362 reg = <0x53fdc000 0x4000>;
363 interrupts = <103 104>;
366 interrupt-controller;
367 #interrupt-cells = <2>;
368 gpio-ranges = <&iomuxc 0 57 18>, <&iomuxc 18 89 11>;
371 gpio6: gpio@53fe0000 {
372 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
373 reg = <0x53fe0000 0x4000>;
374 interrupts = <105 106>;
377 interrupt-controller;
378 #interrupt-cells = <2>;
379 gpio-ranges = <&iomuxc 0 27 18>, <&iomuxc 18 16 11>;
383 #address-cells = <1>;
385 compatible = "fsl,imx50-i2c", "fsl,imx21-i2c";
386 reg = <0x53fec000 0x4000>;
388 clocks = <&clks IMX5_CLK_I2C3_GATE>;
392 uart4: serial@53ff0000 {
393 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
394 reg = <0x53ff0000 0x4000>;
396 clocks = <&clks IMX5_CLK_UART4_IPG_GATE>,
397 <&clks IMX5_CLK_UART4_PER_GATE>;
398 clock-names = "ipg", "per";
403 aips@60000000 { /* AIPS2 */
404 compatible = "fsl,aips-bus", "simple-bus";
405 #address-cells = <1>;
407 reg = <0x60000000 0x10000000>;
410 uart5: serial@63f90000 {
411 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
412 reg = <0x63f90000 0x4000>;
414 clocks = <&clks IMX5_CLK_UART5_IPG_GATE>,
415 <&clks IMX5_CLK_UART5_PER_GATE>;
416 clock-names = "ipg", "per";
420 owire: owire@63fa4000 {
421 compatible = "fsl,imx50-owire", "fsl,imx21-owire";
422 reg = <0x63fa4000 0x4000>;
423 clocks = <&clks IMX5_CLK_OWIRE_GATE>;
427 ecspi2: ecspi@63fac000 {
428 #address-cells = <1>;
430 compatible = "fsl,imx50-ecspi", "fsl,imx51-ecspi";
431 reg = <0x63fac000 0x4000>;
433 clocks = <&clks IMX5_CLK_ECSPI2_IPG_GATE>,
434 <&clks IMX5_CLK_ECSPI2_PER_GATE>;
435 clock-names = "ipg", "per";
439 sdma: sdma@63fb0000 {
440 compatible = "fsl,imx50-sdma", "fsl,imx35-sdma";
441 reg = <0x63fb0000 0x4000>;
443 clocks = <&clks IMX5_CLK_SDMA_GATE>,
444 <&clks IMX5_CLK_SDMA_GATE>;
445 clock-names = "ipg", "ahb";
446 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx50.bin";
449 cspi: cspi@63fc0000 {
450 #address-cells = <1>;
452 compatible = "fsl,imx50-cspi", "fsl,imx35-cspi";
453 reg = <0x63fc0000 0x4000>;
455 clocks = <&clks IMX5_CLK_CSPI_IPG_GATE>,
456 <&clks IMX5_CLK_CSPI_IPG_GATE>;
457 clock-names = "ipg", "per";
462 #address-cells = <1>;
464 compatible = "fsl,imx50-i2c", "fsl,imx21-i2c";
465 reg = <0x63fc4000 0x4000>;
467 clocks = <&clks IMX5_CLK_I2C2_GATE>;
472 #address-cells = <1>;
474 compatible = "fsl,imx50-i2c", "fsl,imx21-i2c";
475 reg = <0x63fc8000 0x4000>;
477 clocks = <&clks IMX5_CLK_I2C1_GATE>;
482 #sound-dai-cells = <0>;
483 compatible = "fsl,imx50-ssi", "fsl,imx51-ssi",
485 reg = <0x63fcc000 0x4000>;
487 clocks = <&clks IMX5_CLK_SSI1_IPG_GATE>;
488 dmas = <&sdma 28 0 0>,
490 dma-names = "rx", "tx";
491 fsl,fifo-depth = <15>;
495 audmux: audmux@63fd0000 {
496 compatible = "fsl,imx50-audmux", "fsl,imx31-audmux";
497 reg = <0x63fd0000 0x4000>;
501 fec: ethernet@63fec000 {
502 compatible = "fsl,imx53-fec", "fsl,imx25-fec";
503 reg = <0x63fec000 0x4000>;
505 clocks = <&clks IMX5_CLK_FEC_GATE>,
506 <&clks IMX5_CLK_FEC_GATE>,
507 <&clks IMX5_CLK_FEC_GATE>;
508 clock-names = "ipg", "ahb", "ptp";