Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 2 | /* |
Prabhakar Kushwaha | beebb88 | 2012-04-24 20:16:49 +0000 | [diff] [blame] | 3 | * Copyright 2011-2012 Freescale Semiconductor, Inc. |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef _ASM_MPC85xx_CONFIG_H_ |
| 7 | #define _ASM_MPC85xx_CONFIG_H_ |
| 8 | |
| 9 | /* SoC specific defines for Freescale MPC85xx (PQ3) and QorIQ processors */ |
| 10 | |
York Sun | 2896cb7 | 2014-03-27 17:54:47 -0700 | [diff] [blame] | 11 | #include <fsl_ddrc_version.h> |
York Sun | 7d69ea3 | 2012-10-08 07:44:22 +0000 | [diff] [blame] | 12 | |
York Sun | 6e413f5 | 2016-12-28 08:43:47 -0800 | [diff] [blame] | 13 | #if defined(CONFIG_ARCH_MPC8548) |
Tom Rini | 376b88a | 2022-10-28 20:27:13 -0400 | [diff] [blame] | 14 | #define CFG_SYS_FSL_SRIO_MAX_PORTS 1 |
| 15 | #define CFG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 16 | #define CFG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
| 17 | #define CFG_SYS_FSL_SRIO_MSG_UNIT_NUM 2 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 18 | |
York Sun | 24f88b3 | 2016-11-16 13:08:52 -0800 | [diff] [blame] | 19 | #elif defined(CONFIG_ARCH_P1010) |
Mingkai Hu | 6f024c9 | 2013-05-16 10:18:13 +0800 | [diff] [blame] | 20 | #define CONFIG_SYS_FSL_IFC_BANK_COUNT 4 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 21 | |
York Sun | 2f924be | 2016-11-18 10:59:02 -0800 | [diff] [blame] | 22 | #elif defined(CONFIG_ARCH_P1021) |
Haiying Wang | 8cb2af7 | 2011-02-11 01:25:30 -0600 | [diff] [blame] | 23 | #define QE_MURAM_SIZE 0x6000UL |
| 24 | #define MAX_QE_RISC 1 |
| 25 | #define QE_NUM_OF_SNUM 28 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 26 | |
York Sun | feeaae2 | 2016-11-16 15:45:31 -0800 | [diff] [blame] | 27 | #elif defined(CONFIG_ARCH_P1023) |
Tom Rini | 0a2bac7 | 2022-11-16 13:10:29 -0500 | [diff] [blame] | 28 | #define CFG_SYS_NUM_FMAN 1 |
| 29 | #define CFG_SYS_NUM_FM1_DTSEC 2 |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 30 | #define CFG_SYS_QMAN_NUM_PORTALS 3 |
| 31 | #define CFG_SYS_BMAN_NUM_PORTALS 3 |
| 32 | #define CFG_SYS_FM_MURAM_SIZE 0x10000 |
Roy Zang | 1de20b0 | 2011-02-03 22:14:19 -0600 | [diff] [blame] | 33 | |
Kumar Gala | e4e6925 | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 34 | /* P1025 is lower end variant of P1021 */ |
York Sun | 0f57797 | 2016-11-18 11:05:38 -0800 | [diff] [blame] | 35 | #elif defined(CONFIG_ARCH_P1025) |
Haiying Wang | 8cb2af7 | 2011-02-11 01:25:30 -0600 | [diff] [blame] | 36 | #define QE_MURAM_SIZE 0x6000UL |
| 37 | #define MAX_QE_RISC 1 |
| 38 | #define QE_NUM_OF_SNUM 28 |
Kumar Gala | e4e6925 | 2011-02-05 13:45:07 -0600 | [diff] [blame] | 39 | |
York Sun | 4b08dd7 | 2016-11-18 11:08:43 -0800 | [diff] [blame] | 40 | #elif defined(CONFIG_ARCH_P2020) |
Tom Rini | 376b88a | 2022-10-28 20:27:13 -0400 | [diff] [blame] | 41 | #define CFG_SYS_FSL_SRIO_MAX_PORTS 2 |
| 42 | #define CFG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 43 | #define CFG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
| 44 | #define CFG_SYS_FSL_SRIO_MSG_UNIT_NUM 2 |
York Sun | 9982579 | 2014-05-23 13:15:00 -0700 | [diff] [blame] | 45 | |
York Sun | 5786fca | 2016-11-18 11:15:21 -0800 | [diff] [blame] | 46 | #elif defined(CONFIG_ARCH_P2041) /* also supports P2040 */ |
Tom Rini | 0a2bac7 | 2022-11-16 13:10:29 -0500 | [diff] [blame] | 47 | #define CFG_SYS_NUM_FMAN 1 |
| 48 | #define CFG_SYS_NUM_FM1_DTSEC 5 |
| 49 | #define CFG_SYS_NUM_FM1_10GEC 1 |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 50 | #define CFG_SYS_FM_MURAM_SIZE 0x28000 |
Tom Rini | 376b88a | 2022-10-28 20:27:13 -0400 | [diff] [blame] | 51 | #define CFG_SYS_FSL_SRIO_MAX_PORTS 2 |
| 52 | #define CFG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 53 | #define CFG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
| 54 | #define CFG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000 |
Kumar Gala | 619541b | 2011-05-13 01:16:07 -0500 | [diff] [blame] | 55 | |
York Sun | df70d06 | 2016-11-18 11:20:40 -0800 | [diff] [blame] | 56 | #elif defined(CONFIG_ARCH_P3041) |
Tom Rini | 0a2bac7 | 2022-11-16 13:10:29 -0500 | [diff] [blame] | 57 | #define CFG_SYS_NUM_FMAN 1 |
| 58 | #define CFG_SYS_NUM_FM1_DTSEC 5 |
| 59 | #define CFG_SYS_NUM_FM1_10GEC 1 |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 60 | #define CFG_SYS_FM_MURAM_SIZE 0x28000 |
Tom Rini | 376b88a | 2022-10-28 20:27:13 -0400 | [diff] [blame] | 61 | #define CFG_SYS_FSL_SRIO_MAX_PORTS 2 |
| 62 | #define CFG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 63 | #define CFG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
| 64 | #define CFG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 65 | |
York Sun | 84be8a9 | 2016-11-18 11:24:40 -0800 | [diff] [blame] | 66 | #elif defined(CONFIG_ARCH_P4080) /* also supports P4040 */ |
Tom Rini | 0a2bac7 | 2022-11-16 13:10:29 -0500 | [diff] [blame] | 67 | #define CFG_SYS_NUM_FMAN 2 |
| 68 | #define CFG_SYS_NUM_FM1_DTSEC 4 |
| 69 | #define CFG_SYS_NUM_FM2_DTSEC 4 |
| 70 | #define CFG_SYS_NUM_FM1_10GEC 1 |
| 71 | #define CFG_SYS_NUM_FM2_10GEC 1 |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 72 | #define CFG_SYS_FM_MURAM_SIZE 0x28000 |
Tom Rini | 376b88a | 2022-10-28 20:27:13 -0400 | [diff] [blame] | 73 | #define CFG_SYS_FSL_SRIO_MAX_PORTS 2 |
| 74 | #define CFG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 75 | #define CFG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
| 76 | #define CFG_SYS_FSL_SRIO_MSG_UNIT_NUM 2 |
| 77 | #define CFG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xff000000 |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 78 | |
York Sun | a3c5b66 | 2016-11-18 11:39:36 -0800 | [diff] [blame] | 79 | #elif defined(CONFIG_ARCH_P5040) |
Tom Rini | 0a2bac7 | 2022-11-16 13:10:29 -0500 | [diff] [blame] | 80 | #define CFG_SYS_NUM_FMAN 2 |
| 81 | #define CFG_SYS_NUM_FM1_DTSEC 5 |
| 82 | #define CFG_SYS_NUM_FM1_10GEC 1 |
| 83 | #define CFG_SYS_NUM_FM2_DTSEC 5 |
| 84 | #define CFG_SYS_NUM_FM2_10GEC 1 |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 85 | #define CFG_SYS_FM_MURAM_SIZE 0x28000 |
Tom Rini | 376b88a | 2022-10-28 20:27:13 -0400 | [diff] [blame] | 86 | #define CFG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000 |
Timur Tabi | d5e1388 | 2012-10-05 11:09:19 +0000 | [diff] [blame] | 87 | |
York Sun | a80bdf7 | 2016-11-15 14:09:50 -0800 | [diff] [blame] | 88 | #elif defined(CONFIG_ARCH_BSC9131) |
Mingkai Hu | 6f024c9 | 2013-05-16 10:18:13 +0800 | [diff] [blame] | 89 | #define CONFIG_SYS_FSL_IFC_BANK_COUNT 3 |
Prabhakar Kushwaha | beebb88 | 2012-04-24 20:16:49 +0000 | [diff] [blame] | 90 | |
York Sun | a80bdf7 | 2016-11-15 14:09:50 -0800 | [diff] [blame] | 91 | #elif defined(CONFIG_ARCH_BSC9132) |
York Sun | 84fa67e | 2013-04-18 19:31:01 -0700 | [diff] [blame] | 92 | #define CONFIG_SYS_FSL_IFC_BANK_COUNT 3 |
Prabhakar Kushwaha | 92543c2 | 2013-01-23 17:59:57 +0000 | [diff] [blame] | 93 | |
Tom Rini | a7ffa3d | 2021-05-23 10:58:05 -0400 | [diff] [blame] | 94 | #elif defined(CONFIG_ARCH_T4240) |
York Sun | 0fad326 | 2016-11-21 13:35:41 -0800 | [diff] [blame] | 95 | #ifdef CONFIG_ARCH_T4240 |
Tom Rini | 376b88a | 2022-10-28 20:27:13 -0400 | [diff] [blame] | 96 | #define CFG_SYS_FSL_CLUSTER_CLOCKS { 1, 1, 4 } |
Tom Rini | 0a2bac7 | 2022-11-16 13:10:29 -0500 | [diff] [blame] | 97 | #define CFG_SYS_NUM_FM1_DTSEC 8 |
| 98 | #define CFG_SYS_NUM_FM1_10GEC 2 |
| 99 | #define CFG_SYS_NUM_FM2_DTSEC 8 |
| 100 | #define CFG_SYS_NUM_FM2_10GEC 2 |
York Sun | 64fd08b | 2013-03-25 07:40:05 +0000 | [diff] [blame] | 101 | #else |
Tom Rini | 0a2bac7 | 2022-11-16 13:10:29 -0500 | [diff] [blame] | 102 | #define CFG_SYS_NUM_FM1_DTSEC 6 |
| 103 | #define CFG_SYS_NUM_FM1_10GEC 1 |
| 104 | #define CFG_SYS_NUM_FM2_DTSEC 8 |
| 105 | #define CFG_SYS_NUM_FM2_10GEC 1 |
York Sun | 64fd08b | 2013-03-25 07:40:05 +0000 | [diff] [blame] | 106 | #endif |
Prabhakar Kushwaha | 873e9f0 | 2013-07-31 16:56:41 +0530 | [diff] [blame] | 107 | #define CONFIG_SYS_FSL_SRDS_1 |
| 108 | #define CONFIG_SYS_FSL_SRDS_2 |
Tom Rini | 376b88a | 2022-10-28 20:27:13 -0400 | [diff] [blame] | 109 | #define CFG_SYS_FSL_SRDS_3 |
| 110 | #define CFG_SYS_FSL_SRDS_4 |
Tom Rini | 0a2bac7 | 2022-11-16 13:10:29 -0500 | [diff] [blame] | 111 | #define CFG_SYS_NUM_FMAN 2 |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 112 | #define CFG_SYS_PME_CLK 0 |
Mingkai Hu | 6f024c9 | 2013-05-16 10:18:13 +0800 | [diff] [blame] | 113 | #define CONFIG_SYS_FSL_IFC_BANK_COUNT 8 |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 114 | #define CFG_SYS_FM1_CLK 3 |
| 115 | #define CFG_SYS_FM2_CLK 3 |
| 116 | #define CFG_SYS_FM_MURAM_SIZE 0x60000 |
Tom Rini | 376b88a | 2022-10-28 20:27:13 -0400 | [diff] [blame] | 117 | #define CFG_SYS_FSL_SRIO_MAX_PORTS 2 |
| 118 | #define CFG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 119 | #define CFG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
York Sun | fb5137a | 2013-03-25 07:33:29 +0000 | [diff] [blame] | 120 | |
York Sun | fda566d | 2016-11-18 11:56:57 -0800 | [diff] [blame] | 121 | #elif defined(CONFIG_ARCH_B4860) || defined(CONFIG_ARCH_B4420) |
Prabhakar Kushwaha | 873e9f0 | 2013-07-31 16:56:41 +0530 | [diff] [blame] | 122 | #define CONFIG_SYS_FSL_SRDS_1 |
| 123 | #define CONFIG_SYS_FSL_SRDS_2 |
Tom Rini | 0a2bac7 | 2022-11-16 13:10:29 -0500 | [diff] [blame] | 124 | #define CFG_SYS_NUM_FMAN 1 |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 125 | #define CFG_SYS_FM1_CLK 0 |
Mingkai Hu | 6f024c9 | 2013-05-16 10:18:13 +0800 | [diff] [blame] | 126 | #define CONFIG_SYS_FSL_IFC_BANK_COUNT 4 |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 127 | #define CFG_SYS_FM_MURAM_SIZE 0x60000 |
Poonam Aggrwal | 248865e | 2012-12-23 19:24:16 +0000 | [diff] [blame] | 128 | |
York Sun | 68eaa9a | 2016-11-18 11:44:43 -0800 | [diff] [blame] | 129 | #ifdef CONFIG_ARCH_B4860 |
Tom Rini | 376b88a | 2022-10-28 20:27:13 -0400 | [diff] [blame] | 130 | #define CFG_SYS_FSL_CLUSTER_CLOCKS { 1, 4, 4, 4 } |
Tom Rini | 0a2bac7 | 2022-11-16 13:10:29 -0500 | [diff] [blame] | 131 | #define CFG_SYS_NUM_FM1_DTSEC 6 |
| 132 | #define CFG_SYS_NUM_FM1_10GEC 2 |
Tom Rini | 376b88a | 2022-10-28 20:27:13 -0400 | [diff] [blame] | 133 | #define CFG_SYS_FSL_SRIO_MAX_PORTS 2 |
| 134 | #define CFG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 135 | #define CFG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
Poonam Aggrwal | 525ab51 | 2013-03-25 07:40:20 +0000 | [diff] [blame] | 136 | #else |
Tom Rini | 376b88a | 2022-10-28 20:27:13 -0400 | [diff] [blame] | 137 | #define CFG_SYS_FSL_CLUSTER_CLOCKS { 1, 4 } |
Tom Rini | 0a2bac7 | 2022-11-16 13:10:29 -0500 | [diff] [blame] | 138 | #define CFG_SYS_NUM_FM1_DTSEC 4 |
| 139 | #define CFG_SYS_NUM_FM1_10GEC 0 |
Poonam Aggrwal | 525ab51 | 2013-03-25 07:40:20 +0000 | [diff] [blame] | 140 | #endif |
York Sun | bcf7b3d | 2012-10-08 07:44:20 +0000 | [diff] [blame] | 141 | |
York Sun | d7dd06c | 2016-12-28 08:43:32 -0800 | [diff] [blame] | 142 | #elif defined(CONFIG_ARCH_T1040) || defined(CONFIG_ARCH_T1042) |
Tom Rini | 376b88a | 2022-10-28 20:27:13 -0400 | [diff] [blame] | 143 | #define CFG_SYS_FSL_CLUSTER_CLOCKS { 1, 1, 1, 1 } |
Prabhakar Kushwaha | 7851253 | 2013-09-03 11:19:54 +0530 | [diff] [blame] | 144 | #define CONFIG_SYS_FSL_SRDS_1 |
Tom Rini | 0a2bac7 | 2022-11-16 13:10:29 -0500 | [diff] [blame] | 145 | #define CFG_SYS_NUM_FMAN 1 |
| 146 | #define CFG_SYS_NUM_FM1_DTSEC 5 |
Prabhakar Kushwaha | 7e8382f | 2013-09-03 11:20:15 +0530 | [diff] [blame] | 147 | #define CONFIG_PME_PLAT_CLK_DIV 2 |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 148 | #define CFG_SYS_PME_CLK CONFIG_PME_PLAT_CLK_DIV |
Prabhakar Kushwaha | 7851253 | 2013-09-03 11:19:54 +0530 | [diff] [blame] | 149 | #define CONFIG_SYS_FSL_IFC_BANK_COUNT 8 |
Tom Rini | 775168e | 2022-12-04 10:03:56 -0500 | [diff] [blame] | 150 | #define CFG_FM_PLAT_CLK_DIV 1 |
| 151 | #define CFG_SYS_FM1_CLK CFG_FM_PLAT_CLK_DIV |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 152 | #define CFG_SYS_FM_MURAM_SIZE 0x30000 |
Haijun.Zhang | edeb83a | 2014-03-18 17:04:23 +0800 | [diff] [blame] | 153 | #define ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE |
Zhao Qiang | b818ba2 | 2014-03-21 16:21:45 +0800 | [diff] [blame] | 154 | #define QE_MURAM_SIZE 0x6000UL |
| 155 | #define MAX_QE_RISC 1 |
| 156 | #define QE_NUM_OF_SNUM 28 |
York Sun | 4657136 | 2013-03-25 07:40:06 +0000 | [diff] [blame] | 157 | |
Tom Rini | b4e6026 | 2021-05-14 21:34:22 -0400 | [diff] [blame] | 158 | #elif defined(CONFIG_ARCH_T1024) |
Tom Rini | 376b88a | 2022-10-28 20:27:13 -0400 | [diff] [blame] | 159 | #define CFG_SYS_FSL_CLUSTER_CLOCKS { 1, 1, 1, 1 } |
Shengzhou Liu | e6fb770 | 2014-11-24 17:11:54 +0800 | [diff] [blame] | 160 | #define CONFIG_SYS_FSL_SRDS_1 |
Tom Rini | 0a2bac7 | 2022-11-16 13:10:29 -0500 | [diff] [blame] | 161 | #define CFG_SYS_NUM_FMAN 1 |
| 162 | #define CFG_SYS_NUM_FM1_DTSEC 4 |
| 163 | #define CFG_SYS_NUM_FM1_10GEC 1 |
Shengzhou Liu | e6fb770 | 2014-11-24 17:11:54 +0800 | [diff] [blame] | 164 | #define CONFIG_SYS_FSL_IFC_BANK_COUNT 8 |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 165 | #define CFG_SYS_FM1_CLK 0 |
Shengzhou Liu | e6fb770 | 2014-11-24 17:11:54 +0800 | [diff] [blame] | 166 | #define CONFIG_QBMAN_CLK_DIV 1 |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 167 | #define CFG_SYS_FM_MURAM_SIZE 0x30000 |
Shengzhou Liu | e6fb770 | 2014-11-24 17:11:54 +0800 | [diff] [blame] | 168 | #define ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE |
| 169 | #define QE_MURAM_SIZE 0x6000UL |
| 170 | #define MAX_QE_RISC 1 |
| 171 | #define QE_NUM_OF_SNUM 28 |
Shengzhou Liu | e6fb770 | 2014-11-24 17:11:54 +0800 | [diff] [blame] | 172 | |
Tom Rini | 3ec582b | 2021-02-20 20:06:21 -0500 | [diff] [blame] | 173 | #elif defined(CONFIG_ARCH_T2080) |
Tom Rini | 0a2bac7 | 2022-11-16 13:10:29 -0500 | [diff] [blame] | 174 | #define CFG_SYS_NUM_FMAN 1 |
Tom Rini | 376b88a | 2022-10-28 20:27:13 -0400 | [diff] [blame] | 175 | #define CFG_SYS_FSL_CLUSTER_CLOCKS { 1, 4, 4, 4 } |
Shengzhou Liu | f305cd2 | 2013-11-22 17:39:10 +0800 | [diff] [blame] | 176 | #define CONFIG_SYS_FSL_SRDS_1 |
York Sun | e20c685 | 2016-11-21 12:54:19 -0800 | [diff] [blame] | 177 | #if defined(CONFIG_ARCH_T2080) |
Tom Rini | 0a2bac7 | 2022-11-16 13:10:29 -0500 | [diff] [blame] | 178 | #define CFG_SYS_NUM_FM1_DTSEC 8 |
| 179 | #define CFG_SYS_NUM_FM1_10GEC 4 |
Shengzhou Liu | f305cd2 | 2013-11-22 17:39:10 +0800 | [diff] [blame] | 180 | #define CONFIG_SYS_FSL_SRDS_2 |
Tom Rini | 376b88a | 2022-10-28 20:27:13 -0400 | [diff] [blame] | 181 | #define CFG_SYS_FSL_SRIO_MAX_PORTS 2 |
| 182 | #define CFG_SYS_FSL_SRIO_OB_WIN_NUM 9 |
| 183 | #define CFG_SYS_FSL_SRIO_IB_WIN_NUM 5 |
Shengzhou Liu | f305cd2 | 2013-11-22 17:39:10 +0800 | [diff] [blame] | 184 | #endif |
Shengzhou Liu | f305cd2 | 2013-11-22 17:39:10 +0800 | [diff] [blame] | 185 | #define CONFIG_PME_PLAT_CLK_DIV 1 |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 186 | #define CFG_SYS_PME_CLK CONFIG_PME_PLAT_CLK_DIV |
| 187 | #define CFG_SYS_FM1_CLK 0 |
Shengzhou Liu | f305cd2 | 2013-11-22 17:39:10 +0800 | [diff] [blame] | 188 | #define CONFIG_SYS_FSL_IFC_BANK_COUNT 8 |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 189 | #define CFG_SYS_FM_MURAM_SIZE 0x28000 |
Haijun.Zhang | edeb83a | 2014-03-18 17:04:23 +0800 | [diff] [blame] | 190 | #define ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE |
| 191 | |
Shengzhou Liu | f305cd2 | 2013-11-22 17:39:10 +0800 | [diff] [blame] | 192 | |
York Sun | 4119aee | 2016-11-15 18:44:22 -0800 | [diff] [blame] | 193 | #elif defined(CONFIG_ARCH_C29X) |
Mingkai Hu | 1a25807 | 2013-07-04 17:30:36 +0800 | [diff] [blame] | 194 | #define CONFIG_SYS_FSL_IFC_BANK_COUNT 8 |
Tom Rini | 376b88a | 2022-10-28 20:27:13 -0400 | [diff] [blame] | 195 | #define CFG_SYS_FSL_SEC_IDX_OFFSET 0x20000 |
Mingkai Hu | 1a25807 | 2013-07-04 17:30:36 +0800 | [diff] [blame] | 196 | |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 197 | #endif |
| 198 | |
Kumar Gala | fe13711 | 2011-01-19 03:05:26 -0600 | [diff] [blame] | 199 | #endif /* _ASM_MPC85xx_CONFIG_H_ */ |