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