1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * P2020 RDB Device Tree Source
5 * Copyright 2009-2012 Freescale Semiconductor Inc.
8 /include/ "p2020si-pre.dtsi"
11 model = "fsl,P2020RDB";
12 compatible = "fsl,P2020RDB";
25 device_type = "memory";
28 lbc: localbus@ffe05000 {
29 reg = <0 0xffe05000 0 0x1000>;
31 /* NOR and NAND Flashes */
32 ranges = <0x0 0x0 0x0 0xef000000 0x01000000
33 0x1 0x0 0x0 0xffa00000 0x00040000
34 0x2 0x0 0x0 0xffb00000 0x00020000>;
39 compatible = "cfi-flash";
40 reg = <0x0 0x0 0x1000000>;
45 /* This location must not be altered */
46 /* 256KB for Vitesse 7385 Switch firmware */
47 reg = <0x0 0x00040000>;
48 label = "NOR (RO) Vitesse-7385 Firmware";
53 /* 256KB for DTB Image */
54 reg = <0x00040000 0x00040000>;
55 label = "NOR (RO) DTB Image";
60 /* 3.5 MB for Linux Kernel Image */
61 reg = <0x00080000 0x00380000>;
62 label = "NOR (RO) Linux Kernel Image";
67 /* 11MB for JFFS2 based Root file System */
68 reg = <0x00400000 0x00b00000>;
69 label = "NOR (RW) JFFS2 Root File System";
73 /* This location must not be altered */
74 /* 512KB for u-boot Bootloader Image */
75 /* 512KB for u-boot Environment Variables */
76 reg = <0x00f00000 0x00100000>;
77 label = "NOR (RO) U-Boot Image";
85 compatible = "fsl,p2020-fcm-nand",
87 reg = <0x1 0x0 0x40000>;
90 /* This location must not be altered */
91 /* 1MB for u-boot Bootloader Image */
92 reg = <0x0 0x00100000>;
93 label = "NAND (RO) U-Boot Image";
98 /* 1MB for DTB Image */
99 reg = <0x00100000 0x00100000>;
100 label = "NAND (RO) DTB Image";
105 /* 4MB for Linux Kernel Image */
106 reg = <0x00200000 0x00400000>;
107 label = "NAND (RO) Linux Kernel Image";
112 /* 4MB for Compressed Root file System Image */
113 reg = <0x00600000 0x00400000>;
114 label = "NAND (RO) Compressed RFS Image";
119 /* 7MB for JFFS2 based Root file System */
120 reg = <0x00a00000 0x00700000>;
121 label = "NAND (RW) JFFS2 Root File System";
125 /* 15MB for JFFS2 based Root file System */
126 reg = <0x01100000 0x00f00000>;
127 label = "NAND (RW) Writable User area";
132 #address-cells = <1>;
134 compatible = "vitesse-7385";
135 reg = <0x2 0x0 0x20000>;
141 ranges = <0x0 0x0 0xffe00000 0x100000>;
145 compatible = "dallas,ds1339";
152 #address-cells = <1>;
154 compatible = "spansion,s25sl12801", "jedec,spi-nor";
156 spi-max-frequency = <40000000>;
159 /* 512KB for u-boot Bootloader Image */
160 reg = <0x0 0x00080000>;
161 label = "SPI (RO) U-Boot Image";
166 /* 512KB for DTB Image */
167 reg = <0x00080000 0x00080000>;
168 label = "SPI (RO) DTB Image";
173 /* 4MB for Linux Kernel Image */
174 reg = <0x00100000 0x00400000>;
175 label = "SPI (RO) Linux Kernel Image";
180 /* 4MB for Compressed RFS Image */
181 reg = <0x00500000 0x00400000>;
182 label = "SPI (RO) Compressed RFS Image";
187 /* 7MB for JFFS2 based RFS */
188 reg = <0x00900000 0x00700000>;
189 label = "SPI (RW) JFFS2 RFS";
200 phy0: ethernet-phy@0 {
201 interrupts = <3 1 0 0>;
204 phy1: ethernet-phy@1 {
205 interrupts = <3 1 0 0>;
209 device_type = "tbi-phy";
217 device_type = "tbi-phy";
226 fsl,tclk-period = <5>;
227 fsl,tmr-prsc = <200>;
228 fsl,tmr-add = <0xCCCCCCCD>;
229 fsl,tmr-fiper1 = <0x3B9AC9FB>;
230 fsl,tmr-fiper2 = <0x0001869B>;
231 fsl,max-adj = <249999999>;
234 enet0: ethernet@24000 {
235 fixed-link = <1 1 1000 0 0>;
236 phy-connection-type = "rgmii-id";
239 enet1: ethernet@25000 {
240 tbi-handle = <&tbi0>;
241 phy-handle = <&phy0>;
242 phy-connection-type = "sgmii";
245 enet2: ethernet@26000 {
246 phy-handle = <&phy1>;
247 phy-connection-type = "rgmii-id";
251 pci0: pcie@ffe08000 {
252 reg = <0 0xffe08000 0 0x1000>;
256 pci1: pcie@ffe09000 {
257 reg = <0 0xffe09000 0 0x1000>;
258 ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000
259 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>;
261 ranges = <0x2000000 0x0 0xa0000000
262 0x2000000 0x0 0xa0000000
271 pci2: pcie@ffe0a000 {
272 reg = <0 0xffe0a000 0 0x1000>;
273 ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000
274 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>;
276 ranges = <0x2000000 0x0 0x80000000
277 0x2000000 0x0 0x80000000
287 /include/ "p2020si-post.dtsi"