aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/dts/p1010rdb.dtsi
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2011-10-22 17:58:40 -0400
committerKumar Gala <galak@kernel.crashing.org>2011-11-24 03:01:37 -0500
commit96488746bbfb3e25a9c451e198c4d7c4b2e0731f (patch)
tree22e6300d0f89f30c3d78ed0ed0f7566a7f27f26f /arch/powerpc/boot/dts/p1010rdb.dtsi
parent532919592fcfb824aad0494f54e45a0acc83a776 (diff)
powerpc/85xx: Rework P1010RDB and P1010 device tree
Utilize new split between board & SoC, and new SoC device trees split into pre & post utilizing 'template' includes for SoC IP blocks. Other changes include: * Moved to specifying interrupt-parent for mpic at root * Moved to 4-cell mpic interrupt cells to support MPIC timers * Dropping "fsl,p1010-IP..." from compatibles for standard blocks * PCI interrupt map - wrong IRQs for PCI-0 controller * SDHC interrupt sense was wrong Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/dts/p1010rdb.dtsi')
-rw-r--r--arch/powerpc/boot/dts/p1010rdb.dtsi222
1 files changed, 222 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/p1010rdb.dtsi b/arch/powerpc/boot/dts/p1010rdb.dtsi
new file mode 100644
index 000000000000..149d196b242a
--- /dev/null
+++ b/arch/powerpc/boot/dts/p1010rdb.dtsi
@@ -0,0 +1,222 @@
1/*
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 {
128 spi@7000 {
129 flash@0 {
130 #address-cells = <1>;
131 #size-cells = <1>;
132 compatible = "spansion,s25sl12801";
133 reg = <0>;
134 spi-max-frequency = <50000000>;
135
136 partition@0 {
137 /* 1MB for u-boot Bootloader Image */
138 /* 1MB for Environment */
139 reg = <0x0 0x00100000>;
140 label = "SPI Flash U-Boot Image";
141 read-only;
142 };
143
144 partition@100000 {
145 /* 512KB for DTB Image */
146 reg = <0x00100000 0x00080000>;
147 label = "SPI Flash DTB Image";
148 };
149
150 partition@180000 {
151 /* 4MB for Linux Kernel Image */
152 reg = <0x00180000 0x00400000>;
153 label = "SPI Flash Linux Kernel Image";
154 };
155
156 partition@580000 {
157 /* 4MB for Compressed RFS Image */
158 reg = <0x00580000 0x00400000>;
159 label = "SPI Flash Compressed RFSImage";
160 };
161
162 partition@980000 {
163 /* 6.5MB for JFFS2 based RFS */
164 reg = <0x00980000 0x00680000>;
165 label = "SPI Flash JFFS2 RFS";
166 };
167 };
168 };
169
170 usb@22000 {
171 phy_type = "utmi";
172 dr_mode = "host";
173 };
174
175 mdio@24000 {
176 phy0: ethernet-phy@0 {
177 interrupts = <3 1 0 0>;
178 reg = <0x1>;
179 };
180
181 phy1: ethernet-phy@1 {
182 interrupts = <2 1 0 0>;
183 reg = <0x0>;
184 };
185
186 phy2: ethernet-phy@2 {
187 interrupts = <2 1 0 0>;
188 reg = <0x2>;
189 };
190 };
191
192 mdio@25000 {
193 tbi0: tbi-phy@11 {
194 reg = <0x11>;
195 device_type = "tbi-phy";
196 };
197 };
198
199 mdio@26000 {
200 tbi1: tbi-phy@11 {
201 reg = <0x11>;
202 device_type = "tbi-phy";
203 };
204 };
205
206 enet0: ethernet@b0000 {
207 phy-handle = <&phy0>;
208 phy-connection-type = "rgmii-id";
209 };
210
211 enet1: ethernet@b1000 {
212 phy-handle = <&phy1>;
213 tbi-handle = <&tbi0>;
214 phy-connection-type = "sgmii";
215 };
216
217 enet2: ethernet@b2000 {
218 phy-handle = <&phy2>;
219 tbi-handle = <&tbi1>;
220 phy-connection-type = "sgmii";
221 };
222};