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 "skeleton.dtsi"
15 #include "imx50-pinfunc.h"
16 #include <dt-bindings/clock/imx5-clock.h>
39 compatible = "arm,cortex-a8";
44 tzic: tz-interrupt-controller@0fffc000 {
45 compatible = "fsl,imx50-tzic", "fsl,imx53-tzic", "fsl,tzic";
47 #interrupt-cells = <1>;
48 reg = <0x0fffc000 0x4000>;
56 compatible = "fsl,imx-ckil", "fixed-clock";
58 clock-frequency = <32768>;
62 compatible = "fsl,imx-ckih1", "fixed-clock";
64 clock-frequency = <22579200>;
68 compatible = "fsl,imx-ckih2", "fixed-clock";
70 clock-frequency = <0>;
74 compatible = "fsl,imx-osc", "fixed-clock";
76 clock-frequency = <24000000>;
83 compatible = "simple-bus";
84 interrupt-parent = <&tzic>;
87 aips@50000000 { /* AIPS1 */
88 compatible = "fsl,aips-bus", "simple-bus";
91 reg = <0x50000000 0x10000000>;
95 compatible = "fsl,spba-bus", "simple-bus";
98 reg = <0x50000000 0x40000>;
101 esdhc1: esdhc@50004000 {
102 compatible = "fsl,imx50-esdhc";
103 reg = <0x50004000 0x4000>;
105 clocks = <&clks IMX5_CLK_ESDHC1_IPG_GATE>,
106 <&clks IMX5_CLK_DUMMY>,
107 <&clks IMX5_CLK_ESDHC1_PER_GATE>;
108 clock-names = "ipg", "ahb", "per";
113 esdhc2: esdhc@50008000 {
114 compatible = "fsl,imx50-esdhc";
115 reg = <0x50008000 0x4000>;
117 clocks = <&clks IMX5_CLK_ESDHC2_IPG_GATE>,
118 <&clks IMX5_CLK_DUMMY>,
119 <&clks IMX5_CLK_ESDHC2_PER_GATE>;
120 clock-names = "ipg", "ahb", "per";
125 uart3: serial@5000c000 {
126 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
127 reg = <0x5000c000 0x4000>;
129 clocks = <&clks IMX5_CLK_UART3_IPG_GATE>,
130 <&clks IMX5_CLK_UART3_PER_GATE>;
131 clock-names = "ipg", "per";
135 ecspi1: ecspi@50010000 {
136 #address-cells = <1>;
138 compatible = "fsl,imx50-ecspi", "fsl,imx51-ecspi";
139 reg = <0x50010000 0x4000>;
141 clocks = <&clks IMX5_CLK_ECSPI1_IPG_GATE>,
142 <&clks IMX5_CLK_ECSPI1_PER_GATE>;
143 clock-names = "ipg", "per";
148 #sound-dai-cells = <0>;
149 compatible = "fsl,imx50-ssi",
152 reg = <0x50014000 0x4000>;
154 clocks = <&clks IMX5_CLK_SSI2_IPG_GATE>;
155 dmas = <&sdma 24 1 0>,
157 dma-names = "rx", "tx";
158 fsl,fifo-depth = <15>;
162 esdhc3: esdhc@50020000 {
163 compatible = "fsl,imx50-esdhc";
164 reg = <0x50020000 0x4000>;
166 clocks = <&clks IMX5_CLK_ESDHC3_IPG_GATE>,
167 <&clks IMX5_CLK_DUMMY>,
168 <&clks IMX5_CLK_ESDHC3_PER_GATE>;
169 clock-names = "ipg", "ahb", "per";
174 esdhc4: esdhc@50024000 {
175 compatible = "fsl,imx50-esdhc";
176 reg = <0x50024000 0x4000>;
178 clocks = <&clks IMX5_CLK_ESDHC4_IPG_GATE>,
179 <&clks IMX5_CLK_DUMMY>,
180 <&clks IMX5_CLK_ESDHC4_PER_GATE>;
181 clock-names = "ipg", "ahb", "per";
187 usbotg: usb@53f80000 {
188 compatible = "fsl,imx50-usb", "fsl,imx27-usb";
189 reg = <0x53f80000 0x0200>;
191 clocks = <&clks IMX5_CLK_USB_PHY1_GATE>;
195 usbh1: usb@53f80200 {
196 compatible = "fsl,imx50-usb", "fsl,imx27-usb";
197 reg = <0x53f80200 0x0200>;
199 clocks = <&clks IMX5_CLK_USB_PHY2_GATE>;
204 usbh2: usb@53f80400 {
205 compatible = "fsl,imx50-usb", "fsl,imx27-usb";
206 reg = <0x53f80400 0x0200>;
208 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
213 usbh3: usb@53f80600 {
214 compatible = "fsl,imx50-usb", "fsl,imx27-usb";
215 reg = <0x53f80600 0x0200>;
217 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
222 gpio1: gpio@53f84000 {
223 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
224 reg = <0x53f84000 0x4000>;
225 interrupts = <50 51>;
228 interrupt-controller;
229 #interrupt-cells = <2>;
232 gpio2: gpio@53f88000 {
233 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
234 reg = <0x53f88000 0x4000>;
235 interrupts = <52 53>;
238 interrupt-controller;
239 #interrupt-cells = <2>;
242 gpio3: gpio@53f8c000 {
243 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
244 reg = <0x53f8c000 0x4000>;
245 interrupts = <54 55>;
248 interrupt-controller;
249 #interrupt-cells = <2>;
252 gpio4: gpio@53f90000 {
253 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
254 reg = <0x53f90000 0x4000>;
255 interrupts = <56 57>;
258 interrupt-controller;
259 #interrupt-cells = <2>;
262 wdog1: wdog@53f98000 {
263 compatible = "fsl,imx50-wdt", "fsl,imx21-wdt";
264 reg = <0x53f98000 0x4000>;
266 clocks = <&clks IMX5_CLK_DUMMY>;
269 gpt: timer@53fa0000 {
270 compatible = "fsl,imx50-gpt", "fsl,imx31-gpt";
271 reg = <0x53fa0000 0x4000>;
273 clocks = <&clks IMX5_CLK_GPT_IPG_GATE>,
274 <&clks IMX5_CLK_GPT_HF_GATE>;
275 clock-names = "ipg", "per";
278 iomuxc: iomuxc@53fa8000 {
279 compatible = "fsl,imx50-iomuxc", "fsl,imx53-iomuxc";
280 reg = <0x53fa8000 0x4000>;
283 gpr: iomuxc-gpr@53fa8000 {
284 compatible = "fsl,imx50-iomuxc-gpr", "syscon";
285 reg = <0x53fa8000 0xc>;
290 compatible = "fsl,imx50-pwm", "fsl,imx27-pwm";
291 reg = <0x53fb4000 0x4000>;
292 clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>,
293 <&clks IMX5_CLK_PWM1_HF_GATE>;
294 clock-names = "ipg", "per";
300 compatible = "fsl,imx50-pwm", "fsl,imx27-pwm";
301 reg = <0x53fb8000 0x4000>;
302 clocks = <&clks IMX5_CLK_PWM2_IPG_GATE>,
303 <&clks IMX5_CLK_PWM2_HF_GATE>;
304 clock-names = "ipg", "per";
308 uart1: serial@53fbc000 {
309 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
310 reg = <0x53fbc000 0x4000>;
312 clocks = <&clks IMX5_CLK_UART1_IPG_GATE>,
313 <&clks IMX5_CLK_UART1_PER_GATE>;
314 clock-names = "ipg", "per";
318 uart2: serial@53fc0000 {
319 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
320 reg = <0x53fc0000 0x4000>;
322 clocks = <&clks IMX5_CLK_UART2_IPG_GATE>,
323 <&clks IMX5_CLK_UART2_PER_GATE>;
324 clock-names = "ipg", "per";
329 compatible = "fsl,imx50-src", "fsl,imx51-src";
330 reg = <0x53fd0000 0x4000>;
335 compatible = "fsl,imx50-ccm";
336 reg = <0x53fd4000 0x4000>;
337 interrupts = <0 71 0x04 0 72 0x04>;
341 gpio5: gpio@53fdc000 {
342 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
343 reg = <0x53fdc000 0x4000>;
344 interrupts = <103 104>;
347 interrupt-controller;
348 #interrupt-cells = <2>;
351 gpio6: gpio@53fe0000 {
352 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
353 reg = <0x53fe0000 0x4000>;
354 interrupts = <105 106>;
357 interrupt-controller;
358 #interrupt-cells = <2>;
362 #address-cells = <1>;
364 compatible = "fsl,imx50-i2c", "fsl,imx21-i2c";
365 reg = <0x53fec000 0x4000>;
367 clocks = <&clks IMX5_CLK_I2C3_GATE>;
371 uart4: serial@53ff0000 {
372 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
373 reg = <0x53ff0000 0x4000>;
375 clocks = <&clks IMX5_CLK_UART4_IPG_GATE>,
376 <&clks IMX5_CLK_UART4_PER_GATE>;
377 clock-names = "ipg", "per";
382 aips@60000000 { /* AIPS2 */
383 compatible = "fsl,aips-bus", "simple-bus";
384 #address-cells = <1>;
386 reg = <0x60000000 0x10000000>;
389 uart5: serial@63f90000 {
390 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
391 reg = <0x63f90000 0x4000>;
393 clocks = <&clks IMX5_CLK_UART5_IPG_GATE>,
394 <&clks IMX5_CLK_UART5_PER_GATE>;
395 clock-names = "ipg", "per";
399 owire: owire@63fa4000 {
400 compatible = "fsl,imx50-owire", "fsl,imx21-owire";
401 reg = <0x63fa4000 0x4000>;
402 clocks = <&clks IMX5_CLK_OWIRE_GATE>;
406 ecspi2: ecspi@63fac000 {
407 #address-cells = <1>;
409 compatible = "fsl,imx50-ecspi", "fsl,imx51-ecspi";
410 reg = <0x63fac000 0x4000>;
412 clocks = <&clks IMX5_CLK_ECSPI2_IPG_GATE>,
413 <&clks IMX5_CLK_ECSPI2_PER_GATE>;
414 clock-names = "ipg", "per";
418 sdma: sdma@63fb0000 {
419 compatible = "fsl,imx50-sdma", "fsl,imx35-sdma";
420 reg = <0x63fb0000 0x4000>;
422 clocks = <&clks IMX5_CLK_SDMA_GATE>,
423 <&clks IMX5_CLK_SDMA_GATE>;
424 clock-names = "ipg", "ahb";
425 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx50.bin";
428 cspi: cspi@63fc0000 {
429 #address-cells = <1>;
431 compatible = "fsl,imx50-cspi", "fsl,imx35-cspi";
432 reg = <0x63fc0000 0x4000>;
434 clocks = <&clks IMX5_CLK_CSPI_IPG_GATE>,
435 <&clks IMX5_CLK_CSPI_IPG_GATE>;
436 clock-names = "ipg", "per";
441 #address-cells = <1>;
443 compatible = "fsl,imx50-i2c", "fsl,imx21-i2c";
444 reg = <0x63fc4000 0x4000>;
446 clocks = <&clks IMX5_CLK_I2C2_GATE>;
451 #address-cells = <1>;
453 compatible = "fsl,imx50-i2c", "fsl,imx21-i2c";
454 reg = <0x63fc8000 0x4000>;
456 clocks = <&clks IMX5_CLK_I2C1_GATE>;
461 #sound-dai-cells = <0>;
462 compatible = "fsl,imx50-ssi", "fsl,imx51-ssi",
464 reg = <0x63fcc000 0x4000>;
466 clocks = <&clks IMX5_CLK_SSI1_IPG_GATE>;
467 dmas = <&sdma 28 0 0>,
469 dma-names = "rx", "tx";
470 fsl,fifo-depth = <15>;
474 audmux: audmux@63fd0000 {
475 compatible = "fsl,imx50-audmux", "fsl,imx31-audmux";
476 reg = <0x63fd0000 0x4000>;
480 fec: ethernet@63fec000 {
481 compatible = "fsl,imx53-fec", "fsl,imx25-fec";
482 reg = <0x63fec000 0x4000>;
484 clocks = <&clks IMX5_CLK_FEC_GATE>,
485 <&clks IMX5_CLK_FEC_GATE>,
486 <&clks IMX5_CLK_FEC_GATE>;
487 clock-names = "ipg", "ahb", "ptp";