xref: /linux/arch/powerpc/platforms/44x/Kconfig (revision 06d07429858317ded2db7986113a9e0129cd599b)
1# SPDX-License-Identifier: GPL-2.0
2config PPC_47x
3	bool "Support for 47x variant"
4	depends on 44x
5	select MPIC
6	help
7	  This option enables support for the 47x family of processors and is
8	  not currently compatible with other 44x or 46x variants
9
10config BAMBOO
11	bool "Bamboo"
12	depends on 44x
13	select PPC44x_SIMPLE
14	select 440EP
15	select FORCE_PCI
16	help
17	  This option enables support for the IBM PPC440EP evaluation board.
18
19config BLUESTONE
20	bool "Bluestone"
21	depends on 44x
22	select PPC44x_SIMPLE
23	select APM821xx
24	select FORCE_PCI
25	select PCI_MSI
26	select PPC4xx_PCI_EXPRESS
27	select IBM_EMAC_RGMII if IBM_EMAC
28	help
29	  This option enables support for the APM APM821xx Evaluation board.
30
31config EBONY
32	bool "Ebony"
33	depends on 44x
34	default y
35	select 440GP
36	select FORCE_PCI
37	select OF_RTC
38	help
39	  This option enables support for the IBM PPC440GP evaluation board.
40
41config SAM440EP
42	bool "Sam440ep"
43	depends on 44x
44	select 440EP
45	select FORCE_PCI
46	help
47	  This option enables support for the ACube Sam440ep board.
48
49config SEQUOIA
50	bool "Sequoia"
51	depends on 44x
52	select PPC44x_SIMPLE
53	select 440EPX
54	help
55	  This option enables support for the AMCC PPC440EPX evaluation board.
56
57config TAISHAN
58	bool "Taishan"
59	depends on 44x
60	select PPC44x_SIMPLE
61	select 440GX
62	select FORCE_PCI
63	help
64	  This option enables support for the AMCC PPC440GX "Taishan"
65	  evaluation board.
66
67config KATMAI
68	bool "Katmai"
69	depends on 44x
70	select PPC44x_SIMPLE
71	select 440SPe
72	select FORCE_PCI
73	select PPC4xx_PCI_EXPRESS
74	select PCI_MSI
75	help
76	  This option enables support for the AMCC PPC440SPe evaluation board.
77
78config RAINIER
79	bool "Rainier"
80	depends on 44x
81	select PPC44x_SIMPLE
82	select 440GRX
83	select FORCE_PCI
84	help
85	  This option enables support for the AMCC PPC440GRX evaluation board.
86
87config WARP
88	bool "PIKA Warp"
89	depends on 44x
90	select 440EP
91	help
92	  This option enables support for the PIKA Warp(tm) Appliance. The Warp
93	  is a small computer replacement with up to 9 ports of FXO/FXS plus VOIP
94	  stations and trunks.
95
96	  See http://www.pikatechnologies.com/ and follow the "PIKA for Computer
97	  Telephony Developers" link for more information.
98
99config ARCHES
100	bool "Arches"
101	depends on 44x
102	select PPC44x_SIMPLE
103	select 460EX # Odd since it uses 460GT but the effects are the same
104	select FORCE_PCI
105	select PPC4xx_PCI_EXPRESS
106	help
107	  This option enables support for the AMCC Dual PPC460GT evaluation board.
108
109config CANYONLANDS
110	bool "Canyonlands"
111	depends on 44x
112	select 460EX
113	select FORCE_PCI
114	select PPC4xx_PCI_EXPRESS
115	select PCI_MSI
116	select IBM_EMAC_RGMII if IBM_EMAC
117	select IBM_EMAC_ZMII if IBM_EMAC
118	help
119	  This option enables support for the AMCC PPC460EX evaluation board.
120
121config GLACIER
122	bool "Glacier"
123	depends on 44x
124	select PPC44x_SIMPLE
125	select 460EX # Odd since it uses 460GT but the effects are the same
126	select FORCE_PCI
127	select PPC4xx_PCI_EXPRESS
128	select IBM_EMAC_RGMII if IBM_EMAC
129	select IBM_EMAC_ZMII if IBM_EMAC
130	help
131	  This option enables support for the AMCC PPC460GT evaluation board.
132
133config REDWOOD
134	bool "Redwood"
135	depends on 44x
136	select PPC44x_SIMPLE
137	select 460SX
138	select FORCE_PCI
139	select PPC4xx_PCI_EXPRESS
140	select PCI_MSI
141	help
142	  This option enables support for the AMCC PPC460SX Redwood board.
143
144config EIGER
145	bool "Eiger"
146	depends on 44x
147	select PPC44x_SIMPLE
148	select 460SX
149	select FORCE_PCI
150	select PPC4xx_PCI_EXPRESS
151	select IBM_EMAC_RGMII if IBM_EMAC
152	help
153	  This option enables support for the AMCC PPC460SX evaluation board.
154
155config YOSEMITE
156	bool "Yosemite"
157	depends on 44x
158	select PPC44x_SIMPLE
159	select 440EP
160	select FORCE_PCI
161	help
162	  This option enables support for the AMCC PPC440EP evaluation board.
163
164config ISS4xx
165	bool "ISS 4xx Simulator"
166	depends on 44x
167	select 440GP if 44x && !PPC_47x
168	select PPC_FPU
169	select OF_RTC
170	help
171	  This option enables support for the IBM ISS simulation environment
172
173config CURRITUCK
174	bool "IBM Currituck (476fpe) Support"
175	depends on PPC_47x
176	select I2C
177	select SWIOTLB
178	select 476FPE
179	select FORCE_PCI
180	select PPC4xx_PCI_EXPRESS
181	help
182	  This option enables support for the IBM Currituck (476fpe) evaluation board
183
184config FSP2
185	bool "IBM FSP2 (476fpe) Support"
186	depends on PPC_47x
187	select 476FPE
188	select IBM_EMAC_EMAC4 if IBM_EMAC
189	select IBM_EMAC_RGMII if IBM_EMAC
190	select COMMON_CLK
191	select DEFAULT_UIMAGE
192	help
193	  This option enables support for the IBM FSP2 (476fpe) board
194
195config AKEBONO
196	bool "IBM Akebono (476gtr) Support"
197	depends on PPC_47x
198	select SWIOTLB
199	select 476FPE
200	select PPC4xx_PCI_EXPRESS
201	select FORCE_PCI
202	select PCI_MSI
203	select PPC4xx_HSTA_MSI
204	select I2C
205	select I2C_IBM_IIC
206	select IBM_EMAC_EMAC4 if IBM_EMAC
207	select USB if USB_SUPPORT
208	select USB_OHCI_HCD_PLATFORM if USB_OHCI_HCD
209	select USB_EHCI_HCD_PLATFORM if USB_EHCI_HCD
210	help
211	  This option enables support for the IBM Akebono (476gtr) evaluation board
212
213
214config ICON
215	bool "Icon"
216	depends on 44x
217	select PPC44x_SIMPLE
218	select 440SPe
219	select FORCE_PCI
220	select PPC4xx_PCI_EXPRESS
221	help
222	  This option enables support for the AMCC PPC440SPe evaluation board.
223
224config PPC44x_SIMPLE
225	bool "Simple PowerPC 44x board support"
226	depends on 44x
227	help
228	  This option enables the simple PowerPC 44x platform support.
229
230config PPC4xx_GPIO
231	bool "PPC4xx GPIO support"
232	depends on 44x
233	select GPIOLIB
234	select OF_GPIO_MM_GPIOCHIP
235	help
236	  Enable gpiolib support for ppc440 based boards
237
238# 44x specific CPU modules, selected based on the board above.
239config 440EP
240	bool
241	select PPC_FPU
242	select IBM440EP_ERR42
243	select IBM_EMAC_ZMII if IBM_EMAC
244
245config 440EPX
246	bool
247	select PPC_FPU
248	select IBM_EMAC_EMAC4 if IBM_EMAC
249	select IBM_EMAC_RGMII if IBM_EMAC
250	select IBM_EMAC_ZMII if IBM_EMAC
251	select USB_EHCI_BIG_ENDIAN_MMIO
252	select USB_EHCI_BIG_ENDIAN_DESC
253
254config 440GRX
255	bool
256	select IBM_EMAC_EMAC4 if IBM_EMAC
257	select IBM_EMAC_RGMII if IBM_EMAC
258	select IBM_EMAC_ZMII if IBM_EMAC
259
260config 440GP
261	bool
262	select IBM_EMAC_ZMII if IBM_EMAC
263
264config 440GX
265	bool
266	select IBM_EMAC_EMAC4 if IBM_EMAC
267	select IBM_EMAC_RGMII if IBM_EMAC
268	select IBM_EMAC_ZMII if IBM_EMAC #test only
269	select IBM_EMAC_TAH if IBM_EMAC  #test only
270
271config 440SP
272	bool
273
274config 440SPe
275	bool
276	select IBM_EMAC_EMAC4 if IBM_EMAC
277
278config 460EX
279	bool
280	select PPC_FPU
281	select IBM_EMAC_EMAC4 if IBM_EMAC
282	select IBM_EMAC_TAH if IBM_EMAC
283
284config 460SX
285	bool
286	select PPC_FPU
287	select IBM_EMAC_EMAC4 if IBM_EMAC
288	select IBM_EMAC_RGMII if IBM_EMAC
289	select IBM_EMAC_ZMII if IBM_EMAC
290	select IBM_EMAC_TAH if IBM_EMAC
291
292config 476FPE
293	bool
294	select PPC_FPU
295
296config APM821xx
297	bool
298	select PPC_FPU
299	select IBM_EMAC_EMAC4 if IBM_EMAC
300	select IBM_EMAC_TAH if IBM_EMAC
301
302config 476FPE_ERR46
303	depends on 476FPE
304	bool "Enable linker work around for PPC476FPE errata #46"
305	help
306	  This option enables a work around for an icache bug on 476
307	  that can cause execution of stale instructions when falling
308	  through pages (IBM errata #46). It requires a recent version
309	  of binutils which supports the --ppc476-workaround option.
310
311	  The work around enables the appropriate linker options and
312	  ensures that all module output sections are aligned to 4K
313	  page boundaries. The work around is only required when
314	  building modules.
315
316# 44x errata/workaround config symbols, selected by the CPU models above
317config IBM440EP_ERR42
318	bool
319
320