Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 1 | /* |
Prabhakar Kushwaha | beebb88 | 2012-04-24 20:16:49 +0000 | [diff] [blame] | 2 | * Copyright 2011-2012 Freescale Semiconductor, Inc. |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 3 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 4 | * SPDX-License-Identifier: GPL-2.0+ |
Kumar Gala | fe13711 | 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 | |
York Sun | f066a04 | 2012-10-28 08:12:54 +0000 | [diff] [blame] | 12 | /* |
| 13 | * This macro should be removed when we no longer care about backwards |
| 14 | * compatibility with older operating systems. |
| 15 | */ |
| 16 | #define CONFIG_PPC_SPINTABLE_COMPATIBLE |
| 17 | |
York Sun | 2896cb7 | 2014-03-27 17:54:47 -0700 | [diff] [blame] | 18 | #include <fsl_ddrc_version.h> |
York Sun | 7d69ea3 | 2012-10-08 07:44:22 +0000 | [diff] [blame] | 19 | |
Prabhakar Kushwaha | 62908c2 | 2014-01-18 12:28:30 +0530 | [diff] [blame] | 20 | /* IP endianness */ |
| 21 | #define CONFIG_SYS_FSL_IFC_BE |
gaurav rana | 9d171da | 2015-02-27 09:43:49 +0530 | [diff] [blame] | 22 | #define CONFIG_SYS_FSL_SFP_BE |
gaurav rana | 8b5ea65 | 2015-02-27 09:46:17 +0530 | [diff] [blame] | 23 | #define CONFIG_SYS_FSL_SEC_MON_BE |
Prabhakar Kushwaha | 62908c2 | 2014-01-18 12:28:30 +0530 | [diff] [blame] | 24 | |
York Sun | 6e413f5 | 2016-12-28 08:43:47 -0800 | [diff] [blame^] | 25 | #if defined(CONFIG_ARCH_MPC8548) |
Liu Gang | 78deaa1 | 2012-03-08 00:33:14 +0000 | [diff] [blame] | 26 | #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 1 |
| 27 | #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 28 | #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
| 29 | #define CONFIG_SYS_FSL_RMU |
| 30 | #define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 31 | |
York Sun | a0d4b58 | 2016-11-16 11:32:17 -0800 | [diff] [blame] | 32 | #elif defined(CONFIG_ARCH_MPC8568) |
Kumar Gala | 52bd815 | 2011-01-31 23:09:25 -0600 | [diff] [blame] | 33 | #define QE_MURAM_SIZE 0x10000UL |
| 34 | #define MAX_QE_RISC 2 |
| 35 | #define QE_NUM_OF_SNUM 28 |
Liu Gang | 78deaa1 | 2012-03-08 00:33:14 +0000 | [diff] [blame] | 36 | #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 1 |
| 37 | #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 38 | #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
| 39 | #define CONFIG_SYS_FSL_RMU |
| 40 | #define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 41 | |
York Sun | 317f2ff | 2016-11-16 11:34:52 -0800 | [diff] [blame] | 42 | #elif defined(CONFIG_ARCH_MPC8569) |
Kumar Gala | 52bd815 | 2011-01-31 23:09:25 -0600 | [diff] [blame] | 43 | #define QE_MURAM_SIZE 0x20000UL |
| 44 | #define MAX_QE_RISC 4 |
| 45 | #define QE_NUM_OF_SNUM 46 |
Liu Gang | 78deaa1 | 2012-03-08 00:33:14 +0000 | [diff] [blame] | 46 | #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 1 |
| 47 | #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 48 | #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
| 49 | #define CONFIG_SYS_FSL_RMU |
| 50 | #define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 51 | |
York Sun | 24f88b3 | 2016-11-16 13:08:52 -0800 | [diff] [blame] | 52 | #elif defined(CONFIG_ARCH_P1010) |
Priyanka Jain | 0244963 | 2011-02-09 09:24:10 +0530 | [diff] [blame] | 53 | #define CONFIG_FSL_SDHC_V2_3 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 54 | #define CONFIG_TSECV2 |
ramneek mehresh | d04f8fe | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 55 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 |
Mingkai Hu | 6f024c9 | 2013-05-16 10:18:13 +0800 | [diff] [blame] | 56 | #define CONFIG_SYS_FSL_IFC_BANK_COUNT 4 |
Kumar Gala | 179b1b2 | 2011-05-20 00:39:21 -0500 | [diff] [blame] | 57 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
Ramneek Mehresh | 3fb68ee | 2011-03-23 15:20:43 +0530 | [diff] [blame] | 58 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
Sriram Dash | 1ae7e4c | 2016-08-17 11:47:53 +0530 | [diff] [blame] | 59 | #define CONFIG_SYS_FSL_USB1_PHY_ENABLE |
Haijun.Zhang | 22e3c42 | 2014-01-10 13:52:19 +0800 | [diff] [blame] | 60 | #define CONFIG_ESDHC_HC_BLK_ADDR |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 61 | |
Kumar Gala | e4e6925 | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 62 | /* P1011 is single core version of P1020 */ |
York Sun | 3680e59 | 2016-11-16 15:54:15 -0800 | [diff] [blame] | 63 | #elif defined(CONFIG_ARCH_P1011) |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 64 | #define CONFIG_TSECV2 |
Prabhakar Kushwaha | 1c48e77 | 2011-02-01 15:55:58 +0000 | [diff] [blame] | 65 | #define CONFIG_FSL_PCIE_DISABLE_ASPM |
ramneek mehresh | d04f8fe | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 66 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 67 | |
York Sun | af2dc81 | 2016-11-18 10:02:14 -0800 | [diff] [blame] | 68 | #elif defined(CONFIG_ARCH_P1020) |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 69 | #define CONFIG_TSECV2 |
Prabhakar Kushwaha | 1c48e77 | 2011-02-01 15:55:58 +0000 | [diff] [blame] | 70 | #define CONFIG_FSL_PCIE_DISABLE_ASPM |
ramneek mehresh | 3ca2b9a | 2014-05-13 15:36:07 +0530 | [diff] [blame] | 71 | #ifndef CONFIG_USB_MAX_CONTROLLER_COUNT |
ramneek mehresh | d04f8fe | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 72 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 |
ramneek mehresh | 3ca2b9a | 2014-05-13 15:36:07 +0530 | [diff] [blame] | 73 | #endif |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 74 | |
York Sun | 2f924be | 2016-11-18 10:59:02 -0800 | [diff] [blame] | 75 | #elif defined(CONFIG_ARCH_P1021) |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 76 | #define CONFIG_TSECV2 |
Prabhakar Kushwaha | 1c48e77 | 2011-02-01 15:55:58 +0000 | [diff] [blame] | 77 | #define CONFIG_FSL_PCIE_DISABLE_ASPM |
Haiying Wang | 8cb2af7 | 2011-02-11 01:25:30 -0600 | [diff] [blame] | 78 | #define QE_MURAM_SIZE 0x6000UL |
| 79 | #define MAX_QE_RISC 1 |
| 80 | #define QE_NUM_OF_SNUM 28 |
ramneek mehresh | d04f8fe | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 81 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 82 | |
York Sun | 08672a5 | 2016-11-16 15:23:52 -0800 | [diff] [blame] | 83 | #elif defined(CONFIG_ARCH_P1022) |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 84 | #define CONFIG_TSECV2 |
Ying Zhang | f81b37f | 2015-01-30 14:52:11 +0800 | [diff] [blame] | 85 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 86 | |
York Sun | feeaae2 | 2016-11-16 15:45:31 -0800 | [diff] [blame] | 87 | #elif defined(CONFIG_ARCH_P1023) |
Roy Zang | 1de20b0 | 2011-02-03 22:14:19 -0600 | [diff] [blame] | 88 | #define CONFIG_SYS_NUM_FMAN 1 |
| 89 | #define CONFIG_SYS_NUM_FM1_DTSEC 2 |
ramneek mehresh | d04f8fe | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 90 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 |
Roy Zang | 1de20b0 | 2011-02-03 22:14:19 -0600 | [diff] [blame] | 91 | #define CONFIG_SYS_QMAN_NUM_PORTALS 3 |
| 92 | #define CONFIG_SYS_BMAN_NUM_PORTALS 3 |
Kumar Gala | d80dfe4 | 2011-02-04 00:43:34 -0600 | [diff] [blame] | 93 | #define CONFIG_SYS_FM_MURAM_SIZE 0x10000 |
Kumar Gala | 179b1b2 | 2011-05-20 00:39:21 -0500 | [diff] [blame] | 94 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
Roy Zang | 1de20b0 | 2011-02-03 22:14:19 -0600 | [diff] [blame] | 95 | |
Kumar Gala | e4e6925 | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 96 | /* P1024 is lower end variant of P1020 */ |
York Sun | 76780b2 | 2016-11-18 11:00:57 -0800 | [diff] [blame] | 97 | #elif defined(CONFIG_ARCH_P1024) |
Kumar Gala | e4e6925 | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 98 | #define CONFIG_TSECV2 |
| 99 | #define CONFIG_FSL_PCIE_DISABLE_ASPM |
ramneek mehresh | d04f8fe | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 100 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 |
Kumar Gala | e4e6925 | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 101 | |
| 102 | /* P1025 is lower end variant of P1021 */ |
York Sun | 0f57797 | 2016-11-18 11:05:38 -0800 | [diff] [blame] | 103 | #elif defined(CONFIG_ARCH_P1025) |
Nikhil Badola | b0e3ddb | 2015-05-21 09:07:53 +0530 | [diff] [blame] | 104 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 |
Kumar Gala | e4e6925 | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 105 | #define CONFIG_TSECV2 |
| 106 | #define CONFIG_FSL_PCIE_DISABLE_ASPM |
Haiying Wang | 8cb2af7 | 2011-02-11 01:25:30 -0600 | [diff] [blame] | 107 | #define QE_MURAM_SIZE 0x6000UL |
| 108 | #define MAX_QE_RISC 1 |
| 109 | #define QE_NUM_OF_SNUM 28 |
Kumar Gala | e4e6925 | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 110 | |
York Sun | 4b08dd7 | 2016-11-18 11:08:43 -0800 | [diff] [blame] | 111 | #elif defined(CONFIG_ARCH_P2020) |
Liu Gang | 78deaa1 | 2012-03-08 00:33:14 +0000 | [diff] [blame] | 112 | #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2 |
| 113 | #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 114 | #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
| 115 | #define CONFIG_SYS_FSL_RMU |
| 116 | #define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2 |
ramneek mehresh | d04f8fe | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 117 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 |
York Sun | 9982579 | 2014-05-23 13:15:00 -0700 | [diff] [blame] | 118 | |
York Sun | 5786fca | 2016-11-18 11:15:21 -0800 | [diff] [blame] | 119 | #elif defined(CONFIG_ARCH_P2041) /* also supports P2040 */ |
York Sun | 7e0edbd | 2012-10-08 07:44:15 +0000 | [diff] [blame] | 120 | #define CONFIG_SYS_FSL_QORIQ_CHASSIS1 |
York Sun | 544f881 | 2013-06-25 11:37:39 -0700 | [diff] [blame] | 121 | #define CONFIG_FSL_CORENET /* Freescale CoreNet platform */ |
Kumar Gala | 3842bb5 | 2011-02-16 02:03:29 -0600 | [diff] [blame] | 122 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 |
Kumar Gala | 619541b | 2011-05-13 01:16:07 -0500 | [diff] [blame] | 123 | #define CONFIG_SYS_NUM_FMAN 1 |
| 124 | #define CONFIG_SYS_NUM_FM1_DTSEC 5 |
| 125 | #define CONFIG_SYS_NUM_FM1_10GEC 1 |
ramneek mehresh | d04f8fe | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 126 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 |
Kumar Gala | 619541b | 2011-05-13 01:16:07 -0500 | [diff] [blame] | 127 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 |
| 128 | #define CONFIG_SYS_FSL_TBCLK_DIV 32 |
| 129 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
| 130 | #define CONFIG_SYS_FSL_USB1_PHY_ENABLE |
| 131 | #define CONFIG_SYS_FSL_USB2_PHY_ENABLE |
Kumar Gala | a49034f | 2011-04-13 00:19:10 -0500 | [diff] [blame] | 132 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
Liu Gang | 78deaa1 | 2012-03-08 00:33:14 +0000 | [diff] [blame] | 133 | #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2 |
| 134 | #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 135 | #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
Scott Wood | 8080696 | 2012-08-14 10:14:53 +0000 | [diff] [blame] | 136 | #define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000 |
Kumar Gala | 619541b | 2011-05-13 01:16:07 -0500 | [diff] [blame] | 137 | |
York Sun | df70d06 | 2016-11-18 11:20:40 -0800 | [diff] [blame] | 138 | #elif defined(CONFIG_ARCH_P3041) |
York Sun | 7e0edbd | 2012-10-08 07:44:15 +0000 | [diff] [blame] | 139 | #define CONFIG_SYS_FSL_QORIQ_CHASSIS1 |
York Sun | 544f881 | 2013-06-25 11:37:39 -0700 | [diff] [blame] | 140 | #define CONFIG_FSL_CORENET /* Freescale CoreNet platform */ |
Kumar Gala | 3842bb5 | 2011-02-16 02:03:29 -0600 | [diff] [blame] | 141 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 |
Kumar Gala | 60d95d8 | 2011-01-25 12:42:32 -0600 | [diff] [blame] | 142 | #define CONFIG_SYS_NUM_FMAN 1 |
| 143 | #define CONFIG_SYS_NUM_FM1_DTSEC 5 |
| 144 | #define CONFIG_SYS_NUM_FM1_10GEC 1 |
Kumar Gala | d80dfe4 | 2011-02-04 00:43:34 -0600 | [diff] [blame] | 145 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 |
Kumar Gala | f4fb90f | 2011-02-18 05:40:54 -0600 | [diff] [blame] | 146 | #define CONFIG_SYS_FSL_TBCLK_DIV 32 |
Kumar Gala | 179b1b2 | 2011-05-20 00:39:21 -0500 | [diff] [blame] | 147 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
Roy Zang | 6d6a0e1 | 2011-04-13 00:08:51 -0500 | [diff] [blame] | 148 | #define CONFIG_SYS_FSL_USB1_PHY_ENABLE |
| 149 | #define CONFIG_SYS_FSL_USB2_PHY_ENABLE |
Kumar Gala | a49034f | 2011-04-13 00:19:10 -0500 | [diff] [blame] | 150 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
ramneek mehresh | d04f8fe | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 151 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 |
Liu Gang | 78deaa1 | 2012-03-08 00:33:14 +0000 | [diff] [blame] | 152 | #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2 |
| 153 | #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 154 | #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
Scott Wood | 8080696 | 2012-08-14 10:14:53 +0000 | [diff] [blame] | 155 | #define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 156 | |
York Sun | 84be8a9 | 2016-11-18 11:24:40 -0800 | [diff] [blame] | 157 | #elif defined(CONFIG_ARCH_P4080) /* also supports P4040 */ |
York Sun | 7e0edbd | 2012-10-08 07:44:15 +0000 | [diff] [blame] | 158 | #define CONFIG_SYS_FSL_QORIQ_CHASSIS1 |
York Sun | 544f881 | 2013-06-25 11:37:39 -0700 | [diff] [blame] | 159 | #define CONFIG_FSL_CORENET /* Freescale CoreNet platform */ |
Kumar Gala | 3842bb5 | 2011-02-16 02:03:29 -0600 | [diff] [blame] | 160 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 4 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 161 | #define CONFIG_SYS_NUM_FMAN 2 |
| 162 | #define CONFIG_SYS_NUM_FM1_DTSEC 4 |
| 163 | #define CONFIG_SYS_NUM_FM2_DTSEC 4 |
| 164 | #define CONFIG_SYS_NUM_FM1_10GEC 1 |
| 165 | #define CONFIG_SYS_NUM_FM2_10GEC 1 |
ramneek mehresh | d04f8fe | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 166 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 |
Kumar Gala | d80dfe4 | 2011-02-04 00:43:34 -0600 | [diff] [blame] | 167 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 |
Kumar Gala | f4fb90f | 2011-02-18 05:40:54 -0600 | [diff] [blame] | 168 | #define CONFIG_SYS_FSL_TBCLK_DIV 16 |
Kumar Gala | 179b1b2 | 2011-05-20 00:39:21 -0500 | [diff] [blame] | 169 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,p4080-pcie" |
Liu Gang | 78deaa1 | 2012-03-08 00:33:14 +0000 | [diff] [blame] | 170 | #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2 |
| 171 | #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 172 | #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
| 173 | #define CONFIG_SYS_FSL_RMU |
| 174 | #define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2 |
Scott Wood | 8080696 | 2012-08-14 10:14:53 +0000 | [diff] [blame] | 175 | #define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xff000000 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 176 | |
York Sun | 2ed73f4 | 2016-11-18 11:30:56 -0800 | [diff] [blame] | 177 | #elif defined(CONFIG_ARCH_P5020) /* also supports P5010 */ |
York Sun | 2394a0f | 2012-10-08 07:44:30 +0000 | [diff] [blame] | 178 | #define CONFIG_SYS_PPC64 /* 64-bit core */ |
York Sun | 7e0edbd | 2012-10-08 07:44:15 +0000 | [diff] [blame] | 179 | #define CONFIG_SYS_FSL_QORIQ_CHASSIS1 |
York Sun | 544f881 | 2013-06-25 11:37:39 -0700 | [diff] [blame] | 180 | #define CONFIG_FSL_CORENET /* Freescale CoreNet platform */ |
Kumar Gala | 3842bb5 | 2011-02-16 02:03:29 -0600 | [diff] [blame] | 181 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 |
Kumar Gala | 60d95d8 | 2011-01-25 12:42:32 -0600 | [diff] [blame] | 182 | #define CONFIG_SYS_NUM_FMAN 1 |
| 183 | #define CONFIG_SYS_NUM_FM1_DTSEC 5 |
| 184 | #define CONFIG_SYS_NUM_FM1_10GEC 1 |
ramneek mehresh | d04f8fe | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 185 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 |
Kumar Gala | d80dfe4 | 2011-02-04 00:43:34 -0600 | [diff] [blame] | 186 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 |
Kumar Gala | f4fb90f | 2011-02-18 05:40:54 -0600 | [diff] [blame] | 187 | #define CONFIG_SYS_FSL_TBCLK_DIV 32 |
Kumar Gala | 179b1b2 | 2011-05-20 00:39:21 -0500 | [diff] [blame] | 188 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
Roy Zang | 6d6a0e1 | 2011-04-13 00:08:51 -0500 | [diff] [blame] | 189 | #define CONFIG_SYS_FSL_USB1_PHY_ENABLE |
| 190 | #define CONFIG_SYS_FSL_USB2_PHY_ENABLE |
Kumar Gala | a49034f | 2011-04-13 00:19:10 -0500 | [diff] [blame] | 191 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
Liu Gang | 78deaa1 | 2012-03-08 00:33:14 +0000 | [diff] [blame] | 192 | #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2 |
| 193 | #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 194 | #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
Scott Wood | 8080696 | 2012-08-14 10:14:53 +0000 | [diff] [blame] | 195 | #define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xc0000000 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 196 | |
York Sun | a3c5b66 | 2016-11-18 11:39:36 -0800 | [diff] [blame] | 197 | #elif defined(CONFIG_ARCH_P5040) |
Timur Tabi | 9a7b5a3 | 2012-10-23 10:48:09 +0000 | [diff] [blame] | 198 | #define CONFIG_SYS_PPC64 |
Timur Tabi | d5e1388 | 2012-10-05 11:09:19 +0000 | [diff] [blame] | 199 | #define CONFIG_SYS_FSL_QORIQ_CHASSIS1 |
York Sun | 544f881 | 2013-06-25 11:37:39 -0700 | [diff] [blame] | 200 | #define CONFIG_FSL_CORENET /* Freescale CoreNet platform */ |
Timur Tabi | d5e1388 | 2012-10-05 11:09:19 +0000 | [diff] [blame] | 201 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 3 |
Timur Tabi | d5e1388 | 2012-10-05 11:09:19 +0000 | [diff] [blame] | 202 | #define CONFIG_SYS_NUM_FMAN 2 |
| 203 | #define CONFIG_SYS_NUM_FM1_DTSEC 5 |
| 204 | #define CONFIG_SYS_NUM_FM1_10GEC 1 |
| 205 | #define CONFIG_SYS_NUM_FM2_DTSEC 5 |
| 206 | #define CONFIG_SYS_NUM_FM2_10GEC 1 |
ramneek mehresh | d04f8fe | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 207 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 |
Timur Tabi | d5e1388 | 2012-10-05 11:09:19 +0000 | [diff] [blame] | 208 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 |
| 209 | #define CONFIG_SYS_FSL_TBCLK_DIV 16 |
| 210 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.4" |
Timur Tabi | d5e1388 | 2012-10-05 11:09:19 +0000 | [diff] [blame] | 211 | #define CONFIG_SYS_FSL_USB1_PHY_ENABLE |
| 212 | #define CONFIG_SYS_FSL_USB2_PHY_ENABLE |
| 213 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
Timur Tabi | d5e1388 | 2012-10-05 11:09:19 +0000 | [diff] [blame] | 214 | #define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000 |
| 215 | |
York Sun | a80bdf7 | 2016-11-15 14:09:50 -0800 | [diff] [blame] | 216 | #elif defined(CONFIG_ARCH_BSC9131) |
Prabhakar Kushwaha | beebb88 | 2012-04-24 20:16:49 +0000 | [diff] [blame] | 217 | #define CONFIG_FSL_SDHC_V2_3 |
Prabhakar Kushwaha | beebb88 | 2012-04-24 20:16:49 +0000 | [diff] [blame] | 218 | #define CONFIG_TSECV2 |
ramneek mehresh | d04f8fe | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 219 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 |
Priyanka Jain | f81e8b2 | 2013-04-04 09:31:54 +0530 | [diff] [blame] | 220 | #define CONFIG_SYS_FSL_DSP_M2_RAM_ADDR 0xb0000000 |
| 221 | #define CONFIG_SYS_FSL_DSP_CCSRBAR_DEFAULT 0xff600000 |
Mingkai Hu | 6f024c9 | 2013-05-16 10:18:13 +0800 | [diff] [blame] | 222 | #define CONFIG_SYS_FSL_IFC_BANK_COUNT 3 |
Prabhakar Kushwaha | beebb88 | 2012-04-24 20:16:49 +0000 | [diff] [blame] | 223 | #define CONFIG_NAND_FSL_IFC |
Haijun.Zhang | 22e3c42 | 2014-01-10 13:52:19 +0800 | [diff] [blame] | 224 | #define CONFIG_ESDHC_HC_BLK_ADDR |
Prabhakar Kushwaha | beebb88 | 2012-04-24 20:16:49 +0000 | [diff] [blame] | 225 | |
York Sun | a80bdf7 | 2016-11-15 14:09:50 -0800 | [diff] [blame] | 226 | #elif defined(CONFIG_ARCH_BSC9132) |
Prabhakar Kushwaha | 92543c2 | 2013-01-23 17:59:57 +0000 | [diff] [blame] | 227 | #define CONFIG_FSL_SDHC_V2_3 |
Prabhakar Kushwaha | 92543c2 | 2013-01-23 17:59:57 +0000 | [diff] [blame] | 228 | #define CONFIG_TSECV2 |
ramneek mehresh | d04f8fe | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 229 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 |
Priyanka Jain | c73b903 | 2013-07-02 09:21:04 +0530 | [diff] [blame] | 230 | #define CONFIG_SYS_FSL_DSP_DDR_ADDR 0x40000000 |
| 231 | #define CONFIG_SYS_FSL_DSP_M2_RAM_ADDR 0xb0000000 |
| 232 | #define CONFIG_SYS_FSL_DSP_M3_RAM_ADDR 0xc0000000 |
| 233 | #define CONFIG_SYS_FSL_DSP_CCSRBAR_DEFAULT 0xff600000 |
York Sun | 84fa67e | 2013-04-18 19:31:01 -0700 | [diff] [blame] | 234 | #define CONFIG_SYS_FSL_IFC_BANK_COUNT 3 |
Prabhakar Kushwaha | 92543c2 | 2013-01-23 17:59:57 +0000 | [diff] [blame] | 235 | #define CONFIG_NAND_FSL_IFC |
Prabhakar Kushwaha | 92543c2 | 2013-01-23 17:59:57 +0000 | [diff] [blame] | 236 | #define CONFIG_SYS_FSL_ESDHC_P1010_BROKEN_SDCLK |
| 237 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2" |
Haijun.Zhang | 22e3c42 | 2014-01-10 13:52:19 +0800 | [diff] [blame] | 238 | #define CONFIG_ESDHC_HC_BLK_ADDR |
Prabhakar Kushwaha | 92543c2 | 2013-01-23 17:59:57 +0000 | [diff] [blame] | 239 | |
York Sun | c184503 | 2016-11-21 13:41:30 -0800 | [diff] [blame] | 240 | #elif defined(CONFIG_ARCH_T4240) || defined(CONFIG_ARCH_T4160) |
York Sun | 64fd08b | 2013-03-25 07:40:05 +0000 | [diff] [blame] | 241 | #define CONFIG_E6500 |
York Sun | 2394a0f | 2012-10-08 07:44:30 +0000 | [diff] [blame] | 242 | #define CONFIG_SYS_PPC64 /* 64-bit core */ |
York Sun | 9941a22 | 2012-10-08 07:44:19 +0000 | [diff] [blame] | 243 | #define CONFIG_FSL_CORENET /* Freescale CoreNet platform */ |
| 244 | #define CONFIG_SYS_FSL_QORIQ_CHASSIS2 /* Freescale Chassis generation 2 */ |
York Sun | aa150bb | 2013-03-25 07:40:07 +0000 | [diff] [blame] | 245 | #define CONFIG_SYS_FSL_CORES_PER_CLUSTER 4 |
York Sun | 9941a22 | 2012-10-08 07:44:19 +0000 | [diff] [blame] | 246 | #define CONFIG_SYS_FSL_QMAN_V3 /* QMAN version 3 */ |
York Sun | 0fad326 | 2016-11-21 13:35:41 -0800 | [diff] [blame] | 247 | #ifdef CONFIG_ARCH_T4240 |
Prabhakar Kushwaha | 7e8382f | 2013-09-03 11:20:15 +0530 | [diff] [blame] | 248 | #define CONFIG_SYS_FSL_CLUSTER_CLOCKS { 1, 1, 4 } |
York Sun | 9941a22 | 2012-10-08 07:44:19 +0000 | [diff] [blame] | 249 | #define CONFIG_SYS_NUM_FM1_DTSEC 8 |
| 250 | #define CONFIG_SYS_NUM_FM1_10GEC 2 |
| 251 | #define CONFIG_SYS_NUM_FM2_DTSEC 8 |
| 252 | #define CONFIG_SYS_NUM_FM2_10GEC 2 |
York Sun | 64fd08b | 2013-03-25 07:40:05 +0000 | [diff] [blame] | 253 | #else |
Shengzhou Liu | 26ed2d0 | 2014-04-25 16:31:22 +0800 | [diff] [blame] | 254 | #define CONFIG_SYS_NUM_FM1_DTSEC 6 |
York Sun | 64fd08b | 2013-03-25 07:40:05 +0000 | [diff] [blame] | 255 | #define CONFIG_SYS_NUM_FM1_10GEC 1 |
Shengzhou Liu | 26ed2d0 | 2014-04-25 16:31:22 +0800 | [diff] [blame] | 256 | #define CONFIG_SYS_NUM_FM2_DTSEC 8 |
York Sun | 64fd08b | 2013-03-25 07:40:05 +0000 | [diff] [blame] | 257 | #define CONFIG_SYS_NUM_FM2_10GEC 1 |
York Sun | c7ea924 | 2016-11-21 13:31:34 -0800 | [diff] [blame] | 258 | #if defined(CONFIG_ARCH_T4160) |
Shengzhou Liu | 26ed2d0 | 2014-04-25 16:31:22 +0800 | [diff] [blame] | 259 | #define CONFIG_SYS_FSL_CLUSTER_CLOCKS { 1, 1 } |
Shengzhou Liu | 26ed2d0 | 2014-04-25 16:31:22 +0800 | [diff] [blame] | 260 | #endif |
York Sun | 64fd08b | 2013-03-25 07:40:05 +0000 | [diff] [blame] | 261 | #endif |
York Sun | fb5137a | 2013-03-25 07:33:29 +0000 | [diff] [blame] | 262 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 5 |
Prabhakar Kushwaha | 873e9f0 | 2013-07-31 16:56:41 +0530 | [diff] [blame] | 263 | #define CONFIG_SYS_FSL_SRDS_1 |
| 264 | #define CONFIG_SYS_FSL_SRDS_2 |
York Sun | fb5137a | 2013-03-25 07:33:29 +0000 | [diff] [blame] | 265 | #define CONFIG_SYS_FSL_SRDS_3 |
| 266 | #define CONFIG_SYS_FSL_SRDS_4 |
York Sun | fb5137a | 2013-03-25 07:33:29 +0000 | [diff] [blame] | 267 | #define CONFIG_SYS_NUM_FMAN 2 |
ramneek mehresh | d04f8fe | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 268 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 |
Prabhakar Kushwaha | 7e8382f | 2013-09-03 11:20:15 +0530 | [diff] [blame] | 269 | #define CONFIG_SYS_PME_CLK 0 |
Mingkai Hu | 6f024c9 | 2013-05-16 10:18:13 +0800 | [diff] [blame] | 270 | #define CONFIG_SYS_FSL_IFC_BANK_COUNT 8 |
York Sun | fb5137a | 2013-03-25 07:33:29 +0000 | [diff] [blame] | 271 | #define CONFIG_SYS_FMAN_V3 |
Prabhakar Kushwaha | 7e8382f | 2013-09-03 11:20:15 +0530 | [diff] [blame] | 272 | #define CONFIG_SYS_FM1_CLK 3 |
| 273 | #define CONFIG_SYS_FM2_CLK 3 |
York Sun | fb5137a | 2013-03-25 07:33:29 +0000 | [diff] [blame] | 274 | #define CONFIG_SYS_FM_MURAM_SIZE 0x60000 |
| 275 | #define CONFIG_SYS_FSL_TBCLK_DIV 16 |
| 276 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v3.0" |
| 277 | #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2 |
| 278 | #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 279 | #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
Liu Gang | d5eca7e | 2013-06-25 18:12:14 +0800 | [diff] [blame] | 280 | #define CONFIG_SYS_FSL_SRIO_LIODN |
York Sun | fb5137a | 2013-03-25 07:33:29 +0000 | [diff] [blame] | 281 | #define CONFIG_SYS_FSL_USB_DUAL_PHY_ENABLE |
| 282 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
Shaveta Leekha | 7c0f5e8 | 2014-05-28 14:18:55 +0530 | [diff] [blame] | 283 | #define CONFIG_SYS_FSL_SFP_VER_3_0 |
York Sun | fb5137a | 2013-03-25 07:33:29 +0000 | [diff] [blame] | 284 | #define CONFIG_SYS_FSL_PCI_VER_3_X |
| 285 | |
York Sun | fda566d | 2016-11-18 11:56:57 -0800 | [diff] [blame] | 286 | #elif defined(CONFIG_ARCH_B4860) || defined(CONFIG_ARCH_B4420) |
Poonam Aggrwal | 525ab51 | 2013-03-25 07:40:20 +0000 | [diff] [blame] | 287 | #define CONFIG_E6500 |
Poonam Aggrwal | 248865e | 2012-12-23 19:24:16 +0000 | [diff] [blame] | 288 | #define CONFIG_SYS_PPC64 /* 64-bit core */ |
| 289 | #define CONFIG_FSL_CORENET /* Freescale CoreNet platform */ |
| 290 | #define CONFIG_SYS_FSL_QORIQ_CHASSIS2 /* Freescale Chassis generation 2 */ |
| 291 | #define CONFIG_SYS_FSL_QMAN_V3 /* QMAN version 3 */ |
Shaveta Leekha | dbf0bc8 | 2015-01-19 12:46:54 +0530 | [diff] [blame] | 292 | #define CONFIG_HETROGENOUS_CLUSTERS /* DSP/SC3900 core clusters */ |
| 293 | #define CONFIG_PPC_CLUSTER_START 0 /*Start index of ppc clusters*/ |
| 294 | #define CONFIG_DSP_CLUSTER_START 1 /*Start index of dsp clusters*/ |
Prabhakar Kushwaha | 873e9f0 | 2013-07-31 16:56:41 +0530 | [diff] [blame] | 295 | #define CONFIG_SYS_FSL_SRDS_1 |
| 296 | #define CONFIG_SYS_FSL_SRDS_2 |
Shaveta Leekha | dbf0bc8 | 2015-01-19 12:46:54 +0530 | [diff] [blame] | 297 | #define CONFIG_SYS_MAPLE |
| 298 | #define CONFIG_SYS_CPRI |
| 299 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 5 |
Poonam Aggrwal | 248865e | 2012-12-23 19:24:16 +0000 | [diff] [blame] | 300 | #define CONFIG_SYS_NUM_FMAN 1 |
ramneek mehresh | d04f8fe | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 301 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 |
Prabhakar Kushwaha | 7e8382f | 2013-09-03 11:20:15 +0530 | [diff] [blame] | 302 | #define CONFIG_SYS_FM1_CLK 0 |
Shaveta Leekha | dbf0bc8 | 2015-01-19 12:46:54 +0530 | [diff] [blame] | 303 | #define CONFIG_SYS_CPRI_CLK 3 |
| 304 | #define CONFIG_SYS_ULB_CLK 4 |
| 305 | #define CONFIG_SYS_ETVPE_CLK 1 |
Mingkai Hu | 6f024c9 | 2013-05-16 10:18:13 +0800 | [diff] [blame] | 306 | #define CONFIG_SYS_FSL_IFC_BANK_COUNT 4 |
Poonam Aggrwal | 248865e | 2012-12-23 19:24:16 +0000 | [diff] [blame] | 307 | #define CONFIG_SYS_FMAN_V3 |
| 308 | #define CONFIG_SYS_FM_MURAM_SIZE 0x60000 |
| 309 | #define CONFIG_SYS_FSL_TBCLK_DIV 16 |
| 310 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.4" |
| 311 | #define CONFIG_SYS_FSL_USB1_PHY_ENABLE |
Shaveta Leekha | 7c0f5e8 | 2014-05-28 14:18:55 +0530 | [diff] [blame] | 312 | #define CONFIG_SYS_FSL_SFP_VER_3_0 |
Poonam Aggrwal | 248865e | 2012-12-23 19:24:16 +0000 | [diff] [blame] | 313 | |
York Sun | 68eaa9a | 2016-11-18 11:44:43 -0800 | [diff] [blame] | 314 | #ifdef CONFIG_ARCH_B4860 |
York Sun | aa150bb | 2013-03-25 07:40:07 +0000 | [diff] [blame] | 315 | #define CONFIG_SYS_FSL_CORES_PER_CLUSTER 4 |
Shaveta Leekha | dbf0bc8 | 2015-01-19 12:46:54 +0530 | [diff] [blame] | 316 | #define CONFIG_MAX_DSP_CPUS 12 |
| 317 | #define CONFIG_NUM_DSP_CPUS 6 |
Shaveta Leekha | 0dda398 | 2014-02-26 16:07:37 +0530 | [diff] [blame] | 318 | #define CONFIG_SYS_FSL_SRDS_NUM_PLLS 2 |
Prabhakar Kushwaha | 7e8382f | 2013-09-03 11:20:15 +0530 | [diff] [blame] | 319 | #define CONFIG_SYS_FSL_CLUSTER_CLOCKS { 1, 4, 4, 4 } |
York Sun | bcf7b3d | 2012-10-08 07:44:20 +0000 | [diff] [blame] | 320 | #define CONFIG_SYS_NUM_FM1_DTSEC 6 |
| 321 | #define CONFIG_SYS_NUM_FM1_10GEC 2 |
ramneek mehresh | d04f8fe | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 322 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 |
York Sun | bcf7b3d | 2012-10-08 07:44:20 +0000 | [diff] [blame] | 323 | #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2 |
| 324 | #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 325 | #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
Liu Gang | bc6486a | 2013-06-25 18:12:13 +0800 | [diff] [blame] | 326 | #define CONFIG_SYS_FSL_SRIO_LIODN |
Poonam Aggrwal | 525ab51 | 2013-03-25 07:40:20 +0000 | [diff] [blame] | 327 | #else |
Shaveta Leekha | dbf0bc8 | 2015-01-19 12:46:54 +0530 | [diff] [blame] | 328 | #define CONFIG_MAX_DSP_CPUS 2 |
Shaveta Leekha | 0dda398 | 2014-02-26 16:07:37 +0530 | [diff] [blame] | 329 | #define CONFIG_SYS_FSL_SRDS_NUM_PLLS 1 |
Poonam Aggrwal | 525ab51 | 2013-03-25 07:40:20 +0000 | [diff] [blame] | 330 | #define CONFIG_SYS_FSL_CORES_PER_CLUSTER 2 |
Prabhakar Kushwaha | 7e8382f | 2013-09-03 11:20:15 +0530 | [diff] [blame] | 331 | #define CONFIG_SYS_FSL_CLUSTER_CLOCKS { 1, 4 } |
Poonam Aggrwal | 525ab51 | 2013-03-25 07:40:20 +0000 | [diff] [blame] | 332 | #define CONFIG_SYS_NUM_FM1_DTSEC 4 |
| 333 | #define CONFIG_SYS_NUM_FM1_10GEC 0 |
Poonam Aggrwal | 525ab51 | 2013-03-25 07:40:20 +0000 | [diff] [blame] | 334 | #endif |
York Sun | bcf7b3d | 2012-10-08 07:44:20 +0000 | [diff] [blame] | 335 | |
York Sun | d7dd06c | 2016-12-28 08:43:32 -0800 | [diff] [blame] | 336 | #elif defined(CONFIG_ARCH_T1040) || defined(CONFIG_ARCH_T1042) |
York Sun | 4657136 | 2013-03-25 07:40:06 +0000 | [diff] [blame] | 337 | #define CONFIG_E5500 |
| 338 | #define CONFIG_FSL_CORENET /* Freescale CoreNet platform */ |
| 339 | #define CONFIG_SYS_FSL_QORIQ_CHASSIS2 /* Freescale Chassis generation 2 */ |
York Sun | aa150bb | 2013-03-25 07:40:07 +0000 | [diff] [blame] | 340 | #define CONFIG_SYS_FSL_CORES_PER_CLUSTER 1 |
York Sun | 4657136 | 2013-03-25 07:40:06 +0000 | [diff] [blame] | 341 | #define CONFIG_SYS_FSL_QMAN_V3 /* QMAN version 3 */ |
Prabhakar Kushwaha | 7851253 | 2013-09-03 11:19:54 +0530 | [diff] [blame] | 342 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 |
Prabhakar Kushwaha | 7e8382f | 2013-09-03 11:20:15 +0530 | [diff] [blame] | 343 | #define CONFIG_SYS_FSL_CLUSTER_CLOCKS { 1, 1, 1, 1 } |
Prabhakar Kushwaha | 7851253 | 2013-09-03 11:19:54 +0530 | [diff] [blame] | 344 | #define CONFIG_SYS_FSL_SRDS_1 |
York Sun | 4657136 | 2013-03-25 07:40:06 +0000 | [diff] [blame] | 345 | #define CONFIG_SYS_NUM_FMAN 1 |
| 346 | #define CONFIG_SYS_NUM_FM1_DTSEC 5 |
ramneek mehresh | d04f8fe | 2013-10-18 17:40:17 +0530 | [diff] [blame] | 347 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 |
Prabhakar Kushwaha | 7e8382f | 2013-09-03 11:20:15 +0530 | [diff] [blame] | 348 | #define CONFIG_PME_PLAT_CLK_DIV 2 |
| 349 | #define CONFIG_SYS_PME_CLK CONFIG_PME_PLAT_CLK_DIV |
Prabhakar Kushwaha | 7851253 | 2013-09-03 11:19:54 +0530 | [diff] [blame] | 350 | #define CONFIG_SYS_FSL_IFC_BANK_COUNT 8 |
York Sun | 4657136 | 2013-03-25 07:40:06 +0000 | [diff] [blame] | 351 | #define CONFIG_SYS_FMAN_V3 |
Prabhakar Kushwaha | 7e8382f | 2013-09-03 11:20:15 +0530 | [diff] [blame] | 352 | #define CONFIG_FM_PLAT_CLK_DIV 1 |
| 353 | #define CONFIG_SYS_FM1_CLK CONFIG_FM_PLAT_CLK_DIV |
Yangbo Lu | 163beec | 2015-04-22 13:57:40 +0800 | [diff] [blame] | 354 | #define CONFIG_SYS_SDHC_CLK 0/* Select SDHC CLK begining from PLL1 |
| 355 | per rcw field value */ |
| 356 | #define CONFIG_SYS_SDHC_CLK_2_PLL /* Select SDHC CLK from 2 PLLs */ |
Prabhakar Kushwaha | 7851253 | 2013-09-03 11:19:54 +0530 | [diff] [blame] | 357 | #define CONFIG_SYS_FM_MURAM_SIZE 0x30000 |
Priyanka Jain | e9dcaa8 | 2013-12-17 14:25:52 +0530 | [diff] [blame] | 358 | #define CONFIG_SYS_FSL_SINGLE_SOURCE_CLK |
Prabhakar Kushwaha | e6066b0 | 2013-12-11 12:49:13 +0530 | [diff] [blame] | 359 | #define CONFIG_SYS_FSL_TBCLK_DIV 16 |
York Sun | 4657136 | 2013-03-25 07:40:06 +0000 | [diff] [blame] | 360 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.4" |
Nikhil Badola | 63fcdc6 | 2014-01-27 15:21:58 +0530 | [diff] [blame] | 361 | #define CONFIG_SYS_FSL_USB_DUAL_PHY_ENABLE |
York Sun | 4657136 | 2013-03-25 07:40:06 +0000 | [diff] [blame] | 362 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
Haijun.Zhang | edeb83a | 2014-03-18 17:04:23 +0800 | [diff] [blame] | 363 | #define ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE |
Zhao Qiang | b818ba2 | 2014-03-21 16:21:45 +0800 | [diff] [blame] | 364 | #define QE_MURAM_SIZE 0x6000UL |
| 365 | #define MAX_QE_RISC 1 |
| 366 | #define QE_NUM_OF_SNUM 28 |
gaurav rana | abfd448 | 2015-03-26 15:52:47 +0530 | [diff] [blame] | 367 | #define CONFIG_SYS_FSL_SFP_VER_3_0 |
York Sun | 4657136 | 2013-03-25 07:40:06 +0000 | [diff] [blame] | 368 | |
York Sun | d7dd06c | 2016-12-28 08:43:32 -0800 | [diff] [blame] | 369 | #elif defined(CONFIG_ARCH_T1024) || defined(CONFIG_ARCH_T1023) |
Shengzhou Liu | e6fb770 | 2014-11-24 17:11:54 +0800 | [diff] [blame] | 370 | #define CONFIG_E5500 |
| 371 | #define CONFIG_FSL_CORENET /* Freescale CoreNet platform */ |
| 372 | #define CONFIG_SYS_FSL_QORIQ_CHASSIS2 /* Freescale Chassis generation 2 */ |
| 373 | #define CONFIG_SYS_FSL_CORES_PER_CLUSTER 1 |
| 374 | #define CONFIG_SYS_FSL_QMAN_V3 /* QMAN version 3 */ |
| 375 | #define CONFIG_SYS_FMAN_V3 |
Shengzhou Liu | e6fb770 | 2014-11-24 17:11:54 +0800 | [diff] [blame] | 376 | #define CONFIG_SYS_FSL_NUM_CC_PLL 2 |
| 377 | #define CONFIG_SYS_FSL_CLUSTER_CLOCKS { 1, 1, 1, 1 } |
Shengzhou Liu | e6fb770 | 2014-11-24 17:11:54 +0800 | [diff] [blame] | 378 | #define CONFIG_SYS_FSL_SRDS_1 |
Shengzhou Liu | e6fb770 | 2014-11-24 17:11:54 +0800 | [diff] [blame] | 379 | #define CONFIG_SYS_NUM_FMAN 1 |
| 380 | #define CONFIG_SYS_NUM_FM1_DTSEC 4 |
| 381 | #define CONFIG_SYS_NUM_FM1_10GEC 1 |
Shengzhou Liu | a1ccdff | 2014-11-24 17:11:57 +0800 | [diff] [blame] | 382 | #define CONFIG_FSL_FM_10GEC_REGULAR_NOTATION |
Shengzhou Liu | e6fb770 | 2014-11-24 17:11:54 +0800 | [diff] [blame] | 383 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 |
Shengzhou Liu | e6fb770 | 2014-11-24 17:11:54 +0800 | [diff] [blame] | 384 | #define CONFIG_SYS_FSL_IFC_BANK_COUNT 8 |
| 385 | #define CONFIG_SYS_FM1_CLK 0 |
Yangbo Lu | 163beec | 2015-04-22 13:57:40 +0800 | [diff] [blame] | 386 | #define CONFIG_SYS_SDHC_CLK 0/* Select SDHC CLK begining from PLL1 |
| 387 | per rcw field value */ |
Shengzhou Liu | e6fb770 | 2014-11-24 17:11:54 +0800 | [diff] [blame] | 388 | #define CONFIG_QBMAN_CLK_DIV 1 |
| 389 | #define CONFIG_SYS_FM_MURAM_SIZE 0x30000 |
| 390 | #define CONFIG_SYS_FSL_SINGLE_SOURCE_CLK |
| 391 | #define CONFIG_SYS_FSL_TBCLK_DIV 16 |
| 392 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.4" |
| 393 | #define CONFIG_SYS_FSL_USB_DUAL_PHY_ENABLE |
| 394 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
Shengzhou Liu | e6fb770 | 2014-11-24 17:11:54 +0800 | [diff] [blame] | 395 | #define ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE |
| 396 | #define QE_MURAM_SIZE 0x6000UL |
| 397 | #define MAX_QE_RISC 1 |
| 398 | #define QE_NUM_OF_SNUM 28 |
| 399 | #define CONFIG_SYS_FSL_SFP_VER_3_0 |
| 400 | |
York Sun | e20c685 | 2016-11-21 12:54:19 -0800 | [diff] [blame] | 401 | #elif defined(CONFIG_ARCH_T2080) || defined(CONFIG_ARCH_T2081) |
Shengzhou Liu | f305cd2 | 2013-11-22 17:39:10 +0800 | [diff] [blame] | 402 | #define CONFIG_E6500 |
| 403 | #define CONFIG_SYS_PPC64 /* 64-bit core */ |
| 404 | #define CONFIG_FSL_CORENET /* Freescale CoreNet platform */ |
| 405 | #define CONFIG_SYS_FSL_QORIQ_CHASSIS2 /* Freescale Chassis generation 2 */ |
| 406 | #define CONFIG_SYS_FSL_CORES_PER_CLUSTER 4 |
| 407 | #define CONFIG_SYS_FSL_NUM_CC_PLLS 2 |
| 408 | #define CONFIG_SYS_FSL_QMAN_V3 |
Shengzhou Liu | f305cd2 | 2013-11-22 17:39:10 +0800 | [diff] [blame] | 409 | #define CONFIG_SYS_NUM_FMAN 1 |
| 410 | #define CONFIG_SYS_FSL_CLUSTER_CLOCKS { 1, 4, 4, 4 } |
| 411 | #define CONFIG_SYS_FSL_SRDS_1 |
| 412 | #define CONFIG_SYS_FSL_PCI_VER_3_X |
York Sun | e20c685 | 2016-11-21 12:54:19 -0800 | [diff] [blame] | 413 | #if defined(CONFIG_ARCH_T2080) |
Shengzhou Liu | f305cd2 | 2013-11-22 17:39:10 +0800 | [diff] [blame] | 414 | #define CONFIG_SYS_NUM_FM1_DTSEC 8 |
| 415 | #define CONFIG_SYS_NUM_FM1_10GEC 4 |
| 416 | #define CONFIG_SYS_FSL_SRDS_2 |
| 417 | #define CONFIG_SYS_FSL_SRIO_LIODN |
| 418 | #define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2 |
| 419 | #define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 420 | #define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
York Sun | e20c685 | 2016-11-21 12:54:19 -0800 | [diff] [blame] | 421 | #elif defined(CONFIG_ARCH_T2081) |
Shengzhou Liu | f305cd2 | 2013-11-22 17:39:10 +0800 | [diff] [blame] | 422 | #define CONFIG_SYS_NUM_FM1_DTSEC 6 |
| 423 | #define CONFIG_SYS_NUM_FM1_10GEC 2 |
| 424 | #endif |
Shengzhou Liu | e681c62 | 2013-12-18 10:27:55 +0800 | [diff] [blame] | 425 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 |
Shengzhou Liu | f305cd2 | 2013-11-22 17:39:10 +0800 | [diff] [blame] | 426 | #define CONFIG_PME_PLAT_CLK_DIV 1 |
| 427 | #define CONFIG_SYS_PME_CLK CONFIG_PME_PLAT_CLK_DIV |
| 428 | #define CONFIG_SYS_FM1_CLK 0 |
Yangbo Lu | 163beec | 2015-04-22 13:57:40 +0800 | [diff] [blame] | 429 | #define CONFIG_SYS_SDHC_CLK 1/* Select SDHC CLK begining from PLL2 |
| 430 | per rcw field value */ |
| 431 | #define CONFIG_SYS_SDHC_CLK_2_PLL /* Select SDHC CLK from 2 PLLs */ |
Shengzhou Liu | f305cd2 | 2013-11-22 17:39:10 +0800 | [diff] [blame] | 432 | #define CONFIG_SYS_FSL_IFC_BANK_COUNT 8 |
| 433 | #define CONFIG_SYS_FMAN_V3 |
| 434 | #define CONFIG_SYS_FM_MURAM_SIZE 0x28000 |
| 435 | #define CONFIG_SYS_FSL_TBCLK_DIV 16 |
| 436 | #define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v3.0" |
| 437 | #define CONFIG_SYS_FSL_USB_DUAL_PHY_ENABLE |
| 438 | #define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY |
Shengzhou Liu | f305cd2 | 2013-11-22 17:39:10 +0800 | [diff] [blame] | 439 | #define CONFIG_SYS_FSL_SFP_VER_3_0 |
| 440 | #define CONFIG_SYS_FSL_ISBC_VER 2 |
Haijun.Zhang | edeb83a | 2014-03-18 17:04:23 +0800 | [diff] [blame] | 441 | #define ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE |
Shaveta Leekha | 7c0f5e8 | 2014-05-28 14:18:55 +0530 | [diff] [blame] | 442 | #define CONFIG_SYS_FSL_SFP_VER_3_0 |
Haijun.Zhang | edeb83a | 2014-03-18 17:04:23 +0800 | [diff] [blame] | 443 | |
Shengzhou Liu | f305cd2 | 2013-11-22 17:39:10 +0800 | [diff] [blame] | 444 | |
York Sun | 4119aee | 2016-11-15 18:44:22 -0800 | [diff] [blame] | 445 | #elif defined(CONFIG_ARCH_C29X) |
Mingkai Hu | 1a25807 | 2013-07-04 17:30:36 +0800 | [diff] [blame] | 446 | #define CONFIG_FSL_SDHC_V2_3 |
Mingkai Hu | 1a25807 | 2013-07-04 17:30:36 +0800 | [diff] [blame] | 447 | #define CONFIG_TSECV2_1 |
Mingkai Hu | 1a25807 | 2013-07-04 17:30:36 +0800 | [diff] [blame] | 448 | #define CONFIG_SYS_FSL_IFC_BANK_COUNT 8 |
Alex Porosanu | b4848d0 | 2016-04-29 15:17:59 +0300 | [diff] [blame] | 449 | #define CONFIG_SYS_FSL_MAX_NUM_OF_SEC 3 |
| 450 | #define CONFIG_SYS_FSL_SEC_IDX_OFFSET 0x20000 |
Mingkai Hu | 1a25807 | 2013-07-04 17:30:36 +0800 | [diff] [blame] | 451 | |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 452 | #endif |
| 453 | |
York Sun | aa150bb | 2013-03-25 07:40:07 +0000 | [diff] [blame] | 454 | #ifdef CONFIG_E6500 |
| 455 | #define CONFIG_SYS_FSL_THREADS_PER_CORE 2 |
| 456 | #else |
| 457 | #define CONFIG_SYS_FSL_THREADS_PER_CORE 1 |
| 458 | #endif |
| 459 | |
York Sun | 4119aee | 2016-11-15 18:44:22 -0800 | [diff] [blame] | 460 | #if !defined(CONFIG_ARCH_C29X) |
Alex Porosanu | b4848d0 | 2016-04-29 15:17:59 +0300 | [diff] [blame] | 461 | #define CONFIG_SYS_FSL_MAX_NUM_OF_SEC 1 |
| 462 | #endif |
| 463 | |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 464 | #endif /* _ASM_MPC85xx_CONFIG_H_ */ |