1 // SPDX-License-Identifier: GPL-2.0+
3 // Copyright 2013 Greg Ungerer <gerg@uclinux.org>
4 // Copyright 2011 Freescale Semiconductor, Inc.
5 // Copyright 2011 Linaro Ltd.
7 #include "imx50-pinfunc.h"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/clock/imx5-clock.h>
15 * The decompressor and also some bootloaders rely on a
16 * pre-existing /chosen node to be available to insert the
17 * command line and merge other ATAGS info.
51 compatible = "arm,cortex-a8";
56 tzic: tz-interrupt-controller@fffc000 {
57 compatible = "fsl,imx50-tzic", "fsl,imx53-tzic", "fsl,tzic";
59 #interrupt-cells = <1>;
60 reg = <0x0fffc000 0x4000>;
65 compatible = "fsl,imx-ckil", "fixed-clock";
67 clock-frequency = <32768>;
71 compatible = "fsl,imx-ckih1", "fixed-clock";
73 clock-frequency = <22579200>;
77 compatible = "fsl,imx-ckih2", "fixed-clock";
79 clock-frequency = <0>;
83 compatible = "fsl,imx-osc", "fixed-clock";
85 clock-frequency = <24000000>;
90 compatible = "usb-nop-xceiv";
91 clocks = <&clks IMX5_CLK_USB_PHY1_GATE>;
92 clock-names = "main_clk";
100 compatible = "simple-bus";
101 interrupt-parent = <&tzic>;
104 aips@50000000 { /* AIPS1 */
105 compatible = "fsl,aips-bus", "simple-bus";
106 #address-cells = <1>;
108 reg = <0x50000000 0x10000000>;
112 compatible = "fsl,spba-bus", "simple-bus";
113 #address-cells = <1>;
115 reg = <0x50000000 0x40000>;
118 esdhc1: esdhc@50004000 {
119 compatible = "fsl,imx50-esdhc", "fsl,imx53-esdhc";
120 reg = <0x50004000 0x4000>;
122 clocks = <&clks IMX5_CLK_ESDHC1_IPG_GATE>,
123 <&clks IMX5_CLK_DUMMY>,
124 <&clks IMX5_CLK_ESDHC1_PER_GATE>;
125 clock-names = "ipg", "ahb", "per";
130 esdhc2: esdhc@50008000 {
131 compatible = "fsl,imx50-esdhc", "fsl,imx53-esdhc";
132 reg = <0x50008000 0x4000>;
134 clocks = <&clks IMX5_CLK_ESDHC2_IPG_GATE>,
135 <&clks IMX5_CLK_DUMMY>,
136 <&clks IMX5_CLK_ESDHC2_PER_GATE>;
137 clock-names = "ipg", "ahb", "per";
142 uart3: serial@5000c000 {
143 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
144 reg = <0x5000c000 0x4000>;
146 clocks = <&clks IMX5_CLK_UART3_IPG_GATE>,
147 <&clks IMX5_CLK_UART3_PER_GATE>;
148 clock-names = "ipg", "per";
152 ecspi1: spi@50010000 {
153 #address-cells = <1>;
155 compatible = "fsl,imx50-ecspi", "fsl,imx51-ecspi";
156 reg = <0x50010000 0x4000>;
158 clocks = <&clks IMX5_CLK_ECSPI1_IPG_GATE>,
159 <&clks IMX5_CLK_ECSPI1_PER_GATE>;
160 clock-names = "ipg", "per";
165 #sound-dai-cells = <0>;
166 compatible = "fsl,imx50-ssi",
169 reg = <0x50014000 0x4000>;
171 clocks = <&clks IMX5_CLK_SSI2_IPG_GATE>;
172 dmas = <&sdma 24 1 0>,
174 dma-names = "rx", "tx";
175 fsl,fifo-depth = <15>;
179 esdhc3: esdhc@50020000 {
180 compatible = "fsl,imx50-esdhc", "fsl,imx53-esdhc";
181 reg = <0x50020000 0x4000>;
183 clocks = <&clks IMX5_CLK_ESDHC3_IPG_GATE>,
184 <&clks IMX5_CLK_DUMMY>,
185 <&clks IMX5_CLK_ESDHC3_PER_GATE>;
186 clock-names = "ipg", "ahb", "per";
191 esdhc4: esdhc@50024000 {
192 compatible = "fsl,imx50-esdhc", "fsl,imx53-esdhc";
193 reg = <0x50024000 0x4000>;
195 clocks = <&clks IMX5_CLK_ESDHC4_IPG_GATE>,
196 <&clks IMX5_CLK_DUMMY>,
197 <&clks IMX5_CLK_ESDHC4_PER_GATE>;
198 clock-names = "ipg", "ahb", "per";
204 usbotg: usb@53f80000 {
205 compatible = "fsl,imx50-usb", "fsl,imx27-usb";
206 reg = <0x53f80000 0x0200>;
208 clocks = <&clks IMX5_CLK_USBOH3_GATE>;
209 fsl,usbphy = <&usbphy0>;
213 usbh1: usb@53f80200 {
214 compatible = "fsl,imx50-usb", "fsl,imx27-usb";
215 reg = <0x53f80200 0x0200>;
217 clocks = <&clks IMX5_CLK_USB_PHY2_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>;
230 gpio-ranges = <&iomuxc 0 151 28>;
233 gpio2: gpio@53f88000 {
234 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
235 reg = <0x53f88000 0x4000>;
236 interrupts = <52 53>;
239 interrupt-controller;
240 #interrupt-cells = <2>;
241 gpio-ranges = <&iomuxc 0 75 8>, <&iomuxc 8 100 8>,
242 <&iomuxc 16 83 1>, <&iomuxc 17 85 1>,
243 <&iomuxc 18 87 1>, <&iomuxc 19 84 1>,
244 <&iomuxc 20 88 1>, <&iomuxc 21 86 1>;
247 gpio3: gpio@53f8c000 {
248 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
249 reg = <0x53f8c000 0x4000>;
250 interrupts = <54 55>;
253 interrupt-controller;
254 #interrupt-cells = <2>;
255 gpio-ranges = <&iomuxc 0 108 32>;
258 gpio4: gpio@53f90000 {
259 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
260 reg = <0x53f90000 0x4000>;
261 interrupts = <56 57>;
264 interrupt-controller;
265 #interrupt-cells = <2>;
266 gpio-ranges = <&iomuxc 0 8 8>, <&iomuxc 8 45 12>,
270 wdog1: wdog@53f98000 {
271 compatible = "fsl,imx50-wdt", "fsl,imx21-wdt";
272 reg = <0x53f98000 0x4000>;
274 clocks = <&clks IMX5_CLK_DUMMY>;
277 gpt: timer@53fa0000 {
278 compatible = "fsl,imx50-gpt", "fsl,imx31-gpt";
279 reg = <0x53fa0000 0x4000>;
281 clocks = <&clks IMX5_CLK_GPT_IPG_GATE>,
282 <&clks IMX5_CLK_GPT_HF_GATE>;
283 clock-names = "ipg", "per";
286 iomuxc: iomuxc@53fa8000 {
287 compatible = "fsl,imx50-iomuxc", "fsl,imx53-iomuxc";
288 reg = <0x53fa8000 0x4000>;
291 gpr: iomuxc-gpr@53fa8000 {
292 compatible = "fsl,imx50-iomuxc-gpr", "syscon";
293 reg = <0x53fa8000 0xc>;
298 compatible = "fsl,imx50-pwm", "fsl,imx27-pwm";
299 reg = <0x53fb4000 0x4000>;
300 clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>,
301 <&clks IMX5_CLK_PWM1_HF_GATE>;
302 clock-names = "ipg", "per";
308 compatible = "fsl,imx50-pwm", "fsl,imx27-pwm";
309 reg = <0x53fb8000 0x4000>;
310 clocks = <&clks IMX5_CLK_PWM2_IPG_GATE>,
311 <&clks IMX5_CLK_PWM2_HF_GATE>;
312 clock-names = "ipg", "per";
316 uart1: serial@53fbc000 {
317 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
318 reg = <0x53fbc000 0x4000>;
320 clocks = <&clks IMX5_CLK_UART1_IPG_GATE>,
321 <&clks IMX5_CLK_UART1_PER_GATE>;
322 clock-names = "ipg", "per";
326 uart2: serial@53fc0000 {
327 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
328 reg = <0x53fc0000 0x4000>;
330 clocks = <&clks IMX5_CLK_UART2_IPG_GATE>,
331 <&clks IMX5_CLK_UART2_PER_GATE>;
332 clock-names = "ipg", "per";
337 compatible = "fsl,imx50-src", "fsl,imx51-src";
338 reg = <0x53fd0000 0x4000>;
343 compatible = "fsl,imx50-ccm";
344 reg = <0x53fd4000 0x4000>;
345 interrupts = <0 71 0x04 0 72 0x04>;
349 gpio5: gpio@53fdc000 {
350 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
351 reg = <0x53fdc000 0x4000>;
352 interrupts = <103 104>;
355 interrupt-controller;
356 #interrupt-cells = <2>;
357 gpio-ranges = <&iomuxc 0 57 18>, <&iomuxc 18 89 11>;
360 gpio6: gpio@53fe0000 {
361 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
362 reg = <0x53fe0000 0x4000>;
363 interrupts = <105 106>;
366 interrupt-controller;
367 #interrupt-cells = <2>;
368 gpio-ranges = <&iomuxc 0 27 18>, <&iomuxc 18 16 11>;
372 #address-cells = <1>;
374 compatible = "fsl,imx50-i2c", "fsl,imx21-i2c";
375 reg = <0x53fec000 0x4000>;
377 clocks = <&clks IMX5_CLK_I2C3_GATE>;
381 uart4: serial@53ff0000 {
382 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
383 reg = <0x53ff0000 0x4000>;
385 clocks = <&clks IMX5_CLK_UART4_IPG_GATE>,
386 <&clks IMX5_CLK_UART4_PER_GATE>;
387 clock-names = "ipg", "per";
392 aips@60000000 { /* AIPS2 */
393 compatible = "fsl,aips-bus", "simple-bus";
394 #address-cells = <1>;
396 reg = <0x60000000 0x10000000>;
399 uart5: serial@63f90000 {
400 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
401 reg = <0x63f90000 0x4000>;
403 clocks = <&clks IMX5_CLK_UART5_IPG_GATE>,
404 <&clks IMX5_CLK_UART5_PER_GATE>;
405 clock-names = "ipg", "per";
409 owire: owire@63fa4000 {
410 compatible = "fsl,imx50-owire", "fsl,imx21-owire";
411 reg = <0x63fa4000 0x4000>;
412 clocks = <&clks IMX5_CLK_OWIRE_GATE>;
416 ecspi2: spi@63fac000 {
417 #address-cells = <1>;
419 compatible = "fsl,imx50-ecspi", "fsl,imx51-ecspi";
420 reg = <0x63fac000 0x4000>;
422 clocks = <&clks IMX5_CLK_ECSPI2_IPG_GATE>,
423 <&clks IMX5_CLK_ECSPI2_PER_GATE>;
424 clock-names = "ipg", "per";
428 sdma: sdma@63fb0000 {
429 compatible = "fsl,imx50-sdma", "fsl,imx35-sdma";
430 reg = <0x63fb0000 0x4000>;
432 clocks = <&clks IMX5_CLK_SDMA_GATE>,
433 <&clks IMX5_CLK_AHB>;
434 clock-names = "ipg", "ahb";
436 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx50.bin";
440 #address-cells = <1>;
442 compatible = "fsl,imx50-cspi", "fsl,imx35-cspi";
443 reg = <0x63fc0000 0x4000>;
445 clocks = <&clks IMX5_CLK_CSPI_IPG_GATE>,
446 <&clks IMX5_CLK_CSPI_IPG_GATE>;
447 clock-names = "ipg", "per";
452 #address-cells = <1>;
454 compatible = "fsl,imx50-i2c", "fsl,imx21-i2c";
455 reg = <0x63fc4000 0x4000>;
457 clocks = <&clks IMX5_CLK_I2C2_GATE>;
462 #address-cells = <1>;
464 compatible = "fsl,imx50-i2c", "fsl,imx21-i2c";
465 reg = <0x63fc8000 0x4000>;
467 clocks = <&clks IMX5_CLK_I2C1_GATE>;
472 #sound-dai-cells = <0>;
473 compatible = "fsl,imx50-ssi", "fsl,imx51-ssi",
475 reg = <0x63fcc000 0x4000>;
477 clocks = <&clks IMX5_CLK_SSI1_IPG_GATE>;
478 dmas = <&sdma 28 0 0>,
480 dma-names = "rx", "tx";
481 fsl,fifo-depth = <15>;
485 audmux: audmux@63fd0000 {
486 compatible = "fsl,imx50-audmux", "fsl,imx31-audmux";
487 reg = <0x63fd0000 0x4000>;
491 fec: ethernet@63fec000 {
492 compatible = "fsl,imx53-fec", "fsl,imx25-fec";
493 reg = <0x63fec000 0x4000>;
495 clocks = <&clks IMX5_CLK_FEC_GATE>,
496 <&clks IMX5_CLK_FEC_GATE>,
497 <&clks IMX5_CLK_FEC_GATE>;
498 clock-names = "ipg", "ahb", "ptp";