Kconfig 20.3 KB
Newer Older
1 2 3 4 5 6 7 8 9
config HAVE_IMX_GPC
	bool

config HAVE_IMX_MMDC
	bool

config HAVE_IMX_SRC
	bool

10 11 12 13 14 15 16 17 18 19 20 21
config ARCH_MX1
	bool

config MACH_MX21
	bool

config ARCH_MX25
	bool

config MACH_MX27
	bool

22 23 24 25 26 27 28 29 30 31 32 33
config ARCH_MX5
	bool

config ARCH_MX50
	bool

config ARCH_MX51
	bool

config ARCH_MX53
	bool

34
config SOC_IMX1
35
	bool
36
	select ARCH_MX1
37
	select COMMON_CLK
38 39
	select CPU_ARM920T
	select IMX_HAVE_IOMUX_V1
40
	select MXC_AVIC
41 42 43

config SOC_IMX21
	bool
44
	select MACH_MX21
45
	select CPU_ARM926T
46
	select COMMON_CLK
47
	select IMX_HAVE_IOMUX_V1
48
	select MXC_AVIC
49 50

config SOC_IMX25
51
	bool
52
	select ARCH_MX25
53
	select COMMON_CLK
54
	select CPU_ARM926T
55
	select HAVE_CAN_FLEXCAN if CAN
56
	select ARCH_MXC_IOMUX_V3
57
	select MXC_AVIC
58 59 60

config SOC_IMX27
	bool
61
	select MACH_MX27
62
	select CPU_ARM926T
63
	select COMMON_CLK
64
	select IMX_HAVE_IOMUX_V1
65
	select MXC_AVIC
66

67 68 69 70 71
config SOC_IMX31
	bool
	select CPU_V6
	select IMX_HAVE_PLATFORM_MXC_RNGA
	select MXC_AVIC
72
	select COMMON_CLK
S
Sascha Hauer 已提交
73
	select SMP_ON_UP if SMP
74 75 76

config SOC_IMX35
	bool
77
	select CPU_V6K
78
	select ARCH_MXC_IOMUX_V3
79
	select COMMON_CLK
80 81
	select HAVE_EPIT
	select MXC_AVIC
S
Sascha Hauer 已提交
82
	select SMP_ON_UP if SMP
83
	select HAVE_CAN_FLEXCAN if CAN
84

85 86 87
config SOC_IMX5
	select CPU_V7
	select MXC_TZIC
88
	select COMMON_CLK
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
	select ARCH_MXC_IOMUX_V3
	select ARCH_HAS_CPUFREQ
	select ARCH_MX5
	bool

config SOC_IMX50
	bool
	select SOC_IMX5
	select ARCH_MX50

config	SOC_IMX51
	bool
	select SOC_IMX5
	select ARCH_MX5
	select ARCH_MX51
S
Shawn Guo 已提交
104 105
	select PINCTRL
	select PINCTRL_IMX51
106

107
if ARCH_IMX_V4_V5
108

109 110 111 112 113 114 115
comment "MX1 platforms:"
config MACH_MXLADS
	bool

config ARCH_MX1ADS
	bool "MX1ADS platform"
	select MACH_MXLADS
116
	select SOC_IMX1
117
	select IMX_HAVE_PLATFORM_IMX_I2C
118
	select IMX_HAVE_PLATFORM_IMX_UART
119 120 121 122 123
	help
	  Say Y here if you are using Motorola MX1ADS/MXLADS boards

config MACH_SCB9328
	bool "Synertronixx scb9328"
124
	select IMX_HAVE_PLATFORM_IMX_UART
125 126 127
	help
	  Say Y here if you are using a Synertronixx scb9328 board

128 129 130
config MACH_APF9328
	bool "APF9328"
	select SOC_IMX1
131
	select IMX_HAVE_PLATFORM_IMX_I2C
132 133 134 135
	select IMX_HAVE_PLATFORM_IMX_UART
	help
	  Say Yes here if you are using the Armadeus APF9328 development board

136
comment "MX21 platforms:"
137

I
Ivo Clarysse 已提交
138 139
config MACH_MX21ADS
	bool "MX21ADS platform"
140
	select SOC_IMX21
