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
S
Shawn Guo 已提交
3
	select ARCH_REQUIRE_GPIOLIB
4
	select ARM_CPU_SUSPEND if PM
S
Shawn Guo 已提交
5
	select CLKSRC_MMIO
6
	select GENERIC_ALLOCATOR
S
Shawn Guo 已提交
7
	select GENERIC_IRQ_CHIP
8
	select PINCTRL
9
	select SOC_BUS
S
Shawn Guo 已提交
10 11 12 13 14
	help
	  Support for Freescale MXC/iMX-based family of processors

menu "Freescale i.MX support"
	depends on ARCH_MXC
S
Shawn Guo 已提交
15 16 17 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

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

48 49 50
config HAVE_IMX_ANATOP
	bool

51 52 53 54 55 56 57
config HAVE_IMX_GPC
	bool

config HAVE_IMX_MMDC
	bool

config HAVE_IMX_SRC
58
	def_bool y if SMP
59
	select ARCH_HAS_RESET_CONTROLLER
60

61 62 63 64 65 66
config IMX_HAVE_IOMUX_V1
	bool

config ARCH_MXC_IOMUX_V3
	bool

67 68 69 70 71 72 73 74 75
config ARCH_MX1
	bool

config ARCH_MX25
	bool

config MACH_MX27
	bool

76
config SOC_IMX1
77
	bool
78
	select ARCH_MX1
79 80
	select CPU_ARM920T
	select IMX_HAVE_IOMUX_V1
81
	select MXC_AVIC
82 83 84

config SOC_IMX21
	bool
85
	select CPU_ARM926T
86
	select IMX_HAVE_IOMUX_V1
87
	select MXC_AVIC
88 89

config SOC_IMX25
90
	bool
91
	select ARCH_MX25
92
	select ARCH_MXC_IOMUX_V3
93
	select CPU_ARM926T
94
	select MXC_AVIC
95
	select PINCTRL_IMX25
96 97 98

config SOC_IMX27
	bool
99 100
	select ARCH_HAS_CPUFREQ
	select ARCH_HAS_OPP
101
	select CPU_ARM926T
102
	select IMX_HAVE_IOMUX_V1
103
	select MACH_MX27
104
	select MXC_AVIC
M
Markus Pargmann 已提交
105
	select PINCTRL_IMX27
106

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

config SOC_IMX35
	bool
	select ARCH_MXC_IOMUX_V3
	select HAVE_EPIT
	select MXC_AVIC
S
Sascha Hauer 已提交
119
	select SMP_ON_UP if SMP
120
	select PINCTRL
121

122
config SOC_IMX5
123
	bool
124
	select ARCH_HAS_CPUFREQ
125
	select ARCH_HAS_OPP
126 127
	select ARCH_MXC_IOMUX_V3
	select MXC_TZIC
128 129 130

config	SOC_IMX51
	bool
131
	select HAVE_IMX_SRC
S
Shawn Guo 已提交
132
	select PINCTRL_IMX51
133
	select SOC_IMX5
134

S
Shawn Guo 已提交
135
if ARCH_MULTI_V4T
136

137 138 139 140 141 142
comment "MX1 platforms:"
config MACH_MXLADS
	bool

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

config MACH_SCB9328
	bool "Synertronixx scb9328"
152
	select IMX_HAVE_PLATFORM_IMX_UART
153
	select SOC_IMX1
154 155 156
	help
	  Say Y here if you are using a Synertronixx scb9328 board

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

S
Shawn Guo 已提交
165 166 167 168
endif

if ARCH_MULTI_V5

169
comment "MX21 platforms:"
170

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

182 183 184 185
comment "MX25 platforms:"

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

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

choice
	prompt "Baseboard"
E
Eric Bénard 已提交
216
	depends on MACH_EUKREA_CPUIMX25SD
217 218 219 220
	default MACH_EUKREA_MBIMXSD25_BASEBOARD

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

endchoice

S
Sascha Hauer 已提交
231 232 233 234 235 236 237
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

238 239
comment "MX27 platforms:"

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

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

choice
	prompt "Baseboard"
	depends on MACH_PCM038
	default MACH_PCM970_BASEBOARD

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

endchoice
H
Holger Schurig 已提交
282

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

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

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

endchoice

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

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

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

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

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

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

419 420 421 422 423 424 425
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 已提交
426
endif
427

S
Shawn Guo 已提交
428
if ARCH_MULTI_V6
429 430 431 432 433

comment "MX31 platforms:"

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

596 597 598 599 600 601 602
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.

603 604
comment "MX35 platforms:"

605 606 607 608 609 610 611
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.

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

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

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

S
Shawn Guo 已提交
698 699 700 701
endif

if ARCH_MULTI_V7

702 703 704 705
comment "i.MX51 machines:"

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

757
comment "Device tree only"
758

759 760 761
config	SOC_IMX50
	bool "i.MX50 support"
	select HAVE_IMX_SRC
762
	select PINCTRL_IMX50
763 764 765 766 767
	select SOC_IMX5

	help
	  This enables support for Freescale i.MX50 processor.

768 769
config	SOC_IMX53
	bool "i.MX53 support"
770
	select HAVE_IMX_SRC
771
	select IMX_HAVE_PLATFORM_IMX2_WDT
772
	select PINCTRL_IMX53
773
	select SOC_IMX5
774 775

	help
776
	  This enables support for Freescale i.MX53 processor.
777 778

config SOC_IMX6Q
S
Shawn Guo 已提交
779
	bool "i.MX6 Quad/DualLite support"
S
Shawn Guo 已提交
780 781
	select ARCH_HAS_CPUFREQ
	select ARCH_HAS_OPP
782 783 784
	select ARM_ERRATA_754322
	select ARM_ERRATA_764369 if SMP
	select ARM_ERRATA_775420
785
	select ARM_GIC
786
	select HAVE_ARM_SCU if SMP
787
	select HAVE_ARM_TWD if SMP
788
	select HAVE_IMX_ANATOP
789 790
	select HAVE_IMX_GPC
	select HAVE_IMX_MMDC
791
	select HAVE_IMX_SRC
792
	select MFD_SYSCON
793 794
	select MIGHT_HAVE_PCI
	select PCI_DOMAINS if PCI
795
	select PINCTRL_IMX6Q
796 797 798
	select PL310_ERRATA_588369 if CACHE_PL310
	select PL310_ERRATA_727915 if CACHE_PL310
	select PL310_ERRATA_769419 if CACHE_PL310
S
Shawn Guo 已提交
799
	select PM_OPP if PM
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