Kconfig 9.5 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
config ARCH_OMAP
	bool

config ARCH_OMAP2PLUS
	bool "TI OMAP2/3/4/5 SoCs with device tree support" if (ARCH_MULTI_V6 || ARCH_MULTI_V7)
	select ARCH_HAS_CPUFREQ
	select ARCH_HAS_HOLES_MEMORYMODEL
	select ARCH_OMAP
	select ARCH_REQUIRE_GPIOLIB
	select CLKDEV_LOOKUP
	select CLKSRC_MMIO
	select GENERIC_CLOCKEVENTS
	select GENERIC_IRQ_CHIP
	select HAVE_CLK
	select OMAP_DM_TIMER
	select PINCTRL
	select PROC_DEVICETREE if PROC_FS
18
	select SOC_BUS
19
	select SPARSE_IRQ
20
	select TI_PRIV_EDMA
21 22 23 24 25
	select USE_OF
	help
	  Systems based on OMAP2, OMAP3, OMAP4 or OMAP5


26 27 28 29
if ARCH_OMAP2PLUS

menu "TI OMAP2/3/4 Specific Features"

30 31 32 33
config ARCH_OMAP2PLUS_TYPICAL
	bool "Typical OMAP configuration"
	default y
	select AEABI
34
	select HIGHMEM
35 36 37
	select I2C
	select I2C_OMAP
	select MENELAUS if ARCH_OMAP2
38 39 40
	select NEON if ARCH_OMAP3 || ARCH_OMAP4 || SOC_OMAP5
	select PM_RUNTIME
	select REGULATOR
41 42
	select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
	select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
43
	select VFP
44 45 46
	help
	  Compile a kernel suitable for booting most boards

47 48 49
config SOC_HAS_OMAP2_SDRC
	bool "OMAP2 SDRAM Controller support"

50 51
config SOC_HAS_REALTIME_COUNTER
	bool "Real time free running counter"
52 53
	depends on SOC_OMAP5
	default y
54

55
config ARCH_OMAP2
56 57
	bool "TI OMAP2"
	depends on ARCH_OMAP2PLUS
58
	depends on ARCH_MULTI_V6
59
	default y
60
	select CPU_V6
61
	select MULTI_IRQ_HANDLER
62
	select SOC_HAS_OMAP2_SDRC
63
	select COMMON_CLK
64 65

config ARCH_OMAP3
66 67
	bool "TI OMAP3"
	depends on ARCH_OMAP2PLUS
68
	depends on ARCH_MULTI_V7
69
	default y
70
	select ARCH_HAS_OPP
71
	select ARM_CPU_SUSPEND if PM
72
	select CPU_V7
73
	select MULTI_IRQ_HANDLER
74
	select OMAP_INTERCONNECT
75 76 77
	select PM_OPP if PM
	select PM_RUNTIME if CPU_IDLE
	select SOC_HAS_OMAP2_SDRC
78
	select COMMON_CLK
79
	select USB_ARCH_HAS_EHCI if USB_SUPPORT
80 81

config ARCH_OMAP4
82 83 84
	bool "TI OMAP4"
	default y
	depends on ARCH_OMAP2PLUS
85
	depends on ARCH_MULTI_V7
86 87 88 89 90
	select ARCH_HAS_OPP
	select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
	select ARM_CPU_SUSPEND if PM
	select ARM_ERRATA_720789
	select ARM_GIC
91
	select CACHE_L2X0
92
	select CPU_V7
93 94
	select HAVE_ARM_SCU if SMP
	select HAVE_ARM_TWD if LOCAL_TIMERS
95
	select HAVE_SMP
96
	select LOCAL_TIMERS if SMP
97
	select OMAP_INTERCONNECT
98
	select PL310_ERRATA_588369
99
	select PL310_ERRATA_727915
N
Nishanth Menon 已提交
100
	select PM_OPP if PM
101
	select PM_RUNTIME if CPU_IDLE
102
	select USB_ARCH_HAS_EHCI if USB_SUPPORT
