blob: 8a7c81b808348bb4872dc7202968c762fdb31996 [file] [log] [blame]
Kumar Galafe137112011-01-19 03:05:26 -06001/*
Prabhakar Kushwahabeebb882012-04-24 20:16:49 +00002 * Copyright 2011-2012 Freescale Semiconductor, Inc.
Kumar Galafe137112011-01-19 03:05:26 -06003 *
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
Timur Tabid8f341c2011-08-04 18:03:41 -050026#ifdef CONFIG_SYS_CCSRBAR_DEFAULT
27#error "Do not define CONFIG_SYS_CCSRBAR_DEFAULT in the board header file."
28#endif
29
York Sun7d69ea32012-10-08 07:44:22 +000030#define FSL_DDR_VER_4_7 47
31
Kumar Galafe137112011-01-19 03:05:26 -060032/* Number of TLB CAM entries we have on FSL Book-E chips */
33#if defined(CONFIG_E500MC)
34#define CONFIG_SYS_NUM_TLBCAMS 64
35#elif defined(CONFIG_E500)
36#define CONFIG_SYS_NUM_TLBCAMS 16
37#endif
38
39#if defined(CONFIG_MPC8536)
40#define CONFIG_MAX_CPUS 1
41#define CONFIG_SYS_FSL_NUM_LAWS 12
Prabhakar Kushwaha826cf622012-08-15 04:12:43 +000042#define CONFIG_SYS_PPC_E500_DEBUG_TLB 1
Kumar Galafe137112011-01-19 03:05:26 -060043#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabid8f341c2011-08-04 18:03:41 -050044#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Galafe137112011-01-19 03:05:26 -060045
Wolfgang Denka4de8352011-02-02 22:36:10 +010046#elif defined(CONFIG_MPC8540)
Kumar Galafe137112011-01-19 03:05:26 -060047#define CONFIG_MAX_CPUS 1
48#define CONFIG_SYS_FSL_NUM_LAWS 8
Timur Tabid8f341c2011-08-04 18:03:41 -050049#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Galafe137112011-01-19 03:05:26 -060050
Wolfgang Denka4de8352011-02-02 22:36:10 +010051#elif defined(CONFIG_MPC8541)
Kumar Galafe137112011-01-19 03:05:26 -060052#define CONFIG_MAX_CPUS 1
53#define CONFIG_SYS_FSL_NUM_LAWS 8
54#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabid8f341c2011-08-04 18:03:41 -050055#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Galafe137112011-01-19 03:05:26 -060056
57#elif defined(CONFIG_MPC8544)
58#define CONFIG_MAX_CPUS 1
59#define CONFIG_SYS_FSL_NUM_LAWS 10
Prabhakar Kushwaha826cf622012-08-15 04:12:43 +000060#define CONFIG_SYS_PPC_E500_DEBUG_TLB 0
Kumar Galafe137112011-01-19 03:05:26 -060061#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabid8f341c2011-08-04 18:03:41 -050062#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Galafe137112011-01-19 03:05:26 -060063
64#elif defined(CONFIG_MPC8548)
65#define CONFIG_MAX_CPUS 1
66#define CONFIG_SYS_FSL_NUM_LAWS 10
Prabhakar Kushwaha826cf622012-08-15 04:12:43 +000067#define CONFIG_SYS_PPC_E500_DEBUG_TLB 0
Kumar Galafe137112011-01-19 03:05:26 -060068#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabid8f341c2011-08-04 18:03:41 -050069#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Gala866c6fa2011-09-16 09:54:30 -050070#define CONFIG_SYS_FSL_ERRATUM_NMG_DDR120
Kumar Galaf3339d62011-10-03 08:37:57 -050071#define CONFIG_SYS_FSL_ERRATUM_NMG_LBC103
chenhui zhaoc8caa8a2011-10-03 08:38:50 -050072#define CONFIG_SYS_FSL_ERRATUM_NMG_ETSEC129
Liu Gang78deaa12012-03-08 00:33:14 +000073#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 1
74#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
75#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
76#define CONFIG_SYS_FSL_RMU
77#define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2
Kumar Galafe137112011-01-19 03:05:26 -060078
79#elif defined(CONFIG_MPC8555)
80#define CONFIG_MAX_CPUS 1
81#define CONFIG_SYS_FSL_NUM_LAWS 8
82#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabid8f341c2011-08-04 18:03:41 -050083#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Galafe137112011-01-19 03:05:26 -060084
85#elif defined(CONFIG_MPC8560)
86#define CONFIG_MAX_CPUS 1
87#define CONFIG_SYS_FSL_NUM_LAWS 8
Timur Tabid8f341c2011-08-04 18:03:41 -050088#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Galafe137112011-01-19 03:05:26 -060089
90#elif defined(CONFIG_MPC8568)
91#define CONFIG_MAX_CPUS 1
92#define CONFIG_SYS_FSL_NUM_LAWS 10
93#define CONFIG_SYS_FSL_SEC_COMPAT 2
Kumar Gala52bd8152011-01-31 23:09:25 -060094#define QE_MURAM_SIZE 0x10000UL
95#define MAX_QE_RISC 2
96#define QE_NUM_OF_SNUM 28
Timur Tabid8f341c2011-08-04 18:03:41 -050097#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Liu Gang78deaa12012-03-08 00:33:14 +000098#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 1
99#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
100#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
101#define CONFIG_SYS_FSL_RMU
102#define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2
Kumar Galafe137112011-01-19 03:05:26 -0600103
104#elif defined(CONFIG_MPC8569)
105#define CONFIG_MAX_CPUS 1
106#define CONFIG_SYS_FSL_NUM_LAWS 10
107#define CONFIG_SYS_FSL_SEC_COMPAT 2
Kumar Gala52bd8152011-01-31 23:09:25 -0600108#define QE_MURAM_SIZE 0x20000UL
109#define MAX_QE_RISC 4
110#define QE_NUM_OF_SNUM 46
Timur Tabid8f341c2011-08-04 18:03:41 -0500111#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Liu Gang78deaa12012-03-08 00:33:14 +0000112#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 1
113#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
114#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
115#define CONFIG_SYS_FSL_RMU
116#define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2
Kumar Galafe137112011-01-19 03:05:26 -0600117
118#elif defined(CONFIG_MPC8572)
119#define CONFIG_MAX_CPUS 2
120#define CONFIG_SYS_FSL_NUM_LAWS 12
Prabhakar Kushwaha826cf622012-08-15 04:12:43 +0000121#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
Kumar Galafe137112011-01-19 03:05:26 -0600122#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabid8f341c2011-08-04 18:03:41 -0500123#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
York Sun9aa857b2011-01-25 21:51:27 -0800124#define CONFIG_SYS_FSL_ERRATUM_DDR_115
York Sunc8fc9592011-01-25 22:05:49 -0800125#define CONFIG_SYS_FSL_ERRATUM_DDR111_DDR134
Kumar Galafe137112011-01-19 03:05:26 -0600126
127#elif defined(CONFIG_P1010)
128#define CONFIG_MAX_CPUS 1
Priyanka Jain02449632011-02-09 09:24:10 +0530129#define CONFIG_FSL_SDHC_V2_3
Kumar Galafe137112011-01-19 03:05:26 -0600130#define CONFIG_SYS_FSL_NUM_LAWS 12
Prabhakar Kushwaha3d42a962012-04-29 23:57:12 +0000131#define CONFIG_SYS_PPC_E500_DEBUG_TLB 3
Kumar Galafe137112011-01-19 03:05:26 -0600132#define CONFIG_TSECV2
133#define CONFIG_SYS_FSL_SEC_COMPAT 4
Poonam Aggrwal7373c592011-02-06 11:31:44 +0530134#define CONFIG_FSL_SATA_V2
135#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
136#define CONFIG_NUM_DDR_CONTROLLERS 1
137#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Gala179b1b22011-05-20 00:39:21 -0500138#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
Ramneek Mehresh3fb68ee2011-03-23 15:20:43 +0530139#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
Poonam Aggrwalc7664a42011-06-30 03:00:28 -0500140#define CONFIG_SYS_FSL_ERRATUM_IFC_A002769
Poonam Aggrwalaf54a5f2011-06-29 16:32:52 +0530141#define CONFIG_SYS_FSL_ERRATUM_P1010_A003549
Poonam Aggrwal46b86ca2011-07-07 20:36:47 +0530142#define CONFIG_SYS_FSL_ERRATUM_IFC_A003399
Kumar Galafe137112011-01-19 03:05:26 -0600143
Kumar Galae4e69252011-02-05 13:45:07 -0600144/* P1011 is single core version of P1020 */
Kumar Galafe137112011-01-19 03:05:26 -0600145#elif defined(CONFIG_P1011)
146#define CONFIG_MAX_CPUS 1
147#define CONFIG_SYS_FSL_NUM_LAWS 12
Prabhakar Kushwaha3d42a962012-04-29 23:57:12 +0000148#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
Kumar Galafe137112011-01-19 03:05:26 -0600149#define CONFIG_TSECV2
Prabhakar Kushwaha1c48e772011-02-01 15:55:58 +0000150#define CONFIG_FSL_PCIE_DISABLE_ASPM
Kumar Galafe137112011-01-19 03:05:26 -0600151#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabid8f341c2011-08-04 18:03:41 -0500152#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Galae4e69252011-02-05 13:45:07 -0600153#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
154#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
Kumar Galafe137112011-01-19 03:05:26 -0600155
Kumar Galae4e69252011-02-05 13:45:07 -0600156/* P1012 is single core version of P1021 */
Kumar Galafe137112011-01-19 03:05:26 -0600157#elif defined(CONFIG_P1012)
158#define CONFIG_MAX_CPUS 1
159#define CONFIG_SYS_FSL_NUM_LAWS 12
Prabhakar Kushwaha3d42a962012-04-29 23:57:12 +0000160#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
Kumar Galafe137112011-01-19 03:05:26 -0600161#define CONFIG_TSECV2
Prabhakar Kushwaha1c48e772011-02-01 15:55:58 +0000162#define CONFIG_FSL_PCIE_DISABLE_ASPM
Kumar Galafe137112011-01-19 03:05:26 -0600163#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabid8f341c2011-08-04 18:03:41 -0500164#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Galae4e69252011-02-05 13:45:07 -0600165#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
166#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
Haiying Wang8cb2af72011-02-11 01:25:30 -0600167#define QE_MURAM_SIZE 0x6000UL
168#define MAX_QE_RISC 1
169#define QE_NUM_OF_SNUM 28
Kumar Galafe137112011-01-19 03:05:26 -0600170
Kumar Galae4e69252011-02-05 13:45:07 -0600171/* P1013 is single core version of P1022 */
Kumar Galafe137112011-01-19 03:05:26 -0600172#elif defined(CONFIG_P1013)
173#define CONFIG_MAX_CPUS 1
174#define CONFIG_SYS_FSL_NUM_LAWS 12
Prabhakar Kushwaha3d42a962012-04-29 23:57:12 +0000175#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
Kumar Galafe137112011-01-19 03:05:26 -0600176#define CONFIG_TSECV2
177#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabi293935c2011-11-21 17:10:22 -0600178#define CONFIG_FSL_SATA_V2
Timur Tabid8f341c2011-08-04 18:03:41 -0500179#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Jiang Yutang7cd05902011-01-30 17:06:20 -0600180#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
181#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
182#define CONFIG_FSL_SATA_ERRATUM_A001
Kumar Galafe137112011-01-19 03:05:26 -0600183
184#elif defined(CONFIG_P1014)
185#define CONFIG_MAX_CPUS 1
Priyanka Jain02449632011-02-09 09:24:10 +0530186#define CONFIG_FSL_SDHC_V2_3
Kumar Galafe137112011-01-19 03:05:26 -0600187#define CONFIG_SYS_FSL_NUM_LAWS 12
Prabhakar Kushwaha3d42a962012-04-29 23:57:12 +0000188#define CONFIG_SYS_PPC_E500_DEBUG_TLB 3
Kumar Galafe137112011-01-19 03:05:26 -0600189#define CONFIG_TSECV2
190#define CONFIG_SYS_FSL_SEC_COMPAT 4
Poonam Aggrwal7373c592011-02-06 11:31:44 +0530191#define CONFIG_FSL_SATA_V2
192#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
193#define CONFIG_NUM_DDR_CONTROLLERS 1
194#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Ramneek Mehresh3fb68ee2011-03-23 15:20:43 +0530195#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
Poonam Aggrwalc7664a42011-06-30 03:00:28 -0500196#define CONFIG_SYS_FSL_ERRATUM_IFC_A002769
Poonam Aggrwalaf54a5f2011-06-29 16:32:52 +0530197#define CONFIG_SYS_FSL_ERRATUM_P1010_A003549
Poonam Aggrwal46b86ca2011-07-07 20:36:47 +0530198#define CONFIG_SYS_FSL_ERRATUM_IFC_A003399
Kumar Galafe137112011-01-19 03:05:26 -0600199
Kumar Galae4e69252011-02-05 13:45:07 -0600200/* P1017 is single core version of P1023 */
Roy Zang1de20b02011-02-03 22:14:19 -0600201#elif defined(CONFIG_P1017)
202#define CONFIG_MAX_CPUS 1
203#define CONFIG_SYS_FSL_NUM_LAWS 12
204#define CONFIG_SYS_FSL_SEC_COMPAT 4
205#define CONFIG_SYS_NUM_FMAN 1
206#define CONFIG_SYS_NUM_FM1_DTSEC 2
207#define CONFIG_NUM_DDR_CONTROLLERS 1
208#define CONFIG_SYS_QMAN_NUM_PORTALS 3
209#define CONFIG_SYS_BMAN_NUM_PORTALS 3
Kumar Galad80dfe42011-02-04 00:43:34 -0600210#define CONFIG_SYS_FM_MURAM_SIZE 0x10000
Kumar Gala179b1b22011-05-20 00:39:21 -0500211#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
Timur Tabid8f341c2011-08-04 18:03:41 -0500212#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff600000
Roy Zang1de20b02011-02-03 22:14:19 -0600213
Kumar Galafe137112011-01-19 03:05:26 -0600214#elif defined(CONFIG_P1020)
215#define CONFIG_MAX_CPUS 2
216#define CONFIG_SYS_FSL_NUM_LAWS 12
Prabhakar Kushwaha3d42a962012-04-29 23:57:12 +0000217#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
Kumar Galafe137112011-01-19 03:05:26 -0600218#define CONFIG_TSECV2
Prabhakar Kushwaha1c48e772011-02-01 15:55:58 +0000219#define CONFIG_FSL_PCIE_DISABLE_ASPM
Kumar Galafe137112011-01-19 03:05:26 -0600220#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabid8f341c2011-08-04 18:03:41 -0500221#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Galae4e69252011-02-05 13:45:07 -0600222#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
223#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
Kumar Galafe137112011-01-19 03:05:26 -0600224
225#elif defined(CONFIG_P1021)
226#define CONFIG_MAX_CPUS 2
227#define CONFIG_SYS_FSL_NUM_LAWS 12
Prabhakar Kushwaha3d42a962012-04-29 23:57:12 +0000228#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
Kumar Galafe137112011-01-19 03:05:26 -0600229#define CONFIG_TSECV2
Prabhakar Kushwaha1c48e772011-02-01 15:55:58 +0000230#define CONFIG_FSL_PCIE_DISABLE_ASPM
Kumar Galafe137112011-01-19 03:05:26 -0600231#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabid8f341c2011-08-04 18:03:41 -0500232#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Galae4e69252011-02-05 13:45:07 -0600233#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
234#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
Haiying Wang8cb2af72011-02-11 01:25:30 -0600235#define QE_MURAM_SIZE 0x6000UL
236#define MAX_QE_RISC 1
237#define QE_NUM_OF_SNUM 28
Kumar Galafe137112011-01-19 03:05:26 -0600238
239#elif defined(CONFIG_P1022)
240#define CONFIG_MAX_CPUS 2
241#define CONFIG_SYS_FSL_NUM_LAWS 12
Prabhakar Kushwaha3d42a962012-04-29 23:57:12 +0000242#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
Kumar Galafe137112011-01-19 03:05:26 -0600243#define CONFIG_TSECV2
244#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabi293935c2011-11-21 17:10:22 -0600245#define CONFIG_FSL_SATA_V2
Timur Tabid8f341c2011-08-04 18:03:41 -0500246#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Jiang Yutang7cd05902011-01-30 17:06:20 -0600247#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
248#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
249#define CONFIG_FSL_SATA_ERRATUM_A001
Kumar Galafe137112011-01-19 03:05:26 -0600250
Roy Zang1de20b02011-02-03 22:14:19 -0600251#elif defined(CONFIG_P1023)
252#define CONFIG_MAX_CPUS 2
253#define CONFIG_SYS_FSL_NUM_LAWS 12
254#define CONFIG_SYS_FSL_SEC_COMPAT 4
255#define CONFIG_SYS_NUM_FMAN 1
256#define CONFIG_SYS_NUM_FM1_DTSEC 2
257#define CONFIG_NUM_DDR_CONTROLLERS 1
258#define CONFIG_SYS_QMAN_NUM_PORTALS 3
259#define CONFIG_SYS_BMAN_NUM_PORTALS 3
Kumar Galad80dfe42011-02-04 00:43:34 -0600260#define CONFIG_SYS_FM_MURAM_SIZE 0x10000
Kumar Gala179b1b22011-05-20 00:39:21 -0500261#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
Timur Tabid8f341c2011-08-04 18:03:41 -0500262#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff600000
Roy Zang1de20b02011-02-03 22:14:19 -0600263
Kumar Galae4e69252011-02-05 13:45:07 -0600264/* P1024 is lower end variant of P1020 */
265#elif defined(CONFIG_P1024)
266#define CONFIG_MAX_CPUS 2
267#define CONFIG_SYS_FSL_NUM_LAWS 12
Prabhakar Kushwaha3d42a962012-04-29 23:57:12 +0000268#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
Kumar Galae4e69252011-02-05 13:45:07 -0600269#define CONFIG_TSECV2
270#define CONFIG_FSL_PCIE_DISABLE_ASPM
271#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabid8f341c2011-08-04 18:03:41 -0500272#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Galae4e69252011-02-05 13:45:07 -0600273#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
274#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
275
276/* P1025 is lower end variant of P1021 */
277#elif defined(CONFIG_P1025)
278#define CONFIG_MAX_CPUS 2
279#define CONFIG_SYS_FSL_NUM_LAWS 12
Prabhakar Kushwaha3d42a962012-04-29 23:57:12 +0000280#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
Kumar Galae4e69252011-02-05 13:45:07 -0600281#define CONFIG_TSECV2
282#define CONFIG_FSL_PCIE_DISABLE_ASPM
283#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabid8f341c2011-08-04 18:03:41 -0500284#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Galae4e69252011-02-05 13:45:07 -0600285#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
286#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
Haiying Wang8cb2af72011-02-11 01:25:30 -0600287#define QE_MURAM_SIZE 0x6000UL
288#define MAX_QE_RISC 1
289#define QE_NUM_OF_SNUM 28
Kumar Galae4e69252011-02-05 13:45:07 -0600290
291/* P2010 is single core version of P2020 */
Kumar Galafe137112011-01-19 03:05:26 -0600292#elif defined(CONFIG_P2010)
293#define CONFIG_MAX_CPUS 1
294#define CONFIG_SYS_FSL_NUM_LAWS 12
Prabhakar Kushwaha3d42a962012-04-29 23:57:12 +0000295#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
Kumar Galafe137112011-01-19 03:05:26 -0600296#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabid8f341c2011-08-04 18:03:41 -0500297#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Gala7b5b4802011-01-26 01:43:15 -0600298#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
Kumar Gala9a878d52011-01-29 15:36:10 -0600299#define CONFIG_SYS_FSL_ERRATUM_ESDHC_A001
Kumar Galafe137112011-01-19 03:05:26 -0600300
301#elif defined(CONFIG_P2020)
302#define CONFIG_MAX_CPUS 2
303#define CONFIG_SYS_FSL_NUM_LAWS 12
Prabhakar Kushwaha3d42a962012-04-29 23:57:12 +0000304#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
Kumar Galafe137112011-01-19 03:05:26 -0600305#define CONFIG_SYS_FSL_SEC_COMPAT 2
Timur Tabid8f341c2011-08-04 18:03:41 -0500306#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
Kumar Gala7b5b4802011-01-26 01:43:15 -0600307#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
Kumar Gala9a878d52011-01-29 15:36:10 -0600308#define CONFIG_SYS_FSL_ERRATUM_ESDHC_A001
Liu Gang78deaa12012-03-08 00:33:14 +0000309#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
310#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
311#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
312#define CONFIG_SYS_FSL_RMU
313#define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2
Kumar Galafe137112011-01-19 03:05:26 -0600314
Scott Wooda1ef48c2012-08-14 10:14:51 +0000315#elif defined(CONFIG_PPC_P2041) /* also supports P2040 */
York Sun7e0edbd2012-10-08 07:44:15 +0000316#define CONFIG_SYS_FSL_QORIQ_CHASSIS1
Kumar Galafe137112011-01-19 03:05:26 -0600317#define CONFIG_MAX_CPUS 4
Kumar Gala3842bb52011-02-16 02:03:29 -0600318#define CONFIG_SYS_FSL_NUM_CC_PLLS 2
Kumar Galafe137112011-01-19 03:05:26 -0600319#define CONFIG_SYS_FSL_NUM_LAWS 32
320#define CONFIG_SYS_FSL_SEC_COMPAT 4
Timur Tabi293935c2011-11-21 17:10:22 -0600321#define CONFIG_FSL_SATA_V2
Kumar Gala619541b2011-05-13 01:16:07 -0500322#define CONFIG_SYS_NUM_FMAN 1
323#define CONFIG_SYS_NUM_FM1_DTSEC 5
324#define CONFIG_SYS_NUM_FM1_10GEC 1
325#define CONFIG_NUM_DDR_CONTROLLERS 1
326#define CONFIG_SYS_FM_MURAM_SIZE 0x28000
327#define CONFIG_SYS_FSL_TBCLK_DIV 32
328#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
Timur Tabid8f341c2011-08-04 18:03:41 -0500329#define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
Kumar Gala619541b2011-05-13 01:16:07 -0500330#define CONFIG_SYS_FSL_USB1_PHY_ENABLE
331#define CONFIG_SYS_FSL_USB2_PHY_ENABLE
Kumar Galaa49034f2011-04-13 00:19:10 -0500332#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
Kumar Gala619541b2011-05-13 01:16:07 -0500333#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
York Sun9ed88112012-05-07 07:26:47 +0000334#define CONFIG_SYS_FSL_ERRATUM_NMG_CPU_A011
Kumar Gala945e59a2011-11-22 06:51:15 -0600335#define CONFIG_SYS_FSL_ERRATUM_CPU_A003999
York Sundf2be192011-11-20 10:01:35 -0800336#define CONFIG_SYS_FSL_ERRATUM_DDR_A003474
Liu Gang78deaa12012-03-08 00:33:14 +0000337#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
338#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
339#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
Scott Wood80806962012-08-14 10:14:53 +0000340#define CONFIG_SYS_FSL_ERRATUM_A004510
341#define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x10
342#define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV2 0x11
343#define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000
Liu Gang712b6622012-09-28 21:26:19 +0000344#define CONFIG_SYS_FSL_ERRATUM_SRIO_A004034
Kumar Gala619541b2011-05-13 01:16:07 -0500345
Kumar Galafe137112011-01-19 03:05:26 -0600346#elif defined(CONFIG_PPC_P3041)
York Sun7e0edbd2012-10-08 07:44:15 +0000347#define CONFIG_SYS_FSL_QORIQ_CHASSIS1
Kumar Galafe137112011-01-19 03:05:26 -0600348#define CONFIG_MAX_CPUS 4
Kumar Gala3842bb52011-02-16 02:03:29 -0600349#define CONFIG_SYS_FSL_NUM_CC_PLLS 2
Kumar Galafe137112011-01-19 03:05:26 -0600350#define CONFIG_SYS_FSL_NUM_LAWS 32
351#define CONFIG_SYS_FSL_SEC_COMPAT 4
Timur Tabi293935c2011-11-21 17:10:22 -0600352#define CONFIG_FSL_SATA_V2
Kumar Gala60d95d82011-01-25 12:42:32 -0600353#define CONFIG_SYS_NUM_FMAN 1
354#define CONFIG_SYS_NUM_FM1_DTSEC 5
355#define CONFIG_SYS_NUM_FM1_10GEC 1
356#define CONFIG_NUM_DDR_CONTROLLERS 1
Kumar Galad80dfe42011-02-04 00:43:34 -0600357#define CONFIG_SYS_FM_MURAM_SIZE 0x28000
Kumar Galaf4fb90f2011-02-18 05:40:54 -0600358#define CONFIG_SYS_FSL_TBCLK_DIV 32
Kumar Gala179b1b22011-05-20 00:39:21 -0500359#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
Timur Tabid8f341c2011-08-04 18:03:41 -0500360#define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
Roy Zang6d6a0e12011-04-13 00:08:51 -0500361#define CONFIG_SYS_FSL_USB1_PHY_ENABLE
362#define CONFIG_SYS_FSL_USB2_PHY_ENABLE
Kumar Galaa49034f2011-04-13 00:19:10 -0500363#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
Lei Xu32276202011-04-19 15:28:41 +0800364#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
York Sun53155532012-08-08 18:04:53 +0000365#define CONFIG_SYS_FSL_ERRATUM_NMG_CPU_A011
Kumar Gala945e59a2011-11-22 06:51:15 -0600366#define CONFIG_SYS_FSL_ERRATUM_CPU_A003999
York Sundf2be192011-11-20 10:01:35 -0800367#define CONFIG_SYS_FSL_ERRATUM_DDR_A003474
Liu Gang78deaa12012-03-08 00:33:14 +0000368#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
369#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
370#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
Scott Wood80806962012-08-14 10:14:53 +0000371#define CONFIG_SYS_FSL_ERRATUM_A004510
372#define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x10
373#define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV2 0x11
374#define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000
Liu Gang712b6622012-09-28 21:26:19 +0000375#define CONFIG_SYS_FSL_ERRATUM_SRIO_A004034
Kumar Galafe137112011-01-19 03:05:26 -0600376
Scott Wooda1ef48c2012-08-14 10:14:51 +0000377#elif defined(CONFIG_PPC_P4080) /* also supports P4040 */
York Sun7e0edbd2012-10-08 07:44:15 +0000378#define CONFIG_SYS_FSL_QORIQ_CHASSIS1
Kumar Galafe137112011-01-19 03:05:26 -0600379#define CONFIG_MAX_CPUS 8
Kumar Gala3842bb52011-02-16 02:03:29 -0600380#define CONFIG_SYS_FSL_NUM_CC_PLLS 4
Kumar Galafe137112011-01-19 03:05:26 -0600381#define CONFIG_SYS_FSL_NUM_LAWS 32
382#define CONFIG_SYS_FSL_SEC_COMPAT 4
383#define CONFIG_SYS_NUM_FMAN 2
384#define CONFIG_SYS_NUM_FM1_DTSEC 4
385#define CONFIG_SYS_NUM_FM2_DTSEC 4
386#define CONFIG_SYS_NUM_FM1_10GEC 1
387#define CONFIG_SYS_NUM_FM2_10GEC 1
388#define CONFIG_NUM_DDR_CONTROLLERS 2
Kumar Galad80dfe42011-02-04 00:43:34 -0600389#define CONFIG_SYS_FM_MURAM_SIZE 0x28000
Kumar Galaf4fb90f2011-02-18 05:40:54 -0600390#define CONFIG_SYS_FSL_TBCLK_DIV 16
Kumar Gala179b1b22011-05-20 00:39:21 -0500391#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,p4080-pcie"
Timur Tabid8f341c2011-08-04 18:03:41 -0500392#define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
Kumar Galafe137112011-01-19 03:05:26 -0600393#define CONFIG_SYS_FSL_ERRATUM_CPC_A002
394#define CONFIG_SYS_FSL_ERRATUM_CPC_A003
York Sun922f40f2011-01-10 12:03:01 +0000395#define CONFIG_SYS_FSL_ERRATUM_DDR_A003
Kumar Galafe137112011-01-19 03:05:26 -0600396#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
397#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
398#define CONFIG_SYS_FSL_ERRATUM_ESDHC135
Zang Roy-R6191183659922012-09-18 09:50:08 +0000399#define CONFIG_SYS_FSL_ERRATUM_ESDHC13
Kumar Galafe137112011-01-19 03:05:26 -0600400#define CONFIG_SYS_P4080_ERRATUM_CPU22
York Sun9ed88112012-05-07 07:26:47 +0000401#define CONFIG_SYS_FSL_ERRATUM_NMG_CPU_A011
Kumar Galafe137112011-01-19 03:05:26 -0600402#define CONFIG_SYS_P4080_ERRATUM_SERDES8
Emil Medveb01c81f2010-08-31 22:57:38 -0500403#define CONFIG_SYS_P4080_ERRATUM_SERDES9
Timur Tabi6a62dc42011-04-18 17:16:00 -0500404#define CONFIG_SYS_P4080_ERRATUM_SERDES_A001
Timur Tabi90f381d2011-04-01 13:19:36 -0500405#define CONFIG_SYS_P4080_ERRATUM_SERDES_A005
Kumar Gala945e59a2011-11-22 06:51:15 -0600406#define CONFIG_SYS_FSL_ERRATUM_CPU_A003999
York Sundf2be192011-11-20 10:01:35 -0800407#define CONFIG_SYS_FSL_ERRATUM_DDR_A003474
Liu Gang78deaa12012-03-08 00:33:14 +0000408#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
409#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
410#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
411#define CONFIG_SYS_FSL_RMU
412#define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2
Scott Wood80806962012-08-14 10:14:53 +0000413#define CONFIG_SYS_FSL_ERRATUM_A004510
414#define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x20
415#define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xff000000
Liu Gang712b6622012-09-28 21:26:19 +0000416#define CONFIG_SYS_FSL_ERRATUM_SRIO_A004034
Kumar Galafe137112011-01-19 03:05:26 -0600417
Scott Wooda1ef48c2012-08-14 10:14:51 +0000418#elif defined(CONFIG_PPC_P5020) /* also supports P5010 */
York Sun2394a0f2012-10-08 07:44:30 +0000419#define CONFIG_SYS_PPC64 /* 64-bit core */
York Sun7e0edbd2012-10-08 07:44:15 +0000420#define CONFIG_SYS_FSL_QORIQ_CHASSIS1
Kumar Galafe137112011-01-19 03:05:26 -0600421#define CONFIG_MAX_CPUS 2
Kumar Gala3842bb52011-02-16 02:03:29 -0600422#define CONFIG_SYS_FSL_NUM_CC_PLLS 2
Kumar Galafe137112011-01-19 03:05:26 -0600423#define CONFIG_SYS_FSL_NUM_LAWS 32
424#define CONFIG_SYS_FSL_SEC_COMPAT 4
Timur Tabi293935c2011-11-21 17:10:22 -0600425#define CONFIG_FSL_SATA_V2
Kumar Gala60d95d82011-01-25 12:42:32 -0600426#define CONFIG_SYS_NUM_FMAN 1
427#define CONFIG_SYS_NUM_FM1_DTSEC 5
428#define CONFIG_SYS_NUM_FM1_10GEC 1
429#define CONFIG_NUM_DDR_CONTROLLERS 2
Kumar Galad80dfe42011-02-04 00:43:34 -0600430#define CONFIG_SYS_FM_MURAM_SIZE 0x28000
Kumar Galaf4fb90f2011-02-18 05:40:54 -0600431#define CONFIG_SYS_FSL_TBCLK_DIV 32
Kumar Gala179b1b22011-05-20 00:39:21 -0500432#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
Timur Tabid8f341c2011-08-04 18:03:41 -0500433#define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
Roy Zang6d6a0e12011-04-13 00:08:51 -0500434#define CONFIG_SYS_FSL_USB1_PHY_ENABLE
435#define CONFIG_SYS_FSL_USB2_PHY_ENABLE
Kumar Galaa49034f2011-04-13 00:19:10 -0500436#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
Lei Xu32276202011-04-19 15:28:41 +0800437#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
York Sundf2be192011-11-20 10:01:35 -0800438#define CONFIG_SYS_FSL_ERRATUM_DDR_A003474
Liu Gang78deaa12012-03-08 00:33:14 +0000439#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
440#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
441#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
Scott Wood80806962012-08-14 10:14:53 +0000442#define CONFIG_SYS_FSL_ERRATUM_A004510
443#define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x10
444#define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xc0000000
Liu Gang712b6622012-09-28 21:26:19 +0000445#define CONFIG_SYS_FSL_ERRATUM_SRIO_A004034
Kumar Galafe137112011-01-19 03:05:26 -0600446
Timur Tabid5e13882012-10-05 11:09:19 +0000447#elif defined(CONFIG_PPC_P5040)
448#define CONFIG_SYS_FSL_QORIQ_CHASSIS1
449#define CONFIG_MAX_CPUS 4
450#define CONFIG_SYS_FSL_NUM_CC_PLLS 3
451#define CONFIG_SYS_FSL_NUM_LAWS 32
452#define CONFIG_SYS_FSL_SEC_COMPAT 4
453#define CONFIG_SYS_NUM_FMAN 2
454#define CONFIG_SYS_NUM_FM1_DTSEC 5
455#define CONFIG_SYS_NUM_FM1_10GEC 1
456#define CONFIG_SYS_NUM_FM2_DTSEC 5
457#define CONFIG_SYS_NUM_FM2_10GEC 1
458#define CONFIG_NUM_DDR_CONTROLLERS 2
459#define CONFIG_SYS_FM_MURAM_SIZE 0x28000
460#define CONFIG_SYS_FSL_TBCLK_DIV 16
461#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.4"
462#define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
463#define CONFIG_SYS_FSL_USB1_PHY_ENABLE
464#define CONFIG_SYS_FSL_USB2_PHY_ENABLE
465#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
466#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
467#define CONFIG_SYS_FSL_ERRATUM_USB138
468#define CONFIG_SYS_FSL_ERRATUM_DDR_A003
469#define CONFIG_SYS_FSL_ERRATUM_DDR_A003474
470#define CONFIG_SYS_FSL_ERRATUM_A004699
471#define CONFIG_SYS_FSL_ELBC_MULTIBIT_ECC
472#define CONFIG_SYS_FSL_ERRATUM_A004510
473#define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x10
474#define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000
475
Prabhakar Kushwahabeebb882012-04-24 20:16:49 +0000476#elif defined(CONFIG_BSC9131)
477#define CONFIG_MAX_CPUS 1
478#define CONFIG_FSL_SDHC_V2_3
479#define CONFIG_SYS_FSL_NUM_LAWS 12
480#define CONFIG_TSECV2
481#define CONFIG_SYS_FSL_SEC_COMPAT 4
482#define CONFIG_NUM_DDR_CONTROLLERS 1
483#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
484#define CONFIG_NAND_FSL_IFC
485#define CONFIG_SYS_FSL_ERRATUM_IFC_A003399
486#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
487
York Sun9941a222012-10-08 07:44:19 +0000488#elif defined(CONFIG_PPC_T4240)
York Sun2394a0f2012-10-08 07:44:30 +0000489#define CONFIG_SYS_PPC64 /* 64-bit core */
York Sun9941a222012-10-08 07:44:19 +0000490#define CONFIG_FSL_CORENET /* Freescale CoreNet platform */
491#define CONFIG_SYS_FSL_QORIQ_CHASSIS2 /* Freescale Chassis generation 2 */
492#define CONFIG_SYS_FSL_QMAN_V3 /* QMAN version 3 */
493#define CONFIG_MAX_CPUS 12
494#define CONFIG_SYS_FSL_NUM_CC_PLLS 5
495#define CONFIG_SYS_FSL_NUM_LAWS 32
496#define CONFIG_SYS_FSL_SRDS_3
497#define CONFIG_SYS_FSL_SRDS_4
498#define CONFIG_SYS_FSL_SEC_COMPAT 4
499#define CONFIG_SYS_NUM_FMAN 2
500#define CONFIG_SYS_NUM_FM1_DTSEC 8
501#define CONFIG_SYS_NUM_FM1_10GEC 2
502#define CONFIG_SYS_NUM_FM2_DTSEC 8
503#define CONFIG_SYS_NUM_FM2_10GEC 2
504#define CONFIG_NUM_DDR_CONTROLLERS 3
505#define CONFIG_SYS_FSL_DDR_VER FSL_DDR_VER_4_7
Roy Zangbafd8032012-10-08 07:44:21 +0000506#define CONFIG_SYS_FMAN_V3
York Sun9941a222012-10-08 07:44:19 +0000507#define CONFIG_SYS_FM_MURAM_SIZE 0x60000
508#define CONFIG_SYS_FSL_TBCLK_DIV 16
509#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v3.0"
510#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
511#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
512#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
513#define CONFIG_SYS_FSL_USB1_PHY_ENABLE
514#define CONFIG_SYS_FSL_USB2_PHY_ENABLE
515#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
York Suna28496f2012-10-08 07:44:25 +0000516#define CONFIG_SYS_FSL_ERRATUM_A004468
York Sun6995a022012-10-08 07:44:26 +0000517#define CONFIG_SYS_FSL_ERRATUM_A_004934
York Sun9941a222012-10-08 07:44:19 +0000518#define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
519
York Sunbcf7b3d2012-10-08 07:44:20 +0000520#elif defined(CONFIG_PPC_B4860)
York Sun2394a0f2012-10-08 07:44:30 +0000521#define CONFIG_SYS_PPC64 /* 64-bit core */
York Sunbcf7b3d2012-10-08 07:44:20 +0000522#define CONFIG_FSL_CORENET /* Freescale CoreNet platform */
523#define CONFIG_SYS_FSL_QORIQ_CHASSIS2 /* Freescale Chassis generation 2 */
524#define CONFIG_SYS_FSL_QMAN_V3 /* QMAN version 3 */
525#define CONFIG_MAX_CPUS 4
526#define CONFIG_SYS_FSL_NUM_CC_PLLS 4
527#define CONFIG_SYS_FSL_NUM_LAWS 32
528#define CONFIG_SYS_FSL_SEC_COMPAT 4
529#define CONFIG_SYS_NUM_FMAN 1
530#define CONFIG_SYS_NUM_FM1_DTSEC 6
531#define CONFIG_SYS_NUM_FM1_10GEC 2
532#define CONFIG_NUM_DDR_CONTROLLERS 1
533#define CONFIG_SYS_FSL_DDR_VER FSL_DDR_VER_4_7
Roy Zangbafd8032012-10-08 07:44:21 +0000534#define CONFIG_SYS_FMAN_V3
York Sunbcf7b3d2012-10-08 07:44:20 +0000535#define CONFIG_SYS_FM_MURAM_SIZE 0x60000
536#define CONFIG_SYS_FSL_TBCLK_DIV 16
537#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.4"
538#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
539#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
540#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
541#define CONFIG_SYS_FSL_USB1_PHY_ENABLE
542#define CONFIG_SYS_FSL_ERRATUM_A_004934
543#define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
544
Kumar Galafe137112011-01-19 03:05:26 -0600545#else
546#error Processor type not defined for this platform
547#endif
548
Timur Tabid8f341c2011-08-04 18:03:41 -0500549#ifndef CONFIG_SYS_CCSRBAR_DEFAULT
550#error "CONFIG_SYS_CCSRBAR_DEFAULT is not defined for this platform."
551#endif
552
Kumar Galafe137112011-01-19 03:05:26 -0600553#endif /* _ASM_MPC85xx_CONFIG_H_ */