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