103
	select COMMON_CLK
104 105
	select ARM_ERRATA_754322
	select ARM_ERRATA_775420
106

R
R Sricharan 已提交
107 108
config SOC_OMAP5
	bool "TI OMAP5"
109
	depends on ARCH_MULTI_V7
110
	select ARM_CPU_SUSPEND if PM
R
R Sricharan 已提交
111
	select ARM_GIC
112
	select CPU_V7
R
R Sricharan 已提交
113
	select HAVE_SMP
114
	select COMMON_CLK
115
	select HAVE_ARM_ARCH_TIMER
R
R Sricharan 已提交
116

117
comment "OMAP Core Type"
118
	depends on ARCH_OMAP2
119

120
config SOC_OMAP2420
121
	bool "OMAP2420 support"
122
	depends on ARCH_OMAP2
123
	default y
124
	select OMAP_DM_TIMER
125
	select SOC_HAS_OMAP2_SDRC
126

127
config SOC_OMAP2430
128
	bool "OMAP2430 support"
129
	depends on ARCH_OMAP2
130
	default y
131
	select SOC_HAS_OMAP2_SDRC
132

133
config SOC_OMAP3430
134
	bool "OMAP3430 support"
135
	depends on ARCH_OMAP3
136
	default y
137
	select SOC_HAS_OMAP2_SDRC
138

139
config SOC_TI81XX
140
	bool "TI81XX support"
141
	depends on ARCH_OMAP3
142 143
	default y

144
config SOC_AM33XX
145
	bool "AM33XX support"
146
	depends on ARCH_MULTI_V7
147
	default y
148
	select ARM_CPU_SUSPEND if PM
149
	select CPU_V7
150
	select MULTI_IRQ_HANDLER
151
	select COMMON_CLK
152

A
Afzal Mohammed 已提交
153 154 155 156 157 158 159 160
config SOC_AM43XX
	bool "TI AM43x"
	select CPU_V7
	select MULTI_IRQ_HANDLER
	select ARM_GIC
	select COMMON_CLK
	select MACH_OMAP_GENERIC

T
Tony Lindgren 已提交
161 162 163 164 165 166
config OMAP_PACKAGE_ZAF
       bool

config OMAP_PACKAGE_ZAC
       bool

167 168 169 170 171 172 173 174 175
config OMAP_PACKAGE_CBC
       bool

config OMAP_PACKAGE_CBB
       bool

config OMAP_PACKAGE_CUS
       bool

176 177 178
config OMAP_PACKAGE_CBP
       bool

179
comment "OMAP Board Type"
180
	depends on ARCH_OMAP2PLUS
181 182

config MACH_OMAP_GENERIC
183
	bool "Generic OMAP2+ board"
184
	depends on ARCH_OMAP2PLUS
185
	default y
186 187 188
	help
	  Support for generic TI OMAP2+ boards using Flattened Device Tree.
	  More information at Documentation/devicetree
189

K
Kalle Valo 已提交
190 191
config MACH_OMAP2_TUSB6010
	bool
192
	depends on ARCH_OMAP2 && SOC_OMAP2420
K
Kalle Valo 已提交
193 194
	default y if MACH_NOKIA_N8X0

195 196
config MACH_OMAP_H4
	bool "OMAP 2420 H4 board"
197
	depends on SOC_OMAP2420
198
	default y
199
	select OMAP_DEBUG_DEVICES
200
	select OMAP_PACKAGE_ZAF
201

202 203
config MACH_OMAP_2430SDP
	bool "OMAP 2430 SDP board"
204
	depends on SOC_OMAP2430
205
	default y
206
	select OMAP_PACKAGE_ZAC
207

208 209
config MACH_OMAP3_BEAGLE
	bool "OMAP3 BEAGLE board"
210
	depends on ARCH_OMAP3
211
	default y
212
	select OMAP_PACKAGE_CBB
213

214
config MACH_DEVKIT8000
215 216
	bool "DEVKIT8000 board"
	depends on ARCH_OMAP3
