blob: b695c7e4d81118ef57ad76c90c7133c4e957602b [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
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
Mario Six9164bdd2019-01-21 09:17:25 +0100135config ARCH_MPC831X
136 bool
Mario Six94867102019-01-21 09:17:54 +0100137 select MPC83XX_PCI_SUPPORT
138 select MPC83XX_TSEC1_SUPPORT
139 select MPC83XX_TSEC2_SUPPORT
Tom Rini3ef67ae2021-08-26 11:47:59 -0400140 select SYS_CACHE_SHIFT_5
Mario Six9164bdd2019-01-21 09:17:25 +0100141
142config ARCH_MPC8313
143 bool
144 select ARCH_MPC831X
Simon Glassbccfc2e2021-07-10 21:14:36 -0600145 select MPC83XX_SECOND_I2C
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000146 select FSL_ELBC
Mario Six9164bdd2019-01-21 09:17:25 +0100147
Mario Sixbe07e552019-01-21 09:17:26 +0100148config ARCH_MPC832X
149 bool
Mario Six94867102019-01-21 09:17:54 +0100150 select MPC83XX_QUICC_ENGINE
151 select MPC83XX_PCI_SUPPORT
Tom Rini3ef67ae2021-08-26 11:47:59 -0400152 select SYS_CACHE_SHIFT_5
Mario Sixbe07e552019-01-21 09:17:26 +0100153
Mario Six0344f5e2019-01-21 09:17:27 +0100154config ARCH_MPC834X
155 bool
Tom Rini3ef67ae2021-08-26 11:47:59 -0400156 select SYS_CACHE_SHIFT_5
Mario Six0344f5e2019-01-21 09:17:27 +0100157
Mario Six84eb4312019-01-21 09:17:28 +0100158config ARCH_MPC8360
159 bool
Mario Six94867102019-01-21 09:17:54 +0100160 select MPC83XX_QUICC_ENGINE
161 select MPC83XX_PCI_SUPPORT
162 select MPC83XX_LDP_PIN
Simon Glassbccfc2e2021-07-10 21:14:36 -0600163 select MPC83XX_SECOND_I2C
Tom Rini3ef67ae2021-08-26 11:47:59 -0400164 select SYS_CACHE_SHIFT_5
Mario Six84eb4312019-01-21 09:17:28 +0100165
Mario Six60b11232019-01-21 09:17:29 +0100166config ARCH_MPC837X
167 bool
Mario Six94867102019-01-21 09:17:54 +0100168 select MPC83XX_PCI_SUPPORT
169 select MPC83XX_TSEC1_SUPPORT
170 select MPC83XX_TSEC2_SUPPORT
171 select MPC83XX_PCIE1_SUPPORT
172 select MPC83XX_PCIE2_SUPPORT
173 select MPC83XX_SDHC_SUPPORT
Simon Glass081a45a2021-08-08 12:20:17 -0600174 select MPC83XX_SATA
Mario Six94867102019-01-21 09:17:54 +0100175 select MPC83XX_LDP_PIN
Simon Glassbccfc2e2021-07-10 21:14:36 -0600176 select MPC83XX_SECOND_I2C
Tom Rini3ef67ae2021-08-26 11:47:59 -0400177 select SYS_CACHE_SHIFT_5
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000178 select FSL_ELBC
Mario Six94867102019-01-21 09:17:54 +0100179
180source "arch/powerpc/cpu/mpc83xx/hrcw/Kconfig"
Mario Sixa861ea62019-01-21 09:17:57 +0100181source "arch/powerpc/cpu/mpc83xx/bats/Kconfig"
Mario Sixb47839c2019-01-21 09:17:58 +0100182source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig"
Mario Six1faf95d2019-01-21 09:18:03 +0100183source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig"
Mario Six8b2141c2019-01-21 09:18:09 +0100184source "arch/powerpc/cpu/mpc83xx/hid/Kconfig"
Mario Six636c1082019-01-21 09:18:11 +0100185source "arch/powerpc/cpu/mpc83xx/sysio/Kconfig"
Mario Sixaa502542019-01-21 09:18:12 +0100186source "arch/powerpc/cpu/mpc83xx/arbiter/Kconfig"
Mario Sixf62074e2019-01-21 09:18:13 +0100187source "arch/powerpc/cpu/mpc83xx/initreg/Kconfig"
Mario Six60b11232019-01-21 09:17:29 +0100188
Tom Rini56838602021-12-17 18:08:36 -0500189config 83XX_PCICLK
190 hex "PCI clock frequency"
191 default 0xDEADBEEF
192 help
193 If required, the PCI clock frequency to use when configuring
194 the host bridge.
195
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000196config FSL_ELBC
197 bool
198
Tom Rini75795232022-11-19 18:45:13 -0500199config FSL_SERDES
200 bool "SerDes initialization"
201 depends on !MPC83XX_SERDES
202
Tom Rinif9c02352022-12-04 10:03:28 -0500203config NEVER_ASSERT_ODT_TO_CPU
204 bool "Never assert ODT to internal IOs"
205
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900206source "board/freescale/mpc837xerdb/Kconfig"
Dirk Eibachf74a0272014-11-13 19:21:18 +0100207source "board/gdsys/mpc8308/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900208
209endmenu