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 65243be8e2SKumar Gala 66243be8e2SKumar Gala #elif defined(CONFIG_MPC8555) 67243be8e2SKumar Gala #define CONFIG_MAX_CPUS 1 68243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 8 69243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 70e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 71243be8e2SKumar Gala 72243be8e2SKumar Gala #elif defined(CONFIG_MPC8560) 73243be8e2SKumar Gala #define CONFIG_MAX_CPUS 1 74243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 8 75e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 76243be8e2SKumar Gala 77243be8e2SKumar Gala #elif defined(CONFIG_MPC8568) 78243be8e2SKumar Gala #define CONFIG_MAX_CPUS 1 79243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 10 80243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 81fdb4dad3SKumar Gala #define QE_MURAM_SIZE 0x10000UL 82fdb4dad3SKumar Gala #define MAX_QE_RISC 2 83fdb4dad3SKumar Gala #define QE_NUM_OF_SNUM 28 84e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 85243be8e2SKumar Gala 86243be8e2SKumar Gala #elif defined(CONFIG_MPC8569) 87243be8e2SKumar Gala #define CONFIG_MAX_CPUS 1 88243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 10 89243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 90fdb4dad3SKumar Gala #define QE_MURAM_SIZE 0x20000UL 91fdb4dad3SKumar Gala #define MAX_QE_RISC 4 92fdb4dad3SKumar Gala #define QE_NUM_OF_SNUM 46 93e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 94243be8e2SKumar Gala 95243be8e2SKumar Gala #elif defined(CONFIG_MPC8572) 96243be8e2SKumar Gala #define CONFIG_MAX_CPUS 2 97243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 98243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 99e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 100eb0aff77SYork Sun #define CONFIG_SYS_FSL_ERRATUM_DDR_115 10191671913SYork Sun #define CONFIG_SYS_FSL_ERRATUM_DDR111_DDR134 102243be8e2SKumar Gala 103243be8e2SKumar Gala #elif defined(CONFIG_P1010) 104243be8e2SKumar Gala #define CONFIG_MAX_CPUS 1 10532c8cfb2SPriyanka Jain #define CONFIG_FSL_SDHC_V2_3 106243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 107243be8e2SKumar Gala #define CONFIG_TSECV2 108243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 4 1091fbf3483SPoonam Aggrwal #define CONFIG_FSL_SATA_V2 1101fbf3483SPoonam Aggrwal #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 1111fbf3483SPoonam Aggrwal #define CONFIG_NUM_DDR_CONTROLLERS 1 1121fbf3483SPoonam Aggrwal #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 1138f29084aSKumar Gala #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" 1141b719e66SRamneek Mehresh #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY 115*42aee64bSPoonam Aggrwal #define CONFIG_SYS_FSL_ERRATUM_IFC_A002769 116243be8e2SKumar Gala 117093cffbeSKumar Gala /* P1011 is single core version of P1020 */ 118243be8e2SKumar Gala #elif defined(CONFIG_P1011) 119243be8e2SKumar Gala #define CONFIG_MAX_CPUS 1 120243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 121243be8e2SKumar Gala #define CONFIG_TSECV2 122b03a466dSPrabhakar Kushwaha #define CONFIG_FSL_PCIE_DISABLE_ASPM 123243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 124e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 125093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 126093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 127243be8e2SKumar Gala 128093cffbeSKumar Gala /* P1012 is single core version of P1021 */ 129243be8e2SKumar Gala #elif defined(CONFIG_P1012) 130243be8e2SKumar Gala #define CONFIG_MAX_CPUS 1 131243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 132243be8e2SKumar Gala #define CONFIG_TSECV2 133b03a466dSPrabhakar Kushwaha #define CONFIG_FSL_PCIE_DISABLE_ASPM 134243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 135e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 136093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 137093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 138a52d2f81SHaiying Wang #define QE_MURAM_SIZE 0x6000UL 139a52d2f81SHaiying Wang #define MAX_QE_RISC 1 140a52d2f81SHaiying Wang #define QE_NUM_OF_SNUM 28 141243be8e2SKumar Gala 142093cffbeSKumar Gala /* P1013 is single core version of P1022 */ 143243be8e2SKumar Gala #elif defined(CONFIG_P1013) 144243be8e2SKumar Gala #define CONFIG_MAX_CPUS 1 145243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 146243be8e2SKumar Gala #define CONFIG_TSECV2 147243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 148e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 1492d7534a3SJiang Yutang #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 1502d7534a3SJiang Yutang #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 1512d7534a3SJiang Yutang #define CONFIG_FSL_SATA_ERRATUM_A001 152243be8e2SKumar Gala 153243be8e2SKumar Gala #elif defined(CONFIG_P1014) 154243be8e2SKumar Gala #define CONFIG_MAX_CPUS 1 15532c8cfb2SPriyanka Jain #define CONFIG_FSL_SDHC_V2_3 156243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 157243be8e2SKumar Gala #define CONFIG_TSECV2 158243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 4 1591fbf3483SPoonam Aggrwal #define CONFIG_FSL_SATA_V2 1601fbf3483SPoonam Aggrwal #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 1611fbf3483SPoonam Aggrwal #define CONFIG_NUM_DDR_CONTROLLERS 1 1621fbf3483SPoonam Aggrwal #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 1631b719e66SRamneek Mehresh #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY 164*42aee64bSPoonam Aggrwal #define CONFIG_SYS_FSL_ERRATUM_IFC_A002769 165243be8e2SKumar Gala 166093cffbeSKumar Gala /* P1015 is single core version of P1024 */ 167093cffbeSKumar Gala #elif defined(CONFIG_P1015) 168093cffbeSKumar Gala #define CONFIG_MAX_CPUS 1 169093cffbeSKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 170093cffbeSKumar Gala #define CONFIG_TSECV2 171093cffbeSKumar Gala #define CONFIG_FSL_PCIE_DISABLE_ASPM 172093cffbeSKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 173e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 174093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 175093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 176093cffbeSKumar Gala 177093cffbeSKumar Gala /* P1016 is single core version of P1025 */ 178093cffbeSKumar Gala #elif defined(CONFIG_P1016) 179093cffbeSKumar Gala #define CONFIG_MAX_CPUS 1 180093cffbeSKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 181093cffbeSKumar Gala #define CONFIG_TSECV2 182093cffbeSKumar Gala #define CONFIG_FSL_PCIE_DISABLE_ASPM 183093cffbeSKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 184093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 185093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 186a52d2f81SHaiying Wang #define QE_MURAM_SIZE 0x6000UL 187a52d2f81SHaiying Wang #define MAX_QE_RISC 1 188a52d2f81SHaiying Wang #define QE_NUM_OF_SNUM 28 189e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 190093cffbeSKumar Gala 191093cffbeSKumar Gala /* P1017 is single core version of P1023 */ 19267a719daSRoy Zang #elif defined(CONFIG_P1017) 19367a719daSRoy Zang #define CONFIG_MAX_CPUS 1 19467a719daSRoy Zang #define CONFIG_SYS_FSL_NUM_LAWS 12 19567a719daSRoy Zang #define CONFIG_SYS_FSL_SEC_COMPAT 4 19667a719daSRoy Zang #define CONFIG_SYS_NUM_FMAN 1 19767a719daSRoy Zang #define CONFIG_SYS_NUM_FM1_DTSEC 2 19867a719daSRoy Zang #define CONFIG_NUM_DDR_CONTROLLERS 1 19967a719daSRoy Zang #define CONFIG_SYS_QMAN_NUM_PORTALS 3 20067a719daSRoy Zang #define CONFIG_SYS_BMAN_NUM_PORTALS 3 201c657d898SKumar Gala #define CONFIG_SYS_FM_MURAM_SIZE 0x10000 2028f29084aSKumar Gala #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" 203e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff600000 20467a719daSRoy Zang 205243be8e2SKumar Gala #elif defined(CONFIG_P1020) 206243be8e2SKumar Gala #define CONFIG_MAX_CPUS 2 207243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 208243be8e2SKumar Gala #define CONFIG_TSECV2 209b03a466dSPrabhakar Kushwaha #define CONFIG_FSL_PCIE_DISABLE_ASPM 210243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 211e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 212093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 213093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 214243be8e2SKumar Gala 215243be8e2SKumar Gala #elif defined(CONFIG_P1021) 216243be8e2SKumar Gala #define CONFIG_MAX_CPUS 2 217243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 218243be8e2SKumar Gala #define CONFIG_TSECV2 219b03a466dSPrabhakar Kushwaha #define CONFIG_FSL_PCIE_DISABLE_ASPM 220243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 221e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 222093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 223093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 224a52d2f81SHaiying Wang #define QE_MURAM_SIZE 0x6000UL 225a52d2f81SHaiying Wang #define MAX_QE_RISC 1 226a52d2f81SHaiying Wang #define QE_NUM_OF_SNUM 28 227243be8e2SKumar Gala 228243be8e2SKumar Gala #elif defined(CONFIG_P1022) 229243be8e2SKumar Gala #define CONFIG_MAX_CPUS 2 230243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 231243be8e2SKumar Gala #define CONFIG_TSECV2 232243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 233e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 2342d7534a3SJiang Yutang #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 2352d7534a3SJiang Yutang #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 2362d7534a3SJiang Yutang #define CONFIG_FSL_SATA_ERRATUM_A001 237243be8e2SKumar Gala 23867a719daSRoy Zang #elif defined(CONFIG_P1023) 23967a719daSRoy Zang #define CONFIG_MAX_CPUS 2 24067a719daSRoy Zang #define CONFIG_SYS_FSL_NUM_LAWS 12 24167a719daSRoy Zang #define CONFIG_SYS_FSL_SEC_COMPAT 4 24267a719daSRoy Zang #define CONFIG_SYS_NUM_FMAN 1 24367a719daSRoy Zang #define CONFIG_SYS_NUM_FM1_DTSEC 2 24467a719daSRoy Zang #define CONFIG_NUM_DDR_CONTROLLERS 1 24567a719daSRoy Zang #define CONFIG_SYS_QMAN_NUM_PORTALS 3 24667a719daSRoy Zang #define CONFIG_SYS_BMAN_NUM_PORTALS 3 247c657d898SKumar Gala #define CONFIG_SYS_FM_MURAM_SIZE 0x10000 2488f29084aSKumar Gala #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" 249e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff600000 25067a719daSRoy Zang 251093cffbeSKumar Gala /* P1024 is lower end variant of P1020 */ 252093cffbeSKumar Gala #elif defined(CONFIG_P1024) 253093cffbeSKumar Gala #define CONFIG_MAX_CPUS 2 254093cffbeSKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 255093cffbeSKumar Gala #define CONFIG_TSECV2 256093cffbeSKumar Gala #define CONFIG_FSL_PCIE_DISABLE_ASPM 257093cffbeSKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 258e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 259093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 260093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 261093cffbeSKumar Gala 262093cffbeSKumar Gala /* P1025 is lower end variant of P1021 */ 263093cffbeSKumar Gala #elif defined(CONFIG_P1025) 264093cffbeSKumar Gala #define CONFIG_MAX_CPUS 2 265093cffbeSKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 266093cffbeSKumar Gala #define CONFIG_TSECV2 267093cffbeSKumar Gala #define CONFIG_FSL_PCIE_DISABLE_ASPM 268093cffbeSKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 269e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 270093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 271093cffbeSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 272a52d2f81SHaiying Wang #define QE_MURAM_SIZE 0x6000UL 273a52d2f81SHaiying Wang #define MAX_QE_RISC 1 274a52d2f81SHaiying Wang #define QE_NUM_OF_SNUM 28 275093cffbeSKumar Gala 276093cffbeSKumar Gala /* P2010 is single core version of P2020 */ 277243be8e2SKumar Gala #elif defined(CONFIG_P2010) 278243be8e2SKumar Gala #define CONFIG_MAX_CPUS 1 279243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 280243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 281e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 2826e7f0bc0SKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 2835103a03aSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC_A001 284243be8e2SKumar Gala 285243be8e2SKumar Gala #elif defined(CONFIG_P2020) 286243be8e2SKumar Gala #define CONFIG_MAX_CPUS 2 287243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 12 288243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 2 289e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 2906e7f0bc0SKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 2915103a03aSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC_A001 292243be8e2SKumar Gala 293243be8e2SKumar Gala #elif defined(CONFIG_PPC_P2040) 294243be8e2SKumar Gala #define CONFIG_MAX_CPUS 4 295b5c8753fSKumar Gala #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 296243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 32 297243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 4 298fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FMAN 1 299fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FM1_DTSEC 5 300fbee0f7fSKumar Gala #define CONFIG_NUM_DDR_CONTROLLERS 1 301c657d898SKumar Gala #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 30266412c63SKumar Gala #define CONFIG_SYS_FSL_TBCLK_DIV 32 3038f29084aSKumar Gala #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" 304e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 30586221f09SRoy Zang #define CONFIG_SYS_FSL_USB1_PHY_ENABLE 30686221f09SRoy Zang #define CONFIG_SYS_FSL_USB2_PHY_ENABLE 307b6c3722dSKumar Gala #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY 30830009766SLei Xu #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 309243be8e2SKumar Gala 3101f97987aSKumar Gala #elif defined(CONFIG_PPC_P2041) 3111f97987aSKumar Gala #define CONFIG_MAX_CPUS 4 3121f97987aSKumar Gala #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 3131f97987aSKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 32 3141f97987aSKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 4 3151f97987aSKumar Gala #define CONFIG_SYS_NUM_FMAN 1 3161f97987aSKumar Gala #define CONFIG_SYS_NUM_FM1_DTSEC 5 3171f97987aSKumar Gala #define CONFIG_SYS_NUM_FM1_10GEC 1 3181f97987aSKumar Gala #define CONFIG_NUM_DDR_CONTROLLERS 1 3191f97987aSKumar Gala #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 3201f97987aSKumar Gala #define CONFIG_SYS_FSL_TBCLK_DIV 32 3211f97987aSKumar Gala #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" 322e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 3231f97987aSKumar Gala #define CONFIG_SYS_FSL_USB1_PHY_ENABLE 3241f97987aSKumar Gala #define CONFIG_SYS_FSL_USB2_PHY_ENABLE 325b6c3722dSKumar Gala #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY 3261f97987aSKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 3271f97987aSKumar Gala 328243be8e2SKumar Gala #elif defined(CONFIG_PPC_P3041) 329243be8e2SKumar Gala #define CONFIG_MAX_CPUS 4 330b5c8753fSKumar Gala #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 331243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 32 332243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 4 333fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FMAN 1 334fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FM1_DTSEC 5 335fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FM1_10GEC 1 336fbee0f7fSKumar Gala #define CONFIG_NUM_DDR_CONTROLLERS 1 337c657d898SKumar Gala #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 33866412c63SKumar Gala #define CONFIG_SYS_FSL_TBCLK_DIV 32 3398f29084aSKumar Gala #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" 340e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 34186221f09SRoy Zang #define CONFIG_SYS_FSL_USB1_PHY_ENABLE 34286221f09SRoy Zang #define CONFIG_SYS_FSL_USB2_PHY_ENABLE 343b6c3722dSKumar Gala #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY 34430009766SLei Xu #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 345243be8e2SKumar Gala 346243be8e2SKumar Gala #elif defined(CONFIG_PPC_P4040) 347243be8e2SKumar Gala #define CONFIG_MAX_CPUS 4 348b5c8753fSKumar Gala #define CONFIG_SYS_FSL_NUM_CC_PLLS 4 349243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 32 350243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 4 351c657d898SKumar Gala #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 35266412c63SKumar Gala #define CONFIG_SYS_FSL_TBCLK_DIV 16 3538f29084aSKumar Gala #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,p4080-pcie" 354e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 355243be8e2SKumar Gala 356243be8e2SKumar Gala #elif defined(CONFIG_PPC_P4080) 357243be8e2SKumar Gala #define CONFIG_MAX_CPUS 8 358b5c8753fSKumar Gala #define CONFIG_SYS_FSL_NUM_CC_PLLS 4 359243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 32 360243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 4 361243be8e2SKumar Gala #define CONFIG_SYS_NUM_FMAN 2 362243be8e2SKumar Gala #define CONFIG_SYS_NUM_FM1_DTSEC 4 363243be8e2SKumar Gala #define CONFIG_SYS_NUM_FM2_DTSEC 4 364243be8e2SKumar Gala #define CONFIG_SYS_NUM_FM1_10GEC 1 365243be8e2SKumar Gala #define CONFIG_SYS_NUM_FM2_10GEC 1 366243be8e2SKumar Gala #define CONFIG_NUM_DDR_CONTROLLERS 2 367c657d898SKumar Gala #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 36866412c63SKumar Gala #define CONFIG_SYS_FSL_TBCLK_DIV 16 3698f29084aSKumar Gala #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,p4080-pcie" 370e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 371243be8e2SKumar Gala #define CONFIG_SYS_FSL_ERRATUM_CPC_A002 372243be8e2SKumar Gala #define CONFIG_SYS_FSL_ERRATUM_CPC_A003 373fa8d23c0SYork Sun #define CONFIG_SYS_FSL_ERRATUM_DDR_A003 374243be8e2SKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 375243be8e2SKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 376243be8e2SKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC135 377243be8e2SKumar Gala #define CONFIG_SYS_FSL_ERRATUM_ESDHC136 378243be8e2SKumar Gala #define CONFIG_SYS_P4080_ERRATUM_CPU22 379243be8e2SKumar Gala #define CONFIG_SYS_P4080_ERRATUM_SERDES8 380df8af0b4SEmil Medve #define CONFIG_SYS_P4080_ERRATUM_SERDES9 381d90fdba6STimur Tabi #define CONFIG_SYS_P4080_ERRATUM_SERDES_A001 382da30b9fdSTimur Tabi #define CONFIG_SYS_P4080_ERRATUM_SERDES_A005 383243be8e2SKumar Gala 384093cffbeSKumar Gala /* P5010 is single core version of P5020 */ 385243be8e2SKumar Gala #elif defined(CONFIG_PPC_P5010) 386243be8e2SKumar Gala #define CONFIG_MAX_CPUS 1 387b5c8753fSKumar Gala #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 388243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 32 389243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 4 390fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FMAN 1 391fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FM1_DTSEC 5 392fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FM1_10GEC 1 393fbee0f7fSKumar Gala #define CONFIG_NUM_DDR_CONTROLLERS 1 394c657d898SKumar Gala #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 39566412c63SKumar Gala #define CONFIG_SYS_FSL_TBCLK_DIV 32 3968f29084aSKumar Gala #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" 397e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 39886221f09SRoy Zang #define CONFIG_SYS_FSL_USB1_PHY_ENABLE 39986221f09SRoy Zang #define CONFIG_SYS_FSL_USB2_PHY_ENABLE 400b6c3722dSKumar Gala #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY 40130009766SLei Xu #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 402243be8e2SKumar Gala 403243be8e2SKumar Gala #elif defined(CONFIG_PPC_P5020) 404243be8e2SKumar Gala #define CONFIG_MAX_CPUS 2 405b5c8753fSKumar Gala #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 406243be8e2SKumar Gala #define CONFIG_SYS_FSL_NUM_LAWS 32 407243be8e2SKumar Gala #define CONFIG_SYS_FSL_SEC_COMPAT 4 408fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FMAN 1 409fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FM1_DTSEC 5 410fbee0f7fSKumar Gala #define CONFIG_SYS_NUM_FM1_10GEC 1 411fbee0f7fSKumar Gala #define CONFIG_NUM_DDR_CONTROLLERS 2 412c657d898SKumar Gala #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 41366412c63SKumar Gala #define CONFIG_SYS_FSL_TBCLK_DIV 32 4148f29084aSKumar Gala #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" 415e46fedfeSTimur Tabi #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 41686221f09SRoy Zang #define CONFIG_SYS_FSL_USB1_PHY_ENABLE 41786221f09SRoy Zang #define CONFIG_SYS_FSL_USB2_PHY_ENABLE 418b6c3722dSKumar Gala #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY 41930009766SLei Xu #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 420243be8e2SKumar Gala 421243be8e2SKumar Gala #else 422243be8e2SKumar Gala #error Processor type not defined for this platform 423243be8e2SKumar Gala #endif 424243be8e2SKumar Gala 425e46fedfeSTimur Tabi #ifndef CONFIG_SYS_CCSRBAR_DEFAULT 426e46fedfeSTimur Tabi #error "CONFIG_SYS_CCSRBAR_DEFAULT is not defined for this platform." 427e46fedfeSTimur Tabi #endif 428e46fedfeSTimur Tabi 429243be8e2SKumar Gala #endif /* _ASM_MPC85xx_CONFIG_H_ */ 430