Kconfig 22.8 KB
Newer Older
S
Shawn Guo 已提交
1
config ARCH_MXC
2
	bool "Freescale i.MX family" if ARCH_MULTI_V4_V5 || ARCH_MULTI_V6_V7
S
Shawn Guo 已提交
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
	select ARCH_REQUIRE_GPIOLIB
	select ARM_PATCH_PHYS_VIRT
	select AUTO_ZRELADDR if !ZBOOT_ROM
	select CLKDEV_LOOKUP
	select CLKSRC_MMIO
	select GENERIC_CLOCKEVENTS
	select GENERIC_IRQ_CHIP
	select MULTI_IRQ_HANDLER
	select SPARSE_IRQ
	select USE_OF
	help
	  Support for Freescale MXC/iMX-based family of processors

menu "Freescale i.MX support"
	depends on ARCH_MXC
S
Shawn Guo 已提交
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67

config MXC_IRQ_PRIOR
	bool "Use IRQ priority"
	help
	  Select this if you want to use prioritized IRQ handling.
	  This feature prevents higher priority ISR to be interrupted
	  by lower priority IRQ even IRQF_DISABLED flag is not set.
	  This may be useful in embedded applications, where are strong
	  requirements for timing.
	  Say N here, unless you have a specialized requirement.

config MXC_TZIC
	bool

config MXC_AVIC
	bool

config MXC_DEBUG_BOARD
	bool "Enable MXC debug board(for 3-stack)"
	help
	  The debug board is an integral part of the MXC 3-stack(PDK)
	  platforms, it can be attached or removed from the peripheral
	  board. On debug board, several debug devices(ethernet, UART,
	  buttons, LEDs and JTAG) are implemented. Between the MCU and
	  these devices, a CPLD is added as a bridge which performs
	  data/address de-multiplexing and decode, signal level shift,
	  interrupt control and various board functions.

config HAVE_EPIT
	bool

config MXC_USE_EPIT
	bool "Use EPIT instead of GPT"
	depends on HAVE_EPIT
	help
	  Use EPIT as the system timer on systems that have it. Normally you
	  don't have a reason to do so as the EPIT has the same features and
	  uses the same clocks as the GPT. Anyway, on some systems the GPT
	  may be in use for other purposes.

config MXC_ULPI
	bool

config ARCH_HAS_RNGA
	bool

config IRAM_ALLOC
	bool
	select GENERIC_ALLOCATOR

68 69 70 71 72 73 74
config HAVE_IMX_GPC
	bool

config HAVE_IMX_MMDC
	bool

config HAVE_IMX_SRC
75
	def_bool y if SMP
76

77 78 79 80 81 82
config IMX_HAVE_IOMUX_V1
	bool

config ARCH_MXC_IOMUX_V3
	bool

83 84 85 86 87 88 89 90 91 92 93 94
config ARCH_MX1
	bool

config MACH_MX21
	bool

config ARCH_MX25
	bool

config MACH_MX27
	bool

95 96 97 98 99 100 101 102 103 104 105 106
config ARCH_MX5
	bool

config ARCH_MX50
	bool

config ARCH_MX51
	bool

config ARCH_MX53
	bool

107
config SOC_IMX1
108
	bool
109
	select ARCH_MX1
110
	select COMMON_CLK
111 112
	select CPU_ARM920T
	select IMX_HAVE_IOMUX_V1
113
	select MXC_AVIC
114 115 116

config SOC_IMX21
	bool
117
	select COMMON_CLK
118
	select CPU_ARM926T
119
	select IMX_HAVE_IOMUX_V1
120
	select MACH_MX21
121
	select MXC_AVIC
122 123

config SOC_IMX25
124
	bool
125
	select ARCH_MX25
126
	select ARCH_MXC_IOMUX_V3
127
	select COMMON_CLK
128
	select CPU_ARM926T
129
	select HAVE_CAN_FLEXCAN if CAN
130
	select MXC_AVIC
131 132 133

config SOC_IMX27
	bool
134
	select COMMON_CLK
135
	select CPU_ARM926T
136
	select IMX_HAVE_IOMUX_V1
137
	select MACH_MX27
138
	select MXC_AVIC
139

140 141
config SOC_IMX31
	bool
142
	select COMMON_CLK
