xref: /openbmc/linux/arch/powerpc/platforms/44x/Kconfig (revision 74ce1896)
1config PPC_47x
2	bool "Support for 47x variant"
3	depends on 44x
4	default n
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 varients
9
10config BAMBOO
11	bool "Bamboo"
12	depends on 44x
13	default n
14	select PPC44x_SIMPLE
15	select 440EP
16	select PCI
17	help
18	  This option enables support for the IBM PPC440EP evaluation board.
19
20config BLUESTONE
21	bool "Bluestone"
22	depends on 44x
23	default n
24	select PPC44x_SIMPLE
25	select APM821xx
26	select PCI_MSI
27	select PPC4xx_MSI
28	select PPC4xx_PCI_EXPRESS
29	select IBM_EMAC_RGMII if IBM_EMAC
30	help
31	  This option enables support for the APM APM821xx Evaluation board.
32
33config EBONY
34	bool "Ebony"
35	depends on 44x
36	default y
37	select 440GP
38	select PCI
39	select OF_RTC
40	help
41	  This option enables support for the IBM PPC440GP evaluation board.
42
43config SAM440EP
44        bool "Sam440ep"
45	depends on 44x
46        default n
47        select 440EP
48        select PCI
49        help
50          This option enables support for the ACube Sam440ep board.
51
52config SEQUOIA
53	bool "Sequoia"
54	depends on 44x
55	default n
56	select PPC44x_SIMPLE
57	select 440EPX
58	help
59	  This option enables support for the AMCC PPC440EPX evaluation board.
60
61config TAISHAN
62	bool "Taishan"
63	depends on 44x
64	default n
65	select PPC44x_SIMPLE
66	select 440GX
67	select PCI
68	help
69	  This option enables support for the AMCC PPC440GX "Taishan"
70	  evaluation board.
71
72config KATMAI
73	bool "Katmai"
74	depends on 44x
75	default n
76	select PPC44x_SIMPLE
77	select 440SPe
78	select PCI
79	select PPC4xx_PCI_EXPRESS
80	select PCI_MSI
81	select PPC4xx_MSI
82	help
83	  This option enables support for the AMCC PPC440SPe evaluation board.
84
85config RAINIER
86	bool "Rainier"
87	depends on 44x
88	default n
89	select PPC44x_SIMPLE
90	select 440GRX
91	select PCI
92	help
93	  This option enables support for the AMCC PPC440GRX evaluation board.
94
95config WARP
96	bool "PIKA Warp"
97	depends on 44x
98	default n
99	select 440EP
100	help
101	  This option enables support for the PIKA Warp(tm) Appliance. The Warp
102	  is a small computer replacement with up to 9 ports of FXO/FXS plus VOIP
103	  stations and trunks.
104
105	  See http://www.pikatechnologies.com/ and follow the "PIKA for Computer
106	  Telephony Developers" link for more information.
107
108config ARCHES
109	bool "Arches"
110	depends on 44x
111	default n
112	select PPC44x_SIMPLE
113	select 460EX # Odd since it uses 460GT but the effects are the same
114	select PCI
115	select PPC4xx_PCI_EXPRESS
116	help
117	  This option enables support for the AMCC Dual PPC460GT evaluation board.
118
119config CANYONLANDS
120	bool "Canyonlands"
121	depends on 44x
122	default n
123	select 460EX
124	select PCI
125	select PPC4xx_PCI_EXPRESS
126	select PCI_MSI
127	select PPC4xx_MSI
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 PPC460EX evaluation board.
132
133config GLACIER
134	bool "Glacier"
135	depends on 44x
136	default n
137	select PPC44x_SIMPLE
138	select 460EX # Odd since it uses 460GT but the effects are the same
139	select PCI
140	select PPC4xx_PCI_EXPRESS
141	select IBM_EMAC_RGMII if IBM_EMAC
142	select IBM_EMAC_ZMII if IBM_EMAC
143	help
144	  This option enables support for the AMCC PPC460GT evaluation board.
145
146config REDWOOD
147	bool "Redwood"
148	depends on 44x
149	default n
150	select PPC44x_SIMPLE
151	select 460SX
152	select PCI
153	select PPC4xx_PCI_EXPRESS
154	select PCI_MSI
155	select PPC4xx_MSI
156	help
157	  This option enables support for the AMCC PPC460SX Redwood board.
158
159config EIGER
160	bool "Eiger"
161	depends on 44x
162	default n
163	select PPC44x_SIMPLE
164	select 460SX
165	select PCI
166	select PPC4xx_PCI_EXPRESS
167	select IBM_EMAC_RGMII if IBM_EMAC
168	help
169	  This option enables support for the AMCC PPC460SX evaluation board.
170
171config YOSEMITE
172	bool "Yosemite"
173	depends on 44x
174	default n
175	select PPC44x_SIMPLE
176	select 440EP
177	select PCI
178	help
179	  This option enables support for the AMCC PPC440EP evaluation board.
180
181config ISS4xx
182	bool "ISS 4xx Simulator"
183	depends on (44x || 40x)
184	default n
185	select 405GP if 40x
186	select 440GP if 44x && !PPC_47x
187	select PPC_FPU
188	select OF_RTC
189	help
190	  This option enables support for the IBM ISS simulation environment
191
192config CURRITUCK
193	bool "IBM Currituck (476fpe) Support"
194	depends on PPC_47x
195	default n
196	select SWIOTLB
197	select 476FPE
198	select PPC4xx_PCI_EXPRESS
199	help
200	  This option enables support for the IBM Currituck (476fpe) evaluation board
201
202config FSP2
203	bool "IBM FSP2 (476fpe) Support"
204	depends on PPC_47x
205	default n
206	select 476FPE
207	select IBM_EMAC_EMAC4 if IBM_EMAC
208	select IBM_EMAC_RGMII if IBM_EMAC
209	select COMMON_CLK
210	select DEFAULT_UIMAGE
211	help
212	  This option enables support for the IBM FSP2 (476fpe) board
213
214config AKEBONO
215	bool "IBM Akebono (476gtr) Support"
216	depends on PPC_47x
217	default n
218	select SWIOTLB
219	select 476FPE
220	select PPC4xx_PCI_EXPRESS
221	select PCI_MSI
222	select PPC4xx_HSTA_MSI
223	select I2C
224	select I2C_IBM_IIC
225	select NETDEVICES
226	select ETHERNET
227	select NET_VENDOR_IBM
228	select IBM_EMAC_EMAC4 if IBM_EMAC
229	select USB if USB_SUPPORT
230	select USB_OHCI_HCD_PLATFORM if USB_OHCI_HCD
231	select USB_EHCI_HCD_PLATFORM if USB_EHCI_HCD
232	select MMC_SDHCI
233	select MMC_SDHCI_PLTFM
234	select ATA
235	select SATA_AHCI_PLATFORM
236	help
237	  This option enables support for the IBM Akebono (476gtr) evaluation board
238
239
240config ICON
241	bool "Icon"
242	depends on 44x
243	default n
244	select PPC44x_SIMPLE
245	select 440SPe
246	select PCI
247	select PPC4xx_PCI_EXPRESS
248	help
249	  This option enables support for the AMCC PPC440SPe evaluation board.
250
251config XILINX_VIRTEX440_GENERIC_BOARD
252	bool "Generic Xilinx Virtex 5 FXT board support"
253	depends on 44x
254	default n
255	select XILINX_VIRTEX_5_FXT
256	select XILINX_INTC
257	help
258	  This option enables generic support for Xilinx Virtex based boards
259	  that use a 440 based processor in the Virtex 5 FXT FPGA architecture.
260
261	  The generic virtex board support matches any device tree which
262	  specifies 'xlnx,virtex440' in its compatible field.  This includes
263	  the Xilinx ML5xx reference designs using the powerpc core.
264
265	  Most Virtex 5 designs should use this unless it needs to do some
266	  special configuration at board probe time.
267
268config XILINX_ML510
269	bool "Xilinx ML510 extra support"
270	depends on XILINX_VIRTEX440_GENERIC_BOARD
271	select PPC_PCI_CHOICE
272	select XILINX_PCI if PCI
273	select PPC_INDIRECT_PCI if PCI
274	select PPC_I8259 if PCI
275	help
276	  This option enables extra support for features on the Xilinx ML510
277	  board.  The ML510 has a PCI bus with ALI south bridge.
278
279config PPC44x_SIMPLE
280	bool "Simple PowerPC 44x board support"
281	depends on 44x
282	default n
283	help
284	  This option enables the simple PowerPC 44x platform support.
285
286config PPC4xx_GPIO
287	bool "PPC4xx GPIO support"
288	depends on 44x
289	select GPIOLIB
290	help
291	  Enable gpiolib support for ppc440 based boards
292
293config PPC4xx_OCM
294	bool "PPC4xx On Chip Memory (OCM) support"
295	depends on 4xx
296	select PPC_LIB_RHEAP
297	help
298	  Enable OCM support for PowerPC 4xx platforms with on chip memory,
299	  OCM provides the fast place for memory access to improve performance.
300
301# 44x specific CPU modules, selected based on the board above.
302config 440EP
303	bool
304	select PPC_FPU
305	select IBM440EP_ERR42
306	select IBM_EMAC_ZMII if IBM_EMAC
307
308config 440EPX
309	bool
310	select PPC_FPU
311	select IBM_EMAC_EMAC4 if IBM_EMAC
312	select IBM_EMAC_RGMII if IBM_EMAC
313	select IBM_EMAC_ZMII if IBM_EMAC
314	select USB_EHCI_BIG_ENDIAN_MMIO
315	select USB_EHCI_BIG_ENDIAN_DESC
316
317config 440GRX
318	bool
319	select IBM_EMAC_EMAC4 if IBM_EMAC
320	select IBM_EMAC_RGMII if IBM_EMAC
321	select IBM_EMAC_ZMII if IBM_EMAC
322
323config 440GP
324	bool
325	select IBM_EMAC_ZMII if IBM_EMAC
326
327config 440GX
328	bool
329	select IBM_EMAC_EMAC4 if IBM_EMAC
330	select IBM_EMAC_RGMII if IBM_EMAC
331	select IBM_EMAC_ZMII if IBM_EMAC #test only
332	select IBM_EMAC_TAH if IBM_EMAC  #test only
333
334config 440SP
335	bool
336
337config 440SPe
338	bool
339	select IBM_EMAC_EMAC4 if IBM_EMAC
340
341config 460EX
342	bool
343	select PPC_FPU
344	select IBM_EMAC_EMAC4 if IBM_EMAC
345	select IBM_EMAC_TAH if IBM_EMAC
346
347config 460SX
348	bool
349	select PPC_FPU
350	select IBM_EMAC_EMAC4 if IBM_EMAC
351	select IBM_EMAC_RGMII if IBM_EMAC
352	select IBM_EMAC_ZMII if IBM_EMAC
353	select IBM_EMAC_TAH if IBM_EMAC
354
355config 476FPE
356	bool
357	select PPC_FPU
358
359config APM821xx
360	bool
361	select PPC_FPU
362	select IBM_EMAC_EMAC4 if IBM_EMAC
363	select IBM_EMAC_TAH if IBM_EMAC
364
365config 476FPE_ERR46
366	depends on 476FPE
367	bool "Enable linker work around for PPC476FPE errata #46"
368	help
369	  This option enables a work around for an icache bug on 476
370	  that can cause execution of stale instructions when falling
371	  through pages (IBM errata #46). It requires a recent version
372	  of binutils which supports the --ppc476-workaround option.
373
374	  The work around enables the appropriate linker options and
375	  ensures that all module output sections are aligned to 4K
376	  page boundaries. The work around is only required when
377	  building modules.
378
379# 44x errata/workaround config symbols, selected by the CPU models above
380config IBM440EP_ERR42
381	bool
382
383# Xilinx specific config options.
384config XILINX_VIRTEX
385	bool
386	select DEFAULT_UIMAGE
387
388# Xilinx Virtex 5 FXT FPGA architecture, selected by a Xilinx board above
389config XILINX_VIRTEX_5_FXT
390	bool
391	select XILINX_VIRTEX
392
393