1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * P1021 MDS Device Tree Source
5 * Copyright 2010,2012 Freescale Semiconductor Inc.
8 /include/ "p1021si-pre.dtsi"
11 compatible = "fsl,P1021MDS";
19 device_type = "memory";
22 lbc: localbus@ffe05000 {
23 reg = <0x0 0xffe05000 0x0 0x1000>;
25 /* NAND Flash, BCSR, PMC0/1*/
26 ranges = <0x0 0x0 0x0 0xfc000000 0x02000000
27 0x1 0x0 0x0 0xf8000000 0x00008000
28 0x2 0x0 0x0 0xf8010000 0x00020000
29 0x3 0x0 0x0 0xf8020000 0x00020000>;
34 compatible = "fsl,p1021-fcm-nand",
36 reg = <0x0 0x0 0x40000>;
39 /* This location must not be altered */
40 /* 1MB for u-boot Bootloader Image */
41 reg = <0x0 0x00100000>;
42 label = "NAND (RO) U-Boot Image";
47 /* 1MB for DTB Image */
48 reg = <0x00100000 0x00100000>;
49 label = "NAND (RO) DTB Image";
54 /* 4MB for Linux Kernel Image */
55 reg = <0x00200000 0x00400000>;
56 label = "NAND (RO) Linux Kernel Image";
61 /* 5MB for Compressed Root file System Image */
62 reg = <0x00600000 0x00500000>;
63 label = "NAND (RO) Compressed RFS Image";
68 /* 6MB for JFFS2 based Root file System */
69 reg = <0x00a00000 0x00600000>;
70 label = "NAND (RW) JFFS2 Root File System";
74 /* 14MB for JFFS2 based Root file System */
75 reg = <0x01100000 0x00e00000>;
76 label = "NAND (RW) Writable User area";
80 /* 1MB for microcode */
81 reg = <0x01f00000 0x00100000>;
82 label = "NAND (RO) QE Ucode";
90 compatible = "fsl,p1021mds-bcsr";
92 ranges = <0 1 0 0x8000>;
96 compatible = "fsl,p1021mds-pib";
101 compatible = "fsl,p1021mds-pib";
107 compatible = "fsl,p1021-immr", "simple-bus";
108 ranges = <0x0 0x0 0xffe00000 0x100000>;
112 compatible = "dallas,ds1374";
120 #address-cells = <1>;
122 compatible = "spansion,s25sl12801", "jedec,spi-nor";
124 spi-max-frequency = <40000000>; /* input clock */
127 label = "u-boot-spi";
128 reg = <0x00000000 0x00100000>;
132 label = "kernel-spi";
133 reg = <0x00100000 0x00500000>;
138 reg = <0x00600000 0x00100000>;
142 label = "file system-spi";
143 reg = <0x00700000 0x00900000>;
154 phy0: ethernet-phy@0 {
155 interrupts = <1 1 0 0>;
158 phy1: ethernet-phy@1 {
159 interrupts = <2 1 0 0>;
162 phy4: ethernet-phy@4 {
166 device_type = "tbi-phy";
174 device_type = "tbi-phy";
179 phy-handle = <&phy0>;
180 phy-connection-type = "rgmii-id";
184 phy-handle = <&phy4>;
185 tbi-handle = <&tbi0>;
186 phy-connection-type = "sgmii";
190 phy-handle = <&phy1>;
191 phy-connection-type = "rgmii-id";
195 #address-cells = <1>;
197 reg = <0xe0100 0x60>;
198 ranges = <0x0 0xe0100 0x60>;
199 device_type = "par_io";
203 /* port pin dir open_drain assignment has_irq */
204 0x1 0x13 0x1 0x0 0x1 0x0 /* QE_MUX_MDC */
205 0x1 0x14 0x3 0x0 0x1 0x0 /* QE_MUX_MDIO */
206 0x0 0x17 0x2 0x0 0x2 0x0 /* CLK12 */
207 0x0 0x18 0x2 0x0 0x1 0x0 /* CLK9 */
208 0x0 0x7 0x1 0x0 0x2 0x0 /* ENET1_TXD0_SER1_TXD0 */
209 0x0 0x9 0x1 0x0 0x2 0x0 /* ENET1_TXD1_SER1_TXD1 */
210 0x0 0xb 0x1 0x0 0x2 0x0 /* ENET1_TXD2_SER1_TXD2 */
211 0x0 0xc 0x1 0x0 0x2 0x0 /* ENET1_TXD3_SER1_TXD3 */
212 0x0 0x6 0x2 0x0 0x2 0x0 /* ENET1_RXD0_SER1_RXD0 */
213 0x0 0xa 0x2 0x0 0x2 0x0 /* ENET1_RXD1_SER1_RXD1 */
214 0x0 0xe 0x2 0x0 0x2 0x0 /* ENET1_RXD2_SER1_RXD2 */
215 0x0 0xf 0x2 0x0 0x2 0x0 /* ENET1_RXD3_SER1_RXD3 */
216 0x0 0x5 0x1 0x0 0x2 0x0 /* ENET1_TX_EN_SER1_RTS_B */
217 0x0 0xd 0x1 0x0 0x2 0x0 /* ENET1_TX_ER */
218 0x0 0x4 0x2 0x0 0x2 0x0 /* ENET1_RX_DV_SER1_CTS_B */
219 0x0 0x8 0x2 0x0 0x2 0x0 /* ENET1_RX_ER_SER1_CD_B */
220 0x0 0x11 0x2 0x0 0x2 0x0 /* ENET1_CRS */
221 0x0 0x10 0x2 0x0 0x2 0x0>; /* ENET1_COL */
226 /* port pin dir open_drain assignment has_irq */
227 0x1 0x13 0x1 0x0 0x1 0x0 /* QE_MUX_MDC */
228 0x1 0x14 0x3 0x0 0x1 0x0 /* QE_MUX_MDIO */
229 0x1 0xb 0x2 0x0 0x1 0x0 /* CLK13 */
230 0x1 0x7 0x1 0x0 0x2 0x0 /* ENET5_TXD0_SER5_TXD0 */
231 0x1 0xa 0x1 0x0 0x2 0x0 /* ENET5_TXD1_SER5_TXD1 */
232 0x1 0x6 0x2 0x0 0x2 0x0 /* ENET5_RXD0_SER5_RXD0 */
233 0x1 0x9 0x2 0x0 0x2 0x0 /* ENET5_RXD1_SER5_RXD1 */
234 0x1 0x5 0x1 0x0 0x2 0x0 /* ENET5_TX_EN_SER5_RTS_B */
235 0x1 0x4 0x2 0x0 0x2 0x0 /* ENET5_RX_DV_SER5_CTS_B */
236 0x1 0x8 0x2 0x0 0x2 0x0>; /* ENET5_RX_ER_SER5_CD_B */
241 pci0: pcie@ffe09000 {
242 reg = <0 0xffe09000 0 0x1000>;
243 ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000
244 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>;
246 ranges = <0x2000000 0x0 0xa0000000
247 0x2000000 0x0 0xa0000000
256 pci1: pcie@ffe0a000 {
257 reg = <0 0xffe0a000 0 0x1000>;
258 ranges = <0x2000000 0x0 0xc0000000 0 0xc0000000 0x0 0x20000000
259 0x1000000 0x0 0x00000000 0 0xffc20000 0x0 0x10000>;
261 ranges = <0x2000000 0x0 0xc0000000
262 0x2000000 0x0 0xc0000000
272 ranges = <0x0 0x0 0xffe80000 0x40000>;
273 reg = <0 0xffe80000 0 0x480>;
276 status = "disabled"; /* no firmware loaded */
279 device_type = "network";
280 compatible = "ucc_geth";
281 local-mac-address = [ 00 00 00 00 00 00 ];
282 rx-clock-name = "clk12";
283 tx-clock-name = "clk9";
284 pio-handle = <&pio1>;
285 phy-handle = <&qe_phy0>;
286 phy-connection-type = "mii";
290 qe_phy0: ethernet-phy@0 {
291 interrupt-parent = <&mpic>;
292 interrupts = <4 1 0 0>;
295 qe_phy1: ethernet-phy@3 {
296 interrupt-parent = <&mpic>;
297 interrupts = <5 1 0 0>;
302 device_type = "tbi-phy";
307 device_type = "network";
308 compatible = "ucc_geth";
309 local-mac-address = [ 00 00 00 00 00 00 ];
310 rx-clock-name = "none";
311 tx-clock-name = "clk13";
312 pio-handle = <&pio2>;
313 phy-handle = <&qe_phy1>;
314 phy-connection-type = "rmii";
319 /include/ "p1021si-post.dtsi"