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 |
Mario Six | b2e701c | 2019-01-21 09:17:24 +0100 | [diff] [blame] | 134 | |
135 | config ARCH_MPC8308 | ||||
136 | bool | ||||
137 | select ARCH_MPC830X | ||||
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 138 | select MPC83XX_TSEC1_SUPPORT |
139 | select MPC83XX_TSEC2_SUPPORT | ||||
140 | select MPC83XX_PCIE1_SUPPORT | ||||
Simon Glass | bccfc2e | 2021-07-10 21:14:36 -0600 | [diff] [blame] | 141 | select MPC83XX_SECOND_I2C |
Mario Six | b2e701c | 2019-01-21 09:17:24 +0100 | [diff] [blame] | 142 | |
143 | config ARCH_MPC8309 | ||||
144 | bool | ||||
145 | select ARCH_MPC830X | ||||
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 146 | select MPC83XX_QUICC_ENGINE |
147 | select MPC83XX_PCI_SUPPORT | ||||
Simon Glass | bccfc2e | 2021-07-10 21:14:36 -0600 | [diff] [blame] | 148 | select MPC83XX_SECOND_I2C |
Rasmus Villemoes | 676f101 | 2019-12-11 09:39:36 +0000 | [diff] [blame] | 149 | select SYS_FSL_ERRATUM_ESDHC111 |
Rasmus Villemoes | dafa52a | 2019-12-12 08:11:46 +0000 | [diff] [blame] | 150 | select FSL_ELBC |
Mario Six | b2e701c | 2019-01-21 09:17:24 +0100 | [diff] [blame] | 151 | |
Mario Six | 9164bdd | 2019-01-21 09:17:25 +0100 | [diff] [blame] | 152 | config ARCH_MPC831X |
153 | bool | ||||
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 154 | select MPC83XX_PCI_SUPPORT |
155 | select MPC83XX_TSEC1_SUPPORT | ||||
156 | select MPC83XX_TSEC2_SUPPORT | ||||
Mario Six | 9164bdd | 2019-01-21 09:17:25 +0100 | [diff] [blame] | 157 | |
158 | config ARCH_MPC8313 | ||||
159 | bool | ||||
160 | select ARCH_MPC831X | ||||
Simon Glass | bccfc2e | 2021-07-10 21:14:36 -0600 | [diff] [blame] | 161 | select MPC83XX_SECOND_I2C |
Rasmus Villemoes | dafa52a | 2019-12-12 08:11:46 +0000 | [diff] [blame] | 162 | select FSL_ELBC |
Mario Six | 9164bdd | 2019-01-21 09:17:25 +0100 | [diff] [blame] | 163 | |
Mario Six | be07e55 | 2019-01-21 09:17:26 +0100 | [diff] [blame] | 164 | config ARCH_MPC832X |
165 | bool | ||||
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 166 | select MPC83XX_QUICC_ENGINE |
167 | select MPC83XX_PCI_SUPPORT | ||||
Mario Six | be07e55 | 2019-01-21 09:17:26 +0100 | [diff] [blame] | 168 | |
Mario Six | 0344f5e | 2019-01-21 09:17:27 +0100 | [diff] [blame] | 169 | config ARCH_MPC834X |
170 | bool | ||||
171 | |||||
172 | config ARCH_MPC8349 | ||||
173 | bool | ||||
174 | select ARCH_MPC834X | ||||
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 175 | select MPC83XX_PCI_SUPPORT |
176 | select MPC83XX_TSEC1_SUPPORT | ||||
177 | select MPC83XX_TSEC2_SUPPORT | ||||
178 | select MPC83XX_LDP_PIN | ||||
Simon Glass | bccfc2e | 2021-07-10 21:14:36 -0600 | [diff] [blame] | 179 | select MPC83XX_SECOND_I2C |
Mario Six | 0344f5e | 2019-01-21 09:17:27 +0100 | [diff] [blame] | 180 | |
Mario Six | 84eb431 | 2019-01-21 09:17:28 +0100 | [diff] [blame] | 181 | config ARCH_MPC8360 |
182 | bool | ||||
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 183 | select MPC83XX_QUICC_ENGINE |
184 | select MPC83XX_PCI_SUPPORT | ||||
185 | select MPC83XX_LDP_PIN | ||||
Simon Glass | bccfc2e | 2021-07-10 21:14:36 -0600 | [diff] [blame] | 186 | select MPC83XX_SECOND_I2C |
Mario Six | 84eb431 | 2019-01-21 09:17:28 +0100 | [diff] [blame] | 187 | |
Mario Six | 60b1123 | 2019-01-21 09:17:29 +0100 | [diff] [blame] | 188 | config ARCH_MPC837X |
189 | bool | ||||
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 190 | 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 Glass | bccfc2e | 2021-07-10 21:14:36 -0600 | [diff] [blame] | 198 | select MPC83XX_SECOND_I2C |
Rasmus Villemoes | dafa52a | 2019-12-12 08:11:46 +0000 | [diff] [blame] | 199 | select FSL_ELBC |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 200 | |
Mario Six | a6c985e | 2019-01-21 09:18:10 +0100 | [diff] [blame] | 201 | config 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 Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 208 | source "arch/powerpc/cpu/mpc83xx/hrcw/Kconfig" |
Mario Six | a861ea6 | 2019-01-21 09:17:57 +0100 | [diff] [blame] | 209 | source "arch/powerpc/cpu/mpc83xx/bats/Kconfig" |
Mario Six | b47839c | 2019-01-21 09:17:58 +0100 | [diff] [blame] | 210 | source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig" |
Mario Six | 1faf95d | 2019-01-21 09:18:03 +0100 | [diff] [blame] | 211 | source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig" |
Mario Six | 8b2141c | 2019-01-21 09:18:09 +0100 | [diff] [blame] | 212 | source "arch/powerpc/cpu/mpc83xx/hid/Kconfig" |
Mario Six | 636c108 | 2019-01-21 09:18:11 +0100 | [diff] [blame] | 213 | source "arch/powerpc/cpu/mpc83xx/sysio/Kconfig" |
Mario Six | aa50254 | 2019-01-21 09:18:12 +0100 | [diff] [blame] | 214 | source "arch/powerpc/cpu/mpc83xx/arbiter/Kconfig" |
Mario Six | f62074e | 2019-01-21 09:18:13 +0100 | [diff] [blame] | 215 | source "arch/powerpc/cpu/mpc83xx/initreg/Kconfig" |
Mario Six | 60b1123 | 2019-01-21 09:17:29 +0100 | [diff] [blame] | 216 | |
Mario Six | 258312f | 2019-01-21 09:17:51 +0100 | [diff] [blame] | 217 | menu "Legacy options" |
218 | |||||
219 | if ARCH_MPC8349 | ||||
220 | |||||
221 | #TODO(mario.six@gdsys.cc): Remove when mpc83xx PCI has been converted to DM/DT | ||||
222 | choice | ||||
223 | prompt "PMC slot configuration" | ||||
224 | |||||
225 | config PCI_ALL_PCI1 | ||||
226 | bool "All PMC slots on PCI1" | ||||
227 | |||||
228 | config PCI_ONE_PCI1 | ||||
229 | bool "First PMC1 on PCI1" | ||||
230 | |||||
231 | config PCI_TWO_PCI1 | ||||
232 | bool "First two PMC1 on PCI1" | ||||
233 | |||||
234 | endchoice | ||||
235 | |||||
236 | config PCI_64BIT | ||||
237 | bool "PMC2 is 64bit" | ||||
238 | |||||
239 | endif | ||||
240 | |||||
241 | endmenu | ||||
242 | |||||
Rasmus Villemoes | dafa52a | 2019-12-12 08:11:46 +0000 | [diff] [blame] | 243 | config FSL_ELBC |
244 | bool | ||||
245 | |||||
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 246 | source "board/freescale/mpc8349emds/Kconfig" |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 247 | source "board/freescale/mpc837xerdb/Kconfig" |
248 | source "board/ids/ids8313/Kconfig" | ||||
Pascal Linder | 305329f | 2019-06-18 13:27:47 +0200 | [diff] [blame] | 249 | source "board/keymile/Kconfig" |
Dirk Eibach | f74a027 | 2014-11-13 19:21:18 +0100 | [diff] [blame] | 250 | source "board/gdsys/mpc8308/Kconfig" |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 251 | |
252 | endmenu |