xref: /rk3399_rockchip-uboot/arch/powerpc/include/asm/config_mpc85xx.h (revision 86221f09fb99d37ce5bfceb3ac66ca78f034cb71)
1243be8e2SKumar Gala /*
2243be8e2SKumar Gala  * Copyright 2011 Freescale Semiconductor, Inc.
3243be8e2SKumar Gala  *
4243be8e2SKumar Gala  * This program is free software; you can redistribute it and/or
5243be8e2SKumar Gala  * modify it under the terms of the GNU General Public License as
6243be8e2SKumar Gala  * published by the Free Software Foundation; either version 2 of
7243be8e2SKumar Gala  * the License, or (at your option) any later version.
8243be8e2SKumar Gala  *
9243be8e2SKumar Gala  * This program is distributed in the hope that it will be useful,
10243be8e2SKumar Gala  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11243be8e2SKumar Gala  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12243be8e2SKumar Gala  * GNU General Public License for more details.
13243be8e2SKumar Gala  *
14243be8e2SKumar Gala  * You should have received a copy of the GNU General Public License
15243be8e2SKumar Gala  * along with this program; if not, write to the Free Software
16243be8e2SKumar Gala  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
17243be8e2SKumar Gala  * MA 02111-1307 USA
18243be8e2SKumar Gala  *
19243be8e2SKumar Gala  */
20243be8e2SKumar Gala 
21243be8e2SKumar Gala #ifndef _ASM_MPC85xx_CONFIG_H_
22243be8e2SKumar Gala #define _ASM_MPC85xx_CONFIG_H_
23243be8e2SKumar Gala 
24243be8e2SKumar Gala /* SoC specific defines for Freescale MPC85xx (PQ3) and QorIQ processors */
25243be8e2SKumar Gala 
26243be8e2SKumar Gala /* Number of TLB CAM entries we have on FSL Book-E chips */
27243be8e2SKumar Gala #if defined(CONFIG_E500MC)
28243be8e2SKumar Gala #define CONFIG_SYS_NUM_TLBCAMS		64
29243be8e2SKumar Gala #elif defined(CONFIG_E500)
30243be8e2SKumar Gala #define CONFIG_SYS_NUM_TLBCAMS		16
31243be8e2SKumar Gala #endif
32243be8e2SKumar Gala 
33243be8e2SKumar Gala #if defined(CONFIG_MPC8536)
34243be8e2SKumar Gala #define CONFIG_MAX_CPUS			1
35243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		12
36243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	2
37243be8e2SKumar Gala 
38243be8e2SKumar Gala #elif defined(CONFIG_MPC8540)
39243be8e2SKumar Gala #define CONFIG_MAX_CPUS			1
40243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		8
41243be8e2SKumar Gala 
42243be8e2SKumar Gala #elif defined(CONFIG_MPC8541)
43243be8e2SKumar Gala #define CONFIG_MAX_CPUS			1
44243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		8
45243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	2
46243be8e2SKumar Gala 
47243be8e2SKumar Gala #elif defined(CONFIG_MPC8544)
48243be8e2SKumar Gala #define CONFIG_MAX_CPUS			1
49243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		10
50243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	2
51243be8e2SKumar Gala 
52243be8e2SKumar Gala #elif defined(CONFIG_MPC8548)
53243be8e2SKumar Gala #define CONFIG_MAX_CPUS			1
54243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		10
55243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	2
56243be8e2SKumar Gala 
57243be8e2SKumar Gala #elif defined(CONFIG_MPC8555)
58243be8e2SKumar Gala #define CONFIG_MAX_CPUS			1
59243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		8
60243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	2
61243be8e2SKumar Gala 
62243be8e2SKumar Gala #elif defined(CONFIG_MPC8560)
63243be8e2SKumar Gala #define CONFIG_MAX_CPUS			1
64243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		8
65243be8e2SKumar Gala 
66243be8e2SKumar Gala #elif defined(CONFIG_MPC8568)
67243be8e2SKumar Gala #define CONFIG_MAX_CPUS			1
68243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		10
69243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	2
70fdb4dad3SKumar Gala #define QE_MURAM_SIZE			0x10000UL
71fdb4dad3SKumar Gala #define MAX_QE_RISC			2
72fdb4dad3SKumar Gala #define QE_NUM_OF_SNUM			28
73243be8e2SKumar Gala 
74243be8e2SKumar Gala #elif defined(CONFIG_MPC8569)
75243be8e2SKumar Gala #define CONFIG_MAX_CPUS			1
76243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		10
77243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	2
78fdb4dad3SKumar Gala #define QE_MURAM_SIZE			0x20000UL
79fdb4dad3SKumar Gala #define MAX_QE_RISC			4
80fdb4dad3SKumar Gala #define QE_NUM_OF_SNUM			46
81243be8e2SKumar Gala 
82243be8e2SKumar Gala #elif defined(CONFIG_MPC8572)
83243be8e2SKumar Gala #define CONFIG_MAX_CPUS			2
84243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		12
85243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	2
86eb0aff77SYork Sun #define CONFIG_SYS_FSL_ERRATUM_DDR_115
8791671913SYork Sun #define CONFIG_SYS_FSL_ERRATUM_DDR111_DDR134
88243be8e2SKumar Gala 
89243be8e2SKumar Gala #elif defined(CONFIG_P1010)
90243be8e2SKumar Gala #define CONFIG_MAX_CPUS			1
9132c8cfb2SPriyanka Jain #define CONFIG_FSL_SDHC_V2_3
92243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		12
93243be8e2SKumar Gala #define CONFIG_TSECV2
94243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	4
951fbf3483SPoonam Aggrwal #define CONFIG_FSL_SATA_V2
961fbf3483SPoonam Aggrwal #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
971fbf3483SPoonam Aggrwal #define CONFIG_NUM_DDR_CONTROLLERS	1
981fbf3483SPoonam Aggrwal #define CONFIG_SYS_CCSRBAR_DEFAULT	0xff700000
99243be8e2SKumar Gala 
100093cffbeSKumar Gala /* P1011 is single core version of P1020 */
101243be8e2SKumar Gala #elif defined(CONFIG_P1011)
102243be8e2SKumar Gala #define CONFIG_MAX_CPUS			1
103243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		12
104243be8e2SKumar Gala #define CONFIG_TSECV2
105b03a466dSPrabhakar Kushwaha #define CONFIG_FSL_PCIE_DISABLE_ASPM
106243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	2
107093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
108093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
109243be8e2SKumar Gala 
110093cffbeSKumar Gala /* P1012 is single core version of P1021 */
111243be8e2SKumar Gala #elif defined(CONFIG_P1012)
112243be8e2SKumar Gala #define CONFIG_MAX_CPUS			1
113243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		12
114243be8e2SKumar Gala #define CONFIG_TSECV2
115b03a466dSPrabhakar Kushwaha #define CONFIG_FSL_PCIE_DISABLE_ASPM
116243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	2
117093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
118093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
119a52d2f81SHaiying Wang #define QE_MURAM_SIZE			0x6000UL
120a52d2f81SHaiying Wang #define MAX_QE_RISC			1
121a52d2f81SHaiying Wang #define QE_NUM_OF_SNUM			28
122243be8e2SKumar Gala 
123093cffbeSKumar Gala /* P1013 is single core version of P1022 */
124243be8e2SKumar Gala #elif defined(CONFIG_P1013)
125243be8e2SKumar Gala #define CONFIG_MAX_CPUS			1
126243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		12
127243be8e2SKumar Gala #define CONFIG_TSECV2
128243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	2
1292d7534a3SJiang Yutang #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
1302d7534a3SJiang Yutang #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
1312d7534a3SJiang Yutang #define CONFIG_FSL_SATA_ERRATUM_A001
132243be8e2SKumar Gala 
133243be8e2SKumar Gala #elif defined(CONFIG_P1014)
134243be8e2SKumar Gala #define CONFIG_MAX_CPUS			1
13532c8cfb2SPriyanka Jain #define CONFIG_FSL_SDHC_V2_3
136243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		12
137243be8e2SKumar Gala #define CONFIG_TSECV2
138243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	4
1391fbf3483SPoonam Aggrwal #define CONFIG_FSL_SATA_V2
1401fbf3483SPoonam Aggrwal #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
1411fbf3483SPoonam Aggrwal #define CONFIG_NUM_DDR_CONTROLLERS	1
1421fbf3483SPoonam Aggrwal #define CONFIG_SYS_CCSRBAR_DEFAULT	0xff700000
143243be8e2SKumar Gala 
144093cffbeSKumar Gala /* P1015 is single core version of P1024 */
145093cffbeSKumar Gala #elif defined(CONFIG_P1015)
146093cffbeSKumar Gala #define CONFIG_MAX_CPUS			1
147093cffbeSKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		12
148093cffbeSKumar Gala #define CONFIG_TSECV2
149093cffbeSKumar Gala #define CONFIG_FSL_PCIE_DISABLE_ASPM
150093cffbeSKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	2
151093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
152093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
153093cffbeSKumar Gala 
154093cffbeSKumar Gala /* P1016 is single core version of P1025 */
155093cffbeSKumar Gala #elif defined(CONFIG_P1016)
156093cffbeSKumar Gala #define CONFIG_MAX_CPUS			1
157093cffbeSKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		12
158093cffbeSKumar Gala #define CONFIG_TSECV2
159093cffbeSKumar Gala #define CONFIG_FSL_PCIE_DISABLE_ASPM
160093cffbeSKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	2
161093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
162093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
163a52d2f81SHaiying Wang #define QE_MURAM_SIZE			0x6000UL
164a52d2f81SHaiying Wang #define MAX_QE_RISC			1
165a52d2f81SHaiying Wang #define QE_NUM_OF_SNUM			28
166093cffbeSKumar Gala 
167093cffbeSKumar Gala /* P1017 is single core version of P1023 */
16867a719daSRoy Zang #elif defined(CONFIG_P1017)
16967a719daSRoy Zang #define CONFIG_MAX_CPUS			1
17067a719daSRoy Zang #define CONFIG_SYS_FSL_NUM_LAWS		12
17167a719daSRoy Zang #define CONFIG_SYS_FSL_SEC_COMPAT	4
17267a719daSRoy Zang #define CONFIG_SYS_NUM_FMAN		1
17367a719daSRoy Zang #define CONFIG_SYS_NUM_FM1_DTSEC	2
17467a719daSRoy Zang #define CONFIG_NUM_DDR_CONTROLLERS	1
17567a719daSRoy Zang #define CONFIG_SYS_QMAN_NUM_PORTALS	3
17667a719daSRoy Zang #define CONFIG_SYS_BMAN_NUM_PORTALS	3
177c657d898SKumar Gala #define CONFIG_SYS_FM_MURAM_SIZE	0x10000
17867a719daSRoy Zang 
179243be8e2SKumar Gala #elif defined(CONFIG_P1020)
180243be8e2SKumar Gala #define CONFIG_MAX_CPUS			2
181243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		12
182243be8e2SKumar Gala #define CONFIG_TSECV2
183b03a466dSPrabhakar Kushwaha #define CONFIG_FSL_PCIE_DISABLE_ASPM
184243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	2
185093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
186093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
187243be8e2SKumar Gala 
188243be8e2SKumar Gala #elif defined(CONFIG_P1021)
189243be8e2SKumar Gala #define CONFIG_MAX_CPUS			2
190243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		12
191243be8e2SKumar Gala #define CONFIG_TSECV2
192b03a466dSPrabhakar Kushwaha #define CONFIG_FSL_PCIE_DISABLE_ASPM
193243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	2
194093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
195093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
196a52d2f81SHaiying Wang #define QE_MURAM_SIZE			0x6000UL
197a52d2f81SHaiying Wang #define MAX_QE_RISC			1
198a52d2f81SHaiying Wang #define QE_NUM_OF_SNUM			28
199243be8e2SKumar Gala 
200243be8e2SKumar Gala #elif defined(CONFIG_P1022)
201243be8e2SKumar Gala #define CONFIG_MAX_CPUS			2
202243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		12
203243be8e2SKumar Gala #define CONFIG_TSECV2
204243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	2
2052d7534a3SJiang Yutang #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
2062d7534a3SJiang Yutang #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
2072d7534a3SJiang Yutang #define CONFIG_FSL_SATA_ERRATUM_A001
208243be8e2SKumar Gala 
20967a719daSRoy Zang #elif defined(CONFIG_P1023)
21067a719daSRoy Zang #define CONFIG_MAX_CPUS			2
21167a719daSRoy Zang #define CONFIG_SYS_FSL_NUM_LAWS		12
21267a719daSRoy Zang #define CONFIG_SYS_FSL_SEC_COMPAT	4
21367a719daSRoy Zang #define CONFIG_SYS_NUM_FMAN		1
21467a719daSRoy Zang #define CONFIG_SYS_NUM_FM1_DTSEC	2
21567a719daSRoy Zang #define CONFIG_NUM_DDR_CONTROLLERS	1
21667a719daSRoy Zang #define CONFIG_SYS_QMAN_NUM_PORTALS	3
21767a719daSRoy Zang #define CONFIG_SYS_BMAN_NUM_PORTALS	3
218c657d898SKumar Gala #define CONFIG_SYS_FM_MURAM_SIZE	0x10000
21967a719daSRoy Zang 
220093cffbeSKumar Gala /* P1024 is lower end variant of P1020 */
221093cffbeSKumar Gala #elif defined(CONFIG_P1024)
222093cffbeSKumar Gala #define CONFIG_MAX_CPUS			2
223093cffbeSKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		12
224093cffbeSKumar Gala #define CONFIG_TSECV2
225093cffbeSKumar Gala #define CONFIG_FSL_PCIE_DISABLE_ASPM
226093cffbeSKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	2
227093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
228093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
229093cffbeSKumar Gala 
230093cffbeSKumar Gala /* P1025 is lower end variant of P1021 */
231093cffbeSKumar Gala #elif defined(CONFIG_P1025)
232093cffbeSKumar Gala #define CONFIG_MAX_CPUS			2
233093cffbeSKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		12
234093cffbeSKumar Gala #define CONFIG_TSECV2
235093cffbeSKumar Gala #define CONFIG_FSL_PCIE_DISABLE_ASPM
236093cffbeSKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	2
237093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
238093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
239a52d2f81SHaiying Wang #define QE_MURAM_SIZE			0x6000UL
240a52d2f81SHaiying Wang #define MAX_QE_RISC			1
241a52d2f81SHaiying Wang #define QE_NUM_OF_SNUM			28
242093cffbeSKumar Gala 
243093cffbeSKumar Gala /* P2010 is single core version of P2020 */
244243be8e2SKumar Gala #elif defined(CONFIG_P2010)
245243be8e2SKumar Gala #define CONFIG_MAX_CPUS			1
246243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		12
247243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	2
2486e7f0bc0SKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
2495103a03aSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC_A001
250243be8e2SKumar Gala 
251243be8e2SKumar Gala #elif defined(CONFIG_P2020)
252243be8e2SKumar Gala #define CONFIG_MAX_CPUS			2
253243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		12
254243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	2
2556e7f0bc0SKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
2565103a03aSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC_A001
257243be8e2SKumar Gala 
258243be8e2SKumar Gala #elif defined(CONFIG_PPC_P2040)
259243be8e2SKumar Gala #define CONFIG_MAX_CPUS			4
260b5c8753fSKumar Gala #define CONFIG_SYS_FSL_NUM_CC_PLLS	2
261243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		32
262243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	4
263fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FMAN		1
264fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FM1_DTSEC	5
265fbee0f7fSKumar Gala #define CONFIG_NUM_DDR_CONTROLLERS	1
266c657d898SKumar Gala #define CONFIG_SYS_FM_MURAM_SIZE	0x28000
267*86221f09SRoy Zang #define CONFIG_SYS_FSL_USB1_PHY_ENABLE
268*86221f09SRoy Zang #define CONFIG_SYS_FSL_USB2_PHY_ENABLE
269243be8e2SKumar Gala 
270243be8e2SKumar Gala #elif defined(CONFIG_PPC_P3041)
271243be8e2SKumar Gala #define CONFIG_MAX_CPUS			4
272b5c8753fSKumar Gala #define CONFIG_SYS_FSL_NUM_CC_PLLS	2
273243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		32
274243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	4
275fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FMAN		1
276fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FM1_DTSEC	5
277fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FM1_10GEC	1
278fbee0f7fSKumar Gala #define CONFIG_NUM_DDR_CONTROLLERS	1
279c657d898SKumar Gala #define CONFIG_SYS_FM_MURAM_SIZE	0x28000
280*86221f09SRoy Zang #define CONFIG_SYS_FSL_USB1_PHY_ENABLE
281*86221f09SRoy Zang #define CONFIG_SYS_FSL_USB2_PHY_ENABLE
282243be8e2SKumar Gala 
283243be8e2SKumar Gala #elif defined(CONFIG_PPC_P4040)
284243be8e2SKumar Gala #define CONFIG_MAX_CPUS			4
285b5c8753fSKumar Gala #define CONFIG_SYS_FSL_NUM_CC_PLLS	4
286243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		32
287243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	4
288c657d898SKumar Gala #define CONFIG_SYS_FM_MURAM_SIZE	0x28000
289243be8e2SKumar Gala 
290243be8e2SKumar Gala #elif defined(CONFIG_PPC_P4080)
291243be8e2SKumar Gala #define CONFIG_MAX_CPUS			8
292b5c8753fSKumar Gala #define CONFIG_SYS_FSL_NUM_CC_PLLS	4
293243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		32
294243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	4
295243be8e2SKumar Gala #define CONFIG_SYS_NUM_FMAN		2
296243be8e2SKumar Gala #define CONFIG_SYS_NUM_FM1_DTSEC	4
297243be8e2SKumar Gala #define CONFIG_SYS_NUM_FM2_DTSEC	4
298243be8e2SKumar Gala #define CONFIG_SYS_NUM_FM1_10GEC	1
299243be8e2SKumar Gala #define CONFIG_SYS_NUM_FM2_10GEC	1
300243be8e2SKumar Gala #define CONFIG_NUM_DDR_CONTROLLERS	2
301c657d898SKumar Gala #define CONFIG_SYS_FM_MURAM_SIZE	0x28000
302243be8e2SKumar Gala #define CONFIG_SYS_FSL_ERRATUM_CPC_A002
303243be8e2SKumar Gala #define CONFIG_SYS_FSL_ERRATUM_CPC_A003
304fa8d23c0SYork Sun #define CONFIG_SYS_FSL_ERRATUM_DDR_A003
305243be8e2SKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
306243be8e2SKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111
307243be8e2SKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC135
308243be8e2SKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC136
309243be8e2SKumar Gala #define CONFIG_SYS_P4080_ERRATUM_CPU22
310243be8e2SKumar Gala #define CONFIG_SYS_P4080_ERRATUM_SERDES8
311df8af0b4SEmil Medve #define CONFIG_SYS_P4080_ERRATUM_SERDES9
312243be8e2SKumar Gala 
313093cffbeSKumar Gala /* P5010 is single core version of P5020 */
314243be8e2SKumar Gala #elif defined(CONFIG_PPC_P5010)
315243be8e2SKumar Gala #define CONFIG_MAX_CPUS			1
316b5c8753fSKumar Gala #define CONFIG_SYS_FSL_NUM_CC_PLLS	2
317243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		32
318243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	4
319fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FMAN		1
320fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FM1_DTSEC	5
321fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FM1_10GEC	1
322fbee0f7fSKumar Gala #define CONFIG_NUM_DDR_CONTROLLERS	1
323c657d898SKumar Gala #define CONFIG_SYS_FM_MURAM_SIZE	0x28000
324*86221f09SRoy Zang #define CONFIG_SYS_FSL_USB1_PHY_ENABLE
325*86221f09SRoy Zang #define CONFIG_SYS_FSL_USB2_PHY_ENABLE
326243be8e2SKumar Gala 
327243be8e2SKumar Gala #elif defined(CONFIG_PPC_P5020)
328243be8e2SKumar Gala #define CONFIG_MAX_CPUS			2
329b5c8753fSKumar Gala #define CONFIG_SYS_FSL_NUM_CC_PLLS	2
330243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS		32
331243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT	4
332fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FMAN		1
333fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FM1_DTSEC	5
334fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FM1_10GEC	1
335fbee0f7fSKumar Gala #define CONFIG_NUM_DDR_CONTROLLERS	2
336c657d898SKumar Gala #define CONFIG_SYS_FM_MURAM_SIZE	0x28000
337*86221f09SRoy Zang #define CONFIG_SYS_FSL_USB1_PHY_ENABLE
338*86221f09SRoy Zang #define CONFIG_SYS_FSL_USB2_PHY_ENABLE
339243be8e2SKumar Gala 
340243be8e2SKumar Gala #else
341243be8e2SKumar Gala #error Processor type not defined for this platform
342243be8e2SKumar Gala #endif
343243be8e2SKumar Gala 
344243be8e2SKumar Gala #endif /* _ASM_MPC85xx_CONFIG_H_ */
345