blob: ff85834c460c075d55fa93bd130419a56793c4ae [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
Mario Six7299dec2019-01-21 09:17:36 +010031config TARGET_MPC8313ERDB_NOR
32 bool "Support MPC8313ERDB_NOR"
33 select ARCH_MPC8313
34 select BOARD_EARLY_INIT_F
35 select SUPPORT_SPL
36
37config TARGET_MPC8313ERDB_NAND
38 bool "Support MPC8313ERDB_NAND"
Mario Six9164bdd2019-01-21 09:17:25 +010039 select ARCH_MPC8313
Simon Glass7a99a872017-01-23 13:31:20 -070040 select BOARD_EARLY_INIT_F
Michal Simek84f3dec2018-07-23 15:55:13 +020041 select SUPPORT_SPL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090042
43config TARGET_MPC8315ERDB
44 bool "Support MPC8315ERDB"
Mario Six9164bdd2019-01-21 09:17:25 +010045 select ARCH_MPC8315
Simon Glass7a99a872017-01-23 13:31:20 -070046 select BOARD_EARLY_INIT_F
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090047
48config TARGET_MPC8323ERDB
49 bool "Support MPC8323ERDB"
Mario Sixbe07e552019-01-21 09:17:26 +010050 select ARCH_MPC832X
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090051
52config TARGET_MPC832XEMDS
53 bool "Support MPC832XEMDS"
Mario Sixbe07e552019-01-21 09:17:26 +010054 select ARCH_MPC832X
Simon Glass7a99a872017-01-23 13:31:20 -070055 select BOARD_EARLY_INIT_F
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090056
57config TARGET_MPC8349EMDS
58 bool "Support MPC8349EMDS"
Mario Six0344f5e2019-01-21 09:17:27 +010059 select ARCH_MPC8349
Michal Simek84f3dec2018-07-23 15:55:13 +020060 select BOARD_EARLY_INIT_F
York Sund297d392016-12-28 08:43:40 -080061 select SYS_FSL_DDR
York Sund297d392016-12-28 08:43:40 -080062 select SYS_FSL_DDR_BE
Michal Simek84f3dec2018-07-23 15:55:13 +020063 select SYS_FSL_HAS_DDR2
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090064
Mario Sixde017e12019-01-21 09:17:40 +010065config TARGET_MPC8349EMDS_SDRAM
66 bool "Support MPC8349EMDS_SDRAM"
67 select ARCH_MPC8349
68 select BOARD_EARLY_INIT_F
69 select SYS_FSL_DDR
70 select SYS_FSL_DDR_BE
71 select SYS_FSL_HAS_DDR2
72
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090073config TARGET_MPC837XERDB
74 bool "Support MPC837XERDB"
Mario Six60b11232019-01-21 09:17:29 +010075 select ARCH_MPC837X
Simon Glass7a99a872017-01-23 13:31:20 -070076 select BOARD_EARLY_INIT_F
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090077
78config TARGET_IDS8313
79 bool "Support ids8313"
Mario Six9164bdd2019-01-21 09:17:25 +010080 select ARCH_MPC8313
Masahiro Yamada51995c22015-03-31 12:48:03 +090081 select DM
Michal Simek2e7c8192018-07-23 15:55:14 +020082 imply CMD_DM
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090083
Mario Six92e20d92019-01-21 09:17:35 +010084config TARGET_KMETER1
85 bool "Support kmeter1"
Pascal Linder305329f2019-06-18 13:27:47 +020086 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010087 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six92e20d92019-01-21 09:17:35 +010088
89config TARGET_KMCOGE5NE
90 bool "Support kmcoge5ne"
Pascal Linder305329f2019-06-18 13:27:47 +020091 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010092 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090093
Mario Six5590b152019-01-21 09:17:30 +010094config TARGET_KMTEGR1
95 bool "Support kmtegr1"
Pascal Linder305329f2019-06-18 13:27:47 +020096 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010097 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090098
99config TARGET_TUXX1
100 bool "Support tuxx1"
Pascal Linder305329f2019-06-18 13:27:47 +0200101 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +0100102 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900103
Mario Six190ab402019-01-21 09:17:33 +0100104config TARGET_KMSUPX5
105 bool "Support kmsupx5"
Pascal Linder305329f2019-06-18 13:27:47 +0200106 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +0100107 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six190ab402019-01-21 09:17:33 +0100108
109config TARGET_TUGE1
110 bool "Support tuge1"
Pascal Linder305329f2019-06-18 13:27:47 +0200111 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +0100112 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six190ab402019-01-21 09:17:33 +0100113
114config TARGET_KMOPTI2
115 bool "Support kmopti2"
Pascal Linder305329f2019-06-18 13:27:47 +0200116 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +0100117 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six190ab402019-01-21 09:17:33 +0100118
119config TARGET_KMTEPR2
120 bool "Support kmtepr2"
Pascal Linder305329f2019-06-18 13:27:47 +0200121 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +0100122 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six190ab402019-01-21 09:17:33 +0100123
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900124config TARGET_TQM834X
125 bool "Support TQM834x"
Mario Six0344f5e2019-01-21 09:17:27 +0100126 select ARCH_MPC8349
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900127
Dirk Eibachf74a0272014-11-13 19:21:18 +0100128
Dirk Eibach8fc40842019-03-29 10:18:19 +0100129config TARGET_GAZERBEAM
130 bool "Support gazerbeam"
131 select ARCH_MPC8308
132 select SYS_FSL_ERRATUM_ESDHC111
133 imply ENV_IS_IN_FLASH
134 help
135 The "Gazerbeam" is a modular system by Guntermann & Drunck GmbH
136 Systementwicklung based on the NXP MPC8308 SoC for usage in KVM
137 appliances.
138
139 Features include:
140 * Two gigabit ethernet ports
141 * Multiple USB ports (depending on variant)
142 * Several gigabit ethernet or optical fiber ports (depending on
143 variant)
144 * Several display port inputs and outputs, and supporting redrivers
145 (depending on variant)
146 * Several FPGAs with custom logic (depending on variant)
147
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900148endchoice
149
Mario Six94867102019-01-21 09:17:54 +0100150config MPC83XX_QUICC_ENGINE
151 bool
152
153# TODO: Imply MPC83xx PCI driver
154config MPC83XX_PCI_SUPPORT
155 bool
156
157# TODO: Imply TSEC driver
158config MPC83XX_TSEC1_SUPPORT
159 bool
160
161config MPC83XX_TSEC2_SUPPORT
162 bool
163
164config MPC83XX_PCIE1_SUPPORT
165 bool
166
167config MPC83XX_PCIE2_SUPPORT
168 bool
169
170config MPC83XX_SDHC_SUPPORT
171 bool
172
173config MPC83XX_SATA_SUPPORT
174 bool
175
176config MPC83XX_SECOND_I2C_SUPPORT
177 bool
178
179config MPC83XX_LDP_PIN
180 bool
181
Mario Sixb2e701c2019-01-21 09:17:24 +0100182config ARCH_MPC830X
183 bool
Mario Six94867102019-01-21 09:17:54 +0100184 select MPC83XX_SDHC_SUPPORT
Mario Sixb2e701c2019-01-21 09:17:24 +0100185
186config ARCH_MPC8308
187 bool
188 select ARCH_MPC830X
Mario Six94867102019-01-21 09:17:54 +0100189 select MPC83XX_TSEC1_SUPPORT
190 select MPC83XX_TSEC2_SUPPORT
191 select MPC83XX_PCIE1_SUPPORT
192 select MPC83XX_SECOND_I2C_SUPPORT
Mario Sixb2e701c2019-01-21 09:17:24 +0100193
194config ARCH_MPC8309
195 bool
196 select ARCH_MPC830X
Mario Six94867102019-01-21 09:17:54 +0100197 select MPC83XX_QUICC_ENGINE
198 select MPC83XX_PCI_SUPPORT
199 select MPC83XX_SECOND_I2C_SUPPORT
Rasmus Villemoes676f1012019-12-11 09:39:36 +0000200 select SYS_FSL_ERRATUM_ESDHC111
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000201 select FSL_ELBC
Mario Sixb2e701c2019-01-21 09:17:24 +0100202
Mario Six9164bdd2019-01-21 09:17:25 +0100203config ARCH_MPC831X
204 bool
Mario Six94867102019-01-21 09:17:54 +0100205 select MPC83XX_PCI_SUPPORT
206 select MPC83XX_TSEC1_SUPPORT
207 select MPC83XX_TSEC2_SUPPORT
Mario Six9164bdd2019-01-21 09:17:25 +0100208
209config ARCH_MPC8313
210 bool
211 select ARCH_MPC831X
Mario Six94867102019-01-21 09:17:54 +0100212 select MPC83XX_SECOND_I2C_SUPPORT
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000213 select FSL_ELBC
Mario Six9164bdd2019-01-21 09:17:25 +0100214
215config ARCH_MPC8315
216 bool
217 select ARCH_MPC831X
Mario Six94867102019-01-21 09:17:54 +0100218 select MPC83XX_PCIE1_SUPPORT
219 select MPC83XX_PCIE2_SUPPORT
220 select MPC83XX_SATA_SUPPORT
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000221 select FSL_ELBC
Mario Six9164bdd2019-01-21 09:17:25 +0100222
Mario Sixbe07e552019-01-21 09:17:26 +0100223config ARCH_MPC832X
224 bool
Mario Six94867102019-01-21 09:17:54 +0100225 select MPC83XX_QUICC_ENGINE
226 select MPC83XX_PCI_SUPPORT
Mario Sixbe07e552019-01-21 09:17:26 +0100227
Mario Six0344f5e2019-01-21 09:17:27 +0100228config ARCH_MPC834X
229 bool
230
231config ARCH_MPC8349
232 bool
233 select ARCH_MPC834X
Mario Six94867102019-01-21 09:17:54 +0100234 select MPC83XX_PCI_SUPPORT
235 select MPC83XX_TSEC1_SUPPORT
236 select MPC83XX_TSEC2_SUPPORT
237 select MPC83XX_LDP_PIN
238 select MPC83XX_SECOND_I2C_SUPPORT
Mario Six0344f5e2019-01-21 09:17:27 +0100239
Mario Six84eb4312019-01-21 09:17:28 +0100240config ARCH_MPC8360
241 bool
Mario Six94867102019-01-21 09:17:54 +0100242 select MPC83XX_QUICC_ENGINE
243 select MPC83XX_PCI_SUPPORT
244 select MPC83XX_LDP_PIN
245 select MPC83XX_SECOND_I2C_SUPPORT
Mario Six84eb4312019-01-21 09:17:28 +0100246
Mario Six60b11232019-01-21 09:17:29 +0100247config ARCH_MPC837X
248 bool
Mario Six94867102019-01-21 09:17:54 +0100249 select MPC83XX_PCI_SUPPORT
250 select MPC83XX_TSEC1_SUPPORT
251 select MPC83XX_TSEC2_SUPPORT
252 select MPC83XX_PCIE1_SUPPORT
253 select MPC83XX_PCIE2_SUPPORT
254 select MPC83XX_SDHC_SUPPORT
255 select MPC83XX_SATA_SUPPORT
256 select MPC83XX_LDP_PIN
257 select MPC83XX_SECOND_I2C_SUPPORT
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000258 select FSL_ELBC
Mario Six94867102019-01-21 09:17:54 +0100259
Mario Sixa6c985e2019-01-21 09:18:10 +0100260config SYS_IMMR
261 hex "Value for IMMR"
262 default 0xE0000000
263 help
264 Address for the Internal Memory-Mapped Registers (IMMR) window used
265 to configure the features of the SoC.
266
Mario Six94867102019-01-21 09:17:54 +0100267source "arch/powerpc/cpu/mpc83xx/hrcw/Kconfig"
Mario Sixa861ea62019-01-21 09:17:57 +0100268source "arch/powerpc/cpu/mpc83xx/bats/Kconfig"
Mario Sixb47839c2019-01-21 09:17:58 +0100269source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig"
Mario Six1faf95d2019-01-21 09:18:03 +0100270source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig"
Mario Six8b2141c2019-01-21 09:18:09 +0100271source "arch/powerpc/cpu/mpc83xx/hid/Kconfig"
Mario Six636c1082019-01-21 09:18:11 +0100272source "arch/powerpc/cpu/mpc83xx/sysio/Kconfig"
Mario Sixaa502542019-01-21 09:18:12 +0100273source "arch/powerpc/cpu/mpc83xx/arbiter/Kconfig"
Mario Sixf62074e2019-01-21 09:18:13 +0100274source "arch/powerpc/cpu/mpc83xx/initreg/Kconfig"
Mario Six60b11232019-01-21 09:17:29 +0100275
Mario Six258312f2019-01-21 09:17:51 +0100276menu "Legacy options"
277
278if ARCH_MPC8349
279
280#TODO(mario.six@gdsys.cc): Remove when mpc83xx PCI has been converted to DM/DT
281choice
282 prompt "PMC slot configuration"
283
284config PCI_ALL_PCI1
285 bool "All PMC slots on PCI1"
286
287config PCI_ONE_PCI1
288 bool "First PMC1 on PCI1"
289
290config PCI_TWO_PCI1
291 bool "First two PMC1 on PCI1"
292
293endchoice
294
295config PCI_64BIT
296 bool "PMC2 is 64bit"
297
298endif
299
300endmenu
301
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000302config FSL_ELBC
303 bool
304
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900305source "board/esd/vme8349/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900306source "board/freescale/mpc8313erdb/Kconfig"
307source "board/freescale/mpc8315erdb/Kconfig"
308source "board/freescale/mpc8323erdb/Kconfig"
309source "board/freescale/mpc832xemds/Kconfig"
310source "board/freescale/mpc8349emds/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900311source "board/freescale/mpc837xerdb/Kconfig"
312source "board/ids/ids8313/Kconfig"
Pascal Linder305329f2019-06-18 13:27:47 +0200313source "board/keymile/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900314source "board/mpc8308_p1m/Kconfig"
315source "board/sbc8349/Kconfig"
316source "board/tqc/tqm834x/Kconfig"
317source "board/ve8313/Kconfig"
Dirk Eibachf74a0272014-11-13 19:21:18 +0100318source "board/gdsys/mpc8308/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900319
320endmenu