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 26e46fedfeSTimur Tabi #ifdef CONFIG_SYS_CCSRBAR_DEFAULT 27e46fedfeSTimur Tabi #error "Do not define CONFIG_SYS_CCSRBAR_DEFAULT in the board header file." 28e46fedfeSTimur Tabi #endif 29e46fedfeSTimur Tabi 30243be8e2SKumar Gala /* Number of TLB CAM entries we have on FSL Book-E chips */ 31243be8e2SKumar Gala #if defined(CONFIG_E500MC) 32243be8e2SKumar Gala #define CONFIG_SYS_NUM_TLBCAMS 64 33243be8e2SKumar Gala #elif defined(CONFIG_E500) 34243be8e2SKumar Gala #define CONFIG_SYS_NUM_TLBCAMS 16 35243be8e2SKumar Gala #endif 36243be8e2SKumar Gala 37243be8e2SKumar Gala #if defined(CONFIG_MPC8536) 38243be8e2SKumar Gala #define CONFIG_MAX_CPUS 1 39243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 40243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 41e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 42243be8e2SKumar Gala 43243be8e2SKumar Gala #elif defined(CONFIG_MPC8540) 44243be8e2SKumar Gala #define CONFIG_MAX_CPUS 1 45243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 8 46e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 47243be8e2SKumar Gala 48243be8e2SKumar Gala #elif defined(CONFIG_MPC8541) 49243be8e2SKumar Gala #define CONFIG_MAX_CPUS 1 50243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 8 51243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 52e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 53243be8e2SKumar Gala 54243be8e2SKumar Gala #elif defined(CONFIG_MPC8544) 55243be8e2SKumar Gala #define CONFIG_MAX_CPUS 1 56243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 10 57243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 58e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 59243be8e2SKumar Gala 60243be8e2SKumar Gala #elif defined(CONFIG_MPC8548) 61243be8e2SKumar Gala #define CONFIG_MAX_CPUS 1 62243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 10 63243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 64e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 655ace2992SKumar Gala #define CONFIG_SYS_FSL_ERRATUM_NMG_DDR120 662b3a1cddSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_NMG_LBC103 67*aada81deSchenhui zhao #define CONFIG_SYS_FSL_ERRATUM_NMG_ETSEC129 68243be8e2SKumar Gala 69243be8e2SKumar Gala #elif defined(CONFIG_MPC8555) 70243be8e2SKumar Gala #define CONFIG_MAX_CPUS 1 71243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 8 72243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 73e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 74243be8e2SKumar Gala 75243be8e2SKumar Gala #elif defined(CONFIG_MPC8560) 76243be8e2SKumar Gala #define CONFIG_MAX_CPUS 1 77243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 8 78e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 79243be8e2SKumar Gala 80243be8e2SKumar Gala #elif defined(CONFIG_MPC8568) 81243be8e2SKumar Gala #define CONFIG_MAX_CPUS 1 82243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 10 83243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 84fdb4dad3SKumar Gala #define QE_MURAM_SIZE 0x10000UL 85fdb4dad3SKumar Gala #define MAX_QE_RISC 2 86fdb4dad3SKumar Gala #define QE_NUM_OF_SNUM 28 87e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 88243be8e2SKumar Gala 89243be8e2SKumar Gala #elif defined(CONFIG_MPC8569) 90243be8e2SKumar Gala #define CONFIG_MAX_CPUS 1 91243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 10 92243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 93fdb4dad3SKumar Gala #define QE_MURAM_SIZE 0x20000UL 94fdb4dad3SKumar Gala #define MAX_QE_RISC 4 95fdb4dad3SKumar Gala #define QE_NUM_OF_SNUM 46 96e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 97243be8e2SKumar Gala 98243be8e2SKumar Gala #elif defined(CONFIG_MPC8572) 99243be8e2SKumar Gala #define CONFIG_MAX_CPUS 2 100243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 101243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 102e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 103eb0aff77SYork Sun #define CONFIG_SYS_FSL_ERRATUM_DDR_115 10491671913SYork Sun #define CONFIG_SYS_FSL_ERRATUM_DDR111_DDR134 105243be8e2SKumar Gala 106243be8e2SKumar Gala #elif defined(CONFIG_P1010) 107243be8e2SKumar Gala #define CONFIG_MAX_CPUS 1 10832c8cfb2SPriyanka Jain #define CONFIG_FSL_SDHC_V2_3 109243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 110243be8e2SKumar Gala #define CONFIG_TSECV2 111243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 4 1121fbf3483SPoonam Aggrwal #define CONFIG_FSL_SATA_V2 1131fbf3483SPoonam Aggrwal #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 1141fbf3483SPoonam Aggrwal #define CONFIG_NUM_DDR_CONTROLLERS 1 1151fbf3483SPoonam Aggrwal #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 1168f29084aSKumar Gala #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" 1171b719e66SRamneek Mehresh #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY 11842aee64bSPoonam Aggrwal #define CONFIG_SYS_FSL_ERRATUM_IFC_A002769 119fb855f43SPoonam Aggrwal #define CONFIG_SYS_FSL_ERRATUM_P1010_A003549 120bc6bbd6bSPoonam Aggrwal #define CONFIG_SYS_FSL_ERRATUM_IFC_A003399 121243be8e2SKumar Gala 122093cffbeSKumar Gala /* P1011 is single core version of P1020 */ 123243be8e2SKumar Gala #elif defined(CONFIG_P1011) 124243be8e2SKumar Gala #define CONFIG_MAX_CPUS 1 125243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 126243be8e2SKumar Gala #define CONFIG_TSECV2 127b03a466dSPrabhakar Kushwaha #define CONFIG_FSL_PCIE_DISABLE_ASPM 128243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 129e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 130093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 131093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 132243be8e2SKumar Gala 133093cffbeSKumar Gala /* P1012 is single core version of P1021 */ 134243be8e2SKumar Gala #elif defined(CONFIG_P1012) 135243be8e2SKumar Gala #define CONFIG_MAX_CPUS 1 136243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 137243be8e2SKumar Gala #define CONFIG_TSECV2 138b03a466dSPrabhakar Kushwaha #define CONFIG_FSL_PCIE_DISABLE_ASPM 139243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 140e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 141093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 142093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 143a52d2f81SHaiying Wang #define QE_MURAM_SIZE 0x6000UL 144a52d2f81SHaiying Wang #define MAX_QE_RISC 1 145a52d2f81SHaiying Wang #define QE_NUM_OF_SNUM 28 146243be8e2SKumar Gala 147093cffbeSKumar Gala /* P1013 is single core version of P1022 */ 148243be8e2SKumar Gala #elif defined(CONFIG_P1013) 149243be8e2SKumar Gala #define CONFIG_MAX_CPUS 1 150243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 151243be8e2SKumar Gala #define CONFIG_TSECV2 152243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 153e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 1542d7534a3SJiang Yutang #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 1552d7534a3SJiang Yutang #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 1562d7534a3SJiang Yutang #define CONFIG_FSL_SATA_ERRATUM_A001 157243be8e2SKumar Gala 158243be8e2SKumar Gala #elif defined(CONFIG_P1014) 159243be8e2SKumar Gala #define CONFIG_MAX_CPUS 1 16032c8cfb2SPriyanka Jain #define CONFIG_FSL_SDHC_V2_3 161243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 162243be8e2SKumar Gala #define CONFIG_TSECV2 163243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 4 1641fbf3483SPoonam Aggrwal #define CONFIG_FSL_SATA_V2 1651fbf3483SPoonam Aggrwal #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 1661fbf3483SPoonam Aggrwal #define CONFIG_NUM_DDR_CONTROLLERS 1 1671fbf3483SPoonam Aggrwal #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 1681b719e66SRamneek Mehresh #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY 16942aee64bSPoonam Aggrwal #define CONFIG_SYS_FSL_ERRATUM_IFC_A002769 170fb855f43SPoonam Aggrwal #define CONFIG_SYS_FSL_ERRATUM_P1010_A003549 171bc6bbd6bSPoonam Aggrwal #define CONFIG_SYS_FSL_ERRATUM_IFC_A003399 172243be8e2SKumar Gala 173093cffbeSKumar Gala /* P1015 is single core version of P1024 */ 174093cffbeSKumar Gala #elif defined(CONFIG_P1015) 175093cffbeSKumar Gala #define CONFIG_MAX_CPUS 1 176093cffbeSKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 177093cffbeSKumar Gala #define CONFIG_TSECV2 178093cffbeSKumar Gala #define CONFIG_FSL_PCIE_DISABLE_ASPM 179093cffbeSKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 180e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 181093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 182093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 183093cffbeSKumar Gala 184093cffbeSKumar Gala /* P1016 is single core version of P1025 */ 185093cffbeSKumar Gala #elif defined(CONFIG_P1016) 186093cffbeSKumar Gala #define CONFIG_MAX_CPUS 1 187093cffbeSKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 188093cffbeSKumar Gala #define CONFIG_TSECV2 189093cffbeSKumar Gala #define CONFIG_FSL_PCIE_DISABLE_ASPM 190093cffbeSKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 191093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 192093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 193a52d2f81SHaiying Wang #define QE_MURAM_SIZE 0x6000UL 194a52d2f81SHaiying Wang #define MAX_QE_RISC 1 195a52d2f81SHaiying Wang #define QE_NUM_OF_SNUM 28 196e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 197093cffbeSKumar Gala 198093cffbeSKumar Gala /* P1017 is single core version of P1023 */ 19967a719daSRoy Zang #elif defined(CONFIG_P1017) 20067a719daSRoy Zang #define CONFIG_MAX_CPUS 1 20167a719daSRoy Zang #define CONFIG_SYS_FSL_NUM_LAWS 12 20267a719daSRoy Zang #define CONFIG_SYS_FSL_SEC_COMPAT 4 20367a719daSRoy Zang #define CONFIG_SYS_NUM_FMAN 1 20467a719daSRoy Zang #define CONFIG_SYS_NUM_FM1_DTSEC 2 20567a719daSRoy Zang #define CONFIG_NUM_DDR_CONTROLLERS 1 20667a719daSRoy Zang #define CONFIG_SYS_QMAN_NUM_PORTALS 3 20767a719daSRoy Zang #define CONFIG_SYS_BMAN_NUM_PORTALS 3 208c657d898SKumar Gala #define CONFIG_SYS_FM_MURAM_SIZE 0x10000 2098f29084aSKumar Gala #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" 210e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff600000 21167a719daSRoy Zang 212243be8e2SKumar Gala #elif defined(CONFIG_P1020) 213243be8e2SKumar Gala #define CONFIG_MAX_CPUS 2 214243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 215243be8e2SKumar Gala #define CONFIG_TSECV2 216b03a466dSPrabhakar Kushwaha #define CONFIG_FSL_PCIE_DISABLE_ASPM 217243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 218e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 219093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 220093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 221243be8e2SKumar Gala 222243be8e2SKumar Gala #elif defined(CONFIG_P1021) 223243be8e2SKumar Gala #define CONFIG_MAX_CPUS 2 224243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 225243be8e2SKumar Gala #define CONFIG_TSECV2 226b03a466dSPrabhakar Kushwaha #define CONFIG_FSL_PCIE_DISABLE_ASPM 227243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 228e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 229093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 230093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 231a52d2f81SHaiying Wang #define QE_MURAM_SIZE 0x6000UL 232a52d2f81SHaiying Wang #define MAX_QE_RISC 1 233a52d2f81SHaiying Wang #define QE_NUM_OF_SNUM 28 234243be8e2SKumar Gala 235243be8e2SKumar Gala #elif defined(CONFIG_P1022) 236243be8e2SKumar Gala #define CONFIG_MAX_CPUS 2 237243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 238243be8e2SKumar Gala #define CONFIG_TSECV2 239243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 240e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 2412d7534a3SJiang Yutang #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 2422d7534a3SJiang Yutang #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 2432d7534a3SJiang Yutang #define CONFIG_FSL_SATA_ERRATUM_A001 244243be8e2SKumar Gala 24567a719daSRoy Zang #elif defined(CONFIG_P1023) 24667a719daSRoy Zang #define CONFIG_MAX_CPUS 2 24767a719daSRoy Zang #define CONFIG_SYS_FSL_NUM_LAWS 12 24867a719daSRoy Zang #define CONFIG_SYS_FSL_SEC_COMPAT 4 24967a719daSRoy Zang #define CONFIG_SYS_NUM_FMAN 1 25067a719daSRoy Zang #define CONFIG_SYS_NUM_FM1_DTSEC 2 25167a719daSRoy Zang #define CONFIG_NUM_DDR_CONTROLLERS 1 25267a719daSRoy Zang #define CONFIG_SYS_QMAN_NUM_PORTALS 3 25367a719daSRoy Zang #define CONFIG_SYS_BMAN_NUM_PORTALS 3 254c657d898SKumar Gala #define CONFIG_SYS_FM_MURAM_SIZE 0x10000 2558f29084aSKumar Gala #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" 256e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff600000 25767a719daSRoy Zang 258093cffbeSKumar Gala /* P1024 is lower end variant of P1020 */ 259093cffbeSKumar Gala #elif defined(CONFIG_P1024) 260093cffbeSKumar Gala #define CONFIG_MAX_CPUS 2 261093cffbeSKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 262093cffbeSKumar Gala #define CONFIG_TSECV2 263093cffbeSKumar Gala #define CONFIG_FSL_PCIE_DISABLE_ASPM 264093cffbeSKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 265e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 266093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 267093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 268093cffbeSKumar Gala 269093cffbeSKumar Gala /* P1025 is lower end variant of P1021 */ 270093cffbeSKumar Gala #elif defined(CONFIG_P1025) 271093cffbeSKumar Gala #define CONFIG_MAX_CPUS 2 272093cffbeSKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 273093cffbeSKumar Gala #define CONFIG_TSECV2 274093cffbeSKumar Gala #define CONFIG_FSL_PCIE_DISABLE_ASPM 275093cffbeSKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 276e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 277093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 278093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 279a52d2f81SHaiying Wang #define QE_MURAM_SIZE 0x6000UL 280a52d2f81SHaiying Wang #define MAX_QE_RISC 1 281a52d2f81SHaiying Wang #define QE_NUM_OF_SNUM 28 282093cffbeSKumar Gala 283093cffbeSKumar Gala /* P2010 is single core version of P2020 */ 284243be8e2SKumar Gala #elif defined(CONFIG_P2010) 285243be8e2SKumar Gala #define CONFIG_MAX_CPUS 1 286243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 287243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 288e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 2896e7f0bc0SKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 2905103a03aSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC_A001 291243be8e2SKumar Gala 292243be8e2SKumar Gala #elif defined(CONFIG_P2020) 293243be8e2SKumar Gala #define CONFIG_MAX_CPUS 2 294243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 295243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 296e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 2976e7f0bc0SKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 2985103a03aSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC_A001 299243be8e2SKumar Gala 300243be8e2SKumar Gala #elif defined(CONFIG_PPC_P2040) 301243be8e2SKumar Gala #define CONFIG_MAX_CPUS 4 302b5c8753fSKumar Gala #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 303243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 32 304243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 4 305fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FMAN 1 306fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FM1_DTSEC 5 307fbee0f7fSKumar Gala #define CONFIG_NUM_DDR_CONTROLLERS 1 308c657d898SKumar Gala #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 30966412c63SKumar Gala #define CONFIG_SYS_FSL_TBCLK_DIV 32 3108f29084aSKumar Gala #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" 311e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 31286221f09SRoy Zang #define CONFIG_SYS_FSL_USB1_PHY_ENABLE 31386221f09SRoy Zang #define CONFIG_SYS_FSL_USB2_PHY_ENABLE 314b6c3722dSKumar Gala #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY 31530009766SLei Xu #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 316243be8e2SKumar Gala 3171f97987aSKumar Gala #elif defined(CONFIG_PPC_P2041) 3181f97987aSKumar Gala #define CONFIG_MAX_CPUS 4 3191f97987aSKumar Gala #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 3201f97987aSKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 32 3211f97987aSKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 4 3221f97987aSKumar Gala #define CONFIG_SYS_NUM_FMAN 1 3231f97987aSKumar Gala #define CONFIG_SYS_NUM_FM1_DTSEC 5 3241f97987aSKumar Gala #define CONFIG_SYS_NUM_FM1_10GEC 1 3251f97987aSKumar Gala #define CONFIG_NUM_DDR_CONTROLLERS 1 3261f97987aSKumar Gala #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 3271f97987aSKumar Gala #define CONFIG_SYS_FSL_TBCLK_DIV 32 3281f97987aSKumar Gala #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" 329e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 3301f97987aSKumar Gala #define CONFIG_SYS_FSL_USB1_PHY_ENABLE 3311f97987aSKumar Gala #define CONFIG_SYS_FSL_USB2_PHY_ENABLE 332b6c3722dSKumar Gala #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY 3331f97987aSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 3341f97987aSKumar Gala 335243be8e2SKumar Gala #elif defined(CONFIG_PPC_P3041) 336243be8e2SKumar Gala #define CONFIG_MAX_CPUS 4 337b5c8753fSKumar Gala #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 338243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 32 339243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 4 340fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FMAN 1 341fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FM1_DTSEC 5 342fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FM1_10GEC 1 343fbee0f7fSKumar Gala #define CONFIG_NUM_DDR_CONTROLLERS 1 344c657d898SKumar Gala #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 34566412c63SKumar Gala #define CONFIG_SYS_FSL_TBCLK_DIV 32 3468f29084aSKumar Gala #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" 347e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 34886221f09SRoy Zang #define CONFIG_SYS_FSL_USB1_PHY_ENABLE 34986221f09SRoy Zang #define CONFIG_SYS_FSL_USB2_PHY_ENABLE 350b6c3722dSKumar Gala #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY 35130009766SLei Xu #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 352243be8e2SKumar Gala 3536d7b061aSShengzhou Liu #elif defined(CONFIG_PPC_P3060) 3546d7b061aSShengzhou Liu #define CONFIG_MAX_CPUS 8 3556d7b061aSShengzhou Liu #define CONFIG_SYS_FSL_NUM_CC_PLLS 4 3566d7b061aSShengzhou Liu #define CONFIG_SYS_FSL_NUM_LAWS 32 3576d7b061aSShengzhou Liu #define CONFIG_SYS_FSL_SEC_COMPAT 4 3586d7b061aSShengzhou Liu #define CONFIG_SYS_NUM_FMAN 2 3596d7b061aSShengzhou Liu #define CONFIG_SYS_NUM_FM1_DTSEC 4 3606d7b061aSShengzhou Liu #define CONFIG_SYS_NUM_FM2_DTSEC 4 3616d7b061aSShengzhou Liu #define CONFIG_NUM_DDR_CONTROLLERS 1 3626d7b061aSShengzhou Liu #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 3636d7b061aSShengzhou Liu #define CONFIG_SYS_FSL_TBCLK_DIV 16 3646d7b061aSShengzhou Liu #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" 3656d7b061aSShengzhou Liu #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 3666d7b061aSShengzhou Liu #define CONFIG_SYS_FSL_ERRATUM_DDR_A003 3676d7b061aSShengzhou Liu 368243be8e2SKumar Gala #elif defined(CONFIG_PPC_P4040) 369243be8e2SKumar Gala #define CONFIG_MAX_CPUS 4 370b5c8753fSKumar Gala #define CONFIG_SYS_FSL_NUM_CC_PLLS 4 371243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 32 372243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 4 373c657d898SKumar Gala #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 37466412c63SKumar Gala #define CONFIG_SYS_FSL_TBCLK_DIV 16 3758f29084aSKumar Gala #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,p4080-pcie" 376e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 377243be8e2SKumar Gala 378243be8e2SKumar Gala #elif defined(CONFIG_PPC_P4080) 379243be8e2SKumar Gala #define CONFIG_MAX_CPUS 8 380b5c8753fSKumar Gala #define CONFIG_SYS_FSL_NUM_CC_PLLS 4 381243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 32 382243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 4 383243be8e2SKumar Gala #define CONFIG_SYS_NUM_FMAN 2 384243be8e2SKumar Gala #define CONFIG_SYS_NUM_FM1_DTSEC 4 385243be8e2SKumar Gala #define CONFIG_SYS_NUM_FM2_DTSEC 4 386243be8e2SKumar Gala #define CONFIG_SYS_NUM_FM1_10GEC 1 387243be8e2SKumar Gala #define CONFIG_SYS_NUM_FM2_10GEC 1 388243be8e2SKumar Gala #define CONFIG_NUM_DDR_CONTROLLERS 2 389c657d898SKumar Gala #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 39066412c63SKumar Gala #define CONFIG_SYS_FSL_TBCLK_DIV 16 3918f29084aSKumar Gala #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,p4080-pcie" 392e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 393243be8e2SKumar Gala #define CONFIG_SYS_FSL_ERRATUM_CPC_A002 394243be8e2SKumar Gala #define CONFIG_SYS_FSL_ERRATUM_CPC_A003 395fa8d23c0SYork Sun #define CONFIG_SYS_FSL_ERRATUM_DDR_A003 396243be8e2SKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 397243be8e2SKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 398243be8e2SKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC135 399243be8e2SKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC136 400243be8e2SKumar Gala #define CONFIG_SYS_P4080_ERRATUM_CPU22 401243be8e2SKumar Gala #define CONFIG_SYS_P4080_ERRATUM_SERDES8 402df8af0b4SEmil Medve #define CONFIG_SYS_P4080_ERRATUM_SERDES9 403d90fdba6STimur Tabi #define CONFIG_SYS_P4080_ERRATUM_SERDES_A001 404da30b9fdSTimur Tabi #define CONFIG_SYS_P4080_ERRATUM_SERDES_A005 405243be8e2SKumar Gala 406093cffbeSKumar Gala /* P5010 is single core version of P5020 */ 407243be8e2SKumar Gala #elif defined(CONFIG_PPC_P5010) 408243be8e2SKumar Gala #define CONFIG_MAX_CPUS 1 409b5c8753fSKumar Gala #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 410243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 32 411243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 4 412fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FMAN 1 413fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FM1_DTSEC 5 414fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FM1_10GEC 1 415fbee0f7fSKumar Gala #define CONFIG_NUM_DDR_CONTROLLERS 1 416c657d898SKumar Gala #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 41766412c63SKumar Gala #define CONFIG_SYS_FSL_TBCLK_DIV 32 4188f29084aSKumar Gala #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" 419e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 42086221f09SRoy Zang #define CONFIG_SYS_FSL_USB1_PHY_ENABLE 42186221f09SRoy Zang #define CONFIG_SYS_FSL_USB2_PHY_ENABLE 422b6c3722dSKumar Gala #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY 42330009766SLei Xu #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 424243be8e2SKumar Gala 425243be8e2SKumar Gala #elif defined(CONFIG_PPC_P5020) 426243be8e2SKumar Gala #define CONFIG_MAX_CPUS 2 427b5c8753fSKumar Gala #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 428243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 32 429243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 4 430fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FMAN 1 431fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FM1_DTSEC 5 432fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FM1_10GEC 1 433fbee0f7fSKumar Gala #define CONFIG_NUM_DDR_CONTROLLERS 2 434c657d898SKumar Gala #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 43566412c63SKumar Gala #define CONFIG_SYS_FSL_TBCLK_DIV 32 4368f29084aSKumar Gala #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" 437e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 43886221f09SRoy Zang #define CONFIG_SYS_FSL_USB1_PHY_ENABLE 43986221f09SRoy Zang #define CONFIG_SYS_FSL_USB2_PHY_ENABLE 440b6c3722dSKumar Gala #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY 44130009766SLei Xu #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 442243be8e2SKumar Gala 443243be8e2SKumar Gala #else 444243be8e2SKumar Gala #error Processor type not defined for this platform 445243be8e2SKumar Gala #endif 446243be8e2SKumar Gala 447e46fedfeSTimur Tabi #ifndef CONFIG_SYS_CCSRBAR_DEFAULT 448e46fedfeSTimur Tabi #error "CONFIG_SYS_CCSRBAR_DEFAULT is not defined for this platform." 449e46fedfeSTimur Tabi #endif 450e46fedfeSTimur Tabi 451243be8e2SKumar Gala #endif /* _ASM_MPC85xx_CONFIG_H_ */ 452