Kconfig 9.5 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
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
	select SPARSE_IRQ
	select USE_OF
	help
	  Systems based on OMAP2, OMAP3, OMAP4 or OMAP5


24 25 26 27
if ARCH_OMAP2PLUS

menu "TI OMAP2/3/4 Specific Features"

28 29 30 31
config ARCH_OMAP2PLUS_TYPICAL
	bool "Typical OMAP configuration"
	default y
	select AEABI
32
	select HIGHMEM
33 34 35
	select I2C
	select I2C_OMAP
	select MENELAUS if ARCH_OMAP2
36 37 38 39 40
	select NEON if ARCH_OMAP3 || ARCH_OMAP4 || SOC_OMAP5
	select PM_RUNTIME
	select REGULATOR
	select SERIAL_OMAP
	select SERIAL_OMAP_CONSOLE
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 58
	bool "TI OMAP2"
	depends on ARCH_OMAP2PLUS
	default y
59
	select CPU_V6
60
	select MULTI_IRQ_HANDLER
61
	select SOC_HAS_OMAP2_SDRC
62
	select COMMON_CLK
63 64

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

config ARCH_OMAP4
80 81 82
	bool "TI OMAP4"
	default y
	depends on ARCH_OMAP2PLUS
83 84 85 86 87
	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
88
	select CACHE_L2X0
89
	select CPU_V7
90
	select HAVE_SMP
91
	select LOCAL_TIMERS if SMP
92
	select OMAP_INTERCONNECT
93
	select PL310_ERRATA_588369
94
	select PL310_ERRATA_727915
N
Nishanth Menon 已提交
95
	select PM_OPP if PM
96
	select PM_RUNTIME if CPU_IDLE
97
	select USB_ARCH_HAS_EHCI if USB_SUPPORT
98
	select COMMON_CLK
99

R
R Sricharan 已提交
100 101
config SOC_OMAP5
	bool "TI OMAP5"
102
	select ARM_CPU_SUSPEND if PM
R
R Sricharan 已提交
103
	select ARM_GIC
104
	select CPU_V7
R
R Sricharan 已提交
105
	select HAVE_SMP
106
	select COMMON_CLK
107
	select HAVE_ARM_ARCH_TIMER
R
R Sricharan 已提交
108

109
comment "OMAP Core Type"
110
	depends on ARCH_OMAP2
111

112
config SOC_OMAP2420
113
	bool "OMAP2420 support"
114
	depends on ARCH_OMAP2
115
	default y
116
	select OMAP_DM_TIMER
117
	select SOC_HAS_OMAP2_SDRC
118

119
config SOC_OMAP2430
120
	bool "OMAP2430 support"
121
	depends on ARCH_OMAP2
122
	default y
123
	select SOC_HAS_OMAP2_SDRC
124

125
config SOC_OMAP3430
126
	bool "OMAP3430 support"
127
	depends on ARCH_OMAP3
128
	default y
129
	select SOC_HAS_OMAP2_SDRC
130

131
config SOC_TI81XX
132
	bool "TI81XX support"
133
	depends on ARCH_OMAP3
134 135
	default y

136
config SOC_AM33XX
137 138
	bool "AM33XX support"
	default y
139
	select ARM_CPU_SUSPEND if PM
140
	select CPU_V7
141
	select MULTI_IRQ_HANDLER
142
	select COMMON_CLK
143

T
Tony Lindgren 已提交
144 145 146 147 148 149
config OMAP_PACKAGE_ZAF
       bool

config OMAP_PACKAGE_ZAC
       bool

150 151 152 153 154 155 156 157 158
config OMAP_PACKAGE_CBC
       bool

config OMAP_PACKAGE_CBB
       bool

config OMAP_PACKAGE_CUS
       bool

159 160 161
config OMAP_PACKAGE_CBP
       bool

162 163 164
config OMAP_PACKAGE_CBL
       bool

165 166 167
config OMAP_PACKAGE_CBS
       bool

168
comment "OMAP Board Type"
169
	depends on ARCH_OMAP2PLUS
