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