blob: ec7c27a646711c176ba3cd1a51cf5d5e9b9d37b7 [file] [log] [blame]
Kumar Gala96488742011-10-22 16:58:40 -05001/*
2 * P1010 RDB Device Tree Source stub (no addresses or top-level ranges)
3 *
4 * Copyright 2011 Freescale Semiconductor Inc.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are met:
8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
13 * * Neither the name of Freescale Semiconductor nor the
14 * names of its contributors may be used to endorse or promote products
15 * derived from this software without specific prior written permission.
16 *
17 *
18 * ALTERNATIVELY, this software may be distributed under the terms of the
19 * GNU General Public License ("GPL") as published by the Free Software
20 * Foundation, either version 2 of that License or (at your option) any
21 * later version.
22 *
23 * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
24 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26 * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 */
34
35&board_ifc {
36 nor@0,0 {
37 #address-cells = <1>;
38 #size-cells = <1>;
39 compatible = "cfi-flash";
40 reg = <0x0 0x0 0x2000000>;
41 bank-width = <2>;
42 device-width = <1>;
43
44 partition@40000 {
45 /* 256KB for DTB Image */
46 reg = <0x00040000 0x00040000>;
47 label = "NOR DTB Image";
48 };
49
50 partition@80000 {
51 /* 7 MB for Linux Kernel Image */
52 reg = <0x00080000 0x00700000>;
53 label = "NOR Linux Kernel Image";
54 };
55
56 partition@800000 {
57 /* 20MB for JFFS2 based Root file System */
58 reg = <0x00800000 0x01400000>;
59 label = "NOR JFFS2 Root File System";
60 };
61
62 partition@1f00000 {
63 /* This location must not be altered */
64 /* 512KB for u-boot Bootloader Image */
65 /* 512KB for u-boot Environment Variables */
66 reg = <0x01f00000 0x00100000>;
67 label = "NOR U-Boot Image";
68 read-only;
69 };
70 };
71
72 nand@1,0 {
73 #address-cells = <1>;
74 #size-cells = <1>;
75 compatible = "fsl,ifc-nand";
76 reg = <0x1 0x0 0x10000>;
77
78 partition@0 {
79 /* This location must not be altered */
80 /* 1MB for u-boot Bootloader Image */
81 reg = <0x0 0x00100000>;
82 label = "NAND U-Boot Image";
83 read-only;
84 };
85
86 partition@100000 {
87 /* 1MB for DTB Image */
88 reg = <0x00100000 0x00100000>;
89 label = "NAND DTB Image";
90 };
91
92 partition@200000 {
93 /* 4MB for Linux Kernel Image */
94 reg = <0x00200000 0x00400000>;
95 label = "NAND Linux Kernel Image";
96 };
97
98 partition@600000 {
99 /* 4MB for Compressed Root file System Image */
100 reg = <0x00600000 0x00400000>;
101 label = "NAND Compressed RFS Image";
102 };
103
104 partition@a00000 {
105 /* 15MB for JFFS2 based Root file System */
106 reg = <0x00a00000 0x00f00000>;
107 label = "NAND JFFS2 Root File System";
108 };
109
110 partition@1900000 {
111 /* 7MB for User Area */
112 reg = <0x01900000 0x00700000>;
113 label = "NAND User area";
114 };
115 };
116
117 cpld@3,0 {
118 #address-cells = <1>;
119 #size-cells = <1>;
120 compatible = "fsl,p1010rdb-cpld";
121 reg = <0x3 0x0 0x0000020>;
122 bank-width = <1>;
123 device-width = <1>;
124 };
125};
126
127&board_soc {
Kumar Galaae744b42011-10-25 23:29:27 -0500128 i2c@3000 {
Gustavo Zacariasbabb5e82012-05-23 11:35:18 -0300129 eeprom@50 {
130 compatible = "st,24c256";
131 reg = <0x50>;
132 };
133
Kumar Galaae744b42011-10-25 23:29:27 -0500134 rtc@68 {
135 compatible = "pericom,pt7c4338";
136 reg = <0x68>;
137 };
138 };
139
Gustavo Zacariasbabb5e82012-05-23 11:35:18 -0300140 i2c@3100 {
141 eeprom@52 {
142 compatible = "atmel,24c01";
143 reg = <0x52>;
144 };
145 };
146
Kumar Gala96488742011-10-22 16:58:40 -0500147 spi@7000 {
148 flash@0 {
149 #address-cells = <1>;
150 #size-cells = <1>;
151 compatible = "spansion,s25sl12801";
152 reg = <0>;
Sebastian Andrzej Siewior564ee462012-03-15 18:40:28 +0100153 spi-max-frequency = <40000000>;
Kumar Gala96488742011-10-22 16:58:40 -0500154
155 partition@0 {
156 /* 1MB for u-boot Bootloader Image */
157 /* 1MB for Environment */
158 reg = <0x0 0x00100000>;
159 label = "SPI Flash U-Boot Image";
160 read-only;
161 };
162
163 partition@100000 {
164 /* 512KB for DTB Image */
165 reg = <0x00100000 0x00080000>;
166 label = "SPI Flash DTB Image";
167 };
168
169 partition@180000 {
170 /* 4MB for Linux Kernel Image */
171 reg = <0x00180000 0x00400000>;
172 label = "SPI Flash Linux Kernel Image";
173 };
174
175 partition@580000 {
176 /* 4MB for Compressed RFS Image */
177 reg = <0x00580000 0x00400000>;
178 label = "SPI Flash Compressed RFSImage";
179 };
180
181 partition@980000 {
182 /* 6.5MB for JFFS2 based RFS */
183 reg = <0x00980000 0x00680000>;
184 label = "SPI Flash JFFS2 RFS";
185 };
186 };
187 };
188
189 usb@22000 {
190 phy_type = "utmi";
191 dr_mode = "host";
192 };
193
194 mdio@24000 {
195 phy0: ethernet-phy@0 {
196 interrupts = <3 1 0 0>;
197 reg = <0x1>;
198 };
199
200 phy1: ethernet-phy@1 {
201 interrupts = <2 1 0 0>;
202 reg = <0x0>;
203 };
204
205 phy2: ethernet-phy@2 {
206 interrupts = <2 1 0 0>;
207 reg = <0x2>;
208 };
Andy Fleming22066942012-01-04 15:28:31 -0600209
210 tbi-phy@3 {
Gustavo Zacariase131fbd2012-02-28 16:43:08 -0300211 device_type = "tbi-phy";
Andy Fleming22066942012-01-04 15:28:31 -0600212 reg = <0x3>;
213 };
Kumar Gala96488742011-10-22 16:58:40 -0500214 };
215
216 mdio@25000 {
217 tbi0: tbi-phy@11 {
218 reg = <0x11>;
219 device_type = "tbi-phy";
220 };
221 };
222
223 mdio@26000 {
224 tbi1: tbi-phy@11 {
225 reg = <0x11>;
226 device_type = "tbi-phy";
227 };
228 };
229
230 enet0: ethernet@b0000 {
231 phy-handle = <&phy0>;
232 phy-connection-type = "rgmii-id";
233 };
234
235 enet1: ethernet@b1000 {
236 phy-handle = <&phy1>;
237 tbi-handle = <&tbi0>;
238 phy-connection-type = "sgmii";
239 };
240
241 enet2: ethernet@b2000 {
242 phy-handle = <&phy2>;
243 tbi-handle = <&tbi1>;
244 phy-connection-type = "sgmii";
245 };
246};