1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * MPC5121E ADS Device Tree Source
5 * Copyright 2007-2008 Freescale Semiconductor Inc.
8 #include "mpc5121.dtsi"
12 compatible = "fsl,mpc5121ads", "fsl,mpc5121";
16 * ADS has two Hynix 512MB Nand flash chips in a single
23 reg = <0x00000000 0x40000000>; /* 512MB + 512MB */
28 ranges = <0x0 0x0 0xfc000000 0x04000000
29 0x2 0x0 0x82000000 0x00008000>;
32 compatible = "cfi-flash";
33 reg = <0 0x0 0x4000000>;
41 reg = <0x00000000 0x00040000>; // first sector is protected
46 reg = <0x00040000 0x03c00000>; // 60M for filesystem
50 reg = <0x03c40000 0x00280000>; // 2.5M for kernel
53 label = "device-tree";
54 reg = <0x03ec0000 0x00040000>; // one sector for device tree
58 reg = <0x03f00000 0x00100000>; // 1M for u-boot
64 compatible = "fsl,mpc5121ads-cpld";
65 reg = <0x2 0x0 0x8000>;
69 compatible = "fsl,mpc5121ads-cpld-pic";
71 #interrupt-cells = <2>;
74 * all irqs but touch screen are routed to irq0 (ipic 48)
75 * touch screen is statically routed to irq1 (ipic 17)
76 * so don't use it here
78 interrupts = <48 0x8>;
85 fsl,preserve-clocking;
88 compatible = "adi,ad7414";
93 compatible = "atmel,24c32";
98 compatible = "st,m41t62";
103 eth0: ethernet@2800 {
104 phy-handle = <&phy0>;
120 phy0: ethernet-phy@0 {
125 /* mpc5121ads only uses USB0 */
130 /* USB0 using internal UTMI PHY */
134 fsl,invert-pwr-fault;
137 /* PSC3 serial port A aka ttyPSC0 */
139 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
142 /* PSC4 serial port B aka ttyPSC1 */
144 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
147 /* PSC5 in ac97 mode */
149 compatible = "fsl,mpc5121-psc-ac97", "fsl,mpc5121-psc";
150 fsl,mode = "ac97-slave";
151 fsl,rx-fifo-size = <384>;
152 fsl,tx-fifo-size = <384>;
157 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
159 /* IDSEL 0x15 - Slot 1 PCI */
160 0xa800 0x0 0x0 0x1 &cpld_pic 0x0 0x8
161 0xa800 0x0 0x0 0x2 &cpld_pic 0x1 0x8
162 0xa800 0x0 0x0 0x3 &cpld_pic 0x2 0x8
163 0xa800 0x0 0x0 0x4 &cpld_pic 0x3 0x8
165 /* IDSEL 0x16 - Slot 2 MiniPCI */
166 0xb000 0x0 0x0 0x1 &cpld_pic 0x4 0x8
167 0xb000 0x0 0x0 0x2 &cpld_pic 0x5 0x8
169 /* IDSEL 0x17 - Slot 3 MiniPCI */
170 0xb800 0x0 0x0 0x1 &cpld_pic 0x6 0x8
171 0xb800 0x0 0x0 0x2 &cpld_pic 0x7 0x8