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