170 171

config MACH_OMAP_GENERIC
172
	bool "Generic OMAP2+ board"
173
	depends on ARCH_OMAP2PLUS
174
	default y
175 176 177
	help
	  Support for generic TI OMAP2+ boards using Flattened Device Tree.
	  More information at Documentation/devicetree
178

K
Kalle Valo 已提交
179 180
config MACH_OMAP2_TUSB6010
	bool
181
	depends on ARCH_OMAP2 && SOC_OMAP2420
K
Kalle Valo 已提交
182 183
	default y if MACH_NOKIA_N8X0

184 185
config MACH_OMAP_H4
	bool "OMAP 2420 H4 board"
186
	depends on SOC_OMAP2420
187
	default y
188
	select OMAP_DEBUG_DEVICES
189
	select OMAP_PACKAGE_ZAF
190

191 192
config MACH_OMAP_2430SDP
	bool "OMAP 2430 SDP board"
193
	depends on SOC_OMAP2430
194
	default y
195
	select OMAP_PACKAGE_ZAC
196

197 198
config MACH_OMAP3_BEAGLE
	bool "OMAP3 BEAGLE board"
199
	depends on ARCH_OMAP3
200
	default y
201
	select OMAP_PACKAGE_CBB
202

203
config MACH_DEVKIT8000
204 205
	bool "DEVKIT8000 board"
	depends on ARCH_OMAP3
206
	default y
207
	select OMAP_PACKAGE_CUS
208

209 210
config MACH_OMAP_LDP
	bool "OMAP3 LDP board"
211
	depends on ARCH_OMAP3
212
	default y
213
	select OMAP_PACKAGE_CBB
214

215 216 217 218
config MACH_OMAP3530_LV_SOM
	bool "OMAP3 Logic 3530 LV SOM board"
	depends on ARCH_OMAP3
	default y
219
	select OMAP_PACKAGE_CBB
220 221 222 223 224 225 226 227 228
	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
229
	select OMAP_PACKAGE_CBB
230 231 232 233 234
	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

235 236
config MACH_OVERO
	bool "Gumstix Overo board"
237
	depends on ARCH_OMAP3
238
	default y
239
	select OMAP_PACKAGE_CBB
240

241 242
config MACH_OMAP3EVM
	bool "OMAP 3530 EVM board"
243
	depends on ARCH_OMAP3
244
	default y
245
	select OMAP_PACKAGE_CBB
246

247 248
config MACH_OMAP3517EVM
	bool "OMAP3517/ AM3517 EVM board"
249
	depends on ARCH_OMAP3
250
	default y
251
	select OMAP_PACKAGE_CBB
252

S
Srinath 已提交
253 254 255 256 257
config MACH_CRANEBOARD
	bool "AM3517/05 CRANE board"
	depends on ARCH_OMAP3
	select OMAP_PACKAGE_CBB

258 259
config MACH_OMAP3_PANDORA
	bool "OMAP3 Pandora"
260
	depends on ARCH_OMAP3
261
	default y
262
	select OMAP_PACKAGE_CBB
263
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
264

265
config MACH_TOUCHBOOK
266
	bool "OMAP3 Touch Book"
267
	depends on ARCH_OMAP3
268
	default y
269
	select OMAP_PACKAGE_CBB
270

271 272
config MACH_OMAP_3430SDP
	bool "OMAP 3430 SDP board"
273
	depends on ARCH_OMAP3
274
	default y
275
	select OMAP_PACKAGE_CBB
276

T
Tony Lindgren 已提交
277 278 279 280 281 282 283 284 285
config MACH_NOKIA_N800
       bool

config MACH_NOKIA_N810
       bool

config MACH_NOKIA_N810_WIMAX
       bool

286 287
config MACH_NOKIA_N8X0
	bool "Nokia N800/N810"
288
	depends on SOC_OMAP2420
289
	default y
T
Tony Lindgren 已提交
290 291 292
	select MACH_NOKIA_N800
	select MACH_NOKIA_N810
	select MACH_NOKIA_N810_WIMAX
