Kconfig 22.4 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 6 7
	select ARM_PATCH_PHYS_VIRT
	select AUTO_ZRELADDR if !ZBOOT_ROM
	select CLKSRC_MMIO
8
	select COMMON_CLK
9
	select GENERIC_ALLOCATOR
S
Shawn Guo 已提交
10 11
	select GENERIC_CLOCKEVENTS
	select GENERIC_IRQ_CHIP
12
	select MIGHT_HAVE_CACHE_L2X0 if ARCH_MULTI_V6_V7
S
Shawn Guo 已提交
13
	select MULTI_IRQ_HANDLER
14
	select PINCTRL
15
	select SOC_BUS
S
Shawn Guo 已提交
16 17 18 19 20 21 22
	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 已提交
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

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

56 57 58
config HAVE_IMX_ANATOP
	bool

59 60 61 62 63 64 65
config HAVE_IMX_GPC
	bool

config HAVE_IMX_MMDC
	bool

config HAVE_IMX_SRC
66
	def_bool y if SMP
67
	select ARCH_HAS_RESET_CONTROLLER
68

69 70 71 72 73 74
config IMX_HAVE_IOMUX_V1
	bool

config ARCH_MXC_IOMUX_V3
	bool

75 76 77 78 79 80 81 82 83
config ARCH_MX1
	bool

config ARCH_MX25
	bool

config MACH_MX27
	bool

84
config SOC_IMX1
85
	bool
86
	select ARCH_MX1
87 88
	select CPU_ARM920T
	select IMX_HAVE_IOMUX_V1
89
	select MXC_AVIC
90 91 92

config SOC_IMX21
	bool
93
	select CPU_ARM926T
94
	select IMX_HAVE_IOMUX_V1
95
	select MXC_AVIC
96 97

config SOC_IMX25
98
	bool
99
	select ARCH_MX25
100
	select ARCH_MXC_IOMUX_V3
101
	select CPU_ARM926T
102
	select MXC_AVIC
103
	select PINCTRL_IMX25
104 105 106

config SOC_IMX27
	bool
107 108
	select ARCH_HAS_CPUFREQ
	select ARCH_HAS_OPP
109
	select CPU_ARM926T
110
	select IMX_HAVE_IOMUX_V1
111
	select MACH_MX27
112
	select MXC_AVIC
M
Markus Pargmann 已提交
113
	select PINCTRL_IMX27
114

115 116 117 118 119
config SOC_IMX31
	bool
	select CPU_V6
	select IMX_HAVE_PLATFORM_MXC_RNGA
	select MXC_AVIC
S
Sascha Hauer 已提交
120
	select SMP_ON_UP if SMP
121 122 123 124

config SOC_IMX35
	bool
	select ARCH_MXC_IOMUX_V3
125
	select CPU_V6K
126 127
	select HAVE_EPIT
	select MXC_AVIC
S
Sascha Hauer 已提交
128
	select SMP_ON_UP if SMP
129

130
config SOC_IMX5
131
	bool
132
	select ARCH_HAS_CPUFREQ
133
	select ARCH_HAS_OPP
134 135 136
	select ARCH_MXC_IOMUX_V3
	select CPU_V7
	select MXC_TZIC
137 138 139

config	SOC_IMX51
	bool
140
	select HAVE_IMX_SRC
S
Shawn Guo 已提交
141
	select PINCTRL_IMX51
142
	select SOC_IMX5
143

S
Shawn Guo 已提交
144
if ARCH_MULTI_V4T
145

146 147 148 149 150 151
comment "MX1 platforms:"
config MACH_MXLADS
	bool

config ARCH_MX1ADS
	bool "MX1ADS platform"
152
	select IMX_HAVE_PLATFORM_IMX_I2C
153
	select IMX_HAVE_PLATFORM_IMX_UART
154 155
	select MACH_MXLADS
	select SOC_IMX1
156 157 158 159 160
	help
	  Say Y here if you are using Motorola MX1ADS/MXLADS boards

config MACH_SCB9328
	bool "Synertronixx scb9328"