141
	select IMX_HAVE_PLATFORM_IMX_FB
142
	select IMX_HAVE_PLATFORM_IMX_UART
143
	select IMX_HAVE_PLATFORM_MXC_MMC
144
	select IMX_HAVE_PLATFORM_MXC_NAND
I
Ivo Clarysse 已提交
145 146 147 148
	help
	  Include support for MX21ADS platform. This includes specific
	  configurations for the board and its peripherals.

149 150 151 152 153
comment "MX25 platforms:"

config MACH_MX25_3DS
	bool "Support MX25PDK (3DS) Platform"
	select SOC_IMX25
154
	select IMX_HAVE_PLATFORM_FLEXCAN
155
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
156 157
	select IMX_HAVE_PLATFORM_IMX2_WDT
	select IMX_HAVE_PLATFORM_IMXDI_RTC
F
Fabio Estevam 已提交
158
	select IMX_HAVE_PLATFORM_IMX_I2C
159 160 161 162 163
	select IMX_HAVE_PLATFORM_IMX_FB
	select IMX_HAVE_PLATFORM_IMX_KEYPAD
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_NAND
164
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
165

E
Eric Bénard 已提交
166
config MACH_EUKREA_CPUIMX25SD
167 168 169 170
	bool "Support Eukrea CPUIMX25 Platform"
	select SOC_IMX25
	select IMX_HAVE_PLATFORM_FLEXCAN
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
171
	select IMX_HAVE_PLATFORM_IMX2_WDT
172 173 174 175 176 177
	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
178
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
179 180 181 182
	select MXC_ULPI if USB_ULPI

choice
	prompt "Baseboard"
E
Eric Bénard 已提交
183
	depends on MACH_EUKREA_CPUIMX25SD
184 185 186 187
	default MACH_EUKREA_MBIMXSD25_BASEBOARD

config MACH_EUKREA_MBIMXSD25_BASEBOARD
	bool "Eukrea MBIMXSD development board"
188
	select IMX_HAVE_PLATFORM_GPIO_KEYS
189
	select IMX_HAVE_PLATFORM_IMX_SSI
190
	select IMX_HAVE_PLATFORM_SPI_IMX
191
	select LEDS_GPIO_REGISTER
192 193 194 195 196 197
	help
	  This adds board specific devices that can be found on Eukrea's
	  MBIMXSD evaluation board.

endchoice

198 199
comment "MX27 platforms:"

200 201
config MACH_MX27ADS
	bool "MX27ADS platform"
202
	select SOC_IMX27
203
	select IMX_HAVE_PLATFORM_IMX_FB
204
	select IMX_HAVE_PLATFORM_IMX_I2C
205
	select IMX_HAVE_PLATFORM_IMX_UART
206
	select IMX_HAVE_PLATFORM_MXC_MMC
207
	select IMX_HAVE_PLATFORM_MXC_NAND
208
	select IMX_HAVE_PLATFORM_MXC_W1
209 210 211
	help
	  Include support for MX27ADS platform. This includes specific
	  configurations for the board and its peripherals.
212 213 214

config MACH_PCM038
	bool "Phytec phyCORE-i.MX27 CPU module (pcm038)"
215
	select SOC_IMX27
216
	select IMX_HAVE_PLATFORM_IMX2_WDT
217
	select IMX_HAVE_PLATFORM_IMX_I2C
218
	select IMX_HAVE_PLATFORM_IMX_UART
219
	select IMX_HAVE_PLATFORM_MXC_EHCI
220
	select IMX_HAVE_PLATFORM_MXC_NAND
221
	select IMX_HAVE_PLATFORM_MXC_W1
222
	select IMX_HAVE_PLATFORM_SPI_IMX
S
Sascha Hauer 已提交
223
	select MXC_ULPI if USB_ULPI
224 225 226
	help
	  Include support for phyCORE-i.MX27 (aka pcm038) platform. This
	  includes specific configurations for the module and its peripherals.
227 228 229 230 231 232 233

choice
	prompt "Baseboard"
	depends on MACH_PCM038
	default MACH_PCM970_BASEBOARD

config MACH_PCM970_BASEBOARD
234 235
	bool "PHYTEC PCM970 development board"
	select IMX_HAVE_PLATFORM_IMX_FB