143 144 145
	select CPU_V6
	select IMX_HAVE_PLATFORM_MXC_RNGA
	select MXC_AVIC
S
Sascha Hauer 已提交
146
	select SMP_ON_UP if SMP
147 148 149 150

config SOC_IMX35
	bool
	select ARCH_MXC_IOMUX_V3
151
	select COMMON_CLK
152 153
	select CPU_V6K
	select HAVE_CAN_FLEXCAN if CAN
154 155
	select HAVE_EPIT
	select MXC_AVIC
S
Sascha Hauer 已提交
156
	select SMP_ON_UP if SMP
157

158
config SOC_IMX5
159
	bool
160 161
	select ARCH_HAS_CPUFREQ
	select ARCH_MX5
162 163 164 165
	select ARCH_MXC_IOMUX_V3
	select COMMON_CLK
	select CPU_V7
	select MXC_TZIC
166 167 168 169

config SOC_IMX50
	bool
	select ARCH_MX50
170
	select SOC_IMX5
171 172 173 174 175

config	SOC_IMX51
	bool
	select ARCH_MX5
	select ARCH_MX51
S
Shawn Guo 已提交
176 177
	select PINCTRL
	select PINCTRL_IMX51
178
	select SOC_IMX5
179

S
Shawn Guo 已提交
180
if ARCH_MULTI_V4T
181

182 183 184 185 186 187
comment "MX1 platforms:"
config MACH_MXLADS
	bool

config ARCH_MX1ADS
	bool "MX1ADS platform"
188
	select IMX_HAVE_PLATFORM_IMX_I2C
189
	select IMX_HAVE_PLATFORM_IMX_UART
190 191
	select MACH_MXLADS
	select SOC_IMX1
192 193 194 195 196
	help
	  Say Y here if you are using Motorola MX1ADS/MXLADS boards

config MACH_SCB9328
	bool "Synertronixx scb9328"
197
	select IMX_HAVE_PLATFORM_IMX_UART
198 199 200
	help
	  Say Y here if you are using a Synertronixx scb9328 board

201 202
config MACH_APF9328
	bool "APF9328"
203
	select IMX_HAVE_PLATFORM_IMX_I2C
204
	select IMX_HAVE_PLATFORM_IMX_UART
205
	select SOC_IMX1
206 207 208
	help
	  Say Yes here if you are using the Armadeus APF9328 development board

S
Shawn Guo 已提交
209 210 211 212
endif

if ARCH_MULTI_V5

213
comment "MX21 platforms:"
214

I
Ivo Clarysse 已提交
215 216
config MACH_MX21ADS
	bool "MX21ADS platform"
217
	select IMX_HAVE_PLATFORM_IMX_FB
218
	select IMX_HAVE_PLATFORM_IMX_UART
219
	select IMX_HAVE_PLATFORM_MXC_MMC
220
	select IMX_HAVE_PLATFORM_MXC_NAND
221
	select SOC_IMX21
I
Ivo Clarysse 已提交
222 223 224 225
	help
	  Include support for MX21ADS platform. This includes specific
	  configurations for the board and its peripherals.

226 227 228 229
comment "MX25 platforms:"

config MACH_MX25_3DS
	bool "Support MX25PDK (3DS) Platform"
230
	select IMX_HAVE_PLATFORM_FLEXCAN
231
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
232 233 234
	select IMX_HAVE_PLATFORM_IMX2_WDT
	select IMX_HAVE_PLATFORM_IMXDI_RTC
	select IMX_HAVE_PLATFORM_IMX_FB
235
	select IMX_HAVE_PLATFORM_IMX_I2C
236 237 238 239
	select IMX_HAVE_PLATFORM_IMX_KEYPAD
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_NAND
240
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
241
	select SOC_IMX25
242

E
Eric Bénard 已提交
243
config MACH_EUKREA_CPUIMX25SD
244 245 246
	bool "Support Eukrea CPUIMX25 Platform"
	select IMX_HAVE_PLATFORM_FLEXCAN
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
247
	select IMX_HAVE_PLATFORM_IMX2_WDT
248 249 250 251 252 253
	select IMX_HAVE_PLATFORM_IMXDI_RTC
	select IMX_HAVE_PLATFORM_IMX_FB
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_NAND
254
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
255
	select MXC_ULPI if USB_ULPI
