Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 1 | menu "mpc83xx CPU" |
2 | depends on MPC83xx | ||||
3 | |||||
4 | config SYS_CPU | ||||
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 5 | default "mpc83xx" |
6 | |||||
7 | choice | ||||
8 | prompt "Target select" | ||||
Joe Hershberger | f069960 | 2015-05-12 14:46:23 -0500 | [diff] [blame] | 9 | optional |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 10 | |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 11 | config TARGET_MPC8349EMDS |
12 | bool "Support MPC8349EMDS" | ||||
Mario Six | 0344f5e | 2019-01-21 09:17:27 +0100 | [diff] [blame] | 13 | select ARCH_MPC8349 |
Michal Simek | 84f3dec | 2018-07-23 15:55:13 +0200 | [diff] [blame] | 14 | select BOARD_EARLY_INIT_F |
York Sun | d297d39 | 2016-12-28 08:43:40 -0800 | [diff] [blame] | 15 | select SYS_FSL_DDR |
York Sun | d297d39 | 2016-12-28 08:43:40 -0800 | [diff] [blame] | 16 | select SYS_FSL_DDR_BE |
Michal Simek | 84f3dec | 2018-07-23 15:55:13 +0200 | [diff] [blame] | 17 | select SYS_FSL_HAS_DDR2 |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 18 | |
Mario Six | de017e1 | 2019-01-21 09:17:40 +0100 | [diff] [blame] | 19 | config 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 Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 27 | config TARGET_MPC837XERDB |
28 | bool "Support MPC837XERDB" | ||||
Mario Six | 60b1123 | 2019-01-21 09:17:29 +0100 | [diff] [blame] | 29 | select ARCH_MPC837X |
Simon Glass | 7a99a87 | 2017-01-23 13:31:20 -0700 | [diff] [blame] | 30 | select BOARD_EARLY_INIT_F |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 31 | |
32 | config TARGET_IDS8313 | ||||
33 | bool "Support ids8313" | ||||
Mario Six | 9164bdd | 2019-01-21 09:17:25 +0100 | [diff] [blame] | 34 | select ARCH_MPC8313 |
Masahiro Yamada | 51995c2 | 2015-03-31 12:48:03 +0900 | [diff] [blame] | 35 | select DM |
Michal Simek | 2e7c819 | 2018-07-23 15:55:14 +0200 | [diff] [blame] | 36 | imply CMD_DM |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 37 | |
Mario Six | 92e20d9 | 2019-01-21 09:17:35 +0100 | [diff] [blame] | 38 | config TARGET_KMETER1 |
39 | bool "Support kmeter1" | ||||
Pascal Linder | 305329f | 2019-06-18 13:27:47 +0200 | [diff] [blame] | 40 | select VENDOR_KM |
Heiko Schocher | 3c52107 | 2020-02-03 07:43:57 +0100 | [diff] [blame] | 41 | select KM_ENABLE_FULL_DM_DTS_SUPPORT |
Mario Six | 92e20d9 | 2019-01-21 09:17:35 +0100 | [diff] [blame] | 42 | |
43 | config TARGET_KMCOGE5NE | ||||
44 | bool "Support kmcoge5ne" | ||||
Pascal Linder | 305329f | 2019-06-18 13:27:47 +0200 | [diff] [blame] | 45 | select VENDOR_KM |
Heiko Schocher | 3c52107 | 2020-02-03 07:43:57 +0100 | [diff] [blame] | 46 | select KM_ENABLE_FULL_DM_DTS_SUPPORT |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 47 | |
Mario Six | 5590b15 | 2019-01-21 09:17:30 +0100 | [diff] [blame] | 48 | config TARGET_KMTEGR1 |
49 | bool "Support kmtegr1" | ||||
Pascal Linder | 305329f | 2019-06-18 13:27:47 +0200 | [diff] [blame] | 50 | select VENDOR_KM |
Heiko Schocher | 3c52107 | 2020-02-03 07:43:57 +0100 | [diff] [blame] | 51 | select KM_ENABLE_FULL_DM_DTS_SUPPORT |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 52 | |
53 | config TARGET_TUXX1 | ||||
54 | bool "Support tuxx1" | ||||
Pascal Linder | 305329f | 2019-06-18 13:27:47 +0200 | [diff] [blame] | 55 | select VENDOR_KM |
Heiko Schocher | 3c52107 | 2020-02-03 07:43:57 +0100 | [diff] [blame] | 56 | select KM_ENABLE_FULL_DM_DTS_SUPPORT |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 57 | |
Mario Six | 190ab40 | 2019-01-21 09:17:33 +0100 | [diff] [blame] | 58 | config TARGET_KMSUPX5 |
59 | bool "Support kmsupx5" | ||||
Pascal Linder | 305329f | 2019-06-18 13:27:47 +0200 | [diff] [blame] | 60 | select VENDOR_KM |
Heiko Schocher | 3c52107 | 2020-02-03 07:43:57 +0100 | [diff] [blame] | 61 | select KM_ENABLE_FULL_DM_DTS_SUPPORT |
Mario Six | 190ab40 | 2019-01-21 09:17:33 +0100 | [diff] [blame] | 62 | |
63 | config TARGET_TUGE1 | ||||
64 | bool "Support tuge1" | ||||
Pascal Linder | 305329f | 2019-06-18 13:27:47 +0200 | [diff] [blame] | 65 | select VENDOR_KM |
Heiko Schocher | 3c52107 | 2020-02-03 07:43:57 +0100 | [diff] [blame] | 66 | select KM_ENABLE_FULL_DM_DTS_SUPPORT |
Mario Six | 190ab40 | 2019-01-21 09:17:33 +0100 | [diff] [blame] | 67 | |
68 | config TARGET_KMOPTI2 | ||||
69 | bool "Support kmopti2" | ||||
Pascal Linder | 305329f | 2019-06-18 13:27:47 +0200 | [diff] [blame] | 70 | select VENDOR_KM |
Heiko Schocher | 3c52107 | 2020-02-03 07:43:57 +0100 | [diff] [blame] | 71 | select KM_ENABLE_FULL_DM_DTS_SUPPORT |
Mario Six | 190ab40 | 2019-01-21 09:17:33 +0100 | [diff] [blame] | 72 | |
73 | config TARGET_KMTEPR2 | ||||
74 | bool "Support kmtepr2" | ||||
Pascal Linder | 305329f | 2019-06-18 13:27:47 +0200 | [diff] [blame] | 75 | select VENDOR_KM |
Heiko Schocher | 3c52107 | 2020-02-03 07:43:57 +0100 | [diff] [blame] | 76 | select KM_ENABLE_FULL_DM_DTS_SUPPORT |
Mario Six | 190ab40 | 2019-01-21 09:17:33 +0100 | [diff] [blame] | 77 | |
Dirk Eibach | 8fc4084 | 2019-03-29 10:18:19 +0100 | [diff] [blame] | 78 | config 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 Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 97 | endchoice |
98 | |||||
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 99 | config MPC83XX_QUICC_ENGINE |
100 | bool | ||||
101 | |||||
102 | # TODO: Imply MPC83xx PCI driver | ||||
103 | config MPC83XX_PCI_SUPPORT | ||||
104 | bool | ||||
105 | |||||
106 | # TODO: Imply TSEC driver | ||||
107 | config MPC83XX_TSEC1_SUPPORT | ||||
108 | bool | ||||
109 | |||||
110 | config MPC83XX_TSEC2_SUPPORT | ||||
111 | bool | ||||
112 | |||||
113 | config MPC83XX_PCIE1_SUPPORT | ||||
114 | bool | ||||
115 | |||||
116 | config MPC83XX_PCIE2_SUPPORT | ||||
117 | bool | ||||
118 | |||||
119 | config MPC83XX_SDHC_SUPPORT | ||||
120 | bool | ||||
121 | |||||
122 | config MPC83XX_SATA_SUPPORT | ||||
123 | bool | ||||
124 | |||||
Simon Glass | bccfc2e | 2021-07-10 21:14:36 -0600 | [diff] [blame] | 125 | config MPC83XX_SECOND_I2C |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 126 | bool |
127 | |||||
128 | config MPC83XX_LDP_PIN | ||||
129 | bool | ||||
130 | |||||
Mario Six | b2e701c | 2019-01-21 09:17:24 +0100 | [diff] [blame] | 131 | config ARCH_MPC830X |
132 | bool | ||||
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 133 | select MPC83XX_SDHC_SUPPORT |
Tom Rini | 3ef67ae | 2021-08-26 11:47:59 -0400 | [diff] [blame^] | 134 | select SYS_CACHE_SHIFT_5 |
Mario Six | b2e701c | 2019-01-21 09:17:24 +0100 | [diff] [blame] | 135 | |
136 | config ARCH_MPC8308 | ||||
137 | bool | ||||
138 | select ARCH_MPC830X | ||||
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 139 | select MPC83XX_TSEC1_SUPPORT |
140 | select MPC83XX_TSEC2_SUPPORT | ||||
141 | select MPC83XX_PCIE1_SUPPORT | ||||
Simon Glass | bccfc2e | 2021-07-10 21:14:36 -0600 | [diff] [blame] | 142 | select MPC83XX_SECOND_I2C |
Mario Six | b2e701c | 2019-01-21 09:17:24 +0100 | [diff] [blame] | 143 | |
144 | config ARCH_MPC8309 | ||||
145 | bool | ||||
146 | select ARCH_MPC830X | ||||
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 147 | select MPC83XX_QUICC_ENGINE |
148 | select MPC83XX_PCI_SUPPORT | ||||
Simon Glass | bccfc2e | 2021-07-10 21:14:36 -0600 | [diff] [blame] | 149 | select MPC83XX_SECOND_I2C |
Rasmus Villemoes | 676f101 | 2019-12-11 09:39:36 +0000 | [diff] [blame] | 150 | select SYS_FSL_ERRATUM_ESDHC111 |
Rasmus Villemoes | dafa52a | 2019-12-12 08:11:46 +0000 | [diff] [blame] | 151 | select FSL_ELBC |
Mario Six | b2e701c | 2019-01-21 09:17:24 +0100 | [diff] [blame] | 152 | |
Mario Six | 9164bdd | 2019-01-21 09:17:25 +0100 | [diff] [blame] | 153 | config ARCH_MPC831X |
154 | bool | ||||
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 155 | select MPC83XX_PCI_SUPPORT |
156 | select MPC83XX_TSEC1_SUPPORT | ||||
157 | select MPC83XX_TSEC2_SUPPORT | ||||
Tom Rini | 3ef67ae | 2021-08-26 11:47:59 -0400 | [diff] [blame^] | 158 | select SYS_CACHE_SHIFT_5 |
Mario Six | 9164bdd | 2019-01-21 09:17:25 +0100 | [diff] [blame] | 159 | |
160 | config ARCH_MPC8313 | ||||
161 | bool | ||||
162 | select ARCH_MPC831X | ||||
Simon Glass | bccfc2e | 2021-07-10 21:14:36 -0600 | [diff] [blame] | 163 | select MPC83XX_SECOND_I2C |
Rasmus Villemoes | dafa52a | 2019-12-12 08:11:46 +0000 | [diff] [blame] | 164 | select FSL_ELBC |
Mario Six | 9164bdd | 2019-01-21 09:17:25 +0100 | [diff] [blame] | 165 | |
Mario Six | be07e55 | 2019-01-21 09:17:26 +0100 | [diff] [blame] | 166 | config ARCH_MPC832X |
167 | bool | ||||
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 168 | select MPC83XX_QUICC_ENGINE |
169 | select MPC83XX_PCI_SUPPORT | ||||
Tom Rini | 3ef67ae | 2021-08-26 11:47:59 -0400 | [diff] [blame^] | 170 | select SYS_CACHE_SHIFT_5 |
Mario Six | be07e55 | 2019-01-21 09:17:26 +0100 | [diff] [blame] | 171 | |
Mario Six | 0344f5e | 2019-01-21 09:17:27 +0100 | [diff] [blame] | 172 | config ARCH_MPC834X |
173 | bool | ||||
Tom Rini | 3ef67ae | 2021-08-26 11:47:59 -0400 | [diff] [blame^] | 174 | select SYS_CACHE_SHIFT_5 |
Mario Six | 0344f5e | 2019-01-21 09:17:27 +0100 | [diff] [blame] | 175 | |
176 | config ARCH_MPC8349 | ||||
177 | bool | ||||
178 | select ARCH_MPC834X | ||||
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 179 | select MPC83XX_PCI_SUPPORT |
180 | select MPC83XX_TSEC1_SUPPORT | ||||
181 | select MPC83XX_TSEC2_SUPPORT | ||||
182 | select MPC83XX_LDP_PIN | ||||
Simon Glass | bccfc2e | 2021-07-10 21:14:36 -0600 | [diff] [blame] | 183 | select MPC83XX_SECOND_I2C |
Mario Six | 0344f5e | 2019-01-21 09:17:27 +0100 | [diff] [blame] | 184 | |
Mario Six | 84eb431 | 2019-01-21 09:17:28 +0100 | [diff] [blame] | 185 | config ARCH_MPC8360 |
186 | bool | ||||
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 187 | select MPC83XX_QUICC_ENGINE |
188 | select MPC83XX_PCI_SUPPORT | ||||
189 | select MPC83XX_LDP_PIN | ||||
Simon Glass | bccfc2e | 2021-07-10 21:14:36 -0600 | [diff] [blame] | 190 | select MPC83XX_SECOND_I2C |
Tom Rini | 3ef67ae | 2021-08-26 11:47:59 -0400 | [diff] [blame^] | 191 | select SYS_CACHE_SHIFT_5 |
Mario Six | 84eb431 | 2019-01-21 09:17:28 +0100 | [diff] [blame] | 192 | |
Mario Six | 60b1123 | 2019-01-21 09:17:29 +0100 | [diff] [blame] | 193 | config ARCH_MPC837X |
194 | bool | ||||
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 195 | 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 Glass | bccfc2e | 2021-07-10 21:14:36 -0600 | [diff] [blame] | 203 | select MPC83XX_SECOND_I2C |
Tom Rini | 3ef67ae | 2021-08-26 11:47:59 -0400 | [diff] [blame^] | 204 | select SYS_CACHE_SHIFT_5 |
Rasmus Villemoes | dafa52a | 2019-12-12 08:11:46 +0000 | [diff] [blame] | 205 | select FSL_ELBC |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 206 | |
Mario Six | a6c985e | 2019-01-21 09:18:10 +0100 | [diff] [blame] | 207 | config 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 Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 214 | source "arch/powerpc/cpu/mpc83xx/hrcw/Kconfig" |
Mario Six | a861ea6 | 2019-01-21 09:17:57 +0100 | [diff] [blame] | 215 | source "arch/powerpc/cpu/mpc83xx/bats/Kconfig" |
Mario Six | b47839c | 2019-01-21 09:17:58 +0100 | [diff] [blame] | 216 | source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig" |
Mario Six | 1faf95d | 2019-01-21 09:18:03 +0100 | [diff] [blame] | 217 | source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig" |
Mario Six | 8b2141c | 2019-01-21 09:18:09 +0100 | [diff] [blame] | 218 | source "arch/powerpc/cpu/mpc83xx/hid/Kconfig" |
Mario Six | 636c108 | 2019-01-21 09:18:11 +0100 | [diff] [blame] | 219 | source "arch/powerpc/cpu/mpc83xx/sysio/Kconfig" |
Mario Six | aa50254 | 2019-01-21 09:18:12 +0100 | [diff] [blame] | 220 | source "arch/powerpc/cpu/mpc83xx/arbiter/Kconfig" |
Mario Six | f62074e | 2019-01-21 09:18:13 +0100 | [diff] [blame] | 221 | source "arch/powerpc/cpu/mpc83xx/initreg/Kconfig" |
Mario Six | 60b1123 | 2019-01-21 09:17:29 +0100 | [diff] [blame] | 222 | |
Mario Six | 258312f | 2019-01-21 09:17:51 +0100 | [diff] [blame] | 223 | menu "Legacy options" |
224 | |||||
225 | if ARCH_MPC8349 | ||||
226 | |||||
227 | #TODO(mario.six@gdsys.cc): Remove when mpc83xx PCI has been converted to DM/DT | ||||
228 | choice | ||||
229 | prompt "PMC slot configuration" | ||||
230 | |||||
231 | config PCI_ALL_PCI1 | ||||
232 | bool "All PMC slots on PCI1" | ||||
233 | |||||
234 | config PCI_ONE_PCI1 | ||||
235 | bool "First PMC1 on PCI1" | ||||
236 | |||||
237 | config PCI_TWO_PCI1 | ||||
238 | bool "First two PMC1 on PCI1" | ||||
239 | |||||
240 | endchoice | ||||
241 | |||||
242 | config PCI_64BIT | ||||
243 | bool "PMC2 is 64bit" | ||||
244 | |||||
245 | endif | ||||
246 | |||||
247 | endmenu | ||||
248 | |||||
Rasmus Villemoes | dafa52a | 2019-12-12 08:11:46 +0000 | [diff] [blame] | 249 | config FSL_ELBC |
250 | bool | ||||
251 | |||||
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 252 | source "board/freescale/mpc8349emds/Kconfig" |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 253 | source "board/freescale/mpc837xerdb/Kconfig" |
254 | source "board/ids/ids8313/Kconfig" | ||||
Pascal Linder | 305329f | 2019-06-18 13:27:47 +0200 | [diff] [blame] | 255 | source "board/keymile/Kconfig" |
Dirk Eibach | f74a027 | 2014-11-13 19:21:18 +0100 | [diff] [blame] | 256 | source "board/gdsys/mpc8308/Kconfig" |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 257 | |
258 | endmenu |