Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 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 | |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 26 | #ifdef CONFIG_SYS_CCSRBAR_DEFAULT |
| 27 | #error "Do not define CONFIG_SYS_CCSRBAR_DEFAULT in the board header file." |
| 28 | #endif |
| 29 | |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 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 |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 41 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 42 | |
Wolfgang Denk | a4de835 | 2011-02-02 22:36:10 +0100 | [diff] [blame] | 43 | #elif defined(CONFIG_MPC8540) |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 44 | #define CONFIG_MAX_CPUS 1 |
| 45 | #define CONFIG_SYS_FSL_NUM_LAWS 8 |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 46 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 47 | |
Wolfgang Denk | a4de835 | 2011-02-02 22:36:10 +0100 | [diff] [blame] | 48 | #elif defined(CONFIG_MPC8541) |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 49 | #define CONFIG_MAX_CPUS 1 |
| 50 | #define CONFIG_SYS_FSL_NUM_LAWS 8 |
| 51 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 52 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 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 |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 58 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 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 |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 64 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | 866c6fa | 2011-09-16 09:54:30 -0500 | [diff] [blame] | 65 | #define CONFIG_SYS_FSL_ERRATUM_NMG_DDR120 |
Kumar Gala | f3339d6 | 2011-10-03 08:37:57 -0500 | [diff] [blame] | 66 | #define CONFIG_SYS_FSL_ERRATUM_NMG_LBC103 |
chenhui zhao | c8caa8a | 2011-10-03 08:38:50 -0500 | [diff] [blame] | 67 | #define CONFIG_SYS_FSL_ERRATUM_NMG_ETSEC129 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 68 | |
| 69 | #elif defined(CONFIG_MPC8555) |
| 70 | #define CONFIG_MAX_CPUS 1 |
| 71 | #define CONFIG_SYS_FSL_NUM_LAWS 8 |
| 72 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 73 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 74 | |
| 75 | #elif defined(CONFIG_MPC8560) |
| 76 | #define CONFIG_MAX_CPUS 1 |
| 77 | #define CONFIG_SYS_FSL_NUM_LAWS 8 |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 78 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 79 | |
| 80 | #elif defined(CONFIG_MPC8568) |
| 81 | #define CONFIG_MAX_CPUS 1 |
| 82 | #define CONFIG_SYS_FSL_NUM_LAWS 10 |
| 83 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Kumar Gala | 52bd815 | 2011-01-31 23:09:25 -0600 | [diff] [blame] | 84 | #define QE_MURAM_SIZE 0x10000UL |
| 85 | #define MAX_QE_RISC 2 |
| 86 | #define QE_NUM_OF_SNUM 28 |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 87 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 88 | |
| 89 | #elif defined(CONFIG_MPC8569) |
| 90 | #define CONFIG_MAX_CPUS 1 |
| 91 | #define CONFIG_SYS_FSL_NUM_LAWS 10 |
| 92 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Kumar Gala | 52bd815 | 2011-01-31 23:09:25 -0600 | [diff] [blame] | 93 | #define QE_MURAM_SIZE 0x20000UL |
| 94 | #define MAX_QE_RISC 4 |
| 95 | #define QE_NUM_OF_SNUM 46 |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 96 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 97 | |
| 98 | #elif defined(CONFIG_MPC8572) |
| 99 | #define CONFIG_MAX_CPUS 2 |
| 100 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
| 101 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 102 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
York Sun | 9aa857b | 2011-01-25 21:51:27 -0800 | [diff] [blame] | 103 | #define CONFIG_SYS_FSL_ERRATUM_DDR_115 |
York Sun | c8fc959 | 2011-01-25 22:05:49 -0800 | [diff] [blame] | 104 | #define CONFIG_SYS_FSL_ERRATUM_DDR111_DDR134 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 105 | |
| 106 | #elif defined(CONFIG_P1010) |
| 107 | #define CONFIG_MAX_CPUS 1 |
Priyanka Jain | 0244963 | 2011-02-09 09:24:10 +0530 | [diff] [blame] | 108 | #define CONFIG_FSL_SDHC_V2_3 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 109 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
| 110 | #define CONFIG_TSECV2 |
| 111 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
Poonam Aggrwal | 7373c59 | 2011-02-06 11:31:44 +0530 | [diff] [blame] | 112 | #define CONFIG_FSL_SATA_V2 |
| 113 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
| 114 | #define CONFIG_NUM_DDR_CONTROLLERS 1 |
| 115 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | 179b1b2 | 2011-05-20 00:39:21 -0500 | [diff] [blame] | 116 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
Ramneek Mehresh | 3fb68ee | 2011-03-23 15:20:43 +0530 | [diff] [blame] | 117 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
Poonam Aggrwal | c7664a4 | 2011-06-30 03:00:28 -0500 | [diff] [blame] | 118 | #define CONFIG_SYS_FSL_ERRATUM_IFC_A002769 |
Poonam Aggrwal | af54a5f | 2011-06-29 16:32:52 +0530 | [diff] [blame] | 119 | #define CONFIG_SYS_FSL_ERRATUM_P1010_A003549 |
Poonam Aggrwal | 46b86ca | 2011-07-07 20:36:47 +0530 | [diff] [blame] | 120 | #define CONFIG_SYS_FSL_ERRATUM_IFC_A003399 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 121 | |
Kumar Gala | e4e6925 | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 122 | /* P1011 is single core version of P1020 */ |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 123 | #elif defined(CONFIG_P1011) |
| 124 | #define CONFIG_MAX_CPUS 1 |
| 125 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
| 126 | #define CONFIG_TSECV2 |
Prabhakar Kushwaha | 1c48e77 | 2011-02-01 15:55:58 +0000 | [diff] [blame] | 127 | #define CONFIG_FSL_PCIE_DISABLE_ASPM |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 128 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 129 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | e4e6925 | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 130 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
| 131 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 132 | |
Kumar Gala | e4e6925 | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 133 | /* P1012 is single core version of P1021 */ |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 134 | #elif defined(CONFIG_P1012) |
| 135 | #define CONFIG_MAX_CPUS 1 |
| 136 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
| 137 | #define CONFIG_TSECV2 |
Prabhakar Kushwaha | 1c48e77 | 2011-02-01 15:55:58 +0000 | [diff] [blame] | 138 | #define CONFIG_FSL_PCIE_DISABLE_ASPM |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 139 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 140 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | e4e6925 | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 141 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
| 142 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
Haiying Wang | 8cb2af7 | 2011-02-11 01:25:30 -0600 | [diff] [blame] | 143 | #define QE_MURAM_SIZE 0x6000UL |
| 144 | #define MAX_QE_RISC 1 |
| 145 | #define QE_NUM_OF_SNUM 28 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 146 | |
Kumar Gala | e4e6925 | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 147 | /* P1013 is single core version of P1022 */ |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 148 | #elif defined(CONFIG_P1013) |
| 149 | #define CONFIG_MAX_CPUS 1 |
| 150 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
| 151 | #define CONFIG_TSECV2 |
| 152 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 153 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Jiang Yutang | 7cd0590 | 2011-01-30 17:06:20 -0600 | [diff] [blame] | 154 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
| 155 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
| 156 | #define CONFIG_FSL_SATA_ERRATUM_A001 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 157 | |
| 158 | #elif defined(CONFIG_P1014) |
| 159 | #define CONFIG_MAX_CPUS 1 |
Priyanka Jain | 0244963 | 2011-02-09 09:24:10 +0530 | [diff] [blame] | 160 | #define CONFIG_FSL_SDHC_V2_3 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 161 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
| 162 | #define CONFIG_TSECV2 |
| 163 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
Poonam Aggrwal | 7373c59 | 2011-02-06 11:31:44 +0530 | [diff] [blame] | 164 | #define CONFIG_FSL_SATA_V2 |
| 165 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
| 166 | #define CONFIG_NUM_DDR_CONTROLLERS 1 |
| 167 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Ramneek Mehresh | 3fb68ee | 2011-03-23 15:20:43 +0530 | [diff] [blame] | 168 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
Poonam Aggrwal | c7664a4 | 2011-06-30 03:00:28 -0500 | [diff] [blame] | 169 | #define CONFIG_SYS_FSL_ERRATUM_IFC_A002769 |
Poonam Aggrwal | af54a5f | 2011-06-29 16:32:52 +0530 | [diff] [blame] | 170 | #define CONFIG_SYS_FSL_ERRATUM_P1010_A003549 |
Poonam Aggrwal | 46b86ca | 2011-07-07 20:36:47 +0530 | [diff] [blame] | 171 | #define CONFIG_SYS_FSL_ERRATUM_IFC_A003399 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 172 | |
Kumar Gala | e4e6925 | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 173 | /* P1015 is single core version of P1024 */ |
| 174 | #elif defined(CONFIG_P1015) |
| 175 | #define CONFIG_MAX_CPUS 1 |
| 176 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
| 177 | #define CONFIG_TSECV2 |
| 178 | #define CONFIG_FSL_PCIE_DISABLE_ASPM |
| 179 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 180 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | e4e6925 | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 181 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
| 182 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
| 183 | |
| 184 | /* P1016 is single core version of P1025 */ |
| 185 | #elif defined(CONFIG_P1016) |
| 186 | #define CONFIG_MAX_CPUS 1 |
| 187 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
| 188 | #define CONFIG_TSECV2 |
| 189 | #define CONFIG_FSL_PCIE_DISABLE_ASPM |
| 190 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
| 191 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
| 192 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
Haiying Wang | 8cb2af7 | 2011-02-11 01:25:30 -0600 | [diff] [blame] | 193 | #define QE_MURAM_SIZE 0x6000UL |
| 194 | #define MAX_QE_RISC 1 |
| 195 | #define QE_NUM_OF_SNUM 28 |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 196 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | e4e6925 | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 197 | |
| 198 | /* P1017 is single core version of P1023 */ |
Roy Zang | 1de20b0 | 2011-02-03 22:14:19 -0600 | [diff] [blame] | 199 | #elif defined(CONFIG_P1017) |
| 200 | #define CONFIG_MAX_CPUS 1 |
| 201 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
| 202 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
| 203 | #define CONFIG_SYS_NUM_FMAN 1 |
| 204 | #define CONFIG_SYS_NUM_FM1_DTSEC 2 |
| 205 | #define CONFIG_NUM_DDR_CONTROLLERS 1 |
| 206 | #define CONFIG_SYS_QMAN_NUM_PORTALS 3 |
| 207 | #define CONFIG_SYS_BMAN_NUM_PORTALS 3 |
Kumar Gala | d80dfe4 | 2011-02-04 00:43:34 -0600 | [diff] [blame] | 208 | #define CONFIG_SYS_FM_MURAM_SIZE 0x10000 |
Kumar Gala | 179b1b2 | 2011-05-20 00:39:21 -0500 | [diff] [blame] | 209 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 210 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff600000 |
Roy Zang | 1de20b0 | 2011-02-03 22:14:19 -0600 | [diff] [blame] | 211 | |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 212 | #elif defined(CONFIG_P1020) |
| 213 | #define CONFIG_MAX_CPUS 2 |
| 214 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
| 215 | #define CONFIG_TSECV2 |
Prabhakar Kushwaha | 1c48e77 | 2011-02-01 15:55:58 +0000 | [diff] [blame] | 216 | #define CONFIG_FSL_PCIE_DISABLE_ASPM |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 217 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 218 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | e4e6925 | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 219 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
| 220 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 221 | |
| 222 | #elif defined(CONFIG_P1021) |
| 223 | #define CONFIG_MAX_CPUS 2 |
| 224 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
| 225 | #define CONFIG_TSECV2 |
Prabhakar Kushwaha | 1c48e77 | 2011-02-01 15:55:58 +0000 | [diff] [blame] | 226 | #define CONFIG_FSL_PCIE_DISABLE_ASPM |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 227 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 228 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | e4e6925 | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 229 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
| 230 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
Haiying Wang | 8cb2af7 | 2011-02-11 01:25:30 -0600 | [diff] [blame] | 231 | #define QE_MURAM_SIZE 0x6000UL |
| 232 | #define MAX_QE_RISC 1 |
| 233 | #define QE_NUM_OF_SNUM 28 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 234 | |
| 235 | #elif defined(CONFIG_P1022) |
| 236 | #define CONFIG_MAX_CPUS 2 |
| 237 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
| 238 | #define CONFIG_TSECV2 |
| 239 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 240 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Jiang Yutang | 7cd0590 | 2011-01-30 17:06:20 -0600 | [diff] [blame] | 241 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
| 242 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
| 243 | #define CONFIG_FSL_SATA_ERRATUM_A001 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 244 | |
Roy Zang | 1de20b0 | 2011-02-03 22:14:19 -0600 | [diff] [blame] | 245 | #elif defined(CONFIG_P1023) |
| 246 | #define CONFIG_MAX_CPUS 2 |
| 247 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
| 248 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
| 249 | #define CONFIG_SYS_NUM_FMAN 1 |
| 250 | #define CONFIG_SYS_NUM_FM1_DTSEC 2 |
| 251 | #define CONFIG_NUM_DDR_CONTROLLERS 1 |
| 252 | #define CONFIG_SYS_QMAN_NUM_PORTALS 3 |
| 253 | #define CONFIG_SYS_BMAN_NUM_PORTALS 3 |
Kumar Gala | d80dfe4 | 2011-02-04 00:43:34 -0600 | [diff] [blame] | 254 | #define CONFIG_SYS_FM_MURAM_SIZE 0x10000 |
Kumar Gala | 179b1b2 | 2011-05-20 00:39:21 -0500 | [diff] [blame] | 255 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 256 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff600000 |
Roy Zang | 1de20b0 | 2011-02-03 22:14:19 -0600 | [diff] [blame] | 257 | |
Kumar Gala | e4e6925 | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 258 | /* P1024 is lower end variant of P1020 */ |
| 259 | #elif defined(CONFIG_P1024) |
| 260 | #define CONFIG_MAX_CPUS 2 |
| 261 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
| 262 | #define CONFIG_TSECV2 |
| 263 | #define CONFIG_FSL_PCIE_DISABLE_ASPM |
| 264 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 265 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | e4e6925 | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 266 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
| 267 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
| 268 | |
| 269 | /* P1025 is lower end variant of P1021 */ |
| 270 | #elif defined(CONFIG_P1025) |
| 271 | #define CONFIG_MAX_CPUS 2 |
| 272 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
| 273 | #define CONFIG_TSECV2 |
| 274 | #define CONFIG_FSL_PCIE_DISABLE_ASPM |
| 275 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 276 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | e4e6925 | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 277 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
| 278 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
Haiying Wang | 8cb2af7 | 2011-02-11 01:25:30 -0600 | [diff] [blame] | 279 | #define QE_MURAM_SIZE 0x6000UL |
| 280 | #define MAX_QE_RISC 1 |
| 281 | #define QE_NUM_OF_SNUM 28 |
Kumar Gala | e4e6925 | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 282 | |
| 283 | /* P2010 is single core version of P2020 */ |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 284 | #elif defined(CONFIG_P2010) |
| 285 | #define CONFIG_MAX_CPUS 1 |
| 286 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
| 287 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 288 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | 7b5b480 | 2011-01-26 01:43:15 -0600 | [diff] [blame] | 289 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
Kumar Gala | 9a878d5 | 2011-01-29 15:36:10 -0600 | [diff] [blame] | 290 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC_A001 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 291 | |
| 292 | #elif defined(CONFIG_P2020) |
| 293 | #define CONFIG_MAX_CPUS 2 |
| 294 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
| 295 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 296 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | 7b5b480 | 2011-01-26 01:43:15 -0600 | [diff] [blame] | 297 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
Kumar Gala | 9a878d5 | 2011-01-29 15:36:10 -0600 | [diff] [blame] | 298 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC_A001 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 299 | |
| 300 | #elif defined(CONFIG_PPC_P2040) |
| 301 | #define CONFIG_MAX_CPUS 4 |
Kumar Gala | 3842bb5 | 2011-02-16 02:03:29 -0600 | [diff] [blame] | 302 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 303 | #define CONFIG_SYS_FSL_NUM_LAWS 32 |
| 304 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
Kumar Gala | 60d95d8 | 2011-01-25 12:42:32 -0600 | [diff] [blame] | 305 | #define CONFIG_SYS_NUM_FMAN 1 |
| 306 | #define CONFIG_SYS_NUM_FM1_DTSEC 5 |
| 307 | #define CONFIG_NUM_DDR_CONTROLLERS 1 |
Kumar Gala | d80dfe4 | 2011-02-04 00:43:34 -0600 | [diff] [blame] | 308 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 |
Kumar Gala | f4fb90f | 2011-02-18 05:40:54 -0600 | [diff] [blame] | 309 | #define CONFIG_SYS_FSL_TBCLK_DIV 32 |
Kumar Gala | 179b1b2 | 2011-05-20 00:39:21 -0500 | [diff] [blame] | 310 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 311 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 |
Roy Zang | 6d6a0e1 | 2011-04-13 00:08:51 -0500 | [diff] [blame] | 312 | #define CONFIG_SYS_FSL_USB1_PHY_ENABLE |
| 313 | #define CONFIG_SYS_FSL_USB2_PHY_ENABLE |
Kumar Gala | a49034f | 2011-04-13 00:19:10 -0500 | [diff] [blame] | 314 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
Lei Xu | 3227620 | 2011-04-19 15:28:41 +0800 | [diff] [blame] | 315 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
Kumar Gala | 945e59a | 2011-11-22 06:51:15 -0600 | [diff] [blame] | 316 | #define CONFIG_SYS_FSL_ERRATUM_CPU_A003999 |
York Sun | df2be19 | 2011-11-20 10:01:35 -0800 | [diff] [blame^] | 317 | #define CONFIG_SYS_FSL_ERRATUM_DDR_A003474 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 318 | |
Kumar Gala | 619541b | 2011-05-13 01:16:07 -0500 | [diff] [blame] | 319 | #elif defined(CONFIG_PPC_P2041) |
| 320 | #define CONFIG_MAX_CPUS 4 |
| 321 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 |
| 322 | #define CONFIG_SYS_FSL_NUM_LAWS 32 |
| 323 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
| 324 | #define CONFIG_SYS_NUM_FMAN 1 |
| 325 | #define CONFIG_SYS_NUM_FM1_DTSEC 5 |
| 326 | #define CONFIG_SYS_NUM_FM1_10GEC 1 |
| 327 | #define CONFIG_NUM_DDR_CONTROLLERS 1 |
| 328 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 |
| 329 | #define CONFIG_SYS_FSL_TBCLK_DIV 32 |
| 330 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 331 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 |
Kumar Gala | 619541b | 2011-05-13 01:16:07 -0500 | [diff] [blame] | 332 | #define CONFIG_SYS_FSL_USB1_PHY_ENABLE |
| 333 | #define CONFIG_SYS_FSL_USB2_PHY_ENABLE |
Kumar Gala | a49034f | 2011-04-13 00:19:10 -0500 | [diff] [blame] | 334 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
Kumar Gala | 619541b | 2011-05-13 01:16:07 -0500 | [diff] [blame] | 335 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
Kumar Gala | 945e59a | 2011-11-22 06:51:15 -0600 | [diff] [blame] | 336 | #define CONFIG_SYS_FSL_ERRATUM_CPU_A003999 |
York Sun | df2be19 | 2011-11-20 10:01:35 -0800 | [diff] [blame^] | 337 | #define CONFIG_SYS_FSL_ERRATUM_DDR_A003474 |
Kumar Gala | 619541b | 2011-05-13 01:16:07 -0500 | [diff] [blame] | 338 | |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 339 | #elif defined(CONFIG_PPC_P3041) |
| 340 | #define CONFIG_MAX_CPUS 4 |
Kumar Gala | 3842bb5 | 2011-02-16 02:03:29 -0600 | [diff] [blame] | 341 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 342 | #define CONFIG_SYS_FSL_NUM_LAWS 32 |
| 343 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
Kumar Gala | 60d95d8 | 2011-01-25 12:42:32 -0600 | [diff] [blame] | 344 | #define CONFIG_SYS_NUM_FMAN 1 |
| 345 | #define CONFIG_SYS_NUM_FM1_DTSEC 5 |
| 346 | #define CONFIG_SYS_NUM_FM1_10GEC 1 |
| 347 | #define CONFIG_NUM_DDR_CONTROLLERS 1 |
Kumar Gala | d80dfe4 | 2011-02-04 00:43:34 -0600 | [diff] [blame] | 348 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 |
Kumar Gala | f4fb90f | 2011-02-18 05:40:54 -0600 | [diff] [blame] | 349 | #define CONFIG_SYS_FSL_TBCLK_DIV 32 |
Kumar Gala | 179b1b2 | 2011-05-20 00:39:21 -0500 | [diff] [blame] | 350 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 351 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 |
Roy Zang | 6d6a0e1 | 2011-04-13 00:08:51 -0500 | [diff] [blame] | 352 | #define CONFIG_SYS_FSL_USB1_PHY_ENABLE |
| 353 | #define CONFIG_SYS_FSL_USB2_PHY_ENABLE |
Kumar Gala | a49034f | 2011-04-13 00:19:10 -0500 | [diff] [blame] | 354 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
Lei Xu | 3227620 | 2011-04-19 15:28:41 +0800 | [diff] [blame] | 355 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
Kumar Gala | 945e59a | 2011-11-22 06:51:15 -0600 | [diff] [blame] | 356 | #define CONFIG_SYS_FSL_ERRATUM_CPU_A003999 |
York Sun | df2be19 | 2011-11-20 10:01:35 -0800 | [diff] [blame^] | 357 | #define CONFIG_SYS_FSL_ERRATUM_DDR_A003474 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 358 | |
Shengzhou Liu | 8b033cf | 2011-08-31 17:48:18 +0800 | [diff] [blame] | 359 | #elif defined(CONFIG_PPC_P3060) |
| 360 | #define CONFIG_MAX_CPUS 8 |
| 361 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 4 |
| 362 | #define CONFIG_SYS_FSL_NUM_LAWS 32 |
| 363 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
| 364 | #define CONFIG_SYS_NUM_FMAN 2 |
| 365 | #define CONFIG_SYS_NUM_FM1_DTSEC 4 |
| 366 | #define CONFIG_SYS_NUM_FM2_DTSEC 4 |
| 367 | #define CONFIG_NUM_DDR_CONTROLLERS 1 |
| 368 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 |
| 369 | #define CONFIG_SYS_FSL_TBCLK_DIV 16 |
| 370 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
| 371 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 |
| 372 | #define CONFIG_SYS_FSL_ERRATUM_DDR_A003 |
Kumar Gala | 945e59a | 2011-11-22 06:51:15 -0600 | [diff] [blame] | 373 | #define CONFIG_SYS_FSL_ERRATUM_CPU_A003999 |
Shengzhou Liu | 8b033cf | 2011-08-31 17:48:18 +0800 | [diff] [blame] | 374 | |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 375 | #elif defined(CONFIG_PPC_P4040) |
| 376 | #define CONFIG_MAX_CPUS 4 |
Kumar Gala | 3842bb5 | 2011-02-16 02:03:29 -0600 | [diff] [blame] | 377 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 4 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 378 | #define CONFIG_SYS_FSL_NUM_LAWS 32 |
| 379 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
Kumar Gala | d80dfe4 | 2011-02-04 00:43:34 -0600 | [diff] [blame] | 380 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 |
Kumar Gala | f4fb90f | 2011-02-18 05:40:54 -0600 | [diff] [blame] | 381 | #define CONFIG_SYS_FSL_TBCLK_DIV 16 |
Kumar Gala | 179b1b2 | 2011-05-20 00:39:21 -0500 | [diff] [blame] | 382 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,p4080-pcie" |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 383 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 |
Kumar Gala | 945e59a | 2011-11-22 06:51:15 -0600 | [diff] [blame] | 384 | #define CONFIG_SYS_FSL_ERRATUM_CPU_A003999 |
York Sun | df2be19 | 2011-11-20 10:01:35 -0800 | [diff] [blame^] | 385 | #define CONFIG_SYS_FSL_ERRATUM_DDR_A003474 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 386 | |
| 387 | #elif defined(CONFIG_PPC_P4080) |
| 388 | #define CONFIG_MAX_CPUS 8 |
Kumar Gala | 3842bb5 | 2011-02-16 02:03:29 -0600 | [diff] [blame] | 389 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 4 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 390 | #define CONFIG_SYS_FSL_NUM_LAWS 32 |
| 391 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
| 392 | #define CONFIG_SYS_NUM_FMAN 2 |
| 393 | #define CONFIG_SYS_NUM_FM1_DTSEC 4 |
| 394 | #define CONFIG_SYS_NUM_FM2_DTSEC 4 |
| 395 | #define CONFIG_SYS_NUM_FM1_10GEC 1 |
| 396 | #define CONFIG_SYS_NUM_FM2_10GEC 1 |
| 397 | #define CONFIG_NUM_DDR_CONTROLLERS 2 |
Kumar Gala | d80dfe4 | 2011-02-04 00:43:34 -0600 | [diff] [blame] | 398 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 |
Kumar Gala | f4fb90f | 2011-02-18 05:40:54 -0600 | [diff] [blame] | 399 | #define CONFIG_SYS_FSL_TBCLK_DIV 16 |
Kumar Gala | 179b1b2 | 2011-05-20 00:39:21 -0500 | [diff] [blame] | 400 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,p4080-pcie" |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 401 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 402 | #define CONFIG_SYS_FSL_ERRATUM_CPC_A002 |
| 403 | #define CONFIG_SYS_FSL_ERRATUM_CPC_A003 |
York Sun | 922f40f | 2011-01-10 12:03:01 +0000 | [diff] [blame] | 404 | #define CONFIG_SYS_FSL_ERRATUM_DDR_A003 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 405 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
| 406 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
| 407 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC135 |
| 408 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC136 |
| 409 | #define CONFIG_SYS_P4080_ERRATUM_CPU22 |
| 410 | #define CONFIG_SYS_P4080_ERRATUM_SERDES8 |
Emil Medve | b01c81f | 2010-08-31 22:57:38 -0500 | [diff] [blame] | 411 | #define CONFIG_SYS_P4080_ERRATUM_SERDES9 |
Timur Tabi | 6a62dc4 | 2011-04-18 17:16:00 -0500 | [diff] [blame] | 412 | #define CONFIG_SYS_P4080_ERRATUM_SERDES_A001 |
Timur Tabi | 90f381d | 2011-04-01 13:19:36 -0500 | [diff] [blame] | 413 | #define CONFIG_SYS_P4080_ERRATUM_SERDES_A005 |
Kumar Gala | 945e59a | 2011-11-22 06:51:15 -0600 | [diff] [blame] | 414 | #define CONFIG_SYS_FSL_ERRATUM_CPU_A003999 |
York Sun | df2be19 | 2011-11-20 10:01:35 -0800 | [diff] [blame^] | 415 | #define CONFIG_SYS_FSL_ERRATUM_DDR_A003474 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 416 | |
Kumar Gala | e4e6925 | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 417 | /* P5010 is single core version of P5020 */ |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 418 | #elif defined(CONFIG_PPC_P5010) |
| 419 | #define CONFIG_MAX_CPUS 1 |
Kumar Gala | 3842bb5 | 2011-02-16 02:03:29 -0600 | [diff] [blame] | 420 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 421 | #define CONFIG_SYS_FSL_NUM_LAWS 32 |
| 422 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
Kumar Gala | 60d95d8 | 2011-01-25 12:42:32 -0600 | [diff] [blame] | 423 | #define CONFIG_SYS_NUM_FMAN 1 |
| 424 | #define CONFIG_SYS_NUM_FM1_DTSEC 5 |
| 425 | #define CONFIG_SYS_NUM_FM1_10GEC 1 |
| 426 | #define CONFIG_NUM_DDR_CONTROLLERS 1 |
Kumar Gala | d80dfe4 | 2011-02-04 00:43:34 -0600 | [diff] [blame] | 427 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 |
Kumar Gala | f4fb90f | 2011-02-18 05:40:54 -0600 | [diff] [blame] | 428 | #define CONFIG_SYS_FSL_TBCLK_DIV 32 |
Kumar Gala | 179b1b2 | 2011-05-20 00:39:21 -0500 | [diff] [blame] | 429 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 430 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 |
Roy Zang | 6d6a0e1 | 2011-04-13 00:08:51 -0500 | [diff] [blame] | 431 | #define CONFIG_SYS_FSL_USB1_PHY_ENABLE |
| 432 | #define CONFIG_SYS_FSL_USB2_PHY_ENABLE |
Kumar Gala | a49034f | 2011-04-13 00:19:10 -0500 | [diff] [blame] | 433 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
Lei Xu | 3227620 | 2011-04-19 15:28:41 +0800 | [diff] [blame] | 434 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
York Sun | df2be19 | 2011-11-20 10:01:35 -0800 | [diff] [blame^] | 435 | #define CONFIG_SYS_FSL_ERRATUM_DDR_A003474 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 436 | |
| 437 | #elif defined(CONFIG_PPC_P5020) |
| 438 | #define CONFIG_MAX_CPUS 2 |
Kumar Gala | 3842bb5 | 2011-02-16 02:03:29 -0600 | [diff] [blame] | 439 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 440 | #define CONFIG_SYS_FSL_NUM_LAWS 32 |
| 441 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
Kumar Gala | 60d95d8 | 2011-01-25 12:42:32 -0600 | [diff] [blame] | 442 | #define CONFIG_SYS_NUM_FMAN 1 |
| 443 | #define CONFIG_SYS_NUM_FM1_DTSEC 5 |
| 444 | #define CONFIG_SYS_NUM_FM1_10GEC 1 |
| 445 | #define CONFIG_NUM_DDR_CONTROLLERS 2 |
Kumar Gala | d80dfe4 | 2011-02-04 00:43:34 -0600 | [diff] [blame] | 446 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 |
Kumar Gala | f4fb90f | 2011-02-18 05:40:54 -0600 | [diff] [blame] | 447 | #define CONFIG_SYS_FSL_TBCLK_DIV 32 |
Kumar Gala | 179b1b2 | 2011-05-20 00:39:21 -0500 | [diff] [blame] | 448 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 449 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 |
Roy Zang | 6d6a0e1 | 2011-04-13 00:08:51 -0500 | [diff] [blame] | 450 | #define CONFIG_SYS_FSL_USB1_PHY_ENABLE |
| 451 | #define CONFIG_SYS_FSL_USB2_PHY_ENABLE |
Kumar Gala | a49034f | 2011-04-13 00:19:10 -0500 | [diff] [blame] | 452 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
Lei Xu | 3227620 | 2011-04-19 15:28:41 +0800 | [diff] [blame] | 453 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
York Sun | df2be19 | 2011-11-20 10:01:35 -0800 | [diff] [blame^] | 454 | #define CONFIG_SYS_FSL_ERRATUM_DDR_A003474 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 455 | |
| 456 | #else |
| 457 | #error Processor type not defined for this platform |
| 458 | #endif |
| 459 | |
Timur Tabi | d8f341c | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 460 | #ifndef CONFIG_SYS_CCSRBAR_DEFAULT |
| 461 | #error "CONFIG_SYS_CCSRBAR_DEFAULT is not defined for this platform." |
| 462 | #endif |
| 463 | |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 464 | #endif /* _ASM_MPC85xx_CONFIG_H_ */ |