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