Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris...
[linux/fpc-iii.git] / arch / powerpc / boot / dts / p1021rdb-pc.dtsi
blobd6274c58f496b6eb79d0bfb3c040c627af5d3952
1 /*
2  * P1021 RDB Device Tree Source stub (no addresses or top-level ranges)
3  *
4  * Copyright 2012 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  */
35 &lbc {
36         nor@0,0 {
37                 #address-cells = <1>;
38                 #size-cells = <1>;
39                 compatible = "cfi-flash";
40                 reg = <0x0 0x0 0x1000000>;
41                 bank-width = <2>;
42                 device-width = <1>;
44                 partition@0 {
45                         /* This location must not be altered  */
46                         /* 256KB for Vitesse 7385 Switch firmware */
47                         reg = <0x0 0x00040000>;
48                         label = "NOR Vitesse-7385 Firmware";
49                         read-only;
50                 };
52                 partition@40000 {
53                         /* 256KB for DTB Image */
54                         reg = <0x00040000 0x00040000>;
55                         label = "NOR DTB Image";
56                 };
58                 partition@80000 {
59                         /* 3.5 MB for Linux Kernel Image */
60                         reg = <0x00080000 0x00380000>;
61                         label = "NOR Linux Kernel Image";
62                 };
64                 partition@400000 {
65                         /* 10.75MB for JFFS2 based Root file System */
66                         reg = <0x00400000 0x00ac0000>;
67                         label = "NOR JFFS2 Root File System";
68                 };
70                 partition@ec0000 {
71                         /* This location must not be altered  */
72                         /* 256KB for QE ucode firmware*/
73                         reg = <0x00ec0000 0x00040000>;
74                         label = "NOR QE microcode firmware";
75                         read-only;
76                 };
78                 partition@f00000 {
79                         /* This location must not be altered  */
80                         /* 512KB for u-boot Bootloader Image */
81                         /* 512KB for u-boot Environment Variables */
82                         reg = <0x00f00000 0x00100000>;
83                         label = "NOR U-Boot Image";
84                 };
85         };
87         nand@1,0 {
88                 #address-cells = <1>;
89                 #size-cells = <1>;
90                 compatible = "fsl,p1021-fcm-nand",
91                              "fsl,elbc-fcm-nand";
92                 reg = <0x1 0x0 0x40000>;
94                 partition@0 {
95                         /* This location must not be altered  */
96                         /* 1MB for u-boot Bootloader Image */
97                         reg = <0x0 0x00100000>;
98                         label = "NAND U-Boot Image";
99                         read-only;
100                 };
102                 partition@100000 {
103                         /* 1MB for DTB Image */
104                         reg = <0x00100000 0x00100000>;
105                         label = "NAND DTB Image";
106                 };
108                 partition@200000 {
109                         /* 4MB for Linux Kernel Image */
110                         reg = <0x00200000 0x00400000>;
111                         label = "NAND Linux Kernel Image";
112                 };
114                 partition@600000 {
115                         /* 4MB for Compressed Root file System Image */
116                         reg = <0x00600000 0x00400000>;
117                         label = "NAND Compressed RFS Image";
118                 };
120                 partition@a00000 {
121                         /* 7MB for JFFS2 based Root file System */
122                         reg = <0x00a00000 0x00700000>;
123                         label = "NAND JFFS2 Root File System";
124                 };
126                 partition@1100000 {
127                         /* 15MB for User Writable Area  */
128                         reg = <0x01100000 0x00f00000>;
129                         label = "NAND Writable User area";
130                 };
131         };
133         L2switch@2,0 {
134                 #address-cells = <1>;
135                 #size-cells = <1>;
136                 compatible = "vitesse-7385";
137                 reg = <0x2 0x0 0x20000>;
138         };
141 &soc {
142         i2c@3000 {
143                 rtc@68 {
144                         compatible = "pericom,pt7c4338";
145                         reg = <0x68>;
146                 };
147         };
149         spi@7000 {
150                 flash@0 {
151                         #address-cells = <1>;
152                         #size-cells = <1>;
153                         compatible = "spansion,s25sl12801";
154                         reg = <0>;
155                         spi-max-frequency = <40000000>; /* input clock */
157                         partition@u-boot {
158                                 /* 512KB for u-boot Bootloader Image */
159                                 reg = <0x0 0x00080000>;
160                                 label = "SPI Flash U-Boot Image";
161                                 read-only;
162                         };
164                         partition@dtb {
165                                 /* 512KB for DTB Image */
166                                 reg = <0x00080000 0x00080000>;
167                                 label = "SPI Flash DTB Image";
168                         };
170                         partition@kernel {
171                                 /* 4MB for Linux Kernel Image */
172                                 reg = <0x00100000 0x00400000>;
173                                 label = "SPI Flash Linux Kernel Image";
174                         };
176                         partition@fs {
177                                 /* 4MB for Compressed RFS Image */
178                                 reg = <0x00500000 0x00400000>;
179                                 label = "SPI Flash Compressed RFSImage";
180                         };
182                         partition@jffs-fs {
183                                 /* 7MB for JFFS2 based RFS */
184                                 reg = <0x00900000 0x00700000>;
185                                 label = "SPI Flash JFFS2 RFS";
186                         };
187                 };
188         };
190         usb@22000 {
191                 phy_type = "ulpi";
192         };
194         mdio@24000 {
195                 phy0: ethernet-phy@0 {
196                         interrupt-parent = <&mpic>;
197                         interrupts = <3 1 0 0>;
198                         reg = <0x0>;
199                 };
201                 phy1: ethernet-phy@1 {
202                         interrupt-parent = <&mpic>;
203                         interrupts = <2 1 0 0>;
204                         reg = <0x1>;
205                 };
207                 tbi0: tbi-phy@11 {
208                         reg = <0x11>;
209                         device_type = "tbi-phy";
210                 };
211         };
213         mdio@25000 {
214                 tbi1: tbi-phy@11 {
215                         reg = <0x11>;
216                         device_type = "tbi-phy";
217                 };
218         };
220         mdio@26000 {
221                 tbi2: tbi-phy@11 {
222                         reg = <0x11>;
223                         device_type = "tbi-phy";
224                 };
225         };
227         enet0: ethernet@b0000 {
228                 fixed-link = <1 1 1000 0 0>;
229                 phy-connection-type = "rgmii-id";
231         };
233         enet1: ethernet@b1000 {
234                 phy-handle = <&phy0>;
235                 tbi-handle = <&tbi1>;
236                 phy-connection-type = "sgmii";
237         };
239         enet2: ethernet@b2000 {
240                 phy-handle = <&phy1>;
241                 tbi-handle = <&tbi2>;
242                 phy-connection-type = "rgmii-id";
243         };