diff options
author | Zhicheng Fan <b32736@freescale.com> | 2012-02-10 01:48:16 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2012-03-16 12:03:44 -0400 |
commit | 950740098c6745d69056b3acb5090ca9d8aa918c (patch) | |
tree | 20d93f6d476f0992b63d650d72f72181057789f8 | |
parent | 7e6af144781a3ae9dff142f44dc26e585cb41b82 (diff) |
powerpc/85xx: Add dts for p1020rdb-pc board
P1020RDB-PC Overview
------------------
1Gbyte DDR3 SDRAM
32 Mbyte NAND flash
10 16Mbyte NOR flash
16 Mbyte SPI flash
SD connector to interface with the SD memory card
Real-time clock on I2C bus
PCIe:
- x1 PCIe slot
- x1 mini-PCIe slot
10/100/1000 BaseT Ethernet ports:
- eTSEC1, RGMII: one 10/100/1000 port using VitesseTM VSC7385 L2 switch
- eTSEC2, SGMII: one 10/100/1000 port using VitesseTM VSC8221
- eTSEC3, RGMII: one 10/100/1000 port using AtherosTM AR8021
USB 2.0 port:
- Two USB2.0 Type A receptacles
- One USB2.0 signal to Mini PCIe slot
Dual RJ45 UART ports:
- DUART interface: supports two UARTs up to 115200 bps for console display
Signed-off-by: Zhicheng Fan <b32736@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r-- | arch/powerpc/boot/dts/p1020rdb-pc.dtsi | 247 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/p1020rdb-pc_32b.dts | 90 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/p1020rdb-pc_36b.dts | 90 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/p1020rdb-pc_camp_core0.dts | 64 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/p1020rdb-pc_camp_core1.dts | 142 |
5 files changed, 633 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/p1020rdb-pc.dtsi b/arch/powerpc/boot/dts/p1020rdb-pc.dtsi new file mode 100644 index 000000000000..c952cd37cf6d --- /dev/null +++ b/arch/powerpc/boot/dts/p1020rdb-pc.dtsi | |||
@@ -0,0 +1,247 @@ | |||
1 | /* | ||
2 | * P1020 RDB-PC 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 | &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>; | ||
43 | |||
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 | }; | ||
51 | |||
52 | partition@40000 { | ||
53 | /* 256KB for DTB Image */ | ||
54 | reg = <0x00040000 0x00040000>; | ||
55 | label = "NOR DTB Image"; | ||
56 | }; | ||
57 | |||
58 | partition@80000 { | ||
59 | /* 3.5 MB for Linux Kernel Image */ | ||
60 | reg = <0x00080000 0x00380000>; | ||
61 | label = "NOR Linux Kernel Image"; | ||
62 | }; | ||
63 | |||
64 | partition@400000 { | ||
65 | /* 11MB for JFFS2 based Root file System */ | ||
66 | reg = <0x00400000 0x00b00000>; | ||
67 | label = "NOR JFFS2 Root File System"; | ||
68 | }; | ||
69 | |||
70 | partition@f00000 { | ||
71 | /* This location must not be altered */ | ||
72 | /* 512KB for u-boot Bootloader Image */ | ||
73 | /* 512KB for u-boot Environment Variables */ | ||
74 | reg = <0x00f00000 0x00100000>; | ||
75 | label = "NOR U-Boot Image"; | ||
76 | read-only; | ||
77 | }; | ||
78 | }; | ||
79 | |||
80 | nand@1,0 { | ||
81 | #address-cells = <1>; | ||
82 | #size-cells = <1>; | ||
83 | compatible = "fsl,p1020-fcm-nand", | ||
84 | "fsl,elbc-fcm-nand"; | ||
85 | reg = <0x1 0x0 0x40000>; | ||
86 | |||
87 | partition@0 { | ||
88 | /* This location must not be altered */ | ||
89 | /* 1MB for u-boot Bootloader Image */ | ||
90 | reg = <0x0 0x00100000>; | ||
91 | label = "NAND U-Boot Image"; | ||
92 | read-only; | ||
93 | }; | ||
94 | |||
95 | partition@100000 { | ||
96 | /* 1MB for DTB Image */ | ||
97 | reg = <0x00100000 0x00100000>; | ||
98 | label = "NAND DTB Image"; | ||
99 | }; | ||
100 | |||
101 | partition@200000 { | ||
102 | /* 4MB for Linux Kernel Image */ | ||
103 | reg = <0x00200000 0x00400000>; | ||
104 | label = "NAND Linux Kernel Image"; | ||
105 | }; | ||
106 | |||
107 | partition@600000 { | ||
108 | /* 4MB for Compressed Root file System Image */ | ||
109 | reg = <0x00600000 0x00400000>; | ||
110 | label = "NAND Compressed RFS Image"; | ||
111 | }; | ||
112 | |||
113 | partition@a00000 { | ||
114 | /* 7MB for JFFS2 based Root file System */ | ||
115 | reg = <0x00a00000 0x00700000>; | ||
116 | label = "NAND JFFS2 Root File System"; | ||
117 | }; | ||
118 | |||
119 | partition@1100000 { | ||
120 | /* 15MB for JFFS2 based Root file System */ | ||
121 | reg = <0x01100000 0x00f00000>; | ||
122 | label = "NAND Writable User area"; | ||
123 | }; | ||
124 | }; | ||
125 | |||
126 | L2switch@2,0 { | ||
127 | #address-cells = <1>; | ||
128 | #size-cells = <1>; | ||
129 | compatible = "vitesse-7385"; | ||
130 | reg = <0x2 0x0 0x20000>; | ||
131 | }; | ||
132 | |||
133 | cpld@3,0 { | ||
134 | #address-cells = <1>; | ||
135 | #size-cells = <1>; | ||
136 | compatible = "cpld"; | ||
137 | reg = <0x3 0x0 0x20000>; | ||
138 | read-only; | ||
139 | }; | ||
140 | }; | ||
141 | |||
142 | &soc { | ||
143 | i2c@3000 { | ||
144 | rtc@68 { | ||
145 | compatible = "pericom,pt7c4338"; | ||
146 | reg = <0x68>; | ||
147 | }; | ||
148 | }; | ||
149 | |||
150 | spi@7000 { | ||
151 | flash@0 { | ||
152 | #address-cells = <1>; | ||
153 | #size-cells = <1>; | ||
154 | compatible = "spansion,s25sl12801"; | ||
155 | reg = <0>; | ||
156 | spi-max-frequency = <40000000>; /* input clock */ | ||
157 | |||
158 | partition@u-boot { | ||
159 | /* 512KB for u-boot Bootloader Image */ | ||
160 | reg = <0x0 0x00080000>; | ||
161 | label = "u-boot"; | ||
162 | read-only; | ||
163 | }; | ||
164 | |||
165 | partition@dtb { | ||
166 | /* 512KB for DTB Image*/ | ||
167 | reg = <0x00080000 0x00080000>; | ||
168 | label = "dtb"; | ||
169 | }; | ||
170 | |||
171 | partition@kernel { | ||
172 | /* 4MB for Linux Kernel Image */ | ||
173 | reg = <0x00100000 0x00400000>; | ||
174 | label = "kernel"; | ||
175 | }; | ||
176 | |||
177 | partition@fs { | ||
178 | /* 4MB for Compressed RFS Image */ | ||
179 | reg = <0x00500000 0x00400000>; | ||
180 | label = "file system"; | ||
181 | }; | ||
182 | |||
183 | partition@jffs-fs { | ||
184 | /* 7MB for JFFS2 based RFS */ | ||
185 | reg = <0x00900000 0x00700000>; | ||
186 | label = "file system jffs2"; | ||
187 | }; | ||
188 | }; | ||
189 | }; | ||
190 | |||
191 | usb@22000 { | ||
192 | phy_type = "ulpi"; | ||
193 | }; | ||
194 | |||
195 | /* USB2 is shared with localbus, so it must be disabled | ||
196 | by default. We can't put 'status = "disabled";' here | ||
197 | since U-Boot doesn't clear the status property when | ||
198 | it enables USB2. OTOH, U-Boot does create a new node | ||
199 | when there isn't any. So, just comment it out. | ||
200 | usb@23000 { | ||
201 | phy_type = "ulpi"; | ||
202 | }; | ||
203 | */ | ||
204 | |||
205 | mdio@24000 { | ||
206 | phy0: ethernet-phy@0 { | ||
207 | interrupt-parent = <&mpic>; | ||
208 | interrupts = <3 1>; | ||
209 | reg = <0x0>; | ||
210 | }; | ||
211 | |||
212 | phy1: ethernet-phy@1 { | ||
213 | interrupt-parent = <&mpic>; | ||
214 | interrupts = <2 1>; | ||
215 | reg = <0x1>; | ||
216 | }; | ||
217 | |||
218 | tbi0: tbi-phy@11 { | ||
219 | device_type = "tbi-phy"; | ||
220 | reg = <0x11>; | ||
221 | }; | ||
222 | }; | ||
223 | |||
224 | mdio@25000 { | ||
225 | tbi1: tbi-phy@11 { | ||
226 | reg = <0x11>; | ||
227 | device_type = "tbi-phy"; | ||
228 | }; | ||
229 | }; | ||
230 | |||
231 | enet0: ethernet@b0000 { | ||
232 | fixed-link = <1 1 1000 0 0>; | ||
233 | phy-connection-type = "rgmii-id"; | ||
234 | |||
235 | }; | ||
236 | |||
237 | enet1: ethernet@b1000 { | ||
238 | phy-handle = <&phy0>; | ||
239 | tbi-handle = <&tbi1>; | ||
240 | phy-connection-type = "sgmii"; | ||
241 | }; | ||
242 | |||
243 | enet2: ethernet@b2000 { | ||
244 | phy-handle = <&phy1>; | ||
245 | phy-connection-type = "rgmii-id"; | ||
246 | }; | ||
247 | }; | ||
diff --git a/arch/powerpc/boot/dts/p1020rdb-pc_32b.dts b/arch/powerpc/boot/dts/p1020rdb-pc_32b.dts new file mode 100644 index 000000000000..4de69b726dc5 --- /dev/null +++ b/arch/powerpc/boot/dts/p1020rdb-pc_32b.dts | |||
@@ -0,0 +1,90 @@ | |||
1 | /* | ||
2 | * P1020 RDB-PC Device Tree Source (32-bit address map) | ||
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/p1020si-pre.dtsi" | ||
36 | / { | ||
37 | model = "fsl,P1020RDB-PC"; | ||
38 | compatible = "fsl,P1020RDB-PC"; | ||
39 | |||
40 | memory { | ||
41 | device_type = "memory"; | ||
42 | }; | ||
43 | |||
44 | lbc: localbus@ffe05000 { | ||
45 | reg = <0 0xffe05000 0 0x1000>; | ||
46 | |||
47 | /* NOR, NAND Flashes and Vitesse 5 port L2 switch */ | ||
48 | ranges = <0x0 0x0 0x0 0xef000000 0x01000000 | ||
49 | 0x1 0x0 0x0 0xff800000 0x00040000 | ||
50 | 0x2 0x0 0x0 0xffb00000 0x00020000 | ||
51 | 0x3 0x0 0x0 0xffa00000 0x00020000>; | ||
52 | }; | ||
53 | |||
54 | soc: soc@ffe00000 { | ||
55 | ranges = <0x0 0x0 0xffe00000 0x100000>; | ||
56 | }; | ||
57 | |||
58 | pci0: pcie@ffe09000 { | ||
59 | ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000 | ||
60 | 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; | ||
61 | reg = <0 0xffe09000 0 0x1000>; | ||
62 | pcie@0 { | ||
63 | ranges = <0x2000000 0x0 0xa0000000 | ||
64 | 0x2000000 0x0 0xa0000000 | ||
65 | 0x0 0x20000000 | ||
66 | |||
67 | 0x1000000 0x0 0x0 | ||
68 | 0x1000000 0x0 0x0 | ||
69 | 0x0 0x100000>; | ||
70 | }; | ||
71 | }; | ||
72 | |||
73 | pci1: pcie@ffe0a000 { | ||
74 | reg = <0 0xffe0a000 0 0x1000>; | ||
75 | ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000 | ||
76 | 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>; | ||
77 | pcie@0 { | ||
78 | ranges = <0x2000000 0x0 0x80000000 | ||
79 | 0x2000000 0x0 0x80000000 | ||
80 | 0x0 0x20000000 | ||
81 | |||
82 | 0x1000000 0x0 0x0 | ||
83 | 0x1000000 0x0 0x0 | ||
84 | 0x0 0x100000>; | ||
85 | }; | ||
86 | }; | ||
87 | }; | ||
88 | |||
89 | /include/ "p1020rdb-pc.dtsi" | ||
90 | /include/ "fsl/p1020si-post.dtsi" | ||
diff --git a/arch/powerpc/boot/dts/p1020rdb-pc_36b.dts b/arch/powerpc/boot/dts/p1020rdb-pc_36b.dts new file mode 100644 index 000000000000..5237da7441bc --- /dev/null +++ b/arch/powerpc/boot/dts/p1020rdb-pc_36b.dts | |||
@@ -0,0 +1,90 @@ | |||
1 | /* | ||
2 | * P1020 RDB-PC Device Tree Source (36-bit address map) | ||
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/p1020si-pre.dtsi" | ||
36 | / { | ||
37 | model = "fsl,P1020RDB-PC"; | ||
38 | compatible = "fsl,P1020RDB-PC"; | ||
39 | |||
40 | memory { | ||
41 | device_type = "memory"; | ||
42 | }; | ||
43 | |||
44 | lbc: localbus@fffe05000 { | ||
45 | reg = <0xf 0xffe05000 0 0x1000>; | ||
46 | |||
47 | /* NOR, NAND Flashes and Vitesse 5 port L2 switch */ | ||
48 | ranges = <0x0 0x0 0xf 0xef000000 0x01000000 | ||
49 | 0x1 0x0 0xf 0xff800000 0x00040000 | ||
50 | 0x2 0x0 0xf 0xffb00000 0x00040000 | ||
51 | 0x3 0x0 0xf 0xffa00000 0x00020000>; | ||
52 | }; | ||
53 | |||
54 | soc: soc@fffe00000 { | ||
55 | ranges = <0x0 0xf 0xffe00000 0x100000>; | ||
56 | }; | ||
57 | |||
58 | pci0: pcie@fffe09000 { | ||
59 | reg = <0xf 0xffe09000 0 0x1000>; | ||
60 | ranges = <0x2000000 0x0 0xc0000000 0xc 0x20000000 0x0 0x20000000 | ||
61 | 0x1000000 0x0 0x00000000 0xf 0xffc10000 0x0 0x10000>; | ||
62 | pcie@0 { | ||
63 | ranges = <0x2000000 0x0 0xc0000000 | ||
64 | 0x2000000 0x0 0xc0000000 | ||
65 | 0x0 0x20000000 | ||
66 | |||
67 | 0x1000000 0x0 0x0 | ||
68 | 0x1000000 0x0 0x0 | ||
69 | 0x0 0x100000>; | ||
70 | }; | ||
71 | }; | ||
72 | |||
73 | pci1: pcie@fffe0a000 { | ||
74 | reg = <0xf 0xffe0a000 0 0x1000>; | ||
75 | ranges = <0x2000000 0x0 0x80000000 0xc 0x00000000 0x0 0x20000000 | ||
76 | 0x1000000 0x0 0x00000000 0xf 0xffc00000 0x0 0x10000>; | ||
77 | pcie@0 { | ||
78 | ranges = <0x2000000 0x0 0x80000000 | ||
79 | 0x2000000 0x0 0x80000000 | ||
80 | 0x0 0x20000000 | ||
81 | |||
82 | 0x1000000 0x0 0x0 | ||
83 | 0x1000000 0x0 0x0 | ||
84 | 0x0 0x100000>; | ||
85 | }; | ||
86 | }; | ||
87 | }; | ||
88 | |||
89 | /include/ "p1020rdb-pc.dtsi" | ||
90 | /include/ "fsl/p1020si-post.dtsi" | ||
diff --git a/arch/powerpc/boot/dts/p1020rdb-pc_camp_core0.dts b/arch/powerpc/boot/dts/p1020rdb-pc_camp_core0.dts new file mode 100644 index 000000000000..f411515937ec --- /dev/null +++ b/arch/powerpc/boot/dts/p1020rdb-pc_camp_core0.dts | |||
@@ -0,0 +1,64 @@ | |||
1 | /* | ||
2 | * P1020 RDB-PC Core0 Device Tree Source in CAMP mode. | ||
3 | * | ||
4 | * In CAMP mode, each core needs to have its own dts. Only mpic and L2 cache | ||
5 | * can be shared, all the other devices must be assigned to one core only. | ||
6 | * This dts file allows core0 to have memory, l2, i2c, spi, gpio, tdm, dma, usb, | ||
7 | * eth1, eth2, sdhc, crypto, global-util, message, pci0, pci1, msi. | ||
8 | * | ||
9 | * Please note to add "-b 0" for core0's dts compiling. | ||
10 | * | ||
11 | * Copyright 2012 Freescale Semiconductor Inc. | ||
12 | * | ||
13 | * This program is free software; you can redistribute it and/or modify it | ||
14 | * under the terms of the GNU General Public License as published by the | ||
15 | * Free Software Foundation; either version 2 of the License, or (at your | ||
16 | * option) any later version. | ||
17 | */ | ||
18 | |||
19 | /include/ "p1020rdb-pc_32b.dts" | ||
20 | |||
21 | / { | ||
22 | model = "fsl,P1020RDB-PC"; | ||
23 | compatible = "fsl,P1020RDB-PC"; | ||
24 | |||
25 | aliases { | ||
26 | ethernet1 = &enet1; | ||
27 | ethernet2 = &enet2; | ||
28 | serial0 = &serial0; | ||
29 | pci0 = &pci0; | ||
30 | pci1 = &pci1; | ||
31 | }; | ||
32 | |||
33 | cpus { | ||
34 | PowerPC,P1020@1 { | ||
35 | status = "disabled"; | ||
36 | }; | ||
37 | }; | ||
38 | |||
39 | memory { | ||
40 | device_type = "memory"; | ||
41 | }; | ||
42 | |||
43 | localbus@ffe05000 { | ||
44 | status = "disabled"; | ||
45 | }; | ||
46 | |||
47 | soc@ffe00000 { | ||
48 | serial1: serial@4600 { | ||
49 | status = "disabled"; | ||
50 | }; | ||
51 | |||
52 | enet0: ethernet@b0000 { | ||
53 | status = "disabled"; | ||
54 | }; | ||
55 | |||
56 | mpic: pic@40000 { | ||
57 | protected-sources = < | ||
58 | 42 29 30 34 /* serial1, enet0-queue-group0 */ | ||
59 | 17 18 24 45 /* enet0-queue-group1, crypto */ | ||
60 | >; | ||
61 | pic-no-reset; | ||
62 | }; | ||
63 | }; | ||
64 | }; | ||
diff --git a/arch/powerpc/boot/dts/p1020rdb-pc_camp_core1.dts b/arch/powerpc/boot/dts/p1020rdb-pc_camp_core1.dts new file mode 100644 index 000000000000..a91335ad82c2 --- /dev/null +++ b/arch/powerpc/boot/dts/p1020rdb-pc_camp_core1.dts | |||
@@ -0,0 +1,142 @@ | |||
1 | /* | ||
2 | * P1020 RDB-PC Core1 Device Tree Source in CAMP mode. | ||
3 | * | ||
4 | * In CAMP mode, each core needs to have its own dts. Only mpic and L2 cache | ||
5 | * can be shared, all the other devices must be assigned to one core only. | ||
6 | * This dts allows core1 to have l2, eth0, crypto. | ||
7 | * | ||
8 | * Please note to add "-b 1" for core1's dts compiling. | ||
9 | * | ||
10 | * Copyright 2012 Freescale Semiconductor Inc. | ||
11 | * | ||
12 | * This program is free software; you can redistribute it and/or modify it | ||
13 | * under the terms of the GNU General Public License as published by the | ||
14 | * Free Software Foundation; either version 2 of the License, or (at your | ||
15 | * option) any later version. | ||
16 | */ | ||
17 | |||
18 | /include/ "p1020rdb-pc_32b.dts" | ||
19 | |||
20 | / { | ||
21 | model = "fsl,P1020RDB-PC"; | ||
22 | compatible = "fsl,P1020RDB-PC"; | ||
23 | |||
24 | aliases { | ||
25 | ethernet0 = &enet0; | ||
26 | serial0 = &serial1; | ||
27 | }; | ||
28 | |||
29 | cpus { | ||
30 | PowerPC,P1020@0 { | ||
31 | status = "disabled"; | ||
32 | }; | ||
33 | }; | ||
34 | |||
35 | memory { | ||
36 | device_type = "memory"; | ||
37 | }; | ||
38 | |||
39 | localbus@ffe05000 { | ||
40 | status = "disabled"; | ||
41 | }; | ||
42 | |||
43 | soc@ffe00000 { | ||
44 | ecm-law@0 { | ||
45 | status = "disabled"; | ||
46 | }; | ||
47 | |||
48 | ecm@1000 { | ||
49 | status = "disabled"; | ||
50 | }; | ||
51 | |||
52 | memory-controller@2000 { | ||
53 | status = "disabled"; | ||
54 | }; | ||
55 | |||
56 | i2c@3000 { | ||
57 | status = "disabled"; | ||
58 | }; | ||
59 | |||
60 | i2c@3100 { | ||
61 | status = "disabled"; | ||
62 | }; | ||
63 | |||
64 | serial0: serial@4500 { | ||
65 | status = "disabled"; | ||
66 | }; | ||
67 | |||
68 | spi@7000 { | ||
69 | status = "disabled"; | ||
70 | }; | ||
71 | |||
72 | gpio: gpio-controller@f000 { | ||
73 | status = "disabled"; | ||
74 | }; | ||
75 | |||
76 | dma@21300 { | ||
77 | status = "disabled"; | ||
78 | }; | ||
79 | |||
80 | mdio@24000 { | ||
81 | status = "disabled"; | ||
82 | }; | ||
83 | |||
84 | mdio@25000 { | ||
85 | status = "disabled"; | ||
86 | }; | ||
87 | |||
88 | enet1: ethernet@b1000 { | ||
89 | status = "disabled"; | ||
90 | }; | ||
91 | |||
92 | enet2: ethernet@b2000 { | ||
93 | status = "disabled"; | ||
94 | }; | ||
95 | |||
96 | usb@22000 { | ||
97 | status = "disabled"; | ||
98 | }; | ||
99 | |||
100 | sdhci@2e000 { | ||
101 | status = "disabled"; | ||
102 | }; | ||
103 | |||
104 | mpic: pic@40000 { | ||
105 | protected-sources = < | ||
106 | 16 /* ecm, mem, L2, pci0, pci1 */ | ||
107 | 43 42 59 /* i2c, serial0, spi */ | ||
108 | 47 63 62 /* gpio, tdm */ | ||
109 | 20 21 22 23 /* dma */ | ||
110 | 03 02 /* mdio */ | ||
111 | 35 36 40 /* enet1-queue-group0 */ | ||
112 | 51 52 67 /* enet1-queue-group1 */ | ||
113 | 31 32 33 /* enet2-queue-group0 */ | ||
114 | 25 26 27 /* enet2-queue-group1 */ | ||
115 | 28 72 58 /* usb, sdhci, crypto */ | ||
116 | 0xb0 0xb1 0xb2 /* message */ | ||
117 | 0xb3 0xb4 0xb5 | ||
118 | 0xb6 0xb7 | ||
119 | 0xe0 0xe1 0xe2 /* msi */ | ||
120 | 0xe3 0xe4 0xe5 | ||
121 | 0xe6 0xe7 /* sdhci, crypto , pci */ | ||
122 | >; | ||
123 | pic-no-reset; | ||
124 | }; | ||
125 | |||
126 | msi@41600 { | ||
127 | status = "disabled"; | ||
128 | }; | ||
129 | |||
130 | global-utilities@e0000 { //global utilities block | ||
131 | status = "disabled"; | ||
132 | }; | ||
133 | }; | ||
134 | |||
135 | pci0: pcie@ffe09000 { | ||
136 | status = "disabled"; | ||
137 | }; | ||
138 | |||
139 | pci1: pcie@ffe0a000 { | ||
140 | status = "disabled"; | ||
141 | }; | ||
142 | }; | ||