161
	select IMX_HAVE_PLATFORM_IMX_UART
162
	select SOC_IMX1
163 164 165
	help
	  Say Y here if you are using a Synertronixx scb9328 board

166 167
config MACH_APF9328
	bool "APF9328"
168
	select IMX_HAVE_PLATFORM_IMX_I2C
169
	select IMX_HAVE_PLATFORM_IMX_UART
170
	select SOC_IMX1
171 172 173
	help
	  Say Yes here if you are using the Armadeus APF9328 development board

S
Shawn Guo 已提交
174 175 176 177
endif

if ARCH_MULTI_V5

178
comment "MX21 platforms:"
179

I
Ivo Clarysse 已提交
180 181
config MACH_MX21ADS
	bool "MX21ADS platform"
182
	select IMX_HAVE_PLATFORM_IMX_FB
183
	select IMX_HAVE_PLATFORM_IMX_UART
184
	select IMX_HAVE_PLATFORM_MXC_MMC
185
	select IMX_HAVE_PLATFORM_MXC_NAND
186
	select SOC_IMX21
I
Ivo Clarysse 已提交
187 188 189 190
	help
	  Include support for MX21ADS platform. This includes specific
	  configurations for the board and its peripherals.

191 192 193 194
comment "MX25 platforms:"

config MACH_MX25_3DS
	bool "Support MX25PDK (3DS) Platform"
195
	select IMX_HAVE_PLATFORM_FLEXCAN
196
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
197 198 199
	select IMX_HAVE_PLATFORM_IMX2_WDT
	select IMX_HAVE_PLATFORM_IMXDI_RTC
	select IMX_HAVE_PLATFORM_IMX_FB
200
	select IMX_HAVE_PLATFORM_IMX_I2C
201 202 203 204
	select IMX_HAVE_PLATFORM_IMX_KEYPAD
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_NAND
205
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
206
	select SOC_IMX25
207

E
Eric Bénard 已提交
208
config MACH_EUKREA_CPUIMX25SD
209 210 211
	bool "Support Eukrea CPUIMX25 Platform"
	select IMX_HAVE_PLATFORM_FLEXCAN
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
212
	select IMX_HAVE_PLATFORM_IMX2_WDT
213 214 215 216 217 218
	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
219
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
220
	select USB_ULPI_VIEWPORT if USB_ULPI
221
	select SOC_IMX25
222 223 224

choice
	prompt "Baseboard"
E
Eric Bénard 已提交
225
	depends on MACH_EUKREA_CPUIMX25SD
226 227 228 229
	default MACH_EUKREA_MBIMXSD25_BASEBOARD

config MACH_EUKREA_MBIMXSD25_BASEBOARD
	bool "Eukrea MBIMXSD development board"
230
	select IMX_HAVE_PLATFORM_GPIO_KEYS
231
	select IMX_HAVE_PLATFORM_IMX_SSI
232
	select IMX_HAVE_PLATFORM_SPI_IMX
233
	select LEDS_GPIO_REGISTER
234 235 236 237 238 239
	help
	  This adds board specific devices that can be found on Eukrea's
	  MBIMXSD evaluation board.

endchoice

S
Sascha Hauer 已提交
240 241 242 243 244 245 246
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

247 248
comment "MX27 platforms:"

249 250
config MACH_MX27ADS
	bool "MX27ADS platform"
251
	select IMX_HAVE_PLATFORM_IMX_FB
252
	select IMX_HAVE_PLATFORM_IMX_I2C
253
	select IMX_HAVE_PLATFORM_IMX_UART
254
	select IMX_HAVE_PLATFORM_MXC_MMC
255
	select IMX_HAVE_PLATFORM_MXC_NAND
256
	select IMX_HAVE_PLATFORM_MXC_W1
257
	select SOC_IMX27
258 259 260
	help
	  Include support for MX27ADS platform. This includes specific
	  configurations for the board and its peripherals.
261 262 263

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

choice
	prompt "Baseboard"
	depends on MACH_PCM038
	default MACH_PCM970_BASEBOARD