293
	select OMAP_PACKAGE_ZAC
294

295
config MACH_NOKIA_RM680
296
	bool "Nokia N950 (RM-680) / N9 (RM-696) phones"
297 298
	depends on ARCH_OMAP3
	default y
299
	select MACH_NOKIA_RM696
300
	select OMAP_PACKAGE_CBB
301

302
config MACH_NOKIA_RX51
303
	bool "Nokia N900 (RX-51) phone"
304
	depends on ARCH_OMAP3
305
	default y
306
	select OMAP_PACKAGE_CBB
307 308 309

config MACH_OMAP_ZOOM2
	bool "OMAP3 Zoom2 board"
310
	depends on ARCH_OMAP3
311
	default y
312
	select OMAP_PACKAGE_CBB
313
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
314

315 316
config MACH_OMAP_ZOOM3
	bool "OMAP3630 Zoom3 board"
317
	depends on ARCH_OMAP3
318
	default y
319
	select OMAP_PACKAGE_CBP
320
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
321

322
config MACH_CM_T35
323
	bool "CompuLab CM-T35/CM-T3730 modules"
324
	depends on ARCH_OMAP3
325
	default y
326
	select MACH_CM_T3730
327
	select OMAP_PACKAGE_CUS
328

329 330 331 332 333 334
config MACH_CM_T3517
	bool "CompuLab CM-T3517 module"
	depends on ARCH_OMAP3
	default y
	select OMAP_PACKAGE_CBB

335 336 337
config MACH_CM_T3730
       bool

338
config MACH_IGEP0020
339
	bool "IGEP v2 board"
340
	depends on ARCH_OMAP3
341
	default y
342
	select OMAP_PACKAGE_CBB
343

344 345 346 347
config MACH_IGEP0030
	bool "IGEP OMAP3 module"
	depends on ARCH_OMAP3
	default y
M
Mike Rapoport 已提交
348
	select MACH_IGEP0020
349
	select OMAP_PACKAGE_CBB
350

351 352 353
config MACH_SBC3530
	bool "OMAP3 SBC STALKER board"
	depends on ARCH_OMAP3
354
	default y
355 356
	select OMAP_PACKAGE_CUS

357 358
config MACH_OMAP_3630SDP
	bool "OMAP3630 SDP board"
359
	depends on ARCH_OMAP3
360
	default y
361
	select OMAP_PACKAGE_CBP
362

363 364
config MACH_TI8168EVM
	bool "TI8168 Evaluation Module"
365
	depends on SOC_TI81XX
366
	default y
367 368 369

config MACH_TI8148EVM
	bool "TI8148 Evaluation Module"
370
	depends on SOC_TI81XX
371
	default y
372

373 374
config MACH_OMAP_4430SDP
	bool "OMAP 4430 SDP board"
375
	default y
376
	depends on ARCH_OMAP4
377
	select OMAP_PACKAGE_CBL
378
	select OMAP_PACKAGE_CBS
379
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
380

D
David Anders 已提交
381 382 383 384
config MACH_OMAP4_PANDA
	bool "OMAP4 Panda Board"
	default y
	depends on ARCH_OMAP4
385 386
	select OMAP_PACKAGE_CBL
	select OMAP_PACKAGE_CBS
387
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
D
David Anders 已提交
388

389 390 391
config OMAP3_EMU
	bool "OMAP3 debugging peripherals"
	depends on ARCH_OMAP3
392
	select ARM_AMBA
393 394 395 396
	select OC_ETM
	help
	  Say Y here to enable debugging hardware of omap3

397 398
config OMAP3_SDRC_AC_TIMING
	bool "Enable SDRC AC timing register changes"
399
	depends on ARCH_OMAP3
400 401 402 403 404 405 406 407 408
	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;

409
config OMAP4_ERRATA_I688
410
	bool "OMAP4 errata: Async Bridge Corruption"
411
	depends on (ARCH_OMAP4 || SOC_OMAP5) && !ARCH_MULTIPLATFORM
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429
	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.
430 431 432
endmenu

endif