217
	default y
218
	select OMAP_PACKAGE_CUS
219

220 221
config MACH_OMAP_LDP
	bool "OMAP3 LDP board"
222
	depends on ARCH_OMAP3
223
	default y
224
	select OMAP_PACKAGE_CBB
225

226 227 228 229
config MACH_OMAP3530_LV_SOM
	bool "OMAP3 Logic 3530 LV SOM board"
	depends on ARCH_OMAP3
	default y
230
	select OMAP_PACKAGE_CBB
231 232 233 234 235 236 237 238 239
	help
	 Support for the LogicPD OMAP3530 SOM Development kit
	 for full description please see the products webpage at
	 http://www.logicpd.com/products/development-kits/texas-instruments-zoom%E2%84%A2-omap35x-development-kit

config MACH_OMAP3_TORPEDO
	bool "OMAP3 Logic 35x Torpedo board"
	depends on ARCH_OMAP3
	default y
240
	select OMAP_PACKAGE_CBB
241 242 243 244 245
	help
	 Support for the LogicPD OMAP35x Torpedo Development kit
	 for full description please see the products webpage at
	 http://www.logicpd.com/products/development-kits/zoom-omap35x-torpedo-development-kit

246 247
config MACH_OVERO
	bool "Gumstix Overo board"
248
	depends on ARCH_OMAP3
249
	default y
250
	select OMAP_PACKAGE_CBB
251

252 253
config MACH_OMAP3EVM
	bool "OMAP 3530 EVM board"
254
	depends on ARCH_OMAP3
255
	default y
256
	select OMAP_PACKAGE_CBB
257

258 259
config MACH_OMAP3517EVM
	bool "OMAP3517/ AM3517 EVM board"
260
	depends on ARCH_OMAP3
261
	default y
262
	select OMAP_PACKAGE_CBB
263

S
Srinath 已提交
264 265 266 267 268
config MACH_CRANEBOARD
	bool "AM3517/05 CRANE board"
	depends on ARCH_OMAP3
	select OMAP_PACKAGE_CBB

269 270
config MACH_OMAP3_PANDORA
	bool "OMAP3 Pandora"
271
	depends on ARCH_OMAP3
272
	default y
273
	select OMAP_PACKAGE_CBB
274
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
275

276
config MACH_TOUCHBOOK
277
	bool "OMAP3 Touch Book"
278
	depends on ARCH_OMAP3
279
	default y
280
	select OMAP_PACKAGE_CBB
281

282 283
config MACH_OMAP_3430SDP
	bool "OMAP 3430 SDP board"
284
	depends on ARCH_OMAP3
285
	default y
286
	select OMAP_PACKAGE_CBB
287

T
Tony Lindgren 已提交
288 289 290 291 292 293 294 295 296
config MACH_NOKIA_N800
       bool

config MACH_NOKIA_N810
       bool

config MACH_NOKIA_N810_WIMAX
       bool

297 298
config MACH_NOKIA_N8X0
	bool "Nokia N800/N810"
299
	depends on SOC_OMAP2420
300
	default y
T
Tony Lindgren 已提交
301 302 303
	select MACH_NOKIA_N800
	select MACH_NOKIA_N810
	select MACH_NOKIA_N810_WIMAX
304
	select OMAP_PACKAGE_ZAC
305

306
config MACH_NOKIA_RM680
307
	bool "Nokia N950 (RM-680) / N9 (RM-696) phones"
308 309
	depends on ARCH_OMAP3
	default y
310
	select MACH_NOKIA_RM696
311
	select OMAP_PACKAGE_CBB
312

313
config MACH_NOKIA_RX51
314
	bool "Nokia N900 (RX-51) phone"
315
	depends on ARCH_OMAP3
316
	default y
317
	select OMAP_PACKAGE_CBB
318 319 320

config MACH_OMAP_ZOOM2
	bool "OMAP3 Zoom2 board"
321
	depends on ARCH_OMAP3
322
	default y
323
	select OMAP_PACKAGE_CBB