256
	select SOC_IMX25
257 258 259

choice
	prompt "Baseboard"
E
Eric Bénard 已提交
260
	depends on MACH_EUKREA_CPUIMX25SD
261 262 263 264
	default MACH_EUKREA_MBIMXSD25_BASEBOARD

config MACH_EUKREA_MBIMXSD25_BASEBOARD
	bool "Eukrea MBIMXSD development board"
265
	select IMX_HAVE_PLATFORM_GPIO_KEYS
266
	select IMX_HAVE_PLATFORM_IMX_SSI
267
	select IMX_HAVE_PLATFORM_SPI_IMX
268
	select LEDS_GPIO_REGISTER
269 270 271 272 273 274
	help
	  This adds board specific devices that can be found on Eukrea's
	  MBIMXSD evaluation board.

endchoice

S
Sascha Hauer 已提交
275 276 277 278 279 280 281
config MACH_IMX25_DT
	bool "Support i.MX25 platforms from device tree"
	select SOC_IMX25
	help
	  Include support for Freescale i.MX25 based platforms
	  using the device tree for discovery

282 283
comment "MX27 platforms:"

284 285
config MACH_MX27ADS
	bool "MX27ADS platform"
286
	select IMX_HAVE_PLATFORM_IMX_FB
287
	select IMX_HAVE_PLATFORM_IMX_I2C
288
	select IMX_HAVE_PLATFORM_IMX_UART
289
	select IMX_HAVE_PLATFORM_MXC_MMC
290
	select IMX_HAVE_PLATFORM_MXC_NAND
291
	select IMX_HAVE_PLATFORM_MXC_W1
292
	select SOC_IMX27
293 294 295
	help
	  Include support for MX27ADS platform. This includes specific
	  configurations for the board and its peripherals.
296 297 298

config MACH_PCM038
	bool "Phytec phyCORE-i.MX27 CPU module (pcm038)"
299
	select IMX_HAVE_PLATFORM_IMX2_WDT
300
	select IMX_HAVE_PLATFORM_IMX_I2C
301
	select IMX_HAVE_PLATFORM_IMX_UART
302
	select IMX_HAVE_PLATFORM_MXC_EHCI
303
	select IMX_HAVE_PLATFORM_MXC_NAND
304
	select IMX_HAVE_PLATFORM_MXC_W1
305
	select IMX_HAVE_PLATFORM_SPI_IMX
S
Sascha Hauer 已提交
306
	select MXC_ULPI if USB_ULPI
307
	select SOC_IMX27
308 309 310
	help
	  Include support for phyCORE-i.MX27 (aka pcm038) platform. This
	  includes specific configurations for the module and its peripherals.
311 312 313 314 315 316 317

choice
	prompt "Baseboard"
	depends on MACH_PCM038
	default MACH_PCM970_BASEBOARD

config MACH_PCM970_BASEBOARD
318 319
	bool "PHYTEC PCM970 development board"
	select IMX_HAVE_PLATFORM_IMX_FB
320
	select IMX_HAVE_PLATFORM_MXC_MMC
321 322 323 324 325
	help
	  This adds board specific devices that can be found on Phytec's
	  PCM970 evaluation board.

endchoice
H
Holger Schurig 已提交
326

327
config MACH_CPUIMX27
E
Eric Benard 已提交
328
	bool "Eukrea CPUIMX27 module"
329
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
330
	select IMX_HAVE_PLATFORM_IMX2_WDT
331
	select IMX_HAVE_PLATFORM_IMX_I2C
332
	select IMX_HAVE_PLATFORM_IMX_UART
333
	select IMX_HAVE_PLATFORM_MXC_EHCI
334
	select IMX_HAVE_PLATFORM_MXC_NAND
335
	select IMX_HAVE_PLATFORM_MXC_W1
336
	select MXC_ULPI if USB_ULPI
337
	select SOC_IMX27
E
Eric Benard 已提交
338 339 340 341 342 343
	help
	  Include support for Eukrea CPUIMX27 platform. This includes
	  specific configurations for the module and its peripherals.

config MACH_EUKREA_CPUIMX27_USESDHC2
	bool "CPUIMX27 integrates SDHC2 module"
344
	depends on MACH_CPUIMX27
345
	select IMX_HAVE_PLATFORM_MXC_MMC
