2011-01-19 09:05:26 +00:00
|
|
|
/*
|
powerpc/mpc85xx:Add BSC9131/BSC9130/BSC9231 Processor Support
- BSC9131 is integrated device that targets Femto base station market.
It combines Power Architecture e500v2 and DSP StarCore SC3850 core
technologies with MAPLE-B2F baseband acceleration processing elements.
- BSC9130 is exactly same as BSC9131 except that the max e500v2
core and DSP core frequencies are 800M(these are 1G in case of 9131).
- BSC9231 is similar to BSC9131 except no MAPLE
The BSC9131 SoC includes the following function and features:
. Power Architecture subsystem including a e500 processor with 256-Kbyte shared
L2 cache
. StarCore SC3850 DSP subsystem with a 512-Kbyte private L2 cache
. The Multi Accelerator Platform Engine for Femto BaseStation Baseband
Processing (MAPLE-B2F)
. A multi-standard baseband algorithm accelerator for Channel Decoding/Encoding,
Fourier Transforms, UMTS chip rate processing, LTE UP/DL Channel processing,
and CRC algorithms
. Consists of accelerators for Convolution, Filtering, Turbo Encoding,
Turbo Decoding, Viterbi decoding, Chiprate processing, and Matrix Inversion
operations
. DDR3/3L memory interface with 32-bit data width without ECC and 16-bit with
ECC, up to 400-MHz clock/800 MHz data rate
. Dedicated security engine featuring trusted boot
. DMA controller
. OCNDMA with four bidirectional channels
. Interfaces
. Two triple-speed Gigabit Ethernet controllers featuring network acceleration
including IEEE 1588. v2 hardware support and virtualization (eTSEC)
. eTSEC 1 supports RGMII/RMII
. eTSEC 2 supports RGMII
. High-speed USB 2.0 host and device controller with ULPI interface
. Enhanced secure digital (SD/MMC) host controller (eSDHC)
. Antenna interface controller (AIC), supporting three industry standard
JESD207/three custom ADI RF interfaces (two dual port and one single port)
and three MAXIM's MaxPHY serial interfaces
. ADI lanes support both full duplex FDD support and half duplex TDD support
. Universal Subscriber Identity Module (USIM) interface that facilitates
communication to SIM cards or Eurochip pre-paid phone cards
. TDM with one TDM port
. Two DUART, four eSPI, and two I2C controllers
. Integrated Flash memory controller (IFC)
. TDM with 256 channels
. GPIO
. Sixteen 32-bit timers
The DSP portion of the SoC consists of DSP core (SC3850) and various
accelerators pertaining to DSP operations.
This patch takes care of code pertaining to power side functionality only.
Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
Signed-off-by: Akhil Goyal <Akhil.Goyal@freescale.com>
Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
Signed-off-by: Rajan Srivastava <rajan.srivastava@freescale.com>
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
2012-04-24 20:16:49 +00:00
|
|
|
* Copyright 2011-2012 Freescale Semiconductor, Inc.
|
2011-01-19 09:05:26 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2 of
|
|
|
|
* the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
|
|
* MA 02111-1307 USA
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _ASM_MPC85xx_CONFIG_H_
|
|
|
|
#define _ASM_MPC85xx_CONFIG_H_
|
|
|
|
|
|
|
|
/* SoC specific defines for Freescale MPC85xx (PQ3) and QorIQ processors */
|
|
|
|
|
2011-08-04 23:03:41 +00:00
|
|
|
#ifdef CONFIG_SYS_CCSRBAR_DEFAULT
|
|
|
|
#error "Do not define CONFIG_SYS_CCSRBAR_DEFAULT in the board header file."
|
|
|
|
#endif
|
|
|
|
|
2011-01-19 09:05:26 +00:00
|
|
|
/* Number of TLB CAM entries we have on FSL Book-E chips */
|
|
|
|
#if defined(CONFIG_E500MC)
|
|
|
|
#define CONFIG_SYS_NUM_TLBCAMS 64
|
|
|
|
#elif defined(CONFIG_E500)
|
|
|
|
#define CONFIG_SYS_NUM_TLBCAMS 16
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(CONFIG_MPC8536)
|
|
|
|
#define CONFIG_MAX_CPUS 1
|
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
2012-08-15 04:12:43 +00:00
|
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 1
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
2011-08-04 23:03:41 +00:00
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
2011-01-19 09:05:26 +00:00
|
|
|
|
2011-02-02 21:36:10 +00:00
|
|
|
#elif defined(CONFIG_MPC8540)
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_MAX_CPUS 1
|
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 8
|
2011-08-04 23:03:41 +00:00
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
2011-01-19 09:05:26 +00:00
|
|
|
|
2011-02-02 21:36:10 +00:00
|
|
|
#elif defined(CONFIG_MPC8541)
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_MAX_CPUS 1
|
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 8
|
|
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
2011-08-04 23:03:41 +00:00
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
2011-01-19 09:05:26 +00:00
|
|
|
|
|
|
|
#elif defined(CONFIG_MPC8544)
|
|
|
|
#define CONFIG_MAX_CPUS 1
|
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 10
|
2012-08-15 04:12:43 +00:00
|
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 0
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
2011-08-04 23:03:41 +00:00
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
2011-01-19 09:05:26 +00:00
|
|
|
|
|
|
|
#elif defined(CONFIG_MPC8548)
|
|
|
|
#define CONFIG_MAX_CPUS 1
|
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 10
|
2012-08-15 04:12:43 +00:00
|
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 0
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
2011-08-04 23:03:41 +00:00
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
2011-09-16 14:54:30 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_NMG_DDR120
|
2011-10-03 13:37:57 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_NMG_LBC103
|
2011-10-03 13:38:50 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_NMG_ETSEC129
|
2012-03-08 00:33:14 +00:00
|
|
|
#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 1
|
|
|
|
#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
|
|
|
|
#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
|
|
|
|
#define CONFIG_SYS_FSL_RMU
|
|
|
|
#define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2
|
2011-01-19 09:05:26 +00:00
|
|
|
|
|
|
|
#elif defined(CONFIG_MPC8555)
|
|
|
|
#define CONFIG_MAX_CPUS 1
|
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 8
|
|
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
2011-08-04 23:03:41 +00:00
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
2011-01-19 09:05:26 +00:00
|
|
|
|
|
|
|
#elif defined(CONFIG_MPC8560)
|
|
|
|
#define CONFIG_MAX_CPUS 1
|
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 8
|
2011-08-04 23:03:41 +00:00
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
2011-01-19 09:05:26 +00:00
|
|
|
|
|
|
|
#elif defined(CONFIG_MPC8568)
|
|
|
|
#define CONFIG_MAX_CPUS 1
|
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 10
|
|
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
2011-02-01 05:09:25 +00:00
|
|
|
#define QE_MURAM_SIZE 0x10000UL
|
|
|
|
#define MAX_QE_RISC 2
|
|
|
|
#define QE_NUM_OF_SNUM 28
|
2011-08-04 23:03:41 +00:00
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
2012-03-08 00:33:14 +00:00
|
|
|
#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 1
|
|
|
|
#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
|
|
|
|
#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
|
|
|
|
#define CONFIG_SYS_FSL_RMU
|
|
|
|
#define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2
|
2011-01-19 09:05:26 +00:00
|
|
|
|
|
|
|
#elif defined(CONFIG_MPC8569)
|
|
|
|
#define CONFIG_MAX_CPUS 1
|
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 10
|
|
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
2011-02-01 05:09:25 +00:00
|
|
|
#define QE_MURAM_SIZE 0x20000UL
|
|
|
|
#define MAX_QE_RISC 4
|
|
|
|
#define QE_NUM_OF_SNUM 46
|
2011-08-04 23:03:41 +00:00
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
2012-03-08 00:33:14 +00:00
|
|
|
#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 1
|
|
|
|
#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
|
|
|
|
#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
|
|
|
|
#define CONFIG_SYS_FSL_RMU
|
|
|
|
#define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2
|
2011-01-19 09:05:26 +00:00
|
|
|
|
|
|
|
#elif defined(CONFIG_MPC8572)
|
|
|
|
#define CONFIG_MAX_CPUS 2
|
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
2012-08-15 04:12:43 +00:00
|
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
2011-08-04 23:03:41 +00:00
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
2011-01-26 05:51:27 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_DDR_115
|
2011-01-26 06:05:49 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_DDR111_DDR134
|
2011-01-19 09:05:26 +00:00
|
|
|
|
|
|
|
#elif defined(CONFIG_P1010)
|
|
|
|
#define CONFIG_MAX_CPUS 1
|
2011-02-09 03:54:10 +00:00
|
|
|
#define CONFIG_FSL_SDHC_V2_3
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
2012-04-29 23:57:12 +00:00
|
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 3
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_TSECV2
|
|
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 4
|
2011-02-06 06:01:44 +00:00
|
|
|
#define CONFIG_FSL_SATA_V2
|
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
|
|
|
#define CONFIG_NUM_DDR_CONTROLLERS 1
|
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
2011-05-20 05:39:21 +00:00
|
|
|
#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
|
2011-03-23 09:50:43 +00:00
|
|
|
#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
|
2011-06-30 08:00:28 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_IFC_A002769
|
2011-06-29 11:02:52 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_P1010_A003549
|
2011-07-07 15:06:47 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_IFC_A003399
|
2011-01-19 09:05:26 +00:00
|
|
|
|
2011-02-05 19:45:07 +00:00
|
|
|
/* P1011 is single core version of P1020 */
|
2011-01-19 09:05:26 +00:00
|
|
|
#elif defined(CONFIG_P1011)
|
|
|
|
#define CONFIG_MAX_CPUS 1
|
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
2012-04-29 23:57:12 +00:00
|
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_TSECV2
|
2011-02-01 15:55:58 +00:00
|
|
|
#define CONFIG_FSL_PCIE_DISABLE_ASPM
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
2011-08-04 23:03:41 +00:00
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
2011-02-05 19:45:07 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
|
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
2011-01-19 09:05:26 +00:00
|
|
|
|
2011-02-05 19:45:07 +00:00
|
|
|
/* P1012 is single core version of P1021 */
|
2011-01-19 09:05:26 +00:00
|
|
|
#elif defined(CONFIG_P1012)
|
|
|
|
#define CONFIG_MAX_CPUS 1
|
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
2012-04-29 23:57:12 +00:00
|
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_TSECV2
|
2011-02-01 15:55:58 +00:00
|
|
|
#define CONFIG_FSL_PCIE_DISABLE_ASPM
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
2011-08-04 23:03:41 +00:00
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
2011-02-05 19:45:07 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
|
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
2011-02-11 07:25:30 +00:00
|
|
|
#define QE_MURAM_SIZE 0x6000UL
|
|
|
|
#define MAX_QE_RISC 1
|
|
|
|
#define QE_NUM_OF_SNUM 28
|
2011-01-19 09:05:26 +00:00
|
|
|
|
2011-02-05 19:45:07 +00:00
|
|
|
/* P1013 is single core version of P1022 */
|
2011-01-19 09:05:26 +00:00
|
|
|
#elif defined(CONFIG_P1013)
|
|
|
|
#define CONFIG_MAX_CPUS 1
|
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
2012-04-29 23:57:12 +00:00
|
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_TSECV2
|
|
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
2011-11-21 23:10:22 +00:00
|
|
|
#define CONFIG_FSL_SATA_V2
|
2011-08-04 23:03:41 +00:00
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
2011-01-30 23:06:20 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
|
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
|
|
|
#define CONFIG_FSL_SATA_ERRATUM_A001
|
2011-01-19 09:05:26 +00:00
|
|
|
|
|
|
|
#elif defined(CONFIG_P1014)
|
|
|
|
#define CONFIG_MAX_CPUS 1
|
2011-02-09 03:54:10 +00:00
|
|
|
#define CONFIG_FSL_SDHC_V2_3
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
2012-04-29 23:57:12 +00:00
|
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 3
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_TSECV2
|
|
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 4
|
2011-02-06 06:01:44 +00:00
|
|
|
#define CONFIG_FSL_SATA_V2
|
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
|
|
|
#define CONFIG_NUM_DDR_CONTROLLERS 1
|
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
2011-03-23 09:50:43 +00:00
|
|
|
#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
|
2011-06-30 08:00:28 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_IFC_A002769
|
2011-06-29 11:02:52 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_P1010_A003549
|
2011-07-07 15:06:47 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_IFC_A003399
|
2011-01-19 09:05:26 +00:00
|
|
|
|
2011-02-05 19:45:07 +00:00
|
|
|
/* P1017 is single core version of P1023 */
|
2011-02-04 04:14:19 +00:00
|
|
|
#elif defined(CONFIG_P1017)
|
|
|
|
#define CONFIG_MAX_CPUS 1
|
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
|
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 4
|
|
|
|
#define CONFIG_SYS_NUM_FMAN 1
|
|
|
|
#define CONFIG_SYS_NUM_FM1_DTSEC 2
|
|
|
|
#define CONFIG_NUM_DDR_CONTROLLERS 1
|
|
|
|
#define CONFIG_SYS_QMAN_NUM_PORTALS 3
|
|
|
|
#define CONFIG_SYS_BMAN_NUM_PORTALS 3
|
2011-02-04 06:43:34 +00:00
|
|
|
#define CONFIG_SYS_FM_MURAM_SIZE 0x10000
|
2011-05-20 05:39:21 +00:00
|
|
|
#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
|
2011-08-04 23:03:41 +00:00
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff600000
|
2011-02-04 04:14:19 +00:00
|
|
|
|
2011-01-19 09:05:26 +00:00
|
|
|
#elif defined(CONFIG_P1020)
|
|
|
|
#define CONFIG_MAX_CPUS 2
|
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
2012-04-29 23:57:12 +00:00
|
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_TSECV2
|
2011-02-01 15:55:58 +00:00
|
|
|
#define CONFIG_FSL_PCIE_DISABLE_ASPM
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
2011-08-04 23:03:41 +00:00
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
2011-02-05 19:45:07 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
|
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
2011-01-19 09:05:26 +00:00
|
|
|
|
|
|
|
#elif defined(CONFIG_P1021)
|
|
|
|
#define CONFIG_MAX_CPUS 2
|
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
2012-04-29 23:57:12 +00:00
|
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_TSECV2
|
2011-02-01 15:55:58 +00:00
|
|
|
#define CONFIG_FSL_PCIE_DISABLE_ASPM
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
2011-08-04 23:03:41 +00:00
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
2011-02-05 19:45:07 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
|
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
2011-02-11 07:25:30 +00:00
|
|
|
#define QE_MURAM_SIZE 0x6000UL
|
|
|
|
#define MAX_QE_RISC 1
|
|
|
|
#define QE_NUM_OF_SNUM 28
|
2011-01-19 09:05:26 +00:00
|
|
|
|
|
|
|
#elif defined(CONFIG_P1022)
|
|
|
|
#define CONFIG_MAX_CPUS 2
|
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
2012-04-29 23:57:12 +00:00
|
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_TSECV2
|
|
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
2011-11-21 23:10:22 +00:00
|
|
|
#define CONFIG_FSL_SATA_V2
|
2011-08-04 23:03:41 +00:00
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
2011-01-30 23:06:20 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
|
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
|
|
|
#define CONFIG_FSL_SATA_ERRATUM_A001
|
2011-01-19 09:05:26 +00:00
|
|
|
|
2011-02-04 04:14:19 +00:00
|
|
|
#elif defined(CONFIG_P1023)
|
|
|
|
#define CONFIG_MAX_CPUS 2
|
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
|
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 4
|
|
|
|
#define CONFIG_SYS_NUM_FMAN 1
|
|
|
|
#define CONFIG_SYS_NUM_FM1_DTSEC 2
|
|
|
|
#define CONFIG_NUM_DDR_CONTROLLERS 1
|
|
|
|
#define CONFIG_SYS_QMAN_NUM_PORTALS 3
|
|
|
|
#define CONFIG_SYS_BMAN_NUM_PORTALS 3
|
2011-02-04 06:43:34 +00:00
|
|
|
#define CONFIG_SYS_FM_MURAM_SIZE 0x10000
|
2011-05-20 05:39:21 +00:00
|
|
|
#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
|
2011-08-04 23:03:41 +00:00
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff600000
|
2011-02-04 04:14:19 +00:00
|
|
|
|
2011-02-05 19:45:07 +00:00
|
|
|
/* P1024 is lower end variant of P1020 */
|
|
|
|
#elif defined(CONFIG_P1024)
|
|
|
|
#define CONFIG_MAX_CPUS 2
|
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
2012-04-29 23:57:12 +00:00
|
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
|
2011-02-05 19:45:07 +00:00
|
|
|
#define CONFIG_TSECV2
|
|
|
|
#define CONFIG_FSL_PCIE_DISABLE_ASPM
|
|
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
2011-08-04 23:03:41 +00:00
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
2011-02-05 19:45:07 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
|
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
|
|
|
|
|
|
|
/* P1025 is lower end variant of P1021 */
|
|
|
|
#elif defined(CONFIG_P1025)
|
|
|
|
#define CONFIG_MAX_CPUS 2
|
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
2012-04-29 23:57:12 +00:00
|
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
|
2011-02-05 19:45:07 +00:00
|
|
|
#define CONFIG_TSECV2
|
|
|
|
#define CONFIG_FSL_PCIE_DISABLE_ASPM
|
|
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
2011-08-04 23:03:41 +00:00
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
2011-02-05 19:45:07 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
|
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
2011-02-11 07:25:30 +00:00
|
|
|
#define QE_MURAM_SIZE 0x6000UL
|
|
|
|
#define MAX_QE_RISC 1
|
|
|
|
#define QE_NUM_OF_SNUM 28
|
2011-02-05 19:45:07 +00:00
|
|
|
|
|
|
|
/* P2010 is single core version of P2020 */
|
2011-01-19 09:05:26 +00:00
|
|
|
#elif defined(CONFIG_P2010)
|
|
|
|
#define CONFIG_MAX_CPUS 1
|
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
2012-04-29 23:57:12 +00:00
|
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
2011-08-04 23:03:41 +00:00
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
2011-01-26 07:43:15 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
2011-01-29 21:36:10 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC_A001
|
2011-01-19 09:05:26 +00:00
|
|
|
|
|
|
|
#elif defined(CONFIG_P2020)
|
|
|
|
#define CONFIG_MAX_CPUS 2
|
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
2012-04-29 23:57:12 +00:00
|
|
|
#define CONFIG_SYS_PPC_E500_DEBUG_TLB 2
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 2
|
2011-08-04 23:03:41 +00:00
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
2011-01-26 07:43:15 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
2011-01-29 21:36:10 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC_A001
|
2012-03-08 00:33:14 +00:00
|
|
|
#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
|
|
|
|
#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
|
|
|
|
#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
|
|
|
|
#define CONFIG_SYS_FSL_RMU
|
|
|
|
#define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2
|
2011-01-19 09:05:26 +00:00
|
|
|
|
2012-08-14 10:14:51 +00:00
|
|
|
#elif defined(CONFIG_PPC_P2041) /* also supports P2040 */
|
2011-05-13 06:16:07 +00:00
|
|
|
#define CONFIG_MAX_CPUS 4
|
|
|
|
#define CONFIG_SYS_FSL_NUM_CC_PLLS 2
|
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 32
|
|
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 4
|
2011-11-21 23:10:22 +00:00
|
|
|
#define CONFIG_FSL_SATA_V2
|
2011-05-13 06:16:07 +00:00
|
|
|
#define CONFIG_SYS_NUM_FMAN 1
|
|
|
|
#define CONFIG_SYS_NUM_FM1_DTSEC 5
|
|
|
|
#define CONFIG_SYS_NUM_FM1_10GEC 1
|
|
|
|
#define CONFIG_NUM_DDR_CONTROLLERS 1
|
|
|
|
#define CONFIG_SYS_FM_MURAM_SIZE 0x28000
|
|
|
|
#define CONFIG_SYS_FSL_TBCLK_DIV 32
|
|
|
|
#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
|
2011-08-04 23:03:41 +00:00
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
|
2011-05-13 06:16:07 +00:00
|
|
|
#define CONFIG_SYS_FSL_USB1_PHY_ENABLE
|
|
|
|
#define CONFIG_SYS_FSL_USB2_PHY_ENABLE
|
2011-04-13 05:19:10 +00:00
|
|
|
#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
|
2011-05-13 06:16:07 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
2012-05-07 07:26:47 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_NMG_CPU_A011
|
2011-11-22 12:51:15 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_CPU_A003999
|
2011-11-20 18:01:35 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_DDR_A003474
|
2012-03-08 00:33:14 +00:00
|
|
|
#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
|
|
|
|
#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
|
|
|
|
#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
|
powerpc/fsl-corenet: work around erratum A004510
Erratum A004510 says that under certain load conditions, modified
cache lines can be discarded, causing data corruption.
To work around this, several CCSR and DCSR register updates need to be
made in a careful manner, so that there is no other transaction in
corenet when the update is made.
The update is made from a locked cacheline, with a delay before to flush
any previous activity, and a delay after to flush the CCSR/DCSR update.
We can't use a readback because that would be another corenet
transaction, which is not allowed.
We lock the subsequent cacheline to prevent it from being fetched while
we're executing the previous cacheline. It is filled with nops so that a
branch doesn't cause us to fetch another cacheline.
Ordinarily we are running in a cache-inhibited mapping at this point, so
we temporarily change that. We make it guarded so that we should never
see a speculative load, and we never do an explicit load. Thus, only the
I-cache should ever fill from this mapping, and we flush/unlock it
afterward. Thus we should avoid problems from any potential cache
aliasing between inhibited and non-inhibited mappings.
NOTE that if PAMU is used with this patch, it will need to use a
dedicated LAW as described in the erratum. This is the responsibility
of the OS that sets up PAMU.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
2012-08-14 10:14:53 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004510
|
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x10
|
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV2 0x11
|
|
|
|
#define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000
|
2011-05-13 06:16:07 +00:00
|
|
|
|
2011-01-19 09:05:26 +00:00
|
|
|
#elif defined(CONFIG_PPC_P3041)
|
|
|
|
#define CONFIG_MAX_CPUS 4
|
2011-02-16 08:03:29 +00:00
|
|
|
#define CONFIG_SYS_FSL_NUM_CC_PLLS 2
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 32
|
|
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 4
|
2011-11-21 23:10:22 +00:00
|
|
|
#define CONFIG_FSL_SATA_V2
|
2011-01-25 18:42:32 +00:00
|
|
|
#define CONFIG_SYS_NUM_FMAN 1
|
|
|
|
#define CONFIG_SYS_NUM_FM1_DTSEC 5
|
|
|
|
#define CONFIG_SYS_NUM_FM1_10GEC 1
|
|
|
|
#define CONFIG_NUM_DDR_CONTROLLERS 1
|
2011-02-04 06:43:34 +00:00
|
|
|
#define CONFIG_SYS_FM_MURAM_SIZE 0x28000
|
2011-02-18 11:40:54 +00:00
|
|
|
#define CONFIG_SYS_FSL_TBCLK_DIV 32
|
2011-05-20 05:39:21 +00:00
|
|
|
#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
|
2011-08-04 23:03:41 +00:00
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
|
2011-04-13 05:08:51 +00:00
|
|
|
#define CONFIG_SYS_FSL_USB1_PHY_ENABLE
|
|
|
|
#define CONFIG_SYS_FSL_USB2_PHY_ENABLE
|
2011-04-13 05:19:10 +00:00
|
|
|
#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
|
2011-04-19 07:28:41 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
2012-08-08 18:04:53 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_NMG_CPU_A011
|
2011-11-22 12:51:15 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_CPU_A003999
|
2011-11-20 18:01:35 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_DDR_A003474
|
2012-03-08 00:33:14 +00:00
|
|
|
#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
|
|
|
|
#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
|
|
|
|
#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
|
powerpc/fsl-corenet: work around erratum A004510
Erratum A004510 says that under certain load conditions, modified
cache lines can be discarded, causing data corruption.
To work around this, several CCSR and DCSR register updates need to be
made in a careful manner, so that there is no other transaction in
corenet when the update is made.
The update is made from a locked cacheline, with a delay before to flush
any previous activity, and a delay after to flush the CCSR/DCSR update.
We can't use a readback because that would be another corenet
transaction, which is not allowed.
We lock the subsequent cacheline to prevent it from being fetched while
we're executing the previous cacheline. It is filled with nops so that a
branch doesn't cause us to fetch another cacheline.
Ordinarily we are running in a cache-inhibited mapping at this point, so
we temporarily change that. We make it guarded so that we should never
see a speculative load, and we never do an explicit load. Thus, only the
I-cache should ever fill from this mapping, and we flush/unlock it
afterward. Thus we should avoid problems from any potential cache
aliasing between inhibited and non-inhibited mappings.
NOTE that if PAMU is used with this patch, it will need to use a
dedicated LAW as described in the erratum. This is the responsibility
of the OS that sets up PAMU.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
2012-08-14 10:14:53 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004510
|
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x10
|
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV2 0x11
|
|
|
|
#define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000
|
2011-01-19 09:05:26 +00:00
|
|
|
|
2012-08-14 10:14:51 +00:00
|
|
|
#elif defined(CONFIG_PPC_P4080) /* also supports P4040 */
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_MAX_CPUS 8
|
2011-02-16 08:03:29 +00:00
|
|
|
#define CONFIG_SYS_FSL_NUM_CC_PLLS 4
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 32
|
|
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 4
|
|
|
|
#define CONFIG_SYS_NUM_FMAN 2
|
|
|
|
#define CONFIG_SYS_NUM_FM1_DTSEC 4
|
|
|
|
#define CONFIG_SYS_NUM_FM2_DTSEC 4
|
|
|
|
#define CONFIG_SYS_NUM_FM1_10GEC 1
|
|
|
|
#define CONFIG_SYS_NUM_FM2_10GEC 1
|
|
|
|
#define CONFIG_NUM_DDR_CONTROLLERS 2
|
2011-02-04 06:43:34 +00:00
|
|
|
#define CONFIG_SYS_FM_MURAM_SIZE 0x28000
|
2011-02-18 11:40:54 +00:00
|
|
|
#define CONFIG_SYS_FSL_TBCLK_DIV 16
|
2011-05-20 05:39:21 +00:00
|
|
|
#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,p4080-pcie"
|
2011-08-04 23:03:41 +00:00
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_CPC_A002
|
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_CPC_A003
|
2011-01-10 12:03:01 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_DDR_A003
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ELBC_A001
|
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC135
|
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC136
|
|
|
|
#define CONFIG_SYS_P4080_ERRATUM_CPU22
|
2012-05-07 07:26:47 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_NMG_CPU_A011
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_SYS_P4080_ERRATUM_SERDES8
|
2010-09-01 03:57:38 +00:00
|
|
|
#define CONFIG_SYS_P4080_ERRATUM_SERDES9
|
2011-04-18 22:16:00 +00:00
|
|
|
#define CONFIG_SYS_P4080_ERRATUM_SERDES_A001
|
2011-04-01 18:19:36 +00:00
|
|
|
#define CONFIG_SYS_P4080_ERRATUM_SERDES_A005
|
2011-11-22 12:51:15 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_CPU_A003999
|
2011-11-20 18:01:35 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_DDR_A003474
|
2012-03-08 00:33:14 +00:00
|
|
|
#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
|
|
|
|
#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
|
|
|
|
#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
|
|
|
|
#define CONFIG_SYS_FSL_RMU
|
|
|
|
#define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2
|
powerpc/fsl-corenet: work around erratum A004510
Erratum A004510 says that under certain load conditions, modified
cache lines can be discarded, causing data corruption.
To work around this, several CCSR and DCSR register updates need to be
made in a careful manner, so that there is no other transaction in
corenet when the update is made.
The update is made from a locked cacheline, with a delay before to flush
any previous activity, and a delay after to flush the CCSR/DCSR update.
We can't use a readback because that would be another corenet
transaction, which is not allowed.
We lock the subsequent cacheline to prevent it from being fetched while
we're executing the previous cacheline. It is filled with nops so that a
branch doesn't cause us to fetch another cacheline.
Ordinarily we are running in a cache-inhibited mapping at this point, so
we temporarily change that. We make it guarded so that we should never
see a speculative load, and we never do an explicit load. Thus, only the
I-cache should ever fill from this mapping, and we flush/unlock it
afterward. Thus we should avoid problems from any potential cache
aliasing between inhibited and non-inhibited mappings.
NOTE that if PAMU is used with this patch, it will need to use a
dedicated LAW as described in the erratum. This is the responsibility
of the OS that sets up PAMU.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
2012-08-14 10:14:53 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004510
|
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x20
|
|
|
|
#define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xff000000
|
2011-01-19 09:05:26 +00:00
|
|
|
|
2012-08-14 10:14:51 +00:00
|
|
|
#elif defined(CONFIG_PPC_P5020) /* also supports P5010 */
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_MAX_CPUS 2
|
2011-02-16 08:03:29 +00:00
|
|
|
#define CONFIG_SYS_FSL_NUM_CC_PLLS 2
|
2011-01-19 09:05:26 +00:00
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 32
|
|
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 4
|
2011-11-21 23:10:22 +00:00
|
|
|
#define CONFIG_FSL_SATA_V2
|
2011-01-25 18:42:32 +00:00
|
|
|
#define CONFIG_SYS_NUM_FMAN 1
|
|
|
|
#define CONFIG_SYS_NUM_FM1_DTSEC 5
|
|
|
|
#define CONFIG_SYS_NUM_FM1_10GEC 1
|
|
|
|
#define CONFIG_NUM_DDR_CONTROLLERS 2
|
2011-02-04 06:43:34 +00:00
|
|
|
#define CONFIG_SYS_FM_MURAM_SIZE 0x28000
|
2011-02-18 11:40:54 +00:00
|
|
|
#define CONFIG_SYS_FSL_TBCLK_DIV 32
|
2011-05-20 05:39:21 +00:00
|
|
|
#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
|
2011-08-04 23:03:41 +00:00
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000
|
2011-04-13 05:08:51 +00:00
|
|
|
#define CONFIG_SYS_FSL_USB1_PHY_ENABLE
|
|
|
|
#define CONFIG_SYS_FSL_USB2_PHY_ENABLE
|
2011-04-13 05:19:10 +00:00
|
|
|
#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
|
2011-04-19 07:28:41 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
2011-11-20 18:01:35 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_DDR_A003474
|
2012-03-08 00:33:14 +00:00
|
|
|
#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
|
|
|
|
#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
|
|
|
|
#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
|
powerpc/fsl-corenet: work around erratum A004510
Erratum A004510 says that under certain load conditions, modified
cache lines can be discarded, causing data corruption.
To work around this, several CCSR and DCSR register updates need to be
made in a careful manner, so that there is no other transaction in
corenet when the update is made.
The update is made from a locked cacheline, with a delay before to flush
any previous activity, and a delay after to flush the CCSR/DCSR update.
We can't use a readback because that would be another corenet
transaction, which is not allowed.
We lock the subsequent cacheline to prevent it from being fetched while
we're executing the previous cacheline. It is filled with nops so that a
branch doesn't cause us to fetch another cacheline.
Ordinarily we are running in a cache-inhibited mapping at this point, so
we temporarily change that. We make it guarded so that we should never
see a speculative load, and we never do an explicit load. Thus, only the
I-cache should ever fill from this mapping, and we flush/unlock it
afterward. Thus we should avoid problems from any potential cache
aliasing between inhibited and non-inhibited mappings.
NOTE that if PAMU is used with this patch, it will need to use a
dedicated LAW as described in the erratum. This is the responsibility
of the OS that sets up PAMU.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
2012-08-14 10:14:53 +00:00
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004510
|
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x10
|
|
|
|
#define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xc0000000
|
2011-01-19 09:05:26 +00:00
|
|
|
|
powerpc/mpc85xx:Add BSC9131/BSC9130/BSC9231 Processor Support
- BSC9131 is integrated device that targets Femto base station market.
It combines Power Architecture e500v2 and DSP StarCore SC3850 core
technologies with MAPLE-B2F baseband acceleration processing elements.
- BSC9130 is exactly same as BSC9131 except that the max e500v2
core and DSP core frequencies are 800M(these are 1G in case of 9131).
- BSC9231 is similar to BSC9131 except no MAPLE
The BSC9131 SoC includes the following function and features:
. Power Architecture subsystem including a e500 processor with 256-Kbyte shared
L2 cache
. StarCore SC3850 DSP subsystem with a 512-Kbyte private L2 cache
. The Multi Accelerator Platform Engine for Femto BaseStation Baseband
Processing (MAPLE-B2F)
. A multi-standard baseband algorithm accelerator for Channel Decoding/Encoding,
Fourier Transforms, UMTS chip rate processing, LTE UP/DL Channel processing,
and CRC algorithms
. Consists of accelerators for Convolution, Filtering, Turbo Encoding,
Turbo Decoding, Viterbi decoding, Chiprate processing, and Matrix Inversion
operations
. DDR3/3L memory interface with 32-bit data width without ECC and 16-bit with
ECC, up to 400-MHz clock/800 MHz data rate
. Dedicated security engine featuring trusted boot
. DMA controller
. OCNDMA with four bidirectional channels
. Interfaces
. Two triple-speed Gigabit Ethernet controllers featuring network acceleration
including IEEE 1588. v2 hardware support and virtualization (eTSEC)
. eTSEC 1 supports RGMII/RMII
. eTSEC 2 supports RGMII
. High-speed USB 2.0 host and device controller with ULPI interface
. Enhanced secure digital (SD/MMC) host controller (eSDHC)
. Antenna interface controller (AIC), supporting three industry standard
JESD207/three custom ADI RF interfaces (two dual port and one single port)
and three MAXIM's MaxPHY serial interfaces
. ADI lanes support both full duplex FDD support and half duplex TDD support
. Universal Subscriber Identity Module (USIM) interface that facilitates
communication to SIM cards or Eurochip pre-paid phone cards
. TDM with one TDM port
. Two DUART, four eSPI, and two I2C controllers
. Integrated Flash memory controller (IFC)
. TDM with 256 channels
. GPIO
. Sixteen 32-bit timers
The DSP portion of the SoC consists of DSP core (SC3850) and various
accelerators pertaining to DSP operations.
This patch takes care of code pertaining to power side functionality only.
Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
Signed-off-by: Akhil Goyal <Akhil.Goyal@freescale.com>
Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
Signed-off-by: Rajan Srivastava <rajan.srivastava@freescale.com>
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
2012-04-24 20:16:49 +00:00
|
|
|
#elif defined(CONFIG_BSC9131)
|
|
|
|
#define CONFIG_MAX_CPUS 1
|
|
|
|
#define CONFIG_FSL_SDHC_V2_3
|
|
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 12
|
|
|
|
#define CONFIG_TSECV2
|
|
|
|
#define CONFIG_SYS_FSL_SEC_COMPAT 4
|
|
|
|
#define CONFIG_NUM_DDR_CONTROLLERS 1
|
|
|
|
#define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000
|
|
|
|
#define CONFIG_NAND_FSL_IFC
|
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_IFC_A003399
|
|
|
|
#define CONFIG_SYS_FSL_ERRATUM_ESDHC111
|
|
|
|
|
2011-01-19 09:05:26 +00:00
|
|
|
#else
|
|
|
|
#error Processor type not defined for this platform
|
|
|
|
#endif
|
|
|
|
|
2011-08-04 23:03:41 +00:00
|
|
|
#ifndef CONFIG_SYS_CCSRBAR_DEFAULT
|
|
|
|
#error "CONFIG_SYS_CCSRBAR_DEFAULT is not defined for this platform."
|
|
|
|
#endif
|
|
|
|
|
2011-01-19 09:05:26 +00:00
|
|
|
#endif /* _ASM_MPC85xx_CONFIG_H_ */
|