blob: 91571a16f986e9fd428415429cc1db3da22f6485 [file] [log] [blame]
Shawn Guoc5a0d492012-09-17 09:38:39 +08001config ARCH_MXC
Fabio Estevam4cc3c842012-10-18 15:04:30 -03002 bool "Freescale i.MX family" if ARCH_MULTI_V4_V5 || ARCH_MULTI_V6_V7
Shawn Guoc5a0d492012-09-17 09:38:39 +08003 select ARCH_REQUIRE_GPIOLIB
4 select ARM_PATCH_PHYS_VIRT
5 select AUTO_ZRELADDR if !ZBOOT_ROM
6 select CLKDEV_LOOKUP
7 select CLKSRC_MMIO
8 select GENERIC_CLOCKEVENTS
9 select GENERIC_IRQ_CHIP
10 select MULTI_IRQ_HANDLER
11 select SPARSE_IRQ
12 select USE_OF
13 help
14 Support for Freescale MXC/iMX-based family of processors
15
16menu "Freescale i.MX support"
17 depends on ARCH_MXC
Shawn Guo3995eb82012-09-13 19:48:07 +080018
19config MXC_IRQ_PRIOR
20 bool "Use IRQ priority"
21 help
22 Select this if you want to use prioritized IRQ handling.
23 This feature prevents higher priority ISR to be interrupted
24 by lower priority IRQ even IRQF_DISABLED flag is not set.
25 This may be useful in embedded applications, where are strong
26 requirements for timing.
27 Say N here, unless you have a specialized requirement.
28
29config MXC_TZIC
30 bool
31
32config MXC_AVIC
33 bool
34
35config MXC_DEBUG_BOARD
36 bool "Enable MXC debug board(for 3-stack)"
37 help
38 The debug board is an integral part of the MXC 3-stack(PDK)
39 platforms, it can be attached or removed from the peripheral
40 board. On debug board, several debug devices(ethernet, UART,
41 buttons, LEDs and JTAG) are implemented. Between the MCU and
42 these devices, a CPLD is added as a bridge which performs
43 data/address de-multiplexing and decode, signal level shift,
44 interrupt control and various board functions.
45
46config HAVE_EPIT
47 bool
48
49config MXC_USE_EPIT
50 bool "Use EPIT instead of GPT"
51 depends on HAVE_EPIT
52 help
53 Use EPIT as the system timer on systems that have it. Normally you
54 don't have a reason to do so as the EPIT has the same features and
55 uses the same clocks as the GPT. Anyway, on some systems the GPT
56 may be in use for other purposes.
57
58config MXC_ULPI
59 bool
60
61config ARCH_HAS_RNGA
62 bool
63
64config IRAM_ALLOC
65 bool
66 select GENERIC_ALLOCATOR
67
Shawn Guo9fbbe682011-09-06 14:39:44 +080068config HAVE_IMX_GPC
69 bool
70
71config HAVE_IMX_MMDC
72 bool
73
74config HAVE_IMX_SRC
Shawn Guo68b25322012-10-23 15:23:59 +080075 def_bool y if SMP
Shawn Guo9fbbe682011-09-06 14:39:44 +080076
Shawn Guo267dd342012-09-13 13:26:00 +080077config IMX_HAVE_IOMUX_V1
78 bool
79
80config ARCH_MXC_IOMUX_V3
81 bool
82
Sascha Hauerae4fa7f2011-08-23 09:39:35 +020083config ARCH_MX1
84 bool
85
Sascha Hauerae4fa7f2011-08-23 09:39:35 +020086config ARCH_MX25
87 bool
88
89config MACH_MX27
90 bool
91
Uwe Kleine-Könige780d232010-06-14 17:39:21 +020092config SOC_IMX1
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010093 bool
Sascha Hauerae4fa7f2011-08-23 09:39:35 +020094 select ARCH_MX1
Sascha Hauercd737852012-03-09 09:11:32 +010095 select COMMON_CLK
Uwe Kleine-Könige780d232010-06-14 17:39:21 +020096 select CPU_ARM920T
97 select IMX_HAVE_IOMUX_V1
Sascha Hauerc7259df2010-11-05 09:37:22 +010098 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010099
100config SOC_IMX21
Uwe Kleine-Könige780d232010-06-14 17:39:21 +0200101 bool
Sascha Hauer93421e42012-03-09 09:11:39 +0100102 select COMMON_CLK
Russell Kingb1b3f492012-10-06 17:12:25 +0100103 select CPU_ARM926T
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100104 select IMX_HAVE_IOMUX_V1
Sascha Hauerc7259df2010-11-05 09:37:22 +0100105 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100106
107config SOC_IMX25
108 bool
Sascha Hauerae4fa7f2011-08-23 09:39:35 +0200109 select ARCH_MX25
Russell Kingb1b3f492012-10-06 17:12:25 +0100110 select ARCH_MXC_IOMUX_V3
Sascha Hauer6bbaec52012-03-08 22:24:12 +0100111 select COMMON_CLK
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100112 select CPU_ARM926T
Marc Kleine-Budde610578a2012-07-02 11:03:00 +0200113 select HAVE_CAN_FLEXCAN if CAN
Sascha Hauerc7259df2010-11-05 09:37:22 +0100114 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100115
116config SOC_IMX27
117 bool
Sascha Hauere038ed52012-03-09 09:11:46 +0100118 select COMMON_CLK
Russell Kingb1b3f492012-10-06 17:12:25 +0100119 select CPU_ARM926T
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100120 select IMX_HAVE_IOMUX_V1
Russell Kingb1b3f492012-10-06 17:12:25 +0100121 select MACH_MX27
Sascha Hauerc7259df2010-11-05 09:37:22 +0100122 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100123
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100124config SOC_IMX31
125 bool
Russell Kingb1b3f492012-10-06 17:12:25 +0100126 select COMMON_CLK
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100127 select CPU_V6
128 select IMX_HAVE_PLATFORM_MXC_RNGA
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100129 select MXC_AVIC
Sascha Hauera89cf592011-09-27 13:48:02 +0800130 select SMP_ON_UP if SMP
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100131
132config SOC_IMX35
133 bool
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100134 select ARCH_MXC_IOMUX_V3
Sascha Hauer5b48a612012-04-03 12:41:13 +0200135 select COMMON_CLK
Russell Kingb1b3f492012-10-06 17:12:25 +0100136 select CPU_V6K
137 select HAVE_CAN_FLEXCAN if CAN
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100138 select HAVE_EPIT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100139 select MXC_AVIC
Sascha Hauera89cf592011-09-27 13:48:02 +0800140 select SMP_ON_UP if SMP
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100141
Sascha Hauer784a90c2011-11-07 12:36:48 +0100142config SOC_IMX5
Russell Kingb1b3f492012-10-06 17:12:25 +0100143 bool
Sascha Hauer784a90c2011-11-07 12:36:48 +0100144 select ARCH_HAS_CPUFREQ
Russell Kingb1b3f492012-10-06 17:12:25 +0100145 select ARCH_MXC_IOMUX_V3
146 select COMMON_CLK
147 select CPU_V7
148 select MXC_TZIC
Sascha Hauer784a90c2011-11-07 12:36:48 +0100149
Sascha Hauer784a90c2011-11-07 12:36:48 +0100150config SOC_IMX51
151 bool
Philipp Zabelbd3d9242013-03-28 17:35:22 +0100152 select HAVE_IMX_SRC
Shawn Guob6798f82012-08-13 19:55:37 +0800153 select PINCTRL
154 select PINCTRL_IMX51
Russell Kingb1b3f492012-10-06 17:12:25 +0100155 select SOC_IMX5
Sascha Hauer784a90c2011-11-07 12:36:48 +0100156
Shawn Guoc5a0d492012-09-17 09:38:39 +0800157if ARCH_MULTI_V4T
Uwe Kleine-Könige780d232010-06-14 17:39:21 +0200158
Uwe Kleine-König07469492010-06-14 15:56:58 +0200159comment "MX1 platforms:"
160config MACH_MXLADS
161 bool
162
163config ARCH_MX1ADS
164 bool "MX1ADS platform"
Uwe Kleine-König6348e6b2010-06-16 15:26:07 +0200165 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd112f4e2010-06-22 14:50:59 +0200166 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100167 select MACH_MXLADS
168 select SOC_IMX1
Uwe Kleine-König07469492010-06-14 15:56:58 +0200169 help
170 Say Y here if you are using Motorola MX1ADS/MXLADS boards
171
172config MACH_SCB9328
173 bool "Synertronixx scb9328"
Uwe Kleine-Königd112f4e2010-06-22 14:50:59 +0200174 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König07469492010-06-14 15:56:58 +0200175 help
176 Say Y here if you are using a Synertronixx scb9328 board
177
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000178config MACH_APF9328
179 bool "APF9328"
Gwenhael Goavec-Merou7a994812011-10-08 17:19:49 +0200180 select IMX_HAVE_PLATFORM_IMX_I2C
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000181 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100182 select SOC_IMX1
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000183 help
184 Say Yes here if you are using the Armadeus APF9328 development board
185
Shawn Guoc5a0d492012-09-17 09:38:39 +0800186endif
187
188if ARCH_MULTI_V5
189
Uwe Kleine-Königb6b06be2010-06-14 16:56:46 +0200190comment "MX21 platforms:"
Juergen Beisert80eedae2008-07-05 10:03:00 +0200191
Ivo Clarysse6b91edd2009-04-15 15:39:27 +0200192config MACH_MX21ADS
193 bool "MX21ADS platform"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100194 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König3c5227f2010-06-22 17:59:58 +0200195 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100196 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König1f8d7212010-06-16 11:17:45 +0200197 select IMX_HAVE_PLATFORM_MXC_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100198 select SOC_IMX21
Ivo Clarysse6b91edd2009-04-15 15:39:27 +0200199 help
200 Include support for MX21ADS platform. This includes specific
201 configurations for the board and its peripherals.
202
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100203comment "MX25 platforms:"
204
205config MACH_MX25_3DS
206 bool "Support MX25PDK (3DS) Platform"
Fabio Estevam91dcc7f2011-07-08 14:59:50 -0300207 select IMX_HAVE_PLATFORM_FLEXCAN
Fabio Estevam460d30a2010-12-22 12:25:32 -0200208 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100209 select IMX_HAVE_PLATFORM_IMX2_WDT
210 select IMX_HAVE_PLATFORM_IMXDI_RTC
211 select IMX_HAVE_PLATFORM_IMX_FB
Russell Kingb1b3f492012-10-06 17:12:25 +0100212 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100213 select IMX_HAVE_PLATFORM_IMX_KEYPAD
214 select IMX_HAVE_PLATFORM_IMX_UART
215 select IMX_HAVE_PLATFORM_MXC_EHCI
216 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100217 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100218 select SOC_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100219
Eric Bénard01dd5202011-12-13 07:31:35 +0100220config MACH_EUKREA_CPUIMX25SD
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100221 bool "Support Eukrea CPUIMX25 Platform"
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100222 select IMX_HAVE_PLATFORM_FLEXCAN
223 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Eric Bénard4692cba2012-05-08 09:20:18 +0200224 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100225 select IMX_HAVE_PLATFORM_IMXDI_RTC
226 select IMX_HAVE_PLATFORM_IMX_FB
227 select IMX_HAVE_PLATFORM_IMX_I2C
228 select IMX_HAVE_PLATFORM_IMX_UART
229 select IMX_HAVE_PLATFORM_MXC_EHCI
230 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100231 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100232 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100233 select SOC_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100234
235choice
236 prompt "Baseboard"
Eric Bénard01dd5202011-12-13 07:31:35 +0100237 depends on MACH_EUKREA_CPUIMX25SD
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100238 default MACH_EUKREA_MBIMXSD25_BASEBOARD
239
240config MACH_EUKREA_MBIMXSD25_BASEBOARD
241 bool "Eukrea MBIMXSD development board"
Uwe Kleine-König53094982011-02-28 18:04:33 +0100242 select IMX_HAVE_PLATFORM_GPIO_KEYS
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100243 select IMX_HAVE_PLATFORM_IMX_SSI
Eric Bénard49ed9402012-05-08 09:20:17 +0200244 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200245 select LEDS_GPIO_REGISTER
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100246 help
247 This adds board specific devices that can be found on Eukrea's
248 MBIMXSD evaluation board.
249
250endchoice
251
Sascha Haueref4bac52012-09-20 14:59:36 +0200252config MACH_IMX25_DT
253 bool "Support i.MX25 platforms from device tree"
254 select SOC_IMX25
255 help
256 Include support for Freescale i.MX25 based platforms
257 using the device tree for discovery
258
Uwe Kleine-Königb6b06be2010-06-14 16:56:46 +0200259comment "MX27 platforms:"
260
Juergen Beisert80eedae2008-07-05 10:03:00 +0200261config MACH_MX27ADS
262 bool "MX27ADS platform"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100263 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200264 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200265 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100266 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200267 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200268 select IMX_HAVE_PLATFORM_MXC_W1
Russell Kingb1b3f492012-10-06 17:12:25 +0100269 select SOC_IMX27
Juergen Beisert80eedae2008-07-05 10:03:00 +0200270 help
271 Include support for MX27ADS platform. This includes specific
272 configurations for the board and its peripherals.
Juergen Beisert7e5e9f52008-07-05 10:03:00 +0200273
274config MACH_PCM038
275 bool "Phytec phyCORE-i.MX27 CPU module (pcm038)"
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100276 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200277 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200278 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100279 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200280 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200281 select IMX_HAVE_PLATFORM_MXC_W1
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200282 select IMX_HAVE_PLATFORM_SPI_IMX
Sascha Hauer773f2062010-02-03 17:13:41 +0100283 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100284 select SOC_IMX27
Juergen Beisert7e5e9f52008-07-05 10:03:00 +0200285 help
286 Include support for phyCORE-i.MX27 (aka pcm038) platform. This
287 includes specific configurations for the module and its peripherals.
Juergen Beisertff6552e2008-07-05 10:03:01 +0200288
289choice
290 prompt "Baseboard"
291 depends on MACH_PCM038
292 default MACH_PCM970_BASEBOARD
293
294config MACH_PCM970_BASEBOARD
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100295 bool "PHYTEC PCM970 development board"
296 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100297 select IMX_HAVE_PLATFORM_MXC_MMC
Juergen Beisertff6552e2008-07-05 10:03:01 +0200298 help
299 This adds board specific devices that can be found on Phytec's
300 PCM970 evaluation board.
301
302endchoice
Holger Schurig6bbdbf22009-01-29 14:42:25 +0100303
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100304config MACH_CPUIMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200305 bool "Eukrea CPUIMX27 module"
Uwe Kleine-Königbd455ed2010-11-09 17:52:14 +0100306 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100307 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200308 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200309 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100310 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200311 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200312 select IMX_HAVE_PLATFORM_MXC_W1
Eric Bénard22377ec2010-10-08 10:37:40 +0200313 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100314 select SOC_IMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200315 help
316 Include support for Eukrea CPUIMX27 platform. This includes
317 specific configurations for the module and its peripherals.
318
319config MACH_EUKREA_CPUIMX27_USESDHC2
320 bool "CPUIMX27 integrates SDHC2 module"
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100321 depends on MACH_CPUIMX27
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100322 select IMX_HAVE_PLATFORM_MXC_MMC
Eric Benardaf5b1df2009-07-16 16:26:33 +0200323 help
Eric Bénard2d66c782010-05-19 18:45:59 +0200324 This adds support for the internal SDHC2 used on CPUIMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200325 for wifi or eMMC.
326
Eric Bénard2d66c782010-05-19 18:45:59 +0200327config MACH_EUKREA_CPUIMX27_USEUART4
328 bool "CPUIMX27 integrates UART4 module"
329 depends on MACH_CPUIMX27
330 help
331 This adds support for the internal UART4 used on CPUIMX27
332 for bluetooth.
333
Eric Benarda961bf32009-07-16 16:26:34 +0200334choice
335 prompt "Baseboard"
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100336 depends on MACH_CPUIMX27
Eric Benarda961bf32009-07-16 16:26:34 +0200337 default MACH_EUKREA_MBIMX27_BASEBOARD
338
339config MACH_EUKREA_MBIMX27_BASEBOARD
Uwe Kleine-König4697bb92010-08-25 17:37:45 +0200340 bool "Eukrea MBIMX27 development board"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100341 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König3f880142010-11-10 09:58:56 +0100342 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Uwe Kleine-König4697bb92010-08-25 17:37:45 +0200343 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200344 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100345 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200346 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200347 select LEDS_GPIO_REGISTER
Eric Benarda961bf32009-07-16 16:26:34 +0200348 help
349 This adds board specific devices that can be found on Eukrea's
350 MBIMX27 evaluation board.
351
352endchoice
353
Fabio Estevamec9be0d2009-04-16 12:45:01 -0700354config MACH_MX27_3DS
355 bool "MX27PDK platform"
Fabio Estevam96cf4232010-12-22 12:25:31 -0200356 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Fabio Estevam8be92522010-12-07 17:14:45 -0200357 select IMX_HAVE_PLATFORM_IMX2_WDT
Fabio Estevam1abcb4c2011-06-22 09:25:25 -0300358 select IMX_HAVE_PLATFORM_IMX_FB
Fabio Estevam5885f032011-03-01 16:59:46 -0300359 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König3f880142010-11-10 09:58:56 +0100360 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Fabio Estevam688b5cb2012-07-03 15:44:57 -0300361 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200362 select IMX_HAVE_PLATFORM_IMX_UART
Fabio Estevam4c11c282012-02-15 19:36:10 -0200363 select IMX_HAVE_PLATFORM_MX2_CAMERA
Fabio Estevam96cf4232010-12-22 12:25:31 -0200364 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100365 select IMX_HAVE_PLATFORM_MXC_MMC
Fabio Estevamc67a3e02011-01-03 11:16:39 -0200366 select IMX_HAVE_PLATFORM_SPI_IMX
Fabio Estevam92cb33f2011-01-10 18:17:37 -0200367 select MXC_DEBUG_BOARD
Fabio Estevam96cf4232010-12-22 12:25:31 -0200368 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100369 select SOC_IMX27
Fabio Estevamec9be0d2009-04-16 12:45:01 -0700370 help
371 Include support for MX27PDK platform. This includes specific
372 configurations for the board and its peripherals.
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400373
Javier Martin3b161e52010-07-30 10:06:01 +0200374config MACH_IMX27_VISSTRIM_M10
375 bool "Vista Silicon i.MX27 Visstrim_m10"
Uwe Kleine-König53094982011-02-28 18:04:33 +0100376 select IMX_HAVE_PLATFORM_GPIO_KEYS
Javier Martin3b161e52010-07-30 10:06:01 +0200377 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König5658bff2011-03-18 12:24:08 +0100378 select IMX_HAVE_PLATFORM_IMX_SSI
Javier Martin3b161e52010-07-30 10:06:01 +0200379 select IMX_HAVE_PLATFORM_IMX_UART
Javier Martinf52f5a52012-02-28 17:31:51 +0100380 select IMX_HAVE_PLATFORM_MX2_CAMERA
Gaëtan Carlier3ab3a352012-09-05 13:06:15 +0200381 select IMX_HAVE_PLATFORM_MX2_EMMA
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100382 select IMX_HAVE_PLATFORM_MXC_EHCI
Javier Martin32189132012-02-28 17:31:48 +0100383 select IMX_HAVE_PLATFORM_MXC_MMC
Javier Martinacb64642012-02-29 13:17:33 +0100384 select LEDS_GPIO_REGISTER
Russell Kingb1b3f492012-10-06 17:12:25 +0100385 select SOC_IMX27
Javier Martin3b161e52010-07-30 10:06:01 +0200386 help
387 Include support for Visstrim_m10 platform and its different variants.
388 This includes specific configurations for the board and its
389 peripherals.
390
Uwe Kleine-Königf747f932009-12-10 10:25:07 +0100391config MACH_IMX27LITE
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400392 bool "LogicPD MX27 LITEKIT platform"
Javier Martina5e20512011-03-01 15:02:08 +0100393 select IMX_HAVE_PLATFORM_IMX_SSI
Russell Kingb1b3f492012-10-06 17:12:25 +0100394 select IMX_HAVE_PLATFORM_IMX_UART
395 select SOC_IMX27
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400396 help
397 Include support for MX27 LITEKIT platform. This includes specific
398 configurations for the board and its peripherals.
399
Luotao Fu33731692009-08-06 11:19:39 +0200400config MACH_PCA100
401 bool "Phytec phyCARD-s (pca100)"
Uwe Kleine-Königbd455ed2010-11-09 17:52:14 +0100402 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100403 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100404 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200405 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König4697bb92010-08-25 17:37:45 +0200406 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200407 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100408 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100409 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200410 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200411 select IMX_HAVE_PLATFORM_MXC_W1
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200412 select IMX_HAVE_PLATFORM_SPI_IMX
Sascha Hauereee7c492010-02-03 17:13:29 +0100413 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100414 select SOC_IMX27
Luotao Fu33731692009-08-06 11:19:39 +0200415 help
416 Include support for phyCARD-s (aka pca100) platform. This
417 includes specific configurations for the module and its peripherals.
418
Alan Carvalho de Assis143a1792009-11-25 15:24:50 -0200419config MACH_MXT_TD60
420 bool "Maxtrack i-MXT TD60"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100421 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200422 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200423 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100424 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200425 select IMX_HAVE_PLATFORM_MXC_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100426 select SOC_IMX27
Alan Carvalho de Assis143a1792009-11-25 15:24:50 -0200427 help
428 Include support for i-MXT (aka td60) platform. This
429 includes specific configurations for the module and its peripherals.
430
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200431config MACH_IMX27IPCAM
432 bool "IMX27 IPCAM platform"
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200433 select IMX_HAVE_PLATFORM_IMX2_WDT
434 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100435 select SOC_IMX27
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200436 help
437 Include support for IMX27 IPCAM platform. This includes specific
438 configurations for the board and its peripherals.
439
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100440config MACH_IMX27_DT
441 bool "Support i.MX27 platforms from device tree"
442 select SOC_IMX27
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100443 help
444 Include support for Freescale i.MX27 based platforms
445 using the device tree for discovery
446
Holger Schurig6bbdbf22009-01-29 14:42:25 +0100447endif
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100448
Shawn Guoc5a0d492012-09-17 09:38:39 +0800449if ARCH_MULTI_V6
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100450
451comment "MX31 platforms:"
452
453config MACH_MX31ADS
454 bool "Support MX31ADS platforms"
Russell Kingb1b3f492012-10-06 17:12:25 +0100455 default y
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100456 select IMX_HAVE_PLATFORM_IMX_I2C
457 select IMX_HAVE_PLATFORM_IMX_SSI
458 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100459 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100460 help
461 Include support for MX31ADS platform. This includes specific
462 configurations for the board and its peripherals.
463
464config MACH_MX31ADS_WM1133_EV1
465 bool "Support Wolfson Microelectronics 1133-EV1 module"
466 depends on MACH_MX31ADS
467 depends on MFD_WM8350_I2C
Arnd Bergmann69eb3832013-02-14 17:45:58 +0100468 depends on REGULATOR_WM8350 = y
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100469 select MFD_WM8350_CONFIG_MODE_0
470 select MFD_WM8352_CONFIG_MODE_0
471 help
472 Include support for the Wolfson Microelectronics 1133-EV1 PMU
473 and audio module for the MX31ADS platform.
474
475config MACH_MX31LILLY
476 bool "Support MX31 LILLY-1131 platforms (INCO startec)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100477 select IMX_HAVE_PLATFORM_IMX_UART
478 select IMX_HAVE_PLATFORM_IPU_CORE
479 select IMX_HAVE_PLATFORM_MXC_EHCI
480 select IMX_HAVE_PLATFORM_MXC_MMC
481 select IMX_HAVE_PLATFORM_SPI_IMX
482 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100483 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100484 help
485 Include support for mx31 based LILLY1131 modules. This includes
486 specific configurations for the board and its peripherals.
487
488config MACH_MX31LITE
489 bool "Support MX31 LITEKIT (LogicPD)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100490 select IMX_HAVE_PLATFORM_IMX2_WDT
491 select IMX_HAVE_PLATFORM_IMX_UART
492 select IMX_HAVE_PLATFORM_MXC_EHCI
493 select IMX_HAVE_PLATFORM_MXC_MMC
494 select IMX_HAVE_PLATFORM_MXC_NAND
495 select IMX_HAVE_PLATFORM_MXC_RTC
496 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200497 select LEDS_GPIO_REGISTER
Russell Kingb1b3f492012-10-06 17:12:25 +0100498 select MXC_ULPI if USB_ULPI
499 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100500 help
501 Include support for MX31 LITEKIT platform. This includes specific
502 configurations for the board and its peripherals.
503
504config MACH_PCM037
505 bool "Support Phytec pcm037 (i.MX31) platforms"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100506 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
507 select IMX_HAVE_PLATFORM_IMX2_WDT
508 select IMX_HAVE_PLATFORM_IMX_I2C
509 select IMX_HAVE_PLATFORM_IMX_UART
510 select IMX_HAVE_PLATFORM_IPU_CORE
511 select IMX_HAVE_PLATFORM_MXC_EHCI
512 select IMX_HAVE_PLATFORM_MXC_MMC
513 select IMX_HAVE_PLATFORM_MXC_NAND
514 select IMX_HAVE_PLATFORM_MXC_W1
515 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100516 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100517 help
518 Include support for Phytec pcm037 platform. This includes
519 specific configurations for the board and its peripherals.
520
521config MACH_PCM037_EET
522 bool "Support pcm037 EET board extensions"
523 depends on MACH_PCM037
524 select IMX_HAVE_PLATFORM_GPIO_KEYS
525 select IMX_HAVE_PLATFORM_SPI_IMX
526 help
527 Add support for PCM037 EET baseboard extensions. If you are using the
528 OLED display with EET, use "video=mx3fb:CMEL-OLED" kernel
529 command-line parameter.
530
531config MACH_MX31_3DS
532 bool "Support MX31PDK (3DS)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100533 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
534 select IMX_HAVE_PLATFORM_IMX2_WDT
535 select IMX_HAVE_PLATFORM_IMX_I2C
536 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Fabio Estevam3ef7cf12012-05-21 16:09:06 -0300537 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100538 select IMX_HAVE_PLATFORM_IMX_UART
539 select IMX_HAVE_PLATFORM_IPU_CORE
540 select IMX_HAVE_PLATFORM_MXC_EHCI
Fabio Estevamd093d5b2011-09-14 14:04:38 -0300541 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100542 select IMX_HAVE_PLATFORM_MXC_NAND
543 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100544 select MXC_DEBUG_BOARD
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100545 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100546 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100547 help
548 Include support for MX31PDK (3DS) platform. This includes specific
549 configurations for the board and its peripherals.
550
551config MACH_MX31_3DS_MXC_NAND_USE_BBT
552 bool "Make the MXC NAND driver use the in flash Bad Block Table"
553 depends on MACH_MX31_3DS
554 depends on MTD_NAND_MXC
555 help
556 Enable this if you want that the MXC NAND driver uses the in flash
557 Bad Block Table to know what blocks are bad instead of scanning the
558 entire flash looking for bad block markers.
559
560config MACH_MX31MOBOARD
561 bool "Support mx31moboard platforms (EPFL Mobots group)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100562 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Philippe Rétornaz31776fb2012-01-20 18:58:23 +0100563 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100564 select IMX_HAVE_PLATFORM_IMX_I2C
Philippe Rétornaz2f7b9452012-05-15 13:53:52 +0200565 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100566 select IMX_HAVE_PLATFORM_IMX_UART
567 select IMX_HAVE_PLATFORM_IPU_CORE
568 select IMX_HAVE_PLATFORM_MXC_EHCI
569 select IMX_HAVE_PLATFORM_MXC_MMC
570 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200571 select LEDS_GPIO_REGISTER
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100572 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100573 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100574 help
575 Include support for mx31moboard platform. This includes specific
576 configurations for the board and its peripherals.
577
578config MACH_QONG
579 bool "Support Dave/DENX QongEVB-LITE platform"
Fabio Estevambbb43362011-09-19 10:59:46 -0300580 select IMX_HAVE_PLATFORM_IMX2_WDT
Russell Kingb1b3f492012-10-06 17:12:25 +0100581 select IMX_HAVE_PLATFORM_IMX_UART
582 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100583 help
584 Include support for Dave/DENX QongEVB-LITE platform. This includes
585 specific configurations for the board and its peripherals.
586
587config MACH_ARMADILLO5X0
588 bool "Support Atmark Armadillo-500 Development Base Board"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100589 select IMX_HAVE_PLATFORM_GPIO_KEYS
590 select IMX_HAVE_PLATFORM_IMX_I2C
591 select IMX_HAVE_PLATFORM_IMX_UART
592 select IMX_HAVE_PLATFORM_IPU_CORE
593 select IMX_HAVE_PLATFORM_MXC_EHCI
594 select IMX_HAVE_PLATFORM_MXC_MMC
595 select IMX_HAVE_PLATFORM_MXC_NAND
596 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100597 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100598 help
599 Include support for Atmark Armadillo-500 platform. This includes
600 specific configurations for the board and its peripherals.
601
602config MACH_KZM_ARM11_01
603 bool "Support KZM-ARM11-01(Kyoto Microcomputer)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100604 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100605 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100606 help
607 Include support for KZM-ARM11-01. This includes specific
608 configurations for the board and its peripherals.
609
610config MACH_BUG
611 bool "Support Buglabs BUGBase platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100612 default y
Russell Kingb1b3f492012-10-06 17:12:25 +0100613 select IMX_HAVE_PLATFORM_IMX_UART
614 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100615 help
616 Include support for BUGBase 1.3 platform. This includes specific
617 configurations for the board and its peripherals.
618
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200619config MACH_IMX31_DT
620 bool "Support i.MX31 platforms from device tree"
621 select SOC_IMX31
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200622 help
623 Include support for Freescale i.MX31 based platforms
624 using the device tree for discovery.
625
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100626comment "MX35 platforms:"
627
628config MACH_PCM043
629 bool "Support Phytec pcm043 (i.MX35) platforms"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100630 select IMX_HAVE_PLATFORM_FLEXCAN
631 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
632 select IMX_HAVE_PLATFORM_IMX2_WDT
633 select IMX_HAVE_PLATFORM_IMX_I2C
634 select IMX_HAVE_PLATFORM_IMX_SSI
635 select IMX_HAVE_PLATFORM_IMX_UART
636 select IMX_HAVE_PLATFORM_IPU_CORE
637 select IMX_HAVE_PLATFORM_MXC_EHCI
638 select IMX_HAVE_PLATFORM_MXC_NAND
639 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
640 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100641 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100642 help
643 Include support for Phytec pcm043 platform. This includes
644 specific configurations for the board and its peripherals.
645
646config MACH_MX35_3DS
647 bool "Support MX35PDK platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100648 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
649 select IMX_HAVE_PLATFORM_IMX2_WDT
Marc Kleine-Budde8e3e26a2012-04-24 17:48:18 +0200650 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100651 select IMX_HAVE_PLATFORM_IMX_I2C
652 select IMX_HAVE_PLATFORM_IMX_UART
Marc Kleine-Budde8e3e26a2012-04-24 17:48:18 +0200653 select IMX_HAVE_PLATFORM_IPU_CORE
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100654 select IMX_HAVE_PLATFORM_MXC_EHCI
655 select IMX_HAVE_PLATFORM_MXC_NAND
Benoît Thébaudeauc6fd6d12012-07-04 16:36:28 +0200656 select IMX_HAVE_PLATFORM_MXC_RTC
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100657 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100658 select MXC_DEBUG_BOARD
659 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100660 help
661 Include support for MX35PDK platform. This includes specific
662 configurations for the board and its peripherals.
663
Eric Bénarda69aa722011-12-13 07:31:43 +0100664config MACH_EUKREA_CPUIMX35SD
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100665 bool "Support Eukrea CPUIMX35 Platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100666 select IMX_HAVE_PLATFORM_FLEXCAN
667 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
668 select IMX_HAVE_PLATFORM_IMX2_WDT
669 select IMX_HAVE_PLATFORM_IMX_I2C
670 select IMX_HAVE_PLATFORM_IMX_UART
671 select IMX_HAVE_PLATFORM_MXC_EHCI
672 select IMX_HAVE_PLATFORM_MXC_NAND
673 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
674 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100675 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100676 help
677 Include support for Eukrea CPUIMX35 platform. This includes
678 specific configurations for the board and its peripherals.
679
680choice
681 prompt "Baseboard"
Eric Bénarda69aa722011-12-13 07:31:43 +0100682 depends on MACH_EUKREA_CPUIMX35SD
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100683 default MACH_EUKREA_MBIMXSD35_BASEBOARD
684
685config MACH_EUKREA_MBIMXSD35_BASEBOARD
686 bool "Eukrea MBIMXSD development board"
687 select IMX_HAVE_PLATFORM_GPIO_KEYS
688 select IMX_HAVE_PLATFORM_IMX_SSI
689 select IMX_HAVE_PLATFORM_IPU_CORE
Eric Bénard0e189852012-05-08 09:20:19 +0200690 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200691 select LEDS_GPIO_REGISTER
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100692 help
693 This adds board specific devices that can be found on Eukrea's
694 MBIMXSD evaluation board.
695
696endchoice
697
698config MACH_VPR200
699 bool "Support VPR200 platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100700 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
701 select IMX_HAVE_PLATFORM_GPIO_KEYS
702 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100703 select IMX_HAVE_PLATFORM_IMX_I2C
Russell Kingb1b3f492012-10-06 17:12:25 +0100704 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100705 select IMX_HAVE_PLATFORM_IPU_CORE
706 select IMX_HAVE_PLATFORM_MXC_EHCI
707 select IMX_HAVE_PLATFORM_MXC_NAND
708 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100709 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100710 help
711 Include support for VPR200 platform. This includes specific
712 configurations for the board and its peripherals.
713
Shawn Guoc5a0d492012-09-17 09:38:39 +0800714endif
715
716if ARCH_MULTI_V7
717
Sascha Hauer784a90c2011-11-07 12:36:48 +0100718comment "i.MX51 machines:"
719
720config MACH_IMX51_DT
721 bool "Support i.MX51 platforms from device tree"
Russell Kingb1b3f492012-10-06 17:12:25 +0100722 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100723 help
724 Include support for Freescale i.MX51 based platforms
725 using the device tree for discovery
726
727config MACH_MX51_BABBAGE
728 bool "Support MX51 BABBAGE platforms"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100729 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
730 select IMX_HAVE_PLATFORM_IMX2_WDT
731 select IMX_HAVE_PLATFORM_IMX_I2C
732 select IMX_HAVE_PLATFORM_IMX_UART
733 select IMX_HAVE_PLATFORM_MXC_EHCI
734 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
735 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100736 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100737 help
738 Include support for MX51 Babbage platform, also known as MX51EVK in
739 u-boot. This includes specific configurations for the board and its
740 peripherals.
741
Sascha Hauer784a90c2011-11-07 12:36:48 +0100742config MACH_EUKREA_CPUIMX51SD
743 bool "Support Eukrea CPUIMX51SD module"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100744 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Russell Kingb1b3f492012-10-06 17:12:25 +0100745 select IMX_HAVE_PLATFORM_IMX2_WDT
Sascha Hauer784a90c2011-11-07 12:36:48 +0100746 select IMX_HAVE_PLATFORM_IMX_I2C
747 select IMX_HAVE_PLATFORM_IMX_UART
748 select IMX_HAVE_PLATFORM_MXC_EHCI
749 select IMX_HAVE_PLATFORM_MXC_NAND
750 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100751 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100752 help
753 Include support for Eukrea CPUIMX51SD platform. This includes
754 specific configurations for the module and its peripherals.
755
756choice
757 prompt "Baseboard"
758 depends on MACH_EUKREA_CPUIMX51SD
759 default MACH_EUKREA_MBIMXSD51_BASEBOARD
760
761config MACH_EUKREA_MBIMXSD51_BASEBOARD
762 prompt "Eukrea MBIMXSD development board"
763 bool
Eric Bénard932d67d2012-05-08 09:20:22 +0200764 select IMX_HAVE_PLATFORM_IMX_SSI
Sascha Hauer784a90c2011-11-07 12:36:48 +0100765 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
766 select LEDS_GPIO_REGISTER
767 help
768 This adds board specific devices that can be found on Eukrea's
769 MBIMXSD evaluation board.
770
771endchoice
772
Shawn Guo442279d2012-08-12 23:21:39 +0800773comment "Device tree only"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100774
Shawn Guo442279d2012-08-12 23:21:39 +0800775config SOC_IMX53
776 bool "i.MX53 support"
Shawn Guo442279d2012-08-12 23:21:39 +0800777 select HAVE_CAN_FLEXCAN if CAN
Philipp Zabelbd3d9242013-03-28 17:35:22 +0100778 select HAVE_IMX_SRC
Roland Stigge48b797a2012-10-25 13:28:33 +0200779 select IMX_HAVE_PLATFORM_IMX2_WDT
Shawn Guo442279d2012-08-12 23:21:39 +0800780 select PINCTRL
781 select PINCTRL_IMX53
Russell Kingb1b3f492012-10-06 17:12:25 +0100782 select SOC_IMX5
Shawn Guo442279d2012-08-12 23:21:39 +0800783
Sascha Hauer784a90c2011-11-07 12:36:48 +0100784 help
Shawn Guo442279d2012-08-12 23:21:39 +0800785 This enables support for Freescale i.MX53 processor.
Shawn Guobac89d72011-10-02 15:09:11 +0800786
787config SOC_IMX6Q
788 bool "i.MX6 Quad support"
Shawn Guod90df972012-07-19 23:16:30 +0800789 select ARCH_HAS_CPUFREQ
790 select ARCH_HAS_OPP
Eric Miao46ec1b22011-12-21 22:38:23 +0800791 select ARM_CPU_SUSPEND if PM
Shawn Guo96efb442012-10-23 19:44:34 +0800792 select ARM_ERRATA_754322
793 select ARM_ERRATA_764369 if SMP
794 select ARM_ERRATA_775420
Shawn Guobac89d72011-10-02 15:09:11 +0800795 select ARM_GIC
Shawn Guo2acd1b62012-04-04 20:53:22 +0800796 select COMMON_CLK
Shawn Guobac89d72011-10-02 15:09:11 +0800797 select CPU_V7
Shawn Guo69c31b72011-09-06 14:59:40 +0800798 select HAVE_ARM_SCU
Marc Kleine-Budde610578a2012-07-02 11:03:00 +0200799 select HAVE_CAN_FLEXCAN if CAN
Shawn Guo9fbbe682011-09-06 14:39:44 +0800800 select HAVE_IMX_GPC
801 select HAVE_IMX_MMDC
Shawn Guoaec99b72013-01-11 22:08:27 +0800802 select HAVE_IMX_SRC
Dave Martin3b556582011-12-07 15:38:04 +0000803 select HAVE_SMP
Dong Aishengbaa64152012-09-05 10:57:15 +0800804 select MFD_SYSCON
Dong Aisheng32329a22012-05-02 19:31:21 +0800805 select PINCTRL
806 select PINCTRL_IMX6Q
Shawn Guo96efb442012-10-23 19:44:34 +0800807 select PL310_ERRATA_588369 if CACHE_PL310
808 select PL310_ERRATA_727915 if CACHE_PL310
809 select PL310_ERRATA_769419 if CACHE_PL310
Shawn Guod90df972012-07-19 23:16:30 +0800810 select PM_OPP if PM
Shawn Guobac89d72011-10-02 15:09:11 +0800811
812 help
813 This enables support for Freescale i.MX6 Quad processor.
814
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100815endif
Shawn Guoe0557c02012-09-13 15:51:15 +0800816
817source "arch/arm/mach-imx/devices/Kconfig"
Shawn Guo3995eb82012-09-13 19:48:07 +0800818
Shawn Guoc5a0d492012-09-17 09:38:39 +0800819endmenu