blob: 546723b305b6afac37eddd999df207396b8bd2f3 [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
Fabio Estevamf36b5942013-07-26 00:17:35 -03004 select ARM_CPU_SUSPEND if PM
Shawn Guoc5a0d492012-09-17 09:38:39 +08005 select ARM_PATCH_PHYS_VIRT
6 select AUTO_ZRELADDR if !ZBOOT_ROM
7 select CLKDEV_LOOKUP
8 select CLKSRC_MMIO
Fabio Estevam60371952013-05-08 21:05:54 +08009 select GENERIC_ALLOCATOR
Shawn Guoc5a0d492012-09-17 09:38:39 +080010 select GENERIC_CLOCKEVENTS
11 select GENERIC_IRQ_CHIP
Fabio Estevamf0255692013-07-10 12:30:16 -030012 select MIGHT_HAVE_CACHE_L2X0 if ARCH_MULTI_V6_V7
Shawn Guoc5a0d492012-09-17 09:38:39 +080013 select MULTI_IRQ_HANDLER
14 select SPARSE_IRQ
15 select USE_OF
16 help
17 Support for Freescale MXC/iMX-based family of processors
18
19menu "Freescale i.MX support"
20 depends on ARCH_MXC
Shawn Guo3995eb82012-09-13 19:48:07 +080021
22config MXC_IRQ_PRIOR
23 bool "Use IRQ priority"
24 help
25 Select this if you want to use prioritized IRQ handling.
26 This feature prevents higher priority ISR to be interrupted
27 by lower priority IRQ even IRQF_DISABLED flag is not set.
28 This may be useful in embedded applications, where are strong
29 requirements for timing.
30 Say N here, unless you have a specialized requirement.
31
32config MXC_TZIC
33 bool
34
35config MXC_AVIC
36 bool
37
38config MXC_DEBUG_BOARD
39 bool "Enable MXC debug board(for 3-stack)"
40 help
41 The debug board is an integral part of the MXC 3-stack(PDK)
42 platforms, it can be attached or removed from the peripheral
43 board. On debug board, several debug devices(ethernet, UART,
44 buttons, LEDs and JTAG) are implemented. Between the MCU and
45 these devices, a CPLD is added as a bridge which performs
46 data/address de-multiplexing and decode, signal level shift,
47 interrupt control and various board functions.
48
49config HAVE_EPIT
50 bool
51
52config MXC_USE_EPIT
53 bool "Use EPIT instead of GPT"
54 depends on HAVE_EPIT
55 help
56 Use EPIT as the system timer on systems that have it. Normally you
57 don't have a reason to do so as the EPIT has the same features and
58 uses the same clocks as the GPT. Anyway, on some systems the GPT
59 may be in use for other purposes.
60
Shawn Guo3995eb82012-09-13 19:48:07 +080061config ARCH_HAS_RNGA
62 bool
63
Anson Huange95dddb2013-03-20 19:39:42 -040064config HAVE_IMX_ANATOP
65 bool
66
Shawn Guo9fbbe682011-09-06 14:39:44 +080067config HAVE_IMX_GPC
68 bool
69
70config HAVE_IMX_MMDC
71 bool
72
73config HAVE_IMX_SRC
Shawn Guo68b25322012-10-23 15:23:59 +080074 def_bool y if SMP
Philipp Zabel02985b92013-03-28 17:35:19 +010075 select ARCH_HAS_RESET_CONTROLLER
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
Sascha Hauerc7259df2010-11-05 09:37:22 +0100113 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100114
115config SOC_IMX27
116 bool
Markus Pargmann68663102013-03-27 14:01:31 +0100117 select ARCH_HAS_CPUFREQ
118 select ARCH_HAS_OPP
Sascha Hauere038ed52012-03-09 09:11:46 +0100119 select COMMON_CLK
Russell Kingb1b3f492012-10-06 17:12:25 +0100120 select CPU_ARM926T
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100121 select IMX_HAVE_IOMUX_V1
Russell Kingb1b3f492012-10-06 17:12:25 +0100122 select MACH_MX27
Sascha Hauerc7259df2010-11-05 09:37:22 +0100123 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100124
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100125config SOC_IMX31
126 bool
Russell Kingb1b3f492012-10-06 17:12:25 +0100127 select COMMON_CLK
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100128 select CPU_V6
129 select IMX_HAVE_PLATFORM_MXC_RNGA
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100130 select MXC_AVIC
Sascha Hauera89cf592011-09-27 13:48:02 +0800131 select SMP_ON_UP if SMP
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100132
133config SOC_IMX35
134 bool
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100135 select ARCH_MXC_IOMUX_V3
Sascha Hauer5b48a612012-04-03 12:41:13 +0200136 select COMMON_CLK
Russell Kingb1b3f492012-10-06 17:12:25 +0100137 select CPU_V6K
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
Markus Pargmann68663102013-03-27 14:01:31 +0100145 select ARCH_HAS_OPP
Russell Kingb1b3f492012-10-06 17:12:25 +0100146 select ARCH_MXC_IOMUX_V3
147 select COMMON_CLK
148 select CPU_V7
149 select MXC_TZIC
Sascha Hauer784a90c2011-11-07 12:36:48 +0100150
Sascha Hauer784a90c2011-11-07 12:36:48 +0100151config SOC_IMX51
152 bool
Philipp Zabelbd3d9242013-03-28 17:35:22 +0100153 select HAVE_IMX_SRC
Shawn Guob6798f82012-08-13 19:55:37 +0800154 select PINCTRL
155 select PINCTRL_IMX51
Russell Kingb1b3f492012-10-06 17:12:25 +0100156 select SOC_IMX5
Sascha Hauer784a90c2011-11-07 12:36:48 +0100157
Shawn Guoc5a0d492012-09-17 09:38:39 +0800158if ARCH_MULTI_V4T
Uwe Kleine-Könige780d232010-06-14 17:39:21 +0200159
Uwe Kleine-König07469492010-06-14 15:56:58 +0200160comment "MX1 platforms:"
161config MACH_MXLADS
162 bool
163
164config ARCH_MX1ADS
165 bool "MX1ADS platform"
Uwe Kleine-König6348e6b2010-06-16 15:26:07 +0200166 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd112f4e2010-06-22 14:50:59 +0200167 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100168 select MACH_MXLADS
169 select SOC_IMX1
Uwe Kleine-König07469492010-06-14 15:56:58 +0200170 help
171 Say Y here if you are using Motorola MX1ADS/MXLADS boards
172
173config MACH_SCB9328
174 bool "Synertronixx scb9328"
Uwe Kleine-Königd112f4e2010-06-22 14:50:59 +0200175 select IMX_HAVE_PLATFORM_IMX_UART
Arnd Bergmann123860e2013-06-03 15:46:53 +0200176 select SOC_IMX1
Uwe Kleine-König07469492010-06-14 15:56:58 +0200177 help
178 Say Y here if you are using a Synertronixx scb9328 board
179
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000180config MACH_APF9328
181 bool "APF9328"
Gwenhael Goavec-Merou7a994812011-10-08 17:19:49 +0200182 select IMX_HAVE_PLATFORM_IMX_I2C
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000183 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100184 select SOC_IMX1
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000185 help
186 Say Yes here if you are using the Armadeus APF9328 development board
187
Shawn Guoc5a0d492012-09-17 09:38:39 +0800188endif
189
190if ARCH_MULTI_V5
191
Uwe Kleine-Königb6b06be2010-06-14 16:56:46 +0200192comment "MX21 platforms:"
Juergen Beisert80eedae2008-07-05 10:03:00 +0200193
Ivo Clarysse6b91edd2009-04-15 15:39:27 +0200194config MACH_MX21ADS
195 bool "MX21ADS platform"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100196 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König3c5227f2010-06-22 17:59:58 +0200197 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100198 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König1f8d7212010-06-16 11:17:45 +0200199 select IMX_HAVE_PLATFORM_MXC_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100200 select SOC_IMX21
Ivo Clarysse6b91edd2009-04-15 15:39:27 +0200201 help
202 Include support for MX21ADS platform. This includes specific
203 configurations for the board and its peripherals.
204
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100205comment "MX25 platforms:"
206
207config MACH_MX25_3DS
208 bool "Support MX25PDK (3DS) Platform"
Fabio Estevam91dcc7f2011-07-08 14:59:50 -0300209 select IMX_HAVE_PLATFORM_FLEXCAN
Fabio Estevam460d30a2010-12-22 12:25:32 -0200210 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100211 select IMX_HAVE_PLATFORM_IMX2_WDT
212 select IMX_HAVE_PLATFORM_IMXDI_RTC
213 select IMX_HAVE_PLATFORM_IMX_FB
Russell Kingb1b3f492012-10-06 17:12:25 +0100214 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100215 select IMX_HAVE_PLATFORM_IMX_KEYPAD
216 select IMX_HAVE_PLATFORM_IMX_UART
217 select IMX_HAVE_PLATFORM_MXC_EHCI
218 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100219 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100220 select SOC_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100221
Eric Bénard01dd5202011-12-13 07:31:35 +0100222config MACH_EUKREA_CPUIMX25SD
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100223 bool "Support Eukrea CPUIMX25 Platform"
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100224 select IMX_HAVE_PLATFORM_FLEXCAN
225 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Eric Bénard4692cba2012-05-08 09:20:18 +0200226 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100227 select IMX_HAVE_PLATFORM_IMXDI_RTC
228 select IMX_HAVE_PLATFORM_IMX_FB
229 select IMX_HAVE_PLATFORM_IMX_I2C
230 select IMX_HAVE_PLATFORM_IMX_UART
231 select IMX_HAVE_PLATFORM_MXC_EHCI
232 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100233 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200234 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100235 select SOC_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100236
237choice
238 prompt "Baseboard"
Eric Bénard01dd5202011-12-13 07:31:35 +0100239 depends on MACH_EUKREA_CPUIMX25SD
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100240 default MACH_EUKREA_MBIMXSD25_BASEBOARD
241
242config MACH_EUKREA_MBIMXSD25_BASEBOARD
243 bool "Eukrea MBIMXSD development board"
Uwe Kleine-König53094982011-02-28 18:04:33 +0100244 select IMX_HAVE_PLATFORM_GPIO_KEYS
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100245 select IMX_HAVE_PLATFORM_IMX_SSI
Eric Bénard49ed9402012-05-08 09:20:17 +0200246 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200247 select LEDS_GPIO_REGISTER
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100248 help
249 This adds board specific devices that can be found on Eukrea's
250 MBIMXSD evaluation board.
251
252endchoice
253
Sascha Haueref4bac52012-09-20 14:59:36 +0200254config MACH_IMX25_DT
255 bool "Support i.MX25 platforms from device tree"
256 select SOC_IMX25
257 help
258 Include support for Freescale i.MX25 based platforms
259 using the device tree for discovery
260
Uwe Kleine-Königb6b06be2010-06-14 16:56:46 +0200261comment "MX27 platforms:"
262
Juergen Beisert80eedae2008-07-05 10:03:00 +0200263config MACH_MX27ADS
264 bool "MX27ADS platform"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100265 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200266 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200267 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100268 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200269 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200270 select IMX_HAVE_PLATFORM_MXC_W1
Russell Kingb1b3f492012-10-06 17:12:25 +0100271 select SOC_IMX27
Juergen Beisert80eedae2008-07-05 10:03:00 +0200272 help
273 Include support for MX27ADS platform. This includes specific
274 configurations for the board and its peripherals.
Juergen Beisert7e5e9f52008-07-05 10:03:00 +0200275
276config MACH_PCM038
277 bool "Phytec phyCORE-i.MX27 CPU module (pcm038)"
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100278 select IMX_HAVE_PLATFORM_IMX2_WDT
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önig2eb42d52010-11-05 18:52:09 +0100281 select IMX_HAVE_PLATFORM_MXC_EHCI
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
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200284 select IMX_HAVE_PLATFORM_SPI_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200285 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100286 select SOC_IMX27
Juergen Beisert7e5e9f52008-07-05 10:03:00 +0200287 help
288 Include support for phyCORE-i.MX27 (aka pcm038) platform. This
289 includes specific configurations for the module and its peripherals.
Juergen Beisertff6552e2008-07-05 10:03:01 +0200290
291choice
292 prompt "Baseboard"
293 depends on MACH_PCM038
294 default MACH_PCM970_BASEBOARD
295
296config MACH_PCM970_BASEBOARD
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100297 bool "PHYTEC PCM970 development board"
298 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100299 select IMX_HAVE_PLATFORM_MXC_MMC
Juergen Beisertff6552e2008-07-05 10:03:01 +0200300 help
301 This adds board specific devices that can be found on Phytec's
302 PCM970 evaluation board.
303
304endchoice
Holger Schurig6bbdbf22009-01-29 14:42:25 +0100305
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100306config MACH_CPUIMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200307 bool "Eukrea CPUIMX27 module"
Uwe Kleine-Königbd455ed2010-11-09 17:52:14 +0100308 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100309 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200310 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200311 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100312 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200313 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200314 select IMX_HAVE_PLATFORM_MXC_W1
Markus Pargmann794987a2013-06-06 14:41:57 +0200315 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100316 select SOC_IMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200317 help
318 Include support for Eukrea CPUIMX27 platform. This includes
319 specific configurations for the module and its peripherals.
320
321config MACH_EUKREA_CPUIMX27_USESDHC2
322 bool "CPUIMX27 integrates SDHC2 module"
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100323 depends on MACH_CPUIMX27
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100324 select IMX_HAVE_PLATFORM_MXC_MMC
Eric Benardaf5b1df2009-07-16 16:26:33 +0200325 help
Eric Bénard2d66c782010-05-19 18:45:59 +0200326 This adds support for the internal SDHC2 used on CPUIMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200327 for wifi or eMMC.
328
Eric Bénard2d66c782010-05-19 18:45:59 +0200329config MACH_EUKREA_CPUIMX27_USEUART4
330 bool "CPUIMX27 integrates UART4 module"
331 depends on MACH_CPUIMX27
332 help
333 This adds support for the internal UART4 used on CPUIMX27
334 for bluetooth.
335
Eric Benarda961bf32009-07-16 16:26:34 +0200336choice
337 prompt "Baseboard"
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100338 depends on MACH_CPUIMX27
Eric Benarda961bf32009-07-16 16:26:34 +0200339 default MACH_EUKREA_MBIMX27_BASEBOARD
340
341config MACH_EUKREA_MBIMX27_BASEBOARD
Uwe Kleine-König4697bb92010-08-25 17:37:45 +0200342 bool "Eukrea MBIMX27 development board"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100343 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König3f880142010-11-10 09:58:56 +0100344 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Uwe Kleine-König4697bb92010-08-25 17:37:45 +0200345 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200346 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100347 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200348 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200349 select LEDS_GPIO_REGISTER
Eric Benarda961bf32009-07-16 16:26:34 +0200350 help
351 This adds board specific devices that can be found on Eukrea's
352 MBIMX27 evaluation board.
353
354endchoice
355
Fabio Estevamec9be0d2009-04-16 12:45:01 -0700356config MACH_MX27_3DS
357 bool "MX27PDK platform"
Fabio Estevam96cf4232010-12-22 12:25:31 -0200358 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Fabio Estevam8be92522010-12-07 17:14:45 -0200359 select IMX_HAVE_PLATFORM_IMX2_WDT
Fabio Estevam1abcb4c2011-06-22 09:25:25 -0300360 select IMX_HAVE_PLATFORM_IMX_FB
Fabio Estevam5885f032011-03-01 16:59:46 -0300361 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König3f880142010-11-10 09:58:56 +0100362 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Fabio Estevam688b5cb2012-07-03 15:44:57 -0300363 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200364 select IMX_HAVE_PLATFORM_IMX_UART
Fabio Estevam4c11c282012-02-15 19:36:10 -0200365 select IMX_HAVE_PLATFORM_MX2_CAMERA
Fabio Estevam96cf4232010-12-22 12:25:31 -0200366 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100367 select IMX_HAVE_PLATFORM_MXC_MMC
Fabio Estevamc67a3e02011-01-03 11:16:39 -0200368 select IMX_HAVE_PLATFORM_SPI_IMX
Fabio Estevam92cb33f2011-01-10 18:17:37 -0200369 select MXC_DEBUG_BOARD
Markus Pargmann794987a2013-06-06 14:41:57 +0200370 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100371 select SOC_IMX27
Fabio Estevamec9be0d2009-04-16 12:45:01 -0700372 help
373 Include support for MX27PDK platform. This includes specific
374 configurations for the board and its peripherals.
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400375
Javier Martin3b161e52010-07-30 10:06:01 +0200376config MACH_IMX27_VISSTRIM_M10
377 bool "Vista Silicon i.MX27 Visstrim_m10"
Uwe Kleine-König53094982011-02-28 18:04:33 +0100378 select IMX_HAVE_PLATFORM_GPIO_KEYS
Javier Martin3b161e52010-07-30 10:06:01 +0200379 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König5658bff2011-03-18 12:24:08 +0100380 select IMX_HAVE_PLATFORM_IMX_SSI
Javier Martin3b161e52010-07-30 10:06:01 +0200381 select IMX_HAVE_PLATFORM_IMX_UART
Javier Martinf52f5a52012-02-28 17:31:51 +0100382 select IMX_HAVE_PLATFORM_MX2_CAMERA
Gaëtan Carlier3ab3a352012-09-05 13:06:15 +0200383 select IMX_HAVE_PLATFORM_MX2_EMMA
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100384 select IMX_HAVE_PLATFORM_MXC_EHCI
Javier Martin32189132012-02-28 17:31:48 +0100385 select IMX_HAVE_PLATFORM_MXC_MMC
Javier Martinacb64642012-02-29 13:17:33 +0100386 select LEDS_GPIO_REGISTER
Russell Kingb1b3f492012-10-06 17:12:25 +0100387 select SOC_IMX27
Javier Martin3b161e52010-07-30 10:06:01 +0200388 help
389 Include support for Visstrim_m10 platform and its different variants.
390 This includes specific configurations for the board and its
391 peripherals.
392
Uwe Kleine-Königf747f932009-12-10 10:25:07 +0100393config MACH_IMX27LITE
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400394 bool "LogicPD MX27 LITEKIT platform"
Javier Martina5e20512011-03-01 15:02:08 +0100395 select IMX_HAVE_PLATFORM_IMX_SSI
Russell Kingb1b3f492012-10-06 17:12:25 +0100396 select IMX_HAVE_PLATFORM_IMX_UART
397 select SOC_IMX27
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400398 help
399 Include support for MX27 LITEKIT platform. This includes specific
400 configurations for the board and its peripherals.
401
Luotao Fu33731692009-08-06 11:19:39 +0200402config MACH_PCA100
403 bool "Phytec phyCARD-s (pca100)"
Uwe Kleine-Königbd455ed2010-11-09 17:52:14 +0100404 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100405 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100406 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200407 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König4697bb92010-08-25 17:37:45 +0200408 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200409 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100410 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100411 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200412 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200413 select IMX_HAVE_PLATFORM_MXC_W1
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200414 select IMX_HAVE_PLATFORM_SPI_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200415 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100416 select SOC_IMX27
Luotao Fu33731692009-08-06 11:19:39 +0200417 help
418 Include support for phyCARD-s (aka pca100) platform. This
419 includes specific configurations for the module and its peripherals.
420
Alan Carvalho de Assis143a1792009-11-25 15:24:50 -0200421config MACH_MXT_TD60
422 bool "Maxtrack i-MXT TD60"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100423 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200424 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200425 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100426 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200427 select IMX_HAVE_PLATFORM_MXC_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100428 select SOC_IMX27
Alan Carvalho de Assis143a1792009-11-25 15:24:50 -0200429 help
430 Include support for i-MXT (aka td60) platform. This
431 includes specific configurations for the module and its peripherals.
432
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200433config MACH_IMX27IPCAM
434 bool "IMX27 IPCAM platform"
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200435 select IMX_HAVE_PLATFORM_IMX2_WDT
436 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100437 select SOC_IMX27
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200438 help
439 Include support for IMX27 IPCAM platform. This includes specific
440 configurations for the board and its peripherals.
441
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100442config MACH_IMX27_DT
443 bool "Support i.MX27 platforms from device tree"
444 select SOC_IMX27
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100445 help
446 Include support for Freescale i.MX27 based platforms
447 using the device tree for discovery
448
Holger Schurig6bbdbf22009-01-29 14:42:25 +0100449endif
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100450
Shawn Guoc5a0d492012-09-17 09:38:39 +0800451if ARCH_MULTI_V6
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100452
453comment "MX31 platforms:"
454
455config MACH_MX31ADS
456 bool "Support MX31ADS platforms"
Russell Kingb1b3f492012-10-06 17:12:25 +0100457 default y
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100458 select IMX_HAVE_PLATFORM_IMX_I2C
459 select IMX_HAVE_PLATFORM_IMX_SSI
460 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100461 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100462 help
463 Include support for MX31ADS platform. This includes specific
464 configurations for the board and its peripherals.
465
466config MACH_MX31ADS_WM1133_EV1
467 bool "Support Wolfson Microelectronics 1133-EV1 module"
468 depends on MACH_MX31ADS
469 depends on MFD_WM8350_I2C
Arnd Bergmann69eb3832013-02-14 17:45:58 +0100470 depends on REGULATOR_WM8350 = y
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100471 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
Markus Pargmann794987a2013-06-06 14:41:57 +0200482 select USB_ULPI_VIEWPORT 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
Markus Pargmann794987a2013-06-06 14:41:57 +0200498 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100499 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
Markus Pargmann794987a2013-06-06 14:41:57 +0200515 select USB_ULPI_VIEWPORT 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
Markus Pargmann794987a2013-06-06 14:41:57 +0200545 select USB_ULPI_VIEWPORT 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
Markus Pargmann794987a2013-06-06 14:41:57 +0200572 select USB_ULPI_VIEWPORT 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
Markus Pargmann794987a2013-06-06 14:41:57 +0200596 select USB_ULPI_VIEWPORT 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
Markus Pargmann794987a2013-06-06 14:41:57 +0200640 select USB_ULPI_VIEWPORT 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
Markus Pargmann794987a2013-06-06 14:41:57 +0200674 select USB_ULPI_VIEWPORT 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"
Philipp Zabelbd3d9242013-03-28 17:35:22 +0100777 select HAVE_IMX_SRC
Roland Stigge48b797a2012-10-25 13:28:33 +0200778 select IMX_HAVE_PLATFORM_IMX2_WDT
Shawn Guo442279d2012-08-12 23:21:39 +0800779 select PINCTRL
780 select PINCTRL_IMX53
Russell Kingb1b3f492012-10-06 17:12:25 +0100781 select SOC_IMX5
Shawn Guo442279d2012-08-12 23:21:39 +0800782
Sascha Hauer784a90c2011-11-07 12:36:48 +0100783 help
Shawn Guo442279d2012-08-12 23:21:39 +0800784 This enables support for Freescale i.MX53 processor.
Shawn Guobac89d72011-10-02 15:09:11 +0800785
786config SOC_IMX6Q
Shawn Guo3c03a2f2013-04-01 22:13:32 +0800787 bool "i.MX6 Quad/DualLite support"
Shawn Guod90df972012-07-19 23:16:30 +0800788 select ARCH_HAS_CPUFREQ
789 select ARCH_HAS_OPP
Shawn Guo96efb442012-10-23 19:44:34 +0800790 select ARM_ERRATA_754322
791 select ARM_ERRATA_764369 if SMP
792 select ARM_ERRATA_775420
Shawn Guobac89d72011-10-02 15:09:11 +0800793 select ARM_GIC
Shawn Guo2acd1b62012-04-04 20:53:22 +0800794 select COMMON_CLK
Shawn Guobac89d72011-10-02 15:09:11 +0800795 select CPU_V7
Stephen Boyd4c3ffff2013-02-27 15:28:14 -0800796 select HAVE_ARM_SCU if SMP
797 select HAVE_ARM_TWD if LOCAL_TIMERS
Anson Huange95dddb2013-03-20 19:39:42 -0400798 select HAVE_IMX_ANATOP
Shawn Guo9fbbe682011-09-06 14:39:44 +0800799 select HAVE_IMX_GPC
800 select HAVE_IMX_MMDC
Shawn Guoaec99b72013-01-11 22:08:27 +0800801 select HAVE_IMX_SRC
Dave Martin3b556582011-12-07 15:38:04 +0000802 select HAVE_SMP
Dong Aishengbaa64152012-09-05 10:57:15 +0800803 select MFD_SYSCON
Dong Aisheng32329a22012-05-02 19:31:21 +0800804 select PINCTRL
805 select PINCTRL_IMX6Q
Shawn Guo96efb442012-10-23 19:44:34 +0800806 select PL310_ERRATA_588369 if CACHE_PL310
807 select PL310_ERRATA_727915 if CACHE_PL310
808 select PL310_ERRATA_769419 if CACHE_PL310
Shawn Guod90df972012-07-19 23:16:30 +0800809 select PM_OPP if PM
Shawn Guobac89d72011-10-02 15:09:11 +0800810
811 help
812 This enables support for Freescale i.MX6 Quad processor.
813
Shawn Guo31a2fbf2013-05-03 11:24:47 +0800814config SOC_IMX6SL
815 bool "i.MX6 SoloLite support"
816 select ARM_ERRATA_754322
817 select ARM_ERRATA_775420
818 select ARM_GIC
819 select CPU_V7
820 select HAVE_IMX_ANATOP
821 select HAVE_IMX_GPC
822 select HAVE_IMX_MMDC
823 select HAVE_IMX_SRC
Arnd Bergmann06264942013-06-03 15:46:53 +0200824 select MFD_SYSCON
Shawn Guo31a2fbf2013-05-03 11:24:47 +0800825 select PINCTRL
826 select PINCTRL_IMX6SL
827 select PL310_ERRATA_588369 if CACHE_PL310
828 select PL310_ERRATA_727915 if CACHE_PL310
829 select PL310_ERRATA_769419 if CACHE_PL310
830
831 help
832 This enables support for Freescale i.MX6 SoloLite processor.
833
Jingchang Lu5be913c2013-05-28 17:12:21 +0800834config SOC_VF610
835 bool "Vybrid Family VF610 support"
836 select CPU_V7
837 select ARM_GIC
838 select CLKSRC_OF
839 select PINCTRL
840 select PINCTRL_VF610
841 select VF_PIT_TIMER
842 select PL310_ERRATA_588369 if CACHE_PL310
843 select PL310_ERRATA_727915 if CACHE_PL310
844 select PL310_ERRATA_769419 if CACHE_PL310
845
846 help
847 This enable support for Freescale Vybrid VF610 processor.
848
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100849endif
Shawn Guoe0557c02012-09-13 15:51:15 +0800850
851source "arch/arm/mach-imx/devices/Kconfig"
Shawn Guo3995eb82012-09-13 19:48:07 +0800852
Shawn Guoc5a0d492012-09-17 09:38:39 +0800853endmenu