E
Eric Benard 已提交
346
	help
347
	  This adds support for the internal SDHC2 used on CPUIMX27
E
Eric Benard 已提交
348 349
	  for wifi or eMMC.

350 351 352 353 354 355 356
config MACH_EUKREA_CPUIMX27_USEUART4
	bool "CPUIMX27 integrates UART4 module"
	depends on MACH_CPUIMX27
	help
	  This adds support for the internal UART4 used on CPUIMX27
	  for bluetooth.

E
Eric Benard 已提交
357 358
choice
	prompt "Baseboard"
359
	depends on MACH_CPUIMX27
E
Eric Benard 已提交
360 361 362
	default MACH_EUKREA_MBIMX27_BASEBOARD

config MACH_EUKREA_MBIMX27_BASEBOARD
363
	bool "Eukrea MBIMX27 development board"
364
	select IMX_HAVE_PLATFORM_IMX_FB
365
	select IMX_HAVE_PLATFORM_IMX_KEYPAD
366
	select IMX_HAVE_PLATFORM_IMX_SSI
367
	select IMX_HAVE_PLATFORM_IMX_UART
368
	select IMX_HAVE_PLATFORM_MXC_MMC
369
	select IMX_HAVE_PLATFORM_SPI_IMX
370
	select LEDS_GPIO_REGISTER
E
Eric Benard 已提交
371 372 373 374 375 376
	help
	  This adds board specific devices that can be found on Eukrea's
	  MBIMX27 evaluation board.

endchoice

377 378
config MACH_MX27_3DS
	bool "MX27PDK platform"
379
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
380
	select IMX_HAVE_PLATFORM_IMX2_WDT
381
	select IMX_HAVE_PLATFORM_IMX_FB
F
Fabio Estevam 已提交
382
	select IMX_HAVE_PLATFORM_IMX_I2C
383
	select IMX_HAVE_PLATFORM_IMX_KEYPAD
F
Fabio Estevam 已提交
384
	select IMX_HAVE_PLATFORM_IMX_SSI
385
	select IMX_HAVE_PLATFORM_IMX_UART
386
	select IMX_HAVE_PLATFORM_MX2_CAMERA
387
	select IMX_HAVE_PLATFORM_MXC_EHCI
388
	select IMX_HAVE_PLATFORM_MXC_MMC
389
	select IMX_HAVE_PLATFORM_SPI_IMX
390
	select MXC_DEBUG_BOARD
391
	select MXC_ULPI if USB_ULPI
392
	select SOC_IMX27
393 394 395
	help
	  Include support for MX27PDK platform. This includes specific
	  configurations for the board and its peripherals.
396

397 398
config MACH_IMX27_VISSTRIM_M10
	bool "Vista Silicon i.MX27 Visstrim_m10"
399
	select IMX_HAVE_PLATFORM_GPIO_KEYS
400
	select IMX_HAVE_PLATFORM_IMX_I2C
401
	select IMX_HAVE_PLATFORM_IMX_SSI
402
	select IMX_HAVE_PLATFORM_IMX_UART
403
	select IMX_HAVE_PLATFORM_MX2_CAMERA
404
	select IMX_HAVE_PLATFORM_MX2_EMMA
405
	select IMX_HAVE_PLATFORM_MXC_EHCI
406
	select IMX_HAVE_PLATFORM_MXC_MMC
407
	select LEDS_GPIO_REGISTER
408
	select SOC_IMX27
409 410 411 412 413
	help
	  Include support for Visstrim_m10 platform and its different variants.
	  This includes specific configurations for the board and its
	  peripherals.

414
config MACH_IMX27LITE
415
	bool "LogicPD MX27 LITEKIT platform"
416
	select IMX_HAVE_PLATFORM_IMX_SSI
417 418
	select IMX_HAVE_PLATFORM_IMX_UART
	select SOC_IMX27
419 420 421 422
	help
	  Include support for MX27 LITEKIT platform. This includes specific
	  configurations for the board and its peripherals.

423 424
config MACH_PCA100
	bool "Phytec phyCARD-s (pca100)"
425
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
426
	select IMX_HAVE_PLATFORM_IMX2_WDT
427
	select IMX_HAVE_PLATFORM_IMX_FB
428
	select IMX_HAVE_PLATFORM_IMX_I2C
