2 * Copyright 2011-2012 Freescale Semiconductor, Inc.
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.
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.
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,
21 #ifndef _ASM_MPC85xx_CONFIG_H_
22 #define _ASM_MPC85xx_CONFIG_H_
24 /* SoC specific defines for Freescale MPC85xx (PQ3) and QorIQ processors */
26 #ifdef CONFIG_SYS_CCSRBAR_DEFAULT
27 #error "Do not define CONFIG_SYS_CCSRBAR_DEFAULT in the board header file."
31 * This macro should be removed when we no longer care about backwards
32 * compatibility with older operating systems.
34 #define CONFIG_PPC_SPINTABLE_COMPATIBLE
36 #define FSL_DDR_VER_4_7 47
38 /* Number of TLB CAM entries we have on FSL Book-E chips */
39 #if defined(CONFIG_E500MC)
40 #define CONFIG_SYS_NUM_TLBCAMS 64
41 #elif defined(CONFIG_E500)
42 #define CONFIG_SYS_NUM_TLBCAMS 16
45 #if defined(CONFIG_MPC8536)
46 #define CONFIG_MAX_CPUS 1
47 #define CONFIG_SYS_FSL_NUM_LAWS 12
48 #define CONFIG_SYS_PPC_E500_DEBUG_TLB 1
49 #define CONFIG_SYS_FSL_SEC_COMPAT 2
50 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
52 #elif defined(CONFIG_MPC8540)
53 #define CONFIG_MAX_CPUS 1
54 #define CONFIG_SYS_FSL_NUM_LAWS 8
55 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
57 #elif defined(CONFIG_MPC8541)
58 #define CONFIG_MAX_CPUS 1
59 #define CONFIG_SYS_FSL_NUM_LAWS 8
60 #define CONFIG_SYS_FSL_SEC_COMPAT 2
61 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
63 #elif defined(CONFIG_MPC8544)
64 #define CONFIG_MAX_CPUS 1
65 #define CONFIG_SYS_FSL_NUM_LAWS 10
66 #define CONFIG_SYS_PPC_E500_DEBUG_TLB 0
67 #define CONFIG_SYS_FSL_SEC_COMPAT 2
68 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
70 #elif defined(CONFIG_MPC8548)
71 #define CONFIG_MAX_CPUS 1
72 #define CONFIG_SYS_FSL_NUM_LAWS 10
73 #define CONFIG_SYS_PPC_E500_DEBUG_TLB 0
74 #define CONFIG_SYS_FSL_SEC_COMPAT 2
75 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
76 #define CONFIG_SYS_FSL_ERRATUM_NMG_DDR120
77 #define CONFIG_SYS_FSL_ERRATUM_NMG_LBC103
78 #define CONFIG_SYS_FSL_ERRATUM_NMG_ETSEC129
79 #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 1
80 #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
81 #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
82 #define CONFIG_SYS_FSL_RMU
83 #define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2
85 #elif defined(CONFIG_MPC8555)
86 #define CONFIG_MAX_CPUS 1
87 #define CONFIG_SYS_FSL_NUM_LAWS 8
88 #define CONFIG_SYS_FSL_SEC_COMPAT 2
89 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
91 #elif defined(CONFIG_MPC8560)
92 #define CONFIG_MAX_CPUS 1
93 #define CONFIG_SYS_FSL_NUM_LAWS 8
94 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
96 #elif defined(CONFIG_MPC8568)
97 #define CONFIG_MAX_CPUS 1
98 #define CONFIG_SYS_FSL_NUM_LAWS 10
99 #define CONFIG_SYS_FSL_SEC_COMPAT 2
100 #define QE_MURAM_SIZE 0x10000UL
101 #define MAX_QE_RISC 2
102 #define QE_NUM_OF_SNUM 28
103 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
104 #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 1
105 #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
106 #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
107 #define CONFIG_SYS_FSL_RMU
108 #define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2
110 #elif defined(CONFIG_MPC8569)
111 #define CONFIG_MAX_CPUS 1
112 #define CONFIG_SYS_FSL_NUM_LAWS 10
113 #define CONFIG_SYS_FSL_SEC_COMPAT 2
114 #define QE_MURAM_SIZE 0x20000UL
115 #define MAX_QE_RISC 4
116 #define QE_NUM_OF_SNUM 46
117 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
118 #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 1
119 #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
120 #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
121 #define CONFIG_SYS_FSL_RMU
122 #define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2
124 #elif defined(CONFIG_MPC8572)
125 #define CONFIG_MAX_CPUS 2
126 #define CONFIG_SYS_FSL_NUM_LAWS 12
127 #define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
128 #define CONFIG_SYS_FSL_SEC_COMPAT 2
129 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
130 #define CONFIG_SYS_FSL_ERRATUM_DDR_115
131 #define CONFIG_SYS_FSL_ERRATUM_DDR111_DDR134
133 #elif defined(CONFIG_P1010)
134 #define CONFIG_MAX_CPUS 1
135 #define CONFIG_FSL_SDHC_V2_3
136 #define CONFIG_SYS_FSL_NUM_LAWS 12
137 #define CONFIG_SYS_PPC_E500_DEBUG_TLB 3
138 #define CONFIG_TSECV2
139 #define CONFIG_SYS_FSL_SEC_COMPAT 4
140 #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
141 #define CONFIG_NUM_DDR_CONTROLLERS 1
142 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
143 #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
144 #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
145 #define CONFIG_SYS_FSL_ERRATUM_IFC_A002769
146 #define CONFIG_SYS_FSL_ERRATUM_P1010_A003549
147 #define CONFIG_SYS_FSL_ERRATUM_IFC_A003399
149 /* P1011 is single core version of P1020 */
150 #elif defined(CONFIG_P1011)
151 #define CONFIG_MAX_CPUS 1
152 #define CONFIG_SYS_FSL_NUM_LAWS 12
153 #define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
154 #define CONFIG_TSECV2
155 #define CONFIG_FSL_PCIE_DISABLE_ASPM
156 #define CONFIG_SYS_FSL_SEC_COMPAT 2
157 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
158 #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
159 #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
161 /* P1012 is single core version of P1021 */
162 #elif defined(CONFIG_P1012)
163 #define CONFIG_MAX_CPUS 1
164 #define CONFIG_SYS_FSL_NUM_LAWS 12
165 #define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
166 #define CONFIG_TSECV2
167 #define CONFIG_FSL_PCIE_DISABLE_ASPM
168 #define CONFIG_SYS_FSL_SEC_COMPAT 2
169 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
170 #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
171 #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
172 #define QE_MURAM_SIZE 0x6000UL
173 #define MAX_QE_RISC 1
174 #define QE_NUM_OF_SNUM 28
176 /* P1013 is single core version of P1022 */
177 #elif defined(CONFIG_P1013)
178 #define CONFIG_MAX_CPUS 1
179 #define CONFIG_SYS_FSL_NUM_LAWS 12
180 #define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
181 #define CONFIG_TSECV2
182 #define CONFIG_SYS_FSL_SEC_COMPAT 2
183 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
184 #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
185 #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
186 #define CONFIG_FSL_SATA_ERRATUM_A001
188 #elif defined(CONFIG_P1014)
189 #define CONFIG_MAX_CPUS 1
190 #define CONFIG_FSL_SDHC_V2_3
191 #define CONFIG_SYS_FSL_NUM_LAWS 12
192 #define CONFIG_SYS_PPC_E500_DEBUG_TLB 3
193 #define CONFIG_TSECV2
194 #define CONFIG_SYS_FSL_SEC_COMPAT 4
195 #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
196 #define CONFIG_NUM_DDR_CONTROLLERS 1
197 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
198 #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
199 #define CONFIG_SYS_FSL_ERRATUM_IFC_A002769
200 #define CONFIG_SYS_FSL_ERRATUM_P1010_A003549
201 #define CONFIG_SYS_FSL_ERRATUM_IFC_A003399
203 /* P1017 is single core version of P1023 */
204 #elif defined(CONFIG_P1017)
205 #define CONFIG_MAX_CPUS 1
206 #define CONFIG_SYS_FSL_NUM_LAWS 12
207 #define CONFIG_SYS_FSL_SEC_COMPAT 4
208 #define CONFIG_SYS_NUM_FMAN 1
209 #define CONFIG_SYS_NUM_FM1_DTSEC 2
210 #define CONFIG_NUM_DDR_CONTROLLERS 1
211 #define CONFIG_SYS_QMAN_NUM_PORTALS 3
212 #define CONFIG_SYS_BMAN_NUM_PORTALS 3
213 #define CONFIG_SYS_FM_MURAM_SIZE 0x10000
214 #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
215 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff600000
217 #elif defined(CONFIG_P1020)
218 #define CONFIG_MAX_CPUS 2
219 #define CONFIG_SYS_FSL_NUM_LAWS 12
220 #define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
221 #define CONFIG_TSECV2
222 #define CONFIG_FSL_PCIE_DISABLE_ASPM
223 #define CONFIG_SYS_FSL_SEC_COMPAT 2
224 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
225 #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
226 #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
228 #elif defined(CONFIG_P1021)
229 #define CONFIG_MAX_CPUS 2
230 #define CONFIG_SYS_FSL_NUM_LAWS 12
231 #define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
232 #define CONFIG_TSECV2
233 #define CONFIG_FSL_PCIE_DISABLE_ASPM
234 #define CONFIG_SYS_FSL_SEC_COMPAT 2
235 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
236 #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
237 #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
238 #define QE_MURAM_SIZE 0x6000UL
239 #define MAX_QE_RISC 1
240 #define QE_NUM_OF_SNUM 28
242 #elif defined(CONFIG_P1022)
243 #define CONFIG_MAX_CPUS 2
244 #define CONFIG_SYS_FSL_NUM_LAWS 12
245 #define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
246 #define CONFIG_TSECV2
247 #define CONFIG_SYS_FSL_SEC_COMPAT 2
248 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
249 #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
250 #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
251 #define CONFIG_FSL_SATA_ERRATUM_A001
253 #elif defined(CONFIG_P1023)
254 #define CONFIG_MAX_CPUS 2
255 #define CONFIG_SYS_FSL_NUM_LAWS 12
256 #define CONFIG_SYS_FSL_SEC_COMPAT 4
257 #define CONFIG_SYS_NUM_FMAN 1
258 #define CONFIG_SYS_NUM_FM1_DTSEC 2
259 #define CONFIG_NUM_DDR_CONTROLLERS 1
260 #define CONFIG_SYS_QMAN_NUM_PORTALS 3
261 #define CONFIG_SYS_BMAN_NUM_PORTALS 3
262 #define CONFIG_SYS_FM_MURAM_SIZE 0x10000
263 #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
264 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff600000
266 /* P1024 is lower end variant of P1020 */
267 #elif defined(CONFIG_P1024)
268 #define CONFIG_MAX_CPUS 2
269 #define CONFIG_SYS_FSL_NUM_LAWS 12
270 #define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
271 #define CONFIG_TSECV2
272 #define CONFIG_FSL_PCIE_DISABLE_ASPM
273 #define CONFIG_SYS_FSL_SEC_COMPAT 2
274 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
275 #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
276 #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
278 /* P1025 is lower end variant of P1021 */
279 #elif defined(CONFIG_P1025)
280 #define CONFIG_MAX_CPUS 2
281 #define CONFIG_SYS_FSL_NUM_LAWS 12
282 #define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
283 #define CONFIG_TSECV2
284 #define CONFIG_FSL_PCIE_DISABLE_ASPM
285 #define CONFIG_SYS_FSL_SEC_COMPAT 2
286 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
287 #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
288 #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
289 #define QE_MURAM_SIZE 0x6000UL
290 #define MAX_QE_RISC 1
291 #define QE_NUM_OF_SNUM 28
293 /* P2010 is single core version of P2020 */
294 #elif defined(CONFIG_P2010)
295 #define CONFIG_MAX_CPUS 1
296 #define CONFIG_SYS_FSL_NUM_LAWS 12
297 #define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
298 #define CONFIG_SYS_FSL_SEC_COMPAT 2
299 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
300 #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
301 #define CONFIG_SYS_FSL_ERRATUM_ESDHC_A001
303 #elif defined(CONFIG_P2020)
304 #define CONFIG_MAX_CPUS 2
305 #define CONFIG_SYS_FSL_NUM_LAWS 12
306 #define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
307 #define CONFIG_SYS_FSL_SEC_COMPAT 2
308 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
309 #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
310 #define CONFIG_SYS_FSL_ERRATUM_ESDHC_A001
311 #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
312 #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
313 #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
314 #define CONFIG_SYS_FSL_RMU
315 #define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2
317 #elif defined(CONFIG_PPC_P2041) /* also supports P2040 */
318 #define CONFIG_SYS_FSL_QORIQ_CHASSIS1
319 #define CONFIG_MAX_CPUS 4
320 #define CONFIG_SYS_FSL_NUM_CC_PLLS 2
321 #define CONFIG_SYS_FSL_NUM_LAWS 32
322 #define CONFIG_SYS_FSL_SEC_COMPAT 4
323 #define CONFIG_SYS_NUM_FMAN 1
324 #define CONFIG_SYS_NUM_FM1_DTSEC 5
325 #define CONFIG_SYS_NUM_FM1_10GEC 1
326 #define CONFIG_NUM_DDR_CONTROLLERS 1
327 #define CONFIG_SYS_FM_MURAM_SIZE 0x28000
328 #define CONFIG_SYS_FSL_TBCLK_DIV 32
329 #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
330 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
331 #define CONFIG_SYS_FSL_USB1_PHY_ENABLE
332 #define CONFIG_SYS_FSL_USB2_PHY_ENABLE
333 #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
334 #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
335 #define CONFIG_SYS_FSL_ERRATUM_NMG_CPU_A011
336 #define CONFIG_SYS_FSL_ERRATUM_USB14
337 #define CONFIG_SYS_FSL_ERRATUM_CPU_A003999
338 #define CONFIG_SYS_FSL_ERRATUM_DDR_A003
339 #define CONFIG_SYS_FSL_ERRATUM_DDR_A003474
340 #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
341 #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
342 #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
343 #define CONFIG_SYS_FSL_ERRATUM_A004510
344 #define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x10
345 #define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV2 0x11
346 #define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000
347 #define CONFIG_SYS_FSL_ERRATUM_SRIO_A004034
348 #define CONFIG_SYS_FSL_ERRATUM_A004849
350 #elif defined(CONFIG_PPC_P3041)
351 #define CONFIG_SYS_FSL_QORIQ_CHASSIS1
352 #define CONFIG_MAX_CPUS 4
353 #define CONFIG_SYS_FSL_NUM_CC_PLLS 2
354 #define CONFIG_SYS_FSL_NUM_LAWS 32
355 #define CONFIG_SYS_FSL_SEC_COMPAT 4
356 #define CONFIG_SYS_NUM_FMAN 1
357 #define CONFIG_SYS_NUM_FM1_DTSEC 5
358 #define CONFIG_SYS_NUM_FM1_10GEC 1
359 #define CONFIG_NUM_DDR_CONTROLLERS 1
360 #define CONFIG_SYS_FM_MURAM_SIZE 0x28000
361 #define CONFIG_SYS_FSL_TBCLK_DIV 32
362 #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
363 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
364 #define CONFIG_SYS_FSL_USB1_PHY_ENABLE
365 #define CONFIG_SYS_FSL_USB2_PHY_ENABLE
366 #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
367 #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
368 #define CONFIG_SYS_FSL_ERRATUM_NMG_CPU_A011
369 #define CONFIG_SYS_FSL_ERRATUM_USB14
370 #define CONFIG_SYS_FSL_ERRATUM_CPU_A003999
371 #define CONFIG_SYS_FSL_ERRATUM_DDR_A003
372 #define CONFIG_SYS_FSL_ERRATUM_DDR_A003474
373 #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
374 #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
375 #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
376 #define CONFIG_SYS_FSL_ERRATUM_A004510
377 #define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x10
378 #define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV2 0x11
379 #define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000
380 #define CONFIG_SYS_FSL_ERRATUM_SRIO_A004034
381 #define CONFIG_SYS_FSL_ERRATUM_A004849
383 #elif defined(CONFIG_PPC_P4080) /* also supports P4040 */
384 #define CONFIG_SYS_FSL_QORIQ_CHASSIS1
385 #define CONFIG_MAX_CPUS 8
386 #define CONFIG_SYS_FSL_NUM_CC_PLLS 4
387 #define CONFIG_SYS_FSL_NUM_LAWS 32
388 #define CONFIG_SYS_FSL_SEC_COMPAT 4
389 #define CONFIG_SYS_NUM_FMAN 2
390 #define CONFIG_SYS_NUM_FM1_DTSEC 4
391 #define CONFIG_SYS_NUM_FM2_DTSEC 4
392 #define CONFIG_SYS_NUM_FM1_10GEC 1
393 #define CONFIG_SYS_NUM_FM2_10GEC 1
394 #define CONFIG_NUM_DDR_CONTROLLERS 2
395 #define CONFIG_SYS_FM_MURAM_SIZE 0x28000
396 #define CONFIG_SYS_FSL_TBCLK_DIV 16
397 #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,p4080-pcie"
398 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
399 #define CONFIG_SYS_FSL_ERRATUM_CPC_A002
400 #define CONFIG_SYS_FSL_ERRATUM_CPC_A003
401 #define CONFIG_SYS_FSL_ERRATUM_DDR_A003
402 #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
403 #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
404 #define CONFIG_SYS_FSL_ERRATUM_ESDHC135
405 #define CONFIG_SYS_FSL_ERRATUM_ESDHC13
406 #define CONFIG_SYS_P4080_ERRATUM_CPU22
407 #define CONFIG_SYS_FSL_ERRATUM_NMG_CPU_A011
408 #define CONFIG_SYS_P4080_ERRATUM_SERDES8
409 #define CONFIG_SYS_P4080_ERRATUM_SERDES9
410 #define CONFIG_SYS_P4080_ERRATUM_SERDES_A001
411 #define CONFIG_SYS_P4080_ERRATUM_SERDES_A005
412 #define CONFIG_SYS_FSL_ERRATUM_CPU_A003999
413 #define CONFIG_SYS_FSL_ERRATUM_DDR_A003474
414 #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
415 #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
416 #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
417 #define CONFIG_SYS_FSL_RMU
418 #define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2
419 #define CONFIG_SYS_FSL_ERRATUM_A004510
420 #define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x20
421 #define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xff000000
422 #define CONFIG_SYS_FSL_ERRATUM_SRIO_A004034
423 #define CONFIG_SYS_FSL_ERRATUM_A004849
424 #define CONFIG_SYS_FSL_ERRATUM_A004580
425 #define CONFIG_SYS_P4080_ERRATUM_PCIE_A003
427 #elif defined(CONFIG_PPC_P5020) /* also supports P5010 */
428 #define CONFIG_SYS_PPC64 /* 64-bit core */
429 #define CONFIG_SYS_FSL_QORIQ_CHASSIS1
430 #define CONFIG_MAX_CPUS 2
431 #define CONFIG_SYS_FSL_NUM_CC_PLLS 2
432 #define CONFIG_SYS_FSL_NUM_LAWS 32
433 #define CONFIG_SYS_FSL_SEC_COMPAT 4
434 #define CONFIG_SYS_NUM_FMAN 1
435 #define CONFIG_SYS_NUM_FM1_DTSEC 5
436 #define CONFIG_SYS_NUM_FM1_10GEC 1
437 #define CONFIG_NUM_DDR_CONTROLLERS 2
438 #define CONFIG_SYS_FM_MURAM_SIZE 0x28000
439 #define CONFIG_SYS_FSL_TBCLK_DIV 32
440 #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
441 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
442 #define CONFIG_SYS_FSL_USB1_PHY_ENABLE
443 #define CONFIG_SYS_FSL_USB2_PHY_ENABLE
444 #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
445 #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
446 #define CONFIG_SYS_FSL_ERRATUM_USB14
447 #define CONFIG_SYS_FSL_ERRATUM_DDR_A003
448 #define CONFIG_SYS_FSL_ERRATUM_DDR_A003474
449 #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
450 #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
451 #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
452 #define CONFIG_SYS_FSL_ERRATUM_A004510
453 #define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x10
454 #define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xc0000000
455 #define CONFIG_SYS_FSL_ERRATUM_SRIO_A004034
457 #elif defined(CONFIG_PPC_P5040)
458 #define CONFIG_SYS_PPC64
459 #define CONFIG_SYS_FSL_QORIQ_CHASSIS1
460 #define CONFIG_MAX_CPUS 4
461 #define CONFIG_SYS_FSL_NUM_CC_PLLS 3
462 #define CONFIG_SYS_FSL_NUM_LAWS 32
463 #define CONFIG_SYS_FSL_SEC_COMPAT 4
464 #define CONFIG_SYS_NUM_FMAN 2
465 #define CONFIG_SYS_NUM_FM1_DTSEC 5
466 #define CONFIG_SYS_NUM_FM1_10GEC 1
467 #define CONFIG_SYS_NUM_FM2_DTSEC 5
468 #define CONFIG_SYS_NUM_FM2_10GEC 1
469 #define CONFIG_NUM_DDR_CONTROLLERS 2
470 #define CONFIG_SYS_FM_MURAM_SIZE 0x28000
471 #define CONFIG_SYS_FSL_TBCLK_DIV 16
472 #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.4"
473 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
474 #define CONFIG_SYS_FSL_USB1_PHY_ENABLE
475 #define CONFIG_SYS_FSL_USB2_PHY_ENABLE
476 #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
477 #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
478 #define CONFIG_SYS_FSL_ERRATUM_USB14
479 #define CONFIG_SYS_FSL_ERRATUM_DDR_A003
480 #define CONFIG_SYS_FSL_ERRATUM_DDR_A003474
481 #define CONFIG_SYS_FSL_ERRATUM_A004699
482 #define CONFIG_SYS_FSL_ERRATUM_A004510
483 #define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x10
484 #define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000
486 #elif defined(CONFIG_BSC9131)
487 #define CONFIG_MAX_CPUS 1
488 #define CONFIG_FSL_SDHC_V2_3
489 #define CONFIG_SYS_FSL_NUM_LAWS 12
490 #define CONFIG_TSECV2
491 #define CONFIG_SYS_FSL_SEC_COMPAT 4
492 #define CONFIG_NUM_DDR_CONTROLLERS 1
493 #define CONFIG_SYS_FSL_DSP_M2_RAM_ADDR 0xb0000000
494 #define CONFIG_SYS_FSL_DSP_CCSRBAR_DEFAULT 0xff600000
495 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
496 #define CONFIG_NAND_FSL_IFC
497 #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
499 #elif defined(CONFIG_BSC9132)
500 #define CONFIG_MAX_CPUS 2
501 #define CONFIG_SYS_PPC_E500_DEBUG_TLB 3
502 #define CONFIG_FSL_SDHC_V2_3
503 #define CONFIG_SYS_FSL_NUM_LAWS 12
504 #define CONFIG_TSECV2
505 #define CONFIG_SYS_FSL_SEC_COMPAT 4
506 #define CONFIG_NUM_DDR_CONTROLLERS 2
507 #define CONFIG_SYS_FSL_IFC_BANK_COUNT 3
508 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
509 #define CONFIG_NAND_FSL_IFC
510 #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
511 #define CONFIG_SYS_FSL_ESDHC_P1010_BROKEN_SDCLK
512 #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
514 #elif defined(CONFIG_PPC_T4240) || defined(CONFIG_PPC_T4160)
516 #define CONFIG_SYS_PPC64 /* 64-bit core */
517 #define CONFIG_FSL_CORENET /* Freescale CoreNet platform */
518 #define CONFIG_SYS_FSL_QORIQ_CHASSIS2 /* Freescale Chassis generation 2 */
519 #define CONFIG_SYS_FSL_CORES_PER_CLUSTER 4
520 #define CONFIG_SYS_FSL_QMAN_V3 /* QMAN version 3 */
521 #ifdef CONFIG_PPC_T4240
522 #define CONFIG_MAX_CPUS 12
523 #define CONFIG_SYS_NUM_FM1_DTSEC 8
524 #define CONFIG_SYS_NUM_FM1_10GEC 2
525 #define CONFIG_SYS_NUM_FM2_DTSEC 8
526 #define CONFIG_SYS_NUM_FM2_10GEC 2
527 #define CONFIG_NUM_DDR_CONTROLLERS 3
529 #define CONFIG_MAX_CPUS 8
530 #define CONFIG_SYS_NUM_FM1_DTSEC 7
531 #define CONFIG_SYS_NUM_FM1_10GEC 1
532 #define CONFIG_SYS_NUM_FM2_DTSEC 7
533 #define CONFIG_SYS_NUM_FM2_10GEC 1
534 #define CONFIG_NUM_DDR_CONTROLLERS 2
536 #define CONFIG_SYS_FSL_NUM_CC_PLLS 5
537 #define CONFIG_SYS_FSL_NUM_LAWS 32
538 #define CONFIG_SYS_FSL_SRDS_3
539 #define CONFIG_SYS_FSL_SRDS_4
540 #define CONFIG_SYS_FSL_SEC_COMPAT 4
541 #define CONFIG_SYS_NUM_FMAN 2
542 #define CONFIG_SYS_FSL_DDR_VER FSL_DDR_VER_4_7
543 #define CONFIG_SYS_FMAN_V3
544 #define CONFIG_SYS_FM_MURAM_SIZE 0x60000
545 #define CONFIG_SYS_FSL_TBCLK_DIV 16
546 #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v3.0"
547 #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
548 #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
549 #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
550 #define CONFIG_SYS_FSL_USB_DUAL_PHY_ENABLE
551 #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
552 #define CONFIG_SYS_FSL_ERRATUM_A004468
553 #define CONFIG_SYS_FSL_ERRATUM_A_004934
554 #define CONFIG_SYS_FSL_ERRATUM_A005871
555 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
556 #define CONFIG_SYS_FSL_PCI_VER_3_X
558 #elif defined(CONFIG_PPC_B4860) || defined(CONFIG_PPC_B4420)
560 #define CONFIG_SYS_PPC64 /* 64-bit core */
561 #define CONFIG_FSL_CORENET /* Freescale CoreNet platform */
562 #define CONFIG_SYS_FSL_QORIQ_CHASSIS2 /* Freescale Chassis generation 2 */
563 #define CONFIG_SYS_FSL_QMAN_V3 /* QMAN version 3 */
564 #define CONFIG_SYS_FSL_NUM_LAWS 32
565 #define CONFIG_SYS_FSL_SEC_COMPAT 4
566 #define CONFIG_SYS_NUM_FMAN 1
567 #define CONFIG_SYS_FSL_DDR_VER FSL_DDR_VER_4_7
568 #define CONFIG_SYS_FMAN_V3
569 #define CONFIG_SYS_FM_MURAM_SIZE 0x60000
570 #define CONFIG_SYS_FSL_TBCLK_DIV 16
571 #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.4"
572 #define CONFIG_SYS_FSL_USB1_PHY_ENABLE
573 #define CONFIG_SYS_FSL_ERRATUM_A_004934
574 #define CONFIG_SYS_FSL_ERRATUM_A005871
575 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
577 #ifdef CONFIG_PPC_B4860
578 #define CONFIG_SYS_FSL_CORES_PER_CLUSTER 4
579 #define CONFIG_MAX_CPUS 4
580 #define CONFIG_SYS_FSL_NUM_CC_PLLS 4
581 #define CONFIG_SYS_NUM_FM1_DTSEC 6
582 #define CONFIG_SYS_NUM_FM1_10GEC 2
583 #define CONFIG_NUM_DDR_CONTROLLERS 2
584 #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
585 #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
586 #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
588 #define CONFIG_MAX_CPUS 2
589 #define CONFIG_SYS_FSL_CORES_PER_CLUSTER 2
590 #define CONFIG_SYS_FSL_NUM_CC_PLLS 4
591 #define CONFIG_SYS_NUM_FM1_DTSEC 4
592 #define CONFIG_SYS_NUM_FM1_10GEC 0
593 #define CONFIG_NUM_DDR_CONTROLLERS 1
596 #elif defined(CONFIG_PPC_T1040)
598 #define CONFIG_FSL_CORENET /* Freescale CoreNet platform */
599 #define CONFIG_SYS_FSL_QORIQ_CHASSIS2 /* Freescale Chassis generation 2 */
600 #define CONFIG_SYS_FSL_CORES_PER_CLUSTER 1
601 #define CONFIG_SYS_FSL_QMAN_V3 /* QMAN version 3 */
602 #define CONFIG_MAX_CPUS 4
603 #define CONFIG_SYS_FSL_NUM_CC_PLLS 5
604 #define CONFIG_SYS_FSL_NUM_LAWS 16
605 #define CONFIG_SYS_FSL_SEC_COMPAT 4
606 #define CONFIG_SYS_NUM_FMAN 1
607 #define CONFIG_SYS_NUM_FM1_DTSEC 5
608 #define CONFIG_NUM_DDR_CONTROLLERS 1
609 #define CONFIG_SYS_FSL_DDR_VER FSL_DDR_VER_4_7
610 #define CONFIG_SYS_FSL_IFC_BANK_COUNT 4
611 #define CONFIG_SYS_FMAN_V3
612 #define CONFIG_SYS_FM_MURAM_SIZE 0x28000
613 #define CONFIG_SYS_FSL_TBCLK_DIV 32
614 #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.4"
615 #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
616 #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
617 #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
618 #define CONFIG_SYS_FSL_USB1_PHY_ENABLE
619 #define CONFIG_SYS_FSL_USB2_PHY_ENABLE
620 #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
621 #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
624 #error Processor type not defined for this platform
627 #ifndef CONFIG_SYS_CCSRBAR_DEFAULT
628 #error "CONFIG_SYS_CCSRBAR_DEFAULT is not defined for this platform."
632 #define CONFIG_SYS_FSL_THREADS_PER_CORE 2
634 #define CONFIG_SYS_FSL_THREADS_PER_CORE 1
637 #endif /* _ASM_MPC85xx_CONFIG_H_ */