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