429
	select IMX_HAVE_PLATFORM_IMX_SSI
430
	select IMX_HAVE_PLATFORM_IMX_UART
431
	select IMX_HAVE_PLATFORM_MXC_EHCI
432
	select IMX_HAVE_PLATFORM_MXC_MMC
433
	select IMX_HAVE_PLATFORM_MXC_NAND
434
	select IMX_HAVE_PLATFORM_MXC_W1
435
	select IMX_HAVE_PLATFORM_SPI_IMX
S
Sascha Hauer 已提交
436
	select MXC_ULPI if USB_ULPI
437
	select SOC_IMX27
438 439 440 441
	help
	  Include support for phyCARD-s (aka pca100) platform. This
	  includes specific configurations for the module and its peripherals.

442 443
config MACH_MXT_TD60
	bool "Maxtrack i-MXT TD60"
444
	select IMX_HAVE_PLATFORM_IMX_FB
445
	select IMX_HAVE_PLATFORM_IMX_I2C
446
	select IMX_HAVE_PLATFORM_IMX_UART
447
	select IMX_HAVE_PLATFORM_MXC_MMC
448
	select IMX_HAVE_PLATFORM_MXC_NAND
449
	select SOC_IMX27
450 451 452 453
	help
	  Include support for i-MXT (aka td60) platform. This
	  includes specific configurations for the module and its peripherals.

454 455 456 457
config MACH_IMX27IPCAM
	bool "IMX27 IPCAM platform"
	select IMX_HAVE_PLATFORM_IMX2_WDT
	select IMX_HAVE_PLATFORM_IMX_UART
458
	select SOC_IMX27
459 460 461 462
	help
	  Include support for IMX27 IPCAM platform. This includes specific
	  configurations for the board and its peripherals.

463 464 465 466 467 468 469
config MACH_IMX27_DT
	bool "Support i.MX27 platforms from device tree"
	select SOC_IMX27
	help
	  Include support for Freescale i.MX27 based platforms
	  using the device tree for discovery

H
Holger Schurig 已提交
470
endif
471

S
Shawn Guo 已提交
472
if ARCH_MULTI_V6
473 474 475 476 477

comment "MX31 platforms:"

config MACH_MX31ADS
	bool "Support MX31ADS platforms"
478
	default y
479 480 481
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_SSI
	select IMX_HAVE_PLATFORM_IMX_UART
482
	select SOC_IMX31
483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505
	help
	  Include support for MX31ADS platform. This includes specific
	  configurations for the board and its peripherals.

config MACH_MX31ADS_WM1133_EV1
	bool "Support Wolfson Microelectronics 1133-EV1 module"
	depends on MACH_MX31ADS
	depends on MFD_WM8350_I2C
	depends on REGULATOR_WM8350
	select MFD_WM8350_CONFIG_MODE_0
	select MFD_WM8352_CONFIG_MODE_0
	help
	  Include support for the Wolfson Microelectronics 1133-EV1 PMU
	  and audio module for the MX31ADS platform.

config MACH_MX31LILLY
	bool "Support MX31 LILLY-1131 platforms (INCO startec)"
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_IPU_CORE
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_MMC
	select IMX_HAVE_PLATFORM_SPI_IMX
	select MXC_ULPI if USB_ULPI
506
	select SOC_IMX31
507 508 509 510 511 512 513 514 515 516 517 518 519
	help
	  Include support for mx31 based LILLY1131 modules. This includes
	  specific configurations for the board and its peripherals.

config MACH_MX31LITE
	bool "Support MX31 LITEKIT (LogicPD)"
	select IMX_HAVE_PLATFORM_IMX2_WDT
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_MMC
	select IMX_HAVE_PLATFORM_MXC_NAND
	select IMX_HAVE_PLATFORM_MXC_RTC
	select IMX_HAVE_PLATFORM_SPI_IMX
520
	select LEDS_GPIO_REGISTER
521 522
	select MXC_ULPI if USB_ULPI
	select SOC_IMX31
523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538
	help
	  Include support for MX31 LITEKIT platform. This includes specific
	  configurations for the board and its peripherals.

