xref: /openbmc/linux/arch/powerpc/platforms/44x/Kconfig (revision ffcdf473)
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	select OF_GPIO_MM_GPIOCHIP
234	help
235	  Enable gpiolib support for ppc440 based boards
236
237# 44x specific CPU modules, selected based on the board above.
238config 440EP
239	bool
240	select PPC_FPU
241	select IBM440EP_ERR42
242	select IBM_EMAC_ZMII if IBM_EMAC
243
244config 440EPX
245	bool
246	select PPC_FPU
247	select IBM_EMAC_EMAC4 if IBM_EMAC
248	select IBM_EMAC_RGMII if IBM_EMAC
249	select IBM_EMAC_ZMII if IBM_EMAC
250	select USB_EHCI_BIG_ENDIAN_MMIO
251	select USB_EHCI_BIG_ENDIAN_DESC
252
253config 440GRX
254	bool
255	select IBM_EMAC_EMAC4 if IBM_EMAC
256	select IBM_EMAC_RGMII if IBM_EMAC
257	select IBM_EMAC_ZMII if IBM_EMAC
258
259config 440GP
260	bool
261	select IBM_EMAC_ZMII if IBM_EMAC
262
263config 440GX
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 #test only
268	select IBM_EMAC_TAH if IBM_EMAC  #test only
269
270config 440SP
271	bool
272
273config 440SPe
274	bool
275	select IBM_EMAC_EMAC4 if IBM_EMAC
276
277config 460EX
278	bool
279	select PPC_FPU
280	select IBM_EMAC_EMAC4 if IBM_EMAC
281	select IBM_EMAC_TAH if IBM_EMAC
282
283config 460SX
284	bool
285	select PPC_FPU
286	select IBM_EMAC_EMAC4 if IBM_EMAC
287	select IBM_EMAC_RGMII if IBM_EMAC
288	select IBM_EMAC_ZMII if IBM_EMAC
289	select IBM_EMAC_TAH if IBM_EMAC
290
291config 476FPE
292	bool
293	select PPC_FPU
294
295config APM821xx
296	bool
297	select PPC_FPU
298	select IBM_EMAC_EMAC4 if IBM_EMAC
299	select IBM_EMAC_TAH if IBM_EMAC
300
301config 476FPE_ERR46
302	depends on 476FPE
303	bool "Enable linker work around for PPC476FPE errata #46"
304	help
305	  This option enables a work around for an icache bug on 476
306	  that can cause execution of stale instructions when falling
307	  through pages (IBM errata #46). It requires a recent version
308	  of binutils which supports the --ppc476-workaround option.
309
310	  The work around enables the appropriate linker options and
311	  ensures that all module output sections are aligned to 4K
312	  page boundaries. The work around is only required when
313	  building modules.
314
315# 44x errata/workaround config symbols, selected by the CPU models above
316config IBM440EP_ERR42
317	bool
318
319