xref: /openbmc/linux/arch/arm/mach-omap2/Kconfig (revision 37be287c)
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_OMAP3_BEAGLE
198	bool "OMAP3 BEAGLE board"
199	depends on ARCH_OMAP3
200	default y
201	select OMAP_PACKAGE_CBB
202
203config MACH_DEVKIT8000
204	bool "DEVKIT8000 board"
205	depends on ARCH_OMAP3
206	default y
207	select OMAP_PACKAGE_CUS
208
209config MACH_OMAP_LDP
210	bool "OMAP3 LDP board"
211	depends on ARCH_OMAP3
212	default y
213	select OMAP_PACKAGE_CBB
214
215config MACH_OMAP3530_LV_SOM
216	bool "OMAP3 Logic 3530 LV SOM board"
217	depends on ARCH_OMAP3
218	default y
219	select OMAP_PACKAGE_CBB
220	help
221	 Support for the LogicPD OMAP3530 SOM Development kit
222	 for full description please see the products webpage at
223	 http://www.logicpd.com/products/development-kits/texas-instruments-zoom%E2%84%A2-omap35x-development-kit
224
225config MACH_OMAP3_TORPEDO
226	bool "OMAP3 Logic 35x Torpedo board"
227	depends on ARCH_OMAP3
228	default y
229	select OMAP_PACKAGE_CBB
230	help
231	 Support for the LogicPD OMAP35x Torpedo Development kit
232	 for full description please see the products webpage at
233	 http://www.logicpd.com/products/development-kits/zoom-omap35x-torpedo-development-kit
234
235config MACH_OVERO
236	bool "Gumstix Overo board"
237	depends on ARCH_OMAP3
238	default y
239	select OMAP_PACKAGE_CBB
240
241config MACH_OMAP3517EVM
242	bool "OMAP3517/ AM3517 EVM board"
243	depends on ARCH_OMAP3
244	default y
245	select OMAP_PACKAGE_CBB
246
247config MACH_CRANEBOARD
248	bool "AM3517/05 CRANE board"
249	depends on ARCH_OMAP3
250	select OMAP_PACKAGE_CBB
251
252config MACH_OMAP3_PANDORA
253	bool "OMAP3 Pandora"
254	depends on ARCH_OMAP3
255	default y
256	select OMAP_PACKAGE_CBB
257	select REGULATOR_FIXED_VOLTAGE if REGULATOR
258
259config MACH_TOUCHBOOK
260	bool "OMAP3 Touch Book"
261	depends on ARCH_OMAP3
262	default y
263	select OMAP_PACKAGE_CBB
264
265config MACH_OMAP_3430SDP
266	bool "OMAP 3430 SDP board"
267	depends on ARCH_OMAP3
268	default y
269	select OMAP_PACKAGE_CBB
270
271config MACH_NOKIA_N800
272       bool
273
274config MACH_NOKIA_N810
275       bool
276
277config MACH_NOKIA_N810_WIMAX
278       bool
279
280config MACH_NOKIA_N8X0
281	bool "Nokia N800/N810"
282	depends on SOC_OMAP2420
283	default y
284	select MACH_NOKIA_N800
285	select MACH_NOKIA_N810
286	select MACH_NOKIA_N810_WIMAX
287	select OMAP_PACKAGE_ZAC
288
289config MACH_NOKIA_RX51
290	bool "Nokia N900 (RX-51) phone"
291	depends on ARCH_OMAP3
292	default y
293	select OMAP_PACKAGE_CBB
294
295config MACH_CM_T35
296	bool "CompuLab CM-T35/CM-T3730 modules"
297	depends on ARCH_OMAP3
298	default y
299	select MACH_CM_T3730
300	select OMAP_PACKAGE_CUS
301
302config MACH_CM_T3517
303	bool "CompuLab CM-T3517 module"
304	depends on ARCH_OMAP3
305	default y
306	select OMAP_PACKAGE_CBB
307
308config MACH_CM_T3730
309       bool
310
311config MACH_SBC3530
312	bool "OMAP3 SBC STALKER board"
313	depends on ARCH_OMAP3
314	default y
315	select OMAP_PACKAGE_CUS
316
317config MACH_TI8168EVM
318	bool "TI8168 Evaluation Module"
319	depends on SOC_TI81XX
320	default y
321
322config MACH_TI8148EVM
323	bool "TI8148 Evaluation Module"
324	depends on SOC_TI81XX
325	default y
326
327config OMAP3_EMU
328	bool "OMAP3 debugging peripherals"
329	depends on ARCH_OMAP3
330	select ARM_AMBA
331	select OC_ETM
332	help
333	  Say Y here to enable debugging hardware of omap3
334
335config OMAP3_SDRC_AC_TIMING
336	bool "Enable SDRC AC timing register changes"
337	depends on ARCH_OMAP3
338	default n
339	help
340	  If you know that none of your system initiators will attempt to
341	  access SDRAM during CORE DVFS, select Y here.  This should boost
342	  SDRAM performance at lower CORE OPPs.  There are relatively few
343	  users who will wish to say yes at this point - almost everyone will
344	  wish to say no.  Selecting yes without understanding what is
345	  going on could result in system crashes;
346
347config OMAP4_ERRATA_I688
348	bool "OMAP4 errata: Async Bridge Corruption"
349	depends on (ARCH_OMAP4 || SOC_OMAP5) && !ARCH_MULTIPLATFORM
350	select ARCH_HAS_BARRIERS
351	help
352	  If a data is stalled inside asynchronous bridge because of back
353	  pressure, it may be accepted multiple times, creating pointer
354	  misalignment that will corrupt next transfers on that data path
355	  until next reset of the system (No recovery procedure once the
356	  issue is hit, the path remains consistently broken). Async bridge
357	  can be found on path between MPU to EMIF and MPU to L3 interconnect.
358	  This situation can happen only when the idle is initiated by a
359	  Master Request Disconnection (which is trigged by software when
360	  executing WFI on CPU).
361	  The work-around for this errata needs all the initiators connected
362	  through async bridge must ensure that data path is properly drained
363	  before issuing WFI. This condition will be met if one Strongly ordered
364	  access is performed to the target right before executing the WFI.
365	  In MPU case, L3 T2ASYNC FIFO and DDR T2ASYNC FIFO needs to be drained.
366	  IO barrier ensure that there is no synchronisation loss on initiators
367	  operating on both interconnect port simultaneously.
368endmenu
369
370endif
371