config MACH_PCM037
	bool "Support Phytec pcm037 (i.MX31) platforms"
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
	select IMX_HAVE_PLATFORM_IMX2_WDT
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_IPU_CORE
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_MMC
	select IMX_HAVE_PLATFORM_MXC_NAND
	select IMX_HAVE_PLATFORM_MXC_W1
	select MXC_ULPI if USB_ULPI
539
	select SOC_IMX31
540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559
	help
	  Include support for Phytec pcm037 platform. This includes
	  specific configurations for the board and its peripherals.

config MACH_PCM037_EET
	bool "Support pcm037 EET board extensions"
	depends on MACH_PCM037
	select IMX_HAVE_PLATFORM_GPIO_KEYS
	select IMX_HAVE_PLATFORM_SPI_IMX
	help
	  Add support for PCM037 EET baseboard extensions. If you are using the
	  OLED display with EET, use "video=mx3fb:CMEL-OLED" kernel
	  command-line parameter.

config MACH_MX31_3DS
	bool "Support MX31PDK (3DS)"
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
	select IMX_HAVE_PLATFORM_IMX2_WDT
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_KEYPAD
560
	select IMX_HAVE_PLATFORM_IMX_SSI
561 562 563
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_IPU_CORE
	select IMX_HAVE_PLATFORM_MXC_EHCI
564
	select IMX_HAVE_PLATFORM_MXC_MMC
565 566
	select IMX_HAVE_PLATFORM_MXC_NAND
	select IMX_HAVE_PLATFORM_SPI_IMX
567
	select MXC_DEBUG_BOARD
568
	select MXC_ULPI if USB_ULPI
569
	select SOC_IMX31
570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585
	help
	  Include support for MX31PDK (3DS) platform. This includes specific
	  configurations for the board and its peripherals.

config MACH_MX31_3DS_MXC_NAND_USE_BBT
	bool "Make the MXC NAND driver use the in flash Bad Block Table"
	depends on MACH_MX31_3DS
	depends on MTD_NAND_MXC
	help
	  Enable this if you want that the MXC NAND driver uses the in flash
	  Bad Block Table to know what blocks are bad instead of scanning the
	  entire flash looking for bad block markers.

config MACH_MX31MOBOARD
	bool "Support mx31moboard platforms (EPFL Mobots group)"
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
586
	select IMX_HAVE_PLATFORM_IMX2_WDT
587
	select IMX_HAVE_PLATFORM_IMX_I2C
588
	select IMX_HAVE_PLATFORM_IMX_SSI
589 590 591 592 593
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_IPU_CORE
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_MMC
	select IMX_HAVE_PLATFORM_SPI_IMX
594
	select LEDS_GPIO_REGISTER
595
	select MXC_ULPI if USB_ULPI
596
	select SOC_IMX31
597 598 599 600 601 602
	help
	  Include support for mx31moboard platform. This includes specific
	  configurations for the board and its peripherals.

config MACH_QONG
	bool "Support Dave/DENX QongEVB-LITE platform"
603
	select IMX_HAVE_PLATFORM_IMX2_WDT
604 605
	select IMX_HAVE_PLATFORM_IMX_UART
	select SOC_IMX31
606 607 608 609 610 611 612 613 614 615 616 617 618 619
	help
	  Include support for Dave/DENX QongEVB-LITE platform. This includes
	  specific configurations for the board and its peripherals.

config MACH_ARMADILLO5X0
	bool "Support Atmark Armadillo-500 Development Base Board"
	select IMX_HAVE_PLATFORM_GPIO_KEYS
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_IPU_CORE
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_MMC
	select IMX_HAVE_PLATFORM_MXC_NAND
	select MXC_ULPI if USB_ULPI
620
	select SOC_IMX31
621 622 623 624 625 626 627
	help
	  Include support for Atmark Armadillo-500 platform. This includes
	  specific configurations for the board and its peripherals.

config MACH_KZM_ARM11_01
	bool "Support KZM-ARM11-01(Kyoto Microcomputer)"
	select IMX_HAVE_PLATFORM_IMX_UART
628
	select SOC_IMX31
629 630 631 632 633 634 635
	help
	  Include support for KZM-ARM11-01. This includes specific
	  configurations for the board and its peripherals.

config MACH_BUG
	bool "Support Buglabs BUGBase platform"
	default y
636 637
	select IMX_HAVE_PLATFORM_IMX_UART
	select SOC_IMX31
