xref: /openbmc/linux/arch/powerpc/platforms/44x/Kconfig (revision d236d361)
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 AKEBONO
203	bool "IBM Akebono (476gtr) Support"
204	depends on PPC_47x
205	default n
206	select SWIOTLB
207	select 476FPE
208	select PPC4xx_PCI_EXPRESS
209	select PCI_MSI
210	select PPC4xx_HSTA_MSI
211	select I2C
212	select I2C_IBM_IIC
213	select NETDEVICES
214	select ETHERNET
215	select NET_VENDOR_IBM
216	select IBM_EMAC_EMAC4 if IBM_EMAC
217	select USB if USB_SUPPORT
218	select USB_OHCI_HCD_PLATFORM if USB_OHCI_HCD
219	select USB_EHCI_HCD_PLATFORM if USB_EHCI_HCD
220	select MMC_SDHCI
221	select MMC_SDHCI_PLTFM
222	select ATA
223	select SATA_AHCI_PLATFORM
224	help
225	  This option enables support for the IBM Akebono (476gtr) evaluation board
226
227
228config ICON
229	bool "Icon"
230	depends on 44x
231	default n
232	select PPC44x_SIMPLE
233	select 440SPe
234	select PCI
235	select PPC4xx_PCI_EXPRESS
236	help
237	  This option enables support for the AMCC PPC440SPe evaluation board.
238
239config XILINX_VIRTEX440_GENERIC_BOARD
240	bool "Generic Xilinx Virtex 5 FXT board support"
241	depends on 44x
242	default n
243	select XILINX_VIRTEX_5_FXT
244	select XILINX_INTC
245	help
246	  This option enables generic support for Xilinx Virtex based boards
247	  that use a 440 based processor in the Virtex 5 FXT FPGA architecture.
248
249	  The generic virtex board support matches any device tree which
250	  specifies 'xlnx,virtex440' in its compatible field.  This includes
251	  the Xilinx ML5xx reference designs using the powerpc core.
252
253	  Most Virtex 5 designs should use this unless it needs to do some
254	  special configuration at board probe time.
255
256config XILINX_ML510
257	bool "Xilinx ML510 extra support"
258	depends on XILINX_VIRTEX440_GENERIC_BOARD
259	select PPC_PCI_CHOICE
260	select XILINX_PCI if PCI
261	select PPC_INDIRECT_PCI if PCI
262	select PPC_I8259 if PCI
263	help
264	  This option enables extra support for features on the Xilinx ML510
265	  board.  The ML510 has a PCI bus with ALI south bridge.
266
267config PPC44x_SIMPLE
268	bool "Simple PowerPC 44x board support"
269	depends on 44x
270	default n
271	help
272	  This option enables the simple PowerPC 44x platform support.
273
274config PPC4xx_GPIO
275	bool "PPC4xx GPIO support"
276	depends on 44x
277	select GPIOLIB
278	help
279	  Enable gpiolib support for ppc440 based boards
280
281config PPC4xx_OCM
282	bool "PPC4xx On Chip Memory (OCM) support"
283	depends on 4xx
284	select PPC_LIB_RHEAP
285	help
286	  Enable OCM support for PowerPC 4xx platforms with on chip memory,
287	  OCM provides the fast place for memory access to improve performance.
288
289# 44x specific CPU modules, selected based on the board above.
290config 440EP
291	bool
292	select PPC_FPU
293	select IBM440EP_ERR42
294	select IBM_EMAC_ZMII if IBM_EMAC
295
296config 440EPX
297	bool
298	select PPC_FPU
299	select IBM_EMAC_EMAC4 if IBM_EMAC
300	select IBM_EMAC_RGMII if IBM_EMAC
301	select IBM_EMAC_ZMII if IBM_EMAC
302	select USB_EHCI_BIG_ENDIAN_MMIO
303	select USB_EHCI_BIG_ENDIAN_DESC
304
305config 440GRX
306	bool
307	select IBM_EMAC_EMAC4 if IBM_EMAC
308	select IBM_EMAC_RGMII if IBM_EMAC
309	select IBM_EMAC_ZMII if IBM_EMAC
310
311config 440GP
312	bool
313	select IBM_EMAC_ZMII if IBM_EMAC
314
315config 440GX
316	bool
317	select IBM_EMAC_EMAC4 if IBM_EMAC
318	select IBM_EMAC_RGMII if IBM_EMAC
319	select IBM_EMAC_ZMII if IBM_EMAC #test only
320	select IBM_EMAC_TAH if IBM_EMAC  #test only
321
322config 440SP
323	bool
324
325config 440SPe
326	bool
327	select IBM_EMAC_EMAC4 if IBM_EMAC
328
329config 460EX
330	bool
331	select PPC_FPU
332	select IBM_EMAC_EMAC4 if IBM_EMAC
333	select IBM_EMAC_TAH if IBM_EMAC
334
335config 460SX
336	bool
337	select PPC_FPU
338	select IBM_EMAC_EMAC4 if IBM_EMAC
339	select IBM_EMAC_RGMII if IBM_EMAC
340	select IBM_EMAC_ZMII if IBM_EMAC
341	select IBM_EMAC_TAH if IBM_EMAC
342
343config 476FPE
344	bool
345	select PPC_FPU
346
347config APM821xx
348	bool
349	select PPC_FPU
350	select IBM_EMAC_EMAC4 if IBM_EMAC
351	select IBM_EMAC_TAH if IBM_EMAC
352
353config 476FPE_ERR46
354	depends on 476FPE
355	bool "Enable linker work around for PPC476FPE errata #46"
356	help
357	  This option enables a work around for an icache bug on 476
358	  that can cause execution of stale instructions when falling
359	  through pages (IBM errata #46). It requires a recent version
360	  of binutils which supports the --ppc476-workaround option.
361
362	  The work around enables the appropriate linker options and
363	  ensures that all module output sections are aligned to 4K
364	  page boundaries. The work around is only required when
365	  building modules.
366
367# 44x errata/workaround config symbols, selected by the CPU models above
368config IBM440EP_ERR42
369	bool
370
371# Xilinx specific config options.
372config XILINX_VIRTEX
373	bool
374	select DEFAULT_UIMAGE
375
376# Xilinx Virtex 5 FXT FPGA architecture, selected by a Xilinx board above
377config XILINX_VIRTEX_5_FXT
378	bool
379	select XILINX_VIRTEX
380
381