Kconfig 22.3 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
3 4
	select ARCH_HAS_CPUFREQ
	select ARCH_HAS_OPP
S
Shawn Guo 已提交
5
	select ARCH_REQUIRE_GPIOLIB
6
	select ARM_CPU_SUSPEND if PM
S
Shawn Guo 已提交
7
	select CLKSRC_MMIO
8
	select GENERIC_ALLOCATOR
S
Shawn Guo 已提交
9
	select GENERIC_IRQ_CHIP
10
	select PINCTRL
11
	select PM_OPP if PM
12
	select SOC_BUS
S
Shawn Guo 已提交
13 14 15 16 17
	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

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 ARCH_HAS_RNGA
	bool

51 52 53
config HAVE_IMX_ANATOP
	bool

54 55 56 57 58 59 60
config HAVE_IMX_GPC
	bool

config HAVE_IMX_MMDC
	bool

config HAVE_IMX_SRC
61
	def_bool y if SMP
62
	select ARCH_HAS_RESET_CONTROLLER
63

64 65 66 67 68 69
config IMX_HAVE_IOMUX_V1
	bool

config ARCH_MXC_IOMUX_V3
	bool

70 71 72 73 74 75 76 77 78
config ARCH_MX1
	bool

config ARCH_MX25
	bool

config MACH_MX27
	bool

79
config SOC_IMX1
80
	bool
81
	select ARCH_MX1
82 83
	select CPU_ARM920T
	select IMX_HAVE_IOMUX_V1
84
	select MXC_AVIC
85 86 87

config SOC_IMX21
	bool
88
	select CPU_ARM926T
89
	select IMX_HAVE_IOMUX_V1
90
	select MXC_AVIC
91 92

config SOC_IMX25
93
	bool
94
	select ARCH_MX25
95
	select ARCH_MXC_IOMUX_V3
96
	select CPU_ARM926T
97
	select MXC_AVIC
98
	select PINCTRL_IMX25
99 100 101

config SOC_IMX27
	bool
102 103
	select ARCH_HAS_CPUFREQ
	select ARCH_HAS_OPP
104
	select CPU_ARM926T
105
	select IMX_HAVE_IOMUX_V1
106
	select MACH_MX27
107
	select MXC_AVIC
M
Markus Pargmann 已提交
108
	select PINCTRL_IMX27
109

110 111 112 113 114
config SOC_IMX31
	bool
	select CPU_V6
	select IMX_HAVE_PLATFORM_MXC_RNGA
	select MXC_AVIC
S
Sascha Hauer 已提交
115
	select SMP_ON_UP if SMP
116 117 118 119 120 121

config SOC_IMX35
	bool
	select ARCH_MXC_IOMUX_V3
	select HAVE_EPIT
	select MXC_AVIC
122
	select PINCTRL_IMX35
S
Sascha Hauer 已提交
123
	select SMP_ON_UP if SMP
124

125
config SOC_IMX5
126
	bool
127
	select ARCH_HAS_CPUFREQ
128
	select ARCH_HAS_OPP
129 130
	select ARCH_MXC_IOMUX_V3
	select MXC_TZIC
131 132 133

config	SOC_IMX51
	bool
134
	select HAVE_IMX_SRC
S
Shawn Guo 已提交
135
	select PINCTRL_IMX51
136
	select SOC_IMX5
137

S
Shawn Guo 已提交
138
if ARCH_MULTI_V4T
139

140 141 142 143 144 145
comment "MX1 platforms:"
config MACH_MXLADS
	bool

config ARCH_MX1ADS
	bool "MX1ADS platform"
146
	select IMX_HAVE_PLATFORM_IMX_I2C
147
	select IMX_HAVE_PLATFORM_IMX_UART
148 149
	select MACH_MXLADS
	select SOC_IMX1
150 151 152 153 154
	help
	  Say Y here if you are using Motorola MX1ADS/MXLADS boards

config MACH_SCB9328
	bool "Synertronixx scb9328"
155
	select IMX_HAVE_PLATFORM_IMX_UART
156
	select SOC_IMX1
