blob: 9a31604ba3e6d71622e2fb0ba3d0e8f3cf480e6a [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
Tom Rini5d673de2022-06-25 11:02:41 -040014config SYS_83XX_DDR_USES_CS0
15 bool
16 help
17 DDR should be configured using CS0 and CS1 instead of CS2 and CS3.
18
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090019choice
20 prompt "Target select"
Joe Hershbergerf0699602015-05-12 14:46:23 -050021 optional
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090022
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090023config TARGET_MPC837XERDB
24 bool "Support MPC837XERDB"
Mario Six60b11232019-01-21 09:17:29 +010025 select ARCH_MPC837X
Simon Glass7a99a872017-01-23 13:31:20 -070026 select BOARD_EARLY_INIT_F
Tom Rini5d673de2022-06-25 11:02:41 -040027 select SYS_83XX_DDR_USES_CS0
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090028
29config TARGET_IDS8313
30 bool "Support ids8313"
Mario Six9164bdd2019-01-21 09:17:25 +010031 select ARCH_MPC8313
Masahiro Yamada51995c22015-03-31 12:48:03 +090032 select DM
Michal Simek2e7c8192018-07-23 15:55:14 +020033 imply CMD_DM
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090034
Mario Six92e20d92019-01-21 09:17:35 +010035config TARGET_KMETER1
36 bool "Support kmeter1"
Pascal Linder305329f2019-06-18 13:27:47 +020037 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010038 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six92e20d92019-01-21 09:17:35 +010039
40config TARGET_KMCOGE5NE
41 bool "Support kmcoge5ne"
Pascal Linder305329f2019-06-18 13:27:47 +020042 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010043 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090044
Mario Six5590b152019-01-21 09:17:30 +010045config TARGET_KMTEGR1
46 bool "Support kmtegr1"
Pascal Linder305329f2019-06-18 13:27:47 +020047 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010048 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090049
50config TARGET_TUXX1
51 bool "Support tuxx1"
Pascal Linder305329f2019-06-18 13:27:47 +020052 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010053 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090054
Mario Six190ab402019-01-21 09:17:33 +010055config TARGET_KMSUPX5
56 bool "Support kmsupx5"
Pascal Linder305329f2019-06-18 13:27:47 +020057 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010058 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six190ab402019-01-21 09:17:33 +010059
60config TARGET_TUGE1
61 bool "Support tuge1"
Pascal Linder305329f2019-06-18 13:27:47 +020062 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010063 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six190ab402019-01-21 09:17:33 +010064
65config TARGET_KMOPTI2
66 bool "Support kmopti2"
Pascal Linder305329f2019-06-18 13:27:47 +020067 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010068 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six190ab402019-01-21 09:17:33 +010069
70config TARGET_KMTEPR2
71 bool "Support kmtepr2"
Pascal Linder305329f2019-06-18 13:27:47 +020072 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010073 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six190ab402019-01-21 09:17:33 +010074
Dirk Eibach8fc40842019-03-29 10:18:19 +010075config TARGET_GAZERBEAM
76 bool "Support gazerbeam"
77 select ARCH_MPC8308
78 select SYS_FSL_ERRATUM_ESDHC111
79 imply ENV_IS_IN_FLASH
80 help
81 The "Gazerbeam" is a modular system by Guntermann & Drunck GmbH
82 Systementwicklung based on the NXP MPC8308 SoC for usage in KVM
83 appliances.
84
85 Features include:
86 * Two gigabit ethernet ports
87 * Multiple USB ports (depending on variant)
88 * Several gigabit ethernet or optical fiber ports (depending on
89 variant)
90 * Several display port inputs and outputs, and supporting redrivers
91 (depending on variant)
92 * Several FPGAs with custom logic (depending on variant)
93
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090094endchoice
95
Mario Six94867102019-01-21 09:17:54 +010096config MPC83XX_QUICC_ENGINE
97 bool
98
99# TODO: Imply MPC83xx PCI driver
100config MPC83XX_PCI_SUPPORT
101 bool
102
103# TODO: Imply TSEC driver
104config MPC83XX_TSEC1_SUPPORT
105 bool
106
107config MPC83XX_TSEC2_SUPPORT
108 bool
109
110config MPC83XX_PCIE1_SUPPORT
111 bool
112
113config MPC83XX_PCIE2_SUPPORT
114 bool
115
116config MPC83XX_SDHC_SUPPORT
117 bool
118
Simon Glass081a45a2021-08-08 12:20:17 -0600119config MPC83XX_SATA
Mario Six94867102019-01-21 09:17:54 +0100120 bool
121
Simon Glassbccfc2e2021-07-10 21:14:36 -0600122config MPC83XX_SECOND_I2C
Mario Six94867102019-01-21 09:17:54 +0100123 bool
124
125config MPC83XX_LDP_PIN
126 bool
127
Mario Sixb2e701c2019-01-21 09:17:24 +0100128config ARCH_MPC830X
129 bool
Mario Six94867102019-01-21 09:17:54 +0100130 select MPC83XX_SDHC_SUPPORT
Tom Rini3ef67ae2021-08-26 11:47:59 -0400131 select SYS_CACHE_SHIFT_5
Mario Sixb2e701c2019-01-21 09:17:24 +0100132
133config ARCH_MPC8308
134 bool
135 select ARCH_MPC830X
Mario Six94867102019-01-21 09:17:54 +0100136 select MPC83XX_TSEC1_SUPPORT
137 select MPC83XX_TSEC2_SUPPORT
138 select MPC83XX_PCIE1_SUPPORT
Simon Glassbccfc2e2021-07-10 21:14:36 -0600139 select MPC83XX_SECOND_I2C
Mario Sixb2e701c2019-01-21 09:17:24 +0100140
141config ARCH_MPC8309
142 bool
143 select ARCH_MPC830X
Mario Six94867102019-01-21 09:17:54 +0100144 select MPC83XX_QUICC_ENGINE
145 select MPC83XX_PCI_SUPPORT
Simon Glassbccfc2e2021-07-10 21:14:36 -0600146 select MPC83XX_SECOND_I2C
Rasmus Villemoes676f1012019-12-11 09:39:36 +0000147 select SYS_FSL_ERRATUM_ESDHC111
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000148 select FSL_ELBC
Mario Sixb2e701c2019-01-21 09:17:24 +0100149
Mario Six9164bdd2019-01-21 09:17:25 +0100150config ARCH_MPC831X
151 bool
Mario Six94867102019-01-21 09:17:54 +0100152 select MPC83XX_PCI_SUPPORT
153 select MPC83XX_TSEC1_SUPPORT
154 select MPC83XX_TSEC2_SUPPORT
Tom Rini3ef67ae2021-08-26 11:47:59 -0400155 select SYS_CACHE_SHIFT_5
Mario Six9164bdd2019-01-21 09:17:25 +0100156
157config ARCH_MPC8313
158 bool
159 select ARCH_MPC831X
Simon Glassbccfc2e2021-07-10 21:14:36 -0600160 select MPC83XX_SECOND_I2C
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000161 select FSL_ELBC
Mario Six9164bdd2019-01-21 09:17:25 +0100162
Mario Sixbe07e552019-01-21 09:17:26 +0100163config ARCH_MPC832X
164 bool
Mario Six94867102019-01-21 09:17:54 +0100165 select MPC83XX_QUICC_ENGINE
166 select MPC83XX_PCI_SUPPORT
Tom Rini3ef67ae2021-08-26 11:47:59 -0400167 select SYS_CACHE_SHIFT_5
Mario Sixbe07e552019-01-21 09:17:26 +0100168
Mario Six0344f5e2019-01-21 09:17:27 +0100169config ARCH_MPC834X
170 bool
Tom Rini3ef67ae2021-08-26 11:47:59 -0400171 select SYS_CACHE_SHIFT_5
Mario Six0344f5e2019-01-21 09:17:27 +0100172
Mario Six84eb4312019-01-21 09:17:28 +0100173config ARCH_MPC8360
174 bool
Mario Six94867102019-01-21 09:17:54 +0100175 select MPC83XX_QUICC_ENGINE
176 select MPC83XX_PCI_SUPPORT
177 select MPC83XX_LDP_PIN
Simon Glassbccfc2e2021-07-10 21:14:36 -0600178 select MPC83XX_SECOND_I2C
Tom Rini3ef67ae2021-08-26 11:47:59 -0400179 select SYS_CACHE_SHIFT_5
Mario Six84eb4312019-01-21 09:17:28 +0100180
Mario Six60b11232019-01-21 09:17:29 +0100181config ARCH_MPC837X
182 bool
Mario Six94867102019-01-21 09:17:54 +0100183 select MPC83XX_PCI_SUPPORT
184 select MPC83XX_TSEC1_SUPPORT
185 select MPC83XX_TSEC2_SUPPORT
186 select MPC83XX_PCIE1_SUPPORT
187 select MPC83XX_PCIE2_SUPPORT
188 select MPC83XX_SDHC_SUPPORT
Simon Glass081a45a2021-08-08 12:20:17 -0600189 select MPC83XX_SATA
Mario Six94867102019-01-21 09:17:54 +0100190 select MPC83XX_LDP_PIN
Simon Glassbccfc2e2021-07-10 21:14:36 -0600191 select MPC83XX_SECOND_I2C
Tom Rini3ef67ae2021-08-26 11:47:59 -0400192 select SYS_CACHE_SHIFT_5
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000193 select FSL_ELBC
Mario Six94867102019-01-21 09:17:54 +0100194
195source "arch/powerpc/cpu/mpc83xx/hrcw/Kconfig"
Mario Sixa861ea62019-01-21 09:17:57 +0100196source "arch/powerpc/cpu/mpc83xx/bats/Kconfig"
Mario Sixb47839c2019-01-21 09:17:58 +0100197source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig"
Mario Six1faf95d2019-01-21 09:18:03 +0100198source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig"
Mario Six8b2141c2019-01-21 09:18:09 +0100199source "arch/powerpc/cpu/mpc83xx/hid/Kconfig"
Mario Six636c1082019-01-21 09:18:11 +0100200source "arch/powerpc/cpu/mpc83xx/sysio/Kconfig"
Mario Sixaa502542019-01-21 09:18:12 +0100201source "arch/powerpc/cpu/mpc83xx/arbiter/Kconfig"
Mario Sixf62074e2019-01-21 09:18:13 +0100202source "arch/powerpc/cpu/mpc83xx/initreg/Kconfig"
Mario Six60b11232019-01-21 09:17:29 +0100203
Tom Rini56838602021-12-17 18:08:36 -0500204config 83XX_PCICLK
205 hex "PCI clock frequency"
206 default 0xDEADBEEF
207 help
208 If required, the PCI clock frequency to use when configuring
209 the host bridge.
210
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000211config FSL_ELBC
212 bool
213
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900214source "board/freescale/mpc837xerdb/Kconfig"
215source "board/ids/ids8313/Kconfig"
Dirk Eibachf74a0272014-11-13 19:21:18 +0100216source "board/gdsys/mpc8308/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900217
218endmenu