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.
48 compatible = "arm,cortex-a8";
53 tzic: tz-interrupt-controller@fffc000 {
54 compatible = "fsl,imx50-tzic", "fsl,imx53-tzic", "fsl,tzic";
56 #interrupt-cells = <1>;
57 reg = <0x0fffc000 0x4000>;
62 compatible = "fsl,imx-ckil", "fixed-clock";
64 clock-frequency = <32768>;
68 compatible = "fsl,imx-ckih1", "fixed-clock";
70 clock-frequency = <22579200>;
74 compatible = "fsl,imx-ckih2", "fixed-clock";
76 clock-frequency = <0>;
80 compatible = "fsl,imx-osc", "fixed-clock";
82 clock-frequency = <24000000>;
89 compatible = "simple-bus";
90 interrupt-parent = <&tzic>;
93 aips@50000000 { /* AIPS1 */
94 compatible = "fsl,aips-bus", "simple-bus";
97 reg = <0x50000000 0x10000000>;
101 compatible = "fsl,spba-bus", "simple-bus";
102 #address-cells = <1>;
104 reg = <0x50000000 0x40000>;
107 esdhc1: esdhc@50004000 {
108 compatible = "fsl,imx50-esdhc", "fsl,imx53-esdhc";
109 reg = <0x50004000 0x4000>;
111 clocks = <&clks IMX5_CLK_ESDHC1_IPG_GATE>,
112 <&clks IMX5_CLK_DUMMY>,
113 <&clks IMX5_CLK_ESDHC1_PER_GATE>;
114 clock-names = "ipg", "ahb", "per";
119 esdhc2: esdhc@50008000 {
120 compatible = "fsl,imx50-esdhc", "fsl,imx53-esdhc";
121 reg = <0x50008000 0x4000>;
123 clocks = <&clks IMX5_CLK_ESDHC2_IPG_GATE>,
124 <&clks IMX5_CLK_DUMMY>,
125 <&clks IMX5_CLK_ESDHC2_PER_GATE>;
126 clock-names = "ipg", "ahb", "per";
131 uart3: serial@5000c000 {
132 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
133 reg = <0x5000c000 0x4000>;
135 clocks = <&clks IMX5_CLK_UART3_IPG_GATE>,
136 <&clks IMX5_CLK_UART3_PER_GATE>;
137 clock-names = "ipg", "per";
141 ecspi1: ecspi@50010000 {
142 #address-cells = <1>;
144 compatible = "fsl,imx50-ecspi", "fsl,imx51-ecspi";
145 reg = <0x50010000 0x4000>;
147 clocks = <&clks IMX5_CLK_ECSPI1_IPG_GATE>,
148 <&clks IMX5_CLK_ECSPI1_PER_GATE>;
149 clock-names = "ipg", "per";
154 #sound-dai-cells = <0>;
155 compatible = "fsl,imx50-ssi",
158 reg = <0x50014000 0x4000>;
160 clocks = <&clks IMX5_CLK_SSI2_IPG_GATE>;
161 dmas = <&sdma 24 1 0>,
163 dma-names = "rx", "tx";
164 fsl,fifo-depth = <15>;
168 esdhc3: esdhc@50020000 {
169 compatible = "fsl,imx50-esdhc", "fsl,imx53-esdhc";
170 reg = <0x50020000 0x4000>;
172 clocks = <&clks IMX5_CLK_ESDHC3_IPG_GATE>,
173 <&clks IMX5_CLK_DUMMY>,
174 <&clks IMX5_CLK_ESDHC3_PER_GATE>;
175 clock-names = "ipg", "ahb", "per";
180 esdhc4: esdhc@50024000 {
181 compatible = "fsl,imx50-esdhc", "fsl,imx53-esdhc";
182 reg = <0x50024000 0x4000>;
184 clocks = <&clks IMX5_CLK_ESDHC4_IPG_GATE>,
185 <&clks IMX5_CLK_DUMMY>,
186 <&clks IMX5_CLK_ESDHC4_PER_GATE>;
187 clock-names = "ipg", "ahb", "per";
193 usbotg: usb@53f80000 {
194 compatible = "fsl,imx50-usb", "fsl,imx27-usb";
195 reg = <0x53f80000 0x0200>;
197 clocks = <&clks IMX5_CLK_USB_PHY1_GATE>;
201 usbh1: usb@53f80200 {
202 compatible = "fsl,imx50-usb", "fsl,imx27-usb";
203 reg = <0x53f80200 0x0200>;
205 clocks = <&clks IMX5_CLK_USB_PHY2_GATE>;
210 gpio1: gpio@53f84000 {
211 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
212 reg = <0x53f84000 0x4000>;
213 interrupts = <50 51>;
216 interrupt-controller;
217 #interrupt-cells = <2>;
218 gpio-ranges = <&iomuxc 0 151 28>;
221 gpio2: gpio@53f88000 {
222 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
223 reg = <0x53f88000 0x4000>;
224 interrupts = <52 53>;
227 interrupt-controller;
228 #interrupt-cells = <2>;
229 gpio-ranges = <&iomuxc 0 75 8>, <&iomuxc 8 100 8>,
230 <&iomuxc 16 83 1>, <&iomuxc 17 85 1>,
231 <&iomuxc 18 87 1>, <&iomuxc 19 84 1>,
232 <&iomuxc 20 88 1>, <&iomuxc 21 86 1>;
235 gpio3: gpio@53f8c000 {
236 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
237 reg = <0x53f8c000 0x4000>;
238 interrupts = <54 55>;
241 interrupt-controller;
242 #interrupt-cells = <2>;
243 gpio-ranges = <&iomuxc 0 108 32>;
246 gpio4: gpio@53f90000 {
247 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
248 reg = <0x53f90000 0x4000>;
249 interrupts = <56 57>;
252 interrupt-controller;
253 #interrupt-cells = <2>;
254 gpio-ranges = <&iomuxc 0 8 8>, <&iomuxc 8 45 12>,
258 wdog1: wdog@53f98000 {
259 compatible = "fsl,imx50-wdt", "fsl,imx21-wdt";
260 reg = <0x53f98000 0x4000>;
262 clocks = <&clks IMX5_CLK_DUMMY>;
265 gpt: timer@53fa0000 {
266 compatible = "fsl,imx50-gpt", "fsl,imx31-gpt";
267 reg = <0x53fa0000 0x4000>;
269 clocks = <&clks IMX5_CLK_GPT_IPG_GATE>,
270 <&clks IMX5_CLK_GPT_HF_GATE>;
271 clock-names = "ipg", "per";
274 iomuxc: iomuxc@53fa8000 {
275 compatible = "fsl,imx50-iomuxc", "fsl,imx53-iomuxc";
276 reg = <0x53fa8000 0x4000>;
279 gpr: iomuxc-gpr@53fa8000 {
280 compatible = "fsl,imx50-iomuxc-gpr", "syscon";
281 reg = <0x53fa8000 0xc>;
286 compatible = "fsl,imx50-pwm", "fsl,imx27-pwm";
287 reg = <0x53fb4000 0x4000>;
288 clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>,
289 <&clks IMX5_CLK_PWM1_HF_GATE>;
290 clock-names = "ipg", "per";
296 compatible = "fsl,imx50-pwm", "fsl,imx27-pwm";
297 reg = <0x53fb8000 0x4000>;
298 clocks = <&clks IMX5_CLK_PWM2_IPG_GATE>,
299 <&clks IMX5_CLK_PWM2_HF_GATE>;
300 clock-names = "ipg", "per";
304 uart1: serial@53fbc000 {
305 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
306 reg = <0x53fbc000 0x4000>;
308 clocks = <&clks IMX5_CLK_UART1_IPG_GATE>,
309 <&clks IMX5_CLK_UART1_PER_GATE>;
310 clock-names = "ipg", "per";
314 uart2: serial@53fc0000 {
315 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
316 reg = <0x53fc0000 0x4000>;
318 clocks = <&clks IMX5_CLK_UART2_IPG_GATE>,
319 <&clks IMX5_CLK_UART2_PER_GATE>;
320 clock-names = "ipg", "per";
325 compatible = "fsl,imx50-src", "fsl,imx51-src";
326 reg = <0x53fd0000 0x4000>;
331 compatible = "fsl,imx50-ccm";
332 reg = <0x53fd4000 0x4000>;
333 interrupts = <0 71 0x04 0 72 0x04>;
337 gpio5: gpio@53fdc000 {
338 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
339 reg = <0x53fdc000 0x4000>;
340 interrupts = <103 104>;
343 interrupt-controller;
344 #interrupt-cells = <2>;
345 gpio-ranges = <&iomuxc 0 57 18>, <&iomuxc 18 89 11>;
348 gpio6: gpio@53fe0000 {
349 compatible = "fsl,imx50-gpio", "fsl,imx35-gpio";
350 reg = <0x53fe0000 0x4000>;
351 interrupts = <105 106>;
354 interrupt-controller;
355 #interrupt-cells = <2>;
356 gpio-ranges = <&iomuxc 0 27 18>, <&iomuxc 18 16 11>;
360 #address-cells = <1>;
362 compatible = "fsl,imx50-i2c", "fsl,imx21-i2c";
363 reg = <0x53fec000 0x4000>;
365 clocks = <&clks IMX5_CLK_I2C3_GATE>;
369 uart4: serial@53ff0000 {
370 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
371 reg = <0x53ff0000 0x4000>;
373 clocks = <&clks IMX5_CLK_UART4_IPG_GATE>,
374 <&clks IMX5_CLK_UART4_PER_GATE>;
375 clock-names = "ipg", "per";
380 aips@60000000 { /* AIPS2 */
381 compatible = "fsl,aips-bus", "simple-bus";
382 #address-cells = <1>;
384 reg = <0x60000000 0x10000000>;
387 uart5: serial@63f90000 {
388 compatible = "fsl,imx50-uart", "fsl,imx21-uart";
389 reg = <0x63f90000 0x4000>;
391 clocks = <&clks IMX5_CLK_UART5_IPG_GATE>,
392 <&clks IMX5_CLK_UART5_PER_GATE>;
393 clock-names = "ipg", "per";
397 owire: owire@63fa4000 {
398 compatible = "fsl,imx50-owire", "fsl,imx21-owire";
399 reg = <0x63fa4000 0x4000>;
400 clocks = <&clks IMX5_CLK_OWIRE_GATE>;
404 ecspi2: ecspi@63fac000 {
405 #address-cells = <1>;
407 compatible = "fsl,imx50-ecspi", "fsl,imx51-ecspi";
408 reg = <0x63fac000 0x4000>;
410 clocks = <&clks IMX5_CLK_ECSPI2_IPG_GATE>,
411 <&clks IMX5_CLK_ECSPI2_PER_GATE>;
412 clock-names = "ipg", "per";
416 sdma: sdma@63fb0000 {
417 compatible = "fsl,imx50-sdma", "fsl,imx35-sdma";
418 reg = <0x63fb0000 0x4000>;
420 clocks = <&clks IMX5_CLK_SDMA_GATE>,
421 <&clks IMX5_CLK_AHB>;
422 clock-names = "ipg", "ahb";
424 fsl,sdma-ram-script-name = "/*(DEBLOBBED)*/";
427 cspi: cspi@63fc0000 {
428 #address-cells = <1>;
430 compatible = "fsl,imx50-cspi", "fsl,imx35-cspi";
431 reg = <0x63fc0000 0x4000>;
433 clocks = <&clks IMX5_CLK_CSPI_IPG_GATE>,
434 <&clks IMX5_CLK_CSPI_IPG_GATE>;
435 clock-names = "ipg", "per";
440 #address-cells = <1>;
442 compatible = "fsl,imx50-i2c", "fsl,imx21-i2c";
443 reg = <0x63fc4000 0x4000>;
445 clocks = <&clks IMX5_CLK_I2C2_GATE>;
450 #address-cells = <1>;
452 compatible = "fsl,imx50-i2c", "fsl,imx21-i2c";
453 reg = <0x63fc8000 0x4000>;
455 clocks = <&clks IMX5_CLK_I2C1_GATE>;
460 #sound-dai-cells = <0>;
461 compatible = "fsl,imx50-ssi", "fsl,imx51-ssi",
463 reg = <0x63fcc000 0x4000>;
465 clocks = <&clks IMX5_CLK_SSI1_IPG_GATE>;
466 dmas = <&sdma 28 0 0>,
468 dma-names = "rx", "tx";
469 fsl,fifo-depth = <15>;
473 audmux: audmux@63fd0000 {
474 compatible = "fsl,imx50-audmux", "fsl,imx31-audmux";
475 reg = <0x63fd0000 0x4000>;
479 fec: ethernet@63fec000 {
480 compatible = "fsl,imx53-fec", "fsl,imx25-fec";
481 reg = <0x63fec000 0x4000>;
483 clocks = <&clks IMX5_CLK_FEC_GATE>,
484 <&clks IMX5_CLK_FEC_GATE>,
485 <&clks IMX5_CLK_FEC_GATE>;
486 clock-names = "ipg", "ahb", "ptp";