blob: 2bae08e27863a2d49a1545874e2898d20d1a80ad [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
Heiko Schocher3c521072020-02-03 07:43:57 +0100104 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six92e20d92019-01-21 09:17:35 +0100105
106config TARGET_KMCOGE5NE
107 bool "Support kmcoge5ne"
Pascal Linder305329f2019-06-18 13:27:47 +0200108 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +0100109 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900110
Mario Six5590b152019-01-21 09:17:30 +0100111config TARGET_KMTEGR1
112 bool "Support kmtegr1"
Pascal Linder305329f2019-06-18 13:27:47 +0200113 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +0100114 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900115
116config TARGET_TUXX1
117 bool "Support tuxx1"
Pascal Linder305329f2019-06-18 13:27:47 +0200118 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +0100119 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900120
Mario Six190ab402019-01-21 09:17:33 +0100121config TARGET_KMSUPX5
122 bool "Support kmsupx5"
Pascal Linder305329f2019-06-18 13:27:47 +0200123 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +0100124 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six190ab402019-01-21 09:17:33 +0100125
126config TARGET_TUGE1
127 bool "Support tuge1"
Pascal Linder305329f2019-06-18 13:27:47 +0200128 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +0100129 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six190ab402019-01-21 09:17:33 +0100130
131config TARGET_KMOPTI2
132 bool "Support kmopti2"
Pascal Linder305329f2019-06-18 13:27:47 +0200133 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +0100134 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six190ab402019-01-21 09:17:33 +0100135
136config TARGET_KMTEPR2
137 bool "Support kmtepr2"
Pascal Linder305329f2019-06-18 13:27:47 +0200138 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +0100139 select KM_ENABLE_FULL_DM_DTS_SUPPORT
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
Rasmus Villemoes676f1012019-12-11 09:39:36 +0000227 select SYS_FSL_ERRATUM_ESDHC111
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000228 select FSL_ELBC
Mario Sixb2e701c2019-01-21 09:17:24 +0100229
Mario Six9164bdd2019-01-21 09:17:25 +0100230config ARCH_MPC831X
231 bool
Mario Six94867102019-01-21 09:17:54 +0100232 select MPC83XX_PCI_SUPPORT
233 select MPC83XX_TSEC1_SUPPORT
234 select MPC83XX_TSEC2_SUPPORT
Mario Six9164bdd2019-01-21 09:17:25 +0100235
236config ARCH_MPC8313
237 bool
238 select ARCH_MPC831X
Mario Six94867102019-01-21 09:17:54 +0100239 select MPC83XX_SECOND_I2C_SUPPORT
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000240 select FSL_ELBC
Mario Six9164bdd2019-01-21 09:17:25 +0100241
242config ARCH_MPC8315
243 bool
244 select ARCH_MPC831X
Mario Six94867102019-01-21 09:17:54 +0100245 select MPC83XX_PCIE1_SUPPORT
246 select MPC83XX_PCIE2_SUPPORT
247 select MPC83XX_SATA_SUPPORT
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000248 select FSL_ELBC
Mario Six9164bdd2019-01-21 09:17:25 +0100249
Mario Sixbe07e552019-01-21 09:17:26 +0100250config ARCH_MPC832X
251 bool
Mario Six94867102019-01-21 09:17:54 +0100252 select MPC83XX_QUICC_ENGINE
253 select MPC83XX_PCI_SUPPORT
Mario Sixbe07e552019-01-21 09:17:26 +0100254
Mario Six0344f5e2019-01-21 09:17:27 +0100255config ARCH_MPC834X
256 bool
257
258config ARCH_MPC8349
259 bool
260 select ARCH_MPC834X
Mario Six94867102019-01-21 09:17:54 +0100261 select MPC83XX_PCI_SUPPORT
262 select MPC83XX_TSEC1_SUPPORT
263 select MPC83XX_TSEC2_SUPPORT
264 select MPC83XX_LDP_PIN
265 select MPC83XX_SECOND_I2C_SUPPORT
Mario Six0344f5e2019-01-21 09:17:27 +0100266
Mario Six84eb4312019-01-21 09:17:28 +0100267config ARCH_MPC8360
268 bool
Mario Six94867102019-01-21 09:17:54 +0100269 select MPC83XX_QUICC_ENGINE
270 select MPC83XX_PCI_SUPPORT
271 select MPC83XX_LDP_PIN
272 select MPC83XX_SECOND_I2C_SUPPORT
Mario Six84eb4312019-01-21 09:17:28 +0100273
Mario Six60b11232019-01-21 09:17:29 +0100274config ARCH_MPC837X
275 bool
Mario Six94867102019-01-21 09:17:54 +0100276 select MPC83XX_PCI_SUPPORT
277 select MPC83XX_TSEC1_SUPPORT
278 select MPC83XX_TSEC2_SUPPORT
279 select MPC83XX_PCIE1_SUPPORT
280 select MPC83XX_PCIE2_SUPPORT
281 select MPC83XX_SDHC_SUPPORT
282 select MPC83XX_SATA_SUPPORT
283 select MPC83XX_LDP_PIN
284 select MPC83XX_SECOND_I2C_SUPPORT
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000285 select FSL_ELBC
Mario Six94867102019-01-21 09:17:54 +0100286
Mario Sixa6c985e2019-01-21 09:18:10 +0100287config SYS_IMMR
288 hex "Value for IMMR"
289 default 0xE0000000
290 help
291 Address for the Internal Memory-Mapped Registers (IMMR) window used
292 to configure the features of the SoC.
293
Mario Six94867102019-01-21 09:17:54 +0100294source "arch/powerpc/cpu/mpc83xx/hrcw/Kconfig"
Mario Sixa861ea62019-01-21 09:17:57 +0100295source "arch/powerpc/cpu/mpc83xx/bats/Kconfig"
Mario Sixb47839c2019-01-21 09:17:58 +0100296source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig"
Mario Six1faf95d2019-01-21 09:18:03 +0100297source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig"
Mario Six8b2141c2019-01-21 09:18:09 +0100298source "arch/powerpc/cpu/mpc83xx/hid/Kconfig"
Mario Six636c1082019-01-21 09:18:11 +0100299source "arch/powerpc/cpu/mpc83xx/sysio/Kconfig"
Mario Sixaa502542019-01-21 09:18:12 +0100300source "arch/powerpc/cpu/mpc83xx/arbiter/Kconfig"
Mario Sixf62074e2019-01-21 09:18:13 +0100301source "arch/powerpc/cpu/mpc83xx/initreg/Kconfig"
Mario Six60b11232019-01-21 09:17:29 +0100302
Mario Six258312f2019-01-21 09:17:51 +0100303menu "Legacy options"
304
305if ARCH_MPC8349
306
307#TODO(mario.six@gdsys.cc): Remove when mpc83xx PCI has been converted to DM/DT
308choice
309 prompt "PMC slot configuration"
310
311config PCI_ALL_PCI1
312 bool "All PMC slots on PCI1"
313
314config PCI_ONE_PCI1
315 bool "First PMC1 on PCI1"
316
317config PCI_TWO_PCI1
318 bool "First two PMC1 on PCI1"
319
320endchoice
321
322config PCI_64BIT
323 bool "PMC2 is 64bit"
324
325endif
326
327endmenu
328
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000329config FSL_ELBC
330 bool
331
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900332source "board/esd/vme8349/Kconfig"
333source "board/freescale/mpc8308rdb/Kconfig"
334source "board/freescale/mpc8313erdb/Kconfig"
335source "board/freescale/mpc8315erdb/Kconfig"
336source "board/freescale/mpc8323erdb/Kconfig"
337source "board/freescale/mpc832xemds/Kconfig"
338source "board/freescale/mpc8349emds/Kconfig"
339source "board/freescale/mpc8349itx/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900340source "board/freescale/mpc837xemds/Kconfig"
341source "board/freescale/mpc837xerdb/Kconfig"
342source "board/ids/ids8313/Kconfig"
Pascal Linder305329f2019-06-18 13:27:47 +0200343source "board/keymile/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900344source "board/mpc8308_p1m/Kconfig"
345source "board/sbc8349/Kconfig"
346source "board/tqc/tqm834x/Kconfig"
347source "board/ve8313/Kconfig"
Dirk Eibachf74a0272014-11-13 19:21:18 +0100348source "board/gdsys/mpc8308/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900349
350endmenu