blob: 083febe5bb3dea0478abc153041d7efb0e34efe1 [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
Mario Sixb2e701c2019-01-21 09:17:24 +0100134
135config ARCH_MPC8308
136 bool
137 select ARCH_MPC830X
Mario Six94867102019-01-21 09:17:54 +0100138 select MPC83XX_TSEC1_SUPPORT
139 select MPC83XX_TSEC2_SUPPORT
140 select MPC83XX_PCIE1_SUPPORT
Simon Glassbccfc2e2021-07-10 21:14:36 -0600141 select MPC83XX_SECOND_I2C
Mario Sixb2e701c2019-01-21 09:17:24 +0100142
143config ARCH_MPC8309
144 bool
145 select ARCH_MPC830X
Mario Six94867102019-01-21 09:17:54 +0100146 select MPC83XX_QUICC_ENGINE
147 select MPC83XX_PCI_SUPPORT
Simon Glassbccfc2e2021-07-10 21:14:36 -0600148 select MPC83XX_SECOND_I2C
Rasmus Villemoes676f1012019-12-11 09:39:36 +0000149 select SYS_FSL_ERRATUM_ESDHC111
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000150 select FSL_ELBC
Mario Sixb2e701c2019-01-21 09:17:24 +0100151
Mario Six9164bdd2019-01-21 09:17:25 +0100152config ARCH_MPC831X
153 bool
Mario Six94867102019-01-21 09:17:54 +0100154 select MPC83XX_PCI_SUPPORT
155 select MPC83XX_TSEC1_SUPPORT
156 select MPC83XX_TSEC2_SUPPORT
Mario Six9164bdd2019-01-21 09:17:25 +0100157
158config ARCH_MPC8313
159 bool
160 select ARCH_MPC831X
Simon Glassbccfc2e2021-07-10 21:14:36 -0600161 select MPC83XX_SECOND_I2C
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000162 select FSL_ELBC
Mario Six9164bdd2019-01-21 09:17:25 +0100163
Mario Sixbe07e552019-01-21 09:17:26 +0100164config ARCH_MPC832X
165 bool
Mario Six94867102019-01-21 09:17:54 +0100166 select MPC83XX_QUICC_ENGINE
167 select MPC83XX_PCI_SUPPORT
Mario Sixbe07e552019-01-21 09:17:26 +0100168
Mario Six0344f5e2019-01-21 09:17:27 +0100169config ARCH_MPC834X
170 bool
171
172config ARCH_MPC8349
173 bool
174 select ARCH_MPC834X
Mario Six94867102019-01-21 09:17:54 +0100175 select MPC83XX_PCI_SUPPORT
176 select MPC83XX_TSEC1_SUPPORT
177 select MPC83XX_TSEC2_SUPPORT
178 select MPC83XX_LDP_PIN
Simon Glassbccfc2e2021-07-10 21:14:36 -0600179 select MPC83XX_SECOND_I2C
Mario Six0344f5e2019-01-21 09:17:27 +0100180
Mario Six84eb4312019-01-21 09:17:28 +0100181config ARCH_MPC8360
182 bool
Mario Six94867102019-01-21 09:17:54 +0100183 select MPC83XX_QUICC_ENGINE
184 select MPC83XX_PCI_SUPPORT
185 select MPC83XX_LDP_PIN
Simon Glassbccfc2e2021-07-10 21:14:36 -0600186 select MPC83XX_SECOND_I2C
Mario Six84eb4312019-01-21 09:17:28 +0100187
Mario Six60b11232019-01-21 09:17:29 +0100188config ARCH_MPC837X
189 bool
Mario Six94867102019-01-21 09:17:54 +0100190 select MPC83XX_PCI_SUPPORT
191 select MPC83XX_TSEC1_SUPPORT
192 select MPC83XX_TSEC2_SUPPORT
193 select MPC83XX_PCIE1_SUPPORT
194 select MPC83XX_PCIE2_SUPPORT
195 select MPC83XX_SDHC_SUPPORT
196 select MPC83XX_SATA_SUPPORT
197 select MPC83XX_LDP_PIN
Simon Glassbccfc2e2021-07-10 21:14:36 -0600198 select MPC83XX_SECOND_I2C
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000199 select FSL_ELBC
Mario Six94867102019-01-21 09:17:54 +0100200
Mario Sixa6c985e2019-01-21 09:18:10 +0100201config SYS_IMMR
202 hex "Value for IMMR"
203 default 0xE0000000
204 help
205 Address for the Internal Memory-Mapped Registers (IMMR) window used
206 to configure the features of the SoC.
207
Mario Six94867102019-01-21 09:17:54 +0100208source "arch/powerpc/cpu/mpc83xx/hrcw/Kconfig"
Mario Sixa861ea62019-01-21 09:17:57 +0100209source "arch/powerpc/cpu/mpc83xx/bats/Kconfig"
Mario Sixb47839c2019-01-21 09:17:58 +0100210source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig"
Mario Six1faf95d2019-01-21 09:18:03 +0100211source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig"
Mario Six8b2141c2019-01-21 09:18:09 +0100212source "arch/powerpc/cpu/mpc83xx/hid/Kconfig"
Mario Six636c1082019-01-21 09:18:11 +0100213source "arch/powerpc/cpu/mpc83xx/sysio/Kconfig"
Mario Sixaa502542019-01-21 09:18:12 +0100214source "arch/powerpc/cpu/mpc83xx/arbiter/Kconfig"
Mario Sixf62074e2019-01-21 09:18:13 +0100215source "arch/powerpc/cpu/mpc83xx/initreg/Kconfig"
Mario Six60b11232019-01-21 09:17:29 +0100216
Mario Six258312f2019-01-21 09:17:51 +0100217menu "Legacy options"
218
219if ARCH_MPC8349
220
221#TODO(mario.six@gdsys.cc): Remove when mpc83xx PCI has been converted to DM/DT
222choice
223 prompt "PMC slot configuration"
224
225config PCI_ALL_PCI1
226 bool "All PMC slots on PCI1"
227
228config PCI_ONE_PCI1
229 bool "First PMC1 on PCI1"
230
231config PCI_TWO_PCI1
232 bool "First two PMC1 on PCI1"
233
234endchoice
235
236config PCI_64BIT
237 bool "PMC2 is 64bit"
238
239endif
240
241endmenu
242
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000243config FSL_ELBC
244 bool
245
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900246source "board/freescale/mpc8349emds/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900247source "board/freescale/mpc837xerdb/Kconfig"
248source "board/ids/ids8313/Kconfig"
Pascal Linder305329f2019-06-18 13:27:47 +0200249source "board/keymile/Kconfig"
Dirk Eibachf74a0272014-11-13 19:21:18 +0100250source "board/gdsys/mpc8308/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900251
252endmenu