Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 1 | /* |
Prabhakar Kushwaha | 19a8dbd | 2012-04-24 20:16:49 +0000 | [diff] [blame] | 2 | * Copyright 2011-2012 Freescale Semiconductor, Inc. |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 3 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 4 | * SPDX-License-Identifier: GPL-2.0+ |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef _ASM_MPC85xx_CONFIG_H_ |
| 8 | #define _ASM_MPC85xx_CONFIG_H_ |
| 9 | |
| 10 | /* SoC specific defines for Freescale MPC85xx (PQ3) and QorIQ processors */ |
| 11 | |
Timur Tabi | e46fedf | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 12 | #ifdef CONFIG_SYS_CCSRBAR_DEFAULT |
| 13 | #error "Do not define CONFIG_SYS_CCSRBAR_DEFAULT in the board header file." |
| 14 | #endif |
| 15 | |
York Sun | 2a5fcb8 | 2012-10-28 08:12:54 +0000 | [diff] [blame] | 16 | /* |
| 17 | * This macro should be removed when we no longer care about backwards |
| 18 | * compatibility with older operating systems. |
| 19 | */ |
| 20 | #define CONFIG_PPC_SPINTABLE_COMPATIBLE |
| 21 | |
York Sun | 34e026f | 2014-03-27 17:54:47 -0700 | [diff] [blame] | 22 | #include <fsl_ddrc_version.h> |
| 23 | #define CONFIG_SYS_FSL_DDR_BE |
York Sun | 57495e4 | 2012-10-08 07:44:22 +0000 | [diff] [blame] | 24 | |
Prabhakar Kushwaha | 1b4175d | 2014-01-18 12:28:30 +0530 | [diff] [blame] | 25 | /* IP endianness */ |
| 26 | #define CONFIG_SYS_FSL_IFC_BE |
Ruchika Gupta | 028dbb8 | 2014-09-09 11:50:31 +0530 | [diff] [blame] | 27 | #define CONFIG_SYS_FSL_SEC_BE |
gaurav rana | a2e225e | 2015-02-27 09:43:49 +0530 | [diff] [blame] | 28 | #define CONFIG_SYS_FSL_SFP_BE |
gaurav rana | e04916a | 2015-02-27 09:46:17 +0530 | [diff] [blame] | 29 | #define CONFIG_SYS_FSL_SEC_MON_BE |
Prabhakar Kushwaha | 1b4175d | 2014-01-18 12:28:30 +0530 | [diff] [blame] | 30 | |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 31 | /* Number of TLB CAM entries we have on FSL Book-E chips */ |
| 32 | #if defined(CONFIG_E500MC) |
| 33 | #define CONFIG_SYS_NUM_TLBCAMS 64 |
| 34 | #elif defined(CONFIG_E500) |
| 35 | #define CONFIG_SYS_NUM_TLBCAMS 16 |
| 36 | #endif |
| 37 | |
York Sun | 24ad75a | 2016-11-16 11:06:47 -0800 | [diff] [blame] | 38 | #if defined(CONFIG_ARCH_MPC8536) |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 39 | #define CONFIG_MAX_CPUS 1 |
| 40 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
Prabhakar Kushwaha | e4879af | 2012-08-15 04:12:43 +0000 | [diff] [blame] | 41 | #define CONFIG_SYS_PPC_E500_DEBUG_TLB 1 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 42 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Timur Tabi | e46fedf | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 43 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
York Sun | 9855b3b | 2014-05-23 13:15:00 -0700 | [diff] [blame] | 44 | #define CONFIG_SYS_FSL_ERRATUM_A004508 |
York Sun | 954a1a4 | 2013-08-20 15:09:43 -0700 | [diff] [blame] | 45 | #define CONFIG_SYS_FSL_ERRATUM_A005125 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 46 | |
York Sun | 7f82521 | 2016-11-16 11:13:06 -0800 | [diff] [blame] | 47 | #elif defined(CONFIG_ARCH_MPC8540) |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 48 | #define CONFIG_MAX_CPUS 1 |
| 49 | #define CONFIG_SYS_FSL_NUM_LAWS 8 |
York Sun | 5614e71 | 2013-09-30 09:22:09 -0700 | [diff] [blame] | 50 | #define CONFIG_SYS_FSL_DDRC_GEN1 |
Timur Tabi | e46fedf | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 51 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 52 | |
York Sun | 3aff308 | 2016-11-16 11:18:31 -0800 | [diff] [blame] | 53 | #elif defined(CONFIG_ARCH_MPC8541) |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 54 | #define CONFIG_MAX_CPUS 1 |
| 55 | #define CONFIG_SYS_FSL_NUM_LAWS 8 |
York Sun | 5614e71 | 2013-09-30 09:22:09 -0700 | [diff] [blame] | 56 | #define CONFIG_SYS_FSL_DDRC_GEN1 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 57 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Timur Tabi | e46fedf | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 58 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 59 | |
York Sun | 25cb74b | 2016-11-15 13:57:15 -0800 | [diff] [blame] | 60 | #elif defined(CONFIG_ARCH_MPC8544) |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 61 | #define CONFIG_MAX_CPUS 1 |
| 62 | #define CONFIG_SYS_FSL_NUM_LAWS 10 |
York Sun | 5614e71 | 2013-09-30 09:22:09 -0700 | [diff] [blame] | 63 | #define CONFIG_SYS_FSL_DDRC_GEN2 |
Prabhakar Kushwaha | e4879af | 2012-08-15 04:12:43 +0000 | [diff] [blame] | 64 | #define CONFIG_SYS_PPC_E500_DEBUG_TLB 0 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 65 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Timur Tabi | e46fedf | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 66 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
York Sun | 954a1a4 | 2013-08-20 15:09:43 -0700 | [diff] [blame] | 67 | #define CONFIG_SYS_FSL_ERRATUM_A005125 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 68 | |
York Sun | 281ed4c | 2016-11-15 13:52:34 -0800 | [diff] [blame] | 69 | #elif defined(CONFIG_ARCH_MPC8548) |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 70 | #define CONFIG_MAX_CPUS 1 |
| 71 | #define CONFIG_SYS_FSL_NUM_LAWS 10 |
York Sun | 5614e71 | 2013-09-30 09:22:09 -0700 | [diff] [blame] | 72 | #define CONFIG_SYS_FSL_DDRC_GEN2 |
Prabhakar Kushwaha | e4879af | 2012-08-15 04:12:43 +0000 | [diff] [blame] | 73 | #define CONFIG_SYS_PPC_E500_DEBUG_TLB 0 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 74 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Timur Tabi | e46fedf | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 75 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | 5ace299 | 2011-09-16 09:54:30 -0500 | [diff] [blame] | 76 | #define CONFIG_SYS_FSL_ERRATUM_NMG_DDR120 |
Kumar Gala | 2b3a1cd | 2011-10-03 08:37:57 -0500 | [diff] [blame] | 77 | #define CONFIG_SYS_FSL_ERRATUM_NMG_LBC103 |
chenhui zhao | aada81d | 2011-10-03 08:38:50 -0500 | [diff] [blame] | 78 | #define CONFIG_SYS_FSL_ERRATUM_NMG_ETSEC129 |
Liu Gang | 7d67ed5 | 2012-03-08 00:33:14 +0000 | [diff] [blame] | 79 | #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 1 |
| 80 | #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 81 | #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
| 82 | #define CONFIG_SYS_FSL_RMU |
| 83 | #define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2 |
York Sun | 954a1a4 | 2013-08-20 15:09:43 -0700 | [diff] [blame] | 84 | #define CONFIG_SYS_FSL_ERRATUM_A005125 |
Chunhe Lan | 9c3f77e | 2013-08-16 15:10:37 +0800 | [diff] [blame] | 85 | #define CONFIG_SYS_FSL_ERRATUM_I2C_A004447 |
| 86 | #define CONFIG_SYS_FSL_A004447_SVR_REV 0x00 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 87 | |
York Sun | 3c3d8ab | 2016-11-16 11:23:23 -0800 | [diff] [blame] | 88 | #elif defined(CONFIG_ARCH_MPC8555) |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 89 | #define CONFIG_MAX_CPUS 1 |
| 90 | #define CONFIG_SYS_FSL_NUM_LAWS 8 |
York Sun | 5614e71 | 2013-09-30 09:22:09 -0700 | [diff] [blame] | 91 | #define CONFIG_SYS_FSL_DDRC_GEN1 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 92 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Timur Tabi | e46fedf | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 93 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 94 | |
York Sun | 99d0a31 | 2016-11-16 11:26:45 -0800 | [diff] [blame] | 95 | #elif defined(CONFIG_ARCH_MPC8560) |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 96 | #define CONFIG_MAX_CPUS 1 |
| 97 | #define CONFIG_SYS_FSL_NUM_LAWS 8 |
York Sun | 5614e71 | 2013-09-30 09:22:09 -0700 | [diff] [blame] | 98 | #define CONFIG_SYS_FSL_DDRC_GEN1 |
Timur Tabi | e46fedf | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 99 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 100 | |
York Sun | d07c384 | 2016-11-16 11:32:17 -0800 | [diff] [blame] | 101 | #elif defined(CONFIG_ARCH_MPC8568) |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 102 | #define CONFIG_MAX_CPUS 1 |
| 103 | #define CONFIG_SYS_FSL_NUM_LAWS 10 |
York Sun | 5614e71 | 2013-09-30 09:22:09 -0700 | [diff] [blame] | 104 | #define CONFIG_SYS_FSL_DDRC_GEN2 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 105 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Kumar Gala | fdb4dad | 2011-01-31 23:09:25 -0600 | [diff] [blame] | 106 | #define QE_MURAM_SIZE 0x10000UL |
| 107 | #define MAX_QE_RISC 2 |
| 108 | #define QE_NUM_OF_SNUM 28 |
Timur Tabi | e46fedf | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 109 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Liu Gang | 7d67ed5 | 2012-03-08 00:33:14 +0000 | [diff] [blame] | 110 | #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 1 |
| 111 | #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 112 | #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
| 113 | #define CONFIG_SYS_FSL_RMU |
| 114 | #define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 115 | |
York Sun | 23b36a7 | 2016-11-16 11:34:52 -0800 | [diff] [blame] | 116 | #elif defined(CONFIG_ARCH_MPC8569) |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 117 | #define CONFIG_MAX_CPUS 1 |
| 118 | #define CONFIG_SYS_FSL_NUM_LAWS 10 |
| 119 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Kumar Gala | fdb4dad | 2011-01-31 23:09:25 -0600 | [diff] [blame] | 120 | #define QE_MURAM_SIZE 0x20000UL |
| 121 | #define MAX_QE_RISC 4 |
| 122 | #define QE_NUM_OF_SNUM 46 |
Timur Tabi | e46fedf | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 123 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Liu Gang | 7d67ed5 | 2012-03-08 00:33:14 +0000 | [diff] [blame] | 124 | #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 1 |
| 125 | #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 126 | #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
| 127 | #define CONFIG_SYS_FSL_RMU |
| 128 | #define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2 |
York Sun | 9855b3b | 2014-05-23 13:15:00 -0700 | [diff] [blame] | 129 | #define CONFIG_SYS_FSL_ERRATUM_A004508 |
York Sun | 954a1a4 | 2013-08-20 15:09:43 -0700 | [diff] [blame] | 130 | #define CONFIG_SYS_FSL_ERRATUM_A005125 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 131 | |
York Sun | c8f4847 | 2016-11-16 11:39:20 -0800 | [diff] [blame] | 132 | #elif defined(CONFIG_ARCH_MPC8572) |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 133 | #define CONFIG_MAX_CPUS 2 |
| 134 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
Prabhakar Kushwaha | e4879af | 2012-08-15 04:12:43 +0000 | [diff] [blame] | 135 | #define CONFIG_SYS_PPC_E500_DEBUG_TLB 2 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 136 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Timur Tabi | e46fedf | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 137 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
York Sun | eb0aff7 | 2011-01-25 21:51:27 -0800 | [diff] [blame] | 138 | #define CONFIG_SYS_FSL_ERRATUM_DDR_115 |
York Sun | 9167191 | 2011-01-25 22:05:49 -0800 | [diff] [blame] | 139 | #define CONFIG_SYS_FSL_ERRATUM_DDR111_DDR134 |
York Sun | 9855b3b | 2014-05-23 13:15:00 -0700 | [diff] [blame] | 140 | #define CONFIG_SYS_FSL_ERRATUM_A004508 |
York Sun | 954a1a4 | 2013-08-20 15:09:43 -0700 | [diff] [blame] | 141 | #define CONFIG_SYS_FSL_ERRATUM_A005125 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 142 | |
York Sun | 7d5f9f8 | 2016-11-16 13:08:52 -0800 | [diff] [blame] | 143 | #elif defined(CONFIG_ARCH_P1010) |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 144 | #define CONFIG_MAX_CPUS 1 |
Priyanka Jain | 32c8cfb | 2011-02-09 09:24:10 +0530 | [diff] [blame] | 145 | #define CONFIG_FSL_SDHC_V2_3 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 146 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
Prabhakar Kushwaha | ad75d44 | 2012-04-29 23:57:12 +0000 | [diff] [blame] | 147 | #define CONFIG_SYS_PPC_E500_DEBUG_TLB 3 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 148 | #define CONFIG_TSECV2 |
| 149 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
Poonam Aggrwal | 1fbf348 | 2011-02-06 11:31:44 +0530 | [diff] [blame] | 150 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
| 151 | #define CONFIG_NUM_DDR_CONTROLLERS 1 |
ramneek mehresh | f1810d8 | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 152 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 |
Mingkai Hu | 362ee04 | 2013-05-16 10:18:13 +0800 | [diff] [blame] | 153 | #define CONFIG_SYS_FSL_IFC_BANK_COUNT 4 |
Poonam Aggrwal | 1fbf348 | 2011-02-06 11:31:44 +0530 | [diff] [blame] | 154 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | 8f29084 | 2011-05-20 00:39:21 -0500 | [diff] [blame] | 155 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
Ramneek Mehresh | 1b719e6 | 2011-03-23 15:20:43 +0530 | [diff] [blame] | 156 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
Poonam Aggrwal | 42aee64 | 2011-06-30 03:00:28 -0500 | [diff] [blame] | 157 | #define CONFIG_SYS_FSL_ERRATUM_IFC_A002769 |
Poonam Aggrwal | fb855f4 | 2011-06-29 16:32:52 +0530 | [diff] [blame] | 158 | #define CONFIG_SYS_FSL_ERRATUM_P1010_A003549 |
Shengzhou Liu | 424bf94 | 2013-08-15 09:31:47 +0800 | [diff] [blame] | 159 | #define CONFIG_SYS_FSL_ERRATUM_SEC_A003571 |
Poonam Aggrwal | bc6bbd6 | 2011-07-07 20:36:47 +0530 | [diff] [blame] | 160 | #define CONFIG_SYS_FSL_ERRATUM_IFC_A003399 |
York Sun | 954a1a4 | 2013-08-20 15:09:43 -0700 | [diff] [blame] | 161 | #define CONFIG_SYS_FSL_ERRATUM_A005125 |
Chunhe Lan | 9c3f77e | 2013-08-16 15:10:37 +0800 | [diff] [blame] | 162 | #define CONFIG_SYS_FSL_ERRATUM_I2C_A004447 |
York Sun | 9855b3b | 2014-05-23 13:15:00 -0700 | [diff] [blame] | 163 | #define CONFIG_SYS_FSL_ERRATUM_A004508 |
Nikhil Badola | 1185691 | 2014-02-26 17:43:15 +0530 | [diff] [blame] | 164 | #define CONFIG_SYS_FSL_ERRATUM_A007075 |
Sriram Dash | 15a6d49 | 2016-08-17 11:47:53 +0530 | [diff] [blame] | 165 | #define CONFIG_SYS_FSL_USB1_PHY_ENABLE |
Suresh Gupta | 9c641a8 | 2014-02-26 14:29:12 +0530 | [diff] [blame] | 166 | #define CONFIG_SYS_FSL_ERRATUM_A006261 |
Nikhil Badola | 0dc78ff | 2014-11-21 17:25:21 +0530 | [diff] [blame] | 167 | #define CONFIG_SYS_FSL_ERRATUM_A004477 |
Chunhe Lan | 9c3f77e | 2013-08-16 15:10:37 +0800 | [diff] [blame] | 168 | #define CONFIG_SYS_FSL_A004447_SVR_REV 0x10 |
Haijun.Zhang | f28bea0 | 2014-01-10 13:52:19 +0800 | [diff] [blame] | 169 | #define CONFIG_ESDHC_HC_BLK_ADDR |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 170 | |
Kumar Gala | 093cffb | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 171 | /* P1011 is single core version of P1020 */ |
York Sun | 1cdd96f | 2016-11-16 15:54:15 -0800 | [diff] [blame] | 172 | #elif defined(CONFIG_ARCH_P1011) |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 173 | #define CONFIG_MAX_CPUS 1 |
| 174 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
Prabhakar Kushwaha | ad75d44 | 2012-04-29 23:57:12 +0000 | [diff] [blame] | 175 | #define CONFIG_SYS_PPC_E500_DEBUG_TLB 2 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 176 | #define CONFIG_TSECV2 |
Prabhakar Kushwaha | b03a466 | 2011-02-01 15:55:58 +0000 | [diff] [blame] | 177 | #define CONFIG_FSL_PCIE_DISABLE_ASPM |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 178 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
ramneek mehresh | f1810d8 | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 179 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 |
Timur Tabi | e46fedf | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 180 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | 093cffb | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 181 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
| 182 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
York Sun | 9855b3b | 2014-05-23 13:15:00 -0700 | [diff] [blame] | 183 | #define CONFIG_SYS_FSL_ERRATUM_A004508 |
York Sun | 954a1a4 | 2013-08-20 15:09:43 -0700 | [diff] [blame] | 184 | #define CONFIG_SYS_FSL_ERRATUM_A005125 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 185 | |
York Sun | 484fff6 | 2016-11-18 10:02:14 -0800 | [diff] [blame] | 186 | #elif defined(CONFIG_ARCH_P1020) |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 187 | #define CONFIG_MAX_CPUS 2 |
| 188 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
Prabhakar Kushwaha | ad75d44 | 2012-04-29 23:57:12 +0000 | [diff] [blame] | 189 | #define CONFIG_SYS_PPC_E500_DEBUG_TLB 2 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 190 | #define CONFIG_TSECV2 |
Prabhakar Kushwaha | b03a466 | 2011-02-01 15:55:58 +0000 | [diff] [blame] | 191 | #define CONFIG_FSL_PCIE_DISABLE_ASPM |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 192 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Timur Tabi | e46fedf | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 193 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | 093cffb | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 194 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
| 195 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
York Sun | 9855b3b | 2014-05-23 13:15:00 -0700 | [diff] [blame] | 196 | #define CONFIG_SYS_FSL_ERRATUM_A004508 |
York Sun | 954a1a4 | 2013-08-20 15:09:43 -0700 | [diff] [blame] | 197 | #define CONFIG_SYS_FSL_ERRATUM_A005125 |
ramneek mehresh | 80ba6a6 | 2014-05-13 15:36:07 +0530 | [diff] [blame] | 198 | #ifndef CONFIG_USB_MAX_CONTROLLER_COUNT |
ramneek mehresh | f1810d8 | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 199 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 |
ramneek mehresh | 80ba6a6 | 2014-05-13 15:36:07 +0530 | [diff] [blame] | 200 | #endif |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 201 | |
York Sun | a990799 | 2016-11-18 10:59:02 -0800 | [diff] [blame] | 202 | #elif defined(CONFIG_ARCH_P1021) |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 203 | #define CONFIG_MAX_CPUS 2 |
| 204 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
Prabhakar Kushwaha | ad75d44 | 2012-04-29 23:57:12 +0000 | [diff] [blame] | 205 | #define CONFIG_SYS_PPC_E500_DEBUG_TLB 2 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 206 | #define CONFIG_TSECV2 |
Prabhakar Kushwaha | b03a466 | 2011-02-01 15:55:58 +0000 | [diff] [blame] | 207 | #define CONFIG_FSL_PCIE_DISABLE_ASPM |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 208 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Timur Tabi | e46fedf | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 209 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | 093cffb | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 210 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
| 211 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
Haiying Wang | a52d2f8 | 2011-02-11 01:25:30 -0600 | [diff] [blame] | 212 | #define QE_MURAM_SIZE 0x6000UL |
| 213 | #define MAX_QE_RISC 1 |
| 214 | #define QE_NUM_OF_SNUM 28 |
York Sun | 9855b3b | 2014-05-23 13:15:00 -0700 | [diff] [blame] | 215 | #define CONFIG_SYS_FSL_ERRATUM_A004508 |
York Sun | 954a1a4 | 2013-08-20 15:09:43 -0700 | [diff] [blame] | 216 | #define CONFIG_SYS_FSL_ERRATUM_A005125 |
ramneek mehresh | f1810d8 | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 217 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 218 | |
York Sun | feb9e25 | 2016-11-16 15:23:52 -0800 | [diff] [blame] | 219 | #elif defined(CONFIG_ARCH_P1022) |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 220 | #define CONFIG_MAX_CPUS 2 |
| 221 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
Prabhakar Kushwaha | ad75d44 | 2012-04-29 23:57:12 +0000 | [diff] [blame] | 222 | #define CONFIG_SYS_PPC_E500_DEBUG_TLB 2 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 223 | #define CONFIG_TSECV2 |
| 224 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Ying Zhang | 703f568 | 2015-01-30 14:52:11 +0800 | [diff] [blame] | 225 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 |
Timur Tabi | e46fedf | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 226 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Jiang Yutang | 2d7534a | 2011-01-30 17:06:20 -0600 | [diff] [blame] | 227 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
| 228 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
| 229 | #define CONFIG_FSL_SATA_ERRATUM_A001 |
York Sun | 9855b3b | 2014-05-23 13:15:00 -0700 | [diff] [blame] | 230 | #define CONFIG_SYS_FSL_ERRATUM_A004508 |
York Sun | 954a1a4 | 2013-08-20 15:09:43 -0700 | [diff] [blame] | 231 | #define CONFIG_SYS_FSL_ERRATUM_A005125 |
Nikhil Badola | 0dc78ff | 2014-11-21 17:25:21 +0530 | [diff] [blame] | 232 | #define CONFIG_SYS_FSL_ERRATUM_A004477 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 233 | |
York Sun | 9bb1d6b | 2016-11-16 15:45:31 -0800 | [diff] [blame] | 234 | #elif defined(CONFIG_ARCH_P1023) |
Roy Zang | 67a719d | 2011-02-03 22:14:19 -0600 | [diff] [blame] | 235 | #define CONFIG_MAX_CPUS 2 |
| 236 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
| 237 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
| 238 | #define CONFIG_SYS_NUM_FMAN 1 |
| 239 | #define CONFIG_SYS_NUM_FM1_DTSEC 2 |
| 240 | #define CONFIG_NUM_DDR_CONTROLLERS 1 |
ramneek mehresh | f1810d8 | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 241 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 |
Roy Zang | 67a719d | 2011-02-03 22:14:19 -0600 | [diff] [blame] | 242 | #define CONFIG_SYS_QMAN_NUM_PORTALS 3 |
| 243 | #define CONFIG_SYS_BMAN_NUM_PORTALS 3 |
Kumar Gala | c657d89 | 2011-02-04 00:43:34 -0600 | [diff] [blame] | 244 | #define CONFIG_SYS_FM_MURAM_SIZE 0x10000 |
Kumar Gala | 8f29084 | 2011-05-20 00:39:21 -0500 | [diff] [blame] | 245 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
Timur Tabi | e46fedf | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 246 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff600000 |
York Sun | 9855b3b | 2014-05-23 13:15:00 -0700 | [diff] [blame] | 247 | #define CONFIG_SYS_FSL_ERRATUM_A004508 |
York Sun | 954a1a4 | 2013-08-20 15:09:43 -0700 | [diff] [blame] | 248 | #define CONFIG_SYS_FSL_ERRATUM_A005125 |
Chunhe Lan | 9c3f77e | 2013-08-16 15:10:37 +0800 | [diff] [blame] | 249 | #define CONFIG_SYS_FSL_ERRATUM_I2C_A004447 |
| 250 | #define CONFIG_SYS_FSL_A004447_SVR_REV 0x11 |
Roy Zang | 67a719d | 2011-02-03 22:14:19 -0600 | [diff] [blame] | 251 | |
Kumar Gala | 093cffb | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 252 | /* P1024 is lower end variant of P1020 */ |
York Sun | 52b6f13 | 2016-11-18 11:00:57 -0800 | [diff] [blame] | 253 | #elif defined(CONFIG_ARCH_P1024) |
Kumar Gala | 093cffb | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 254 | #define CONFIG_MAX_CPUS 2 |
| 255 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
Prabhakar Kushwaha | ad75d44 | 2012-04-29 23:57:12 +0000 | [diff] [blame] | 256 | #define CONFIG_SYS_PPC_E500_DEBUG_TLB 2 |
Kumar Gala | 093cffb | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 257 | #define CONFIG_TSECV2 |
| 258 | #define CONFIG_FSL_PCIE_DISABLE_ASPM |
| 259 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
ramneek mehresh | f1810d8 | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 260 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 |
Timur Tabi | e46fedf | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 261 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | 093cffb | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 262 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
| 263 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
York Sun | 9855b3b | 2014-05-23 13:15:00 -0700 | [diff] [blame] | 264 | #define CONFIG_SYS_FSL_ERRATUM_A004508 |
York Sun | 954a1a4 | 2013-08-20 15:09:43 -0700 | [diff] [blame] | 265 | #define CONFIG_SYS_FSL_ERRATUM_A005125 |
Kumar Gala | 093cffb | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 266 | |
| 267 | /* P1025 is lower end variant of P1021 */ |
York Sun | 4167a67 | 2016-11-18 11:05:38 -0800 | [diff] [blame] | 268 | #elif defined(CONFIG_ARCH_P1025) |
Kumar Gala | 093cffb | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 269 | #define CONFIG_MAX_CPUS 2 |
| 270 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
Nikhil Badola | 1ff10a8 | 2015-05-21 09:07:53 +0530 | [diff] [blame] | 271 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 |
Prabhakar Kushwaha | ad75d44 | 2012-04-29 23:57:12 +0000 | [diff] [blame] | 272 | #define CONFIG_SYS_PPC_E500_DEBUG_TLB 2 |
Kumar Gala | 093cffb | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 273 | #define CONFIG_TSECV2 |
| 274 | #define CONFIG_FSL_PCIE_DISABLE_ASPM |
| 275 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Timur Tabi | e46fedf | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 276 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | 093cffb | 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 | a52d2f8 | 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 |
York Sun | 9855b3b | 2014-05-23 13:15:00 -0700 | [diff] [blame] | 282 | #define CONFIG_SYS_FSL_ERRATUM_A004508 |
York Sun | 954a1a4 | 2013-08-20 15:09:43 -0700 | [diff] [blame] | 283 | #define CONFIG_SYS_FSL_ERRATUM_A005125 |
Kumar Gala | 093cffb | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 284 | |
York Sun | 4593637 | 2016-11-18 11:08:43 -0800 | [diff] [blame] | 285 | #elif defined(CONFIG_ARCH_P2020) |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 286 | #define CONFIG_MAX_CPUS 2 |
| 287 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
Prabhakar Kushwaha | ad75d44 | 2012-04-29 23:57:12 +0000 | [diff] [blame] | 288 | #define CONFIG_SYS_PPC_E500_DEBUG_TLB 2 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 289 | #define CONFIG_SYS_FSL_SEC_COMPAT 2 |
Timur Tabi | e46fedf | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 290 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
Kumar Gala | 6e7f0bc0 | 2011-01-26 01:43:15 -0600 | [diff] [blame] | 291 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
Kumar Gala | 5103a03 | 2011-01-29 15:36:10 -0600 | [diff] [blame] | 292 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC_A001 |
Liu Gang | 7d67ed5 | 2012-03-08 00:33:14 +0000 | [diff] [blame] | 293 | #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2 |
| 294 | #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 295 | #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
| 296 | #define CONFIG_SYS_FSL_RMU |
| 297 | #define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2 |
York Sun | 9855b3b | 2014-05-23 13:15:00 -0700 | [diff] [blame] | 298 | #define CONFIG_SYS_FSL_ERRATUM_A004508 |
York Sun | 954a1a4 | 2013-08-20 15:09:43 -0700 | [diff] [blame] | 299 | #define CONFIG_SYS_FSL_ERRATUM_A005125 |
Nikhil Badola | 0dc78ff | 2014-11-21 17:25:21 +0530 | [diff] [blame] | 300 | #define CONFIG_SYS_FSL_ERRATUM_A004477 |
ramneek mehresh | f1810d8 | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 301 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 |
York Sun | 9855b3b | 2014-05-23 13:15:00 -0700 | [diff] [blame] | 302 | |
York Sun | ce040c8 | 2016-11-18 11:15:21 -0800 | [diff] [blame] | 303 | #elif defined(CONFIG_ARCH_P2041) /* also supports P2040 */ |
York Sun | d1001e3 | 2012-10-08 07:44:15 +0000 | [diff] [blame] | 304 | #define CONFIG_SYS_FSL_QORIQ_CHASSIS1 |
York Sun | d2ab4bb | 2013-06-25 11:37:39 -0700 | [diff] [blame] | 305 | #define CONFIG_FSL_CORENET /* Freescale CoreNet platform */ |
Kumar Gala | 1f97987 | 2011-05-13 01:16:07 -0500 | [diff] [blame] | 306 | #define CONFIG_MAX_CPUS 4 |
| 307 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 |
| 308 | #define CONFIG_SYS_FSL_NUM_LAWS 32 |
| 309 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
| 310 | #define CONFIG_SYS_NUM_FMAN 1 |
| 311 | #define CONFIG_SYS_NUM_FM1_DTSEC 5 |
| 312 | #define CONFIG_SYS_NUM_FM1_10GEC 1 |
| 313 | #define CONFIG_NUM_DDR_CONTROLLERS 1 |
ramneek mehresh | f1810d8 | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 314 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 |
Kumar Gala | 1f97987 | 2011-05-13 01:16:07 -0500 | [diff] [blame] | 315 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 |
| 316 | #define CONFIG_SYS_FSL_TBCLK_DIV 32 |
| 317 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
Timur Tabi | e46fedf | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 318 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 |
Kumar Gala | 1f97987 | 2011-05-13 01:16:07 -0500 | [diff] [blame] | 319 | #define CONFIG_SYS_FSL_USB1_PHY_ENABLE |
| 320 | #define CONFIG_SYS_FSL_USB2_PHY_ENABLE |
Kumar Gala | b6c3722 | 2011-04-13 00:19:10 -0500 | [diff] [blame] | 321 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
Kumar Gala | 1f97987 | 2011-05-13 01:16:07 -0500 | [diff] [blame] | 322 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
York Sun | 5e23ab0 | 2012-05-07 07:26:47 +0000 | [diff] [blame] | 323 | #define CONFIG_SYS_FSL_ERRATUM_NMG_CPU_A011 |
Xulei | 99d7b0a | 2013-03-11 17:56:34 +0000 | [diff] [blame] | 324 | #define CONFIG_SYS_FSL_ERRATUM_USB14 |
Kumar Gala | 43f082b | 2011-11-22 06:51:15 -0600 | [diff] [blame] | 325 | #define CONFIG_SYS_FSL_ERRATUM_CPU_A003999 |
York Sun | e22be77 | 2013-03-25 07:30:11 +0000 | [diff] [blame] | 326 | #define CONFIG_SYS_FSL_ERRATUM_DDR_A003 |
York Sun | 4108508 | 2011-11-20 10:01:35 -0800 | [diff] [blame] | 327 | #define CONFIG_SYS_FSL_ERRATUM_DDR_A003474 |
Liu Gang | 7d67ed5 | 2012-03-08 00:33:14 +0000 | [diff] [blame] | 328 | #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2 |
| 329 | #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 330 | #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
Scott Wood | 33eee33 | 2012-08-14 10:14:53 +0000 | [diff] [blame] | 331 | #define CONFIG_SYS_FSL_ERRATUM_A004510 |
| 332 | #define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x10 |
| 333 | #define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV2 0x11 |
| 334 | #define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000 |
Liu Gang | d59c557 | 2012-09-28 21:26:19 +0000 | [diff] [blame] | 335 | #define CONFIG_SYS_FSL_ERRATUM_SRIO_A004034 |
Timur Tabi | 0118033 | 2012-10-25 12:40:00 +0000 | [diff] [blame] | 336 | #define CONFIG_SYS_FSL_ERRATUM_A004849 |
Chunhe Lan | 9c3f77e | 2013-08-16 15:10:37 +0800 | [diff] [blame] | 337 | #define CONFIG_SYS_FSL_ERRATUM_I2C_A004447 |
Suresh Gupta | 9c641a8 | 2014-02-26 14:29:12 +0530 | [diff] [blame] | 338 | #define CONFIG_SYS_FSL_ERRATUM_A006261 |
Chunhe Lan | 9c3f77e | 2013-08-16 15:10:37 +0800 | [diff] [blame] | 339 | #define CONFIG_SYS_FSL_A004447_SVR_REV 0x11 |
Kumar Gala | 1f97987 | 2011-05-13 01:16:07 -0500 | [diff] [blame] | 340 | |
York Sun | 5e5fdd2 | 2016-11-18 11:20:40 -0800 | [diff] [blame] | 341 | #elif defined(CONFIG_ARCH_P3041) |
York Sun | d1001e3 | 2012-10-08 07:44:15 +0000 | [diff] [blame] | 342 | #define CONFIG_SYS_FSL_QORIQ_CHASSIS1 |
York Sun | d2ab4bb | 2013-06-25 11:37:39 -0700 | [diff] [blame] | 343 | #define CONFIG_FSL_CORENET /* Freescale CoreNet platform */ |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 344 | #define CONFIG_MAX_CPUS 4 |
Kumar Gala | b5c8753 | 2011-02-16 02:03:29 -0600 | [diff] [blame] | 345 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 346 | #define CONFIG_SYS_FSL_NUM_LAWS 32 |
| 347 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
Kumar Gala | fbee0f7 | 2011-01-25 12:42:32 -0600 | [diff] [blame] | 348 | #define CONFIG_SYS_NUM_FMAN 1 |
| 349 | #define CONFIG_SYS_NUM_FM1_DTSEC 5 |
| 350 | #define CONFIG_SYS_NUM_FM1_10GEC 1 |
| 351 | #define CONFIG_NUM_DDR_CONTROLLERS 1 |
York Sun | 34e026f | 2014-03-27 17:54:47 -0700 | [diff] [blame] | 352 | #define CONFIG_SYS_FSL_DDR_VER FSL_DDR_VER_4_5 |
Kumar Gala | c657d89 | 2011-02-04 00:43:34 -0600 | [diff] [blame] | 353 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 |
Kumar Gala | 66412c6 | 2011-02-18 05:40:54 -0600 | [diff] [blame] | 354 | #define CONFIG_SYS_FSL_TBCLK_DIV 32 |
Kumar Gala | 8f29084 | 2011-05-20 00:39:21 -0500 | [diff] [blame] | 355 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
Timur Tabi | e46fedf | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 356 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 |
Roy Zang | 86221f0 | 2011-04-13 00:08:51 -0500 | [diff] [blame] | 357 | #define CONFIG_SYS_FSL_USB1_PHY_ENABLE |
| 358 | #define CONFIG_SYS_FSL_USB2_PHY_ENABLE |
Kumar Gala | b6c3722 | 2011-04-13 00:19:10 -0500 | [diff] [blame] | 359 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
ramneek mehresh | f1810d8 | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 360 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 |
Lei Xu | 3000976 | 2011-04-19 15:28:41 +0800 | [diff] [blame] | 361 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
York Sun | 57125f2 | 2012-08-08 18:04:53 +0000 | [diff] [blame] | 362 | #define CONFIG_SYS_FSL_ERRATUM_NMG_CPU_A011 |
Xulei | 99d7b0a | 2013-03-11 17:56:34 +0000 | [diff] [blame] | 363 | #define CONFIG_SYS_FSL_ERRATUM_USB14 |
Kumar Gala | 43f082b | 2011-11-22 06:51:15 -0600 | [diff] [blame] | 364 | #define CONFIG_SYS_FSL_ERRATUM_CPU_A003999 |
York Sun | e22be77 | 2013-03-25 07:30:11 +0000 | [diff] [blame] | 365 | #define CONFIG_SYS_FSL_ERRATUM_DDR_A003 |
York Sun | 4108508 | 2011-11-20 10:01:35 -0800 | [diff] [blame] | 366 | #define CONFIG_SYS_FSL_ERRATUM_DDR_A003474 |
Liu Gang | 7d67ed5 | 2012-03-08 00:33:14 +0000 | [diff] [blame] | 367 | #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2 |
| 368 | #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 369 | #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
Scott Wood | 33eee33 | 2012-08-14 10:14:53 +0000 | [diff] [blame] | 370 | #define CONFIG_SYS_FSL_ERRATUM_A004510 |
| 371 | #define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x10 |
| 372 | #define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV2 0x11 |
| 373 | #define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000 |
Liu Gang | d59c557 | 2012-09-28 21:26:19 +0000 | [diff] [blame] | 374 | #define CONFIG_SYS_FSL_ERRATUM_SRIO_A004034 |
Timur Tabi | 0118033 | 2012-10-25 12:40:00 +0000 | [diff] [blame] | 375 | #define CONFIG_SYS_FSL_ERRATUM_A004849 |
York Sun | d217a9a | 2013-06-25 11:37:49 -0700 | [diff] [blame] | 376 | #define CONFIG_SYS_FSL_ERRATUM_A005812 |
Chunhe Lan | 9c3f77e | 2013-08-16 15:10:37 +0800 | [diff] [blame] | 377 | #define CONFIG_SYS_FSL_ERRATUM_I2C_A004447 |
Suresh Gupta | 9c641a8 | 2014-02-26 14:29:12 +0530 | [diff] [blame] | 378 | #define CONFIG_SYS_FSL_ERRATUM_A006261 |
Chunhe Lan | 9c3f77e | 2013-08-16 15:10:37 +0800 | [diff] [blame] | 379 | #define CONFIG_SYS_FSL_A004447_SVR_REV 0x20 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 380 | |
York Sun | e71372c | 2016-11-18 11:24:40 -0800 | [diff] [blame] | 381 | #elif defined(CONFIG_ARCH_P4080) /* also supports P4040 */ |
York Sun | d1001e3 | 2012-10-08 07:44:15 +0000 | [diff] [blame] | 382 | #define CONFIG_SYS_FSL_QORIQ_CHASSIS1 |
York Sun | d2ab4bb | 2013-06-25 11:37:39 -0700 | [diff] [blame] | 383 | #define CONFIG_FSL_CORENET /* Freescale CoreNet platform */ |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 384 | #define CONFIG_MAX_CPUS 8 |
Kumar Gala | b5c8753 | 2011-02-16 02:03:29 -0600 | [diff] [blame] | 385 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 4 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 386 | #define CONFIG_SYS_FSL_NUM_LAWS 32 |
| 387 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
| 388 | #define CONFIG_SYS_NUM_FMAN 2 |
| 389 | #define CONFIG_SYS_NUM_FM1_DTSEC 4 |
| 390 | #define CONFIG_SYS_NUM_FM2_DTSEC 4 |
| 391 | #define CONFIG_SYS_NUM_FM1_10GEC 1 |
| 392 | #define CONFIG_SYS_NUM_FM2_10GEC 1 |
| 393 | #define CONFIG_NUM_DDR_CONTROLLERS 2 |
York Sun | 34e026f | 2014-03-27 17:54:47 -0700 | [diff] [blame] | 394 | #define CONFIG_SYS_FSL_DDR_VER FSL_DDR_VER_4_4 |
ramneek mehresh | f1810d8 | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 395 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 |
Kumar Gala | c657d89 | 2011-02-04 00:43:34 -0600 | [diff] [blame] | 396 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 |
Kumar Gala | 66412c6 | 2011-02-18 05:40:54 -0600 | [diff] [blame] | 397 | #define CONFIG_SYS_FSL_TBCLK_DIV 16 |
Kumar Gala | 8f29084 | 2011-05-20 00:39:21 -0500 | [diff] [blame] | 398 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,p4080-pcie" |
Timur Tabi | e46fedf | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 399 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 400 | #define CONFIG_SYS_FSL_ERRATUM_CPC_A002 |
| 401 | #define CONFIG_SYS_FSL_ERRATUM_CPC_A003 |
York Sun | fa8d23c | 2011-01-10 12:03:01 +0000 | [diff] [blame] | 402 | #define CONFIG_SYS_FSL_ERRATUM_DDR_A003 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 403 | #define CONFIG_SYS_FSL_ERRATUM_ELBC_A001 |
| 404 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
| 405 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC135 |
Zang Roy-R61911 | 4e0be34 | 2012-09-18 09:50:08 +0000 | [diff] [blame] | 406 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC13 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 407 | #define CONFIG_SYS_P4080_ERRATUM_CPU22 |
York Sun | 5e23ab0 | 2012-05-07 07:26:47 +0000 | [diff] [blame] | 408 | #define CONFIG_SYS_FSL_ERRATUM_NMG_CPU_A011 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 409 | #define CONFIG_SYS_P4080_ERRATUM_SERDES8 |
Emil Medve | df8af0b | 2010-08-31 22:57:38 -0500 | [diff] [blame] | 410 | #define CONFIG_SYS_P4080_ERRATUM_SERDES9 |
Timur Tabi | d90fdba | 2011-04-18 17:16:00 -0500 | [diff] [blame] | 411 | #define CONFIG_SYS_P4080_ERRATUM_SERDES_A001 |
Timur Tabi | da30b9f | 2011-04-01 13:19:36 -0500 | [diff] [blame] | 412 | #define CONFIG_SYS_P4080_ERRATUM_SERDES_A005 |
Kumar Gala | 43f082b | 2011-11-22 06:51:15 -0600 | [diff] [blame] | 413 | #define CONFIG_SYS_FSL_ERRATUM_CPU_A003999 |
York Sun | 4108508 | 2011-11-20 10:01:35 -0800 | [diff] [blame] | 414 | #define CONFIG_SYS_FSL_ERRATUM_DDR_A003474 |
Liu Gang | 7d67ed5 | 2012-03-08 00:33:14 +0000 | [diff] [blame] | 415 | #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2 |
| 416 | #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 417 | #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
| 418 | #define CONFIG_SYS_FSL_RMU |
| 419 | #define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2 |
Scott Wood | 33eee33 | 2012-08-14 10:14:53 +0000 | [diff] [blame] | 420 | #define CONFIG_SYS_FSL_ERRATUM_A004510 |
| 421 | #define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x20 |
| 422 | #define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xff000000 |
Liu Gang | d59c557 | 2012-09-28 21:26:19 +0000 | [diff] [blame] | 423 | #define CONFIG_SYS_FSL_ERRATUM_SRIO_A004034 |
Timur Tabi | 0118033 | 2012-10-25 12:40:00 +0000 | [diff] [blame] | 424 | #define CONFIG_SYS_FSL_ERRATUM_A004849 |
Timur Tabi | d607b96 | 2012-11-01 08:20:23 +0000 | [diff] [blame] | 425 | #define CONFIG_SYS_FSL_ERRATUM_A004580 |
Yuanquan Chen | c0a4e6b | 2012-11-26 23:49:45 +0000 | [diff] [blame] | 426 | #define CONFIG_SYS_P4080_ERRATUM_PCIE_A003 |
York Sun | d217a9a | 2013-06-25 11:37:49 -0700 | [diff] [blame] | 427 | #define CONFIG_SYS_FSL_ERRATUM_A005812 |
Chunhe Lan | 9c3f77e | 2013-08-16 15:10:37 +0800 | [diff] [blame] | 428 | #define CONFIG_SYS_FSL_ERRATUM_I2C_A004447 |
Nikhil Badola | 1185691 | 2014-02-26 17:43:15 +0530 | [diff] [blame] | 429 | #define CONFIG_SYS_FSL_ERRATUM_A007075 |
Chunhe Lan | 9c3f77e | 2013-08-16 15:10:37 +0800 | [diff] [blame] | 430 | #define CONFIG_SYS_FSL_A004447_SVR_REV 0x20 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 431 | |
York Sun | cefe11c | 2016-11-18 11:30:56 -0800 | [diff] [blame] | 432 | #elif defined(CONFIG_ARCH_P5020) /* also supports P5010 */ |
York Sun | ffd06e0 | 2012-10-08 07:44:30 +0000 | [diff] [blame] | 433 | #define CONFIG_SYS_PPC64 /* 64-bit core */ |
York Sun | d1001e3 | 2012-10-08 07:44:15 +0000 | [diff] [blame] | 434 | #define CONFIG_SYS_FSL_QORIQ_CHASSIS1 |
York Sun | d2ab4bb | 2013-06-25 11:37:39 -0700 | [diff] [blame] | 435 | #define CONFIG_FSL_CORENET /* Freescale CoreNet platform */ |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 436 | #define CONFIG_MAX_CPUS 2 |
Kumar Gala | b5c8753 | 2011-02-16 02:03:29 -0600 | [diff] [blame] | 437 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 438 | #define CONFIG_SYS_FSL_NUM_LAWS 32 |
| 439 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
Kumar Gala | fbee0f7 | 2011-01-25 12:42:32 -0600 | [diff] [blame] | 440 | #define CONFIG_SYS_NUM_FMAN 1 |
| 441 | #define CONFIG_SYS_NUM_FM1_DTSEC 5 |
| 442 | #define CONFIG_SYS_NUM_FM1_10GEC 1 |
| 443 | #define CONFIG_NUM_DDR_CONTROLLERS 2 |
York Sun | 34e026f | 2014-03-27 17:54:47 -0700 | [diff] [blame] | 444 | #define CONFIG_SYS_FSL_DDR_VER FSL_DDR_VER_4_4 |
ramneek mehresh | f1810d8 | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 445 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 |
Kumar Gala | c657d89 | 2011-02-04 00:43:34 -0600 | [diff] [blame] | 446 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 |
Kumar Gala | 66412c6 | 2011-02-18 05:40:54 -0600 | [diff] [blame] | 447 | #define CONFIG_SYS_FSL_TBCLK_DIV 32 |
Kumar Gala | 8f29084 | 2011-05-20 00:39:21 -0500 | [diff] [blame] | 448 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
Timur Tabi | e46fedf | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 449 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 |
Roy Zang | 86221f0 | 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 | b6c3722 | 2011-04-13 00:19:10 -0500 | [diff] [blame] | 452 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
Lei Xu | 3000976 | 2011-04-19 15:28:41 +0800 | [diff] [blame] | 453 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
Xulei | 99d7b0a | 2013-03-11 17:56:34 +0000 | [diff] [blame] | 454 | #define CONFIG_SYS_FSL_ERRATUM_USB14 |
York Sun | e22be77 | 2013-03-25 07:30:11 +0000 | [diff] [blame] | 455 | #define CONFIG_SYS_FSL_ERRATUM_DDR_A003 |
York Sun | 4108508 | 2011-11-20 10:01:35 -0800 | [diff] [blame] | 456 | #define CONFIG_SYS_FSL_ERRATUM_DDR_A003474 |
Liu Gang | 7d67ed5 | 2012-03-08 00:33:14 +0000 | [diff] [blame] | 457 | #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2 |
| 458 | #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 459 | #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
Scott Wood | 33eee33 | 2012-08-14 10:14:53 +0000 | [diff] [blame] | 460 | #define CONFIG_SYS_FSL_ERRATUM_A004510 |
| 461 | #define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x10 |
| 462 | #define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xc0000000 |
Liu Gang | d59c557 | 2012-09-28 21:26:19 +0000 | [diff] [blame] | 463 | #define CONFIG_SYS_FSL_ERRATUM_SRIO_A004034 |
Chunhe Lan | 9c3f77e | 2013-08-16 15:10:37 +0800 | [diff] [blame] | 464 | #define CONFIG_SYS_FSL_ERRATUM_I2C_A004447 |
Suresh Gupta | 9c641a8 | 2014-02-26 14:29:12 +0530 | [diff] [blame] | 465 | #define CONFIG_SYS_FSL_ERRATUM_A006261 |
Chunhe Lan | 9c3f77e | 2013-08-16 15:10:37 +0800 | [diff] [blame] | 466 | #define CONFIG_SYS_FSL_A004447_SVR_REV 0x20 |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 467 | |
York Sun | 9539036 | 2016-11-18 11:39:36 -0800 | [diff] [blame] | 468 | #elif defined(CONFIG_ARCH_P5040) |
Timur Tabi | 1956e43 | 2012-10-23 10:48:09 +0000 | [diff] [blame] | 469 | #define CONFIG_SYS_PPC64 |
Timur Tabi | 4905443 | 2012-10-05 11:09:19 +0000 | [diff] [blame] | 470 | #define CONFIG_SYS_FSL_QORIQ_CHASSIS1 |
York Sun | d2ab4bb | 2013-06-25 11:37:39 -0700 | [diff] [blame] | 471 | #define CONFIG_FSL_CORENET /* Freescale CoreNet platform */ |
Timur Tabi | 4905443 | 2012-10-05 11:09:19 +0000 | [diff] [blame] | 472 | #define CONFIG_MAX_CPUS 4 |
| 473 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 3 |
| 474 | #define CONFIG_SYS_FSL_NUM_LAWS 32 |
| 475 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
| 476 | #define CONFIG_SYS_NUM_FMAN 2 |
| 477 | #define CONFIG_SYS_NUM_FM1_DTSEC 5 |
| 478 | #define CONFIG_SYS_NUM_FM1_10GEC 1 |
| 479 | #define CONFIG_SYS_NUM_FM2_DTSEC 5 |
| 480 | #define CONFIG_SYS_NUM_FM2_10GEC 1 |
| 481 | #define CONFIG_NUM_DDR_CONTROLLERS 2 |
York Sun | 34e026f | 2014-03-27 17:54:47 -0700 | [diff] [blame] | 482 | #define CONFIG_SYS_FSL_DDR_VER FSL_DDR_VER_4_4 |
ramneek mehresh | f1810d8 | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 483 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 |
Timur Tabi | 4905443 | 2012-10-05 11:09:19 +0000 | [diff] [blame] | 484 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 |
| 485 | #define CONFIG_SYS_FSL_TBCLK_DIV 16 |
| 486 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.4" |
| 487 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 |
| 488 | #define CONFIG_SYS_FSL_USB1_PHY_ENABLE |
| 489 | #define CONFIG_SYS_FSL_USB2_PHY_ENABLE |
| 490 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
| 491 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
Xulei | 99d7b0a | 2013-03-11 17:56:34 +0000 | [diff] [blame] | 492 | #define CONFIG_SYS_FSL_ERRATUM_USB14 |
Timur Tabi | 4905443 | 2012-10-05 11:09:19 +0000 | [diff] [blame] | 493 | #define CONFIG_SYS_FSL_ERRATUM_DDR_A003 |
| 494 | #define CONFIG_SYS_FSL_ERRATUM_DDR_A003474 |
| 495 | #define CONFIG_SYS_FSL_ERRATUM_A004699 |
Timur Tabi | 4905443 | 2012-10-05 11:09:19 +0000 | [diff] [blame] | 496 | #define CONFIG_SYS_FSL_ERRATUM_A004510 |
| 497 | #define CONFIG_SYS_FSL_ERRATUM_A004510_SVR_REV 0x10 |
Suresh Gupta | 9c641a8 | 2014-02-26 14:29:12 +0530 | [diff] [blame] | 498 | #define CONFIG_SYS_FSL_ERRATUM_A006261 |
Timur Tabi | 4905443 | 2012-10-05 11:09:19 +0000 | [diff] [blame] | 499 | #define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000 |
York Sun | d217a9a | 2013-06-25 11:37:49 -0700 | [diff] [blame] | 500 | #define CONFIG_SYS_FSL_ERRATUM_A005812 |
Timur Tabi | 4905443 | 2012-10-05 11:09:19 +0000 | [diff] [blame] | 501 | |
York Sun | 115d60c | 2016-11-15 14:09:50 -0800 | [diff] [blame] | 502 | #elif defined(CONFIG_ARCH_BSC9131) |
Prabhakar Kushwaha | 19a8dbd | 2012-04-24 20:16:49 +0000 | [diff] [blame] | 503 | #define CONFIG_MAX_CPUS 1 |
| 504 | #define CONFIG_FSL_SDHC_V2_3 |
| 505 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
| 506 | #define CONFIG_TSECV2 |
| 507 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
| 508 | #define CONFIG_NUM_DDR_CONTROLLERS 1 |
York Sun | 34e026f | 2014-03-27 17:54:47 -0700 | [diff] [blame] | 509 | #define CONFIG_SYS_FSL_DDR_VER FSL_DDR_VER_4_4 |
ramneek mehresh | f1810d8 | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 510 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 |
Priyanka Jain | 765b0bd | 2013-04-04 09:31:54 +0530 | [diff] [blame] | 511 | #define CONFIG_SYS_FSL_DSP_M2_RAM_ADDR 0xb0000000 |
| 512 | #define CONFIG_SYS_FSL_DSP_CCSRBAR_DEFAULT 0xff600000 |
Mingkai Hu | 362ee04 | 2013-05-16 10:18:13 +0800 | [diff] [blame] | 513 | #define CONFIG_SYS_FSL_IFC_BANK_COUNT 3 |
Prabhakar Kushwaha | 19a8dbd | 2012-04-24 20:16:49 +0000 | [diff] [blame] | 514 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
| 515 | #define CONFIG_NAND_FSL_IFC |
Prabhakar Kushwaha | 19a8dbd | 2012-04-24 20:16:49 +0000 | [diff] [blame] | 516 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
York Sun | 954a1a4 | 2013-08-20 15:09:43 -0700 | [diff] [blame] | 517 | #define CONFIG_SYS_FSL_ERRATUM_A005125 |
Nikhil Badola | 0dc78ff | 2014-11-21 17:25:21 +0530 | [diff] [blame] | 518 | #define CONFIG_SYS_FSL_ERRATUM_A004477 |
Haijun.Zhang | f28bea0 | 2014-01-10 13:52:19 +0800 | [diff] [blame] | 519 | #define CONFIG_ESDHC_HC_BLK_ADDR |
Prabhakar Kushwaha | 19a8dbd | 2012-04-24 20:16:49 +0000 | [diff] [blame] | 520 | |
York Sun | 115d60c | 2016-11-15 14:09:50 -0800 | [diff] [blame] | 521 | #elif defined(CONFIG_ARCH_BSC9132) |
Prabhakar Kushwaha | 35fe948 | 2013-01-23 17:59:57 +0000 | [diff] [blame] | 522 | #define CONFIG_MAX_CPUS 2 |
| 523 | #define CONFIG_SYS_PPC_E500_DEBUG_TLB 3 |
| 524 | #define CONFIG_FSL_SDHC_V2_3 |
| 525 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
| 526 | #define CONFIG_TSECV2 |
| 527 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
| 528 | #define CONFIG_NUM_DDR_CONTROLLERS 2 |
York Sun | 34e026f | 2014-03-27 17:54:47 -0700 | [diff] [blame] | 529 | #define CONFIG_SYS_FSL_DDR_VER FSL_DDR_VER_4_6 |
ramneek mehresh | f1810d8 | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 530 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 |
Priyanka Jain | 64501c6 | 2013-07-02 09:21:04 +0530 | [diff] [blame] | 531 | #define CONFIG_SYS_FSL_DSP_DDR_ADDR 0x40000000 |
| 532 | #define CONFIG_SYS_FSL_DSP_M2_RAM_ADDR 0xb0000000 |
| 533 | #define CONFIG_SYS_FSL_DSP_M3_RAM_ADDR 0xc0000000 |
| 534 | #define CONFIG_SYS_FSL_DSP_CCSRBAR_DEFAULT 0xff600000 |
York Sun | 061ffed | 2013-04-18 19:31:01 -0700 | [diff] [blame] | 535 | #define CONFIG_SYS_FSL_IFC_BANK_COUNT 3 |
Prabhakar Kushwaha | 35fe948 | 2013-01-23 17:59:57 +0000 | [diff] [blame] | 536 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
| 537 | #define CONFIG_NAND_FSL_IFC |
Prabhakar Kushwaha | 35fe948 | 2013-01-23 17:59:57 +0000 | [diff] [blame] | 538 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
| 539 | #define CONFIG_SYS_FSL_ESDHC_P1010_BROKEN_SDCLK |
| 540 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
York Sun | 954a1a4 | 2013-08-20 15:09:43 -0700 | [diff] [blame] | 541 | #define CONFIG_SYS_FSL_ERRATUM_A005125 |
Chunhe Lan | f1a96ec | 2014-05-07 10:50:20 +0800 | [diff] [blame] | 542 | #define CONFIG_SYS_FSL_ERRATUM_A005434 |
Nikhil Badola | 0dc78ff | 2014-11-21 17:25:21 +0530 | [diff] [blame] | 543 | #define CONFIG_SYS_FSL_ERRATUM_A004477 |
Chunhe Lan | 9c3f77e | 2013-08-16 15:10:37 +0800 | [diff] [blame] | 544 | #define CONFIG_SYS_FSL_ERRATUM_I2C_A004447 |
| 545 | #define CONFIG_SYS_FSL_A004447_SVR_REV 0x11 |
Haijun.Zhang | f28bea0 | 2014-01-10 13:52:19 +0800 | [diff] [blame] | 546 | #define CONFIG_ESDHC_HC_BLK_ADDR |
Prabhakar Kushwaha | 35fe948 | 2013-01-23 17:59:57 +0000 | [diff] [blame] | 547 | |
Shengzhou Liu | 5122dfa | 2014-04-25 16:31:22 +0800 | [diff] [blame] | 548 | #elif defined(CONFIG_PPC_T4240) || defined(CONFIG_PPC_T4160) || \ |
| 549 | defined(CONFIG_PPC_T4080) |
York Sun | 3d2972f | 2013-03-25 07:40:05 +0000 | [diff] [blame] | 550 | #define CONFIG_E6500 |
York Sun | ffd06e0 | 2012-10-08 07:44:30 +0000 | [diff] [blame] | 551 | #define CONFIG_SYS_PPC64 /* 64-bit core */ |
York Sun | 9e75875 | 2012-10-08 07:44:19 +0000 | [diff] [blame] | 552 | #define CONFIG_FSL_CORENET /* Freescale CoreNet platform */ |
| 553 | #define CONFIG_SYS_FSL_QORIQ_CHASSIS2 /* Freescale Chassis generation 2 */ |
York Sun | f698143 | 2013-03-25 07:40:07 +0000 | [diff] [blame] | 554 | #define CONFIG_SYS_FSL_CORES_PER_CLUSTER 4 |
York Sun | 9e75875 | 2012-10-08 07:44:19 +0000 | [diff] [blame] | 555 | #define CONFIG_SYS_FSL_QMAN_V3 /* QMAN version 3 */ |
York Sun | 3d2972f | 2013-03-25 07:40:05 +0000 | [diff] [blame] | 556 | #ifdef CONFIG_PPC_T4240 |
York Sun | 9e75875 | 2012-10-08 07:44:19 +0000 | [diff] [blame] | 557 | #define CONFIG_MAX_CPUS 12 |
Prabhakar Kushwaha | ce746fe | 2013-09-03 11:20:15 +0530 | [diff] [blame] | 558 | #define CONFIG_SYS_FSL_CLUSTER_CLOCKS { 1, 1, 4 } |
York Sun | 9e75875 | 2012-10-08 07:44:19 +0000 | [diff] [blame] | 559 | #define CONFIG_SYS_NUM_FM1_DTSEC 8 |
| 560 | #define CONFIG_SYS_NUM_FM1_10GEC 2 |
| 561 | #define CONFIG_SYS_NUM_FM2_DTSEC 8 |
| 562 | #define CONFIG_SYS_NUM_FM2_10GEC 2 |
| 563 | #define CONFIG_NUM_DDR_CONTROLLERS 3 |
Sriram Dash | f413d1c | 2016-08-17 11:47:54 +0530 | [diff] [blame] | 564 | #define CONFIG_SYS_FSL_ERRATUM_A006261 |
York Sun | 3d2972f | 2013-03-25 07:40:05 +0000 | [diff] [blame] | 565 | #else |
Shengzhou Liu | 5122dfa | 2014-04-25 16:31:22 +0800 | [diff] [blame] | 566 | #define CONFIG_SYS_NUM_FM1_DTSEC 6 |
York Sun | 3d2972f | 2013-03-25 07:40:05 +0000 | [diff] [blame] | 567 | #define CONFIG_SYS_NUM_FM1_10GEC 1 |
Shengzhou Liu | 5122dfa | 2014-04-25 16:31:22 +0800 | [diff] [blame] | 568 | #define CONFIG_SYS_NUM_FM2_DTSEC 8 |
York Sun | 3d2972f | 2013-03-25 07:40:05 +0000 | [diff] [blame] | 569 | #define CONFIG_SYS_NUM_FM2_10GEC 1 |
| 570 | #define CONFIG_NUM_DDR_CONTROLLERS 2 |
Shengzhou Liu | 5122dfa | 2014-04-25 16:31:22 +0800 | [diff] [blame] | 571 | #if defined(CONFIG_PPC_T4160) |
| 572 | #define CONFIG_MAX_CPUS 8 |
| 573 | #define CONFIG_SYS_FSL_CLUSTER_CLOCKS { 1, 1 } |
| 574 | #elif defined(CONFIG_PPC_T4080) |
| 575 | #define CONFIG_MAX_CPUS 4 |
| 576 | #define CONFIG_SYS_FSL_CLUSTER_CLOCKS { 1 } |
| 577 | #endif |
York Sun | 3d2972f | 2013-03-25 07:40:05 +0000 | [diff] [blame] | 578 | #endif |
York Sun | b624084 | 2013-03-25 07:33:29 +0000 | [diff] [blame] | 579 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 5 |
| 580 | #define CONFIG_SYS_FSL_NUM_LAWS 32 |
Prabhakar Kushwaha | a4c955b | 2013-07-31 16:56:41 +0530 | [diff] [blame] | 581 | #define CONFIG_SYS_FSL_SRDS_1 |
| 582 | #define CONFIG_SYS_FSL_SRDS_2 |
York Sun | b624084 | 2013-03-25 07:33:29 +0000 | [diff] [blame] | 583 | #define CONFIG_SYS_FSL_SRDS_3 |
| 584 | #define CONFIG_SYS_FSL_SRDS_4 |
| 585 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
| 586 | #define CONFIG_SYS_NUM_FMAN 2 |
ramneek mehresh | f1810d8 | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 587 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 |
Prabhakar Kushwaha | ce746fe | 2013-09-03 11:20:15 +0530 | [diff] [blame] | 588 | #define CONFIG_SYS_PME_CLK 0 |
York Sun | b624084 | 2013-03-25 07:33:29 +0000 | [diff] [blame] | 589 | #define CONFIG_SYS_FSL_DDR_VER FSL_DDR_VER_4_7 |
Mingkai Hu | 362ee04 | 2013-05-16 10:18:13 +0800 | [diff] [blame] | 590 | #define CONFIG_SYS_FSL_IFC_BANK_COUNT 8 |
York Sun | b624084 | 2013-03-25 07:33:29 +0000 | [diff] [blame] | 591 | #define CONFIG_SYS_FMAN_V3 |
Prabhakar Kushwaha | ce746fe | 2013-09-03 11:20:15 +0530 | [diff] [blame] | 592 | #define CONFIG_SYS_FM1_CLK 3 |
| 593 | #define CONFIG_SYS_FM2_CLK 3 |
York Sun | b624084 | 2013-03-25 07:33:29 +0000 | [diff] [blame] | 594 | #define CONFIG_SYS_FM_MURAM_SIZE 0x60000 |
| 595 | #define CONFIG_SYS_FSL_TBCLK_DIV 16 |
| 596 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v3.0" |
| 597 | #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2 |
| 598 | #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 599 | #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
Liu Gang | 0804793 | 2013-06-25 18:12:14 +0800 | [diff] [blame] | 600 | #define CONFIG_SYS_FSL_SRIO_LIODN |
York Sun | b624084 | 2013-03-25 07:33:29 +0000 | [diff] [blame] | 601 | #define CONFIG_SYS_FSL_USB_DUAL_PHY_ENABLE |
| 602 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
| 603 | #define CONFIG_SYS_FSL_ERRATUM_A004468 |
| 604 | #define CONFIG_SYS_FSL_ERRATUM_A_004934 |
| 605 | #define CONFIG_SYS_FSL_ERRATUM_A005871 |
York Sun | 133fbfa | 2013-09-16 12:49:31 -0700 | [diff] [blame] | 606 | #define CONFIG_SYS_FSL_ERRATUM_A006379 |
Shaveta Leekha | b6808cd | 2014-05-28 14:18:55 +0530 | [diff] [blame] | 607 | #define CONFIG_SYS_FSL_ERRATUM_A007186 |
Scott Wood | 8212519 | 2013-05-15 17:50:13 -0500 | [diff] [blame] | 608 | #define CONFIG_SYS_FSL_ERRATUM_A006593 |
Nikhil Badola | f3dff69 | 2014-10-17 09:12:07 +0530 | [diff] [blame] | 609 | #define CONFIG_SYS_FSL_ERRATUM_A007798 |
York Sun | b624084 | 2013-03-25 07:33:29 +0000 | [diff] [blame] | 610 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 |
Shaveta Leekha | b6808cd | 2014-05-28 14:18:55 +0530 | [diff] [blame] | 611 | #define CONFIG_SYS_FSL_SFP_VER_3_0 |
York Sun | b624084 | 2013-03-25 07:33:29 +0000 | [diff] [blame] | 612 | #define CONFIG_SYS_FSL_PCI_VER_3_X |
| 613 | |
York Sun | b41f192 | 2016-11-18 11:56:57 -0800 | [diff] [blame] | 614 | #elif defined(CONFIG_ARCH_B4860) || defined(CONFIG_ARCH_B4420) |
Poonam Aggrwal | 8fa0102 | 2013-03-25 07:40:20 +0000 | [diff] [blame] | 615 | #define CONFIG_E6500 |
Poonam Aggrwal | e1dbdd8 | 2012-12-23 19:24:16 +0000 | [diff] [blame] | 616 | #define CONFIG_SYS_PPC64 /* 64-bit core */ |
| 617 | #define CONFIG_FSL_CORENET /* Freescale CoreNet platform */ |
| 618 | #define CONFIG_SYS_FSL_QORIQ_CHASSIS2 /* Freescale Chassis generation 2 */ |
| 619 | #define CONFIG_SYS_FSL_QMAN_V3 /* QMAN version 3 */ |
Shaveta Leekha | b8bf0ad | 2015-01-19 12:46:54 +0530 | [diff] [blame] | 620 | #define CONFIG_HETROGENOUS_CLUSTERS /* DSP/SC3900 core clusters */ |
| 621 | #define CONFIG_PPC_CLUSTER_START 0 /*Start index of ppc clusters*/ |
| 622 | #define CONFIG_DSP_CLUSTER_START 1 /*Start index of dsp clusters*/ |
Poonam Aggrwal | e1dbdd8 | 2012-12-23 19:24:16 +0000 | [diff] [blame] | 623 | #define CONFIG_SYS_FSL_NUM_LAWS 32 |
Prabhakar Kushwaha | a4c955b | 2013-07-31 16:56:41 +0530 | [diff] [blame] | 624 | #define CONFIG_SYS_FSL_SRDS_1 |
| 625 | #define CONFIG_SYS_FSL_SRDS_2 |
Shaveta Leekha | b8bf0ad | 2015-01-19 12:46:54 +0530 | [diff] [blame] | 626 | #define CONFIG_SYS_MAPLE |
| 627 | #define CONFIG_SYS_CPRI |
| 628 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 5 |
Poonam Aggrwal | e1dbdd8 | 2012-12-23 19:24:16 +0000 | [diff] [blame] | 629 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
| 630 | #define CONFIG_SYS_NUM_FMAN 1 |
ramneek mehresh | f1810d8 | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 631 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 |
Prabhakar Kushwaha | ce746fe | 2013-09-03 11:20:15 +0530 | [diff] [blame] | 632 | #define CONFIG_SYS_FM1_CLK 0 |
Shaveta Leekha | b8bf0ad | 2015-01-19 12:46:54 +0530 | [diff] [blame] | 633 | #define CONFIG_SYS_CPRI_CLK 3 |
| 634 | #define CONFIG_SYS_ULB_CLK 4 |
| 635 | #define CONFIG_SYS_ETVPE_CLK 1 |
Poonam Aggrwal | e1dbdd8 | 2012-12-23 19:24:16 +0000 | [diff] [blame] | 636 | #define CONFIG_SYS_FSL_DDR_VER FSL_DDR_VER_4_7 |
Mingkai Hu | 362ee04 | 2013-05-16 10:18:13 +0800 | [diff] [blame] | 637 | #define CONFIG_SYS_FSL_IFC_BANK_COUNT 4 |
Poonam Aggrwal | e1dbdd8 | 2012-12-23 19:24:16 +0000 | [diff] [blame] | 638 | #define CONFIG_SYS_FMAN_V3 |
| 639 | #define CONFIG_SYS_FM_MURAM_SIZE 0x60000 |
| 640 | #define CONFIG_SYS_FSL_TBCLK_DIV 16 |
| 641 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.4" |
| 642 | #define CONFIG_SYS_FSL_USB1_PHY_ENABLE |
| 643 | #define CONFIG_SYS_FSL_ERRATUM_A_004934 |
Shengzhou Liu | 04feb57 | 2013-02-27 21:56:54 +0000 | [diff] [blame] | 644 | #define CONFIG_SYS_FSL_ERRATUM_A005871 |
York Sun | 133fbfa | 2013-09-16 12:49:31 -0700 | [diff] [blame] | 645 | #define CONFIG_SYS_FSL_ERRATUM_A006379 |
Shaveta Leekha | b6808cd | 2014-05-28 14:18:55 +0530 | [diff] [blame] | 646 | #define CONFIG_SYS_FSL_ERRATUM_A007186 |
Scott Wood | 8212519 | 2013-05-15 17:50:13 -0500 | [diff] [blame] | 647 | #define CONFIG_SYS_FSL_ERRATUM_A006593 |
Nikhil Badola | 1185691 | 2014-02-26 17:43:15 +0530 | [diff] [blame] | 648 | #define CONFIG_SYS_FSL_ERRATUM_A007075 |
Shaveta Leekha | 7af9a07 | 2014-02-26 16:08:22 +0530 | [diff] [blame] | 649 | #define CONFIG_SYS_FSL_ERRATUM_A006475 |
| 650 | #define CONFIG_SYS_FSL_ERRATUM_A006384 |
York Sun | c3678b0 | 2014-03-28 15:07:27 -0700 | [diff] [blame] | 651 | #define CONFIG_SYS_FSL_ERRATUM_A007212 |
Nikhil Badola | 0dc78ff | 2014-11-21 17:25:21 +0530 | [diff] [blame] | 652 | #define CONFIG_SYS_FSL_ERRATUM_A004477 |
Poonam Aggrwal | e1dbdd8 | 2012-12-23 19:24:16 +0000 | [diff] [blame] | 653 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 |
Shaveta Leekha | b6808cd | 2014-05-28 14:18:55 +0530 | [diff] [blame] | 654 | #define CONFIG_SYS_FSL_SFP_VER_3_0 |
Poonam Aggrwal | e1dbdd8 | 2012-12-23 19:24:16 +0000 | [diff] [blame] | 655 | |
York Sun | 3006ebc | 2016-11-18 11:44:43 -0800 | [diff] [blame] | 656 | #ifdef CONFIG_ARCH_B4860 |
York Sun | f698143 | 2013-03-25 07:40:07 +0000 | [diff] [blame] | 657 | #define CONFIG_SYS_FSL_CORES_PER_CLUSTER 4 |
York Sun | d240414 | 2012-10-08 07:44:20 +0000 | [diff] [blame] | 658 | #define CONFIG_MAX_CPUS 4 |
Shaveta Leekha | b8bf0ad | 2015-01-19 12:46:54 +0530 | [diff] [blame] | 659 | #define CONFIG_MAX_DSP_CPUS 12 |
| 660 | #define CONFIG_NUM_DSP_CPUS 6 |
Shaveta Leekha | 6df82e3 | 2014-02-26 16:07:37 +0530 | [diff] [blame] | 661 | #define CONFIG_SYS_FSL_SRDS_NUM_PLLS 2 |
Prabhakar Kushwaha | ce746fe | 2013-09-03 11:20:15 +0530 | [diff] [blame] | 662 | #define CONFIG_SYS_FSL_CLUSTER_CLOCKS { 1, 4, 4, 4 } |
York Sun | d240414 | 2012-10-08 07:44:20 +0000 | [diff] [blame] | 663 | #define CONFIG_SYS_NUM_FM1_DTSEC 6 |
| 664 | #define CONFIG_SYS_NUM_FM1_10GEC 2 |
Poonam Aggrwal | e394ceb | 2012-12-23 19:22:33 +0000 | [diff] [blame] | 665 | #define CONFIG_NUM_DDR_CONTROLLERS 2 |
ramneek mehresh | f1810d8 | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 666 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 |
York Sun | d240414 | 2012-10-08 07:44:20 +0000 | [diff] [blame] | 667 | #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2 |
| 668 | #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 669 | #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
Liu Gang | 32f38ee | 2013-06-25 18:12:13 +0800 | [diff] [blame] | 670 | #define CONFIG_SYS_FSL_SRIO_LIODN |
Poonam Aggrwal | 8fa0102 | 2013-03-25 07:40:20 +0000 | [diff] [blame] | 671 | #else |
| 672 | #define CONFIG_MAX_CPUS 2 |
Shaveta Leekha | b8bf0ad | 2015-01-19 12:46:54 +0530 | [diff] [blame] | 673 | #define CONFIG_MAX_DSP_CPUS 2 |
Shaveta Leekha | 6df82e3 | 2014-02-26 16:07:37 +0530 | [diff] [blame] | 674 | #define CONFIG_SYS_FSL_SRDS_NUM_PLLS 1 |
Poonam Aggrwal | 8fa0102 | 2013-03-25 07:40:20 +0000 | [diff] [blame] | 675 | #define CONFIG_SYS_FSL_CORES_PER_CLUSTER 2 |
Prabhakar Kushwaha | ce746fe | 2013-09-03 11:20:15 +0530 | [diff] [blame] | 676 | #define CONFIG_SYS_FSL_CLUSTER_CLOCKS { 1, 4 } |
Poonam Aggrwal | 8fa0102 | 2013-03-25 07:40:20 +0000 | [diff] [blame] | 677 | #define CONFIG_SYS_NUM_FM1_DTSEC 4 |
| 678 | #define CONFIG_SYS_NUM_FM1_10GEC 0 |
| 679 | #define CONFIG_NUM_DDR_CONTROLLERS 1 |
| 680 | #endif |
York Sun | d240414 | 2012-10-08 07:44:20 +0000 | [diff] [blame] | 681 | |
Priyanka Jain | 2967af6 | 2013-10-18 12:30:21 +0530 | [diff] [blame] | 682 | #elif defined(CONFIG_PPC_T1040) || defined(CONFIG_PPC_T1042) ||\ |
| 683 | defined(CONFIG_PPC_T1020) || defined(CONFIG_PPC_T1022) |
York Sun | 5f208d1 | 2013-03-25 07:40:06 +0000 | [diff] [blame] | 684 | #define CONFIG_E5500 |
| 685 | #define CONFIG_FSL_CORENET /* Freescale CoreNet platform */ |
| 686 | #define CONFIG_SYS_FSL_QORIQ_CHASSIS2 /* Freescale Chassis generation 2 */ |
York Sun | f698143 | 2013-03-25 07:40:07 +0000 | [diff] [blame] | 687 | #define CONFIG_SYS_FSL_CORES_PER_CLUSTER 1 |
York Sun | 5f208d1 | 2013-03-25 07:40:06 +0000 | [diff] [blame] | 688 | #define CONFIG_SYS_FSL_QMAN_V3 /* QMAN version 3 */ |
York Sun | 34e026f | 2014-03-27 17:54:47 -0700 | [diff] [blame] | 689 | #ifdef CONFIG_SYS_FSL_DDR4 |
| 690 | #define CONFIG_SYS_FSL_DDRC_GEN4 |
| 691 | #endif |
Prabhakar Kushwaha | 1d384ec | 2013-09-03 11:19:54 +0530 | [diff] [blame] | 692 | #if defined(CONFIG_PPC_T1040) || defined(CONFIG_PPC_T1042) |
York Sun | 5f208d1 | 2013-03-25 07:40:06 +0000 | [diff] [blame] | 693 | #define CONFIG_MAX_CPUS 4 |
Prabhakar Kushwaha | 1d384ec | 2013-09-03 11:19:54 +0530 | [diff] [blame] | 694 | #elif defined(CONFIG_PPC_T1020) || defined(CONFIG_PPC_T1022) |
| 695 | #define CONFIG_MAX_CPUS 2 |
| 696 | #endif |
| 697 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 |
Prabhakar Kushwaha | ce746fe | 2013-09-03 11:20:15 +0530 | [diff] [blame] | 698 | #define CONFIG_SYS_FSL_CLUSTER_CLOCKS { 1, 1, 1, 1 } |
York Sun | 5f208d1 | 2013-03-25 07:40:06 +0000 | [diff] [blame] | 699 | #define CONFIG_SYS_FSL_NUM_LAWS 16 |
Prabhakar Kushwaha | 1d384ec | 2013-09-03 11:19:54 +0530 | [diff] [blame] | 700 | #define CONFIG_SYS_FSL_SRDS_1 |
| 701 | #define CONFIG_SYS_FSL_SEC_COMPAT 5 |
York Sun | 5f208d1 | 2013-03-25 07:40:06 +0000 | [diff] [blame] | 702 | #define CONFIG_SYS_NUM_FMAN 1 |
| 703 | #define CONFIG_SYS_NUM_FM1_DTSEC 5 |
| 704 | #define CONFIG_NUM_DDR_CONTROLLERS 1 |
ramneek mehresh | f1810d8 | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 705 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 |
Prabhakar Kushwaha | ce746fe | 2013-09-03 11:20:15 +0530 | [diff] [blame] | 706 | #define CONFIG_PME_PLAT_CLK_DIV 2 |
| 707 | #define CONFIG_SYS_PME_CLK CONFIG_PME_PLAT_CLK_DIV |
Prabhakar Kushwaha | 1d384ec | 2013-09-03 11:19:54 +0530 | [diff] [blame] | 708 | #define CONFIG_SYS_FSL_DDR_VER FSL_DDR_VER_5_0 |
| 709 | #define CONFIG_SYS_FSL_IFC_BANK_COUNT 8 |
Prabhakar Kushwaha | 9f074e6 | 2014-10-29 22:33:09 +0530 | [diff] [blame] | 710 | #define CONFIG_SYS_FSL_ERRATUM_A008044 |
York Sun | 5f208d1 | 2013-03-25 07:40:06 +0000 | [diff] [blame] | 711 | #define CONFIG_SYS_FMAN_V3 |
Prabhakar Kushwaha | ce746fe | 2013-09-03 11:20:15 +0530 | [diff] [blame] | 712 | #define CONFIG_FM_PLAT_CLK_DIV 1 |
| 713 | #define CONFIG_SYS_FM1_CLK CONFIG_FM_PLAT_CLK_DIV |
Yangbo Lu | 2d9ca2c | 2015-04-22 13:57:40 +0800 | [diff] [blame] | 714 | #define CONFIG_SYS_SDHC_CLK 0/* Select SDHC CLK begining from PLL1 |
| 715 | per rcw field value */ |
| 716 | #define CONFIG_SYS_SDHC_CLK_2_PLL /* Select SDHC CLK from 2 PLLs */ |
Prabhakar Kushwaha | 1d384ec | 2013-09-03 11:19:54 +0530 | [diff] [blame] | 717 | #define CONFIG_SYS_FM_MURAM_SIZE 0x30000 |
Priyanka Jain | b135991 | 2013-12-17 14:25:52 +0530 | [diff] [blame] | 718 | #define CONFIG_SYS_FSL_SINGLE_SOURCE_CLK |
Prabhakar Kushwaha | e03c76c | 2013-12-11 12:49:13 +0530 | [diff] [blame] | 719 | #define CONFIG_SYS_FSL_TBCLK_DIV 16 |
York Sun | 5f208d1 | 2013-03-25 07:40:06 +0000 | [diff] [blame] | 720 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.4" |
Nikhil Badola | a4f7cba | 2014-01-27 15:21:58 +0530 | [diff] [blame] | 721 | #define CONFIG_SYS_FSL_USB_DUAL_PHY_ENABLE |
York Sun | 5f208d1 | 2013-03-25 07:40:06 +0000 | [diff] [blame] | 722 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
| 723 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 |
Haijun.Zhang | 1336e2d | 2014-03-18 17:04:23 +0800 | [diff] [blame] | 724 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
| 725 | #define ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE |
Zhao Qiang | 2a44efe | 2014-03-21 16:21:45 +0800 | [diff] [blame] | 726 | #define QE_MURAM_SIZE 0x6000UL |
| 727 | #define MAX_QE_RISC 1 |
| 728 | #define QE_NUM_OF_SNUM 28 |
gaurav rana | e622d9e | 2015-03-26 15:52:47 +0530 | [diff] [blame] | 729 | #define CONFIG_SYS_FSL_SFP_VER_3_0 |
Shengzhou Liu | a46b185 | 2015-11-20 15:52:04 +0800 | [diff] [blame] | 730 | #define CONFIG_SYS_FSL_ERRATUM_A008378 |
Shengzhou Liu | a994b3d | 2015-12-16 16:45:41 +0800 | [diff] [blame] | 731 | #define CONFIG_SYS_FSL_ERRATUM_A009663 |
York Sun | 5f208d1 | 2013-03-25 07:40:06 +0000 | [diff] [blame] | 732 | |
York Sun | e5d5f5a | 2016-11-18 13:01:34 -0800 | [diff] [blame^] | 733 | #elif defined(CONFIG_ARCH_T1024) || defined(CONFIG_ARCH_T1023) ||\ |
Shengzhou Liu | f605079 | 2014-11-24 17:11:54 +0800 | [diff] [blame] | 734 | defined(CONFIG_PPC_T1014) || defined(CONFIG_PPC_T1013) |
| 735 | #define CONFIG_E5500 |
| 736 | #define CONFIG_FSL_CORENET /* Freescale CoreNet platform */ |
| 737 | #define CONFIG_SYS_FSL_QORIQ_CHASSIS2 /* Freescale Chassis generation 2 */ |
| 738 | #define CONFIG_SYS_FSL_CORES_PER_CLUSTER 1 |
| 739 | #define CONFIG_SYS_FSL_QMAN_V3 /* QMAN version 3 */ |
| 740 | #define CONFIG_SYS_FMAN_V3 |
| 741 | #ifdef CONFIG_SYS_FSL_DDR4 |
| 742 | #define CONFIG_SYS_FSL_DDRC_GEN4 |
| 743 | #endif |
York Sun | e5d5f5a | 2016-11-18 13:01:34 -0800 | [diff] [blame^] | 744 | #if defined(CONFIG_ARCH_T1024) || defined(CONFIG_ARCH_T1023) |
Shengzhou Liu | f605079 | 2014-11-24 17:11:54 +0800 | [diff] [blame] | 745 | #define CONFIG_MAX_CPUS 2 |
| 746 | #elif defined(CONFIG_PPC_T1014) || defined(CONFIG_PPC_T1013) |
| 747 | #define CONFIG_MAX_CPUS 1 |
| 748 | #endif |
| 749 | #define CONFIG_SYS_FSL_NUM_CC_PLL 2 |
| 750 | #define CONFIG_SYS_FSL_CLUSTER_CLOCKS { 1, 1, 1, 1 } |
Shengzhou Liu | f605079 | 2014-11-24 17:11:54 +0800 | [diff] [blame] | 751 | #define CONFIG_SYS_FSL_NUM_LAWS 16 |
| 752 | #define CONFIG_SYS_FSL_SRDS_1 |
| 753 | #define CONFIG_SYS_FSL_SEC_COMPAT 5 |
| 754 | #define CONFIG_SYS_NUM_FMAN 1 |
| 755 | #define CONFIG_SYS_NUM_FM1_DTSEC 4 |
| 756 | #define CONFIG_SYS_NUM_FM1_10GEC 1 |
Shengzhou Liu | cc19c25 | 2014-11-24 17:11:57 +0800 | [diff] [blame] | 757 | #define CONFIG_FSL_FM_10GEC_REGULAR_NOTATION |
Shengzhou Liu | f605079 | 2014-11-24 17:11:54 +0800 | [diff] [blame] | 758 | #define CONFIG_NUM_DDR_CONTROLLERS 1 |
| 759 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 |
| 760 | #define CONFIG_SYS_FSL_DDR_VER FSL_DDR_VER_5_0 |
| 761 | #define CONFIG_SYS_FSL_IFC_BANK_COUNT 8 |
| 762 | #define CONFIG_SYS_FM1_CLK 0 |
Yangbo Lu | 2d9ca2c | 2015-04-22 13:57:40 +0800 | [diff] [blame] | 763 | #define CONFIG_SYS_SDHC_CLK 0/* Select SDHC CLK begining from PLL1 |
| 764 | per rcw field value */ |
Shengzhou Liu | f605079 | 2014-11-24 17:11:54 +0800 | [diff] [blame] | 765 | #define CONFIG_QBMAN_CLK_DIV 1 |
| 766 | #define CONFIG_SYS_FM_MURAM_SIZE 0x30000 |
| 767 | #define CONFIG_SYS_FSL_SINGLE_SOURCE_CLK |
| 768 | #define CONFIG_SYS_FSL_TBCLK_DIV 16 |
| 769 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.4" |
| 770 | #define CONFIG_SYS_FSL_USB_DUAL_PHY_ENABLE |
| 771 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
| 772 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 |
| 773 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
| 774 | #define ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE |
| 775 | #define QE_MURAM_SIZE 0x6000UL |
| 776 | #define MAX_QE_RISC 1 |
| 777 | #define QE_NUM_OF_SNUM 28 |
| 778 | #define CONFIG_SYS_FSL_SFP_VER_3_0 |
Shengzhou Liu | a46b185 | 2015-11-20 15:52:04 +0800 | [diff] [blame] | 779 | #define CONFIG_SYS_FSL_ERRATUM_A008378 |
Shengzhou Liu | a994b3d | 2015-12-16 16:45:41 +0800 | [diff] [blame] | 780 | #define CONFIG_SYS_FSL_ERRATUM_A009663 |
Shengzhou Liu | f605079 | 2014-11-24 17:11:54 +0800 | [diff] [blame] | 781 | |
Shengzhou Liu | 629d6b3 | 2013-11-22 17:39:10 +0800 | [diff] [blame] | 782 | #elif defined(CONFIG_PPC_T2080) || defined(CONFIG_PPC_T2081) |
| 783 | #define CONFIG_E6500 |
| 784 | #define CONFIG_SYS_PPC64 /* 64-bit core */ |
| 785 | #define CONFIG_FSL_CORENET /* Freescale CoreNet platform */ |
| 786 | #define CONFIG_SYS_FSL_QORIQ_CHASSIS2 /* Freescale Chassis generation 2 */ |
| 787 | #define CONFIG_SYS_FSL_CORES_PER_CLUSTER 4 |
| 788 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 |
| 789 | #define CONFIG_SYS_FSL_QMAN_V3 |
| 790 | #define CONFIG_MAX_CPUS 4 |
| 791 | #define CONFIG_SYS_FSL_NUM_LAWS 32 |
| 792 | #define CONFIG_SYS_FSL_SEC_COMPAT 4 |
| 793 | #define CONFIG_SYS_NUM_FMAN 1 |
| 794 | #define CONFIG_SYS_FSL_CLUSTER_CLOCKS { 1, 4, 4, 4 } |
| 795 | #define CONFIG_SYS_FSL_SRDS_1 |
| 796 | #define CONFIG_SYS_FSL_PCI_VER_3_X |
| 797 | #if defined(CONFIG_PPC_T2080) |
| 798 | #define CONFIG_SYS_NUM_FM1_DTSEC 8 |
| 799 | #define CONFIG_SYS_NUM_FM1_10GEC 4 |
| 800 | #define CONFIG_SYS_FSL_SRDS_2 |
| 801 | #define CONFIG_SYS_FSL_SRIO_LIODN |
| 802 | #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2 |
| 803 | #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 804 | #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
| 805 | #elif defined(CONFIG_PPC_T2081) |
| 806 | #define CONFIG_SYS_NUM_FM1_DTSEC 6 |
| 807 | #define CONFIG_SYS_NUM_FM1_10GEC 2 |
| 808 | #endif |
Shengzhou Liu | 2ffa96d | 2013-12-18 10:27:55 +0800 | [diff] [blame] | 809 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 |
Shengzhou Liu | 629d6b3 | 2013-11-22 17:39:10 +0800 | [diff] [blame] | 810 | #define CONFIG_NUM_DDR_CONTROLLERS 1 |
| 811 | #define CONFIG_PME_PLAT_CLK_DIV 1 |
| 812 | #define CONFIG_SYS_PME_CLK CONFIG_PME_PLAT_CLK_DIV |
| 813 | #define CONFIG_SYS_FM1_CLK 0 |
Yangbo Lu | 2d9ca2c | 2015-04-22 13:57:40 +0800 | [diff] [blame] | 814 | #define CONFIG_SYS_SDHC_CLK 1/* Select SDHC CLK begining from PLL2 |
| 815 | per rcw field value */ |
| 816 | #define CONFIG_SYS_SDHC_CLK_2_PLL /* Select SDHC CLK from 2 PLLs */ |
Shengzhou Liu | 629d6b3 | 2013-11-22 17:39:10 +0800 | [diff] [blame] | 817 | #define CONFIG_SYS_FSL_DDR_VER FSL_DDR_VER_4_7 |
| 818 | #define CONFIG_SYS_FSL_IFC_BANK_COUNT 8 |
| 819 | #define CONFIG_SYS_FMAN_V3 |
| 820 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 |
| 821 | #define CONFIG_SYS_FSL_TBCLK_DIV 16 |
| 822 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v3.0" |
| 823 | #define CONFIG_SYS_FSL_USB_DUAL_PHY_ENABLE |
| 824 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
York Sun | c3678b0 | 2014-03-28 15:07:27 -0700 | [diff] [blame] | 825 | #define CONFIG_SYS_FSL_ERRATUM_A007212 |
Shengzhou Liu | 629d6b3 | 2013-11-22 17:39:10 +0800 | [diff] [blame] | 826 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xfe000000 |
| 827 | #define CONFIG_SYS_FSL_SFP_VER_3_0 |
| 828 | #define CONFIG_SYS_FSL_ISBC_VER 2 |
Haijun.Zhang | 1336e2d | 2014-03-18 17:04:23 +0800 | [diff] [blame] | 829 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
Shengzhou Liu | c665c47 | 2014-04-24 11:10:09 +0800 | [diff] [blame] | 830 | #define CONFIG_SYS_FSL_ERRATUM_A006593 |
Shaveta Leekha | b6808cd | 2014-05-28 14:18:55 +0530 | [diff] [blame] | 831 | #define CONFIG_SYS_FSL_ERRATUM_A007186 |
Shengzhou Liu | c665c47 | 2014-04-24 11:10:09 +0800 | [diff] [blame] | 832 | #define CONFIG_SYS_FSL_ERRATUM_A006379 |
Haijun.Zhang | 1336e2d | 2014-03-18 17:04:23 +0800 | [diff] [blame] | 833 | #define ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE |
Shaveta Leekha | b6808cd | 2014-05-28 14:18:55 +0530 | [diff] [blame] | 834 | #define CONFIG_SYS_FSL_SFP_VER_3_0 |
Haijun.Zhang | 1336e2d | 2014-03-18 17:04:23 +0800 | [diff] [blame] | 835 | |
Shengzhou Liu | 629d6b3 | 2013-11-22 17:39:10 +0800 | [diff] [blame] | 836 | |
York Sun | 4fd6474 | 2016-11-15 18:44:22 -0800 | [diff] [blame] | 837 | #elif defined(CONFIG_ARCH_C29X) |
Mingkai Hu | 3b75e98 | 2013-07-04 17:30:36 +0800 | [diff] [blame] | 838 | #define CONFIG_MAX_CPUS 1 |
| 839 | #define CONFIG_FSL_SDHC_V2_3 |
| 840 | #define CONFIG_SYS_FSL_NUM_LAWS 12 |
| 841 | #define CONFIG_SYS_PPC_E500_DEBUG_TLB 3 |
| 842 | #define CONFIG_TSECV2_1 |
| 843 | #define CONFIG_SYS_FSL_SEC_COMPAT 6 |
| 844 | #define CONFIG_SYS_FSL_ERRATUM_ESDHC111 |
| 845 | #define CONFIG_NUM_DDR_CONTROLLERS 1 |
York Sun | 34e026f | 2014-03-27 17:54:47 -0700 | [diff] [blame] | 846 | #define CONFIG_SYS_FSL_DDR_VER FSL_DDR_VER_4_6 |
Mingkai Hu | 3b75e98 | 2013-07-04 17:30:36 +0800 | [diff] [blame] | 847 | #define CONFIG_SYS_FSL_IFC_BANK_COUNT 8 |
| 848 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xff700000 |
York Sun | 954a1a4 | 2013-08-20 15:09:43 -0700 | [diff] [blame] | 849 | #define CONFIG_SYS_FSL_ERRATUM_A005125 |
Alex Porosanu | 404bf45 | 2016-04-29 15:17:59 +0300 | [diff] [blame] | 850 | #define CONFIG_SYS_FSL_MAX_NUM_OF_SEC 3 |
| 851 | #define CONFIG_SYS_FSL_SEC_IDX_OFFSET 0x20000 |
Mingkai Hu | 3b75e98 | 2013-07-04 17:30:36 +0800 | [diff] [blame] | 852 | |
York Sun | 1034340 | 2016-11-18 12:29:51 -0800 | [diff] [blame] | 853 | #elif defined(CONFIG_ARCH_QEMU_E500) |
Alexander Graf | fa08d39 | 2014-04-11 17:09:45 +0200 | [diff] [blame] | 854 | #define CONFIG_MAX_CPUS 1 |
| 855 | #define CONFIG_SYS_CCSRBAR_DEFAULT 0xe0000000 |
| 856 | |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 857 | #else |
| 858 | #error Processor type not defined for this platform |
| 859 | #endif |
| 860 | |
Timur Tabi | e46fedf | 2011-08-04 18:03:41 -0500 | [diff] [blame] | 861 | #ifndef CONFIG_SYS_CCSRBAR_DEFAULT |
| 862 | #error "CONFIG_SYS_CCSRBAR_DEFAULT is not defined for this platform." |
| 863 | #endif |
| 864 | |
York Sun | f698143 | 2013-03-25 07:40:07 +0000 | [diff] [blame] | 865 | #ifdef CONFIG_E6500 |
| 866 | #define CONFIG_SYS_FSL_THREADS_PER_CORE 2 |
| 867 | #else |
| 868 | #define CONFIG_SYS_FSL_THREADS_PER_CORE 1 |
| 869 | #endif |
| 870 | |
York Sun | 5614e71 | 2013-09-30 09:22:09 -0700 | [diff] [blame] | 871 | #if !defined(CONFIG_SYS_FSL_DDRC_GEN1) && \ |
| 872 | !defined(CONFIG_SYS_FSL_DDRC_GEN2) && \ |
York Sun | 34e026f | 2014-03-27 17:54:47 -0700 | [diff] [blame] | 873 | !defined(CONFIG_SYS_FSL_DDRC_GEN3) && \ |
| 874 | !defined(CONFIG_SYS_FSL_DDRC_GEN4) |
York Sun | 5614e71 | 2013-09-30 09:22:09 -0700 | [diff] [blame] | 875 | #define CONFIG_SYS_FSL_DDRC_GEN3 |
| 876 | #endif |
| 877 | |
York Sun | 4fd6474 | 2016-11-15 18:44:22 -0800 | [diff] [blame] | 878 | #if !defined(CONFIG_ARCH_C29X) |
Alex Porosanu | 404bf45 | 2016-04-29 15:17:59 +0300 | [diff] [blame] | 879 | #define CONFIG_SYS_FSL_MAX_NUM_OF_SEC 1 |
| 880 | #endif |
| 881 | |
Kumar Gala | 243be8e | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 882 | #endif /* _ASM_MPC85xx_CONFIG_H_ */ |