157 158 159
	help
	  Say Y here if you are using a Synertronixx scb9328 board

160 161
config MACH_APF9328
	bool "APF9328"
162
	select IMX_HAVE_PLATFORM_IMX_I2C
163
	select IMX_HAVE_PLATFORM_IMX_UART
164
	select SOC_IMX1
165 166 167
	help
	  Say Yes here if you are using the Armadeus APF9328 development board

S
Shawn Guo 已提交
168 169 170 171
endif

if ARCH_MULTI_V5

172
comment "MX21 platforms:"
173

I
Ivo Clarysse 已提交
174 175
config MACH_MX21ADS
	bool "MX21ADS platform"
176
	select IMX_HAVE_PLATFORM_IMX_FB
177
	select IMX_HAVE_PLATFORM_IMX_UART
178
	select IMX_HAVE_PLATFORM_MXC_MMC
179
	select IMX_HAVE_PLATFORM_MXC_NAND
180
	select SOC_IMX21
I
Ivo Clarysse 已提交
181 182 183 184
	help
	  Include support for MX21ADS platform. This includes specific
	  configurations for the board and its peripherals.

185 186 187 188
comment "MX25 platforms:"

config MACH_MX25_3DS
	bool "Support MX25PDK (3DS) Platform"
189
	select IMX_HAVE_PLATFORM_FLEXCAN
190
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
191 192 193
	select IMX_HAVE_PLATFORM_IMX2_WDT
	select IMX_HAVE_PLATFORM_IMXDI_RTC
	select IMX_HAVE_PLATFORM_IMX_FB
194
	select IMX_HAVE_PLATFORM_IMX_I2C
195 196 197 198
	select IMX_HAVE_PLATFORM_IMX_KEYPAD
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_NAND
199
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
200
	select SOC_IMX25
201

E
Eric Bénard 已提交
202
config MACH_EUKREA_CPUIMX25SD
203 204 205
	bool "Support Eukrea CPUIMX25 Platform"
	select IMX_HAVE_PLATFORM_FLEXCAN
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
206
	select IMX_HAVE_PLATFORM_IMX2_WDT
207 208 209 210 211 212
	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
213
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
214
	select USB_ULPI_VIEWPORT if USB_ULPI
215
	select SOC_IMX25
216 217 218

choice
	prompt "Baseboard"
E
Eric Bénard 已提交
219
	depends on MACH_EUKREA_CPUIMX25SD
220 221 222 223
	default MACH_EUKREA_MBIMXSD25_BASEBOARD

config MACH_EUKREA_MBIMXSD25_BASEBOARD
	bool "Eukrea MBIMXSD development board"
224
	select IMX_HAVE_PLATFORM_GPIO_KEYS
225
	select IMX_HAVE_PLATFORM_IMX_SSI
226
	select IMX_HAVE_PLATFORM_SPI_IMX
227
	select LEDS_GPIO_REGISTER
228 229 230 231 232 233
	help
	  This adds board specific devices that can be found on Eukrea's
	  MBIMXSD evaluation board.

endchoice

S
Sascha Hauer 已提交
234 235 236 237 238 239 240
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

241 242
comment "MX27 platforms:"

243 244
config MACH_MX27ADS
	bool "MX27ADS platform"
245
	select IMX_HAVE_PLATFORM_IMX_FB
246
	select IMX_HAVE_PLATFORM_IMX_I2C
247
	select IMX_HAVE_PLATFORM_IMX_UART
248
	select IMX_HAVE_PLATFORM_MXC_MMC
249
	select IMX_HAVE_PLATFORM_MXC_NAND
250
	select IMX_HAVE_PLATFORM_MXC_W1
251
	select SOC_IMX27
252 253 254
	help
	  Include support for MX27ADS platform. This includes specific
	  configurations for the board and its peripherals.
255 256 257

config MACH_PCM038
	bool "Phytec phyCORE-i.MX27 CPU module (pcm038)"
258
	select IMX_HAVE_PLATFORM_IMX2_WDT
259
	select IMX_HAVE_PLATFORM_IMX_I2C
260
	select IMX_HAVE_PLATFORM_IMX_UART
