blob: 4c9c6f9d2c559707cf7fa55e9f3b6ef33115fc6a [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
86config MACH_MX21
87 bool
88
89config ARCH_MX25
90 bool
91
92config MACH_MX27
93 bool
94
Sascha Hauer784a90c2011-11-07 12:36:48 +010095config ARCH_MX5
96 bool
97
Sascha Hauer784a90c2011-11-07 12:36:48 +010098config ARCH_MX51
99 bool
100
101config ARCH_MX53
102 bool
103
Uwe Kleine-Könige780d232010-06-14 17:39:21 +0200104config SOC_IMX1
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100105 bool
Sascha Hauerae4fa7f2011-08-23 09:39:35 +0200106 select ARCH_MX1
Sascha Hauercd737852012-03-09 09:11:32 +0100107 select COMMON_CLK
Uwe Kleine-Könige780d232010-06-14 17:39:21 +0200108 select CPU_ARM920T
109 select IMX_HAVE_IOMUX_V1
Sascha Hauerc7259df2010-11-05 09:37:22 +0100110 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100111
112config SOC_IMX21
Uwe Kleine-Könige780d232010-06-14 17:39:21 +0200113 bool
Sascha Hauer93421e42012-03-09 09:11:39 +0100114 select COMMON_CLK
Russell Kingb1b3f492012-10-06 17:12:25 +0100115 select CPU_ARM926T
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100116 select IMX_HAVE_IOMUX_V1
Russell Kingb1b3f492012-10-06 17:12:25 +0100117 select MACH_MX21
Sascha Hauerc7259df2010-11-05 09:37:22 +0100118 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100119
120config SOC_IMX25
121 bool
Sascha Hauerae4fa7f2011-08-23 09:39:35 +0200122 select ARCH_MX25
Russell Kingb1b3f492012-10-06 17:12:25 +0100123 select ARCH_MXC_IOMUX_V3
Sascha Hauer6bbaec52012-03-08 22:24:12 +0100124 select COMMON_CLK
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100125 select CPU_ARM926T
Marc Kleine-Budde610578a2012-07-02 11:03:00 +0200126 select HAVE_CAN_FLEXCAN if CAN
Sascha Hauerc7259df2010-11-05 09:37:22 +0100127 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100128
129config SOC_IMX27
130 bool
Sascha Hauere038ed52012-03-09 09:11:46 +0100131 select COMMON_CLK
Russell Kingb1b3f492012-10-06 17:12:25 +0100132 select CPU_ARM926T
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100133 select IMX_HAVE_IOMUX_V1
Russell Kingb1b3f492012-10-06 17:12:25 +0100134 select MACH_MX27
Sascha Hauerc7259df2010-11-05 09:37:22 +0100135 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100136
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100137config SOC_IMX31
138 bool
Russell Kingb1b3f492012-10-06 17:12:25 +0100139 select COMMON_CLK
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100140 select CPU_V6
141 select IMX_HAVE_PLATFORM_MXC_RNGA
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100142 select MXC_AVIC
Sascha Hauera89cf592011-09-27 13:48:02 +0800143 select SMP_ON_UP if SMP
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100144
145config SOC_IMX35
146 bool
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100147 select ARCH_MXC_IOMUX_V3
Sascha Hauer5b48a612012-04-03 12:41:13 +0200148 select COMMON_CLK
Russell Kingb1b3f492012-10-06 17:12:25 +0100149 select CPU_V6K
150 select HAVE_CAN_FLEXCAN if CAN
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100151 select HAVE_EPIT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100152 select MXC_AVIC
Sascha Hauera89cf592011-09-27 13:48:02 +0800153 select SMP_ON_UP if SMP
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100154
Sascha Hauer784a90c2011-11-07 12:36:48 +0100155config SOC_IMX5
Russell Kingb1b3f492012-10-06 17:12:25 +0100156 bool
Sascha Hauer784a90c2011-11-07 12:36:48 +0100157 select ARCH_HAS_CPUFREQ
158 select ARCH_MX5
Russell Kingb1b3f492012-10-06 17:12:25 +0100159 select ARCH_MXC_IOMUX_V3
160 select COMMON_CLK
161 select CPU_V7
162 select MXC_TZIC
Sascha Hauer784a90c2011-11-07 12:36:48 +0100163
Sascha Hauer784a90c2011-11-07 12:36:48 +0100164config SOC_IMX51
165 bool
Sascha Hauer784a90c2011-11-07 12:36:48 +0100166 select ARCH_MX5
167 select ARCH_MX51
Shawn Guob6798f82012-08-13 19:55:37 +0800168 select PINCTRL
169 select PINCTRL_IMX51
Russell Kingb1b3f492012-10-06 17:12:25 +0100170 select SOC_IMX5
Sascha Hauer784a90c2011-11-07 12:36:48 +0100171
Shawn Guoc5a0d492012-09-17 09:38:39 +0800172if ARCH_MULTI_V4T
Uwe Kleine-Könige780d232010-06-14 17:39:21 +0200173
Uwe Kleine-König07469492010-06-14 15:56:58 +0200174comment "MX1 platforms:"
175config MACH_MXLADS
176 bool
177
178config ARCH_MX1ADS
179 bool "MX1ADS platform"
Uwe Kleine-König6348e6b2010-06-16 15:26:07 +0200180 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd112f4e2010-06-22 14:50:59 +0200181 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100182 select MACH_MXLADS
183 select SOC_IMX1
Uwe Kleine-König07469492010-06-14 15:56:58 +0200184 help
185 Say Y here if you are using Motorola MX1ADS/MXLADS boards
186
187config MACH_SCB9328
188 bool "Synertronixx scb9328"
Uwe Kleine-Königd112f4e2010-06-22 14:50:59 +0200189 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König07469492010-06-14 15:56:58 +0200190 help
191 Say Y here if you are using a Synertronixx scb9328 board
192
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000193config MACH_APF9328
194 bool "APF9328"
Gwenhael Goavec-Merou7a994812011-10-08 17:19:49 +0200195 select IMX_HAVE_PLATFORM_IMX_I2C
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000196 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100197 select SOC_IMX1
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000198 help
199 Say Yes here if you are using the Armadeus APF9328 development board
200
Shawn Guoc5a0d492012-09-17 09:38:39 +0800201endif
202
203if ARCH_MULTI_V5
204
Uwe Kleine-Königb6b06be2010-06-14 16:56:46 +0200205comment "MX21 platforms:"
Juergen Beisert80eedae2008-07-05 10:03:00 +0200206
Ivo Clarysse6b91edd2009-04-15 15:39:27 +0200207config MACH_MX21ADS
208 bool "MX21ADS platform"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100209 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König3c5227f2010-06-22 17:59:58 +0200210 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100211 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König1f8d7212010-06-16 11:17:45 +0200212 select IMX_HAVE_PLATFORM_MXC_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100213 select SOC_IMX21
Ivo Clarysse6b91edd2009-04-15 15:39:27 +0200214 help
215 Include support for MX21ADS platform. This includes specific
216 configurations for the board and its peripherals.
217
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100218comment "MX25 platforms:"
219
220config MACH_MX25_3DS
221 bool "Support MX25PDK (3DS) Platform"
Fabio Estevam91dcc7f2011-07-08 14:59:50 -0300222 select IMX_HAVE_PLATFORM_FLEXCAN
Fabio Estevam460d30a2010-12-22 12:25:32 -0200223 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100224 select IMX_HAVE_PLATFORM_IMX2_WDT
225 select IMX_HAVE_PLATFORM_IMXDI_RTC
226 select IMX_HAVE_PLATFORM_IMX_FB
Russell Kingb1b3f492012-10-06 17:12:25 +0100227 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100228 select IMX_HAVE_PLATFORM_IMX_KEYPAD
229 select IMX_HAVE_PLATFORM_IMX_UART
230 select IMX_HAVE_PLATFORM_MXC_EHCI
231 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100232 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100233 select SOC_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100234
Eric Bénard01dd5202011-12-13 07:31:35 +0100235config MACH_EUKREA_CPUIMX25SD
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100236 bool "Support Eukrea CPUIMX25 Platform"
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100237 select IMX_HAVE_PLATFORM_FLEXCAN
238 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Eric Bénard4692cba2012-05-08 09:20:18 +0200239 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100240 select IMX_HAVE_PLATFORM_IMXDI_RTC
241 select IMX_HAVE_PLATFORM_IMX_FB
242 select IMX_HAVE_PLATFORM_IMX_I2C
243 select IMX_HAVE_PLATFORM_IMX_UART
244 select IMX_HAVE_PLATFORM_MXC_EHCI
245 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100246 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100247 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100248 select SOC_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100249
250choice
251 prompt "Baseboard"
Eric Bénard01dd5202011-12-13 07:31:35 +0100252 depends on MACH_EUKREA_CPUIMX25SD
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100253 default MACH_EUKREA_MBIMXSD25_BASEBOARD
254
255config MACH_EUKREA_MBIMXSD25_BASEBOARD
256 bool "Eukrea MBIMXSD development board"
Uwe Kleine-König53094982011-02-28 18:04:33 +0100257 select IMX_HAVE_PLATFORM_GPIO_KEYS
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100258 select IMX_HAVE_PLATFORM_IMX_SSI
Eric Bénard49ed9402012-05-08 09:20:17 +0200259 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200260 select LEDS_GPIO_REGISTER
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100261 help
262 This adds board specific devices that can be found on Eukrea's
263 MBIMXSD evaluation board.
264
265endchoice
266
Sascha Haueref4bac52012-09-20 14:59:36 +0200267config MACH_IMX25_DT
268 bool "Support i.MX25 platforms from device tree"
269 select SOC_IMX25
270 help
271 Include support for Freescale i.MX25 based platforms
272 using the device tree for discovery
273
Uwe Kleine-Königb6b06be2010-06-14 16:56:46 +0200274comment "MX27 platforms:"
275
Juergen Beisert80eedae2008-07-05 10:03:00 +0200276config MACH_MX27ADS
277 bool "MX27ADS platform"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100278 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200279 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200280 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100281 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200282 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200283 select IMX_HAVE_PLATFORM_MXC_W1
Russell Kingb1b3f492012-10-06 17:12:25 +0100284 select SOC_IMX27
Juergen Beisert80eedae2008-07-05 10:03:00 +0200285 help
286 Include support for MX27ADS platform. This includes specific
287 configurations for the board and its peripherals.
Juergen Beisert7e5e9f52008-07-05 10:03:00 +0200288
289config MACH_PCM038
290 bool "Phytec phyCORE-i.MX27 CPU module (pcm038)"
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100291 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200292 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200293 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100294 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200295 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200296 select IMX_HAVE_PLATFORM_MXC_W1
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200297 select IMX_HAVE_PLATFORM_SPI_IMX
Sascha Hauer773f2062010-02-03 17:13:41 +0100298 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100299 select SOC_IMX27
Juergen Beisert7e5e9f52008-07-05 10:03:00 +0200300 help
301 Include support for phyCORE-i.MX27 (aka pcm038) platform. This
302 includes specific configurations for the module and its peripherals.
Juergen Beisertff6552e2008-07-05 10:03:01 +0200303
304choice
305 prompt "Baseboard"
306 depends on MACH_PCM038
307 default MACH_PCM970_BASEBOARD
308
309config MACH_PCM970_BASEBOARD
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100310 bool "PHYTEC PCM970 development board"
311 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100312 select IMX_HAVE_PLATFORM_MXC_MMC
Juergen Beisertff6552e2008-07-05 10:03:01 +0200313 help
314 This adds board specific devices that can be found on Phytec's
315 PCM970 evaluation board.
316
317endchoice
Holger Schurig6bbdbf22009-01-29 14:42:25 +0100318
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100319config MACH_CPUIMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200320 bool "Eukrea CPUIMX27 module"
Uwe Kleine-Königbd455ed2010-11-09 17:52:14 +0100321 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100322 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200323 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200324 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100325 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200326 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200327 select IMX_HAVE_PLATFORM_MXC_W1
Eric Bénard22377ec2010-10-08 10:37:40 +0200328 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100329 select SOC_IMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200330 help
331 Include support for Eukrea CPUIMX27 platform. This includes
332 specific configurations for the module and its peripherals.
333
334config MACH_EUKREA_CPUIMX27_USESDHC2
335 bool "CPUIMX27 integrates SDHC2 module"
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100336 depends on MACH_CPUIMX27
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100337 select IMX_HAVE_PLATFORM_MXC_MMC
Eric Benardaf5b1df2009-07-16 16:26:33 +0200338 help
Eric Bénard2d66c782010-05-19 18:45:59 +0200339 This adds support for the internal SDHC2 used on CPUIMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200340 for wifi or eMMC.
341
Eric Bénard2d66c782010-05-19 18:45:59 +0200342config MACH_EUKREA_CPUIMX27_USEUART4
343 bool "CPUIMX27 integrates UART4 module"
344 depends on MACH_CPUIMX27
345 help
346 This adds support for the internal UART4 used on CPUIMX27
347 for bluetooth.
348
Eric Benarda961bf32009-07-16 16:26:34 +0200349choice
350 prompt "Baseboard"
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100351 depends on MACH_CPUIMX27
Eric Benarda961bf32009-07-16 16:26:34 +0200352 default MACH_EUKREA_MBIMX27_BASEBOARD
353
354config MACH_EUKREA_MBIMX27_BASEBOARD
Uwe Kleine-König4697bb92010-08-25 17:37:45 +0200355 bool "Eukrea MBIMX27 development board"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100356 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König3f880142010-11-10 09:58:56 +0100357 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Uwe Kleine-König4697bb92010-08-25 17:37:45 +0200358 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200359 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100360 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200361 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200362 select LEDS_GPIO_REGISTER
Eric Benarda961bf32009-07-16 16:26:34 +0200363 help
364 This adds board specific devices that can be found on Eukrea's
365 MBIMX27 evaluation board.
366
367endchoice
368
Fabio Estevamec9be0d2009-04-16 12:45:01 -0700369config MACH_MX27_3DS
370 bool "MX27PDK platform"
Fabio Estevam96cf4232010-12-22 12:25:31 -0200371 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Fabio Estevam8be92522010-12-07 17:14:45 -0200372 select IMX_HAVE_PLATFORM_IMX2_WDT
Fabio Estevam1abcb4c2011-06-22 09:25:25 -0300373 select IMX_HAVE_PLATFORM_IMX_FB
Fabio Estevam5885f032011-03-01 16:59:46 -0300374 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König3f880142010-11-10 09:58:56 +0100375 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Fabio Estevam688b5cb2012-07-03 15:44:57 -0300376 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200377 select IMX_HAVE_PLATFORM_IMX_UART
Fabio Estevam4c11c282012-02-15 19:36:10 -0200378 select IMX_HAVE_PLATFORM_MX2_CAMERA
Fabio Estevam96cf4232010-12-22 12:25:31 -0200379 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100380 select IMX_HAVE_PLATFORM_MXC_MMC
Fabio Estevamc67a3e02011-01-03 11:16:39 -0200381 select IMX_HAVE_PLATFORM_SPI_IMX
Fabio Estevam92cb33f2011-01-10 18:17:37 -0200382 select MXC_DEBUG_BOARD
Fabio Estevam96cf4232010-12-22 12:25:31 -0200383 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100384 select SOC_IMX27
Fabio Estevamec9be0d2009-04-16 12:45:01 -0700385 help
386 Include support for MX27PDK platform. This includes specific
387 configurations for the board and its peripherals.
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400388
Javier Martin3b161e52010-07-30 10:06:01 +0200389config MACH_IMX27_VISSTRIM_M10
390 bool "Vista Silicon i.MX27 Visstrim_m10"
Uwe Kleine-König53094982011-02-28 18:04:33 +0100391 select IMX_HAVE_PLATFORM_GPIO_KEYS
Javier Martin3b161e52010-07-30 10:06:01 +0200392 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König5658bff2011-03-18 12:24:08 +0100393 select IMX_HAVE_PLATFORM_IMX_SSI
Javier Martin3b161e52010-07-30 10:06:01 +0200394 select IMX_HAVE_PLATFORM_IMX_UART
Javier Martinf52f5a52012-02-28 17:31:51 +0100395 select IMX_HAVE_PLATFORM_MX2_CAMERA
Gaëtan Carlier3ab3a352012-09-05 13:06:15 +0200396 select IMX_HAVE_PLATFORM_MX2_EMMA
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100397 select IMX_HAVE_PLATFORM_MXC_EHCI
Javier Martin32189132012-02-28 17:31:48 +0100398 select IMX_HAVE_PLATFORM_MXC_MMC
Javier Martinacb64642012-02-29 13:17:33 +0100399 select LEDS_GPIO_REGISTER
Russell Kingb1b3f492012-10-06 17:12:25 +0100400 select SOC_IMX27
Javier Martin3b161e52010-07-30 10:06:01 +0200401 help
402 Include support for Visstrim_m10 platform and its different variants.
403 This includes specific configurations for the board and its
404 peripherals.
405
Uwe Kleine-Königf747f932009-12-10 10:25:07 +0100406config MACH_IMX27LITE
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400407 bool "LogicPD MX27 LITEKIT platform"
Javier Martina5e20512011-03-01 15:02:08 +0100408 select IMX_HAVE_PLATFORM_IMX_SSI
Russell Kingb1b3f492012-10-06 17:12:25 +0100409 select IMX_HAVE_PLATFORM_IMX_UART
410 select SOC_IMX27
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400411 help
412 Include support for MX27 LITEKIT platform. This includes specific
413 configurations for the board and its peripherals.
414
Luotao Fu33731692009-08-06 11:19:39 +0200415config MACH_PCA100
416 bool "Phytec phyCARD-s (pca100)"
Uwe Kleine-Königbd455ed2010-11-09 17:52:14 +0100417 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100418 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100419 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200420 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König4697bb92010-08-25 17:37:45 +0200421 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200422 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100423 select IMX_HAVE_PLATFORM_MXC_EHCI
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
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200426 select IMX_HAVE_PLATFORM_MXC_W1
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200427 select IMX_HAVE_PLATFORM_SPI_IMX
Sascha Hauereee7c492010-02-03 17:13:29 +0100428 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100429 select SOC_IMX27
Luotao Fu33731692009-08-06 11:19:39 +0200430 help
431 Include support for phyCARD-s (aka pca100) platform. This
432 includes specific configurations for the module and its peripherals.
433
Alan Carvalho de Assis143a1792009-11-25 15:24:50 -0200434config MACH_MXT_TD60
435 bool "Maxtrack i-MXT TD60"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100436 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200437 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200438 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100439 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200440 select IMX_HAVE_PLATFORM_MXC_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100441 select SOC_IMX27
Alan Carvalho de Assis143a1792009-11-25 15:24:50 -0200442 help
443 Include support for i-MXT (aka td60) platform. This
444 includes specific configurations for the module and its peripherals.
445
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200446config MACH_IMX27IPCAM
447 bool "IMX27 IPCAM platform"
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200448 select IMX_HAVE_PLATFORM_IMX2_WDT
449 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100450 select SOC_IMX27
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200451 help
452 Include support for IMX27 IPCAM platform. This includes specific
453 configurations for the board and its peripherals.
454
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100455config MACH_IMX27_DT
456 bool "Support i.MX27 platforms from device tree"
457 select SOC_IMX27
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100458 help
459 Include support for Freescale i.MX27 based platforms
460 using the device tree for discovery
461
Holger Schurig6bbdbf22009-01-29 14:42:25 +0100462endif
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100463
Shawn Guoc5a0d492012-09-17 09:38:39 +0800464if ARCH_MULTI_V6
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100465
466comment "MX31 platforms:"
467
468config MACH_MX31ADS
469 bool "Support MX31ADS platforms"
Russell Kingb1b3f492012-10-06 17:12:25 +0100470 default y
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100471 select IMX_HAVE_PLATFORM_IMX_I2C
472 select IMX_HAVE_PLATFORM_IMX_SSI
473 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100474 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100475 help
476 Include support for MX31ADS platform. This includes specific
477 configurations for the board and its peripherals.
478
479config MACH_MX31ADS_WM1133_EV1
480 bool "Support Wolfson Microelectronics 1133-EV1 module"
481 depends on MACH_MX31ADS
482 depends on MFD_WM8350_I2C
Arnd Bergmann69eb3832013-02-14 17:45:58 +0100483 depends on REGULATOR_WM8350 = y
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100484 select MFD_WM8350_CONFIG_MODE_0
485 select MFD_WM8352_CONFIG_MODE_0
486 help
487 Include support for the Wolfson Microelectronics 1133-EV1 PMU
488 and audio module for the MX31ADS platform.
489
490config MACH_MX31LILLY
491 bool "Support MX31 LILLY-1131 platforms (INCO startec)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100492 select IMX_HAVE_PLATFORM_IMX_UART
493 select IMX_HAVE_PLATFORM_IPU_CORE
494 select IMX_HAVE_PLATFORM_MXC_EHCI
495 select IMX_HAVE_PLATFORM_MXC_MMC
496 select IMX_HAVE_PLATFORM_SPI_IMX
497 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100498 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100499 help
500 Include support for mx31 based LILLY1131 modules. This includes
501 specific configurations for the board and its peripherals.
502
503config MACH_MX31LITE
504 bool "Support MX31 LITEKIT (LogicPD)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100505 select IMX_HAVE_PLATFORM_IMX2_WDT
506 select IMX_HAVE_PLATFORM_IMX_UART
507 select IMX_HAVE_PLATFORM_MXC_EHCI
508 select IMX_HAVE_PLATFORM_MXC_MMC
509 select IMX_HAVE_PLATFORM_MXC_NAND
510 select IMX_HAVE_PLATFORM_MXC_RTC
511 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200512 select LEDS_GPIO_REGISTER
Russell Kingb1b3f492012-10-06 17:12:25 +0100513 select MXC_ULPI if USB_ULPI
514 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100515 help
516 Include support for MX31 LITEKIT platform. This includes specific
517 configurations for the board and its peripherals.
518
519config MACH_PCM037
520 bool "Support Phytec pcm037 (i.MX31) platforms"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100521 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
522 select IMX_HAVE_PLATFORM_IMX2_WDT
523 select IMX_HAVE_PLATFORM_IMX_I2C
524 select IMX_HAVE_PLATFORM_IMX_UART
525 select IMX_HAVE_PLATFORM_IPU_CORE
526 select IMX_HAVE_PLATFORM_MXC_EHCI
527 select IMX_HAVE_PLATFORM_MXC_MMC
528 select IMX_HAVE_PLATFORM_MXC_NAND
529 select IMX_HAVE_PLATFORM_MXC_W1
530 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100531 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100532 help
533 Include support for Phytec pcm037 platform. This includes
534 specific configurations for the board and its peripherals.
535
536config MACH_PCM037_EET
537 bool "Support pcm037 EET board extensions"
538 depends on MACH_PCM037
539 select IMX_HAVE_PLATFORM_GPIO_KEYS
540 select IMX_HAVE_PLATFORM_SPI_IMX
541 help
542 Add support for PCM037 EET baseboard extensions. If you are using the
543 OLED display with EET, use "video=mx3fb:CMEL-OLED" kernel
544 command-line parameter.
545
546config MACH_MX31_3DS
547 bool "Support MX31PDK (3DS)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100548 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_KEYPAD
Fabio Estevam3ef7cf12012-05-21 16:09:06 -0300552 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100553 select IMX_HAVE_PLATFORM_IMX_UART
554 select IMX_HAVE_PLATFORM_IPU_CORE
555 select IMX_HAVE_PLATFORM_MXC_EHCI
Fabio Estevamd093d5b2011-09-14 14:04:38 -0300556 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100557 select IMX_HAVE_PLATFORM_MXC_NAND
558 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100559 select MXC_DEBUG_BOARD
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100560 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100561 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100562 help
563 Include support for MX31PDK (3DS) platform. This includes specific
564 configurations for the board and its peripherals.
565
566config MACH_MX31_3DS_MXC_NAND_USE_BBT
567 bool "Make the MXC NAND driver use the in flash Bad Block Table"
568 depends on MACH_MX31_3DS
569 depends on MTD_NAND_MXC
570 help
571 Enable this if you want that the MXC NAND driver uses the in flash
572 Bad Block Table to know what blocks are bad instead of scanning the
573 entire flash looking for bad block markers.
574
575config MACH_MX31MOBOARD
576 bool "Support mx31moboard platforms (EPFL Mobots group)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100577 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Philippe Rétornaz31776fb2012-01-20 18:58:23 +0100578 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100579 select IMX_HAVE_PLATFORM_IMX_I2C
Philippe Rétornaz2f7b9452012-05-15 13:53:52 +0200580 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100581 select IMX_HAVE_PLATFORM_IMX_UART
582 select IMX_HAVE_PLATFORM_IPU_CORE
583 select IMX_HAVE_PLATFORM_MXC_EHCI
584 select IMX_HAVE_PLATFORM_MXC_MMC
585 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200586 select LEDS_GPIO_REGISTER
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100587 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100588 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100589 help
590 Include support for mx31moboard platform. This includes specific
591 configurations for the board and its peripherals.
592
593config MACH_QONG
594 bool "Support Dave/DENX QongEVB-LITE platform"
Fabio Estevambbb43362011-09-19 10:59:46 -0300595 select IMX_HAVE_PLATFORM_IMX2_WDT
Russell Kingb1b3f492012-10-06 17:12:25 +0100596 select IMX_HAVE_PLATFORM_IMX_UART
597 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100598 help
599 Include support for Dave/DENX QongEVB-LITE platform. This includes
600 specific configurations for the board and its peripherals.
601
602config MACH_ARMADILLO5X0
603 bool "Support Atmark Armadillo-500 Development Base Board"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100604 select IMX_HAVE_PLATFORM_GPIO_KEYS
605 select IMX_HAVE_PLATFORM_IMX_I2C
606 select IMX_HAVE_PLATFORM_IMX_UART
607 select IMX_HAVE_PLATFORM_IPU_CORE
608 select IMX_HAVE_PLATFORM_MXC_EHCI
609 select IMX_HAVE_PLATFORM_MXC_MMC
610 select IMX_HAVE_PLATFORM_MXC_NAND
611 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100612 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100613 help
614 Include support for Atmark Armadillo-500 platform. This includes
615 specific configurations for the board and its peripherals.
616
617config MACH_KZM_ARM11_01
618 bool "Support KZM-ARM11-01(Kyoto Microcomputer)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100619 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100620 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100621 help
622 Include support for KZM-ARM11-01. This includes specific
623 configurations for the board and its peripherals.
624
625config MACH_BUG
626 bool "Support Buglabs BUGBase platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100627 default y
Russell Kingb1b3f492012-10-06 17:12:25 +0100628 select IMX_HAVE_PLATFORM_IMX_UART
629 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100630 help
631 Include support for BUGBase 1.3 platform. This includes specific
632 configurations for the board and its peripherals.
633
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200634config MACH_IMX31_DT
635 bool "Support i.MX31 platforms from device tree"
636 select SOC_IMX31
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200637 help
638 Include support for Freescale i.MX31 based platforms
639 using the device tree for discovery.
640
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100641comment "MX35 platforms:"
642
643config MACH_PCM043
644 bool "Support Phytec pcm043 (i.MX35) platforms"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100645 select IMX_HAVE_PLATFORM_FLEXCAN
646 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
647 select IMX_HAVE_PLATFORM_IMX2_WDT
648 select IMX_HAVE_PLATFORM_IMX_I2C
649 select IMX_HAVE_PLATFORM_IMX_SSI
650 select IMX_HAVE_PLATFORM_IMX_UART
651 select IMX_HAVE_PLATFORM_IPU_CORE
652 select IMX_HAVE_PLATFORM_MXC_EHCI
653 select IMX_HAVE_PLATFORM_MXC_NAND
654 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
655 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100656 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100657 help
658 Include support for Phytec pcm043 platform. This includes
659 specific configurations for the board and its peripherals.
660
661config MACH_MX35_3DS
662 bool "Support MX35PDK platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100663 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
664 select IMX_HAVE_PLATFORM_IMX2_WDT
Marc Kleine-Budde8e3e26a2012-04-24 17:48:18 +0200665 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100666 select IMX_HAVE_PLATFORM_IMX_I2C
667 select IMX_HAVE_PLATFORM_IMX_UART
Marc Kleine-Budde8e3e26a2012-04-24 17:48:18 +0200668 select IMX_HAVE_PLATFORM_IPU_CORE
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100669 select IMX_HAVE_PLATFORM_MXC_EHCI
670 select IMX_HAVE_PLATFORM_MXC_NAND
Benoît Thébaudeauc6fd6d12012-07-04 16:36:28 +0200671 select IMX_HAVE_PLATFORM_MXC_RTC
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100672 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100673 select MXC_DEBUG_BOARD
674 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100675 help
676 Include support for MX35PDK platform. This includes specific
677 configurations for the board and its peripherals.
678
Eric Bénarda69aa722011-12-13 07:31:43 +0100679config MACH_EUKREA_CPUIMX35SD
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100680 bool "Support Eukrea CPUIMX35 Platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100681 select IMX_HAVE_PLATFORM_FLEXCAN
682 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
683 select IMX_HAVE_PLATFORM_IMX2_WDT
684 select IMX_HAVE_PLATFORM_IMX_I2C
685 select IMX_HAVE_PLATFORM_IMX_UART
686 select IMX_HAVE_PLATFORM_MXC_EHCI
687 select IMX_HAVE_PLATFORM_MXC_NAND
688 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
689 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100690 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100691 help
692 Include support for Eukrea CPUIMX35 platform. This includes
693 specific configurations for the board and its peripherals.
694
695choice
696 prompt "Baseboard"
Eric Bénarda69aa722011-12-13 07:31:43 +0100697 depends on MACH_EUKREA_CPUIMX35SD
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100698 default MACH_EUKREA_MBIMXSD35_BASEBOARD
699
700config MACH_EUKREA_MBIMXSD35_BASEBOARD
701 bool "Eukrea MBIMXSD development board"
702 select IMX_HAVE_PLATFORM_GPIO_KEYS
703 select IMX_HAVE_PLATFORM_IMX_SSI
704 select IMX_HAVE_PLATFORM_IPU_CORE
Eric Bénard0e189852012-05-08 09:20:19 +0200705 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200706 select LEDS_GPIO_REGISTER
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100707 help
708 This adds board specific devices that can be found on Eukrea's
709 MBIMXSD evaluation board.
710
711endchoice
712
713config MACH_VPR200
714 bool "Support VPR200 platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100715 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
716 select IMX_HAVE_PLATFORM_GPIO_KEYS
717 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100718 select IMX_HAVE_PLATFORM_IMX_I2C
Russell Kingb1b3f492012-10-06 17:12:25 +0100719 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100720 select IMX_HAVE_PLATFORM_IPU_CORE
721 select IMX_HAVE_PLATFORM_MXC_EHCI
722 select IMX_HAVE_PLATFORM_MXC_NAND
723 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100724 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100725 help
726 Include support for VPR200 platform. This includes specific
727 configurations for the board and its peripherals.
728
Shawn Guoc5a0d492012-09-17 09:38:39 +0800729endif
730
731if ARCH_MULTI_V7
732
Sascha Hauer784a90c2011-11-07 12:36:48 +0100733comment "i.MX51 machines:"
734
735config MACH_IMX51_DT
736 bool "Support i.MX51 platforms from device tree"
Russell Kingb1b3f492012-10-06 17:12:25 +0100737 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100738 help
739 Include support for Freescale i.MX51 based platforms
740 using the device tree for discovery
741
742config MACH_MX51_BABBAGE
743 bool "Support MX51 BABBAGE platforms"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100744 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
745 select IMX_HAVE_PLATFORM_IMX2_WDT
746 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_SDHCI_ESDHC_IMX
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 MX51 Babbage platform, also known as MX51EVK in
754 u-boot. This includes specific configurations for the board and its
755 peripherals.
756
Sascha Hauer784a90c2011-11-07 12:36:48 +0100757config MACH_EUKREA_CPUIMX51SD
758 bool "Support Eukrea CPUIMX51SD module"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100759 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Russell Kingb1b3f492012-10-06 17:12:25 +0100760 select IMX_HAVE_PLATFORM_IMX2_WDT
Sascha Hauer784a90c2011-11-07 12:36:48 +0100761 select IMX_HAVE_PLATFORM_IMX_I2C
762 select IMX_HAVE_PLATFORM_IMX_UART
763 select IMX_HAVE_PLATFORM_MXC_EHCI
764 select IMX_HAVE_PLATFORM_MXC_NAND
765 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100766 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100767 help
768 Include support for Eukrea CPUIMX51SD platform. This includes
769 specific configurations for the module and its peripherals.
770
771choice
772 prompt "Baseboard"
773 depends on MACH_EUKREA_CPUIMX51SD
774 default MACH_EUKREA_MBIMXSD51_BASEBOARD
775
776config MACH_EUKREA_MBIMXSD51_BASEBOARD
777 prompt "Eukrea MBIMXSD development board"
778 bool
Eric Bénard932d67d2012-05-08 09:20:22 +0200779 select IMX_HAVE_PLATFORM_IMX_SSI
Sascha Hauer784a90c2011-11-07 12:36:48 +0100780 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
781 select LEDS_GPIO_REGISTER
782 help
783 This adds board specific devices that can be found on Eukrea's
784 MBIMXSD evaluation board.
785
786endchoice
787
Shawn Guo442279d2012-08-12 23:21:39 +0800788comment "Device tree only"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100789
Shawn Guo442279d2012-08-12 23:21:39 +0800790config SOC_IMX53
791 bool "i.MX53 support"
Shawn Guo442279d2012-08-12 23:21:39 +0800792 select ARCH_MX5
793 select ARCH_MX53
794 select HAVE_CAN_FLEXCAN if CAN
Roland Stigge48b797a2012-10-25 13:28:33 +0200795 select IMX_HAVE_PLATFORM_IMX2_WDT
Shawn Guo442279d2012-08-12 23:21:39 +0800796 select PINCTRL
797 select PINCTRL_IMX53
Russell Kingb1b3f492012-10-06 17:12:25 +0100798 select SOC_IMX5
Shawn Guo442279d2012-08-12 23:21:39 +0800799
Sascha Hauer784a90c2011-11-07 12:36:48 +0100800 help
Shawn Guo442279d2012-08-12 23:21:39 +0800801 This enables support for Freescale i.MX53 processor.
Shawn Guobac89d72011-10-02 15:09:11 +0800802
803config SOC_IMX6Q
804 bool "i.MX6 Quad support"
Shawn Guod90df972012-07-19 23:16:30 +0800805 select ARCH_HAS_CPUFREQ
806 select ARCH_HAS_OPP
Eric Miao46ec1b22011-12-21 22:38:23 +0800807 select ARM_CPU_SUSPEND if PM
Shawn Guo96efb442012-10-23 19:44:34 +0800808 select ARM_ERRATA_754322
809 select ARM_ERRATA_764369 if SMP
810 select ARM_ERRATA_775420
Shawn Guobac89d72011-10-02 15:09:11 +0800811 select ARM_GIC
Shawn Guo2acd1b62012-04-04 20:53:22 +0800812 select COMMON_CLK
Shawn Guobac89d72011-10-02 15:09:11 +0800813 select CPU_V7
Shawn Guo69c31b72011-09-06 14:59:40 +0800814 select HAVE_ARM_SCU
Marc Kleine-Budde610578a2012-07-02 11:03:00 +0200815 select HAVE_CAN_FLEXCAN if CAN
Shawn Guo9fbbe682011-09-06 14:39:44 +0800816 select HAVE_IMX_GPC
817 select HAVE_IMX_MMDC
Shawn Guoaec99b72013-01-11 22:08:27 +0800818 select HAVE_IMX_SRC
Dave Martin3b556582011-12-07 15:38:04 +0000819 select HAVE_SMP
Dong Aishengbaa64152012-09-05 10:57:15 +0800820 select MFD_SYSCON
Dong Aisheng32329a22012-05-02 19:31:21 +0800821 select PINCTRL
822 select PINCTRL_IMX6Q
Shawn Guo96efb442012-10-23 19:44:34 +0800823 select PL310_ERRATA_588369 if CACHE_PL310
824 select PL310_ERRATA_727915 if CACHE_PL310
825 select PL310_ERRATA_769419 if CACHE_PL310
Shawn Guod90df972012-07-19 23:16:30 +0800826 select PM_OPP if PM
Shawn Guobac89d72011-10-02 15:09:11 +0800827
828 help
829 This enables support for Freescale i.MX6 Quad processor.
830
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100831endif
Shawn Guoe0557c02012-09-13 15:51:15 +0800832
833source "arch/arm/mach-imx/devices/Kconfig"
Shawn Guo3995eb82012-09-13 19:48:07 +0800834
Shawn Guoc5a0d492012-09-17 09:38:39 +0800835endmenu