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