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