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