diff options
author | Timur Tabi <timur@freescale.com> | 2012-02-15 19:25:48 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2012-03-16 11:46:33 -0400 |
commit | 4a170d0198330b8615778f6f0e265cdaadfd54b4 (patch) | |
tree | 228d68a8a7d5b60867e211d215893302ae207982 /arch/powerpc | |
parent | 54a1e76573b0b2bbda193b5d42ab7e1aba7081f7 (diff) |
powerpc/85xx: create 32-bit DTS for the P1022DS
Create a 32-bit address space version of p1022ds.dts. To avoid confusion,
p1022ds.dts is renamed to p1022ds_36b.dts. We also create p1022ds.dtsi
to store some common nodes.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/boot/dts/p1022ds.dts | 274 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/p1022ds.dtsi | 234 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/p1022ds_32b.dts | 103 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/p1022ds_36b.dts | 103 |
4 files changed, 440 insertions, 274 deletions
diff --git a/arch/powerpc/boot/dts/p1022ds.dts b/arch/powerpc/boot/dts/p1022ds.dts deleted file mode 100644 index ef95717db4bc..000000000000 --- a/arch/powerpc/boot/dts/p1022ds.dts +++ /dev/null | |||
@@ -1,274 +0,0 @@ | |||
1 | /* | ||
2 | * P1022 DS 36Bit Physical Address Map Device Tree Source | ||
3 | * | ||
4 | * Copyright 2010 Freescale Semiconductor, Inc. | ||
5 | * | ||
6 | * This file is licensed under the terms of the GNU General Public License | ||
7 | * version 2. This program is licensed "as is" without any warranty of any | ||
8 | * kind, whether express or implied. | ||
9 | */ | ||
10 | |||
11 | /include/ "fsl/p1022si-pre.dtsi" | ||
12 | / { | ||
13 | model = "fsl,P1022DS"; | ||
14 | compatible = "fsl,P1022DS"; | ||
15 | |||
16 | memory { | ||
17 | device_type = "memory"; | ||
18 | }; | ||
19 | |||
20 | lbc: localbus@fffe05000 { | ||
21 | reg = <0xf 0xffe05000 0 0x1000>; | ||
22 | ranges = <0x0 0x0 0xf 0xe8000000 0x08000000 | ||
23 | 0x1 0x0 0xf 0xe0000000 0x08000000 | ||
24 | 0x2 0x0 0xf 0xff800000 0x00040000 | ||
25 | 0x3 0x0 0xf 0xffdf0000 0x00008000>; | ||
26 | |||
27 | /* | ||
28 | * This node is used to access the pixis via "indirect" mode, | ||
29 | * which is done by writing the pixis register index to chip | ||
30 | * select 0 and the value to/from chip select 1. Indirect | ||
31 | * mode is the only way to access the pixis when DIU video | ||
32 | * is enabled. Note that this assumes that the first column | ||
33 | * of the 'ranges' property above is the chip select number. | ||
34 | */ | ||
35 | board-control@0,0 { | ||
36 | compatible = "fsl,p1022ds-indirect-pixis"; | ||
37 | reg = <0x0 0x0 1 /* CS0 */ | ||
38 | 0x1 0x0 1>; /* CS1 */ | ||
39 | }; | ||
40 | |||
41 | nor@0,0 { | ||
42 | #address-cells = <1>; | ||
43 | #size-cells = <1>; | ||
44 | compatible = "cfi-flash"; | ||
45 | reg = <0x0 0x0 0x8000000>; | ||
46 | bank-width = <2>; | ||
47 | device-width = <1>; | ||
48 | |||
49 | partition@0 { | ||
50 | reg = <0x0 0x03000000>; | ||
51 | label = "ramdisk-nor"; | ||
52 | read-only; | ||
53 | }; | ||
54 | |||
55 | partition@3000000 { | ||
56 | reg = <0x03000000 0x00e00000>; | ||
57 | label = "diagnostic-nor"; | ||
58 | read-only; | ||
59 | }; | ||
60 | |||
61 | partition@3e00000 { | ||
62 | reg = <0x03e00000 0x00200000>; | ||
63 | label = "dink-nor"; | ||
64 | read-only; | ||
65 | }; | ||
66 | |||
67 | partition@4000000 { | ||
68 | reg = <0x04000000 0x00400000>; | ||
69 | label = "kernel-nor"; | ||
70 | read-only; | ||
71 | }; | ||
72 | |||
73 | partition@4400000 { | ||
74 | reg = <0x04400000 0x03b00000>; | ||
75 | label = "jffs2-nor"; | ||
76 | }; | ||
77 | |||
78 | partition@7f00000 { | ||
79 | reg = <0x07f00000 0x00080000>; | ||
80 | label = "dtb-nor"; | ||
81 | read-only; | ||
82 | }; | ||
83 | |||
84 | partition@7f80000 { | ||
85 | reg = <0x07f80000 0x00080000>; | ||
86 | label = "u-boot-nor"; | ||
87 | read-only; | ||
88 | }; | ||
89 | }; | ||
90 | |||
91 | nand@2,0 { | ||
92 | #address-cells = <1>; | ||
93 | #size-cells = <1>; | ||
94 | compatible = "fsl,elbc-fcm-nand"; | ||
95 | reg = <0x2 0x0 0x40000>; | ||
96 | |||
97 | partition@0 { | ||
98 | reg = <0x0 0x02000000>; | ||
99 | label = "u-boot-nand"; | ||
100 | read-only; | ||
101 | }; | ||
102 | |||
103 | partition@2000000 { | ||
104 | reg = <0x02000000 0x10000000>; | ||
105 | label = "jffs2-nand"; | ||
106 | }; | ||
107 | |||
108 | partition@12000000 { | ||
109 | reg = <0x12000000 0x10000000>; | ||
110 | label = "ramdisk-nand"; | ||
111 | read-only; | ||
112 | }; | ||
113 | |||
114 | partition@22000000 { | ||
115 | reg = <0x22000000 0x04000000>; | ||
116 | label = "kernel-nand"; | ||
117 | }; | ||
118 | |||
119 | partition@26000000 { | ||
120 | reg = <0x26000000 0x01000000>; | ||
121 | label = "dtb-nand"; | ||
122 | read-only; | ||
123 | }; | ||
124 | |||
125 | partition@27000000 { | ||
126 | reg = <0x27000000 0x19000000>; | ||
127 | label = "reserved-nand"; | ||
128 | }; | ||
129 | }; | ||
130 | |||
131 | board-control@3,0 { | ||
132 | compatible = "fsl,p1022ds-fpga", "fsl,fpga-ngpixis"; | ||
133 | reg = <3 0 0x30>; | ||
134 | interrupt-parent = <&mpic>; | ||
135 | /* | ||
136 | * IRQ8 is generated if the "EVENT" switch is pressed | ||
137 | * and PX_CTL[EVESEL] is set to 00. | ||
138 | */ | ||
139 | interrupts = <8 8 0 0>; | ||
140 | }; | ||
141 | }; | ||
142 | |||
143 | soc: soc@fffe00000 { | ||
144 | ranges = <0x0 0xf 0xffe00000 0x100000>; | ||
145 | |||
146 | i2c@3100 { | ||
147 | wm8776:codec@1a { | ||
148 | compatible = "wlf,wm8776"; | ||
149 | reg = <0x1a>; | ||
150 | /* | ||
151 | * clock-frequency will be set by U-Boot if | ||
152 | * the clock is enabled. | ||
153 | */ | ||
154 | }; | ||
155 | }; | ||
156 | |||
157 | spi@7000 { | ||
158 | flash@0 { | ||
159 | #address-cells = <1>; | ||
160 | #size-cells = <1>; | ||
161 | compatible = "spansion,s25sl12801"; | ||
162 | reg = <0>; | ||
163 | spi-max-frequency = <40000000>; /* input clock */ | ||
164 | |||
165 | partition@0 { | ||
166 | label = "u-boot-spi"; | ||
167 | reg = <0x00000000 0x00100000>; | ||
168 | read-only; | ||
169 | }; | ||
170 | partition@100000 { | ||
171 | label = "kernel-spi"; | ||
172 | reg = <0x00100000 0x00500000>; | ||
173 | read-only; | ||
174 | }; | ||
175 | partition@600000 { | ||
176 | label = "dtb-spi"; | ||
177 | reg = <0x00600000 0x00100000>; | ||
178 | read-only; | ||
179 | }; | ||
180 | partition@700000 { | ||
181 | label = "file system-spi"; | ||
182 | reg = <0x00700000 0x00900000>; | ||
183 | }; | ||
184 | }; | ||
185 | }; | ||
186 | |||
187 | ssi@15000 { | ||
188 | fsl,mode = "i2s-slave"; | ||
189 | codec-handle = <&wm8776>; | ||
190 | fsl,ssi-asynchronous; | ||
191 | }; | ||
192 | |||
193 | usb@22000 { | ||
194 | phy_type = "ulpi"; | ||
195 | }; | ||
196 | |||
197 | usb@23000 { | ||
198 | status = "disabled"; | ||
199 | }; | ||
200 | |||
201 | mdio@24000 { | ||
202 | phy0: ethernet-phy@0 { | ||
203 | interrupts = <3 1 0 0>; | ||
204 | reg = <0x1>; | ||
205 | }; | ||
206 | phy1: ethernet-phy@1 { | ||
207 | interrupts = <9 1 0 0>; | ||
208 | reg = <0x2>; | ||
209 | }; | ||
210 | tbi-phy@2 { | ||
211 | device_type = "tbi-phy"; | ||
212 | reg = <0x2>; | ||
213 | }; | ||
214 | }; | ||
215 | |||
216 | ethernet@b0000 { | ||
217 | phy-handle = <&phy0>; | ||
218 | phy-connection-type = "rgmii-id"; | ||
219 | }; | ||
220 | |||
221 | ethernet@b1000 { | ||
222 | phy-handle = <&phy1>; | ||
223 | phy-connection-type = "rgmii-id"; | ||
224 | }; | ||
225 | }; | ||
226 | |||
227 | pci0: pcie@fffe09000 { | ||
228 | reg = <0xf 0xffe09000 0 0x1000>; | ||
229 | ranges = <0x2000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000 | ||
230 | 0x1000000 0x0 0x00000000 0xf 0xffc10000 0x0 0x10000>; | ||
231 | pcie@0 { | ||
232 | ranges = <0x2000000 0x0 0xe0000000 | ||
233 | 0x2000000 0x0 0xe0000000 | ||
234 | 0x0 0x20000000 | ||
235 | |||
236 | 0x1000000 0x0 0x0 | ||
237 | 0x1000000 0x0 0x0 | ||
238 | 0x0 0x100000>; | ||
239 | }; | ||
240 | }; | ||
241 | |||
242 | pci1: pcie@fffe0a000 { | ||
243 | reg = <0xf 0xffe0a000 0 0x1000>; | ||
244 | ranges = <0x2000000 0x0 0xe0000000 0xc 0x40000000 0x0 0x20000000 | ||
245 | 0x1000000 0x0 0x00000000 0xf 0xffc20000 0x0 0x10000>; | ||
246 | pcie@0 { | ||
247 | reg = <0x0 0x0 0x0 0x0 0x0>; | ||
248 | ranges = <0x2000000 0x0 0xe0000000 | ||
249 | 0x2000000 0x0 0xe0000000 | ||
250 | 0x0 0x20000000 | ||
251 | |||
252 | 0x1000000 0x0 0x0 | ||
253 | 0x1000000 0x0 0x0 | ||
254 | 0x0 0x100000>; | ||
255 | }; | ||
256 | }; | ||
257 | |||
258 | pci2: pcie@fffe0b000 { | ||
259 | reg = <0xf 0xffe0b000 0 0x1000>; | ||
260 | ranges = <0x2000000 0x0 0xe0000000 0xc 0x00000000 0x0 0x20000000 | ||
261 | 0x1000000 0x0 0x00000000 0xf 0xffc00000 0x0 0x10000>; | ||
262 | pcie@0 { | ||
263 | ranges = <0x2000000 0x0 0xe0000000 | ||
264 | 0x2000000 0x0 0xe0000000 | ||
265 | 0x0 0x20000000 | ||
266 | |||
267 | 0x1000000 0x0 0x0 | ||
268 | 0x1000000 0x0 0x0 | ||
269 | 0x0 0x100000>; | ||
270 | }; | ||
271 | }; | ||
272 | }; | ||
273 | |||
274 | /include/ "fsl/p1022si-post.dtsi" | ||
diff --git a/arch/powerpc/boot/dts/p1022ds.dtsi b/arch/powerpc/boot/dts/p1022ds.dtsi new file mode 100644 index 000000000000..7cdb505036bb --- /dev/null +++ b/arch/powerpc/boot/dts/p1022ds.dtsi | |||
@@ -0,0 +1,234 @@ | |||
1 | /* | ||
2 | * P1022 DS 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 | */ | ||
34 | |||
35 | &board_lbc { | ||
36 | /* | ||
37 | * This node is used to access the pixis via "indirect" mode, | ||
38 | * which is done by writing the pixis register index to chip | ||
39 | * select 0 and the value to/from chip select 1. Indirect | ||
40 | * mode is the only way to access the pixis when DIU video | ||
41 | * is enabled. Note that this assumes that the first column | ||
42 | * of the 'ranges' property above is the chip select number. | ||
43 | */ | ||
44 | board-control@0,0 { | ||
45 | compatible = "fsl,p1022ds-indirect-pixis"; | ||
46 | reg = <0x0 0x0 1 /* CS0 */ | ||
47 | 0x1 0x0 1>; /* CS1 */ | ||
48 | interrupt-parent = <&mpic>; | ||
49 | interrupts = <8 0 0 0>; | ||
50 | }; | ||
51 | |||
52 | nor@0,0 { | ||
53 | #address-cells = <1>; | ||
54 | #size-cells = <1>; | ||
55 | compatible = "cfi-flash"; | ||
56 | reg = <0x0 0x0 0x8000000>; | ||
57 | bank-width = <2>; | ||
58 | device-width = <1>; | ||
59 | |||
60 | partition@0 { | ||
61 | reg = <0x0 0x03000000>; | ||
62 | label = "ramdisk-nor"; | ||
63 | read-only; | ||
64 | }; | ||
65 | |||
66 | partition@3000000 { | ||
67 | reg = <0x03000000 0x00e00000>; | ||
68 | label = "diagnostic-nor"; | ||
69 | read-only; | ||
70 | }; | ||
71 | |||
72 | partition@3e00000 { | ||
73 | reg = <0x03e00000 0x00200000>; | ||
74 | label = "dink-nor"; | ||
75 | read-only; | ||
76 | }; | ||
77 | |||
78 | partition@4000000 { | ||
79 | reg = <0x04000000 0x00400000>; | ||
80 | label = "kernel-nor"; | ||
81 | read-only; | ||
82 | }; | ||
83 | |||
84 | partition@4400000 { | ||
85 | reg = <0x04400000 0x03b00000>; | ||
86 | label = "jffs2-nor"; | ||
87 | }; | ||
88 | |||
89 | partition@7f00000 { | ||
90 | reg = <0x07f00000 0x00080000>; | ||
91 | label = "dtb-nor"; | ||
92 | read-only; | ||
93 | }; | ||
94 | |||
95 | partition@7f80000 { | ||
96 | reg = <0x07f80000 0x00080000>; | ||
97 | label = "u-boot-nor"; | ||
98 | read-only; | ||
99 | }; | ||
100 | }; | ||
101 | |||
102 | nand@2,0 { | ||
103 | #address-cells = <1>; | ||
104 | #size-cells = <1>; | ||
105 | compatible = "fsl,elbc-fcm-nand"; | ||
106 | reg = <0x2 0x0 0x40000>; | ||
107 | |||
108 | partition@0 { | ||
109 | reg = <0x0 0x02000000>; | ||
110 | label = "u-boot-nand"; | ||
111 | read-only; | ||
112 | }; | ||
113 | |||
114 | partition@2000000 { | ||
115 | reg = <0x02000000 0x10000000>; | ||
116 | label = "jffs2-nand"; | ||
117 | }; | ||
118 | |||
119 | partition@12000000 { | ||
120 | reg = <0x12000000 0x10000000>; | ||
121 | label = "ramdisk-nand"; | ||
122 | read-only; | ||
123 | }; | ||
124 | |||
125 | partition@22000000 { | ||
126 | reg = <0x22000000 0x04000000>; | ||
127 | label = "kernel-nand"; | ||
128 | }; | ||
129 | |||
130 | partition@26000000 { | ||
131 | reg = <0x26000000 0x01000000>; | ||
132 | label = "dtb-nand"; | ||
133 | read-only; | ||
134 | }; | ||
135 | |||
136 | partition@27000000 { | ||
137 | reg = <0x27000000 0x19000000>; | ||
138 | label = "reserved-nand"; | ||
139 | }; | ||
140 | }; | ||
141 | |||
142 | board-control@3,0 { | ||
143 | compatible = "fsl,p1022ds-fpga", "fsl,fpga-ngpixis"; | ||
144 | reg = <3 0 0x30>; | ||
145 | interrupt-parent = <&mpic>; | ||
146 | /* | ||
147 | * IRQ8 is generated if the "EVENT" switch is pressed | ||
148 | * and PX_CTL[EVESEL] is set to 00. | ||
149 | */ | ||
150 | interrupts = <8 0 0 0>; | ||
151 | }; | ||
152 | }; | ||
153 | |||
154 | &board_soc { | ||
155 | i2c@3100 { | ||
156 | wm8776:codec@1a { | ||
157 | compatible = "wlf,wm8776"; | ||
158 | reg = <0x1a>; | ||
159 | /* | ||
160 | * clock-frequency will be set by U-Boot if | ||
161 | * the clock is enabled. | ||
162 | */ | ||
163 | }; | ||
164 | }; | ||
165 | |||
166 | spi@7000 { | ||
167 | flash@0 { | ||
168 | #address-cells = <1>; | ||
169 | #size-cells = <1>; | ||
170 | compatible = "spansion,s25sl12801"; | ||
171 | reg = <0>; | ||
172 | spi-max-frequency = <40000000>; /* input clock */ | ||
173 | |||
174 | partition@0 { | ||
175 | label = "u-boot-spi"; | ||
176 | reg = <0x00000000 0x00100000>; | ||
177 | read-only; | ||
178 | }; | ||
179 | partition@100000 { | ||
180 | label = "kernel-spi"; | ||
181 | reg = <0x00100000 0x00500000>; | ||
182 | read-only; | ||
183 | }; | ||
184 | partition@600000 { | ||
185 | label = "dtb-spi"; | ||
186 | reg = <0x00600000 0x00100000>; | ||
187 | read-only; | ||
188 | }; | ||
189 | partition@700000 { | ||
190 | label = "file system-spi"; | ||
191 | reg = <0x00700000 0x00900000>; | ||
192 | }; | ||
193 | }; | ||
194 | }; | ||
195 | |||
196 | ssi@15000 { | ||
197 | fsl,mode = "i2s-slave"; | ||
198 | codec-handle = <&wm8776>; | ||
199 | fsl,ssi-asynchronous; | ||
200 | }; | ||
201 | |||
202 | usb@22000 { | ||
203 | phy_type = "ulpi"; | ||
204 | }; | ||
205 | |||
206 | usb@23000 { | ||
207 | status = "disabled"; | ||
208 | }; | ||
209 | |||
210 | mdio@24000 { | ||
211 | phy0: ethernet-phy@0 { | ||
212 | interrupts = <3 1 0 0>; | ||
213 | reg = <0x1>; | ||
214 | }; | ||
215 | phy1: ethernet-phy@1 { | ||
216 | interrupts = <9 1 0 0>; | ||
217 | reg = <0x2>; | ||
218 | }; | ||
219 | tbi-phy@2 { | ||
220 | device_type = "tbi-phy"; | ||
221 | reg = <0x2>; | ||
222 | }; | ||
223 | }; | ||
224 | |||
225 | ethernet@b0000 { | ||
226 | phy-handle = <&phy0>; | ||
227 | phy-connection-type = "rgmii-id"; | ||
228 | }; | ||
229 | |||
230 | ethernet@b1000 { | ||
231 | phy-handle = <&phy1>; | ||
232 | phy-connection-type = "rgmii-id"; | ||
233 | }; | ||
234 | }; | ||
diff --git a/arch/powerpc/boot/dts/p1022ds_32b.dts b/arch/powerpc/boot/dts/p1022ds_32b.dts new file mode 100644 index 000000000000..d96cae00a9e3 --- /dev/null +++ b/arch/powerpc/boot/dts/p1022ds_32b.dts | |||
@@ -0,0 +1,103 @@ | |||
1 | /* | ||
2 | * P1022 DS 32-bit Physical Address Map Device Tree Source | ||
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 | */ | ||
34 | |||
35 | /include/ "fsl/p1022si-pre.dtsi" | ||
36 | / { | ||
37 | model = "fsl,P1022DS"; | ||
38 | compatible = "fsl,P1022DS"; | ||
39 | |||
40 | memory { | ||
41 | device_type = "memory"; | ||
42 | }; | ||
43 | |||
44 | board_lbc: lbc: localbus@ffe05000 { | ||
45 | ranges = <0x0 0x0 0x0 0xe8000000 0x08000000 | ||
46 | 0x1 0x0 0x0 0xe0000000 0x08000000 | ||
47 | 0x2 0x0 0x0 0xff800000 0x00040000 | ||
48 | 0x3 0x0 0x0 0xffdf0000 0x00008000>; | ||
49 | reg = <0x0 0xffe05000 0 0x1000>; | ||
50 | }; | ||
51 | |||
52 | board_soc: soc: soc@ffe00000 { | ||
53 | ranges = <0x0 0x0 0xffe00000 0x100000>; | ||
54 | }; | ||
55 | |||
56 | pci0: pcie@ffe09000 { | ||
57 | ranges = <0x2000000 0x0 0xe0000000 0 0xa0000000 0x0 0x20000000 | ||
58 | 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; | ||
59 | reg = <0x0 0xffe09000 0 0x1000>; | ||
60 | pcie@0 { | ||
61 | ranges = <0x2000000 0x0 0xe0000000 | ||
62 | 0x2000000 0x0 0xe0000000 | ||
63 | 0x0 0x20000000 | ||
64 | |||
65 | 0x1000000 0x0 0x0 | ||
66 | 0x1000000 0x0 0x0 | ||
67 | 0x0 0x100000>; | ||
68 | }; | ||
69 | }; | ||
70 | |||
71 | pci1: pcie@ffe0a000 { | ||
72 | ranges = <0x2000000 0x0 0xe0000000 0 0xc0000000 0x0 0x20000000 | ||
73 | 0x1000000 0x0 0x00000000 0 0xffc20000 0x0 0x10000>; | ||
74 | reg = <0 0xffe0a000 0 0x1000>; | ||
75 | pcie@0 { | ||
76 | ranges = <0x2000000 0x0 0xe0000000 | ||
77 | 0x2000000 0x0 0xe0000000 | ||
78 | 0x0 0x20000000 | ||
79 | |||
80 | 0x1000000 0x0 0x0 | ||
81 | 0x1000000 0x0 0x0 | ||
82 | 0x0 0x100000>; | ||
83 | }; | ||
84 | }; | ||
85 | |||
86 | pci2: pcie@ffe0b000 { | ||
87 | ranges = <0x2000000 0x0 0xe0000000 0 0x80000000 0x0 0x20000000 | ||
88 | 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>; | ||
89 | reg = <0 0xffe0b000 0 0x1000>; | ||
90 | pcie@0 { | ||
91 | ranges = <0x2000000 0x0 0xe0000000 | ||
92 | 0x2000000 0x0 0xe0000000 | ||
93 | 0x0 0x20000000 | ||
94 | |||
95 | 0x1000000 0x0 0x0 | ||
96 | 0x1000000 0x0 0x0 | ||
97 | 0x0 0x100000>; | ||
98 | }; | ||
99 | }; | ||
100 | }; | ||
101 | |||
102 | /include/ "fsl/p1022si-post.dtsi" | ||
103 | /include/ "p1022ds.dtsi" | ||
diff --git a/arch/powerpc/boot/dts/p1022ds_36b.dts b/arch/powerpc/boot/dts/p1022ds_36b.dts new file mode 100644 index 000000000000..f7aacce40bf6 --- /dev/null +++ b/arch/powerpc/boot/dts/p1022ds_36b.dts | |||
@@ -0,0 +1,103 @@ | |||
1 | /* | ||
2 | * P1022 DS 36-bit Physical Address Map Device Tree Source | ||
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 | */ | ||
34 | |||
35 | /include/ "fsl/p1022si-pre.dtsi" | ||
36 | / { | ||
37 | model = "fsl,P1022DS"; | ||
38 | compatible = "fsl,P1022DS"; | ||
39 | |||
40 | memory { | ||
41 | device_type = "memory"; | ||
42 | }; | ||
43 | |||
44 | board_lbc: lbc: localbus@fffe05000 { | ||
45 | ranges = <0x0 0x0 0xf 0xe8000000 0x08000000 | ||
46 | 0x1 0x0 0xf 0xe0000000 0x08000000 | ||
47 | 0x2 0x0 0xf 0xff800000 0x00040000 | ||
48 | 0x3 0x0 0xf 0xffdf0000 0x00008000>; | ||
49 | reg = <0xf 0xffe05000 0 0x1000>; | ||
50 | }; | ||
51 | |||
52 | board_soc: soc: soc@fffe00000 { | ||
53 | ranges = <0x0 0xf 0xffe00000 0x100000>; | ||
54 | }; | ||
55 | |||
56 | pci0: pcie@fffe09000 { | ||
57 | ranges = <0x2000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000 | ||
58 | 0x1000000 0x0 0x00000000 0xf 0xffc10000 0x0 0x10000>; | ||
59 | reg = <0xf 0xffe09000 0 0x1000>; | ||
60 | pcie@0 { | ||
61 | ranges = <0x2000000 0x0 0xe0000000 | ||
62 | 0x2000000 0x0 0xe0000000 | ||
63 | 0x0 0x20000000 | ||
64 | |||
65 | 0x1000000 0x0 0x0 | ||
66 | 0x1000000 0x0 0x0 | ||
67 | 0x0 0x100000>; | ||
68 | }; | ||
69 | }; | ||
70 | |||
71 | pci1: pcie@fffe0a000 { | ||
72 | ranges = <0x2000000 0x0 0xe0000000 0xc 0x40000000 0x0 0x20000000 | ||
73 | 0x1000000 0x0 0x00000000 0xf 0xffc20000 0x0 0x10000>; | ||
74 | reg = <0xf 0xffe0a000 0 0x1000>; | ||
75 | pcie@0 { | ||
76 | ranges = <0x2000000 0x0 0xe0000000 | ||
77 | 0x2000000 0x0 0xe0000000 | ||
78 | 0x0 0x20000000 | ||
79 | |||
80 | 0x1000000 0x0 0x0 | ||
81 | 0x1000000 0x0 0x0 | ||
82 | 0x0 0x100000>; | ||
83 | }; | ||
84 | }; | ||
85 | |||
86 | pci2: pcie@fffe0b000 { | ||
87 | ranges = <0x2000000 0x0 0xe0000000 0xc 0x00000000 0x0 0x20000000 | ||
88 | 0x1000000 0x0 0x00000000 0xf 0xffc00000 0x0 0x10000>; | ||
89 | reg = <0xf 0xffe0b000 0 0x1000>; | ||
90 | pcie@0 { | ||
91 | ranges = <0x2000000 0x0 0xe0000000 | ||
92 | 0x2000000 0x0 0xe0000000 | ||
93 | 0x0 0x20000000 | ||
94 | |||
95 | 0x1000000 0x0 0x0 | ||
96 | 0x1000000 0x0 0x0 | ||
97 | 0x0 0x100000>; | ||
98 | }; | ||
99 | }; | ||
100 | }; | ||
101 | |||
102 | /include/ "fsl/p1022si-post.dtsi" | ||
103 | /include/ "p1022ds.dtsi" | ||