261
	select IMX_HAVE_PLATFORM_MXC_EHCI
262
	select IMX_HAVE_PLATFORM_MXC_NAND
263
	select IMX_HAVE_PLATFORM_MXC_W1
264
	select IMX_HAVE_PLATFORM_SPI_IMX
265
	select USB_ULPI_VIEWPORT if USB_ULPI
266
	select SOC_IMX27
267 268 269
	help
	  Include support for phyCORE-i.MX27 (aka pcm038) platform. This
	  includes specific configurations for the module and its peripherals.
270 271 272 273 274 275 276

choice
	prompt "Baseboard"
	depends on MACH_PCM038
	default MACH_PCM970_BASEBOARD

config MACH_PCM970_BASEBOARD
277 278
	bool "PHYTEC PCM970 development board"
	select IMX_HAVE_PLATFORM_IMX_FB
279
	select IMX_HAVE_PLATFORM_MXC_MMC
280 281 282 283 284
	help
	  This adds board specific devices that can be found on Phytec's
	  PCM970 evaluation board.

endchoice
H
Holger Schurig 已提交
285

286
config MACH_CPUIMX27
E
Eric Benard 已提交
287
	bool "Eukrea CPUIMX27 module"
288
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
289
	select IMX_HAVE_PLATFORM_IMX2_WDT
290
	select IMX_HAVE_PLATFORM_IMX_I2C
291
	select IMX_HAVE_PLATFORM_IMX_UART
292
	select IMX_HAVE_PLATFORM_MXC_EHCI
293
	select IMX_HAVE_PLATFORM_MXC_NAND
294
	select IMX_HAVE_PLATFORM_MXC_W1
295
	select USB_ULPI_VIEWPORT if USB_ULPI
296
	select SOC_IMX27
E
Eric Benard 已提交
297 298 299 300 301 302
	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"
303
	depends on MACH_CPUIMX27
304
	select IMX_HAVE_PLATFORM_MXC_MMC
E
Eric Benard 已提交
305
	help
306
	  This adds support for the internal SDHC2 used on CPUIMX27
E
Eric Benard 已提交
307 308
	  for wifi or eMMC.

309 310 311 312 313 314 315
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 已提交
316 317
choice
	prompt "Baseboard"
318
	depends on MACH_CPUIMX27
E
Eric Benard 已提交
319 320 321
	default MACH_EUKREA_MBIMX27_BASEBOARD

config MACH_EUKREA_MBIMX27_BASEBOARD
322
	bool "Eukrea MBIMX27 development board"
323
	select IMX_HAVE_PLATFORM_IMX_FB
324
	select IMX_HAVE_PLATFORM_IMX_KEYPAD
325
	select IMX_HAVE_PLATFORM_IMX_SSI
326
	select IMX_HAVE_PLATFORM_IMX_UART
327
	select IMX_HAVE_PLATFORM_MXC_MMC
328
	select IMX_HAVE_PLATFORM_SPI_IMX
329
	select LEDS_GPIO_REGISTER
E
Eric Benard 已提交
330 331 332 333 334 335
	help
	  This adds board specific devices that can be found on Eukrea's
	  MBIMX27 evaluation board.

endchoice

336 337
config MACH_MX27_3DS
	bool "MX27PDK platform"
338
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
339
	select IMX_HAVE_PLATFORM_IMX2_WDT
340
	select IMX_HAVE_PLATFORM_IMX_FB
F
Fabio Estevam 已提交
341
	select IMX_HAVE_PLATFORM_IMX_I2C
342
	select IMX_HAVE_PLATFORM_IMX_KEYPAD
F
Fabio Estevam 已提交
343
	select IMX_HAVE_PLATFORM_IMX_SSI
344
	select IMX_HAVE_PLATFORM_IMX_UART
345
	select IMX_HAVE_PLATFORM_MX2_CAMERA
346
	select IMX_HAVE_PLATFORM_MXC_EHCI
347
	select IMX_HAVE_PLATFORM_MXC_MMC
348
	select IMX_HAVE_PLATFORM_SPI_IMX
