blob: 18808da37dd57535e99bdd03c243f64f0bfebc4f [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
Mario Six5590b152019-01-21 09:17:30 +0100109config TARGET_KMTEGR1
110 bool "Support kmtegr1"
Pascal Linder305329f2019-06-18 13:27:47 +0200111 select VENDOR_KM
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900112
113config TARGET_TUXX1
114 bool "Support tuxx1"
Pascal Linder305329f2019-06-18 13:27:47 +0200115 select VENDOR_KM
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900116
Mario Six190ab402019-01-21 09:17:33 +0100117config TARGET_KMSUPX5
118 bool "Support kmsupx5"
Pascal Linder305329f2019-06-18 13:27:47 +0200119 select VENDOR_KM
Mario Six190ab402019-01-21 09:17:33 +0100120
121config TARGET_TUGE1
122 bool "Support tuge1"
Pascal Linder305329f2019-06-18 13:27:47 +0200123 select VENDOR_KM
Mario Six190ab402019-01-21 09:17:33 +0100124
125config TARGET_KMOPTI2
126 bool "Support kmopti2"
Pascal Linder305329f2019-06-18 13:27:47 +0200127 select VENDOR_KM
Mario Six190ab402019-01-21 09:17:33 +0100128
129config TARGET_KMTEPR2
130 bool "Support kmtepr2"
Pascal Linder305329f2019-06-18 13:27:47 +0200131 select VENDOR_KM
Mario Six190ab402019-01-21 09:17:33 +0100132
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900133config TARGET_TQM834X
134 bool "Support TQM834x"
Mario Six0344f5e2019-01-21 09:17:27 +0100135 select ARCH_MPC8349
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900136
Dirk Eibachf74a0272014-11-13 19:21:18 +0100137config TARGET_HRCON
138 bool "Support hrcon"
Mario Sixb2e701c2019-01-21 09:17:24 +0100139 select ARCH_MPC8308
York Sun097e3602016-12-28 08:43:42 -0800140 select SYS_FSL_ERRATUM_ESDHC111
Dirk Eibachf74a0272014-11-13 19:21:18 +0100141
Dirk Eibachb355f172015-10-28 11:46:32 +0100142config TARGET_STRIDER
143 bool "Support strider"
Mario Sixb2e701c2019-01-21 09:17:24 +0100144 select ARCH_MPC8308
York Sun097e3602016-12-28 08:43:42 -0800145 select SYS_FSL_ERRATUM_ESDHC111
Simon Glassa9e7f2c2017-08-04 16:34:32 -0600146 imply CMD_PCA953X
Dirk Eibachb355f172015-10-28 11:46:32 +0100147
Dirk Eibach8fc40842019-03-29 10:18:19 +0100148config TARGET_GAZERBEAM
149 bool "Support gazerbeam"
150 select ARCH_MPC8308
151 select SYS_FSL_ERRATUM_ESDHC111
152 imply ENV_IS_IN_FLASH
153 help
154 The "Gazerbeam" is a modular system by Guntermann & Drunck GmbH
155 Systementwicklung based on the NXP MPC8308 SoC for usage in KVM
156 appliances.
157
158 Features include:
159 * Two gigabit ethernet ports
160 * Multiple USB ports (depending on variant)
161 * Several gigabit ethernet or optical fiber ports (depending on
162 variant)
163 * Several display port inputs and outputs, and supporting redrivers
164 (depending on variant)
165 * Several FPGAs with custom logic (depending on variant)
166
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900167endchoice
168
Mario Six94867102019-01-21 09:17:54 +0100169config MPC83XX_QUICC_ENGINE
170 bool
171
172# TODO: Imply MPC83xx PCI driver
173config MPC83XX_PCI_SUPPORT
174 bool
175
176# TODO: Imply TSEC driver
177config MPC83XX_TSEC1_SUPPORT
178 bool
179
180config MPC83XX_TSEC2_SUPPORT
181 bool
182
183config MPC83XX_PCIE1_SUPPORT
184 bool
185
186config MPC83XX_PCIE2_SUPPORT
187 bool
188
189config MPC83XX_SDHC_SUPPORT
190 bool
191
192config MPC83XX_SATA_SUPPORT
193 bool
194
195config MPC83XX_SECOND_I2C_SUPPORT
196 bool
197
198config MPC83XX_LDP_PIN
199 bool
200
Mario Sixb2e701c2019-01-21 09:17:24 +0100201config ARCH_MPC830X
202 bool
Mario Six94867102019-01-21 09:17:54 +0100203 select MPC83XX_SDHC_SUPPORT
Mario Sixb2e701c2019-01-21 09:17:24 +0100204
205config ARCH_MPC8308
206 bool
207 select ARCH_MPC830X
Mario Six94867102019-01-21 09:17:54 +0100208 select MPC83XX_TSEC1_SUPPORT
209 select MPC83XX_TSEC2_SUPPORT
210 select MPC83XX_PCIE1_SUPPORT
211 select MPC83XX_SECOND_I2C_SUPPORT
Mario Sixb2e701c2019-01-21 09:17:24 +0100212
213config ARCH_MPC8309
214 bool
215 select ARCH_MPC830X
Mario Six94867102019-01-21 09:17:54 +0100216 select MPC83XX_QUICC_ENGINE
217 select MPC83XX_PCI_SUPPORT
218 select MPC83XX_SECOND_I2C_SUPPORT
Rasmus Villemoes676f1012019-12-11 09:39:36 +0000219 select SYS_FSL_ERRATUM_ESDHC111
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000220 select FSL_ELBC
Mario Sixb2e701c2019-01-21 09:17:24 +0100221
Mario Six9164bdd2019-01-21 09:17:25 +0100222config ARCH_MPC831X
223 bool
Mario Six94867102019-01-21 09:17:54 +0100224 select MPC83XX_PCI_SUPPORT
225 select MPC83XX_TSEC1_SUPPORT
226 select MPC83XX_TSEC2_SUPPORT
Mario Six9164bdd2019-01-21 09:17:25 +0100227
228config ARCH_MPC8313
229 bool
230 select ARCH_MPC831X
Mario Six94867102019-01-21 09:17:54 +0100231 select MPC83XX_SECOND_I2C_SUPPORT
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000232 select FSL_ELBC
Mario Six9164bdd2019-01-21 09:17:25 +0100233
234config ARCH_MPC8315
235 bool
236 select ARCH_MPC831X
Mario Six94867102019-01-21 09:17:54 +0100237 select MPC83XX_PCIE1_SUPPORT
238 select MPC83XX_PCIE2_SUPPORT
239 select MPC83XX_SATA_SUPPORT
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000240 select FSL_ELBC
Mario Six9164bdd2019-01-21 09:17:25 +0100241
Mario Sixbe07e552019-01-21 09:17:26 +0100242config ARCH_MPC832X
243 bool
Mario Six94867102019-01-21 09:17:54 +0100244 select MPC83XX_QUICC_ENGINE
245 select MPC83XX_PCI_SUPPORT
Mario Sixbe07e552019-01-21 09:17:26 +0100246
Mario Six0344f5e2019-01-21 09:17:27 +0100247config ARCH_MPC834X
248 bool
249
250config ARCH_MPC8349
251 bool
252 select ARCH_MPC834X
Mario Six94867102019-01-21 09:17:54 +0100253 select MPC83XX_PCI_SUPPORT
254 select MPC83XX_TSEC1_SUPPORT
255 select MPC83XX_TSEC2_SUPPORT
256 select MPC83XX_LDP_PIN
257 select MPC83XX_SECOND_I2C_SUPPORT
Mario Six0344f5e2019-01-21 09:17:27 +0100258
Mario Six84eb4312019-01-21 09:17:28 +0100259config ARCH_MPC8360
260 bool
Mario Six94867102019-01-21 09:17:54 +0100261 select MPC83XX_QUICC_ENGINE
262 select MPC83XX_PCI_SUPPORT
263 select MPC83XX_LDP_PIN
264 select MPC83XX_SECOND_I2C_SUPPORT
Mario Six84eb4312019-01-21 09:17:28 +0100265
Mario Six60b11232019-01-21 09:17:29 +0100266config ARCH_MPC837X
267 bool
Mario Six94867102019-01-21 09:17:54 +0100268 select MPC83XX_PCI_SUPPORT
269 select MPC83XX_TSEC1_SUPPORT
270 select MPC83XX_TSEC2_SUPPORT
271 select MPC83XX_PCIE1_SUPPORT
272 select MPC83XX_PCIE2_SUPPORT
273 select MPC83XX_SDHC_SUPPORT
274 select MPC83XX_SATA_SUPPORT
275 select MPC83XX_LDP_PIN
276 select MPC83XX_SECOND_I2C_SUPPORT
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000277 select FSL_ELBC
Mario Six94867102019-01-21 09:17:54 +0100278
Mario Sixa6c985e2019-01-21 09:18:10 +0100279config SYS_IMMR
280 hex "Value for IMMR"
281 default 0xE0000000
282 help
283 Address for the Internal Memory-Mapped Registers (IMMR) window used
284 to configure the features of the SoC.
285
Mario Six94867102019-01-21 09:17:54 +0100286source "arch/powerpc/cpu/mpc83xx/hrcw/Kconfig"
Mario Sixa861ea62019-01-21 09:17:57 +0100287source "arch/powerpc/cpu/mpc83xx/bats/Kconfig"
Mario Sixb47839c2019-01-21 09:17:58 +0100288source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig"
Mario Six1faf95d2019-01-21 09:18:03 +0100289source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig"
Mario Six8b2141c2019-01-21 09:18:09 +0100290source "arch/powerpc/cpu/mpc83xx/hid/Kconfig"
Mario Six636c1082019-01-21 09:18:11 +0100291source "arch/powerpc/cpu/mpc83xx/sysio/Kconfig"
Mario Sixaa502542019-01-21 09:18:12 +0100292source "arch/powerpc/cpu/mpc83xx/arbiter/Kconfig"
Mario Sixf62074e2019-01-21 09:18:13 +0100293source "arch/powerpc/cpu/mpc83xx/initreg/Kconfig"
Mario Six60b11232019-01-21 09:17:29 +0100294
Mario Six258312f2019-01-21 09:17:51 +0100295menu "Legacy options"
296
297if ARCH_MPC8349
298
299#TODO(mario.six@gdsys.cc): Remove when mpc83xx PCI has been converted to DM/DT
300choice
301 prompt "PMC slot configuration"
302
303config PCI_ALL_PCI1
304 bool "All PMC slots on PCI1"
305
306config PCI_ONE_PCI1
307 bool "First PMC1 on PCI1"
308
309config PCI_TWO_PCI1
310 bool "First two PMC1 on PCI1"
311
312endchoice
313
314config PCI_64BIT
315 bool "PMC2 is 64bit"
316
317endif
318
319endmenu
320
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000321config FSL_ELBC
322 bool
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