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