xref: /openbmc/linux/arch/arm/mach-omap2/Kconfig (revision 24942e8a)
1if ARCH_OMAP2PLUS
2
3menu "TI OMAP2/3/4 Specific Features"
4
5config ARCH_OMAP2PLUS_TYPICAL
6	bool "Typical OMAP configuration"
7	default y
8	select AEABI
9	select HIGHMEM
10	select I2C
11	select I2C_OMAP
12	select MENELAUS if ARCH_OMAP2
13	select NEON if ARCH_OMAP3 || ARCH_OMAP4 || SOC_OMAP5
14	select PM_RUNTIME
15	select REGULATOR
16	select SERIAL_OMAP
17	select SERIAL_OMAP_CONSOLE
18	select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
19	select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
20	select VFP
21	help
22	  Compile a kernel suitable for booting most boards
23
24config SOC_HAS_OMAP2_SDRC
25	bool "OMAP2 SDRAM Controller support"
26
27config SOC_HAS_REALTIME_COUNTER
28	bool "Real time free running counter"
29
30config ARCH_OMAP2
31	bool "TI OMAP2"
32	depends on ARCH_OMAP2PLUS
33	default y
34	select CPU_V6
35	select MULTI_IRQ_HANDLER
36	select SOC_HAS_OMAP2_SDRC
37
38config ARCH_OMAP3
39	bool "TI OMAP3"
40	depends on ARCH_OMAP2PLUS
41	default y
42	select ARCH_HAS_OPP
43	select ARM_CPU_SUSPEND if PM
44	select CPU_V7
45	select MULTI_IRQ_HANDLER
46	select OMAP_INTERCONNECT
47	select PM_OPP if PM
48	select PM_RUNTIME if CPU_IDLE
49	select SOC_HAS_OMAP2_SDRC
50	select USB_ARCH_HAS_EHCI if USB_SUPPORT
51
52config ARCH_OMAP4
53	bool "TI OMAP4"
54	default y
55	depends on ARCH_OMAP2PLUS
56	select ARCH_HAS_OPP
57	select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
58	select ARM_CPU_SUSPEND if PM
59	select ARM_ERRATA_720789
60	select ARM_GIC
61	select CACHE_L2X0
62	select CPU_V7
63	select HAVE_SMP
64	select LOCAL_TIMERS if SMP
65	select OMAP_INTERCONNECT
66	select PL310_ERRATA_588369
67	select PL310_ERRATA_727915
68	select PM_OPP if PM
69	select PM_RUNTIME if CPU_IDLE
70	select USB_ARCH_HAS_EHCI if USB_SUPPORT
71
72config SOC_OMAP5
73	bool "TI OMAP5"
74	select ARM_ARCH_TIMER
75	select ARM_CPU_SUSPEND if PM
76	select ARM_GIC
77	select CPU_V7
78	select HAVE_SMP
79	select SOC_HAS_REALTIME_COUNTER
80
81comment "OMAP Core Type"
82	depends on ARCH_OMAP2
83
84config SOC_OMAP2420
85	bool "OMAP2420 support"
86	depends on ARCH_OMAP2
87	default y
88	select OMAP_DM_TIMER
89	select SOC_HAS_OMAP2_SDRC
90
91config SOC_OMAP2430
92	bool "OMAP2430 support"
93	depends on ARCH_OMAP2
94	default y
95	select SOC_HAS_OMAP2_SDRC
96
97config SOC_OMAP3430
98	bool "OMAP3430 support"
99	depends on ARCH_OMAP3
100	default y
101	select SOC_HAS_OMAP2_SDRC
102
103config SOC_TI81XX
104	bool "TI81XX support"
105	depends on ARCH_OMAP3
106	default y
107
108config SOC_AM33XX
109	bool "AM33XX support"
110	default y
111	select ARM_CPU_SUSPEND if PM
112	select CPU_V7
113	select MULTI_IRQ_HANDLER
114
115config OMAP_PACKAGE_ZAF
116       bool
117
118config OMAP_PACKAGE_ZAC
119       bool
120
121config OMAP_PACKAGE_CBC
122       bool
123
124config OMAP_PACKAGE_CBB
125       bool
126
127config OMAP_PACKAGE_CUS
128       bool
129
130config OMAP_PACKAGE_CBP
131       bool
132
133config OMAP_PACKAGE_CBL
134       bool
135
136config OMAP_PACKAGE_CBS
137       bool
138
139comment "OMAP Board Type"
140	depends on ARCH_OMAP2PLUS
141
142config MACH_OMAP_GENERIC
143	bool "Generic OMAP2+ board"
144	depends on ARCH_OMAP2PLUS
145	default y
146	help
147	  Support for generic TI OMAP2+ boards using Flattened Device Tree.
148	  More information at Documentation/devicetree
149
150config MACH_OMAP2_TUSB6010
151	bool
152	depends on ARCH_OMAP2 && SOC_OMAP2420
153	default y if MACH_NOKIA_N8X0
154
155config MACH_OMAP_H4
156	bool "OMAP 2420 H4 board"
157	depends on SOC_OMAP2420
158	default y
159	select OMAP_DEBUG_DEVICES
160	select OMAP_PACKAGE_ZAF
161
162config MACH_OMAP_APOLLON
163	bool "OMAP 2420 Apollon board"
164	depends on SOC_OMAP2420
165	default y
166	select OMAP_PACKAGE_ZAC
167
168config MACH_OMAP_2430SDP
169	bool "OMAP 2430 SDP board"
170	depends on SOC_OMAP2430
171	default y
172	select OMAP_PACKAGE_ZAC
173
174config MACH_OMAP3_BEAGLE
175	bool "OMAP3 BEAGLE board"
176	depends on ARCH_OMAP3
177	default y
178	select OMAP_PACKAGE_CBB
179
180config MACH_DEVKIT8000
181	bool "DEVKIT8000 board"
182	depends on ARCH_OMAP3
183	default y
184	select OMAP_PACKAGE_CUS
185
186config MACH_OMAP_LDP
187	bool "OMAP3 LDP board"
188	depends on ARCH_OMAP3
189	default y
190	select OMAP_PACKAGE_CBB
191
192config MACH_OMAP3530_LV_SOM
193	bool "OMAP3 Logic 3530 LV SOM board"
194	depends on ARCH_OMAP3
195	default y
196	select OMAP_PACKAGE_CBB
197	help
198	 Support for the LogicPD OMAP3530 SOM Development kit
199	 for full description please see the products webpage at
200	 http://www.logicpd.com/products/development-kits/texas-instruments-zoom%E2%84%A2-omap35x-development-kit
201
202config MACH_OMAP3_TORPEDO
203	bool "OMAP3 Logic 35x Torpedo board"
204	depends on ARCH_OMAP3
205	default y
206	select OMAP_PACKAGE_CBB
207	help
208	 Support for the LogicPD OMAP35x Torpedo Development kit
209	 for full description please see the products webpage at
210	 http://www.logicpd.com/products/development-kits/zoom-omap35x-torpedo-development-kit
211
212config MACH_OVERO
213	bool "Gumstix Overo board"
214	depends on ARCH_OMAP3
215	default y
216	select OMAP_PACKAGE_CBB
217
218config MACH_OMAP3EVM
219	bool "OMAP 3530 EVM board"
220	depends on ARCH_OMAP3
221	default y
222	select OMAP_PACKAGE_CBB
223
224config MACH_OMAP3517EVM
225	bool "OMAP3517/ AM3517 EVM board"
226	depends on ARCH_OMAP3
227	default y
228	select OMAP_PACKAGE_CBB
229
230config MACH_CRANEBOARD
231	bool "AM3517/05 CRANE board"
232	depends on ARCH_OMAP3
233	select OMAP_PACKAGE_CBB
234
235config MACH_OMAP3_PANDORA
236	bool "OMAP3 Pandora"
237	depends on ARCH_OMAP3
238	default y
239	select OMAP_PACKAGE_CBB
240	select REGULATOR_FIXED_VOLTAGE if REGULATOR
241
242config MACH_TOUCHBOOK
243	bool "OMAP3 Touch Book"
244	depends on ARCH_OMAP3
245	default y
246	select OMAP_PACKAGE_CBB
247
248config MACH_OMAP_3430SDP
249	bool "OMAP 3430 SDP board"
250	depends on ARCH_OMAP3
251	default y
252	select OMAP_PACKAGE_CBB
253
254config MACH_NOKIA_N800
255       bool
256
257config MACH_NOKIA_N810
258       bool
259
260config MACH_NOKIA_N810_WIMAX
261       bool
262
263config MACH_NOKIA_N8X0
264	bool "Nokia N800/N810"
265	depends on SOC_OMAP2420
266	default y
267	select MACH_NOKIA_N800
268	select MACH_NOKIA_N810
269	select MACH_NOKIA_N810_WIMAX
270	select OMAP_PACKAGE_ZAC
271
272config MACH_NOKIA_RM680
273	bool "Nokia RM-680/696 board"
274	depends on ARCH_OMAP3
275	default y
276	select MACH_NOKIA_RM696
277	select OMAP_PACKAGE_CBB
278
279config MACH_NOKIA_RX51
280	bool "Nokia RX-51 board"
281	depends on ARCH_OMAP3
282	default y
283	select OMAP_PACKAGE_CBB
284
285config MACH_OMAP_ZOOM2
286	bool "OMAP3 Zoom2 board"
287	depends on ARCH_OMAP3
288	default y
289	select OMAP_PACKAGE_CBB
290	select REGULATOR_FIXED_VOLTAGE if REGULATOR
291	select SERIAL_8250
292	select SERIAL_8250_CONSOLE
293	select SERIAL_CORE_CONSOLE
294
295config MACH_OMAP_ZOOM3
296	bool "OMAP3630 Zoom3 board"
297	depends on ARCH_OMAP3
298	default y
299	select OMAP_PACKAGE_CBP
300	select REGULATOR_FIXED_VOLTAGE if REGULATOR
301	select SERIAL_8250
302	select SERIAL_8250_CONSOLE
303	select SERIAL_CORE_CONSOLE
304
305config MACH_CM_T35
306	bool "CompuLab CM-T35/CM-T3730 modules"
307	depends on ARCH_OMAP3
308	default y
309	select MACH_CM_T3730
310	select OMAP_PACKAGE_CUS
311
312config MACH_CM_T3517
313	bool "CompuLab CM-T3517 module"
314	depends on ARCH_OMAP3
315	default y
316	select OMAP_PACKAGE_CBB
317
318config MACH_CM_T3730
319       bool
320
321config MACH_IGEP0020
322	bool "IGEP v2 board"
323	depends on ARCH_OMAP3
324	default y
325	select OMAP_PACKAGE_CBB
326
327config MACH_IGEP0030
328	bool "IGEP OMAP3 module"
329	depends on ARCH_OMAP3
330	default y
331	select MACH_IGEP0020
332	select OMAP_PACKAGE_CBB
333
334config MACH_SBC3530
335	bool "OMAP3 SBC STALKER board"
336	depends on ARCH_OMAP3
337	default y
338	select OMAP_PACKAGE_CUS
339
340config MACH_OMAP_3630SDP
341	bool "OMAP3630 SDP board"
342	depends on ARCH_OMAP3
343	default y
344	select OMAP_PACKAGE_CBP
345
346config MACH_TI8168EVM
347	bool "TI8168 Evaluation Module"
348	depends on SOC_TI81XX
349	default y
350
351config MACH_TI8148EVM
352	bool "TI8148 Evaluation Module"
353	depends on SOC_TI81XX
354	default y
355
356config MACH_OMAP_4430SDP
357	bool "OMAP 4430 SDP board"
358	default y
359	depends on ARCH_OMAP4
360	select OMAP_PACKAGE_CBL
361	select OMAP_PACKAGE_CBS
362	select REGULATOR_FIXED_VOLTAGE if REGULATOR
363
364config MACH_OMAP4_PANDA
365	bool "OMAP4 Panda Board"
366	default y
367	depends on ARCH_OMAP4
368	select OMAP_PACKAGE_CBL
369	select OMAP_PACKAGE_CBS
370	select REGULATOR_FIXED_VOLTAGE if REGULATOR
371
372config OMAP3_EMU
373	bool "OMAP3 debugging peripherals"
374	depends on ARCH_OMAP3
375	select ARM_AMBA
376	select OC_ETM
377	help
378	  Say Y here to enable debugging hardware of omap3
379
380config OMAP3_SDRC_AC_TIMING
381	bool "Enable SDRC AC timing register changes"
382	depends on ARCH_OMAP3
383	default n
384	help
385	  If you know that none of your system initiators will attempt to
386	  access SDRAM during CORE DVFS, select Y here.  This should boost
387	  SDRAM performance at lower CORE OPPs.  There are relatively few
388	  users who will wish to say yes at this point - almost everyone will
389	  wish to say no.  Selecting yes without understanding what is
390	  going on could result in system crashes;
391
392config OMAP4_ERRATA_I688
393	bool "OMAP4 errata: Async Bridge Corruption"
394	depends on ARCH_OMAP4
395	select ARCH_HAS_BARRIERS
396	help
397	  If a data is stalled inside asynchronous bridge because of back
398	  pressure, it may be accepted multiple times, creating pointer
399	  misalignment that will corrupt next transfers on that data path
400	  until next reset of the system (No recovery procedure once the
401	  issue is hit, the path remains consistently broken). Async bridge
402	  can be found on path between MPU to EMIF and MPU to L3 interconnect.
403	  This situation can happen only when the idle is initiated by a
404	  Master Request Disconnection (which is trigged by software when
405	  executing WFI on CPU).
406	  The work-around for this errata needs all the initiators connected
407	  through async bridge must ensure that data path is properly drained
408	  before issuing WFI. This condition will be met if one Strongly ordered
409	  access is performed to the target right before executing the WFI.
410	  In MPU case, L3 T2ASYNC FIFO and DDR T2ASYNC FIFO needs to be drained.
411	  IO barrier ensure that there is no synchronisation loss on initiators
412	  operating on both interconnect port simultaneously.
413endmenu
414
415endif
416