xref: /openbmc/linux/arch/arm/mach-omap2/Kconfig (revision 7b6d864b)
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_BANDGAP
8	select ARCH_HAS_HOLES_MEMORYMODEL
9	select ARCH_OMAP
10	select ARCH_REQUIRE_GPIOLIB
11	select CLKDEV_LOOKUP
12	select CLKSRC_MMIO
13	select GENERIC_CLOCKEVENTS
14	select GENERIC_IRQ_CHIP
15	select HAVE_CLK
16	select OMAP_DM_TIMER
17	select PINCTRL
18	select PROC_DEVICETREE if PROC_FS
19	select SOC_BUS
20	select SPARSE_IRQ
21	select TI_PRIV_EDMA
22	select USE_OF
23	help
24	  Systems based on OMAP2, OMAP3, OMAP4 or OMAP5
25
26
27if ARCH_OMAP2PLUS
28
29menu "TI OMAP2/3/4 Specific Features"
30
31config ARCH_OMAP2PLUS_TYPICAL
32	bool "Typical OMAP configuration"
33	default y
34	select AEABI
35	select HIGHMEM
36	select I2C
37	select I2C_OMAP
38	select MENELAUS if ARCH_OMAP2
39	select NEON if ARCH_OMAP3 || ARCH_OMAP4 || SOC_OMAP5
40	select PM_RUNTIME
41	select REGULATOR
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_ARM_SCU if SMP
95	select HAVE_ARM_TWD if LOCAL_TIMERS
96	select HAVE_SMP
97	select LOCAL_TIMERS if SMP
98	select OMAP_INTERCONNECT
99	select PL310_ERRATA_588369
100	select PL310_ERRATA_727915
101	select PM_OPP if PM
102	select PM_RUNTIME if CPU_IDLE
103	select USB_ARCH_HAS_EHCI if USB_SUPPORT
104	select COMMON_CLK
105	select ARM_ERRATA_754322
106	select ARM_ERRATA_775420
107
108config SOC_OMAP5
109	bool "TI OMAP5"
110	depends on ARCH_MULTI_V7
111	select ARM_CPU_SUSPEND if PM
112	select ARM_GIC
113	select CPU_V7
114	select HAVE_SMP
115	select COMMON_CLK
116	select HAVE_ARM_ARCH_TIMER
117
118comment "OMAP Core Type"
119	depends on ARCH_OMAP2
120
121config SOC_OMAP2420
122	bool "OMAP2420 support"
123	depends on ARCH_OMAP2
124	default y
125	select OMAP_DM_TIMER
126	select SOC_HAS_OMAP2_SDRC
127
128config SOC_OMAP2430
129	bool "OMAP2430 support"
130	depends on ARCH_OMAP2
131	default y
132	select SOC_HAS_OMAP2_SDRC
133
134config SOC_OMAP3430
135	bool "OMAP3430 support"
136	depends on ARCH_OMAP3
137	default y
138	select SOC_HAS_OMAP2_SDRC
139
140config SOC_TI81XX
141	bool "TI81XX support"
142	depends on ARCH_OMAP3
143	default y
144
145config SOC_AM33XX
146	bool "AM33XX support"
147	depends on ARCH_MULTI_V7
148	default y
149	select ARM_CPU_SUSPEND if PM
150	select CPU_V7
151	select MULTI_IRQ_HANDLER
152	select COMMON_CLK
153
154config SOC_AM43XX
155	bool "TI AM43x"
156	select CPU_V7
157	select MULTI_IRQ_HANDLER
158	select ARM_GIC
159	select COMMON_CLK
160	select MACH_OMAP_GENERIC
161
162config OMAP_PACKAGE_ZAF
163       bool
164
165config OMAP_PACKAGE_ZAC
166       bool
167
168config OMAP_PACKAGE_CBC
169       bool
170
171config OMAP_PACKAGE_CBB
172       bool
173
174config OMAP_PACKAGE_CUS
175       bool
176
177config OMAP_PACKAGE_CBP
178       bool
179
180comment "OMAP Board Type"
181	depends on ARCH_OMAP2PLUS
182
183config MACH_OMAP_GENERIC
184	bool "Generic OMAP2+ board"
185	depends on ARCH_OMAP2PLUS
186	default y
187	help
188	  Support for generic TI OMAP2+ boards using Flattened Device Tree.
189	  More information at Documentation/devicetree
190
191config MACH_OMAP2_TUSB6010
192	bool
193	depends on ARCH_OMAP2 && SOC_OMAP2420
194	default y if MACH_NOKIA_N8X0
195
196config MACH_OMAP_H4
197	bool "OMAP 2420 H4 board"
198	depends on SOC_OMAP2420
199	default y
200	select OMAP_DEBUG_DEVICES
201	select OMAP_PACKAGE_ZAF
202
203config MACH_OMAP_2430SDP
204	bool "OMAP 2430 SDP board"
205	depends on SOC_OMAP2430
206	default y
207	select OMAP_PACKAGE_ZAC
208
209config MACH_OMAP3_BEAGLE
210	bool "OMAP3 BEAGLE board"
211	depends on ARCH_OMAP3
212	default y
213	select OMAP_PACKAGE_CBB
214
215config MACH_DEVKIT8000
216	bool "DEVKIT8000 board"
217	depends on ARCH_OMAP3
218	default y
219	select OMAP_PACKAGE_CUS
220
221config MACH_OMAP_LDP
222	bool "OMAP3 LDP board"
223	depends on ARCH_OMAP3
224	default y
225	select OMAP_PACKAGE_CBB
226
227config MACH_OMAP3530_LV_SOM
228	bool "OMAP3 Logic 3530 LV SOM board"
229	depends on ARCH_OMAP3
230	default y
231	select OMAP_PACKAGE_CBB
232	help
233	 Support for the LogicPD OMAP3530 SOM Development kit
234	 for full description please see the products webpage at
235	 http://www.logicpd.com/products/development-kits/texas-instruments-zoom%E2%84%A2-omap35x-development-kit
236
237config MACH_OMAP3_TORPEDO
238	bool "OMAP3 Logic 35x Torpedo board"
239	depends on ARCH_OMAP3
240	default y
241	select OMAP_PACKAGE_CBB
242	help
243	 Support for the LogicPD OMAP35x Torpedo Development kit
244	 for full description please see the products webpage at
245	 http://www.logicpd.com/products/development-kits/zoom-omap35x-torpedo-development-kit
246
247config MACH_OVERO
248	bool "Gumstix Overo board"
249	depends on ARCH_OMAP3
250	default y
251	select OMAP_PACKAGE_CBB
252
253config MACH_OMAP3EVM
254	bool "OMAP 3530 EVM board"
255	depends on ARCH_OMAP3
256	default y
257	select OMAP_PACKAGE_CBB
258
259config MACH_OMAP3517EVM
260	bool "OMAP3517/ AM3517 EVM board"
261	depends on ARCH_OMAP3
262	default y
263	select OMAP_PACKAGE_CBB
264
265config MACH_CRANEBOARD
266	bool "AM3517/05 CRANE board"
267	depends on ARCH_OMAP3
268	select OMAP_PACKAGE_CBB
269
270config MACH_OMAP3_PANDORA
271	bool "OMAP3 Pandora"
272	depends on ARCH_OMAP3
273	default y
274	select OMAP_PACKAGE_CBB
275	select REGULATOR_FIXED_VOLTAGE if REGULATOR
276
277config MACH_TOUCHBOOK
278	bool "OMAP3 Touch Book"
279	depends on ARCH_OMAP3
280	default y
281	select OMAP_PACKAGE_CBB
282
283config MACH_OMAP_3430SDP
284	bool "OMAP 3430 SDP board"
285	depends on ARCH_OMAP3
286	default y
287	select OMAP_PACKAGE_CBB
288
289config MACH_NOKIA_N800
290       bool
291
292config MACH_NOKIA_N810
293       bool
294
295config MACH_NOKIA_N810_WIMAX
296       bool
297
298config MACH_NOKIA_N8X0
299	bool "Nokia N800/N810"
300	depends on SOC_OMAP2420
301	default y
302	select MACH_NOKIA_N800
303	select MACH_NOKIA_N810
304	select MACH_NOKIA_N810_WIMAX
305	select OMAP_PACKAGE_ZAC
306
307config MACH_NOKIA_RM680
308	bool "Nokia N950 (RM-680) / N9 (RM-696) phones"
309	depends on ARCH_OMAP3
310	default y
311	select MACH_NOKIA_RM696
312	select OMAP_PACKAGE_CBB
313
314config MACH_NOKIA_RX51
315	bool "Nokia N900 (RX-51) phone"
316	depends on ARCH_OMAP3
317	default y
318	select OMAP_PACKAGE_CBB
319
320config MACH_OMAP_ZOOM2
321	bool "OMAP3 Zoom2 board"
322	depends on ARCH_OMAP3
323	default y
324	select OMAP_PACKAGE_CBB
325	select REGULATOR_FIXED_VOLTAGE if REGULATOR
326
327config MACH_OMAP_ZOOM3
328	bool "OMAP3630 Zoom3 board"
329	depends on ARCH_OMAP3
330	default y
331	select OMAP_PACKAGE_CBP
332	select REGULATOR_FIXED_VOLTAGE if REGULATOR
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 OMAP3_EMU
386	bool "OMAP3 debugging peripherals"
387	depends on ARCH_OMAP3
388	select ARM_AMBA
389	select OC_ETM
390	help
391	  Say Y here to enable debugging hardware of omap3
392
393config OMAP3_SDRC_AC_TIMING
394	bool "Enable SDRC AC timing register changes"
395	depends on ARCH_OMAP3
396	default n
397	help
398	  If you know that none of your system initiators will attempt to
399	  access SDRAM during CORE DVFS, select Y here.  This should boost
400	  SDRAM performance at lower CORE OPPs.  There are relatively few
401	  users who will wish to say yes at this point - almost everyone will
402	  wish to say no.  Selecting yes without understanding what is
403	  going on could result in system crashes;
404
405config OMAP4_ERRATA_I688
406	bool "OMAP4 errata: Async Bridge Corruption"
407	depends on (ARCH_OMAP4 || SOC_OMAP5) && !ARCH_MULTIPLATFORM
408	select ARCH_HAS_BARRIERS
409	help
410	  If a data is stalled inside asynchronous bridge because of back
411	  pressure, it may be accepted multiple times, creating pointer
412	  misalignment that will corrupt next transfers on that data path
413	  until next reset of the system (No recovery procedure once the
414	  issue is hit, the path remains consistently broken). Async bridge
415	  can be found on path between MPU to EMIF and MPU to L3 interconnect.
416	  This situation can happen only when the idle is initiated by a
417	  Master Request Disconnection (which is trigged by software when
418	  executing WFI on CPU).
419	  The work-around for this errata needs all the initiators connected
420	  through async bridge must ensure that data path is properly drained
421	  before issuing WFI. This condition will be met if one Strongly ordered
422	  access is performed to the target right before executing the WFI.
423	  In MPU case, L3 T2ASYNC FIFO and DDR T2ASYNC FIFO needs to be drained.
424	  IO barrier ensure that there is no synchronisation loss on initiators
425	  operating on both interconnect port simultaneously.
426endmenu
427
428endif
429