blob: 582e1412211cc0910d5a652bb3e1caac8dff0a0a [file] [log] [blame]
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001menu "mpc83xx CPU"
2 depends on MPC83xx
3
Tom Rinia5fd0892022-03-30 18:07:29 -04004config DEFAULT_IMMR
5 hex
6 default 0xFF400000
7
Tom Rinic1c04bd2022-03-24 17:18:01 -04008config E300
9 def_bool y
10
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090011config SYS_CPU
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090012 default "mpc83xx"
13
Tom Rini5d673de2022-06-25 11:02:41 -040014config SYS_83XX_DDR_USES_CS0
15 bool
16 help
17 DDR should be configured using CS0 and CS1 instead of CS2 and CS3.
18
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090019choice
20 prompt "Target select"
Joe Hershbergerf0699602015-05-12 14:46:23 -050021 optional
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090022
Christophe Leroyf6469c22023-04-04 13:09:36 +020023config TARGET_CMPCPRO
24 bool "Support CMPCPRO board from CSSI"
25 select ARCH_MPC832X
26
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090027config TARGET_MPC837XERDB
28 bool "Support MPC837XERDB"
Mario Six60b11232019-01-21 09:17:29 +010029 select ARCH_MPC837X
Simon Glass7a99a872017-01-23 13:31:20 -070030 select BOARD_EARLY_INIT_F
Tom Rini5d673de2022-06-25 11:02:41 -040031 select SYS_83XX_DDR_USES_CS0
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090032
Mario Six92e20d92019-01-21 09:17:35 +010033config TARGET_KMETER1
34 bool "Support kmeter1"
Pascal Linder305329f2019-06-18 13:27:47 +020035 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010036 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six92e20d92019-01-21 09:17:35 +010037
38config TARGET_KMCOGE5NE
39 bool "Support kmcoge5ne"
Pascal Linder305329f2019-06-18 13:27:47 +020040 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010041 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090042
Mario Six5590b152019-01-21 09:17:30 +010043config TARGET_KMTEGR1
44 bool "Support kmtegr1"
Pascal Linder305329f2019-06-18 13:27:47 +020045 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010046 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090047
48config TARGET_TUXX1
49 bool "Support tuxx1"
Pascal Linder305329f2019-06-18 13:27:47 +020050 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010051 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090052
Mario Six190ab402019-01-21 09:17:33 +010053config TARGET_KMSUPX5
54 bool "Support kmsupx5"
Pascal Linder305329f2019-06-18 13:27:47 +020055 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010056 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six190ab402019-01-21 09:17:33 +010057
58config TARGET_TUGE1
59 bool "Support tuge1"
Pascal Linder305329f2019-06-18 13:27:47 +020060 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010061 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six190ab402019-01-21 09:17:33 +010062
63config TARGET_KMOPTI2
64 bool "Support kmopti2"
Pascal Linder305329f2019-06-18 13:27:47 +020065 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010066 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six190ab402019-01-21 09:17:33 +010067
68config TARGET_KMTEPR2
69 bool "Support kmtepr2"
Pascal Linder305329f2019-06-18 13:27:47 +020070 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010071 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six190ab402019-01-21 09:17:33 +010072
Dirk Eibach8fc40842019-03-29 10:18:19 +010073config TARGET_GAZERBEAM
74 bool "Support gazerbeam"
75 select ARCH_MPC8308
76 select SYS_FSL_ERRATUM_ESDHC111
77 imply ENV_IS_IN_FLASH
78 help
79 The "Gazerbeam" is a modular system by Guntermann & Drunck GmbH
80 Systementwicklung based on the NXP MPC8308 SoC for usage in KVM
81 appliances.
82
83 Features include:
84 * Two gigabit ethernet ports
85 * Multiple USB ports (depending on variant)
86 * Several gigabit ethernet or optical fiber ports (depending on
87 variant)
88 * Several display port inputs and outputs, and supporting redrivers
89 (depending on variant)
90 * Several FPGAs with custom logic (depending on variant)
91
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090092endchoice
93
Mario Six94867102019-01-21 09:17:54 +010094config MPC83XX_QUICC_ENGINE
95 bool
96
97# TODO: Imply MPC83xx PCI driver
98config MPC83XX_PCI_SUPPORT
99 bool
100
101# TODO: Imply TSEC driver
102config MPC83XX_TSEC1_SUPPORT
103 bool
104
105config MPC83XX_TSEC2_SUPPORT
106 bool
107
108config MPC83XX_PCIE1_SUPPORT
109 bool
110
111config MPC83XX_PCIE2_SUPPORT
112 bool
113
114config MPC83XX_SDHC_SUPPORT
115 bool
116
Simon Glass081a45a2021-08-08 12:20:17 -0600117config MPC83XX_SATA
Mario Six94867102019-01-21 09:17:54 +0100118 bool
119
Simon Glassbccfc2e2021-07-10 21:14:36 -0600120config MPC83XX_SECOND_I2C
Mario Six94867102019-01-21 09:17:54 +0100121 bool
122
123config MPC83XX_LDP_PIN
124 bool
125
Mario Sixb2e701c2019-01-21 09:17:24 +0100126config ARCH_MPC830X
127 bool
Mario Six94867102019-01-21 09:17:54 +0100128 select MPC83XX_SDHC_SUPPORT
Tom Rini3ef67ae2021-08-26 11:47:59 -0400129 select SYS_CACHE_SHIFT_5
Mario Sixb2e701c2019-01-21 09:17:24 +0100130
131config ARCH_MPC8308
132 bool
133 select ARCH_MPC830X
Mario Six94867102019-01-21 09:17:54 +0100134 select MPC83XX_TSEC1_SUPPORT
135 select MPC83XX_TSEC2_SUPPORT
136 select MPC83XX_PCIE1_SUPPORT
Simon Glassbccfc2e2021-07-10 21:14:36 -0600137 select MPC83XX_SECOND_I2C
Mario Sixb2e701c2019-01-21 09:17:24 +0100138
Mario Six9164bdd2019-01-21 09:17:25 +0100139config ARCH_MPC831X
140 bool
Mario Six94867102019-01-21 09:17:54 +0100141 select MPC83XX_PCI_SUPPORT
142 select MPC83XX_TSEC1_SUPPORT
143 select MPC83XX_TSEC2_SUPPORT
Tom Rini3ef67ae2021-08-26 11:47:59 -0400144 select SYS_CACHE_SHIFT_5
Mario Six9164bdd2019-01-21 09:17:25 +0100145
146config ARCH_MPC8313
147 bool
148 select ARCH_MPC831X
Simon Glassbccfc2e2021-07-10 21:14:36 -0600149 select MPC83XX_SECOND_I2C
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000150 select FSL_ELBC
Mario Six9164bdd2019-01-21 09:17:25 +0100151
Mario Sixbe07e552019-01-21 09:17:26 +0100152config ARCH_MPC832X
153 bool
Mario Six94867102019-01-21 09:17:54 +0100154 select MPC83XX_QUICC_ENGINE
155 select MPC83XX_PCI_SUPPORT
Tom Rini3ef67ae2021-08-26 11:47:59 -0400156 select SYS_CACHE_SHIFT_5
Mario Sixbe07e552019-01-21 09:17:26 +0100157
Mario Six0344f5e2019-01-21 09:17:27 +0100158config ARCH_MPC834X
159 bool
Tom Rini3ef67ae2021-08-26 11:47:59 -0400160 select SYS_CACHE_SHIFT_5
Mario Six0344f5e2019-01-21 09:17:27 +0100161
Mario Six84eb4312019-01-21 09:17:28 +0100162config ARCH_MPC8360
163 bool
Mario Six94867102019-01-21 09:17:54 +0100164 select MPC83XX_QUICC_ENGINE
165 select MPC83XX_PCI_SUPPORT
166 select MPC83XX_LDP_PIN
Simon Glassbccfc2e2021-07-10 21:14:36 -0600167 select MPC83XX_SECOND_I2C
Tom Rini3ef67ae2021-08-26 11:47:59 -0400168 select SYS_CACHE_SHIFT_5
Mario Six84eb4312019-01-21 09:17:28 +0100169
Mario Six60b11232019-01-21 09:17:29 +0100170config ARCH_MPC837X
171 bool
Mario Six94867102019-01-21 09:17:54 +0100172 select MPC83XX_PCI_SUPPORT
173 select MPC83XX_TSEC1_SUPPORT
174 select MPC83XX_TSEC2_SUPPORT
175 select MPC83XX_PCIE1_SUPPORT
176 select MPC83XX_PCIE2_SUPPORT
177 select MPC83XX_SDHC_SUPPORT
Simon Glass081a45a2021-08-08 12:20:17 -0600178 select MPC83XX_SATA
Mario Six94867102019-01-21 09:17:54 +0100179 select MPC83XX_LDP_PIN
Simon Glassbccfc2e2021-07-10 21:14:36 -0600180 select MPC83XX_SECOND_I2C
Tom Rini3ef67ae2021-08-26 11:47:59 -0400181 select SYS_CACHE_SHIFT_5
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000182 select FSL_ELBC
Mario Six94867102019-01-21 09:17:54 +0100183
184source "arch/powerpc/cpu/mpc83xx/hrcw/Kconfig"
Mario Sixa861ea62019-01-21 09:17:57 +0100185source "arch/powerpc/cpu/mpc83xx/bats/Kconfig"
Mario Sixb47839c2019-01-21 09:17:58 +0100186source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig"
Mario Six1faf95d2019-01-21 09:18:03 +0100187source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig"
Mario Six8b2141c2019-01-21 09:18:09 +0100188source "arch/powerpc/cpu/mpc83xx/hid/Kconfig"
Mario Six636c1082019-01-21 09:18:11 +0100189source "arch/powerpc/cpu/mpc83xx/sysio/Kconfig"
Mario Sixaa502542019-01-21 09:18:12 +0100190source "arch/powerpc/cpu/mpc83xx/arbiter/Kconfig"
Mario Sixf62074e2019-01-21 09:18:13 +0100191source "arch/powerpc/cpu/mpc83xx/initreg/Kconfig"
Mario Six60b11232019-01-21 09:17:29 +0100192
Tom Rini56838602021-12-17 18:08:36 -0500193config 83XX_PCICLK
194 hex "PCI clock frequency"
195 default 0xDEADBEEF
196 help
197 If required, the PCI clock frequency to use when configuring
198 the host bridge.
199
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000200config FSL_ELBC
201 bool
202
Tom Rini75795232022-11-19 18:45:13 -0500203config FSL_SERDES
204 bool "SerDes initialization"
205 depends on !MPC83XX_SERDES
206
Tom Rinif9c02352022-12-04 10:03:28 -0500207config NEVER_ASSERT_ODT_TO_CPU
208 bool "Never assert ODT to internal IOs"
209
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900210source "board/freescale/mpc837xerdb/Kconfig"
Dirk Eibachf74a0272014-11-13 19:21:18 +0100211source "board/gdsys/mpc8308/Kconfig"
Christophe Leroyf6469c22023-04-04 13:09:36 +0200212source "board/cssi/cmpcpro/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900213
214endmenu