Kconfig 9.6 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
	select NEON if ARCH_OMAP3 || ARCH_OMAP4 || SOC_OMAP5
	select PM_RUNTIME
	select REGULATOR
39 40
	select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
	select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
41
	select VFP
42 43 44
	help
	  Compile a kernel suitable for booting most boards

45 46 47
config SOC_HAS_OMAP2_SDRC
	bool "OMAP2 SDRAM Controller support"

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

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

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

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

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

107
comment "OMAP Core Type"
108
	depends on ARCH_OMAP2
109

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

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

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

129
config SOC_TI81XX
130
	bool "TI81XX support"
131
	depends on ARCH_OMAP3
132 133
	default y

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

T
Tony Lindgren 已提交
142 143 144 145 146 147
config OMAP_PACKAGE_ZAF
       bool

config OMAP_PACKAGE_ZAC
       bool

148 149 150 151 152 153 154 155 156
config OMAP_PACKAGE_CBC
       bool

config OMAP_PACKAGE_CBB
       bool

config OMAP_PACKAGE_CUS
       bool

157 158 159
config OMAP_PACKAGE_CBP
       bool

160 161 162
config OMAP_PACKAGE_CBL
       bool

163 164 165
config OMAP_PACKAGE_CBS
       bool

166
comment "OMAP Board Type"
167
	depends on ARCH_OMAP2PLUS
168 169

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

config MACH_NOKIA_N810
       bool

config MACH_NOKIA_N810_WIMAX
       bool

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

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

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

config MACH_OMAP_ZOOM2
	bool "OMAP3 Zoom2 board"
308
	depends on ARCH_OMAP3
309
	default y
310
	select OMAP_PACKAGE_CBB
311
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
312 313
	select SERIAL_8250
	select SERIAL_8250_CONSOLE
314
	select SERIAL_CORE_CONSOLE
315

316 317
config MACH_OMAP_ZOOM3
	bool "OMAP3630 Zoom3 board"
318
	depends on ARCH_OMAP3
319
	default y
320
	select OMAP_PACKAGE_CBP
321
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
322 323
	select SERIAL_8250
	select SERIAL_8250_CONSOLE
324
	select SERIAL_CORE_CONSOLE
325

326
config MACH_CM_T35
327
	bool "CompuLab CM-T35/CM-T3730 modules"
328
	depends on ARCH_OMAP3
329
	default y
330
	select MACH_CM_T3730
331
	select OMAP_PACKAGE_CUS
332

333 334 335 336 337 338
config MACH_CM_T3517
	bool "CompuLab CM-T3517 module"
	depends on ARCH_OMAP3
	default y
	select OMAP_PACKAGE_CBB

339 340 341
config MACH_CM_T3730
       bool

342
config MACH_IGEP0020
343
	bool "IGEP v2 board"
344
	depends on ARCH_OMAP3
345
	default y
346
	select OMAP_PACKAGE_CBB
347

348 349 350 351
config MACH_IGEP0030
	bool "IGEP OMAP3 module"
	depends on ARCH_OMAP3
	default y
M
Mike Rapoport 已提交
352
	select MACH_IGEP0020
353
	select OMAP_PACKAGE_CBB
354

355 356 357
config MACH_SBC3530
	bool "OMAP3 SBC STALKER board"
	depends on ARCH_OMAP3
358
	default y
359 360
	select OMAP_PACKAGE_CUS

361 362
config MACH_OMAP_3630SDP
	bool "OMAP3630 SDP board"
363
	depends on ARCH_OMAP3
364
	default y
365
	select OMAP_PACKAGE_CBP
366

367 368
config MACH_TI8168EVM
	bool "TI8168 Evaluation Module"
369
	depends on SOC_TI81XX
370
	default y
371 372 373

config MACH_TI8148EVM
	bool "TI8148 Evaluation Module"
374
	depends on SOC_TI81XX
375
	default y
376

377 378
config MACH_OMAP_4430SDP
	bool "OMAP 4430 SDP board"
379
	default y
380
	depends on ARCH_OMAP4
381
	select OMAP_PACKAGE_CBL
382
	select OMAP_PACKAGE_CBS
383
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
384

D
David Anders 已提交
385 386 387 388
config MACH_OMAP4_PANDA
	bool "OMAP4 Panda Board"
	default y
	depends on ARCH_OMAP4
389 390
	select OMAP_PACKAGE_CBL
	select OMAP_PACKAGE_CBS
391
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
D
David Anders 已提交
392

393 394 395
config OMAP3_EMU
	bool "OMAP3 debugging peripherals"
	depends on ARCH_OMAP3
396
	select ARM_AMBA
397 398 399 400
	select OC_ETM
	help
	  Say Y here to enable debugging hardware of omap3

401 402
config OMAP3_SDRC_AC_TIMING
	bool "Enable SDRC AC timing register changes"
403
	depends on ARCH_OMAP3
404 405 406 407 408 409 410 411 412
	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;

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

endif