blob: 7c922b230964a386a71e7b8cd4cf42b2675cb4cf [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
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090011config TARGET_MPC8349EMDS
12 bool "Support MPC8349EMDS"
Mario Six0344f5e2019-01-21 09:17:27 +010013 select ARCH_MPC8349
Michal Simek84f3dec2018-07-23 15:55:13 +020014 select BOARD_EARLY_INIT_F
York Sund297d392016-12-28 08:43:40 -080015 select SYS_FSL_DDR
York Sund297d392016-12-28 08:43:40 -080016 select SYS_FSL_DDR_BE
Michal Simek84f3dec2018-07-23 15:55:13 +020017 select SYS_FSL_HAS_DDR2
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090018
Mario Sixde017e12019-01-21 09:17:40 +010019config TARGET_MPC8349EMDS_SDRAM
20 bool "Support MPC8349EMDS_SDRAM"
21 select ARCH_MPC8349
22 select BOARD_EARLY_INIT_F
23 select SYS_FSL_DDR
24 select SYS_FSL_DDR_BE
25 select SYS_FSL_HAS_DDR2
26
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090027config TARGET_MPC837XERDB
28 bool "Support MPC837XERDB"
Mario Six60b11232019-01-21 09:17:29 +010029 select ARCH_MPC837X
Simon Glass7a99a872017-01-23 13:31:20 -070030 select BOARD_EARLY_INIT_F
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090031
32config TARGET_IDS8313
33 bool "Support ids8313"
Mario Six9164bdd2019-01-21 09:17:25 +010034 select ARCH_MPC8313
Masahiro Yamada51995c22015-03-31 12:48:03 +090035 select DM
Michal Simek2e7c8192018-07-23 15:55:14 +020036 imply CMD_DM
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090037
Mario Six92e20d92019-01-21 09:17:35 +010038config TARGET_KMETER1
39 bool "Support kmeter1"
Pascal Linder305329f2019-06-18 13:27:47 +020040 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010041 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six92e20d92019-01-21 09:17:35 +010042
43config TARGET_KMCOGE5NE
44 bool "Support kmcoge5ne"
Pascal Linder305329f2019-06-18 13:27:47 +020045 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010046 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090047
Mario Six5590b152019-01-21 09:17:30 +010048config TARGET_KMTEGR1
49 bool "Support kmtegr1"
Pascal Linder305329f2019-06-18 13:27:47 +020050 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010051 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090052
53config TARGET_TUXX1
54 bool "Support tuxx1"
Pascal Linder305329f2019-06-18 13:27:47 +020055 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010056 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090057
Mario Six190ab402019-01-21 09:17:33 +010058config TARGET_KMSUPX5
59 bool "Support kmsupx5"
Pascal Linder305329f2019-06-18 13:27:47 +020060 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010061 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six190ab402019-01-21 09:17:33 +010062
63config TARGET_TUGE1
64 bool "Support tuge1"
Pascal Linder305329f2019-06-18 13:27:47 +020065 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010066 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six190ab402019-01-21 09:17:33 +010067
68config TARGET_KMOPTI2
69 bool "Support kmopti2"
Pascal Linder305329f2019-06-18 13:27:47 +020070 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010071 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six190ab402019-01-21 09:17:33 +010072
73config TARGET_KMTEPR2
74 bool "Support kmtepr2"
Pascal Linder305329f2019-06-18 13:27:47 +020075 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010076 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six190ab402019-01-21 09:17:33 +010077
Dirk Eibach8fc40842019-03-29 10:18:19 +010078config TARGET_GAZERBEAM
79 bool "Support gazerbeam"
80 select ARCH_MPC8308
81 select SYS_FSL_ERRATUM_ESDHC111
82 imply ENV_IS_IN_FLASH
83 help
84 The "Gazerbeam" is a modular system by Guntermann & Drunck GmbH
85 Systementwicklung based on the NXP MPC8308 SoC for usage in KVM
86 appliances.
87
88 Features include:
89 * Two gigabit ethernet ports
90 * Multiple USB ports (depending on variant)
91 * Several gigabit ethernet or optical fiber ports (depending on
92 variant)
93 * Several display port inputs and outputs, and supporting redrivers
94 (depending on variant)
95 * Several FPGAs with custom logic (depending on variant)
96
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090097endchoice
98
Mario Six94867102019-01-21 09:17:54 +010099config MPC83XX_QUICC_ENGINE
100 bool
101
102# TODO: Imply MPC83xx PCI driver
103config MPC83XX_PCI_SUPPORT
104 bool
105
106# TODO: Imply TSEC driver
107config MPC83XX_TSEC1_SUPPORT
108 bool
109
110config MPC83XX_TSEC2_SUPPORT
111 bool
112
113config MPC83XX_PCIE1_SUPPORT
114 bool
115
116config MPC83XX_PCIE2_SUPPORT
117 bool
118
119config MPC83XX_SDHC_SUPPORT
120 bool
121
122config MPC83XX_SATA_SUPPORT
123 bool
124
Simon Glassbccfc2e2021-07-10 21:14:36 -0600125config MPC83XX_SECOND_I2C
Mario Six94867102019-01-21 09:17:54 +0100126 bool
127
128config MPC83XX_LDP_PIN
129 bool
130
Mario Sixb2e701c2019-01-21 09:17:24 +0100131config ARCH_MPC830X
132 bool
Mario Six94867102019-01-21 09:17:54 +0100133 select MPC83XX_SDHC_SUPPORT
Tom Rini3ef67ae2021-08-26 11:47:59 -0400134 select SYS_CACHE_SHIFT_5
Mario Sixb2e701c2019-01-21 09:17:24 +0100135
136config ARCH_MPC8308
137 bool
138 select ARCH_MPC830X
Mario Six94867102019-01-21 09:17:54 +0100139 select MPC83XX_TSEC1_SUPPORT
140 select MPC83XX_TSEC2_SUPPORT
141 select MPC83XX_PCIE1_SUPPORT
Simon Glassbccfc2e2021-07-10 21:14:36 -0600142 select MPC83XX_SECOND_I2C
Mario Sixb2e701c2019-01-21 09:17:24 +0100143
144config ARCH_MPC8309
145 bool
146 select ARCH_MPC830X
Mario Six94867102019-01-21 09:17:54 +0100147 select MPC83XX_QUICC_ENGINE
148 select MPC83XX_PCI_SUPPORT
Simon Glassbccfc2e2021-07-10 21:14:36 -0600149 select MPC83XX_SECOND_I2C
Rasmus Villemoes676f1012019-12-11 09:39:36 +0000150 select SYS_FSL_ERRATUM_ESDHC111
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000151 select FSL_ELBC
Mario Sixb2e701c2019-01-21 09:17:24 +0100152
Mario Six9164bdd2019-01-21 09:17:25 +0100153config ARCH_MPC831X
154 bool
Mario Six94867102019-01-21 09:17:54 +0100155 select MPC83XX_PCI_SUPPORT
156 select MPC83XX_TSEC1_SUPPORT
157 select MPC83XX_TSEC2_SUPPORT
Tom Rini3ef67ae2021-08-26 11:47:59 -0400158 select SYS_CACHE_SHIFT_5
Mario Six9164bdd2019-01-21 09:17:25 +0100159
160config ARCH_MPC8313
161 bool
162 select ARCH_MPC831X
Simon Glassbccfc2e2021-07-10 21:14:36 -0600163 select MPC83XX_SECOND_I2C
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000164 select FSL_ELBC
Mario Six9164bdd2019-01-21 09:17:25 +0100165
Mario Sixbe07e552019-01-21 09:17:26 +0100166config ARCH_MPC832X
167 bool
Mario Six94867102019-01-21 09:17:54 +0100168 select MPC83XX_QUICC_ENGINE
169 select MPC83XX_PCI_SUPPORT
Tom Rini3ef67ae2021-08-26 11:47:59 -0400170 select SYS_CACHE_SHIFT_5
Mario Sixbe07e552019-01-21 09:17:26 +0100171
Mario Six0344f5e2019-01-21 09:17:27 +0100172config ARCH_MPC834X
173 bool
Tom Rini3ef67ae2021-08-26 11:47:59 -0400174 select SYS_CACHE_SHIFT_5
Mario Six0344f5e2019-01-21 09:17:27 +0100175
176config ARCH_MPC8349
177 bool
178 select ARCH_MPC834X
Mario Six94867102019-01-21 09:17:54 +0100179 select MPC83XX_PCI_SUPPORT
180 select MPC83XX_TSEC1_SUPPORT
181 select MPC83XX_TSEC2_SUPPORT
182 select MPC83XX_LDP_PIN
Simon Glassbccfc2e2021-07-10 21:14:36 -0600183 select MPC83XX_SECOND_I2C
Mario Six0344f5e2019-01-21 09:17:27 +0100184
Mario Six84eb4312019-01-21 09:17:28 +0100185config ARCH_MPC8360
186 bool
Mario Six94867102019-01-21 09:17:54 +0100187 select MPC83XX_QUICC_ENGINE
188 select MPC83XX_PCI_SUPPORT
189 select MPC83XX_LDP_PIN
Simon Glassbccfc2e2021-07-10 21:14:36 -0600190 select MPC83XX_SECOND_I2C
Tom Rini3ef67ae2021-08-26 11:47:59 -0400191 select SYS_CACHE_SHIFT_5
Mario Six84eb4312019-01-21 09:17:28 +0100192
Mario Six60b11232019-01-21 09:17:29 +0100193config ARCH_MPC837X
194 bool
Mario Six94867102019-01-21 09:17:54 +0100195 select MPC83XX_PCI_SUPPORT
196 select MPC83XX_TSEC1_SUPPORT
197 select MPC83XX_TSEC2_SUPPORT
198 select MPC83XX_PCIE1_SUPPORT
199 select MPC83XX_PCIE2_SUPPORT
200 select MPC83XX_SDHC_SUPPORT
201 select MPC83XX_SATA_SUPPORT
202 select MPC83XX_LDP_PIN
Simon Glassbccfc2e2021-07-10 21:14:36 -0600203 select MPC83XX_SECOND_I2C
Tom Rini3ef67ae2021-08-26 11:47:59 -0400204 select SYS_CACHE_SHIFT_5
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000205 select FSL_ELBC
Mario Six94867102019-01-21 09:17:54 +0100206
Mario Sixa6c985e2019-01-21 09:18:10 +0100207config SYS_IMMR
208 hex "Value for IMMR"
209 default 0xE0000000
210 help
211 Address for the Internal Memory-Mapped Registers (IMMR) window used
212 to configure the features of the SoC.
213
Mario Six94867102019-01-21 09:17:54 +0100214source "arch/powerpc/cpu/mpc83xx/hrcw/Kconfig"
Mario Sixa861ea62019-01-21 09:17:57 +0100215source "arch/powerpc/cpu/mpc83xx/bats/Kconfig"
Mario Sixb47839c2019-01-21 09:17:58 +0100216source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig"
Mario Six1faf95d2019-01-21 09:18:03 +0100217source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig"
Mario Six8b2141c2019-01-21 09:18:09 +0100218source "arch/powerpc/cpu/mpc83xx/hid/Kconfig"
Mario Six636c1082019-01-21 09:18:11 +0100219source "arch/powerpc/cpu/mpc83xx/sysio/Kconfig"
Mario Sixaa502542019-01-21 09:18:12 +0100220source "arch/powerpc/cpu/mpc83xx/arbiter/Kconfig"
Mario Sixf62074e2019-01-21 09:18:13 +0100221source "arch/powerpc/cpu/mpc83xx/initreg/Kconfig"
Mario Six60b11232019-01-21 09:17:29 +0100222
Mario Six258312f2019-01-21 09:17:51 +0100223menu "Legacy options"
224
225if ARCH_MPC8349
226
227#TODO(mario.six@gdsys.cc): Remove when mpc83xx PCI has been converted to DM/DT
228choice
229 prompt "PMC slot configuration"
230
231config PCI_ALL_PCI1
232 bool "All PMC slots on PCI1"
233
234config PCI_ONE_PCI1
235 bool "First PMC1 on PCI1"
236
237config PCI_TWO_PCI1
238 bool "First two PMC1 on PCI1"
239
240endchoice
241
242config PCI_64BIT
243 bool "PMC2 is 64bit"
244
245endif
246
247endmenu
248
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000249config FSL_ELBC
250 bool
251
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900252source "board/freescale/mpc8349emds/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900253source "board/freescale/mpc837xerdb/Kconfig"
254source "board/ids/ids8313/Kconfig"
Pascal Linder305329f2019-06-18 13:27:47 +0200255source "board/keymile/Kconfig"
Dirk Eibachf74a0272014-11-13 19:21:18 +0100256source "board/gdsys/mpc8308/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900257
258endmenu