324
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
325

326 327
config MACH_OMAP_ZOOM3
	bool "OMAP3630 Zoom3 board"
328
	depends on ARCH_OMAP3
329
	default y
330
	select OMAP_PACKAGE_CBP
331
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
332

333
config MACH_CM_T35
334
	bool "CompuLab CM-T35/CM-T3730 modules"
335
	depends on ARCH_OMAP3
336
	default y
337
	select MACH_CM_T3730
338
	select OMAP_PACKAGE_CUS
339

340 341 342 343 344 345
config MACH_CM_T3517
	bool "CompuLab CM-T3517 module"
	depends on ARCH_OMAP3
	default y
	select OMAP_PACKAGE_CBB

346 347 348
config MACH_CM_T3730
       bool

349
config MACH_IGEP0020
350
	bool "IGEP v2 board"
351
	depends on ARCH_OMAP3
352
	default y
353
	select OMAP_PACKAGE_CBB
354

355 356 357 358
config MACH_IGEP0030
	bool "IGEP OMAP3 module"
	depends on ARCH_OMAP3
	default y
M
Mike Rapoport 已提交
359
	select MACH_IGEP0020
360
	select OMAP_PACKAGE_CBB
361

362 363 364
config MACH_SBC3530
	bool "OMAP3 SBC STALKER board"
	depends on ARCH_OMAP3
365
	default y
366 367
	select OMAP_PACKAGE_CUS

368 369
config MACH_OMAP_3630SDP
	bool "OMAP3630 SDP board"
370
	depends on ARCH_OMAP3
371
	default y
372
	select OMAP_PACKAGE_CBP
373

374 375
config MACH_TI8168EVM
	bool "TI8168 Evaluation Module"
376
	depends on SOC_TI81XX
377
	default y
378 379 380

config MACH_TI8148EVM
	bool "TI8148 Evaluation Module"
381
	depends on SOC_TI81XX
382
	default y
383

384 385 386
config OMAP3_EMU
	bool "OMAP3 debugging peripherals"
	depends on ARCH_OMAP3
387
	select ARM_AMBA
388 389 390 391
	select OC_ETM
	help
	  Say Y here to enable debugging hardware of omap3

392 393
config OMAP3_SDRC_AC_TIMING
	bool "Enable SDRC AC timing register changes"
394
	depends on ARCH_OMAP3
395 396 397 398 399 400 401 402 403
	default n
	help
	  If you know that none of your system initiators will attempt to
	  access SDRAM during CORE DVFS, select Y here.  This should boost
	  SDRAM performance at lower CORE OPPs.  There are relatively few
	  users who will wish to say yes at this point - almost everyone will
	  wish to say no.  Selecting yes without understanding what is
	  going on could result in system crashes;

404
config OMAP4_ERRATA_I688
405
	bool "OMAP4 errata: Async Bridge Corruption"
406
	depends on (ARCH_OMAP4 || SOC_OMAP5) && !ARCH_MULTIPLATFORM
407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424
	select ARCH_HAS_BARRIERS
	help
	  If a data is stalled inside asynchronous bridge because of back
	  pressure, it may be accepted multiple times, creating pointer
	  misalignment that will corrupt next transfers on that data path
	  until next reset of the system (No recovery procedure once the
	  issue is hit, the path remains consistently broken). Async bridge
	  can be found on path between MPU to EMIF and MPU to L3 interconnect.
	  This situation can happen only when the idle is initiated by a
	  Master Request Disconnection (which is trigged by software when
	  executing WFI on CPU).
	  The work-around for this errata needs all the initiators connected
	  through async bridge must ensure that data path is properly drained
	  before issuing WFI. This condition will be met if one Strongly ordered
	  access is performed to the target right before executing the WFI.
	  In MPU case, L3 T2ASYNC FIFO and DDR T2ASYNC FIFO needs to be drained.
	  IO barrier ensure that there is no synchronisation loss on initiators
	  operating on both interconnect port simultaneously.
425 426 427
endmenu

endif