236
	select IMX_HAVE_PLATFORM_MXC_MMC
237 238 239 240 241
	help
	  This adds board specific devices that can be found on Phytec's
	  PCM970 evaluation board.

endchoice
H
Holger Schurig 已提交
242

243
config MACH_CPUIMX27
E
Eric Benard 已提交
244
	bool "Eukrea CPUIMX27 module"
245
	select SOC_IMX27
246
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
247
	select IMX_HAVE_PLATFORM_IMX2_WDT
248
	select IMX_HAVE_PLATFORM_IMX_I2C
249
	select IMX_HAVE_PLATFORM_IMX_UART
250
	select IMX_HAVE_PLATFORM_MXC_EHCI
251
	select IMX_HAVE_PLATFORM_MXC_NAND
252
	select IMX_HAVE_PLATFORM_MXC_W1
253
	select MXC_ULPI if USB_ULPI
E
Eric Benard 已提交
254 255 256 257 258 259
	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"
260
	depends on MACH_CPUIMX27
261
	select IMX_HAVE_PLATFORM_MXC_MMC
E
Eric Benard 已提交
262
	help
263
	  This adds support for the internal SDHC2 used on CPUIMX27
E
Eric Benard 已提交
264 265
	  for wifi or eMMC.

266 267 268 269 270 271 272
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 已提交
273 274
choice
	prompt "Baseboard"
275
	depends on MACH_CPUIMX27
E
Eric Benard 已提交
276 277 278
	default MACH_EUKREA_MBIMX27_BASEBOARD

config MACH_EUKREA_MBIMX27_BASEBOARD
279
	bool "Eukrea MBIMX27 development board"
280
	select IMX_HAVE_PLATFORM_IMX_FB
281
	select IMX_HAVE_PLATFORM_IMX_KEYPAD
282
	select IMX_HAVE_PLATFORM_IMX_SSI
283
	select IMX_HAVE_PLATFORM_IMX_UART
284
	select IMX_HAVE_PLATFORM_MXC_MMC
285
	select IMX_HAVE_PLATFORM_SPI_IMX
286
	select LEDS_GPIO_REGISTER
E
Eric Benard 已提交
287 288 289 290 291 292
	help
	  This adds board specific devices that can be found on Eukrea's
	  MBIMX27 evaluation board.

endchoice

293 294
config MACH_MX27_3DS
	bool "MX27PDK platform"
295
	select SOC_IMX27
296
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
297
	select IMX_HAVE_PLATFORM_IMX2_WDT
298
	select IMX_HAVE_PLATFORM_IMX_FB
F
Fabio Estevam 已提交
299
	select IMX_HAVE_PLATFORM_IMX_I2C
300
	select IMX_HAVE_PLATFORM_IMX_KEYPAD
301
	select IMX_HAVE_PLATFORM_IMX_UART
302
	select IMX_HAVE_PLATFORM_MX2_CAMERA
303
	select IMX_HAVE_PLATFORM_MXC_EHCI
304
	select IMX_HAVE_PLATFORM_MXC_MMC
305
	select IMX_HAVE_PLATFORM_SPI_IMX
306
	select MXC_DEBUG_BOARD
307
	select MXC_ULPI if USB_ULPI
308 309 310
	help
	  Include support for MX27PDK platform. This includes specific
	  configurations for the board and its peripherals.
311

312 313
config MACH_IMX27_VISSTRIM_M10
	bool "Vista Silicon i.MX27 Visstrim_m10"
314
	select SOC_IMX27
315
	select IMX_HAVE_PLATFORM_GPIO_KEYS
316
	select IMX_HAVE_PLATFORM_IMX_I2C
317
	select IMX_HAVE_PLATFORM_IMX_SSI
318
	select IMX_HAVE_PLATFORM_IMX_UART
319
	select IMX_HAVE_PLATFORM_MX2_CAMERA
320
	select IMX_HAVE_PLATFORM_MXC_EHCI
321
	select IMX_HAVE_PLATFORM_MXC_MMC
322
	select LEDS_GPIO_REGISTER
323 324 325 326 327
	help
	  Include support for Visstrim_m10 platform and its different variants.
	  This includes specific configurations for the board and its
	  peripherals.

