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