1menu "mpc83xx CPU"
2	depends on MPC83xx
3
4config DEFAULT_IMMR
5	hex
6	default 0xFF400000
7
8config E300
9	def_bool y
10
11config SYS_CPU
12	default "mpc83xx"
13
14config SYS_83XX_DDR_USES_CS0
15	bool
16	help
17	  DDR should be configured using CS0 and CS1 instead of CS2 and CS3.
18
19choice
20	prompt "Target select"
21	optional
22
23config TARGET_CMPCPRO
24	bool "Support CMPCPRO board from CSSI"
25	select ARCH_MPC832X
26
27config TARGET_MPC837XERDB
28	bool "Support MPC837XERDB"
29	select ARCH_MPC837X
30	select BOARD_EARLY_INIT_F
31	select SYS_83XX_DDR_USES_CS0
32
33config TARGET_KMETER1
34	bool "Support kmeter1"
35	select VENDOR_KM
36	select KM_ENABLE_FULL_DM_DTS_SUPPORT
37
38config TARGET_KMCOGE5NE
39	bool "Support kmcoge5ne"
40	select VENDOR_KM
41	select KM_ENABLE_FULL_DM_DTS_SUPPORT
42
43config TARGET_KMTEGR1
44	bool "Support kmtegr1"
45	select VENDOR_KM
46	select KM_ENABLE_FULL_DM_DTS_SUPPORT
47
48config TARGET_TUXX1
49	bool "Support tuxx1"
50	select VENDOR_KM
51	select KM_ENABLE_FULL_DM_DTS_SUPPORT
52
53config TARGET_KMSUPX5
54	bool "Support kmsupx5"
55	select VENDOR_KM
56	select KM_ENABLE_FULL_DM_DTS_SUPPORT
57
58config TARGET_TUGE1
59	bool "Support tuge1"
60	select VENDOR_KM
61	select KM_ENABLE_FULL_DM_DTS_SUPPORT
62
63config TARGET_KMOPTI2
64	bool "Support kmopti2"
65	select VENDOR_KM
66	select KM_ENABLE_FULL_DM_DTS_SUPPORT
67
68config TARGET_KMTEPR2
69	bool "Support kmtepr2"
70	select VENDOR_KM
71	select KM_ENABLE_FULL_DM_DTS_SUPPORT
72
73config TARGET_GAZERBEAM
74	bool "Support gazerbeam"
75	select ARCH_MPC8308
76	select SYS_FSL_ERRATUM_ESDHC111
77	imply ENV_IS_IN_FLASH
78	help
79	  The "Gazerbeam" is a modular system by Guntermann & Drunck GmbH
80	  Systementwicklung based on the NXP MPC8308 SoC for usage in KVM
81	  appliances.
82
83	  Features include:
84	  * Two gigabit ethernet ports
85	  * Multiple USB ports (depending on variant)
86	  * Several gigabit ethernet or optical fiber ports (depending on
87	    variant)
88	  * Several display port inputs and outputs, and supporting redrivers
89	    (depending on variant)
90	  * Several FPGAs with custom logic (depending on variant)
91
92endchoice
93
94config MPC83XX_QUICC_ENGINE
95	bool
96
97# TODO: Imply MPC83xx PCI driver
98config MPC83XX_PCI_SUPPORT
99	bool
100
101# TODO: Imply TSEC driver
102config MPC83XX_TSEC1_SUPPORT
103	bool
104
105config MPC83XX_TSEC2_SUPPORT
106	bool
107
108config MPC83XX_PCIE1_SUPPORT
109	bool
110
111config MPC83XX_PCIE2_SUPPORT
112	bool
113
114config MPC83XX_SDHC_SUPPORT
115	bool
116
117config MPC83XX_SATA
118	bool
119
120config MPC83XX_SECOND_I2C
121	bool
122
123config MPC83XX_LDP_PIN
124	bool
125
126config ARCH_MPC830X
127	bool
128	select MPC83XX_SDHC_SUPPORT
129	select SYS_CACHE_SHIFT_5
130
131config ARCH_MPC8308
132	bool
133	select ARCH_MPC830X
134	select MPC83XX_TSEC1_SUPPORT
135	select MPC83XX_TSEC2_SUPPORT
136	select MPC83XX_PCIE1_SUPPORT
137	select MPC83XX_SECOND_I2C
138
139config ARCH_MPC831X
140	bool
141	select MPC83XX_PCI_SUPPORT
142	select MPC83XX_TSEC1_SUPPORT
143	select MPC83XX_TSEC2_SUPPORT
144	select SYS_CACHE_SHIFT_5
145
146config ARCH_MPC8313
147	bool
148	select ARCH_MPC831X
149	select MPC83XX_SECOND_I2C
150	select FSL_ELBC
151
152config ARCH_MPC832X
153	bool
154	select MPC83XX_QUICC_ENGINE
155	select MPC83XX_PCI_SUPPORT
156	select SYS_CACHE_SHIFT_5
157
158config ARCH_MPC834X
159	bool
160	select SYS_CACHE_SHIFT_5
161
162config ARCH_MPC8360
163	bool
164	select MPC83XX_QUICC_ENGINE
165	select MPC83XX_PCI_SUPPORT
166	select MPC83XX_LDP_PIN
167	select MPC83XX_SECOND_I2C
168	select SYS_CACHE_SHIFT_5
169
170config ARCH_MPC837X
171	bool
172	select MPC83XX_PCI_SUPPORT
173	select MPC83XX_TSEC1_SUPPORT
174	select MPC83XX_TSEC2_SUPPORT
175	select MPC83XX_PCIE1_SUPPORT
176	select MPC83XX_PCIE2_SUPPORT
177	select MPC83XX_SDHC_SUPPORT
178	select MPC83XX_SATA
179	select MPC83XX_LDP_PIN
180	select MPC83XX_SECOND_I2C
181	select SYS_CACHE_SHIFT_5
182	select FSL_ELBC
183
184source "arch/powerpc/cpu/mpc83xx/hrcw/Kconfig"
185source "arch/powerpc/cpu/mpc83xx/bats/Kconfig"
186source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig"
187source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig"
188source "arch/powerpc/cpu/mpc83xx/hid/Kconfig"
189source "arch/powerpc/cpu/mpc83xx/sysio/Kconfig"
190source "arch/powerpc/cpu/mpc83xx/arbiter/Kconfig"
191source "arch/powerpc/cpu/mpc83xx/initreg/Kconfig"
192
193config 83XX_PCICLK
194	hex "PCI clock frequency"
195	default 0xDEADBEEF
196	help
197	  If required, the PCI clock frequency to use when configuring
198	  the host bridge.
199
200config FSL_ELBC
201	bool
202
203config FSL_SERDES
204	bool "SerDes initialization"
205	depends on !MPC83XX_SERDES
206
207config NEVER_ASSERT_ODT_TO_CPU
208	bool "Never assert ODT to internal IOs"
209
210source "board/freescale/mpc837xerdb/Kconfig"
211source "board/gdsys/mpc8308/Kconfig"
212source "board/cssi/cmpcpro/Kconfig"
213
214endmenu
215