blob: d1b9ae4c3c9228c688d7912fd922b4a83009f99a [file] [log] [blame]
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001menu "mpc83xx CPU"
2 depends on MPC83xx
3
Tom Rinia5fd0892022-03-30 18:07:29 -04004config DEFAULT_IMMR
5 hex
6 default 0xFF400000
7
Tom Rinic1c04bd2022-03-24 17:18:01 -04008config E300
9 def_bool y
10
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090011config SYS_CPU
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090012 default "mpc83xx"
13
14choice
15 prompt "Target select"
Joe Hershbergerf0699602015-05-12 14:46:23 -050016 optional
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090017
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090018config TARGET_MPC837XERDB
19 bool "Support MPC837XERDB"
Mario Six60b11232019-01-21 09:17:29 +010020 select ARCH_MPC837X
Simon Glass7a99a872017-01-23 13:31:20 -070021 select BOARD_EARLY_INIT_F
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090022
23config TARGET_IDS8313
24 bool "Support ids8313"
Mario Six9164bdd2019-01-21 09:17:25 +010025 select ARCH_MPC8313
Masahiro Yamada51995c22015-03-31 12:48:03 +090026 select DM
Michal Simek2e7c8192018-07-23 15:55:14 +020027 imply CMD_DM
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090028
Mario Six92e20d92019-01-21 09:17:35 +010029config TARGET_KMETER1
30 bool "Support kmeter1"
Pascal Linder305329f2019-06-18 13:27:47 +020031 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010032 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six92e20d92019-01-21 09:17:35 +010033
34config TARGET_KMCOGE5NE
35 bool "Support kmcoge5ne"
Pascal Linder305329f2019-06-18 13:27:47 +020036 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010037 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090038
Mario Six5590b152019-01-21 09:17:30 +010039config TARGET_KMTEGR1
40 bool "Support kmtegr1"
Pascal Linder305329f2019-06-18 13:27:47 +020041 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010042 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090043
44config TARGET_TUXX1
45 bool "Support tuxx1"
Pascal Linder305329f2019-06-18 13:27:47 +020046 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010047 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090048
Mario Six190ab402019-01-21 09:17:33 +010049config TARGET_KMSUPX5
50 bool "Support kmsupx5"
Pascal Linder305329f2019-06-18 13:27:47 +020051 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010052 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six190ab402019-01-21 09:17:33 +010053
54config TARGET_TUGE1
55 bool "Support tuge1"
Pascal Linder305329f2019-06-18 13:27:47 +020056 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010057 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six190ab402019-01-21 09:17:33 +010058
59config TARGET_KMOPTI2
60 bool "Support kmopti2"
Pascal Linder305329f2019-06-18 13:27:47 +020061 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010062 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six190ab402019-01-21 09:17:33 +010063
64config TARGET_KMTEPR2
65 bool "Support kmtepr2"
Pascal Linder305329f2019-06-18 13:27:47 +020066 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010067 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six190ab402019-01-21 09:17:33 +010068
Dirk Eibach8fc40842019-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 Yamadad3ae6782014-07-30 14:08:14 +090088endchoice
89
Mario Six94867102019-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 Glass081a45a2021-08-08 12:20:17 -0600113config MPC83XX_SATA
Mario Six94867102019-01-21 09:17:54 +0100114 bool
115
Simon Glassbccfc2e2021-07-10 21:14:36 -0600116config MPC83XX_SECOND_I2C
Mario Six94867102019-01-21 09:17:54 +0100117 bool
118
119config MPC83XX_LDP_PIN
120 bool
121
Mario Sixb2e701c2019-01-21 09:17:24 +0100122config ARCH_MPC830X
123 bool
Mario Six94867102019-01-21 09:17:54 +0100124 select MPC83XX_SDHC_SUPPORT
Tom Rini3ef67ae2021-08-26 11:47:59 -0400125 select SYS_CACHE_SHIFT_5
Mario Sixb2e701c2019-01-21 09:17:24 +0100126
127config ARCH_MPC8308
128 bool
129 select ARCH_MPC830X
Mario Six94867102019-01-21 09:17:54 +0100130 select MPC83XX_TSEC1_SUPPORT
131 select MPC83XX_TSEC2_SUPPORT
132 select MPC83XX_PCIE1_SUPPORT
Simon Glassbccfc2e2021-07-10 21:14:36 -0600133 select MPC83XX_SECOND_I2C
Mario Sixb2e701c2019-01-21 09:17:24 +0100134
135config ARCH_MPC8309
136 bool
137 select ARCH_MPC830X
Mario Six94867102019-01-21 09:17:54 +0100138 select MPC83XX_QUICC_ENGINE
139 select MPC83XX_PCI_SUPPORT
Simon Glassbccfc2e2021-07-10 21:14:36 -0600140 select MPC83XX_SECOND_I2C
Rasmus Villemoes676f1012019-12-11 09:39:36 +0000141 select SYS_FSL_ERRATUM_ESDHC111
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000142 select FSL_ELBC
Mario Sixb2e701c2019-01-21 09:17:24 +0100143
Mario Six9164bdd2019-01-21 09:17:25 +0100144config ARCH_MPC831X
145 bool
Mario Six94867102019-01-21 09:17:54 +0100146 select MPC83XX_PCI_SUPPORT
147 select MPC83XX_TSEC1_SUPPORT
148 select MPC83XX_TSEC2_SUPPORT
Tom Rini3ef67ae2021-08-26 11:47:59 -0400149 select SYS_CACHE_SHIFT_5
Mario Six9164bdd2019-01-21 09:17:25 +0100150
151config ARCH_MPC8313
152 bool
153 select ARCH_MPC831X
Simon Glassbccfc2e2021-07-10 21:14:36 -0600154 select MPC83XX_SECOND_I2C
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000155 select FSL_ELBC
Mario Six9164bdd2019-01-21 09:17:25 +0100156
Mario Sixbe07e552019-01-21 09:17:26 +0100157config ARCH_MPC832X
158 bool
Mario Six94867102019-01-21 09:17:54 +0100159 select MPC83XX_QUICC_ENGINE
160 select MPC83XX_PCI_SUPPORT
Tom Rini3ef67ae2021-08-26 11:47:59 -0400161 select SYS_CACHE_SHIFT_5
Mario Sixbe07e552019-01-21 09:17:26 +0100162
Mario Six0344f5e2019-01-21 09:17:27 +0100163config ARCH_MPC834X
164 bool
Tom Rini3ef67ae2021-08-26 11:47:59 -0400165 select SYS_CACHE_SHIFT_5
Mario Six0344f5e2019-01-21 09:17:27 +0100166
Mario Six84eb4312019-01-21 09:17:28 +0100167config ARCH_MPC8360
168 bool
Mario Six94867102019-01-21 09:17:54 +0100169 select MPC83XX_QUICC_ENGINE
170 select MPC83XX_PCI_SUPPORT
171 select MPC83XX_LDP_PIN
Simon Glassbccfc2e2021-07-10 21:14:36 -0600172 select MPC83XX_SECOND_I2C
Tom Rini3ef67ae2021-08-26 11:47:59 -0400173 select SYS_CACHE_SHIFT_5
Mario Six84eb4312019-01-21 09:17:28 +0100174
Mario Six60b11232019-01-21 09:17:29 +0100175config ARCH_MPC837X
176 bool
Mario Six94867102019-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 Glass081a45a2021-08-08 12:20:17 -0600183 select MPC83XX_SATA
Mario Six94867102019-01-21 09:17:54 +0100184 select MPC83XX_LDP_PIN
Simon Glassbccfc2e2021-07-10 21:14:36 -0600185 select MPC83XX_SECOND_I2C
Tom Rini3ef67ae2021-08-26 11:47:59 -0400186 select SYS_CACHE_SHIFT_5
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000187 select FSL_ELBC
Mario Six94867102019-01-21 09:17:54 +0100188
189source "arch/powerpc/cpu/mpc83xx/hrcw/Kconfig"
Mario Sixa861ea62019-01-21 09:17:57 +0100190source "arch/powerpc/cpu/mpc83xx/bats/Kconfig"
Mario Sixb47839c2019-01-21 09:17:58 +0100191source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig"
Mario Six1faf95d2019-01-21 09:18:03 +0100192source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig"
Mario Six8b2141c2019-01-21 09:18:09 +0100193source "arch/powerpc/cpu/mpc83xx/hid/Kconfig"
Mario Six636c1082019-01-21 09:18:11 +0100194source "arch/powerpc/cpu/mpc83xx/sysio/Kconfig"
Mario Sixaa502542019-01-21 09:18:12 +0100195source "arch/powerpc/cpu/mpc83xx/arbiter/Kconfig"
Mario Sixf62074e2019-01-21 09:18:13 +0100196source "arch/powerpc/cpu/mpc83xx/initreg/Kconfig"
Mario Six60b11232019-01-21 09:17:29 +0100197
Tom Rini56838602021-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 Villemoesdafa52a2019-12-12 08:11:46 +0000205config FSL_ELBC
206 bool
207
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900208source "board/freescale/mpc837xerdb/Kconfig"
209source "board/ids/ids8313/Kconfig"
Dirk Eibachf74a0272014-11-13 19:21:18 +0100210source "board/gdsys/mpc8308/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900211
212endmenu