0001 // SPDX-License-Identifier: GPL-2.0+
0002 //
0003 // Copyright 2012 Sascha Hauer, Pengutronix <s.hauer@pengutronix.de>
0004
0005 #include <dt-bindings/gpio/gpio.h>
0006 #include "imx25-pinfunc.h"
0007
0008 / {
0009 #address-cells = <1>;
0010 #size-cells = <1>;
0011 /*
0012 * The decompressor and also some bootloaders rely on a
0013 * pre-existing /chosen node to be available to insert the
0014 * command line and merge other ATAGS info.
0015 */
0016 chosen {};
0017
0018 aliases {
0019 ethernet0 = &fec;
0020 gpio0 = &gpio1;
0021 gpio1 = &gpio2;
0022 gpio2 = &gpio3;
0023 gpio3 = &gpio4;
0024 i2c0 = &i2c1;
0025 i2c1 = &i2c2;
0026 i2c2 = &i2c3;
0027 mmc0 = &esdhc1;
0028 mmc1 = &esdhc2;
0029 pwm0 = &pwm1;
0030 pwm1 = &pwm2;
0031 pwm2 = &pwm3;
0032 pwm3 = &pwm4;
0033 serial0 = &uart1;
0034 serial1 = &uart2;
0035 serial2 = &uart3;
0036 serial3 = &uart4;
0037 serial4 = &uart5;
0038 spi0 = &spi1;
0039 spi1 = &spi2;
0040 spi2 = &spi3;
0041 usb0 = &usbotg;
0042 usb1 = &usbhost1;
0043 };
0044
0045 cpus {
0046 #address-cells = <1>;
0047 #size-cells = <0>;
0048
0049 cpu@0 {
0050 compatible = "arm,arm926ej-s";
0051 device_type = "cpu";
0052 reg = <0>;
0053 };
0054 };
0055
0056 asic: asic-interrupt-controller@68000000 {
0057 compatible = "fsl,imx25-asic", "fsl,avic";
0058 interrupt-controller;
0059 #interrupt-cells = <1>;
0060 reg = <0x68000000 0x8000000>;
0061 };
0062
0063 clocks {
0064 osc {
0065 compatible = "fixed-clock";
0066 #clock-cells = <0>;
0067 clock-frequency = <24000000>;
0068 };
0069 };
0070
0071 soc: soc {
0072 #address-cells = <1>;
0073 #size-cells = <1>;
0074 compatible = "simple-bus";
0075 interrupt-parent = <&asic>;
0076 ranges;
0077
0078 bus@43f00000 { /* AIPS1 */
0079 compatible = "fsl,aips-bus", "simple-bus";
0080 #address-cells = <1>;
0081 #size-cells = <1>;
0082 reg = <0x43f00000 0x100000>;
0083 ranges;
0084
0085 aips1: bridge@43f00000 {
0086 compatible = "fsl,imx25-aips";
0087 reg = <0x43f00000 0x4000>;
0088 };
0089
0090 i2c1: i2c@43f80000 {
0091 #address-cells = <1>;
0092 #size-cells = <0>;
0093 compatible = "fsl,imx25-i2c", "fsl,imx21-i2c";
0094 reg = <0x43f80000 0x4000>;
0095 clocks = <&clks 48>;
0096 clock-names = "";
0097 interrupts = <3>;
0098 status = "disabled";
0099 };
0100
0101 i2c3: i2c@43f84000 {
0102 #address-cells = <1>;
0103 #size-cells = <0>;
0104 compatible = "fsl,imx25-i2c", "fsl,imx21-i2c";
0105 reg = <0x43f84000 0x4000>;
0106 clocks = <&clks 48>;
0107 clock-names = "";
0108 interrupts = <10>;
0109 status = "disabled";
0110 };
0111
0112 can1: can@43f88000 {
0113 compatible = "fsl,imx25-flexcan";
0114 reg = <0x43f88000 0x4000>;
0115 interrupts = <43>;
0116 clocks = <&clks 75>, <&clks 75>;
0117 clock-names = "ipg", "per";
0118 status = "disabled";
0119 };
0120
0121 can2: can@43f8c000 {
0122 compatible = "fsl,imx25-flexcan";
0123 reg = <0x43f8c000 0x4000>;
0124 interrupts = <44>;
0125 clocks = <&clks 76>, <&clks 76>;
0126 clock-names = "ipg", "per";
0127 status = "disabled";
0128 };
0129
0130 uart1: serial@43f90000 {
0131 compatible = "fsl,imx25-uart", "fsl,imx21-uart";
0132 reg = <0x43f90000 0x4000>;
0133 interrupts = <45>;
0134 clocks = <&clks 120>, <&clks 57>;
0135 clock-names = "ipg", "per";
0136 status = "disabled";
0137 };
0138
0139 uart2: serial@43f94000 {
0140 compatible = "fsl,imx25-uart", "fsl,imx21-uart";
0141 reg = <0x43f94000 0x4000>;
0142 interrupts = <32>;
0143 clocks = <&clks 121>, <&clks 57>;
0144 clock-names = "ipg", "per";
0145 status = "disabled";
0146 };
0147
0148 i2c2: i2c@43f98000 {
0149 #address-cells = <1>;
0150 #size-cells = <0>;
0151 compatible = "fsl,imx25-i2c", "fsl,imx21-i2c";
0152 reg = <0x43f98000 0x4000>;
0153 clocks = <&clks 48>;
0154 clock-names = "";
0155 interrupts = <4>;
0156 status = "disabled";
0157 };
0158
0159 owire@43f9c000 {
0160 #address-cells = <1>;
0161 #size-cells = <0>;
0162 reg = <0x43f9c000 0x4000>;
0163 clocks = <&clks 51>;
0164 clock-names = "";
0165 interrupts = <2>;
0166 status = "disabled";
0167 };
0168
0169 spi1: spi@43fa4000 {
0170 #address-cells = <1>;
0171 #size-cells = <0>;
0172 compatible = "fsl,imx25-cspi", "fsl,imx35-cspi";
0173 reg = <0x43fa4000 0x4000>;
0174 clocks = <&clks 78>, <&clks 78>;
0175 clock-names = "ipg", "per";
0176 interrupts = <14>;
0177 status = "disabled";
0178 };
0179
0180 kpp: kpp@43fa8000 {
0181 #address-cells = <1>;
0182 #size-cells = <0>;
0183 compatible = "fsl,imx25-kpp", "fsl,imx21-kpp";
0184 reg = <0x43fa8000 0x4000>;
0185 clocks = <&clks 102>;
0186 clock-names = "";
0187 interrupts = <24>;
0188 status = "disabled";
0189 };
0190
0191 iomuxc: iomuxc@43fac000 {
0192 compatible = "fsl,imx25-iomuxc";
0193 reg = <0x43fac000 0x4000>;
0194 };
0195
0196 audmux: audmux@43fb0000 {
0197 compatible = "fsl,imx25-audmux", "fsl,imx31-audmux";
0198 reg = <0x43fb0000 0x4000>;
0199 status = "disabled";
0200 };
0201 };
0202
0203 spba-bus@50000000 {
0204 compatible = "fsl,spba-bus", "simple-bus";
0205 #address-cells = <1>;
0206 #size-cells = <1>;
0207 reg = <0x50000000 0x40000>;
0208 ranges;
0209
0210 spi3: spi@50004000 {
0211 #address-cells = <1>;
0212 #size-cells = <0>;
0213 compatible = "fsl,imx25-cspi", "fsl,imx35-cspi";
0214 reg = <0x50004000 0x4000>;
0215 interrupts = <0>;
0216 clocks = <&clks 80>, <&clks 80>;
0217 clock-names = "ipg", "per";
0218 status = "disabled";
0219 };
0220
0221 uart4: serial@50008000 {
0222 compatible = "fsl,imx25-uart", "fsl,imx21-uart";
0223 reg = <0x50008000 0x4000>;
0224 interrupts = <5>;
0225 clocks = <&clks 123>, <&clks 57>;
0226 clock-names = "ipg", "per";
0227 status = "disabled";
0228 };
0229
0230 uart3: serial@5000c000 {
0231 compatible = "fsl,imx25-uart", "fsl,imx21-uart";
0232 reg = <0x5000c000 0x4000>;
0233 interrupts = <18>;
0234 clocks = <&clks 122>, <&clks 57>;
0235 clock-names = "ipg", "per";
0236 status = "disabled";
0237 };
0238
0239 spi2: spi@50010000 {
0240 #address-cells = <1>;
0241 #size-cells = <0>;
0242 compatible = "fsl,imx25-cspi", "fsl,imx35-cspi";
0243 reg = <0x50010000 0x4000>;
0244 clocks = <&clks 79>, <&clks 79>;
0245 clock-names = "ipg", "per";
0246 interrupts = <13>;
0247 status = "disabled";
0248 };
0249
0250 ssi2: ssi@50014000 {
0251 #sound-dai-cells = <0>;
0252 compatible = "fsl,imx25-ssi", "fsl,imx21-ssi";
0253 reg = <0x50014000 0x4000>;
0254 interrupts = <11>;
0255 clocks = <&clks 118>;
0256 clock-names = "ipg";
0257 dmas = <&sdma 24 1 0>,
0258 <&sdma 25 1 0>;
0259 dma-names = "rx", "tx";
0260 fsl,fifo-depth = <15>;
0261 status = "disabled";
0262 };
0263
0264 esai@50018000 {
0265 reg = <0x50018000 0x4000>;
0266 interrupts = <7>;
0267 };
0268
0269 uart5: serial@5002c000 {
0270 compatible = "fsl,imx25-uart", "fsl,imx21-uart";
0271 reg = <0x5002c000 0x4000>;
0272 interrupts = <40>;
0273 clocks = <&clks 124>, <&clks 57>;
0274 clock-names = "ipg", "per";
0275 status = "disabled";
0276 };
0277
0278 tscadc: tscadc@50030000 {
0279 compatible = "fsl,imx25-tsadc";
0280 reg = <0x50030000 0xc>;
0281 interrupts = <46>;
0282 clocks = <&clks 119>;
0283 clock-names = "ipg";
0284 interrupt-controller;
0285 #interrupt-cells = <1>;
0286 #address-cells = <1>;
0287 #size-cells = <1>;
0288 status = "disabled";
0289 ranges;
0290
0291 adc: adc@50030800 {
0292 compatible = "fsl,imx25-gcq";
0293 reg = <0x50030800 0x60>;
0294 interrupt-parent = <&tscadc>;
0295 interrupts = <1>;
0296 #address-cells = <1>;
0297 #size-cells = <0>;
0298 status = "disabled";
0299 };
0300
0301 tsc: tcq@50030400 {
0302 compatible = "fsl,imx25-tcq";
0303 reg = <0x50030400 0x60>;
0304 interrupt-parent = <&tscadc>;
0305 interrupts = <0>;
0306 fsl,wires = <4>;
0307 status = "disabled";
0308 };
0309 };
0310
0311 ssi1: ssi@50034000 {
0312 #sound-dai-cells = <0>;
0313 compatible = "fsl,imx25-ssi", "fsl,imx21-ssi";
0314 reg = <0x50034000 0x4000>;
0315 interrupts = <12>;
0316 clocks = <&clks 117>;
0317 clock-names = "ipg";
0318 dmas = <&sdma 28 1 0>,
0319 <&sdma 29 1 0>;
0320 dma-names = "rx", "tx";
0321 fsl,fifo-depth = <15>;
0322 status = "disabled";
0323 };
0324
0325 fec: ethernet@50038000 {
0326 compatible = "fsl,imx25-fec";
0327 reg = <0x50038000 0x4000>;
0328 interrupts = <57>;
0329 clocks = <&clks 88>, <&clks 65>;
0330 clock-names = "ipg", "ahb";
0331 status = "disabled";
0332 };
0333 };
0334
0335 bus@53f00000 { /* AIPS2 */
0336 compatible = "fsl,aips-bus", "simple-bus";
0337 #address-cells = <1>;
0338 #size-cells = <1>;
0339 reg = <0x53f00000 0x100000>;
0340 ranges;
0341
0342 aips2: bridge@53f00000 {
0343 compatible = "fsl,imx25-aips";
0344 reg = <0x53f00000 0x4000>;
0345 };
0346
0347 clks: ccm@53f80000 {
0348 compatible = "fsl,imx25-ccm";
0349 reg = <0x53f80000 0x4000>;
0350 interrupts = <31>;
0351 #clock-cells = <1>;
0352 };
0353
0354 gpt4: timer@53f84000 {
0355 compatible = "fsl,imx25-gpt", "fsl,imx31-gpt";
0356 reg = <0x53f84000 0x4000>;
0357 clocks = <&clks 95>, <&clks 47>;
0358 clock-names = "ipg", "per";
0359 interrupts = <1>;
0360 };
0361
0362 gpt3: timer@53f88000 {
0363 compatible = "fsl,imx25-gpt", "fsl,imx31-gpt";
0364 reg = <0x53f88000 0x4000>;
0365 clocks = <&clks 94>, <&clks 47>;
0366 clock-names = "ipg", "per";
0367 interrupts = <29>;
0368 };
0369
0370 gpt2: timer@53f8c000 {
0371 compatible = "fsl,imx25-gpt", "fsl,imx31-gpt";
0372 reg = <0x53f8c000 0x4000>;
0373 clocks = <&clks 93>, <&clks 47>;
0374 clock-names = "ipg", "per";
0375 interrupts = <53>;
0376 };
0377
0378 gpt1: timer@53f90000 {
0379 compatible = "fsl,imx25-gpt", "fsl,imx31-gpt";
0380 reg = <0x53f90000 0x4000>;
0381 clocks = <&clks 92>, <&clks 47>;
0382 clock-names = "ipg", "per";
0383 interrupts = <54>;
0384 };
0385
0386 epit1: timer@53f94000 {
0387 compatible = "fsl,imx25-epit";
0388 reg = <0x53f94000 0x4000>;
0389 clocks = <&clks 83>, <&clks 43>;
0390 clock-names = "ipg", "per";
0391 interrupts = <28>;
0392 };
0393
0394 epit2: timer@53f98000 {
0395 compatible = "fsl,imx25-epit";
0396 reg = <0x53f98000 0x4000>;
0397 clocks = <&clks 84>, <&clks 43>;
0398 clock-names = "ipg", "per";
0399 interrupts = <27>;
0400 };
0401
0402 gpio4: gpio@53f9c000 {
0403 compatible = "fsl,imx25-gpio", "fsl,imx35-gpio";
0404 reg = <0x53f9c000 0x4000>;
0405 interrupts = <23>;
0406 gpio-controller;
0407 #gpio-cells = <2>;
0408 interrupt-controller;
0409 #interrupt-cells = <2>;
0410 };
0411
0412 pwm2: pwm@53fa0000 {
0413 compatible = "fsl,imx25-pwm", "fsl,imx27-pwm";
0414 #pwm-cells = <3>;
0415 reg = <0x53fa0000 0x4000>;
0416 clocks = <&clks 106>, <&clks 52>;
0417 clock-names = "ipg", "per";
0418 interrupts = <36>;
0419 };
0420
0421 gpio3: gpio@53fa4000 {
0422 compatible = "fsl,imx25-gpio", "fsl,imx35-gpio";
0423 reg = <0x53fa4000 0x4000>;
0424 interrupts = <16>;
0425 gpio-controller;
0426 #gpio-cells = <2>;
0427 interrupt-controller;
0428 #interrupt-cells = <2>;
0429 };
0430
0431 pwm3: pwm@53fa8000 {
0432 compatible = "fsl,imx25-pwm", "fsl,imx27-pwm";
0433 #pwm-cells = <3>;
0434 reg = <0x53fa8000 0x4000>;
0435 clocks = <&clks 107>, <&clks 52>;
0436 clock-names = "ipg", "per";
0437 interrupts = <41>;
0438 };
0439
0440 scc: crypto@53fac000 {
0441 compatible = "fsl,imx25-scc";
0442 reg = <0x53fac000 0x4000>;
0443 clocks = <&clks 111>;
0444 clock-names = "ipg";
0445 interrupts = <49>, <50>;
0446 interrupt-names = "scm", "smn";
0447 };
0448
0449 rngb: rngb@53fb0000 {
0450 compatible = "fsl,imx25-rngb";
0451 reg = <0x53fb0000 0x4000>;
0452 clocks = <&clks 109>;
0453 interrupts = <22>;
0454 };
0455
0456 esdhc1: mmc@53fb4000 {
0457 compatible = "fsl,imx25-esdhc";
0458 reg = <0x53fb4000 0x4000>;
0459 interrupts = <9>;
0460 clocks = <&clks 86>, <&clks 63>, <&clks 45>;
0461 clock-names = "ipg", "ahb", "per";
0462 status = "disabled";
0463 };
0464
0465 esdhc2: mmc@53fb8000 {
0466 compatible = "fsl,imx25-esdhc";
0467 reg = <0x53fb8000 0x4000>;
0468 interrupts = <8>;
0469 clocks = <&clks 87>, <&clks 64>, <&clks 46>;
0470 clock-names = "ipg", "ahb", "per";
0471 status = "disabled";
0472 };
0473
0474 lcdc: lcdc@53fbc000 {
0475 compatible = "fsl,imx25-fb", "fsl,imx21-fb";
0476 reg = <0x53fbc000 0x4000>;
0477 interrupts = <39>;
0478 clocks = <&clks 103>, <&clks 66>, <&clks 49>;
0479 clock-names = "ipg", "ahb", "per";
0480 status = "disabled";
0481 };
0482
0483 slcdc@53fc0000 {
0484 reg = <0x53fc0000 0x4000>;
0485 interrupts = <38>;
0486 status = "disabled";
0487 };
0488
0489 pwm4: pwm@53fc8000 {
0490 compatible = "fsl,imx25-pwm", "fsl,imx27-pwm";
0491 #pwm-cells = <3>;
0492 reg = <0x53fc8000 0x4000>;
0493 clocks = <&clks 108>, <&clks 52>;
0494 clock-names = "ipg", "per";
0495 interrupts = <42>;
0496 };
0497
0498 gpio1: gpio@53fcc000 {
0499 compatible = "fsl,imx25-gpio", "fsl,imx35-gpio";
0500 reg = <0x53fcc000 0x4000>;
0501 interrupts = <52>;
0502 gpio-controller;
0503 #gpio-cells = <2>;
0504 interrupt-controller;
0505 #interrupt-cells = <2>;
0506 };
0507
0508 gpio2: gpio@53fd0000 {
0509 compatible = "fsl,imx25-gpio", "fsl,imx35-gpio";
0510 reg = <0x53fd0000 0x4000>;
0511 interrupts = <51>;
0512 gpio-controller;
0513 #gpio-cells = <2>;
0514 interrupt-controller;
0515 #interrupt-cells = <2>;
0516 };
0517
0518 sdma: sdma@53fd4000 {
0519 compatible = "fsl,imx25-sdma";
0520 reg = <0x53fd4000 0x4000>;
0521 clocks = <&clks 112>, <&clks 68>;
0522 clock-names = "ipg", "ahb";
0523 #dma-cells = <3>;
0524 interrupts = <34>;
0525 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx25.bin";
0526 };
0527
0528 watchdog@53fdc000 {
0529 compatible = "fsl,imx25-wdt", "fsl,imx21-wdt";
0530 reg = <0x53fdc000 0x4000>;
0531 clocks = <&clks 126>;
0532 clock-names = "";
0533 interrupts = <55>;
0534 };
0535
0536 pwm1: pwm@53fe0000 {
0537 compatible = "fsl,imx25-pwm", "fsl,imx27-pwm";
0538 #pwm-cells = <3>;
0539 reg = <0x53fe0000 0x4000>;
0540 clocks = <&clks 105>, <&clks 52>;
0541 clock-names = "ipg", "per";
0542 interrupts = <26>;
0543 };
0544
0545 iim: efuse@53ff0000 {
0546 compatible = "fsl,imx25-iim", "fsl,imx27-iim";
0547 reg = <0x53ff0000 0x4000>;
0548 interrupts = <19>;
0549 clocks = <&clks 99>;
0550 };
0551
0552 usbotg: usb@53ff4000 {
0553 compatible = "fsl,imx25-usb", "fsl,imx27-usb";
0554 reg = <0x53ff4000 0x0200>;
0555 interrupts = <37>;
0556 clocks = <&clks 9>, <&clks 70>, <&clks 8>;
0557 clock-names = "ipg", "ahb", "per";
0558 fsl,usbmisc = <&usbmisc 0>;
0559 fsl,usbphy = <&usbphy0>;
0560 phy_type = "utmi";
0561 dr_mode = "otg";
0562 status = "disabled";
0563 };
0564
0565 usbhost1: usb@53ff4400 {
0566 compatible = "fsl,imx25-usb", "fsl,imx27-usb";
0567 reg = <0x53ff4400 0x0200>;
0568 interrupts = <35>;
0569 clocks = <&clks 9>, <&clks 70>, <&clks 8>;
0570 clock-names = "ipg", "ahb", "per";
0571 fsl,usbmisc = <&usbmisc 1>;
0572 fsl,usbphy = <&usbphy1>;
0573 maximum-speed = "full-speed";
0574 phy_type = "serial";
0575 dr_mode = "host";
0576 status = "disabled";
0577 };
0578
0579 usbmisc: usbmisc@53ff4600 {
0580 #index-cells = <1>;
0581 compatible = "fsl,imx25-usbmisc";
0582 reg = <0x53ff4600 0x00f>;
0583 };
0584
0585 dryice@53ffc000 {
0586 compatible = "fsl,imx25-dryice", "fsl,imx25-rtc";
0587 reg = <0x53ffc000 0x4000>;
0588 clocks = <&clks 81>;
0589 clock-names = "ipg";
0590 interrupts = <25 56>;
0591 };
0592 };
0593
0594 iram: sram@78000000 {
0595 compatible = "mmio-sram";
0596 reg = <0x78000000 0x20000>;
0597 };
0598
0599 emi@80000000 {
0600 compatible = "fsl,emi-bus", "simple-bus";
0601 #address-cells = <1>;
0602 #size-cells = <1>;
0603 reg = <0x80000000 0x3b002000>;
0604 ranges;
0605
0606 nfc: nand@bb000000 {
0607 #address-cells = <1>;
0608 #size-cells = <1>;
0609
0610 compatible = "fsl,imx25-nand";
0611 reg = <0xbb000000 0x2000>;
0612 clocks = <&clks 50>;
0613 clock-names = "";
0614 interrupts = <33>;
0615 status = "disabled";
0616 };
0617 };
0618 };
0619
0620 usbphy {
0621 compatible = "simple-bus";
0622 #address-cells = <1>;
0623 #size-cells = <0>;
0624
0625 usbphy0: usb-phy@0 {
0626 reg = <0>;
0627 compatible = "usb-nop-xceiv";
0628 #phy-cells = <0>;
0629 };
0630
0631 usbphy1: usb-phy@1 {
0632 reg = <1>;
0633 compatible = "usb-nop-xceiv";
0634 #phy-cells = <0>;
0635 };
0636 };
0637 };