xref: /linux/arch/arm/mach-omap2/Kconfig (revision 8dd21c93197cc465ae87e142435b3f7f262eade9)
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	select ARM_ERRATA_798181 if SMP
66
67config SOC_AM33XX
68	bool "AM33XX support"
69	depends on ARCH_MULTI_V7
70	select ARCH_OMAP2PLUS
71	select ARM_CPU_SUSPEND if PM
72	select CPU_V7
73	select MULTI_IRQ_HANDLER
74	select COMMON_CLK
75
76config SOC_AM43XX
77	bool "TI AM43x"
78	depends on ARCH_MULTI_V7
79	select CPU_V7
80	select ARCH_OMAP2PLUS
81	select MULTI_IRQ_HANDLER
82	select ARM_GIC
83	select COMMON_CLK
84	select MACH_OMAP_GENERIC
85
86config ARCH_OMAP2PLUS
87	bool
88	select ARCH_HAS_BANDGAP
89	select ARCH_HAS_CPUFREQ
90	select ARCH_HAS_HOLES_MEMORYMODEL
91	select ARCH_OMAP
92	select ARCH_REQUIRE_GPIOLIB
93	select CLKDEV_LOOKUP
94	select CLKSRC_MMIO
95	select GENERIC_CLOCKEVENTS
96	select GENERIC_IRQ_CHIP
97	select HAVE_CLK
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 Board Type"
192	depends on ARCH_OMAP2PLUS
193
194config MACH_OMAP_GENERIC
195	bool "Generic OMAP2+ board"
196	depends on ARCH_OMAP2PLUS
197	default y
198	help
199	  Support for generic TI OMAP2+ boards using Flattened Device Tree.
200	  More information at Documentation/devicetree
201
202config MACH_OMAP2_TUSB6010
203	bool
204	depends on ARCH_OMAP2 && SOC_OMAP2420
205	default y if MACH_NOKIA_N8X0
206
207config MACH_OMAP_H4
208	bool "OMAP 2420 H4 board"
209	depends on SOC_OMAP2420
210	default y
211	select OMAP_DEBUG_DEVICES
212	select OMAP_PACKAGE_ZAF
213
214config MACH_OMAP_2430SDP
215	bool "OMAP 2430 SDP board"
216	depends on SOC_OMAP2430
217	default y
218	select OMAP_PACKAGE_ZAC
219
220config MACH_OMAP3_BEAGLE
221	bool "OMAP3 BEAGLE board"
222	depends on ARCH_OMAP3
223	default y
224	select OMAP_PACKAGE_CBB
225
226config MACH_DEVKIT8000
227	bool "DEVKIT8000 board"
228	depends on ARCH_OMAP3
229	default y
230	select OMAP_PACKAGE_CUS
231
232config MACH_OMAP_LDP
233	bool "OMAP3 LDP board"
234	depends on ARCH_OMAP3
235	default y
236	select OMAP_PACKAGE_CBB
237
238config MACH_OMAP3530_LV_SOM
239	bool "OMAP3 Logic 3530 LV SOM board"
240	depends on ARCH_OMAP3
241	default y
242	select OMAP_PACKAGE_CBB
243	help
244	 Support for the LogicPD OMAP3530 SOM Development kit
245	 for full description please see the products webpage at
246	 http://www.logicpd.com/products/development-kits/texas-instruments-zoom%E2%84%A2-omap35x-development-kit
247
248config MACH_OMAP3_TORPEDO
249	bool "OMAP3 Logic 35x Torpedo board"
250	depends on ARCH_OMAP3
251	default y
252	select OMAP_PACKAGE_CBB
253	help
254	 Support for the LogicPD OMAP35x Torpedo Development kit
255	 for full description please see the products webpage at
256	 http://www.logicpd.com/products/development-kits/zoom-omap35x-torpedo-development-kit
257
258config MACH_OVERO
259	bool "Gumstix Overo board"
260	depends on ARCH_OMAP3
261	default y
262	select OMAP_PACKAGE_CBB
263
264config MACH_OMAP3EVM
265	bool "OMAP 3530 EVM board"
266	depends on ARCH_OMAP3
267	default y
268	select OMAP_PACKAGE_CBB
269
270config MACH_OMAP3517EVM
271	bool "OMAP3517/ AM3517 EVM board"
272	depends on ARCH_OMAP3
273	default y
274	select OMAP_PACKAGE_CBB
275
276config MACH_CRANEBOARD
277	bool "AM3517/05 CRANE board"
278	depends on ARCH_OMAP3
279	select OMAP_PACKAGE_CBB
280
281config MACH_OMAP3_PANDORA
282	bool "OMAP3 Pandora"
283	depends on ARCH_OMAP3
284	default y
285	select OMAP_PACKAGE_CBB
286	select REGULATOR_FIXED_VOLTAGE if REGULATOR
287
288config MACH_TOUCHBOOK
289	bool "OMAP3 Touch Book"
290	depends on ARCH_OMAP3
291	default y
292	select OMAP_PACKAGE_CBB
293
294config MACH_OMAP_3430SDP
295	bool "OMAP 3430 SDP board"
296	depends on ARCH_OMAP3
297	default y
298	select OMAP_PACKAGE_CBB
299
300config MACH_NOKIA_N800
301       bool
302
303config MACH_NOKIA_N810
304       bool
305
306config MACH_NOKIA_N810_WIMAX
307       bool
308
309config MACH_NOKIA_N8X0
310	bool "Nokia N800/N810"
311	depends on SOC_OMAP2420
312	default y
313	select MACH_NOKIA_N800
314	select MACH_NOKIA_N810
315	select MACH_NOKIA_N810_WIMAX
316	select OMAP_PACKAGE_ZAC
317
318config MACH_NOKIA_RM680
319	bool "Nokia N950 (RM-680) / N9 (RM-696) phones"
320	depends on ARCH_OMAP3
321	default y
322	select MACH_NOKIA_RM696
323	select OMAP_PACKAGE_CBB
324
325config MACH_NOKIA_RX51
326	bool "Nokia N900 (RX-51) phone"
327	depends on ARCH_OMAP3
328	default y
329	select OMAP_PACKAGE_CBB
330
331config MACH_OMAP_ZOOM2
332	bool "OMAP3 Zoom2 board"
333	depends on ARCH_OMAP3
334	default y
335	select OMAP_PACKAGE_CBB
336	select REGULATOR_FIXED_VOLTAGE if REGULATOR
337
338config MACH_OMAP_ZOOM3
339	bool "OMAP3630 Zoom3 board"
340	depends on ARCH_OMAP3
341	default y
342	select OMAP_PACKAGE_CBP
343	select REGULATOR_FIXED_VOLTAGE if REGULATOR
344
345config MACH_CM_T35
346	bool "CompuLab CM-T35/CM-T3730 modules"
347	depends on ARCH_OMAP3
348	default y
349	select MACH_CM_T3730
350	select OMAP_PACKAGE_CUS
351
352config MACH_CM_T3517
353	bool "CompuLab CM-T3517 module"
354	depends on ARCH_OMAP3
355	default y
356	select OMAP_PACKAGE_CBB
357
358config MACH_CM_T3730
359       bool
360
361config MACH_IGEP0020
362	bool "IGEP v2 board"
363	depends on ARCH_OMAP3
364	default y
365	select OMAP_PACKAGE_CBB
366
367config MACH_IGEP0030
368	bool "IGEP OMAP3 module"
369	depends on ARCH_OMAP3
370	default y
371	select MACH_IGEP0020
372	select OMAP_PACKAGE_CBB
373
374config MACH_SBC3530
375	bool "OMAP3 SBC STALKER board"
376	depends on ARCH_OMAP3
377	default y
378	select OMAP_PACKAGE_CUS
379
380config MACH_OMAP_3630SDP
381	bool "OMAP3630 SDP board"
382	depends on ARCH_OMAP3
383	default y
384	select OMAP_PACKAGE_CBP
385
386config MACH_TI8168EVM
387	bool "TI8168 Evaluation Module"
388	depends on SOC_TI81XX
389	default y
390
391config MACH_TI8148EVM
392	bool "TI8148 Evaluation Module"
393	depends on SOC_TI81XX
394	default y
395
396config OMAP3_EMU
397	bool "OMAP3 debugging peripherals"
398	depends on ARCH_OMAP3
399	select ARM_AMBA
400	select OC_ETM
401	help
402	  Say Y here to enable debugging hardware of omap3
403
404config OMAP3_SDRC_AC_TIMING
405	bool "Enable SDRC AC timing register changes"
406	depends on ARCH_OMAP3
407	default n
408	help
409	  If you know that none of your system initiators will attempt to
410	  access SDRAM during CORE DVFS, select Y here.  This should boost
411	  SDRAM performance at lower CORE OPPs.  There are relatively few
412	  users who will wish to say yes at this point - almost everyone will
413	  wish to say no.  Selecting yes without understanding what is
414	  going on could result in system crashes;
415
416config OMAP4_ERRATA_I688
417	bool "OMAP4 errata: Async Bridge Corruption"
418	depends on (ARCH_OMAP4 || SOC_OMAP5) && !ARCH_MULTIPLATFORM
419	select ARCH_HAS_BARRIERS
420	help
421	  If a data is stalled inside asynchronous bridge because of back
422	  pressure, it may be accepted multiple times, creating pointer
423	  misalignment that will corrupt next transfers on that data path
424	  until next reset of the system (No recovery procedure once the
425	  issue is hit, the path remains consistently broken). Async bridge
426	  can be found on path between MPU to EMIF and MPU to L3 interconnect.
427	  This situation can happen only when the idle is initiated by a
428	  Master Request Disconnection (which is trigged by software when
429	  executing WFI on CPU).
430	  The work-around for this errata needs all the initiators connected
431	  through async bridge must ensure that data path is properly drained
432	  before issuing WFI. This condition will be met if one Strongly ordered
433	  access is performed to the target right before executing the WFI.
434	  In MPU case, L3 T2ASYNC FIFO and DDR T2ASYNC FIFO needs to be drained.
435	  IO barrier ensure that there is no synchronisation loss on initiators
436	  operating on both interconnect port simultaneously.
437endmenu
438
439endif
440