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