638 639 640 641
	help
	  Include support for BUGBase 1.3 platform. This includes specific
	  configurations for the board and its peripherals.

642 643 644 645 646 647 648
config MACH_IMX31_DT
	bool "Support i.MX31 platforms from device tree"
	select SOC_IMX31
	help
	  Include support for Freescale i.MX31 based platforms
	  using the device tree for discovery.

649 650 651 652 653 654 655 656 657 658 659 660 661 662 663
comment "MX35 platforms:"

config MACH_PCM043
	bool "Support Phytec pcm043 (i.MX35) platforms"
	select IMX_HAVE_PLATFORM_FLEXCAN
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
	select IMX_HAVE_PLATFORM_IMX2_WDT
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_SSI
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_IPU_CORE
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_NAND
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
	select MXC_ULPI if USB_ULPI
664
	select SOC_IMX35
665 666 667 668 669 670 671 672
	help
	  Include support for Phytec pcm043 platform. This includes
	  specific configurations for the board and its peripherals.

config MACH_MX35_3DS
	bool "Support MX35PDK platform"
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
	select IMX_HAVE_PLATFORM_IMX2_WDT
673
	select IMX_HAVE_PLATFORM_IMX_FB
674 675
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_UART
676
	select IMX_HAVE_PLATFORM_IPU_CORE
677 678
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_NAND
679
	select IMX_HAVE_PLATFORM_MXC_RTC
680
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
681 682
	select MXC_DEBUG_BOARD
	select SOC_IMX35
683 684 685 686
	help
	  Include support for MX35PDK platform. This includes specific
	  configurations for the board and its peripherals.

E
Eric Bénard 已提交
687
config MACH_EUKREA_CPUIMX35SD
688 689 690 691 692 693 694 695 696 697
	bool "Support Eukrea CPUIMX35 Platform"
	select IMX_HAVE_PLATFORM_FLEXCAN
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
	select IMX_HAVE_PLATFORM_IMX2_WDT
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_NAND
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
	select MXC_ULPI if USB_ULPI
698
	select SOC_IMX35
699 700 701 702 703 704
	help
	  Include support for Eukrea CPUIMX35 platform. This includes
	  specific configurations for the board and its peripherals.

choice
	prompt "Baseboard"
E
Eric Bénard 已提交
705
	depends on MACH_EUKREA_CPUIMX35SD
706 707 708 709 710 711 712
	default MACH_EUKREA_MBIMXSD35_BASEBOARD

config MACH_EUKREA_MBIMXSD35_BASEBOARD
	bool "Eukrea MBIMXSD development board"
	select IMX_HAVE_PLATFORM_GPIO_KEYS
	select IMX_HAVE_PLATFORM_IMX_SSI
	select IMX_HAVE_PLATFORM_IPU_CORE
713
	select IMX_HAVE_PLATFORM_SPI_IMX
714
	select LEDS_GPIO_REGISTER
715 716 717 718 719 720 721 722 723 724 725 726
	help
	  This adds board specific devices that can be found on Eukrea's
	  MBIMXSD evaluation board.

endchoice

config MACH_VPR200
	bool "Support VPR200 platform"
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
	select IMX_HAVE_PLATFORM_GPIO_KEYS
	select IMX_HAVE_PLATFORM_IMX2_WDT
	select IMX_HAVE_PLATFORM_IMX_I2C
727
	select IMX_HAVE_PLATFORM_IMX_UART
728 729 730 731
	select IMX_HAVE_PLATFORM_IPU_CORE
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_NAND
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
732
	select SOC_IMX35
733 734 735 736
	help
	  Include support for VPR200 platform. This includes specific
	  configurations for the board and its peripherals.

S
Shawn Guo 已提交
737 738 739 740
endif

if ARCH_MULTI_V7

741 742 743 744 745 746 747 748 749
comment "i.MX5 platforms:"

config MACH_MX50_RDP
	bool "Support MX50 reference design platform"
	depends on BROKEN
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
	select IMX_HAVE_PLATFORM_SPI_IMX
750
	select SOC_IMX50
751 752 753 754 755 756 757 758 759
	help
	  Include support for MX50 reference design platform (RDP) board. This
	  includes specific configurations for the board and its peripherals.

comment "i.MX51 machines:"

