blob: b99288aa836aadb8e52d91af618d31f9bebdf7e6 [file] [log] [blame]
Masahiro Yamadadd840582014-07-30 14:08:14 +09001menu "mpc83xx CPU"
2 depends on MPC83xx
3
4config SYS_CPU
Masahiro Yamadadd840582014-07-30 14:08:14 +09005 default "mpc83xx"
6
7choice
8 prompt "Target select"
Joe Hershbergera26cd042015-05-12 14:46:23 -05009 optional
Masahiro Yamadadd840582014-07-30 14:08:14 +090010
11config TARGET_MPC8308_P1M
12 bool "Support mpc8308_p1m"
Mario Six4bc97a32019-01-21 09:17:24 +010013 select ARCH_MPC8308
Masahiro Yamadadd840582014-07-30 14:08:14 +090014
15config TARGET_SBC8349
16 bool "Support sbc8349"
Mario Sixd5cfa4a2019-01-21 09:17:27 +010017 select ARCH_MPC8349
Masahiro Yamadadd840582014-07-30 14:08:14 +090018
19config TARGET_VE8313
20 bool "Support ve8313"
Mario Six9403fc42019-01-21 09:17:25 +010021 select ARCH_MPC8313
Masahiro Yamadadd840582014-07-30 14:08:14 +090022
23config TARGET_VME8349
24 bool "Support vme8349"
Mario Sixd5cfa4a2019-01-21 09:17:27 +010025 select ARCH_MPC8349
Masahiro Yamadadd840582014-07-30 14:08:14 +090026
Mario Six904c47f2019-01-21 09:17:38 +010027config TARGET_CADDY2
28 bool "Support caddy2"
29 select ARCH_MPC8349
30
Masahiro Yamadadd840582014-07-30 14:08:14 +090031config TARGET_MPC8308RDB
32 bool "Support MPC8308RDB"
Mario Six4bc97a32019-01-21 09:17:24 +010033 select ARCH_MPC8308
York Sunc01e4a12016-12-28 08:43:42 -080034 select SYS_FSL_ERRATUM_ESDHC111
Masahiro Yamadadd840582014-07-30 14:08:14 +090035
Mario Six16aaca22019-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 Six9403fc42019-01-21 09:17:25 +010044 select ARCH_MPC8313
Simon Glassa5d67542017-01-23 13:31:20 -070045 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +020046 select SUPPORT_SPL
Masahiro Yamadadd840582014-07-30 14:08:14 +090047
48config TARGET_MPC8315ERDB
49 bool "Support MPC8315ERDB"
Mario Six9403fc42019-01-21 09:17:25 +010050 select ARCH_MPC8315
Simon Glassa5d67542017-01-23 13:31:20 -070051 select BOARD_EARLY_INIT_F
Masahiro Yamadadd840582014-07-30 14:08:14 +090052
53config TARGET_MPC8323ERDB
54 bool "Support MPC8323ERDB"
Mario Sixbd3b8672019-01-21 09:17:26 +010055 select ARCH_MPC832X
Masahiro Yamadadd840582014-07-30 14:08:14 +090056
57config TARGET_MPC832XEMDS
58 bool "Support MPC832XEMDS"
Mario Sixbd3b8672019-01-21 09:17:26 +010059 select ARCH_MPC832X
Simon Glassa5d67542017-01-23 13:31:20 -070060 select BOARD_EARLY_INIT_F
Masahiro Yamadadd840582014-07-30 14:08:14 +090061
62config TARGET_MPC8349EMDS
63 bool "Support MPC8349EMDS"
Mario Sixd5cfa4a2019-01-21 09:17:27 +010064 select ARCH_MPC8349
Simon Glassa5d67542017-01-23 13:31:20 -070065 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +020066 select SYS_FSL_DDR
67 select SYS_FSL_DDR_BE
68 select SYS_FSL_HAS_DDR2
Masahiro Yamadadd840582014-07-30 14:08:14 +090069
Mario Sixddc935f2019-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 Yamadadd840582014-07-30 14:08:14 +090078config TARGET_MPC8349ITX
79 bool "Support MPC8349ITX"
Mario Sixd5cfa4a2019-01-21 09:17:27 +010080 select ARCH_MPC8349
Simon Glass1b330892017-05-17 03:25:39 -060081 imply CMD_IRQ
Masahiro Yamadadd840582014-07-30 14:08:14 +090082
Masahiro Yamadadd840582014-07-30 14:08:14 +090083config TARGET_MPC837XEMDS
84 bool "Support MPC837XEMDS"
Mario Six8439e992019-01-21 09:17:29 +010085 select ARCH_MPC837X
Simon Glassa5d67542017-01-23 13:31:20 -070086 select BOARD_EARLY_INIT_F
Simon Glass3bf926c2017-06-14 21:28:24 -060087 imply CMD_SATA
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +020088 imply FSL_SATA
Masahiro Yamadadd840582014-07-30 14:08:14 +090089
90config TARGET_MPC837XERDB
91 bool "Support MPC837XERDB"
Mario Six8439e992019-01-21 09:17:29 +010092 select ARCH_MPC837X
Simon Glassa5d67542017-01-23 13:31:20 -070093 select BOARD_EARLY_INIT_F
Masahiro Yamadadd840582014-07-30 14:08:14 +090094
95config TARGET_IDS8313
96 bool "Support ids8313"
Mario Six9403fc42019-01-21 09:17:25 +010097 select ARCH_MPC8313
Masahiro Yamada2ea4cfde2015-03-31 12:48:03 +090098 select DM
Michal Simek08a00cb2018-07-23 15:55:14 +020099 imply CMD_DM
Masahiro Yamadadd840582014-07-30 14:08:14 +0900100
Mario Six009c87a2019-01-21 09:17:35 +0100101config TARGET_KMETER1
102 bool "Support kmeter1"
103 select ARCH_MPC8360
104 imply CMD_CRAMFS
105 imply CMD_DIAG
106 imply FS_CRAMFS
107
108config TARGET_KMCOGE5NE
109 bool "Support kmcoge5ne"
Mario Six61abced2019-01-21 09:17:28 +0100110 select ARCH_MPC8360
Simon Glass97072742017-04-26 22:28:03 -0600111 imply CMD_CRAMFS
Simon Glass3bd25cb2017-04-26 22:28:08 -0600112 imply CMD_DIAG
Simon Glass80e44cf2017-04-26 22:28:04 -0600113 imply FS_CRAMFS
Masahiro Yamadadd840582014-07-30 14:08:14 +0900114
115config TARGET_SUVD3
116 bool "Support suvd3"
Mario Six0e0674f2019-01-21 09:17:30 +0100117 select ARCH_MPC832X
118 imply CMD_CRAMFS
119 imply FS_CRAMFS
120
121config TARGET_KMVECT1
122 bool "Support kmvect1"
123 select ARCH_MPC8309
124 imply CMD_CRAMFS
125 imply FS_CRAMFS
126
127config TARGET_KMTEGR1
128 bool "Support kmtegr1"
129 select ARCH_MPC8309
Simon Glass97072742017-04-26 22:28:03 -0600130 imply CMD_CRAMFS
Simon Glass80e44cf2017-04-26 22:28:04 -0600131 imply FS_CRAMFS
Masahiro Yamadadd840582014-07-30 14:08:14 +0900132
133config TARGET_TUXX1
134 bool "Support tuxx1"
Mario Sixbd3b8672019-01-21 09:17:26 +0100135 select ARCH_MPC832X
Simon Glass97072742017-04-26 22:28:03 -0600136 imply CMD_CRAMFS
Simon Glass80e44cf2017-04-26 22:28:04 -0600137 imply FS_CRAMFS
Masahiro Yamadadd840582014-07-30 14:08:14 +0900138
Mario Six71c79002019-01-21 09:17:33 +0100139config TARGET_KMSUPX5
140 bool "Support kmsupx5"
141 select ARCH_MPC832X
142 imply CMD_CRAMFS
143 imply FS_CRAMFS
144
145config TARGET_TUGE1
146 bool "Support tuge1"
147 select ARCH_MPC832X
148 imply CMD_CRAMFS
149 imply FS_CRAMFS
150
151config TARGET_KMOPTI2
152 bool "Support kmopti2"
153 select ARCH_MPC832X
154 imply CMD_CRAMFS
155 imply FS_CRAMFS
156
157config TARGET_KMTEPR2
158 bool "Support kmtepr2"
159 select ARCH_MPC832X
160 imply CMD_CRAMFS
161 imply FS_CRAMFS
162
Masahiro Yamadadd840582014-07-30 14:08:14 +0900163config TARGET_TQM834X
164 bool "Support TQM834x"
Mario Sixd5cfa4a2019-01-21 09:17:27 +0100165 select ARCH_MPC8349
Masahiro Yamadadd840582014-07-30 14:08:14 +0900166
Dirk Eibach50dcf892014-11-13 19:21:18 +0100167config TARGET_HRCON
168 bool "Support hrcon"
Mario Six4bc97a32019-01-21 09:17:24 +0100169 select ARCH_MPC8308
York Sunc01e4a12016-12-28 08:43:42 -0800170 select SYS_FSL_ERRATUM_ESDHC111
Dirk Eibach50dcf892014-11-13 19:21:18 +0100171
Dirk Eibacha3f9d6c2015-10-28 11:46:32 +0100172config TARGET_STRIDER
173 bool "Support strider"
Mario Six4bc97a32019-01-21 09:17:24 +0100174 select ARCH_MPC8308
York Sunc01e4a12016-12-28 08:43:42 -0800175 select SYS_FSL_ERRATUM_ESDHC111
Simon Glass00913622017-08-04 16:34:32 -0600176 imply CMD_PCA953X
Dirk Eibacha3f9d6c2015-10-28 11:46:32 +0100177
Dirk Eibachd494cdb2019-03-29 10:18:19 +0100178config TARGET_GAZERBEAM
179 bool "Support gazerbeam"
180 select ARCH_MPC8308
181 select SYS_FSL_ERRATUM_ESDHC111
182 imply ENV_IS_IN_FLASH
183 help
184 The "Gazerbeam" is a modular system by Guntermann & Drunck GmbH
185 Systementwicklung based on the NXP MPC8308 SoC for usage in KVM
186 appliances.
187
188 Features include:
189 * Two gigabit ethernet ports
190 * Multiple USB ports (depending on variant)
191 * Several gigabit ethernet or optical fiber ports (depending on
192 variant)
193 * Several display port inputs and outputs, and supporting redrivers
194 (depending on variant)
195 * Several FPGAs with custom logic (depending on variant)
196
Masahiro Yamadadd840582014-07-30 14:08:14 +0900197endchoice
198
Mario Six21c15022019-01-21 09:17:54 +0100199config MPC83XX_QUICC_ENGINE
200 bool
201
202# TODO: Imply MPC83xx PCI driver
203config MPC83XX_PCI_SUPPORT
204 bool
205
206# TODO: Imply TSEC driver
207config MPC83XX_TSEC1_SUPPORT
208 bool
209
210config MPC83XX_TSEC2_SUPPORT
211 bool
212
213config MPC83XX_PCIE1_SUPPORT
214 bool
215
216config MPC83XX_PCIE2_SUPPORT
217 bool
218
219config MPC83XX_SDHC_SUPPORT
220 bool
221
222config MPC83XX_SATA_SUPPORT
223 bool
224
225config MPC83XX_SECOND_I2C_SUPPORT
226 bool
227
228config MPC83XX_LDP_PIN
229 bool
230
Mario Six4bc97a32019-01-21 09:17:24 +0100231config ARCH_MPC830X
232 bool
Mario Six21c15022019-01-21 09:17:54 +0100233 select MPC83XX_SDHC_SUPPORT
Mario Six4bc97a32019-01-21 09:17:24 +0100234
235config ARCH_MPC8308
236 bool
237 select ARCH_MPC830X
Mario Six21c15022019-01-21 09:17:54 +0100238 select MPC83XX_TSEC1_SUPPORT
239 select MPC83XX_TSEC2_SUPPORT
240 select MPC83XX_PCIE1_SUPPORT
241 select MPC83XX_SECOND_I2C_SUPPORT
Mario Six4bc97a32019-01-21 09:17:24 +0100242
243config ARCH_MPC8309
244 bool
245 select ARCH_MPC830X
Mario Six21c15022019-01-21 09:17:54 +0100246 select MPC83XX_QUICC_ENGINE
247 select MPC83XX_PCI_SUPPORT
248 select MPC83XX_SECOND_I2C_SUPPORT
Mario Six4bc97a32019-01-21 09:17:24 +0100249
Mario Six9403fc42019-01-21 09:17:25 +0100250config ARCH_MPC831X
251 bool
Mario Six21c15022019-01-21 09:17:54 +0100252 select MPC83XX_PCI_SUPPORT
253 select MPC83XX_TSEC1_SUPPORT
254 select MPC83XX_TSEC2_SUPPORT
Mario Six9403fc42019-01-21 09:17:25 +0100255
256config ARCH_MPC8313
257 bool
258 select ARCH_MPC831X
Mario Six21c15022019-01-21 09:17:54 +0100259 select MPC83XX_SECOND_I2C_SUPPORT
Mario Six9403fc42019-01-21 09:17:25 +0100260
261config ARCH_MPC8315
262 bool
263 select ARCH_MPC831X
Mario Six21c15022019-01-21 09:17:54 +0100264 select MPC83XX_PCIE1_SUPPORT
265 select MPC83XX_PCIE2_SUPPORT
266 select MPC83XX_SATA_SUPPORT
Mario Six9403fc42019-01-21 09:17:25 +0100267
Mario Sixbd3b8672019-01-21 09:17:26 +0100268config ARCH_MPC832X
269 bool
Mario Six21c15022019-01-21 09:17:54 +0100270 select MPC83XX_QUICC_ENGINE
271 select MPC83XX_PCI_SUPPORT
Mario Sixbd3b8672019-01-21 09:17:26 +0100272
Mario Sixd5cfa4a2019-01-21 09:17:27 +0100273config ARCH_MPC834X
274 bool
275
276config ARCH_MPC8349
277 bool
278 select ARCH_MPC834X
Mario Six21c15022019-01-21 09:17:54 +0100279 select MPC83XX_PCI_SUPPORT
280 select MPC83XX_TSEC1_SUPPORT
281 select MPC83XX_TSEC2_SUPPORT
282 select MPC83XX_LDP_PIN
283 select MPC83XX_SECOND_I2C_SUPPORT
Mario Sixd5cfa4a2019-01-21 09:17:27 +0100284
Mario Six61abced2019-01-21 09:17:28 +0100285config ARCH_MPC8360
286 bool
Mario Six21c15022019-01-21 09:17:54 +0100287 select MPC83XX_QUICC_ENGINE
288 select MPC83XX_PCI_SUPPORT
289 select MPC83XX_LDP_PIN
290 select MPC83XX_SECOND_I2C_SUPPORT
Mario Six61abced2019-01-21 09:17:28 +0100291
Mario Six8439e992019-01-21 09:17:29 +0100292config ARCH_MPC837X
293 bool
Mario Six21c15022019-01-21 09:17:54 +0100294 select MPC83XX_PCI_SUPPORT
295 select MPC83XX_TSEC1_SUPPORT
296 select MPC83XX_TSEC2_SUPPORT
297 select MPC83XX_PCIE1_SUPPORT
298 select MPC83XX_PCIE2_SUPPORT
299 select MPC83XX_SDHC_SUPPORT
300 select MPC83XX_SATA_SUPPORT
301 select MPC83XX_LDP_PIN
302 select MPC83XX_SECOND_I2C_SUPPORT
303
Mario Six71da7472019-01-21 09:18:10 +0100304config SYS_IMMR
305 hex "Value for IMMR"
306 default 0xE0000000
307 help
308 Address for the Internal Memory-Mapped Registers (IMMR) window used
309 to configure the features of the SoC.
310
Mario Six21c15022019-01-21 09:17:54 +0100311source "arch/powerpc/cpu/mpc83xx/hrcw/Kconfig"
Mario Six30915ab2019-01-21 09:17:57 +0100312source "arch/powerpc/cpu/mpc83xx/bats/Kconfig"
Mario Six9c5df7a2019-01-21 09:17:58 +0100313source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig"
Mario Sixfe7d6542019-01-21 09:18:03 +0100314source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig"
Mario Sixbe5abb02019-01-21 09:18:09 +0100315source "arch/powerpc/cpu/mpc83xx/hid/Kconfig"
Mario Sixba463c12019-01-21 09:18:11 +0100316source "arch/powerpc/cpu/mpc83xx/sysio/Kconfig"
Mario Six73df96a2019-01-21 09:18:12 +0100317source "arch/powerpc/cpu/mpc83xx/arbiter/Kconfig"
Mario Sixe35012e2019-01-21 09:18:13 +0100318source "arch/powerpc/cpu/mpc83xx/initreg/Kconfig"
Mario Six8439e992019-01-21 09:17:29 +0100319
Mario Six1cbc10c2019-01-21 09:17:51 +0100320menu "Legacy options"
321
322if ARCH_MPC8349
323
324#TODO(mario.six@gdsys.cc): Remove when mpc83xx PCI has been converted to DM/DT
325choice
326 prompt "PMC slot configuration"
327
328config PCI_ALL_PCI1
329 bool "All PMC slots on PCI1"
330
331config PCI_ONE_PCI1
332 bool "First PMC1 on PCI1"
333
334config PCI_TWO_PCI1
335 bool "First two PMC1 on PCI1"
336
337endchoice
338
339config PCI_64BIT
340 bool "PMC2 is 64bit"
341
342endif
343
344endmenu
345
Masahiro Yamadadd840582014-07-30 14:08:14 +0900346source "board/esd/vme8349/Kconfig"
347source "board/freescale/mpc8308rdb/Kconfig"
348source "board/freescale/mpc8313erdb/Kconfig"
349source "board/freescale/mpc8315erdb/Kconfig"
350source "board/freescale/mpc8323erdb/Kconfig"
351source "board/freescale/mpc832xemds/Kconfig"
352source "board/freescale/mpc8349emds/Kconfig"
353source "board/freescale/mpc8349itx/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +0900354source "board/freescale/mpc837xemds/Kconfig"
355source "board/freescale/mpc837xerdb/Kconfig"
356source "board/ids/ids8313/Kconfig"
357source "board/keymile/km83xx/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +0900358source "board/mpc8308_p1m/Kconfig"
359source "board/sbc8349/Kconfig"
360source "board/tqc/tqm834x/Kconfig"
361source "board/ve8313/Kconfig"
Dirk Eibach50dcf892014-11-13 19:21:18 +0100362source "board/gdsys/mpc8308/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +0900363
364endmenu