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