]>
Commit | Line | Data |
---|---|---|
243be8e2 KG |
1 | /* |
2 | * Copyright 2011 Freescale Semiconductor, Inc. | |
3 | * | |
4 | * This program is free software; you can redistribute it and/or | |
5 | * modify it under the terms of the GNU General Public License as | |
6 | * published by the Free Software Foundation; either version 2 of | |
7 | * the License, or (at your option) any later version. | |
8 | * | |
9 | * This program is distributed in the hope that it will be useful, | |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | * GNU General Public License for more details. | |
13 | * | |
14 | * You should have received a copy of the GNU General Public License | |
15 | * along with this program; if not, write to the Free Software | |
16 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, | |
17 | * MA 02111-1307 USA | |
18 | * | |
19 | */ | |
20 | ||
21 | #ifndef _ASM_MPC85xx_CONFIG_H_ | |
22 | #define _ASM_MPC85xx_CONFIG_H_ | |
23 | ||
24 | /* SoC specific defines for Freescale MPC85xx (PQ3) and QorIQ processors */ | |
25 | ||
e46fedfe TT |
26 | #ifdef CONFIG_SYS_CCSRBAR_DEFAULT |
27 | #error "Do not define CONFIG_SYS_CCSRBAR_DEFAULT in the board header file." | |
28 | #endif | |
29 | ||
243be8e2 KG |
30 | /* Number of TLB CAM entries we have on FSL Book-E chips */ |
31 | #if defined(CONFIG_E500MC) | |
32 | #define CONFIG_SYS_NUM_TLBCAMS 64 | |
33 | #elif defined(CONFIG_E500) | |
34 | #define CONFIG_SYS_NUM_TLBCAMS 16 | |
35 | #endif | |
36 | ||
37 | #if defined(CONFIG_MPC8536) | |
38 | #define CONFIG_MAX_CPUS 1 | |
39 | #define CONFIG_SYS_FSL_NUM_LAWS 12 | |
40 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 | |
e46fedfe | 41 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
243be8e2 | 42 | |
d1a24f06 | 43 | #elif defined(CONFIG_MPC8540) |
243be8e2 KG |
44 | #define CONFIG_MAX_CPUS 1 |
45 | #define CONFIG_SYS_FSL_NUM_LAWS 8 | |
e46fedfe | 46 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
243be8e2 | 47 | |
d1a24f06 | 48 | #elif defined(CONFIG_MPC8541) |
243be8e2 KG |
49 | #define CONFIG_MAX_CPUS 1 |
50 | #define CONFIG_SYS_FSL_NUM_LAWS 8 | |
51 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 | |
e46fedfe | 52 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
243be8e2 KG |
53 | |
54 | #elif defined(CONFIG_MPC8544) | |
55 | #define CONFIG_MAX_CPUS 1 | |
56 | #define CONFIG_SYS_FSL_NUM_LAWS 10 | |
57 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 | |
e46fedfe | 58 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
243be8e2 KG |
59 | |
60 | #elif defined(CONFIG_MPC8548) | |
61 | #define CONFIG_MAX_CPUS 1 | |
62 | #define CONFIG_SYS_FSL_NUM_LAWS 10 | |
63 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 | |
e46fedfe | 64 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
5ace2992 | 65 | #define CONFIG_SYS_FSL_ERRATUM_NMG_DDR120 |
2b3a1cdd | 66 | #define CONFIG_SYS_FSL_ERRATUM_NMG_LBC103 |
243be8e2 KG |
67 | |
68 | #elif defined(CONFIG_MPC8555) | |
69 | #define CONFIG_MAX_CPUS 1 | |
70 | #define CONFIG_SYS_FSL_NUM_LAWS 8 | |
71 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 | |
e46fedfe | 72 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
243be8e2 KG |
73 | |
74 | #elif defined(CONFIG_MPC8560) | |
75 | #define CONFIG_MAX_CPUS 1 | |
76 | #define CONFIG_SYS_FSL_NUM_LAWS 8 | |
e46fedfe | 77 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
243be8e2 KG |
78 | |
79 | #elif defined(CONFIG_MPC8568) | |
80 | #define CONFIG_MAX_CPUS 1 | |
81 | #define CONFIG_SYS_FSL_NUM_LAWS 10 | |
82 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 | |
fdb4dad3 KG |
83 | #define QE_MURAM_SIZE 0x10000UL |
84 | #define MAX_QE_RISC 2 | |
85 | #define QE_NUM_OF_SNUM 28 | |
e46fedfe | 86 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
243be8e2 KG |
87 | |
88 | #elif defined(CONFIG_MPC8569) | |
89 | #define CONFIG_MAX_CPUS 1 | |
90 | #define CONFIG_SYS_FSL_NUM_LAWS 10 | |
91 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 | |
fdb4dad3 KG |
92 | #define QE_MURAM_SIZE 0x20000UL |
93 | #define MAX_QE_RISC 4 | |
94 | #define QE_NUM_OF_SNUM 46 | |
e46fedfe | 95 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
243be8e2 KG |
96 | |
97 | #elif defined(CONFIG_MPC8572) | |
98 | #define CONFIG_MAX_CPUS 2 | |
99 | #define CONFIG_SYS_FSL_NUM_LAWS 12 | |
100 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 | |
e46fedfe | 101 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
eb0aff77 | 102 | #define CONFIG_SYS_FSL_ERRATUM_DDR_115 |
91671913 | 103 | #define CONFIG_SYS_FSL_ERRATUM_DDR111_DDR134 |
243be8e2 KG |
104 | |
105 | #elif defined(CONFIG_P1010) | |
106 | #define CONFIG_MAX_CPUS 1 | |
32c8cfb2 | 107 | #define CONFIG_FSL_SDHC_V2_3 |
243be8e2 KG |
108 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
109 | #define CONFIG_TSECV2 | |
110 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 | |
1fbf3483 PA |
111 | #define CONFIG_FSL_SATA_V2 |
112 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 | |
113 | #define CONFIG_NUM_DDR_CONTROLLERS 1 | |
114 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 | |
8f29084a | 115 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
1b719e66 | 116 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
42aee64b | 117 | #define CONFIG_SYS_FSL_ERRATUM_IFC_A002769 |
fb855f43 | 118 | #define CONFIG_SYS_FSL_ERRATUM_P1010_A003549 |
bc6bbd6b | 119 | #define CONFIG_SYS_FSL_ERRATUM_IFC_A003399 |
243be8e2 | 120 | |
093cffbe | 121 | /* P1011 is single core version of P1020 */ |
243be8e2 KG |
122 | #elif defined(CONFIG_P1011) |
123 | #define CONFIG_MAX_CPUS 1 | |
124 | #define CONFIG_SYS_FSL_NUM_LAWS 12 | |
125 | #define CONFIG_TSECV2 | |
b03a466d | 126 | #define CONFIG_FSL_PCIE_DISABLE_ASPM |
243be8e2 | 127 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
e46fedfe | 128 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
093cffbe KG |
129 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
130 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 | |
243be8e2 | 131 | |
093cffbe | 132 | /* P1012 is single core version of P1021 */ |
243be8e2 KG |
133 | #elif defined(CONFIG_P1012) |
134 | #define CONFIG_MAX_CPUS 1 | |
135 | #define CONFIG_SYS_FSL_NUM_LAWS 12 | |
136 | #define CONFIG_TSECV2 | |
b03a466d | 137 | #define CONFIG_FSL_PCIE_DISABLE_ASPM |
243be8e2 | 138 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
e46fedfe | 139 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
093cffbe KG |
140 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
141 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 | |
a52d2f81 HW |
142 | #define QE_MURAM_SIZE 0x6000UL |
143 | #define MAX_QE_RISC 1 | |
144 | #define QE_NUM_OF_SNUM 28 | |
243be8e2 | 145 | |
093cffbe | 146 | /* P1013 is single core version of P1022 */ |
243be8e2 KG |
147 | #elif defined(CONFIG_P1013) |
148 | #define CONFIG_MAX_CPUS 1 | |
149 | #define CONFIG_SYS_FSL_NUM_LAWS 12 | |
150 | #define CONFIG_TSECV2 | |
151 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 | |
e46fedfe | 152 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
2d7534a3 JY |
153 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
154 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 | |
155 | #define CONFIG_FSL_SATA_ERRATUM_A001 | |
243be8e2 KG |
156 | |
157 | #elif defined(CONFIG_P1014) | |
158 | #define CONFIG_MAX_CPUS 1 | |
32c8cfb2 | 159 | #define CONFIG_FSL_SDHC_V2_3 |
243be8e2 KG |
160 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
161 | #define CONFIG_TSECV2 | |
162 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 | |
1fbf3483 PA |
163 | #define CONFIG_FSL_SATA_V2 |
164 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 | |
165 | #define CONFIG_NUM_DDR_CONTROLLERS 1 | |
166 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 | |
1b719e66 | 167 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
42aee64b | 168 | #define CONFIG_SYS_FSL_ERRATUM_IFC_A002769 |
fb855f43 | 169 | #define CONFIG_SYS_FSL_ERRATUM_P1010_A003549 |
bc6bbd6b | 170 | #define CONFIG_SYS_FSL_ERRATUM_IFC_A003399 |
243be8e2 | 171 | |
093cffbe KG |
172 | /* P1015 is single core version of P1024 */ |
173 | #elif defined(CONFIG_P1015) | |
174 | #define CONFIG_MAX_CPUS 1 | |
175 | #define CONFIG_SYS_FSL_NUM_LAWS 12 | |
176 | #define CONFIG_TSECV2 | |
177 | #define CONFIG_FSL_PCIE_DISABLE_ASPM | |
178 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 | |
e46fedfe | 179 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
093cffbe KG |
180 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
181 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 | |
182 | ||
183 | /* P1016 is single core version of P1025 */ | |
184 | #elif defined(CONFIG_P1016) | |
185 | #define CONFIG_MAX_CPUS 1 | |
186 | #define CONFIG_SYS_FSL_NUM_LAWS 12 | |
187 | #define CONFIG_TSECV2 | |
188 | #define CONFIG_FSL_PCIE_DISABLE_ASPM | |
189 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 | |
190 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 | |
191 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 | |
a52d2f81 HW |
192 | #define QE_MURAM_SIZE 0x6000UL |
193 | #define MAX_QE_RISC 1 | |
194 | #define QE_NUM_OF_SNUM 28 | |
e46fedfe | 195 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
093cffbe KG |
196 | |
197 | /* P1017 is single core version of P1023 */ | |
67a719da RZ |
198 | #elif defined(CONFIG_P1017) |
199 | #define CONFIG_MAX_CPUS 1 | |
200 | #define CONFIG_SYS_FSL_NUM_LAWS 12 | |
201 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 | |
202 | #define CONFIG_SYS_NUM_FMAN 1 | |
203 | #define CONFIG_SYS_NUM_FM1_DTSEC 2 | |
204 | #define CONFIG_NUM_DDR_CONTROLLERS 1 | |
205 | #define CONFIG_SYS_QMAN_NUM_PORTALS 3 | |
206 | #define CONFIG_SYS_BMAN_NUM_PORTALS 3 | |
c657d898 | 207 | #define CONFIG_SYS_FM_MURAM_SIZE 0x10000 |
8f29084a | 208 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
e46fedfe | 209 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff600000 |
67a719da | 210 | |
243be8e2 KG |
211 | #elif defined(CONFIG_P1020) |
212 | #define CONFIG_MAX_CPUS 2 | |
213 | #define CONFIG_SYS_FSL_NUM_LAWS 12 | |
214 | #define CONFIG_TSECV2 | |
b03a466d | 215 | #define CONFIG_FSL_PCIE_DISABLE_ASPM |
243be8e2 | 216 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
e46fedfe | 217 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
093cffbe KG |
218 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
219 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 | |
243be8e2 KG |
220 | |
221 | #elif defined(CONFIG_P1021) | |
222 | #define CONFIG_MAX_CPUS 2 | |
223 | #define CONFIG_SYS_FSL_NUM_LAWS 12 | |
224 | #define CONFIG_TSECV2 | |
b03a466d | 225 | #define CONFIG_FSL_PCIE_DISABLE_ASPM |
243be8e2 | 226 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
e46fedfe | 227 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
093cffbe KG |
228 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
229 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 | |
a52d2f81 HW |
230 | #define QE_MURAM_SIZE 0x6000UL |
231 | #define MAX_QE_RISC 1 | |
232 | #define QE_NUM_OF_SNUM 28 | |
243be8e2 KG |
233 | |
234 | #elif defined(CONFIG_P1022) | |
235 | #define CONFIG_MAX_CPUS 2 | |
236 | #define CONFIG_SYS_FSL_NUM_LAWS 12 | |
237 | #define CONFIG_TSECV2 | |
238 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 | |
e46fedfe | 239 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
2d7534a3 JY |
240 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
241 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 | |
242 | #define CONFIG_FSL_SATA_ERRATUM_A001 | |
243be8e2 | 243 | |
67a719da RZ |
244 | #elif defined(CONFIG_P1023) |
245 | #define CONFIG_MAX_CPUS 2 | |
246 | #define CONFIG_SYS_FSL_NUM_LAWS 12 | |
247 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 | |
248 | #define CONFIG_SYS_NUM_FMAN 1 | |
249 | #define CONFIG_SYS_NUM_FM1_DTSEC 2 | |
250 | #define CONFIG_NUM_DDR_CONTROLLERS 1 | |
251 | #define CONFIG_SYS_QMAN_NUM_PORTALS 3 | |
252 | #define CONFIG_SYS_BMAN_NUM_PORTALS 3 | |
c657d898 | 253 | #define CONFIG_SYS_FM_MURAM_SIZE 0x10000 |
8f29084a | 254 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
e46fedfe | 255 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff600000 |
67a719da | 256 | |
093cffbe KG |
257 | /* P1024 is lower end variant of P1020 */ |
258 | #elif defined(CONFIG_P1024) | |
259 | #define CONFIG_MAX_CPUS 2 | |
260 | #define CONFIG_SYS_FSL_NUM_LAWS 12 | |
261 | #define CONFIG_TSECV2 | |
262 | #define CONFIG_FSL_PCIE_DISABLE_ASPM | |
263 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 | |
e46fedfe | 264 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
093cffbe KG |
265 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
266 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 | |
267 | ||
268 | /* P1025 is lower end variant of P1021 */ | |
269 | #elif defined(CONFIG_P1025) | |
270 | #define CONFIG_MAX_CPUS 2 | |
271 | #define CONFIG_SYS_FSL_NUM_LAWS 12 | |
272 | #define CONFIG_TSECV2 | |
273 | #define CONFIG_FSL_PCIE_DISABLE_ASPM | |
274 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 | |
e46fedfe | 275 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
093cffbe KG |
276 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
277 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 | |
a52d2f81 HW |
278 | #define QE_MURAM_SIZE 0x6000UL |
279 | #define MAX_QE_RISC 1 | |
280 | #define QE_NUM_OF_SNUM 28 | |
093cffbe KG |
281 | |
282 | /* P2010 is single core version of P2020 */ | |
243be8e2 KG |
283 | #elif defined(CONFIG_P2010) |
284 | #define CONFIG_MAX_CPUS 1 | |
285 | #define CONFIG_SYS_FSL_NUM_LAWS 12 | |
286 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 | |
e46fedfe | 287 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
6e7f0bc0 | 288 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
5103a03a | 289 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC_A001 |
243be8e2 KG |
290 | |
291 | #elif defined(CONFIG_P2020) | |
292 | #define CONFIG_MAX_CPUS 2 | |
293 | #define CONFIG_SYS_FSL_NUM_LAWS 12 | |
294 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 | |
e46fedfe | 295 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
6e7f0bc0 | 296 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
5103a03a | 297 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC_A001 |
243be8e2 KG |
298 | |
299 | #elif defined(CONFIG_PPC_P2040) | |
300 | #define CONFIG_MAX_CPUS 4 | |
b5c8753f | 301 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 |
243be8e2 KG |
302 | #define CONFIG_SYS_FSL_NUM_LAWS 32 |
303 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 | |
fbee0f7f KG |
304 | #define CONFIG_SYS_NUM_FMAN 1 |
305 | #define CONFIG_SYS_NUM_FM1_DTSEC 5 | |
306 | #define CONFIG_NUM_DDR_CONTROLLERS 1 | |
c657d898 | 307 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 |
66412c63 | 308 | #define CONFIG_SYS_FSL_TBCLK_DIV 32 |
8f29084a | 309 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
e46fedfe | 310 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 |
86221f09 RZ |
311 | #define CONFIG_SYS_FSL_USB1_PHY_ENABLE |
312 | #define CONFIG_SYS_FSL_USB2_PHY_ENABLE | |
b6c3722d | 313 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
30009766 | 314 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
243be8e2 | 315 | |
1f97987a KG |
316 | #elif defined(CONFIG_PPC_P2041) |
317 | #define CONFIG_MAX_CPUS 4 | |
318 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 | |
319 | #define CONFIG_SYS_FSL_NUM_LAWS 32 | |
320 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 | |
321 | #define CONFIG_SYS_NUM_FMAN 1 | |
322 | #define CONFIG_SYS_NUM_FM1_DTSEC 5 | |
323 | #define CONFIG_SYS_NUM_FM1_10GEC 1 | |
324 | #define CONFIG_NUM_DDR_CONTROLLERS 1 | |
325 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 | |
326 | #define CONFIG_SYS_FSL_TBCLK_DIV 32 | |
327 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" | |
e46fedfe | 328 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 |
1f97987a KG |
329 | #define CONFIG_SYS_FSL_USB1_PHY_ENABLE |
330 | #define CONFIG_SYS_FSL_USB2_PHY_ENABLE | |
b6c3722d | 331 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
1f97987a KG |
332 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
333 | ||
243be8e2 KG |
334 | #elif defined(CONFIG_PPC_P3041) |
335 | #define CONFIG_MAX_CPUS 4 | |
b5c8753f | 336 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 |
243be8e2 KG |
337 | #define CONFIG_SYS_FSL_NUM_LAWS 32 |
338 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 | |
fbee0f7f KG |
339 | #define CONFIG_SYS_NUM_FMAN 1 |
340 | #define CONFIG_SYS_NUM_FM1_DTSEC 5 | |
341 | #define CONFIG_SYS_NUM_FM1_10GEC 1 | |
342 | #define CONFIG_NUM_DDR_CONTROLLERS 1 | |
c657d898 | 343 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 |
66412c63 | 344 | #define CONFIG_SYS_FSL_TBCLK_DIV 32 |
8f29084a | 345 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
e46fedfe | 346 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 |
86221f09 RZ |
347 | #define CONFIG_SYS_FSL_USB1_PHY_ENABLE |
348 | #define CONFIG_SYS_FSL_USB2_PHY_ENABLE | |
b6c3722d | 349 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
30009766 | 350 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
243be8e2 | 351 | |
6d7b061a SL |
352 | #elif defined(CONFIG_PPC_P3060) |
353 | #define CONFIG_MAX_CPUS 8 | |
354 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 4 | |
355 | #define CONFIG_SYS_FSL_NUM_LAWS 32 | |
356 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 | |
357 | #define CONFIG_SYS_NUM_FMAN 2 | |
358 | #define CONFIG_SYS_NUM_FM1_DTSEC 4 | |
359 | #define CONFIG_SYS_NUM_FM2_DTSEC 4 | |
360 | #define CONFIG_NUM_DDR_CONTROLLERS 1 | |
361 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 | |
362 | #define CONFIG_SYS_FSL_TBCLK_DIV 16 | |
363 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" | |
364 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 | |
365 | #define CONFIG_SYS_FSL_ERRATUM_DDR_A003 | |
366 | ||
243be8e2 KG |
367 | #elif defined(CONFIG_PPC_P4040) |
368 | #define CONFIG_MAX_CPUS 4 | |
b5c8753f | 369 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 4 |
243be8e2 KG |
370 | #define CONFIG_SYS_FSL_NUM_LAWS 32 |
371 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 | |
c657d898 | 372 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 |
66412c63 | 373 | #define CONFIG_SYS_FSL_TBCLK_DIV 16 |
8f29084a | 374 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,p4080-pcie" |
e46fedfe | 375 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 |
243be8e2 KG |
376 | |
377 | #elif defined(CONFIG_PPC_P4080) | |
378 | #define CONFIG_MAX_CPUS 8 | |
b5c8753f | 379 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 4 |
243be8e2 KG |
380 | #define CONFIG_SYS_FSL_NUM_LAWS 32 |
381 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 | |
382 | #define CONFIG_SYS_NUM_FMAN 2 | |
383 | #define CONFIG_SYS_NUM_FM1_DTSEC 4 | |
384 | #define CONFIG_SYS_NUM_FM2_DTSEC 4 | |
385 | #define CONFIG_SYS_NUM_FM1_10GEC 1 | |
386 | #define CONFIG_SYS_NUM_FM2_10GEC 1 | |
387 | #define CONFIG_NUM_DDR_CONTROLLERS 2 | |
c657d898 | 388 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 |
66412c63 | 389 | #define CONFIG_SYS_FSL_TBCLK_DIV 16 |
8f29084a | 390 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,p4080-pcie" |
e46fedfe | 391 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 |
243be8e2 KG |
392 | #define CONFIG_SYS_FSL_ERRATUM_CPC_A002 |
393 | #define CONFIG_SYS_FSL_ERRATUM_CPC_A003 | |
fa8d23c0 | 394 | #define CONFIG_SYS_FSL_ERRATUM_DDR_A003 |
243be8e2 KG |
395 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
396 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 | |
397 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC135 | |
398 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC136 | |
399 | #define CONFIG_SYS_P4080_ERRATUM_CPU22 | |
400 | #define CONFIG_SYS_P4080_ERRATUM_SERDES8 | |
df8af0b4 | 401 | #define CONFIG_SYS_P4080_ERRATUM_SERDES9 |
d90fdba6 | 402 | #define CONFIG_SYS_P4080_ERRATUM_SERDES_A001 |
da30b9fd | 403 | #define CONFIG_SYS_P4080_ERRATUM_SERDES_A005 |
243be8e2 | 404 | |
093cffbe | 405 | /* P5010 is single core version of P5020 */ |
243be8e2 KG |
406 | #elif defined(CONFIG_PPC_P5010) |
407 | #define CONFIG_MAX_CPUS 1 | |
b5c8753f | 408 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 |
243be8e2 KG |
409 | #define CONFIG_SYS_FSL_NUM_LAWS 32 |
410 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 | |
fbee0f7f KG |
411 | #define CONFIG_SYS_NUM_FMAN 1 |
412 | #define CONFIG_SYS_NUM_FM1_DTSEC 5 | |
413 | #define CONFIG_SYS_NUM_FM1_10GEC 1 | |
414 | #define CONFIG_NUM_DDR_CONTROLLERS 1 | |
c657d898 | 415 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 |
66412c63 | 416 | #define CONFIG_SYS_FSL_TBCLK_DIV 32 |
8f29084a | 417 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
e46fedfe | 418 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 |
86221f09 RZ |
419 | #define CONFIG_SYS_FSL_USB1_PHY_ENABLE |
420 | #define CONFIG_SYS_FSL_USB2_PHY_ENABLE | |
b6c3722d | 421 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
30009766 | 422 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
243be8e2 KG |
423 | |
424 | #elif defined(CONFIG_PPC_P5020) | |
425 | #define CONFIG_MAX_CPUS 2 | |
b5c8753f | 426 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 |
243be8e2 KG |
427 | #define CONFIG_SYS_FSL_NUM_LAWS 32 |
428 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 | |
fbee0f7f KG |
429 | #define CONFIG_SYS_NUM_FMAN 1 |
430 | #define CONFIG_SYS_NUM_FM1_DTSEC 5 | |
431 | #define CONFIG_SYS_NUM_FM1_10GEC 1 | |
432 | #define CONFIG_NUM_DDR_CONTROLLERS 2 | |
c657d898 | 433 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 |
66412c63 | 434 | #define CONFIG_SYS_FSL_TBCLK_DIV 32 |
8f29084a | 435 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
e46fedfe | 436 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 |
86221f09 RZ |
437 | #define CONFIG_SYS_FSL_USB1_PHY_ENABLE |
438 | #define CONFIG_SYS_FSL_USB2_PHY_ENABLE | |
b6c3722d | 439 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
30009766 | 440 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
243be8e2 KG |
441 | |
442 | #else | |
443 | #error Processor type not defined for this platform | |
444 | #endif | |
445 | ||
e46fedfe TT |
446 | #ifndef CONFIG_SYS_CCSRBAR_DEFAULT |
447 | #error "CONFIG_SYS_CCSRBAR_DEFAULT is not defined for this platform." | |
448 | #endif | |
449 | ||
243be8e2 | 450 | #endif /* _ASM_MPC85xx_CONFIG_H_ */ |