328
config MACH_IMX27LITE
329
	bool "LogicPD MX27 LITEKIT platform"
330
	select SOC_IMX27
331
	select IMX_HAVE_PLATFORM_IMX_UART
332
	select IMX_HAVE_PLATFORM_IMX_SSI
333 334 335 336
	help
	  Include support for MX27 LITEKIT platform. This includes specific
	  configurations for the board and its peripherals.

337 338
config MACH_PCA100
	bool "Phytec phyCARD-s (pca100)"
339
	select SOC_IMX27
340
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
341
	select IMX_HAVE_PLATFORM_IMX2_WDT
342
	select IMX_HAVE_PLATFORM_IMX_FB
343
	select IMX_HAVE_PLATFORM_IMX_I2C
344
	select IMX_HAVE_PLATFORM_IMX_SSI
345
	select IMX_HAVE_PLATFORM_IMX_UART
346
	select IMX_HAVE_PLATFORM_MXC_EHCI
347
	select IMX_HAVE_PLATFORM_MXC_MMC
348
	select IMX_HAVE_PLATFORM_MXC_NAND
349
	select IMX_HAVE_PLATFORM_MXC_W1
350
	select IMX_HAVE_PLATFORM_SPI_IMX
S
Sascha Hauer 已提交
351
	select MXC_ULPI if USB_ULPI
352 353 354 355
	help
	  Include support for phyCARD-s (aka pca100) platform. This
	  includes specific configurations for the module and its peripherals.

356 357
config MACH_MXT_TD60
	bool "Maxtrack i-MXT TD60"
358
	select SOC_IMX27
359
	select IMX_HAVE_PLATFORM_IMX_FB
360
	select IMX_HAVE_PLATFORM_IMX_I2C
361
	select IMX_HAVE_PLATFORM_IMX_UART
362
	select IMX_HAVE_PLATFORM_MXC_MMC
363
	select IMX_HAVE_PLATFORM_MXC_NAND
364 365 366 367
	help
	  Include support for i-MXT (aka td60) platform. This
	  includes specific configurations for the module and its peripherals.

368 369 370 371 372 373 374 375 376
config MACH_IMX27IPCAM
	bool "IMX27 IPCAM platform"
	select SOC_IMX27
	select IMX_HAVE_PLATFORM_IMX2_WDT
	select IMX_HAVE_PLATFORM_IMX_UART
	help
	  Include support for IMX27 IPCAM platform. This includes specific
	  configurations for the board and its peripherals.

377 378 379 380 381 382 383
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 已提交
384
endif
385

S
Sascha Hauer 已提交
386
if ARCH_IMX_V6_V7
387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435

comment "MX31 platforms:"

config MACH_MX31ADS
	bool "Support MX31ADS platforms"
	select SOC_IMX31
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_SSI
	select IMX_HAVE_PLATFORM_IMX_UART
	default y
	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 SOC_IMX31
	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
	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 SOC_IMX31
	select MXC_ULPI if USB_ULPI
	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
436
	select LEDS_GPIO_REGISTER
437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475
	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 SOC_IMX31
	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
	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 SOC_IMX31
	select MXC_DEBUG_BOARD
	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
476
	select IMX_HAVE_PLATFORM_IMX_SSI
477 478 479
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_IPU_CORE
	select IMX_HAVE_PLATFORM_MXC_EHCI
480
	select IMX_HAVE_PLATFORM_MXC_MMC
481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500
	select IMX_HAVE_PLATFORM_MXC_NAND
	select IMX_HAVE_PLATFORM_SPI_IMX
	select MXC_ULPI if USB_ULPI
	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 SOC_IMX31
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
501
	select IMX_HAVE_PLATFORM_IMX2_WDT
502
	select IMX_HAVE_PLATFORM_IMX_I2C
503
	select IMX_HAVE_PLATFORM_IMX_SSI
504 505 506 507 508
	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
509
	select LEDS_GPIO_REGISTER
510 511 512 513 514 515 516 517 518
	select MXC_ULPI if USB_ULPI
	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"
	select SOC_IMX31
	select IMX_HAVE_PLATFORM_IMX_UART
519
	select IMX_HAVE_PLATFORM_IMX2_WDT
