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