349
	select MXC_DEBUG_BOARD
350
	select USB_ULPI_VIEWPORT if USB_ULPI
351
	select SOC_IMX27
352 353 354
	help
	  Include support for MX27PDK platform. This includes specific
	  configurations for the board and its peripherals.
355

356 357
config MACH_IMX27_VISSTRIM_M10
	bool "Vista Silicon i.MX27 Visstrim_m10"
358
	select IMX_HAVE_PLATFORM_GPIO_KEYS
359
	select IMX_HAVE_PLATFORM_IMX_I2C
360
	select IMX_HAVE_PLATFORM_IMX_SSI
361
	select IMX_HAVE_PLATFORM_IMX_UART
362
	select IMX_HAVE_PLATFORM_MX2_CAMERA
363
	select IMX_HAVE_PLATFORM_MX2_EMMA
364
	select IMX_HAVE_PLATFORM_MXC_EHCI
365
	select IMX_HAVE_PLATFORM_MXC_MMC
366
	select LEDS_GPIO_REGISTER
367
	select SOC_IMX27
368 369 370 371 372
	help
	  Include support for Visstrim_m10 platform and its different variants.
	  This includes specific configurations for the board and its
	  peripherals.

373
config MACH_IMX27LITE
374
	bool "LogicPD MX27 LITEKIT platform"
375
	select IMX_HAVE_PLATFORM_IMX_SSI
376 377
	select IMX_HAVE_PLATFORM_IMX_UART
	select SOC_IMX27
378 379 380 381
	help
	  Include support for MX27 LITEKIT platform. This includes specific
	  configurations for the board and its peripherals.

382 383
config MACH_PCA100
	bool "Phytec phyCARD-s (pca100)"
384
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
385
	select IMX_HAVE_PLATFORM_IMX2_WDT
386
	select IMX_HAVE_PLATFORM_IMX_FB
387
	select IMX_HAVE_PLATFORM_IMX_I2C
388
	select IMX_HAVE_PLATFORM_IMX_SSI
389
	select IMX_HAVE_PLATFORM_IMX_UART
390
	select IMX_HAVE_PLATFORM_MXC_EHCI
391
	select IMX_HAVE_PLATFORM_MXC_MMC
392
	select IMX_HAVE_PLATFORM_MXC_NAND
393
	select IMX_HAVE_PLATFORM_MXC_W1
394
	select IMX_HAVE_PLATFORM_SPI_IMX
395
	select USB_ULPI_VIEWPORT if USB_ULPI
396
	select SOC_IMX27
397 398 399 400
	help
	  Include support for phyCARD-s (aka pca100) platform. This
	  includes specific configurations for the module and its peripherals.

401 402
config MACH_MXT_TD60
	bool "Maxtrack i-MXT TD60"
403
	select IMX_HAVE_PLATFORM_IMX_FB
404
	select IMX_HAVE_PLATFORM_IMX_I2C
405
	select IMX_HAVE_PLATFORM_IMX_UART
406
	select IMX_HAVE_PLATFORM_MXC_MMC
407
	select IMX_HAVE_PLATFORM_MXC_NAND
408
	select SOC_IMX27
409 410 411 412
	help
	  Include support for i-MXT (aka td60) platform. This
	  includes specific configurations for the module and its peripherals.

413 414 415 416
config MACH_IMX27IPCAM
	bool "IMX27 IPCAM platform"
	select IMX_HAVE_PLATFORM_IMX2_WDT
	select IMX_HAVE_PLATFORM_IMX_UART
417
	select SOC_IMX27
418 419 420 421
	help
	  Include support for IMX27 IPCAM platform. This includes specific
	  configurations for the board and its peripherals.

422 423 424 425 426 427 428
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 已提交
429
endif
430

S
Shawn Guo 已提交
431
if ARCH_MULTI_V6
432 433 434 435 436

comment "MX31 platforms:"

config MACH_MX31ADS
	bool "Support MX31ADS platforms"
437
	default y
438 439 440
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_SSI
	select IMX_HAVE_PLATFORM_IMX_UART
441
	select SOC_IMX31
