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 bus@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: mmc@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: mmc@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: mmc@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: mmc@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: watchdog@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>;
293 compatible = "fsl,imx50-pwm", "fsl,imx27-pwm";
294 reg = <0x53fb4000 0x4000>;
295 clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>,
296 <&clks IMX5_CLK_PWM1_HF_GATE>;
297 clock-names = "ipg", "per";
303 compatible = "fsl,imx50-pwm", "fsl,imx27-pwm";
304 reg = <0x53fb8000 0x4000>;
305 clocks = <&clks IMX5_CLK_PWM2_IPG_GATE>,
306 <&clks IMX5_CLK_PWM2_HF_GATE>;
307 clock-names = "ipg", "per";
311 uart1: serial@53fbc000 {
312 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
313 reg = <0x53fbc000 0x4000>;
315 clocks = <&clks IMX5_CLK_UART1_IPG_GATE>,
316 <&clks IMX5_CLK_UART1_PER_GATE>;
317 clock-names = "ipg", "per";
321 uart2: serial@53fc0000 {
322 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
323 reg = <0x53fc0000 0x4000>;
325 clocks = <&clks IMX5_CLK_UART2_IPG_GATE>,
326 <&clks IMX5_CLK_UART2_PER_GATE>;
327 clock-names = "ipg", "per";
331 src: reset-controller@53fd0000 {
332 compatible = "fsl,imx50-src", "fsl,imx51-src";
333 reg = <0x53fd0000 0x4000>;
339 compatible = "fsl,imx50-ccm";
340 reg = <0x53fd4000 0x4000>;
341 interrupts = <0 71 0x04 0 72 0x04>;
345 gpio5: gpio@53fdc000 {
346 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
347 reg = <0x53fdc000 0x4000>;
348 interrupts = <103 104>;
351 interrupt-controller;
352 #interrupt-cells = <2>;
353 gpio-ranges = <&iomuxc 0 57 18>, <&iomuxc 18 89 11>;
356 gpio6: gpio@53fe0000 {
357 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
358 reg = <0x53fe0000 0x4000>;
359 interrupts = <105 106>;
362 interrupt-controller;
363 #interrupt-cells = <2>;
364 gpio-ranges = <&iomuxc 0 27 18>, <&iomuxc 18 16 11>;
368 #address-cells = <1>;
370 compatible = "fsl,imx50-i2c", "fsl,imx21-i2c";
371 reg = <0x53fec000 0x4000>;
373 clocks = <&clks IMX5_CLK_I2C3_GATE>;
377 uart4: serial@53ff0000 {
378 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
379 reg = <0x53ff0000 0x4000>;
381 clocks = <&clks IMX5_CLK_UART4_IPG_GATE>,
382 <&clks IMX5_CLK_UART4_PER_GATE>;
383 clock-names = "ipg", "per";
388 bus@60000000 { /* AIPS2 */
389 compatible = "fsl,aips-bus", "simple-bus";
390 #address-cells = <1>;
392 reg = <0x60000000 0x10000000>;
395 uart5: serial@63f90000 {
396 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
397 reg = <0x63f90000 0x4000>;
399 clocks = <&clks IMX5_CLK_UART5_IPG_GATE>,
400 <&clks IMX5_CLK_UART5_PER_GATE>;
401 clock-names = "ipg", "per";
405 owire: owire@63fa4000 {
406 compatible = "fsl,imx50-owire", "fsl,imx21-owire";
407 reg = <0x63fa4000 0x4000>;
408 clocks = <&clks IMX5_CLK_OWIRE_GATE>;
412 ecspi2: spi@63fac000 {
413 #address-cells = <1>;
415 compatible = "fsl,imx50-ecspi", "fsl,imx51-ecspi";
416 reg = <0x63fac000 0x4000>;
418 clocks = <&clks IMX5_CLK_ECSPI2_IPG_GATE>,
419 <&clks IMX5_CLK_ECSPI2_PER_GATE>;
420 clock-names = "ipg", "per";
424 sdma: sdma@63fb0000 {
425 compatible = "fsl,imx50-sdma", "fsl,imx35-sdma";
426 reg = <0x63fb0000 0x4000>;
428 clocks = <&clks IMX5_CLK_SDMA_GATE>,
429 <&clks IMX5_CLK_AHB>;
430 clock-names = "ipg", "ahb";
432 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx50.bin";
436 #address-cells = <1>;
438 compatible = "fsl,imx50-cspi", "fsl,imx35-cspi";
439 reg = <0x63fc0000 0x4000>;
441 clocks = <&clks IMX5_CLK_CSPI_IPG_GATE>,
442 <&clks IMX5_CLK_CSPI_IPG_GATE>;
443 clock-names = "ipg", "per";
448 #address-cells = <1>;
450 compatible = "fsl,imx50-i2c", "fsl,imx21-i2c";
451 reg = <0x63fc4000 0x4000>;
453 clocks = <&clks IMX5_CLK_I2C2_GATE>;
458 #address-cells = <1>;
460 compatible = "fsl,imx50-i2c", "fsl,imx21-i2c";
461 reg = <0x63fc8000 0x4000>;
463 clocks = <&clks IMX5_CLK_I2C1_GATE>;
468 #sound-dai-cells = <0>;
469 compatible = "fsl,imx50-ssi", "fsl,imx51-ssi",
471 reg = <0x63fcc000 0x4000>;
473 clocks = <&clks IMX5_CLK_SSI1_IPG_GATE>;
474 dmas = <&sdma 28 0 0>,
476 dma-names = "rx", "tx";
477 fsl,fifo-depth = <15>;
481 audmux: audmux@63fd0000 {
482 compatible = "fsl,imx50-audmux", "fsl,imx31-audmux";
483 reg = <0x63fd0000 0x4000>;
487 fec: ethernet@63fec000 {
488 compatible = "fsl,imx53-fec", "fsl,imx25-fec";
489 reg = <0x63fec000 0x4000>;
491 clocks = <&clks IMX5_CLK_FEC_GATE>,
492 <&clks IMX5_CLK_FEC_GATE>,
493 <&clks IMX5_CLK_FEC_GATE>;
494 clock-names = "ipg", "ahb", "ptp";