blob: d1b9ae4c3c9228c688d7912fd922b4a83009f99a [file] [log] [blame]
Masahiro Yamadadd840582014-07-30 14:08:14 +09001menu "mpc83xx CPU"
2 depends on MPC83xx
3
Tom Rini1d2893d2022-03-30 18:07:29 -04004config DEFAULT_IMMR
5 hex
6 default 0xFF400000
7
Tom Rinif2428ac2022-03-24 17:18:01 -04008config E300
9 def_bool y
10
Masahiro Yamadadd840582014-07-30 14:08:14 +090011config SYS_CPU
Masahiro Yamadadd840582014-07-30 14:08:14 +090012 default "mpc83xx"
13
14choice
15 prompt "Target select"
Joe Hershbergera26cd042015-05-12 14:46:23 -050016 optional
Masahiro Yamadadd840582014-07-30 14:08:14 +090017
Masahiro Yamadadd840582014-07-30 14:08:14 +090018config TARGET_MPC837XERDB
19 bool "Support MPC837XERDB"
Mario Six8439e992019-01-21 09:17:29 +010020 select ARCH_MPC837X
Simon Glassa5d67542017-01-23 13:31:20 -070021 select BOARD_EARLY_INIT_F
Masahiro Yamadadd840582014-07-30 14:08:14 +090022
23config TARGET_IDS8313
24 bool "Support ids8313"
Mario Six9403fc42019-01-21 09:17:25 +010025 select ARCH_MPC8313
Masahiro Yamada2ea4cfde2015-03-31 12:48:03 +090026 select DM
Michal Simek08a00cb2018-07-23 15:55:14 +020027 imply CMD_DM
Masahiro Yamadadd840582014-07-30 14:08:14 +090028
Mario Six009c87a2019-01-21 09:17:35 +010029config TARGET_KMETER1
30 bool "Support kmeter1"
Pascal Linderc0fed3a2019-06-18 13:27:47 +020031 select VENDOR_KM
Heiko Schocher7bdfe852020-02-03 07:43:57 +010032 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six009c87a2019-01-21 09:17:35 +010033
34config TARGET_KMCOGE5NE
35 bool "Support kmcoge5ne"
Pascal Linderc0fed3a2019-06-18 13:27:47 +020036 select VENDOR_KM
Heiko Schocher7bdfe852020-02-03 07:43:57 +010037 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadadd840582014-07-30 14:08:14 +090038
Mario Six0e0674f2019-01-21 09:17:30 +010039config TARGET_KMTEGR1
40 bool "Support kmtegr1"
Pascal Linderc0fed3a2019-06-18 13:27:47 +020041 select VENDOR_KM
Heiko Schocher7bdfe852020-02-03 07:43:57 +010042 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadadd840582014-07-30 14:08:14 +090043
44config TARGET_TUXX1
45 bool "Support tuxx1"
Pascal Linderc0fed3a2019-06-18 13:27:47 +020046 select VENDOR_KM
Heiko Schocher7bdfe852020-02-03 07:43:57 +010047 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadadd840582014-07-30 14:08:14 +090048
Mario Six71c79002019-01-21 09:17:33 +010049config TARGET_KMSUPX5
50 bool "Support kmsupx5"
Pascal Linderc0fed3a2019-06-18 13:27:47 +020051 select VENDOR_KM
Heiko Schocher7bdfe852020-02-03 07:43:57 +010052 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six71c79002019-01-21 09:17:33 +010053
54config TARGET_TUGE1
55 bool "Support tuge1"
Pascal Linderc0fed3a2019-06-18 13:27:47 +020056 select VENDOR_KM
Heiko Schocher7bdfe852020-02-03 07:43:57 +010057 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six71c79002019-01-21 09:17:33 +010058
59config TARGET_KMOPTI2
60 bool "Support kmopti2"
Pascal Linderc0fed3a2019-06-18 13:27:47 +020061 select VENDOR_KM
Heiko Schocher7bdfe852020-02-03 07:43:57 +010062 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six71c79002019-01-21 09:17:33 +010063
64config TARGET_KMTEPR2
65 bool "Support kmtepr2"
Pascal Linderc0fed3a2019-06-18 13:27:47 +020066 select VENDOR_KM
Heiko Schocher7bdfe852020-02-03 07:43:57 +010067 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six71c79002019-01-21 09:17:33 +010068
Dirk Eibachd494cdb2019-03-29 10:18:19 +010069config TARGET_GAZERBEAM
70 bool "Support gazerbeam"
71 select ARCH_MPC8308
72 select SYS_FSL_ERRATUM_ESDHC111
73 imply ENV_IS_IN_FLASH
74 help
75 The "Gazerbeam" is a modular system by Guntermann & Drunck GmbH
76 Systementwicklung based on the NXP MPC8308 SoC for usage in KVM
77 appliances.
78
79 Features include:
80 * Two gigabit ethernet ports
81 * Multiple USB ports (depending on variant)
82 * Several gigabit ethernet or optical fiber ports (depending on
83 variant)
84 * Several display port inputs and outputs, and supporting redrivers
85 (depending on variant)
86 * Several FPGAs with custom logic (depending on variant)
87
Masahiro Yamadadd840582014-07-30 14:08:14 +090088endchoice
89
Mario Six21c15022019-01-21 09:17:54 +010090config MPC83XX_QUICC_ENGINE
91 bool
92
93# TODO: Imply MPC83xx PCI driver
94config MPC83XX_PCI_SUPPORT
95 bool
96
97# TODO: Imply TSEC driver
98config MPC83XX_TSEC1_SUPPORT
99 bool
100
101config MPC83XX_TSEC2_SUPPORT
102 bool
103
104config MPC83XX_PCIE1_SUPPORT
105 bool
106
107config MPC83XX_PCIE2_SUPPORT
108 bool
109
110config MPC83XX_SDHC_SUPPORT
111 bool
112
Simon Glassf7560372021-08-08 12:20:17 -0600113config MPC83XX_SATA
Mario Six21c15022019-01-21 09:17:54 +0100114 bool
115
Simon Glass975e7cf2021-07-10 21:14:36 -0600116config MPC83XX_SECOND_I2C
Mario Six21c15022019-01-21 09:17:54 +0100117 bool
118
119config MPC83XX_LDP_PIN
120 bool
121
Mario Six4bc97a32019-01-21 09:17:24 +0100122config ARCH_MPC830X
123 bool
Mario Six21c15022019-01-21 09:17:54 +0100124 select MPC83XX_SDHC_SUPPORT
Tom Riniab92b382021-08-26 11:47:59 -0400125 select SYS_CACHE_SHIFT_5
Mario Six4bc97a32019-01-21 09:17:24 +0100126
127config ARCH_MPC8308
128 bool
129 select ARCH_MPC830X
Mario Six21c15022019-01-21 09:17:54 +0100130 select MPC83XX_TSEC1_SUPPORT
131 select MPC83XX_TSEC2_SUPPORT
132 select MPC83XX_PCIE1_SUPPORT
Simon Glass975e7cf2021-07-10 21:14:36 -0600133 select MPC83XX_SECOND_I2C
Mario Six4bc97a32019-01-21 09:17:24 +0100134
135config ARCH_MPC8309
136 bool
137 select ARCH_MPC830X
Mario Six21c15022019-01-21 09:17:54 +0100138 select MPC83XX_QUICC_ENGINE
139 select MPC83XX_PCI_SUPPORT
Simon Glass975e7cf2021-07-10 21:14:36 -0600140 select MPC83XX_SECOND_I2C
Rasmus Villemoes392b3852019-12-11 09:39:36 +0000141 select SYS_FSL_ERRATUM_ESDHC111
Rasmus Villemoesa3c1e0e2019-12-12 08:11:46 +0000142 select FSL_ELBC
Mario Six4bc97a32019-01-21 09:17:24 +0100143
Mario Six9403fc42019-01-21 09:17:25 +0100144config ARCH_MPC831X
145 bool
Mario Six21c15022019-01-21 09:17:54 +0100146 select MPC83XX_PCI_SUPPORT
147 select MPC83XX_TSEC1_SUPPORT
148 select MPC83XX_TSEC2_SUPPORT
Tom Riniab92b382021-08-26 11:47:59 -0400149 select SYS_CACHE_SHIFT_5
Mario Six9403fc42019-01-21 09:17:25 +0100150
151config ARCH_MPC8313
152 bool
153 select ARCH_MPC831X
Simon Glass975e7cf2021-07-10 21:14:36 -0600154 select MPC83XX_SECOND_I2C
Rasmus Villemoesa3c1e0e2019-12-12 08:11:46 +0000155 select FSL_ELBC
Mario Six9403fc42019-01-21 09:17:25 +0100156
Mario Sixbd3b8672019-01-21 09:17:26 +0100157config ARCH_MPC832X
158 bool
Mario Six21c15022019-01-21 09:17:54 +0100159 select MPC83XX_QUICC_ENGINE
160 select MPC83XX_PCI_SUPPORT
Tom Riniab92b382021-08-26 11:47:59 -0400161 select SYS_CACHE_SHIFT_5
Mario Sixbd3b8672019-01-21 09:17:26 +0100162
Mario Sixd5cfa4a2019-01-21 09:17:27 +0100163config ARCH_MPC834X
164 bool
Tom Riniab92b382021-08-26 11:47:59 -0400165 select SYS_CACHE_SHIFT_5
Mario Sixd5cfa4a2019-01-21 09:17:27 +0100166
Mario Six61abced2019-01-21 09:17:28 +0100167config ARCH_MPC8360
168 bool
Mario Six21c15022019-01-21 09:17:54 +0100169 select MPC83XX_QUICC_ENGINE
170 select MPC83XX_PCI_SUPPORT
171 select MPC83XX_LDP_PIN
Simon Glass975e7cf2021-07-10 21:14:36 -0600172 select MPC83XX_SECOND_I2C
Tom Riniab92b382021-08-26 11:47:59 -0400173 select SYS_CACHE_SHIFT_5
Mario Six61abced2019-01-21 09:17:28 +0100174
Mario Six8439e992019-01-21 09:17:29 +0100175config ARCH_MPC837X
176 bool
Mario Six21c15022019-01-21 09:17:54 +0100177 select MPC83XX_PCI_SUPPORT
178 select MPC83XX_TSEC1_SUPPORT
179 select MPC83XX_TSEC2_SUPPORT
180 select MPC83XX_PCIE1_SUPPORT
181 select MPC83XX_PCIE2_SUPPORT
182 select MPC83XX_SDHC_SUPPORT
Simon Glassf7560372021-08-08 12:20:17 -0600183 select MPC83XX_SATA
Mario Six21c15022019-01-21 09:17:54 +0100184 select MPC83XX_LDP_PIN
Simon Glass975e7cf2021-07-10 21:14:36 -0600185 select MPC83XX_SECOND_I2C
Tom Riniab92b382021-08-26 11:47:59 -0400186 select SYS_CACHE_SHIFT_5
Rasmus Villemoesa3c1e0e2019-12-12 08:11:46 +0000187 select FSL_ELBC
Mario Six21c15022019-01-21 09:17:54 +0100188
189source "arch/powerpc/cpu/mpc83xx/hrcw/Kconfig"
Mario Six30915ab2019-01-21 09:17:57 +0100190source "arch/powerpc/cpu/mpc83xx/bats/Kconfig"
Mario Six9c5df7a2019-01-21 09:17:58 +0100191source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig"
Mario Sixfe7d6542019-01-21 09:18:03 +0100192source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig"
Mario Sixbe5abb02019-01-21 09:18:09 +0100193source "arch/powerpc/cpu/mpc83xx/hid/Kconfig"
Mario Sixba463c12019-01-21 09:18:11 +0100194source "arch/powerpc/cpu/mpc83xx/sysio/Kconfig"
Mario Six73df96a2019-01-21 09:18:12 +0100195source "arch/powerpc/cpu/mpc83xx/arbiter/Kconfig"
Mario Sixe35012e2019-01-21 09:18:13 +0100196source "arch/powerpc/cpu/mpc83xx/initreg/Kconfig"
Mario Six8439e992019-01-21 09:17:29 +0100197
Tom Rini86e4c4f2021-12-17 18:08:36 -0500198config 83XX_PCICLK
199 hex "PCI clock frequency"
200 default 0xDEADBEEF
201 help
202 If required, the PCI clock frequency to use when configuring
203 the host bridge.
204
Rasmus Villemoesa3c1e0e2019-12-12 08:11:46 +0000205config FSL_ELBC
206 bool
207
Masahiro Yamadadd840582014-07-30 14:08:14 +0900208source "board/freescale/mpc837xerdb/Kconfig"
209source "board/ids/ids8313/Kconfig"
Dirk Eibach50dcf892014-11-13 19:21:18 +0100210source "board/gdsys/mpc8308/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +0900211
212endmenu