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