xref: /linux/arch/powerpc/platforms/44x/Kconfig (revision 164666fa66669d437bdcc8d5f1744a2aee73be41)
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 SWIOTLB
177	select 476FPE
178	select FORCE_PCI
179	select PPC4xx_PCI_EXPRESS
180	help
181	  This option enables support for the IBM Currituck (476fpe) evaluation board
182
183config FSP2
184	bool "IBM FSP2 (476fpe) Support"
185	depends on PPC_47x
186	select 476FPE
187	select IBM_EMAC_EMAC4 if IBM_EMAC
188	select IBM_EMAC_RGMII if IBM_EMAC
189	select COMMON_CLK
190	select DEFAULT_UIMAGE
191	help
192	  This option enables support for the IBM FSP2 (476fpe) board
193
194config AKEBONO
195	bool "IBM Akebono (476gtr) Support"
196	depends on PPC_47x
197	select SWIOTLB
198	select 476FPE
199	select PPC4xx_PCI_EXPRESS
200	select FORCE_PCI
201	select PCI_MSI
202	select PPC4xx_HSTA_MSI
203	select I2C
204	select I2C_IBM_IIC
205	select IBM_EMAC_EMAC4 if IBM_EMAC
206	select USB if USB_SUPPORT
207	select USB_OHCI_HCD_PLATFORM if USB_OHCI_HCD
208	select USB_EHCI_HCD_PLATFORM if USB_EHCI_HCD
209	help
210	  This option enables support for the IBM Akebono (476gtr) evaluation board
211
212
213config ICON
214	bool "Icon"
215	depends on 44x
216	select PPC44x_SIMPLE
217	select 440SPe
218	select FORCE_PCI
219	select PPC4xx_PCI_EXPRESS
220	help
221	  This option enables support for the AMCC PPC440SPe evaluation board.
222
223config PPC44x_SIMPLE
224	bool "Simple PowerPC 44x board support"
225	depends on 44x
226	help
227	  This option enables the simple PowerPC 44x platform support.
228
229config PPC4xx_GPIO
230	bool "PPC4xx GPIO support"
231	depends on 44x
232	select GPIOLIB
233	help
234	  Enable gpiolib support for ppc440 based boards
235
236# 44x specific CPU modules, selected based on the board above.
237config 440EP
238	bool
239	select PPC_FPU
240	select IBM440EP_ERR42
241	select IBM_EMAC_ZMII if IBM_EMAC
242
243config 440EPX
244	bool
245	select PPC_FPU
246	select IBM_EMAC_EMAC4 if IBM_EMAC
247	select IBM_EMAC_RGMII if IBM_EMAC
248	select IBM_EMAC_ZMII if IBM_EMAC
249	select USB_EHCI_BIG_ENDIAN_MMIO
250	select USB_EHCI_BIG_ENDIAN_DESC
251
252config 440GRX
253	bool
254	select IBM_EMAC_EMAC4 if IBM_EMAC
255	select IBM_EMAC_RGMII if IBM_EMAC
256	select IBM_EMAC_ZMII if IBM_EMAC
257
258config 440GP
259	bool
260	select IBM_EMAC_ZMII if IBM_EMAC
261
262config 440GX
263	bool
264	select IBM_EMAC_EMAC4 if IBM_EMAC
265	select IBM_EMAC_RGMII if IBM_EMAC
266	select IBM_EMAC_ZMII if IBM_EMAC #test only
267	select IBM_EMAC_TAH if IBM_EMAC  #test only
268
269config 440SP
270	bool
271
272config 440SPe
273	bool
274	select IBM_EMAC_EMAC4 if IBM_EMAC
275
276config 460EX
277	bool
278	select PPC_FPU
279	select IBM_EMAC_EMAC4 if IBM_EMAC
280	select IBM_EMAC_TAH if IBM_EMAC
281
282config 460SX
283	bool
284	select PPC_FPU
285	select IBM_EMAC_EMAC4 if IBM_EMAC
286	select IBM_EMAC_RGMII if IBM_EMAC
287	select IBM_EMAC_ZMII if IBM_EMAC
288	select IBM_EMAC_TAH if IBM_EMAC
289
290config 476FPE
291	bool
292	select PPC_FPU
293
294config APM821xx
295	bool
296	select PPC_FPU
297	select IBM_EMAC_EMAC4 if IBM_EMAC
298	select IBM_EMAC_TAH if IBM_EMAC
299
300config 476FPE_ERR46
301	depends on 476FPE
302	bool "Enable linker work around for PPC476FPE errata #46"
303	help
304	  This option enables a work around for an icache bug on 476
305	  that can cause execution of stale instructions when falling
306	  through pages (IBM errata #46). It requires a recent version
307	  of binutils which supports the --ppc476-workaround option.
308
309	  The work around enables the appropriate linker options and
310	  ensures that all module output sections are aligned to 4K
311	  page boundaries. The work around is only required when
312	  building modules.
313
314# 44x errata/workaround config symbols, selected by the CPU models above
315config IBM440EP_ERR42
316	bool
317
318