442 443 444 445 446 447 448 449
	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
450
	depends on REGULATOR_WM8350 = y
451 452 453 454 455 456 457 458 459 460 461
	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
462
	select USB_ULPI_VIEWPORT if USB_ULPI
463
	select SOC_IMX31
464 465 466 467 468 469 470 471 472 473 474 475 476
	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
477
	select LEDS_GPIO_REGISTER
478
	select USB_ULPI_VIEWPORT if USB_ULPI
479
	select SOC_IMX31
480 481 482 483 484 485 486 487 488 489 490 491 492 493 494
	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
495
	select USB_ULPI_VIEWPORT if USB_ULPI
496
	select SOC_IMX31
497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516
	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
517
	select IMX_HAVE_PLATFORM_IMX_SSI
518 519 520
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_IPU_CORE
	select IMX_HAVE_PLATFORM_MXC_EHCI
521
	select IMX_HAVE_PLATFORM_MXC_MMC
522 523
	select IMX_HAVE_PLATFORM_MXC_NAND
	select IMX_HAVE_PLATFORM_SPI_IMX
524
	select MXC_DEBUG_BOARD
525
	select USB_ULPI_VIEWPORT if USB_ULPI
526
	select SOC_IMX31
527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542
	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
543
	select IMX_HAVE_PLATFORM_IMX2_WDT
544
	select IMX_HAVE_PLATFORM_IMX_I2C
545
	select IMX_HAVE_PLATFORM_IMX_SSI
546 547 548 549 550
	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
551
	select LEDS_GPIO_REGISTER
552
	select USB_ULPI_VIEWPORT if USB_ULPI
553
	select SOC_IMX31
554 555 556 557 558 559
	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"
560
	select IMX_HAVE_PLATFORM_IMX2_WDT
561 562
	select IMX_HAVE_PLATFORM_IMX_UART
	select SOC_IMX31
563 564 565 566 567 568 569 570 571 572 573 574 575
	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
576
	select USB_ULPI_VIEWPORT if USB_ULPI
577
	select SOC_IMX31
578 579 580 581 582 583 584
	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
585
	select SOC_IMX31
586 587 588 589 590 591 592
	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
593 594
	select IMX_HAVE_PLATFORM_IMX_UART
	select SOC_IMX31
595 596 597 598
	help
	  Include support for BUGBase 1.3 platform. This includes specific
	  configurations for the board and its peripherals.

599 600 601 602 603 604 605
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.

606 607
comment "MX35 platforms:"

608 609 610 611 612 613 614
config MACH_IMX35_DT
	bool "Support i.MX35 platforms from device tree"
	select SOC_IMX35
	help
	  Include support for Freescale i.MX35 based platforms
	  using the device tree for discovery.

615 616 617 618 619 620 621 622 623 624 625 626
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
627
	select USB_ULPI_VIEWPORT if USB_ULPI
628
	select SOC_IMX35
629 630 631 632 633 634 635 636
	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
637
	select IMX_HAVE_PLATFORM_IMX_FB
638 639
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_UART
640
	select IMX_HAVE_PLATFORM_IPU_CORE
641 642
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_NAND
643
	select IMX_HAVE_PLATFORM_MXC_RTC
644
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
645 646
	select MXC_DEBUG_BOARD
	select SOC_IMX35
647 648 649 650
	help
	  Include support for MX35PDK platform. This includes specific
	  configurations for the board and its peripherals.

E
Eric Bénard 已提交
651
config MACH_EUKREA_CPUIMX35SD
652 653 654 655 656 657 658 659 660
	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
661
	select USB_ULPI_VIEWPORT if USB_ULPI
662
	select SOC_IMX35
663 664 665 666 667 668
	help
	  Include support for Eukrea CPUIMX35 platform. This includes
	  specific configurations for the board and its peripherals.

choice
	prompt "Baseboard"
E
Eric Bénard 已提交
669
	depends on MACH_EUKREA_CPUIMX35SD
670 671 672 673 674 675 676
	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
677
	select IMX_HAVE_PLATFORM_SPI_IMX
