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