config MACH_IMX51_DT
	bool "Support i.MX51 platforms from device tree"
	select MACH_MX51_BABBAGE
760
	select SOC_IMX51
761 762 763 764 765 766 767 768 769 770 771 772 773
	help
	  Include support for Freescale i.MX51 based platforms
	  using the device tree for discovery

config MACH_MX51_BABBAGE
	bool "Support MX51 BABBAGE platforms"
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
	select IMX_HAVE_PLATFORM_IMX2_WDT
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
	select IMX_HAVE_PLATFORM_SPI_IMX
774
	select SOC_IMX51
775 776 777 778 779 780 781 782 783 784 785 786 787
	help
	  Include support for MX51 Babbage platform, also known as MX51EVK in
	  u-boot. This includes specific configurations for the board and its
	  peripherals.

config MACH_MX51_3DS
	bool "Support MX51PDK (3DS)"
	select IMX_HAVE_PLATFORM_IMX2_WDT
	select IMX_HAVE_PLATFORM_IMX_KEYPAD
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
	select IMX_HAVE_PLATFORM_SPI_IMX
	select MXC_DEBUG_BOARD
788
	select SOC_IMX51
789 790 791 792 793 794 795
	help
	  Include support for MX51PDK (3DS) platform. This includes specific
	  configurations for the board and its peripherals.

config MACH_EUKREA_CPUIMX51SD
	bool "Support Eukrea CPUIMX51SD module"
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
796
	select IMX_HAVE_PLATFORM_IMX2_WDT
797 798 799 800 801
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_NAND
	select IMX_HAVE_PLATFORM_SPI_IMX
802
	select SOC_IMX51
803 804 805 806 807 808 809 810 811 812 813 814
	help
	  Include support for Eukrea CPUIMX51SD platform. This includes
	  specific configurations for the module and its peripherals.

choice
	prompt "Baseboard"
	depends on MACH_EUKREA_CPUIMX51SD
	default MACH_EUKREA_MBIMXSD51_BASEBOARD

config MACH_EUKREA_MBIMXSD51_BASEBOARD
	prompt "Eukrea MBIMXSD development board"
	bool
815
	select IMX_HAVE_PLATFORM_IMX_SSI
816 817 818 819 820 821 822 823
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
	select LEDS_GPIO_REGISTER
	help
	  This adds board specific devices that can be found on Eukrea's
	  MBIMXSD evaluation board.

endchoice

824
comment "Device tree only"
825

826 827 828 829 830
config	SOC_IMX53
	bool "i.MX53 support"
	select ARCH_MX5
	select ARCH_MX53
	select HAVE_CAN_FLEXCAN if CAN
831
	select IMX_HAVE_PLATFORM_IMX2_WDT
832 833
	select PINCTRL
	select PINCTRL_IMX53
834
	select SOC_IMX5
835 836

	help
837
	  This enables support for Freescale i.MX53 processor.
838 839 840

config SOC_IMX6Q
	bool "i.MX6 Quad support"
S
Shawn Guo 已提交
841 842
	select ARCH_HAS_CPUFREQ
	select ARCH_HAS_OPP
843
	select ARM_CPU_SUSPEND if PM
844 845 846
	select ARM_ERRATA_754322
	select ARM_ERRATA_764369 if SMP
	select ARM_ERRATA_775420
847
	select ARM_GIC
848
	select COMMON_CLK
849
	select CPU_V7
850
	select HAVE_ARM_SCU
851
	select HAVE_CAN_FLEXCAN if CAN
852 853
	select HAVE_IMX_GPC
	select HAVE_IMX_MMDC
854
	select HAVE_IMX_SRC
855
	select HAVE_SMP
856
	select MFD_SYSCON
857 858
	select PINCTRL
	select PINCTRL_IMX6Q
859 860 861
	select PL310_ERRATA_588369 if CACHE_PL310
	select PL310_ERRATA_727915 if CACHE_PL310
	select PL310_ERRATA_769419 if CACHE_PL310
S
Shawn Guo 已提交
862
	select PM_OPP if PM
863 864 865 866

	help
	  This enables support for Freescale i.MX6 Quad processor.

867
endif
868 869

source "arch/arm/mach-imx/devices/Kconfig"
S
Shawn Guo 已提交
870

S
Shawn Guo 已提交
871
endmenu