520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555
	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 SOC_IMX31
	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
	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 SOC_IMX31
	select IMX_HAVE_PLATFORM_IMX_UART
	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"
	select SOC_IMX31
	select IMX_HAVE_PLATFORM_IMX_UART
	default y
	help
	  Include support for BUGBase 1.3 platform. This includes specific
	  configurations for the board and its peripherals.

556 557 558 559 560 561 562
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.

563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588
comment "MX35 platforms:"

config MACH_PCM043
	bool "Support Phytec pcm043 (i.MX35) platforms"
	select SOC_IMX35
	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
	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 SOC_IMX35
	select MXC_DEBUG_BOARD
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
	select IMX_HAVE_PLATFORM_IMX2_WDT
589
	select IMX_HAVE_PLATFORM_IMX_FB
590 591
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_UART
592
	select IMX_HAVE_PLATFORM_IPU_CORE
593 594
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_NAND
595
	select IMX_HAVE_PLATFORM_MXC_RTC
596 597 598 599 600
	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
	help
	  Include support for MX35PDK platform. This includes specific
	  configurations for the board and its peripherals.

E
Eric Bénard 已提交
601
config MACH_EUKREA_CPUIMX35SD
602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618
	bool "Support Eukrea CPUIMX35 Platform"
	select SOC_IMX35
	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
	help
	  Include support for Eukrea CPUIMX35 platform. This includes
	  specific configurations for the board and its peripherals.

choice
	prompt "Baseboard"
E
Eric Bénard 已提交
619
	depends on MACH_EUKREA_CPUIMX35SD
620 621 622 623 624 625 626
	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
627
	select IMX_HAVE_PLATFORM_SPI_IMX
628
	select LEDS_GPIO_REGISTER
629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650
	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 SOC_IMX35
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
	select IMX_HAVE_PLATFORM_GPIO_KEYS
	select IMX_HAVE_PLATFORM_IMX2_WDT
	select IMX_HAVE_PLATFORM_IMX_UART
	select IMX_HAVE_PLATFORM_IMX_I2C
	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
	help
	  Include support for VPR200 platform. This includes specific
	  configurations for the board and its peripherals.

651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708
comment "i.MX5 platforms:"

config MACH_MX50_RDP
	bool "Support MX50 reference design platform"
	depends on BROKEN
	select SOC_IMX50
	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
	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 SOC_IMX51
	select MACH_MX51_BABBAGE
	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 SOC_IMX51
	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
	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 SOC_IMX51
	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
	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 SOC_IMX51
	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
	select IMX_HAVE_PLATFORM_IMX_I2C
	select IMX_HAVE_PLATFORM_IMX_UART
709
	select IMX_HAVE_PLATFORM_IMX2_WDT
710 711 712 713 714 715 716 717 718 719 720 721 722 723 724
	select IMX_HAVE_PLATFORM_MXC_EHCI
	select IMX_HAVE_PLATFORM_MXC_NAND
	select IMX_HAVE_PLATFORM_SPI_IMX
	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
725
	select IMX_HAVE_PLATFORM_IMX_SSI
726 727 728 729 730 731 732 733
	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

734
comment "Device tree only"
735

736 737 738 739 740 741 742 743
config	SOC_IMX53
	bool "i.MX53 support"
	select SOC_IMX5
	select ARCH_MX5
	select ARCH_MX53
	select HAVE_CAN_FLEXCAN if CAN
	select PINCTRL
	select PINCTRL_IMX53
744 745

	help
746
	  This enables support for Freescale i.MX53 processor.
747 748 749

config SOC_IMX6Q
	bool "i.MX6 Quad support"
750
	select ARM_CPU_SUSPEND if PM
751
	select ARM_GIC
752
	select COMMON_CLK
753
	select CPU_V7
754
	select HAVE_ARM_SCU
755
	select HAVE_CAN_FLEXCAN if CAN
756 757 758
	select HAVE_IMX_GPC
	select HAVE_IMX_MMDC
	select HAVE_IMX_SRC
759
	select HAVE_SMP
760
	select MFD_ANATOP
761 762
	select PINCTRL
	select PINCTRL_IMX6Q
763 764 765 766

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

767
endif