678
	select LEDS_GPIO_REGISTER
679 680 681 682 683 684 685 686 687 688 689 690
	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
691
	select IMX_HAVE_PLATFORM_IMX_UART
692 693 694 695
	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
696
	select SOC_IMX35
697 698 699 700
	help
	  Include support for VPR200 platform. This includes specific
	  configurations for the board and its peripherals.

S
Shawn Guo 已提交
701 702 703 704
endif

if ARCH_MULTI_V7

705 706 707 708
comment "i.MX51 machines:"

config MACH_IMX51_DT
	bool "Support i.MX51 platforms from device tree"
709
	select SOC_IMX51
710 711 712 713 714 715 716 717 718 719 720 721 722
	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
723
	select SOC_IMX51
724 725 726 727 728 729 730 731
	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_EUKREA_CPUIMX51SD
	bool "Support Eukrea CPUIMX51SD module"
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
732
	select IMX_HAVE_PLATFORM_IMX2_WDT
733 734 735 736 737
	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
738
	select SOC_IMX51
739 740 741 742 743 744 745 746 747 748 749 750
	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
751
	select IMX_HAVE_PLATFORM_IMX_SSI
752 753 754 755 756 757 758 759
	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

760
comment "Device tree only"
761

762 763 764
config	SOC_IMX50
	bool "i.MX50 support"
	select HAVE_IMX_SRC
765
	select PINCTRL_IMX50
766 767 768 769 770
	select SOC_IMX5

	help
	  This enables support for Freescale i.MX50 processor.

771 772
config	SOC_IMX53
	bool "i.MX53 support"
773
	select HAVE_IMX_SRC
774
	select IMX_HAVE_PLATFORM_IMX2_WDT
775
	select PINCTRL_IMX53
776
	select SOC_IMX5
777 778

	help
779
	  This enables support for Freescale i.MX53 processor.
780 781

config SOC_IMX6Q
S
Shawn Guo 已提交
782
	bool "i.MX6 Quad/DualLite support"
783 784 785
	select ARM_ERRATA_754322
	select ARM_ERRATA_764369 if SMP
	select ARM_ERRATA_775420
786
	select ARM_GIC
787
	select HAVE_ARM_SCU if SMP
788
	select HAVE_ARM_TWD if SMP
789
	select HAVE_IMX_ANATOP
790 791
	select HAVE_IMX_GPC
	select HAVE_IMX_MMDC
792
	select HAVE_IMX_SRC
793
	select MFD_SYSCON
794 795
	select MIGHT_HAVE_PCI
	select PCI_DOMAINS if PCI
796
	select PINCTRL_IMX6Q
797 798 799
	select PL310_ERRATA_588369 if CACHE_PL310
	select PL310_ERRATA_727915 if CACHE_PL310
	select PL310_ERRATA_769419 if CACHE_PL310
800 801 802 803

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

804 805 806 807 808 809 810 811 812
config SOC_IMX6SL
	bool "i.MX6 SoloLite support"
	select ARM_ERRATA_754322
	select ARM_ERRATA_775420
	select ARM_GIC
	select HAVE_IMX_ANATOP
	select HAVE_IMX_GPC
	select HAVE_IMX_MMDC
	select HAVE_IMX_SRC
813
	select MFD_SYSCON
814 815 816 817 818 819 820 821
	select PINCTRL_IMX6SL
	select PL310_ERRATA_588369 if CACHE_PL310
	select PL310_ERRATA_727915 if CACHE_PL310
	select PL310_ERRATA_769419 if CACHE_PL310

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

822 823 824 825 826 827 828 829 830 831 832 833
config SOC_VF610
	bool "Vybrid Family VF610 support"
	select ARM_GIC
	select PINCTRL_VF610
	select VF_PIT_TIMER
	select PL310_ERRATA_588369 if CACHE_PL310
	select PL310_ERRATA_727915 if CACHE_PL310
	select PL310_ERRATA_769419 if CACHE_PL310

	help
	  This enable support for Freescale Vybrid VF610 processor.

834
endif
835 836

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

S
Shawn Guo 已提交
838
endmenu