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