blob: 3f68b6f6456f305a9bda0e01713ca37f0df15305 [file] [log] [blame]
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001menu "mpc83xx CPU"
2 depends on MPC83xx
3
4config SYS_CPU
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09005 default "mpc83xx"
6
7choice
8 prompt "Target select"
Joe Hershbergerf0699602015-05-12 14:46:23 -05009 optional
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090010
11config TARGET_MPC8308_P1M
12 bool "Support mpc8308_p1m"
Mario Sixb2e701c2019-01-21 09:17:24 +010013 select ARCH_MPC8308
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090014
15config TARGET_SBC8349
16 bool "Support sbc8349"
Mario Six0344f5e2019-01-21 09:17:27 +010017 select ARCH_MPC8349
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090018
19config TARGET_VE8313
20 bool "Support ve8313"
Mario Six9164bdd2019-01-21 09:17:25 +010021 select ARCH_MPC8313
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090022
23config TARGET_VME8349
24 bool "Support vme8349"
Mario Six0344f5e2019-01-21 09:17:27 +010025 select ARCH_MPC8349
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090026
Mario Sixa83f5492019-01-21 09:17:38 +010027config TARGET_CADDY2
28 bool "Support caddy2"
29 select ARCH_MPC8349
30
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090031config TARGET_MPC8308RDB
32 bool "Support MPC8308RDB"
Mario Sixb2e701c2019-01-21 09:17:24 +010033 select ARCH_MPC8308
York Sun097e3602016-12-28 08:43:42 -080034 select SYS_FSL_ERRATUM_ESDHC111
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090035
Mario Six7299dec2019-01-21 09:17:36 +010036config TARGET_MPC8313ERDB_NOR
37 bool "Support MPC8313ERDB_NOR"
38 select ARCH_MPC8313
39 select BOARD_EARLY_INIT_F
40 select SUPPORT_SPL
41
42config TARGET_MPC8313ERDB_NAND
43 bool "Support MPC8313ERDB_NAND"
Mario Six9164bdd2019-01-21 09:17:25 +010044 select ARCH_MPC8313
Simon Glass7a99a872017-01-23 13:31:20 -070045 select BOARD_EARLY_INIT_F
Michal Simek84f3dec2018-07-23 15:55:13 +020046 select SUPPORT_SPL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090047
48config TARGET_MPC8315ERDB
49 bool "Support MPC8315ERDB"
Mario Six9164bdd2019-01-21 09:17:25 +010050 select ARCH_MPC8315
Simon Glass7a99a872017-01-23 13:31:20 -070051 select BOARD_EARLY_INIT_F
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090052
53config TARGET_MPC8323ERDB
54 bool "Support MPC8323ERDB"
Mario Sixbe07e552019-01-21 09:17:26 +010055 select ARCH_MPC832X
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090056
57config TARGET_MPC832XEMDS
58 bool "Support MPC832XEMDS"
Mario Sixbe07e552019-01-21 09:17:26 +010059 select ARCH_MPC832X
Simon Glass7a99a872017-01-23 13:31:20 -070060 select BOARD_EARLY_INIT_F
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090061
62config TARGET_MPC8349EMDS
63 bool "Support MPC8349EMDS"
Mario Six0344f5e2019-01-21 09:17:27 +010064 select ARCH_MPC8349
Michal Simek84f3dec2018-07-23 15:55:13 +020065 select BOARD_EARLY_INIT_F
York Sund297d392016-12-28 08:43:40 -080066 select SYS_FSL_DDR
York Sund297d392016-12-28 08:43:40 -080067 select SYS_FSL_DDR_BE
Michal Simek84f3dec2018-07-23 15:55:13 +020068 select SYS_FSL_HAS_DDR2
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090069
Mario Sixde017e12019-01-21 09:17:40 +010070config TARGET_MPC8349EMDS_SDRAM
71 bool "Support MPC8349EMDS_SDRAM"
72 select ARCH_MPC8349
73 select BOARD_EARLY_INIT_F
74 select SYS_FSL_DDR
75 select SYS_FSL_DDR_BE
76 select SYS_FSL_HAS_DDR2
77
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090078config TARGET_MPC8349ITX
79 bool "Support MPC8349ITX"
Mario Six0344f5e2019-01-21 09:17:27 +010080 select ARCH_MPC8349
Simon Glass4c3a6202017-05-17 03:25:39 -060081 imply CMD_IRQ
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090082
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090083config TARGET_MPC837XEMDS
84 bool "Support MPC837XEMDS"
Mario Six60b11232019-01-21 09:17:29 +010085 select ARCH_MPC837X
Simon Glass7a99a872017-01-23 13:31:20 -070086 select BOARD_EARLY_INIT_F
Simon Glass203b3ab2017-06-14 21:28:24 -060087 imply CMD_SATA
Tuomas Tynkkynen8df5dd32017-12-08 15:36:17 +020088 imply FSL_SATA
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090089
90config TARGET_MPC837XERDB
91 bool "Support MPC837XERDB"
Mario Six60b11232019-01-21 09:17:29 +010092 select ARCH_MPC837X
Simon Glass7a99a872017-01-23 13:31:20 -070093 select BOARD_EARLY_INIT_F
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090094
95config TARGET_IDS8313
96 bool "Support ids8313"
Mario Six9164bdd2019-01-21 09:17:25 +010097 select ARCH_MPC8313
Masahiro Yamada51995c22015-03-31 12:48:03 +090098 select DM
Michal Simek2e7c8192018-07-23 15:55:14 +020099 imply CMD_DM
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900100
Mario Six92e20d92019-01-21 09:17:35 +0100101config TARGET_KMETER1
102 bool "Support kmeter1"
Pascal Linder305329f2019-06-18 13:27:47 +0200103 select VENDOR_KM
Mario Six92e20d92019-01-21 09:17:35 +0100104
105config TARGET_KMCOGE5NE
106 bool "Support kmcoge5ne"
Pascal Linder305329f2019-06-18 13:27:47 +0200107 select VENDOR_KM
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900108
109config TARGET_SUVD3
110 bool "Support suvd3"
Pascal Linder305329f2019-06-18 13:27:47 +0200111 select VENDOR_KM
Mario Six5590b152019-01-21 09:17:30 +0100112
113config TARGET_KMVECT1
114 bool "Support kmvect1"
Pascal Linder305329f2019-06-18 13:27:47 +0200115 select VENDOR_KM
Mario Six5590b152019-01-21 09:17:30 +0100116
117config TARGET_KMTEGR1
118 bool "Support kmtegr1"
Pascal Linder305329f2019-06-18 13:27:47 +0200119 select VENDOR_KM
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900120
121config TARGET_TUXX1
122 bool "Support tuxx1"
Pascal Linder305329f2019-06-18 13:27:47 +0200123 select VENDOR_KM
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900124
Mario Six190ab402019-01-21 09:17:33 +0100125config TARGET_KMSUPX5
126 bool "Support kmsupx5"
Pascal Linder305329f2019-06-18 13:27:47 +0200127 select VENDOR_KM
Mario Six190ab402019-01-21 09:17:33 +0100128
129config TARGET_TUGE1
130 bool "Support tuge1"
Pascal Linder305329f2019-06-18 13:27:47 +0200131 select VENDOR_KM
Mario Six190ab402019-01-21 09:17:33 +0100132
133config TARGET_KMOPTI2
134 bool "Support kmopti2"
Pascal Linder305329f2019-06-18 13:27:47 +0200135 select VENDOR_KM
Mario Six190ab402019-01-21 09:17:33 +0100136
137config TARGET_KMTEPR2
138 bool "Support kmtepr2"
Pascal Linder305329f2019-06-18 13:27:47 +0200139 select VENDOR_KM
Mario Six190ab402019-01-21 09:17:33 +0100140
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900141config TARGET_TQM834X
142 bool "Support TQM834x"
Mario Six0344f5e2019-01-21 09:17:27 +0100143 select ARCH_MPC8349
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900144
Dirk Eibachf74a0272014-11-13 19:21:18 +0100145config TARGET_HRCON
146 bool "Support hrcon"
Mario Sixb2e701c2019-01-21 09:17:24 +0100147 select ARCH_MPC8308
York Sun097e3602016-12-28 08:43:42 -0800148 select SYS_FSL_ERRATUM_ESDHC111
Dirk Eibachf74a0272014-11-13 19:21:18 +0100149
Dirk Eibachb355f172015-10-28 11:46:32 +0100150config TARGET_STRIDER
151 bool "Support strider"
Mario Sixb2e701c2019-01-21 09:17:24 +0100152 select ARCH_MPC8308
York Sun097e3602016-12-28 08:43:42 -0800153 select SYS_FSL_ERRATUM_ESDHC111
Simon Glassa9e7f2c2017-08-04 16:34:32 -0600154 imply CMD_PCA953X
Dirk Eibachb355f172015-10-28 11:46:32 +0100155
Dirk Eibach8fc40842019-03-29 10:18:19 +0100156config TARGET_GAZERBEAM
157 bool "Support gazerbeam"
158 select ARCH_MPC8308
159 select SYS_FSL_ERRATUM_ESDHC111
160 imply ENV_IS_IN_FLASH
161 help
162 The "Gazerbeam" is a modular system by Guntermann & Drunck GmbH
163 Systementwicklung based on the NXP MPC8308 SoC for usage in KVM
164 appliances.
165
166 Features include:
167 * Two gigabit ethernet ports
168 * Multiple USB ports (depending on variant)
169 * Several gigabit ethernet or optical fiber ports (depending on
170 variant)
171 * Several display port inputs and outputs, and supporting redrivers
172 (depending on variant)
173 * Several FPGAs with custom logic (depending on variant)
174
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900175endchoice
176
Mario Six94867102019-01-21 09:17:54 +0100177config MPC83XX_QUICC_ENGINE
178 bool
179
180# TODO: Imply MPC83xx PCI driver
181config MPC83XX_PCI_SUPPORT
182 bool
183
184# TODO: Imply TSEC driver
185config MPC83XX_TSEC1_SUPPORT
186 bool
187
188config MPC83XX_TSEC2_SUPPORT
189 bool
190
191config MPC83XX_PCIE1_SUPPORT
192 bool
193
194config MPC83XX_PCIE2_SUPPORT
195 bool
196
197config MPC83XX_SDHC_SUPPORT
198 bool
199
200config MPC83XX_SATA_SUPPORT
201 bool
202
203config MPC83XX_SECOND_I2C_SUPPORT
204 bool
205
206config MPC83XX_LDP_PIN
207 bool
208
Mario Sixb2e701c2019-01-21 09:17:24 +0100209config ARCH_MPC830X
210 bool
Mario Six94867102019-01-21 09:17:54 +0100211 select MPC83XX_SDHC_SUPPORT
Mario Sixb2e701c2019-01-21 09:17:24 +0100212
213config ARCH_MPC8308
214 bool
215 select ARCH_MPC830X
Mario Six94867102019-01-21 09:17:54 +0100216 select MPC83XX_TSEC1_SUPPORT
217 select MPC83XX_TSEC2_SUPPORT
218 select MPC83XX_PCIE1_SUPPORT
219 select MPC83XX_SECOND_I2C_SUPPORT
Mario Sixb2e701c2019-01-21 09:17:24 +0100220
221config ARCH_MPC8309
222 bool
223 select ARCH_MPC830X
Mario Six94867102019-01-21 09:17:54 +0100224 select MPC83XX_QUICC_ENGINE
225 select MPC83XX_PCI_SUPPORT
226 select MPC83XX_SECOND_I2C_SUPPORT
Mario Sixb2e701c2019-01-21 09:17:24 +0100227
Mario Six9164bdd2019-01-21 09:17:25 +0100228config ARCH_MPC831X
229 bool
Mario Six94867102019-01-21 09:17:54 +0100230 select MPC83XX_PCI_SUPPORT
231 select MPC83XX_TSEC1_SUPPORT
232 select MPC83XX_TSEC2_SUPPORT
Mario Six9164bdd2019-01-21 09:17:25 +0100233
234config ARCH_MPC8313
235 bool
236 select ARCH_MPC831X
Mario Six94867102019-01-21 09:17:54 +0100237 select MPC83XX_SECOND_I2C_SUPPORT
Mario Six9164bdd2019-01-21 09:17:25 +0100238
239config ARCH_MPC8315
240 bool
241 select ARCH_MPC831X
Mario Six94867102019-01-21 09:17:54 +0100242 select MPC83XX_PCIE1_SUPPORT
243 select MPC83XX_PCIE2_SUPPORT
244 select MPC83XX_SATA_SUPPORT
Mario Six9164bdd2019-01-21 09:17:25 +0100245
Mario Sixbe07e552019-01-21 09:17:26 +0100246config ARCH_MPC832X
247 bool
Mario Six94867102019-01-21 09:17:54 +0100248 select MPC83XX_QUICC_ENGINE
249 select MPC83XX_PCI_SUPPORT
Mario Sixbe07e552019-01-21 09:17:26 +0100250
Mario Six0344f5e2019-01-21 09:17:27 +0100251config ARCH_MPC834X
252 bool
253
254config ARCH_MPC8349
255 bool
256 select ARCH_MPC834X
Mario Six94867102019-01-21 09:17:54 +0100257 select MPC83XX_PCI_SUPPORT
258 select MPC83XX_TSEC1_SUPPORT
259 select MPC83XX_TSEC2_SUPPORT
260 select MPC83XX_LDP_PIN
261 select MPC83XX_SECOND_I2C_SUPPORT
Mario Six0344f5e2019-01-21 09:17:27 +0100262
Mario Six84eb4312019-01-21 09:17:28 +0100263config ARCH_MPC8360
264 bool
Mario Six94867102019-01-21 09:17:54 +0100265 select MPC83XX_QUICC_ENGINE
266 select MPC83XX_PCI_SUPPORT
267 select MPC83XX_LDP_PIN
268 select MPC83XX_SECOND_I2C_SUPPORT
Mario Six84eb4312019-01-21 09:17:28 +0100269
Mario Six60b11232019-01-21 09:17:29 +0100270config ARCH_MPC837X
271 bool
Mario Six94867102019-01-21 09:17:54 +0100272 select MPC83XX_PCI_SUPPORT
273 select MPC83XX_TSEC1_SUPPORT
274 select MPC83XX_TSEC2_SUPPORT
275 select MPC83XX_PCIE1_SUPPORT
276 select MPC83XX_PCIE2_SUPPORT
277 select MPC83XX_SDHC_SUPPORT
278 select MPC83XX_SATA_SUPPORT
279 select MPC83XX_LDP_PIN
280 select MPC83XX_SECOND_I2C_SUPPORT
281
Mario Sixa6c985e2019-01-21 09:18:10 +0100282config SYS_IMMR
283 hex "Value for IMMR"
284 default 0xE0000000
285 help
286 Address for the Internal Memory-Mapped Registers (IMMR) window used
287 to configure the features of the SoC.
288
Mario Six94867102019-01-21 09:17:54 +0100289source "arch/powerpc/cpu/mpc83xx/hrcw/Kconfig"
Mario Sixa861ea62019-01-21 09:17:57 +0100290source "arch/powerpc/cpu/mpc83xx/bats/Kconfig"
Mario Sixb47839c2019-01-21 09:17:58 +0100291source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig"
Mario Six1faf95d2019-01-21 09:18:03 +0100292source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig"
Mario Six8b2141c2019-01-21 09:18:09 +0100293source "arch/powerpc/cpu/mpc83xx/hid/Kconfig"
Mario Six636c1082019-01-21 09:18:11 +0100294source "arch/powerpc/cpu/mpc83xx/sysio/Kconfig"
Mario Sixaa502542019-01-21 09:18:12 +0100295source "arch/powerpc/cpu/mpc83xx/arbiter/Kconfig"
Mario Sixf62074e2019-01-21 09:18:13 +0100296source "arch/powerpc/cpu/mpc83xx/initreg/Kconfig"
Mario Six60b11232019-01-21 09:17:29 +0100297
Mario Six258312f2019-01-21 09:17:51 +0100298menu "Legacy options"
299
300if ARCH_MPC8349
301
302#TODO(mario.six@gdsys.cc): Remove when mpc83xx PCI has been converted to DM/DT
303choice
304 prompt "PMC slot configuration"
305
306config PCI_ALL_PCI1
307 bool "All PMC slots on PCI1"
308
309config PCI_ONE_PCI1
310 bool "First PMC1 on PCI1"
311
312config PCI_TWO_PCI1
313 bool "First two PMC1 on PCI1"
314
315endchoice
316
317config PCI_64BIT
318 bool "PMC2 is 64bit"
319
320endif
321
322endmenu
323
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900324source "board/esd/vme8349/Kconfig"
325source "board/freescale/mpc8308rdb/Kconfig"
326source "board/freescale/mpc8313erdb/Kconfig"
327source "board/freescale/mpc8315erdb/Kconfig"
328source "board/freescale/mpc8323erdb/Kconfig"
329source "board/freescale/mpc832xemds/Kconfig"
330source "board/freescale/mpc8349emds/Kconfig"
331source "board/freescale/mpc8349itx/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900332source "board/freescale/mpc837xemds/Kconfig"
333source "board/freescale/mpc837xerdb/Kconfig"
334source "board/ids/ids8313/Kconfig"
Pascal Linder305329f2019-06-18 13:27:47 +0200335source "board/keymile/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900336source "board/mpc8308_p1m/Kconfig"
337source "board/sbc8349/Kconfig"
338source "board/tqc/tqm834x/Kconfig"
339source "board/ve8313/Kconfig"
Dirk Eibachf74a0272014-11-13 19:21:18 +0100340source "board/gdsys/mpc8308/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900341
342endmenu