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