config MACH_PCM970_BASEBOARD
283 284
	bool "PHYTEC PCM970 development board"
	select IMX_HAVE_PLATFORM_IMX_FB
285
	select IMX_HAVE_PLATFORM_MXC_MMC
286 287 288 289 290
	help
	  This adds board specific devices that can be found on Phytec's
	  PCM970 evaluation board.

endchoice
H
Holger Schurig 已提交
291

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

315 316 317 318 319 320 321
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 已提交
322 323
choice
	prompt "Baseboard"
324
	depends on MACH_CPUIMX27
E
Eric Benard 已提交
325 326 327
	default MACH_EUKREA_MBIMX27_BASEBOARD

config MACH_EUKREA_MBIMX27_BASEBOARD
328
	bool "Eukrea MBIMX27 development board"
329
	select IMX_HAVE_PLATFORM_IMX_FB
330
	select IMX_HAVE_PLATFORM_IMX_KEYPAD
331
	select IMX_HAVE_PLATFORM_IMX_SSI
332
	select IMX_HAVE_PLATFORM_IMX_UART
333
	select IMX_HAVE_PLATFORM_MXC_MMC
334
	select IMX_HAVE_PLATFORM_SPI_IMX
335
	select LEDS_GPIO_REGISTER
E
Eric Benard 已提交
336 337 338 339 340 341
	help
	  This adds board specific devices that can be found on Eukrea's
	  MBIMX27 evaluation board.

endchoice

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

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

379
config MACH_IMX27LITE
380
	bool "LogicPD MX27 LITEKIT platform"
381
	select IMX_HAVE_PLATFORM_IMX_SSI
382 383
	select IMX_HAVE_PLATFORM_IMX_UART
	select SOC_IMX27
384 385 386 387
	help
	  Include support for MX27 LITEKIT platform. This includes specific
	  configurations for the board and its peripherals.

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

407 408
config MACH_MXT_TD60
	bool "Maxtrack i-MXT TD60"
409
	select IMX_HAVE_PLATFORM_IMX_FB
410
	select IMX_HAVE_PLATFORM_IMX_I2C
411
	select IMX_HAVE_PLATFORM_IMX_UART
412
	select IMX_HAVE_PLATFORM_MXC_MMC
413
	select IMX_HAVE_PLATFORM_MXC_NAND
414
	select SOC_IMX27
415 416 417 418
	help
	  Include support for i-MXT (aka td60) platform. This
	  includes specific configurations for the module and its peripherals.

419 420 421 422
config MACH_IMX27IPCAM
	bool "IMX27 IPCAM platform"
	select IMX_HAVE_PLATFORM_IMX2_WDT
	select IMX_HAVE_PLATFORM_IMX_UART
423
	select SOC_IMX27
424 425 426 427
	help
	  Include support for IMX27 IPCAM platform. This includes specific
	  configurations for the board and its peripherals.

428 429 430 431 432 433 434
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 已提交
435
endif
436

S
Shawn Guo 已提交
437
if ARCH_MULTI_V6
438 439 440 441 442

comment "MX31 platforms:"

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

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

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

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

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

S
Shawn Guo 已提交
700 701 702 703
endif

if ARCH_MULTI_V7

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

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

759
comment "Device tree only"
760

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

	help
	  This enables support for Freescale i.MX50 processor.

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

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

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

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

808 809 810 811 812 813 814 815 816 817
config SOC_IMX6SL
	bool "i.MX6 SoloLite support"
	select ARM_ERRATA_754322
	select ARM_ERRATA_775420
	select ARM_GIC
	select CPU_V7
	select HAVE_IMX_ANATOP
	select HAVE_IMX_GPC
	select HAVE_IMX_MMDC
	select HAVE_IMX_SRC
818
	select MFD_SYSCON
819 820 821 822 823 824 825 826
	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.

827 828 829 830 831 832 833 834 835 836 837 838 839 840
config SOC_VF610
	bool "Vybrid Family VF610 support"
	select CPU_V7
	select ARM_GIC
	select CLKSRC_OF
	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.

841
endif
842 843

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

S
Shawn Guo 已提交
845
endmenu