blob: 0d31e70a7696f4b63ce5210724e2e1bef498e8ad [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Kumar Galafe137112011-01-19 03:05:26 -06002/*
Prabhakar Kushwahabeebb882012-04-24 20:16:49 +00003 * Copyright 2011-2012 Freescale Semiconductor, Inc.
Kumar Galafe137112011-01-19 03:05:26 -06004 */
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 Sunf066a042012-10-28 08:12:54 +000011/*
12 * This macro should be removed when we no longer care about backwards
13 * compatibility with older operating systems.
14 */
15#define CONFIG_PPC_SPINTABLE_COMPATIBLE
16
York Sun2896cb72014-03-27 17:54:47 -070017#include <fsl_ddrc_version.h>
York Sun7d69ea32012-10-08 07:44:22 +000018
York Sun6e413f52016-12-28 08:43:47 -080019#if defined(CONFIG_ARCH_MPC8548)
Liu Gang78deaa12012-03-08 00:33:14 +000020#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 1
21#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
22#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
23#define CONFIG_SYS_FSL_RMU
24#define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2
Kumar Galafe137112011-01-19 03:05:26 -060025
York Sun24f88b32016-11-16 13:08:52 -080026#elif defined(CONFIG_ARCH_P1010)
Priyanka Jain02449632011-02-09 09:24:10 +053027#define CONFIG_FSL_SDHC_V2_3
Kumar Galafe137112011-01-19 03:05:26 -060028#define CONFIG_TSECV2
Mingkai Hu6f024c92013-05-16 10:18:13 +080029#define CONFIG_SYS_FSL_IFC_BANK_COUNT 4
Kumar Gala179b1b22011-05-20 00:39:21 -050030#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
Ramneek Mehresh3fb68ee2011-03-23 15:20:43 +053031#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
Sriram Dash1ae7e4c2016-08-17 11:47:53 +053032#define CONFIG_SYS_FSL_USB1_PHY_ENABLE
Kumar Galafe137112011-01-19 03:05:26 -060033
Kumar Galae4e69252011-02-05 13:45:07 -060034/* P1011 is single core version of P1020 */
York Sun3680e592016-11-16 15:54:15 -080035#elif defined(CONFIG_ARCH_P1011)
Kumar Galafe137112011-01-19 03:05:26 -060036#define CONFIG_TSECV2
Kumar Galafe137112011-01-19 03:05:26 -060037
York Sunaf2dc812016-11-18 10:02:14 -080038#elif defined(CONFIG_ARCH_P1020)
Kumar Galafe137112011-01-19 03:05:26 -060039#define CONFIG_TSECV2
Kumar Galafe137112011-01-19 03:05:26 -060040
York Sun2f924be2016-11-18 10:59:02 -080041#elif defined(CONFIG_ARCH_P1021)
Kumar Galafe137112011-01-19 03:05:26 -060042#define CONFIG_TSECV2
Haiying Wang8cb2af72011-02-11 01:25:30 -060043#define QE_MURAM_SIZE 0x6000UL
44#define MAX_QE_RISC 1
45#define QE_NUM_OF_SNUM 28
Kumar Galafe137112011-01-19 03:05:26 -060046
York Sunfeeaae22016-11-16 15:45:31 -080047#elif defined(CONFIG_ARCH_P1023)
Roy Zang1de20b02011-02-03 22:14:19 -060048#define CONFIG_SYS_NUM_FMAN 1
49#define CONFIG_SYS_NUM_FM1_DTSEC 2
Roy Zang1de20b02011-02-03 22:14:19 -060050#define CONFIG_SYS_QMAN_NUM_PORTALS 3
51#define CONFIG_SYS_BMAN_NUM_PORTALS 3
Kumar Galad80dfe42011-02-04 00:43:34 -060052#define CONFIG_SYS_FM_MURAM_SIZE 0x10000
Kumar Gala179b1b22011-05-20 00:39:21 -050053#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
Roy Zang1de20b02011-02-03 22:14:19 -060054
Kumar Galae4e69252011-02-05 13:45:07 -060055/* P1024 is lower end variant of P1020 */
York Sun76780b22016-11-18 11:00:57 -080056#elif defined(CONFIG_ARCH_P1024)
Kumar Galae4e69252011-02-05 13:45:07 -060057#define CONFIG_TSECV2
Kumar Galae4e69252011-02-05 13:45:07 -060058
59/* P1025 is lower end variant of P1021 */
York Sun0f577972016-11-18 11:05:38 -080060#elif defined(CONFIG_ARCH_P1025)
Kumar Galae4e69252011-02-05 13:45:07 -060061#define CONFIG_TSECV2
Haiying Wang8cb2af72011-02-11 01:25:30 -060062#define QE_MURAM_SIZE 0x6000UL
63#define MAX_QE_RISC 1
64#define QE_NUM_OF_SNUM 28
Kumar Galae4e69252011-02-05 13:45:07 -060065
York Sun4b08dd72016-11-18 11:08:43 -080066#elif defined(CONFIG_ARCH_P2020)
Liu Gang78deaa12012-03-08 00:33:14 +000067#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
68#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
69#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
70#define CONFIG_SYS_FSL_RMU
71#define CONFIG_SYS_FSL_SRIO_MSG_UNIT_NUM 2
York Sun99825792014-05-23 13:15:00 -070072
York Sun5786fca2016-11-18 11:15:21 -080073#elif defined(CONFIG_ARCH_P2041) /* also supports P2040 */
Kumar Gala619541b2011-05-13 01:16:07 -050074#define CONFIG_SYS_NUM_FMAN 1
75#define CONFIG_SYS_NUM_FM1_DTSEC 5
76#define CONFIG_SYS_NUM_FM1_10GEC 1
Kumar Gala619541b2011-05-13 01:16:07 -050077#define CONFIG_SYS_FM_MURAM_SIZE 0x28000
78#define CONFIG_SYS_FSL_TBCLK_DIV 32
79#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
80#define CONFIG_SYS_FSL_USB1_PHY_ENABLE
81#define CONFIG_SYS_FSL_USB2_PHY_ENABLE
Kumar Galaa49034f2011-04-13 00:19:10 -050082#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
Liu Gang78deaa12012-03-08 00:33:14 +000083#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
84#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
85#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
Scott Wood80806962012-08-14 10:14:53 +000086#define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000
Kumar Gala619541b2011-05-13 01:16:07 -050087
York Sundf70d062016-11-18 11:20:40 -080088#elif defined(CONFIG_ARCH_P3041)
Kumar Gala60d95d82011-01-25 12:42:32 -060089#define CONFIG_SYS_NUM_FMAN 1
90#define CONFIG_SYS_NUM_FM1_DTSEC 5
91#define CONFIG_SYS_NUM_FM1_10GEC 1
Kumar Galad80dfe42011-02-04 00:43:34 -060092#define CONFIG_SYS_FM_MURAM_SIZE 0x28000
Kumar Galaf4fb90f2011-02-18 05:40:54 -060093#define CONFIG_SYS_FSL_TBCLK_DIV 32
Kumar Gala179b1b22011-05-20 00:39:21 -050094#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
Roy Zang6d6a0e12011-04-13 00:08:51 -050095#define CONFIG_SYS_FSL_USB1_PHY_ENABLE
96#define CONFIG_SYS_FSL_USB2_PHY_ENABLE
Kumar Galaa49034f2011-04-13 00:19:10 -050097#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
Liu Gang78deaa12012-03-08 00:33:14 +000098#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
99#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
100#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
Scott Wood80806962012-08-14 10:14:53 +0000101#define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000
Kumar Galafe137112011-01-19 03:05:26 -0600102
York Sun84be8a92016-11-18 11:24:40 -0800103#elif defined(CONFIG_ARCH_P4080) /* also supports P4040 */
Kumar Galafe137112011-01-19 03:05:26 -0600104#define CONFIG_SYS_NUM_FMAN 2
105#define CONFIG_SYS_NUM_FM1_DTSEC 4
106#define CONFIG_SYS_NUM_FM2_DTSEC 4
107#define CONFIG_SYS_NUM_FM1_10GEC 1
108#define CONFIG_SYS_NUM_FM2_10GEC 1
Kumar Galad80dfe42011-02-04 00:43:34 -0600109#define CONFIG_SYS_FM_MURAM_SIZE 0x28000
Kumar Galaf4fb90f2011-02-18 05:40:54 -0600110#define CONFIG_SYS_FSL_TBCLK_DIV 16
Kumar Gala179b1b22011-05-20 00:39:21 -0500111#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,p4080-pcie"
Liu Gang78deaa12012-03-08 00:33:14 +0000112#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
Scott Wood80806962012-08-14 10:14:53 +0000117#define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xff000000
Kumar Galafe137112011-01-19 03:05:26 -0600118
York Suna3c5b662016-11-18 11:39:36 -0800119#elif defined(CONFIG_ARCH_P5040)
Timur Tabid5e13882012-10-05 11:09:19 +0000120#define CONFIG_SYS_NUM_FMAN 2
121#define CONFIG_SYS_NUM_FM1_DTSEC 5
122#define CONFIG_SYS_NUM_FM1_10GEC 1
123#define CONFIG_SYS_NUM_FM2_DTSEC 5
124#define CONFIG_SYS_NUM_FM2_10GEC 1
Timur Tabid5e13882012-10-05 11:09:19 +0000125#define CONFIG_SYS_FM_MURAM_SIZE 0x28000
126#define CONFIG_SYS_FSL_TBCLK_DIV 16
127#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.4"
Timur Tabid5e13882012-10-05 11:09:19 +0000128#define CONFIG_SYS_FSL_USB1_PHY_ENABLE
129#define CONFIG_SYS_FSL_USB2_PHY_ENABLE
130#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
Timur Tabid5e13882012-10-05 11:09:19 +0000131#define CONFIG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000
132
York Suna80bdf72016-11-15 14:09:50 -0800133#elif defined(CONFIG_ARCH_BSC9131)
Prabhakar Kushwahabeebb882012-04-24 20:16:49 +0000134#define CONFIG_FSL_SDHC_V2_3
Prabhakar Kushwahabeebb882012-04-24 20:16:49 +0000135#define CONFIG_TSECV2
Mingkai Hu6f024c92013-05-16 10:18:13 +0800136#define CONFIG_SYS_FSL_IFC_BANK_COUNT 3
Prabhakar Kushwahabeebb882012-04-24 20:16:49 +0000137
York Suna80bdf72016-11-15 14:09:50 -0800138#elif defined(CONFIG_ARCH_BSC9132)
Prabhakar Kushwaha92543c22013-01-23 17:59:57 +0000139#define CONFIG_FSL_SDHC_V2_3
Prabhakar Kushwaha92543c22013-01-23 17:59:57 +0000140#define CONFIG_TSECV2
York Sun84fa67e2013-04-18 19:31:01 -0700141#define CONFIG_SYS_FSL_IFC_BANK_COUNT 3
Prabhakar Kushwaha92543c22013-01-23 17:59:57 +0000142#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.2"
143
Tom Rinia7ffa3d2021-05-23 10:58:05 -0400144#elif defined(CONFIG_ARCH_T4240)
York Sun9941a222012-10-08 07:44:19 +0000145#define CONFIG_SYS_FSL_QMAN_V3 /* QMAN version 3 */
York Sun0fad3262016-11-21 13:35:41 -0800146#ifdef CONFIG_ARCH_T4240
Prabhakar Kushwaha7e8382f2013-09-03 11:20:15 +0530147#define CONFIG_SYS_FSL_CLUSTER_CLOCKS { 1, 1, 4 }
York Sun9941a222012-10-08 07:44:19 +0000148#define CONFIG_SYS_NUM_FM1_DTSEC 8
149#define CONFIG_SYS_NUM_FM1_10GEC 2
150#define CONFIG_SYS_NUM_FM2_DTSEC 8
151#define CONFIG_SYS_NUM_FM2_10GEC 2
York Sun64fd08b2013-03-25 07:40:05 +0000152#else
Shengzhou Liu26ed2d02014-04-25 16:31:22 +0800153#define CONFIG_SYS_NUM_FM1_DTSEC 6
York Sun64fd08b2013-03-25 07:40:05 +0000154#define CONFIG_SYS_NUM_FM1_10GEC 1
Shengzhou Liu26ed2d02014-04-25 16:31:22 +0800155#define CONFIG_SYS_NUM_FM2_DTSEC 8
York Sun64fd08b2013-03-25 07:40:05 +0000156#define CONFIG_SYS_NUM_FM2_10GEC 1
York Sun64fd08b2013-03-25 07:40:05 +0000157#endif
Prabhakar Kushwaha873e9f02013-07-31 16:56:41 +0530158#define CONFIG_SYS_FSL_SRDS_1
159#define CONFIG_SYS_FSL_SRDS_2
York Sunfb5137a2013-03-25 07:33:29 +0000160#define CONFIG_SYS_FSL_SRDS_3
161#define CONFIG_SYS_FSL_SRDS_4
York Sunfb5137a2013-03-25 07:33:29 +0000162#define CONFIG_SYS_NUM_FMAN 2
Prabhakar Kushwaha7e8382f2013-09-03 11:20:15 +0530163#define CONFIG_SYS_PME_CLK 0
Mingkai Hu6f024c92013-05-16 10:18:13 +0800164#define CONFIG_SYS_FSL_IFC_BANK_COUNT 8
Prabhakar Kushwaha7e8382f2013-09-03 11:20:15 +0530165#define CONFIG_SYS_FM1_CLK 3
166#define CONFIG_SYS_FM2_CLK 3
York Sunfb5137a2013-03-25 07:33:29 +0000167#define CONFIG_SYS_FM_MURAM_SIZE 0x60000
168#define CONFIG_SYS_FSL_TBCLK_DIV 16
169#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v3.0"
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
Liu Gangd5eca7e2013-06-25 18:12:14 +0800173#define CONFIG_SYS_FSL_SRIO_LIODN
York Sunfb5137a2013-03-25 07:33:29 +0000174#define CONFIG_SYS_FSL_USB_DUAL_PHY_ENABLE
175#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
York Sunfb5137a2013-03-25 07:33:29 +0000176
York Sunfda566d2016-11-18 11:56:57 -0800177#elif defined(CONFIG_ARCH_B4860) || defined(CONFIG_ARCH_B4420)
Poonam Aggrwal248865e2012-12-23 19:24:16 +0000178#define CONFIG_SYS_FSL_QMAN_V3 /* QMAN version 3 */
Prabhakar Kushwaha873e9f02013-07-31 16:56:41 +0530179#define CONFIG_SYS_FSL_SRDS_1
180#define CONFIG_SYS_FSL_SRDS_2
Poonam Aggrwal248865e2012-12-23 19:24:16 +0000181#define CONFIG_SYS_NUM_FMAN 1
Prabhakar Kushwaha7e8382f2013-09-03 11:20:15 +0530182#define CONFIG_SYS_FM1_CLK 0
Mingkai Hu6f024c92013-05-16 10:18:13 +0800183#define CONFIG_SYS_FSL_IFC_BANK_COUNT 4
Poonam Aggrwal248865e2012-12-23 19:24:16 +0000184#define CONFIG_SYS_FM_MURAM_SIZE 0x60000
185#define CONFIG_SYS_FSL_TBCLK_DIV 16
186#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.4"
187#define CONFIG_SYS_FSL_USB1_PHY_ENABLE
Poonam Aggrwal248865e2012-12-23 19:24:16 +0000188
York Sun68eaa9a2016-11-18 11:44:43 -0800189#ifdef CONFIG_ARCH_B4860
Shaveta Leekhadbf0bc82015-01-19 12:46:54 +0530190#define CONFIG_MAX_DSP_CPUS 12
191#define CONFIG_NUM_DSP_CPUS 6
Prabhakar Kushwaha7e8382f2013-09-03 11:20:15 +0530192#define CONFIG_SYS_FSL_CLUSTER_CLOCKS { 1, 4, 4, 4 }
York Sunbcf7b3d2012-10-08 07:44:20 +0000193#define CONFIG_SYS_NUM_FM1_DTSEC 6
194#define CONFIG_SYS_NUM_FM1_10GEC 2
York Sunbcf7b3d2012-10-08 07:44:20 +0000195#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
196#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
197#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
Liu Gangbc6486a2013-06-25 18:12:13 +0800198#define CONFIG_SYS_FSL_SRIO_LIODN
Poonam Aggrwal525ab512013-03-25 07:40:20 +0000199#else
Shaveta Leekhadbf0bc82015-01-19 12:46:54 +0530200#define CONFIG_MAX_DSP_CPUS 2
Prabhakar Kushwaha7e8382f2013-09-03 11:20:15 +0530201#define CONFIG_SYS_FSL_CLUSTER_CLOCKS { 1, 4 }
Poonam Aggrwal525ab512013-03-25 07:40:20 +0000202#define CONFIG_SYS_NUM_FM1_DTSEC 4
203#define CONFIG_SYS_NUM_FM1_10GEC 0
Poonam Aggrwal525ab512013-03-25 07:40:20 +0000204#endif
York Sunbcf7b3d2012-10-08 07:44:20 +0000205
York Sund7dd06c2016-12-28 08:43:32 -0800206#elif defined(CONFIG_ARCH_T1040) || defined(CONFIG_ARCH_T1042)
York Sun46571362013-03-25 07:40:06 +0000207#define CONFIG_SYS_FSL_QMAN_V3 /* QMAN version 3 */
Prabhakar Kushwaha7e8382f2013-09-03 11:20:15 +0530208#define CONFIG_SYS_FSL_CLUSTER_CLOCKS { 1, 1, 1, 1 }
Prabhakar Kushwaha78512532013-09-03 11:19:54 +0530209#define CONFIG_SYS_FSL_SRDS_1
York Sun46571362013-03-25 07:40:06 +0000210#define CONFIG_SYS_NUM_FMAN 1
211#define CONFIG_SYS_NUM_FM1_DTSEC 5
Prabhakar Kushwaha7e8382f2013-09-03 11:20:15 +0530212#define CONFIG_PME_PLAT_CLK_DIV 2
213#define CONFIG_SYS_PME_CLK CONFIG_PME_PLAT_CLK_DIV
Prabhakar Kushwaha78512532013-09-03 11:19:54 +0530214#define CONFIG_SYS_FSL_IFC_BANK_COUNT 8
Prabhakar Kushwaha7e8382f2013-09-03 11:20:15 +0530215#define CONFIG_FM_PLAT_CLK_DIV 1
216#define CONFIG_SYS_FM1_CLK CONFIG_FM_PLAT_CLK_DIV
Prabhakar Kushwaha78512532013-09-03 11:19:54 +0530217#define CONFIG_SYS_FM_MURAM_SIZE 0x30000
Priyanka Jaine9dcaa82013-12-17 14:25:52 +0530218#define CONFIG_SYS_FSL_SINGLE_SOURCE_CLK
Prabhakar Kushwahae6066b02013-12-11 12:49:13 +0530219#define CONFIG_SYS_FSL_TBCLK_DIV 16
York Sun46571362013-03-25 07:40:06 +0000220#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.4"
Nikhil Badola63fcdc62014-01-27 15:21:58 +0530221#define CONFIG_SYS_FSL_USB_DUAL_PHY_ENABLE
York Sun46571362013-03-25 07:40:06 +0000222#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
Haijun.Zhangedeb83a2014-03-18 17:04:23 +0800223#define ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE
Zhao Qiangb818ba22014-03-21 16:21:45 +0800224#define QE_MURAM_SIZE 0x6000UL
225#define MAX_QE_RISC 1
226#define QE_NUM_OF_SNUM 28
York Sun46571362013-03-25 07:40:06 +0000227
Tom Rinib4e60262021-05-14 21:34:22 -0400228#elif defined(CONFIG_ARCH_T1024)
Shengzhou Liue6fb7702014-11-24 17:11:54 +0800229#define CONFIG_SYS_FSL_QMAN_V3 /* QMAN version 3 */
Shengzhou Liue6fb7702014-11-24 17:11:54 +0800230#define CONFIG_SYS_FSL_NUM_CC_PLL 2
231#define CONFIG_SYS_FSL_CLUSTER_CLOCKS { 1, 1, 1, 1 }
Shengzhou Liue6fb7702014-11-24 17:11:54 +0800232#define CONFIG_SYS_FSL_SRDS_1
Shengzhou Liue6fb7702014-11-24 17:11:54 +0800233#define CONFIG_SYS_NUM_FMAN 1
234#define CONFIG_SYS_NUM_FM1_DTSEC 4
235#define CONFIG_SYS_NUM_FM1_10GEC 1
Shengzhou Liua1ccdff2014-11-24 17:11:57 +0800236#define CONFIG_FSL_FM_10GEC_REGULAR_NOTATION
Shengzhou Liue6fb7702014-11-24 17:11:54 +0800237#define CONFIG_SYS_FSL_IFC_BANK_COUNT 8
238#define CONFIG_SYS_FM1_CLK 0
239#define CONFIG_QBMAN_CLK_DIV 1
240#define CONFIG_SYS_FM_MURAM_SIZE 0x30000
241#define CONFIG_SYS_FSL_SINGLE_SOURCE_CLK
242#define CONFIG_SYS_FSL_TBCLK_DIV 16
243#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v2.4"
244#define CONFIG_SYS_FSL_USB_DUAL_PHY_ENABLE
245#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
Shengzhou Liue6fb7702014-11-24 17:11:54 +0800246#define ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE
247#define QE_MURAM_SIZE 0x6000UL
248#define MAX_QE_RISC 1
249#define QE_NUM_OF_SNUM 28
Shengzhou Liue6fb7702014-11-24 17:11:54 +0800250
Tom Rini3ec582b2021-02-20 20:06:21 -0500251#elif defined(CONFIG_ARCH_T2080)
Shengzhou Liuf305cd22013-11-22 17:39:10 +0800252#define CONFIG_SYS_FSL_QMAN_V3
Shengzhou Liuf305cd22013-11-22 17:39:10 +0800253#define CONFIG_SYS_NUM_FMAN 1
254#define CONFIG_SYS_FSL_CLUSTER_CLOCKS { 1, 4, 4, 4 }
255#define CONFIG_SYS_FSL_SRDS_1
York Sune20c6852016-11-21 12:54:19 -0800256#if defined(CONFIG_ARCH_T2080)
Shengzhou Liuf305cd22013-11-22 17:39:10 +0800257#define CONFIG_SYS_NUM_FM1_DTSEC 8
258#define CONFIG_SYS_NUM_FM1_10GEC 4
259#define CONFIG_SYS_FSL_SRDS_2
260#define CONFIG_SYS_FSL_SRIO_LIODN
261#define CONFIG_SYS_FSL_SRIO_MAX_PORTS 2
262#define CONFIG_SYS_FSL_SRIO_OB_WIN_NUM 9
263#define CONFIG_SYS_FSL_SRIO_IB_WIN_NUM 5
Shengzhou Liuf305cd22013-11-22 17:39:10 +0800264#endif
Shengzhou Liuf305cd22013-11-22 17:39:10 +0800265#define CONFIG_PME_PLAT_CLK_DIV 1
266#define CONFIG_SYS_PME_CLK CONFIG_PME_PLAT_CLK_DIV
267#define CONFIG_SYS_FM1_CLK 0
Shengzhou Liuf305cd22013-11-22 17:39:10 +0800268#define CONFIG_SYS_FSL_IFC_BANK_COUNT 8
Shengzhou Liuf305cd22013-11-22 17:39:10 +0800269#define CONFIG_SYS_FM_MURAM_SIZE 0x28000
270#define CONFIG_SYS_FSL_TBCLK_DIV 16
271#define CONFIG_SYS_FSL_PCIE_COMPAT "fsl,qoriq-pcie-v3.0"
272#define CONFIG_SYS_FSL_USB_DUAL_PHY_ENABLE
273#define CONFIG_SYS_FSL_USB_INTERNAL_UTMI_PHY
Haijun.Zhangedeb83a2014-03-18 17:04:23 +0800274#define ESDHCI_QUIRK_BROKEN_TIMEOUT_VALUE
275
Shengzhou Liuf305cd22013-11-22 17:39:10 +0800276
York Sun4119aee2016-11-15 18:44:22 -0800277#elif defined(CONFIG_ARCH_C29X)
Mingkai Hu1a258072013-07-04 17:30:36 +0800278#define CONFIG_FSL_SDHC_V2_3
Mingkai Hu1a258072013-07-04 17:30:36 +0800279#define CONFIG_TSECV2_1
Mingkai Hu1a258072013-07-04 17:30:36 +0800280#define CONFIG_SYS_FSL_IFC_BANK_COUNT 8
Alex Porosanub4848d02016-04-29 15:17:59 +0300281#define CONFIG_SYS_FSL_SEC_IDX_OFFSET 0x20000
Mingkai Hu1a258072013-07-04 17:30:36 +0800282
Kumar Galafe137112011-01-19 03:05:26 -0600283#endif
284
Kumar Galafe137112011-01-19 03:05:26 -0600285#endif /* _ASM_MPC85xx_CONFIG_H_ */