blob: f25cf888f3d4954bdc944e4df77bd70f715a5374 [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
Fabio Estevam60371952013-05-08 21:05:54 +08008 select GENERIC_ALLOCATOR
Shawn Guoc5a0d492012-09-17 09:38:39 +08009 select GENERIC_CLOCKEVENTS
10 select GENERIC_IRQ_CHIP
11 select MULTI_IRQ_HANDLER
12 select SPARSE_IRQ
13 select USE_OF
14 help
15 Support for Freescale MXC/iMX-based family of processors
16
17menu "Freescale i.MX support"
18 depends on ARCH_MXC
Shawn Guo3995eb82012-09-13 19:48:07 +080019
20config MXC_IRQ_PRIOR
21 bool "Use IRQ priority"
22 help
23 Select this if you want to use prioritized IRQ handling.
24 This feature prevents higher priority ISR to be interrupted
25 by lower priority IRQ even IRQF_DISABLED flag is not set.
26 This may be useful in embedded applications, where are strong
27 requirements for timing.
28 Say N here, unless you have a specialized requirement.
29
30config MXC_TZIC
31 bool
32
33config MXC_AVIC
34 bool
35
36config MXC_DEBUG_BOARD
37 bool "Enable MXC debug board(for 3-stack)"
38 help
39 The debug board is an integral part of the MXC 3-stack(PDK)
40 platforms, it can be attached or removed from the peripheral
41 board. On debug board, several debug devices(ethernet, UART,
42 buttons, LEDs and JTAG) are implemented. Between the MCU and
43 these devices, a CPLD is added as a bridge which performs
44 data/address de-multiplexing and decode, signal level shift,
45 interrupt control and various board functions.
46
47config HAVE_EPIT
48 bool
49
50config MXC_USE_EPIT
51 bool "Use EPIT instead of GPT"
52 depends on HAVE_EPIT
53 help
54 Use EPIT as the system timer on systems that have it. Normally you
55 don't have a reason to do so as the EPIT has the same features and
56 uses the same clocks as the GPT. Anyway, on some systems the GPT
57 may be in use for other purposes.
58
Shawn Guo3995eb82012-09-13 19:48:07 +080059config ARCH_HAS_RNGA
60 bool
61
Anson Huange95dddb2013-03-20 19:39:42 -040062config HAVE_IMX_ANATOP
63 bool
64
Shawn Guo9fbbe682011-09-06 14:39:44 +080065config HAVE_IMX_GPC
66 bool
67
68config HAVE_IMX_MMDC
69 bool
70
71config HAVE_IMX_SRC
Shawn Guo68b25322012-10-23 15:23:59 +080072 def_bool y if SMP
Philipp Zabel02985b92013-03-28 17:35:19 +010073 select ARCH_HAS_RESET_CONTROLLER
Shawn Guo9fbbe682011-09-06 14:39:44 +080074
Shawn Guo267dd342012-09-13 13:26:00 +080075config IMX_HAVE_IOMUX_V1
76 bool
77
78config ARCH_MXC_IOMUX_V3
79 bool
80
Sascha Hauerae4fa7f2011-08-23 09:39:35 +020081config ARCH_MX1
82 bool
83
Sascha Hauerae4fa7f2011-08-23 09:39:35 +020084config ARCH_MX25
85 bool
86
87config MACH_MX27
88 bool
89
Uwe Kleine-Könige780d232010-06-14 17:39:21 +020090config SOC_IMX1
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010091 bool
Sascha Hauerae4fa7f2011-08-23 09:39:35 +020092 select ARCH_MX1
Sascha Hauercd737852012-03-09 09:11:32 +010093 select COMMON_CLK
Uwe Kleine-Könige780d232010-06-14 17:39:21 +020094 select CPU_ARM920T
95 select IMX_HAVE_IOMUX_V1
Sascha Hauerc7259df2010-11-05 09:37:22 +010096 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010097
98config SOC_IMX21
Uwe Kleine-Könige780d232010-06-14 17:39:21 +020099 bool
Sascha Hauer93421e42012-03-09 09:11:39 +0100100 select COMMON_CLK
Russell Kingb1b3f492012-10-06 17:12:25 +0100101 select CPU_ARM926T
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100102 select IMX_HAVE_IOMUX_V1
Sascha Hauerc7259df2010-11-05 09:37:22 +0100103 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100104
105config SOC_IMX25
106 bool
Sascha Hauerae4fa7f2011-08-23 09:39:35 +0200107 select ARCH_MX25
Russell Kingb1b3f492012-10-06 17:12:25 +0100108 select ARCH_MXC_IOMUX_V3
Sascha Hauer6bbaec52012-03-08 22:24:12 +0100109 select COMMON_CLK
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100110 select CPU_ARM926T
Marc Kleine-Budde610578a2012-07-02 11:03:00 +0200111 select HAVE_CAN_FLEXCAN if CAN
Sascha Hauerc7259df2010-11-05 09:37:22 +0100112 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100113
114config SOC_IMX27
115 bool
Markus Pargmann68663102013-03-27 14:01:31 +0100116 select ARCH_HAS_CPUFREQ
117 select ARCH_HAS_OPP
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
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
Uwe Kleine-König07469492010-06-14 15:56:58 +0200176 help
177 Say Y here if you are using a Synertronixx scb9328 board
178
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000179config MACH_APF9328
180 bool "APF9328"
Gwenhael Goavec-Merou7a994812011-10-08 17:19:49 +0200181 select IMX_HAVE_PLATFORM_IMX_I2C
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000182 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100183 select SOC_IMX1
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000184 help
185 Say Yes here if you are using the Armadeus APF9328 development board
186
Shawn Guoc5a0d492012-09-17 09:38:39 +0800187endif
188
189if ARCH_MULTI_V5
190
Uwe Kleine-Königb6b06be2010-06-14 16:56:46 +0200191comment "MX21 platforms:"
Juergen Beisert80eedae2008-07-05 10:03:00 +0200192
Ivo Clarysse6b91edd2009-04-15 15:39:27 +0200193config MACH_MX21ADS
194 bool "MX21ADS platform"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100195 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König3c5227f2010-06-22 17:59:58 +0200196 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100197 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König1f8d7212010-06-16 11:17:45 +0200198 select IMX_HAVE_PLATFORM_MXC_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100199 select SOC_IMX21
Ivo Clarysse6b91edd2009-04-15 15:39:27 +0200200 help
201 Include support for MX21ADS platform. This includes specific
202 configurations for the board and its peripherals.
203
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100204comment "MX25 platforms:"
205
206config MACH_MX25_3DS
207 bool "Support MX25PDK (3DS) Platform"
Fabio Estevam91dcc7f2011-07-08 14:59:50 -0300208 select IMX_HAVE_PLATFORM_FLEXCAN
Fabio Estevam460d30a2010-12-22 12:25:32 -0200209 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100210 select IMX_HAVE_PLATFORM_IMX2_WDT
211 select IMX_HAVE_PLATFORM_IMXDI_RTC
212 select IMX_HAVE_PLATFORM_IMX_FB
Russell Kingb1b3f492012-10-06 17:12:25 +0100213 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100214 select IMX_HAVE_PLATFORM_IMX_KEYPAD
215 select IMX_HAVE_PLATFORM_IMX_UART
216 select IMX_HAVE_PLATFORM_MXC_EHCI
217 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100218 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100219 select SOC_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100220
Eric Bénard01dd5202011-12-13 07:31:35 +0100221config MACH_EUKREA_CPUIMX25SD
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100222 bool "Support Eukrea CPUIMX25 Platform"
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100223 select IMX_HAVE_PLATFORM_FLEXCAN
224 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Eric Bénard4692cba2012-05-08 09:20:18 +0200225 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100226 select IMX_HAVE_PLATFORM_IMXDI_RTC
227 select IMX_HAVE_PLATFORM_IMX_FB
228 select IMX_HAVE_PLATFORM_IMX_I2C
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
Markus Pargmann794987a2013-06-06 14:41:57 +0200233 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100234 select SOC_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100235
236choice
237 prompt "Baseboard"
Eric Bénard01dd5202011-12-13 07:31:35 +0100238 depends on MACH_EUKREA_CPUIMX25SD
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100239 default MACH_EUKREA_MBIMXSD25_BASEBOARD
240
241config MACH_EUKREA_MBIMXSD25_BASEBOARD
242 bool "Eukrea MBIMXSD development board"
Uwe Kleine-König53094982011-02-28 18:04:33 +0100243 select IMX_HAVE_PLATFORM_GPIO_KEYS
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100244 select IMX_HAVE_PLATFORM_IMX_SSI
Eric Bénard49ed9402012-05-08 09:20:17 +0200245 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200246 select LEDS_GPIO_REGISTER
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100247 help
248 This adds board specific devices that can be found on Eukrea's
249 MBIMXSD evaluation board.
250
251endchoice
252
Sascha Haueref4bac52012-09-20 14:59:36 +0200253config MACH_IMX25_DT
254 bool "Support i.MX25 platforms from device tree"
255 select SOC_IMX25
256 help
257 Include support for Freescale i.MX25 based platforms
258 using the device tree for discovery
259
Uwe Kleine-Königb6b06be2010-06-14 16:56:46 +0200260comment "MX27 platforms:"
261
Juergen Beisert80eedae2008-07-05 10:03:00 +0200262config MACH_MX27ADS
263 bool "MX27ADS platform"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100264 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200265 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200266 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100267 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200268 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200269 select IMX_HAVE_PLATFORM_MXC_W1
Russell Kingb1b3f492012-10-06 17:12:25 +0100270 select SOC_IMX27
Juergen Beisert80eedae2008-07-05 10:03:00 +0200271 help
272 Include support for MX27ADS platform. This includes specific
273 configurations for the board and its peripherals.
Juergen Beisert7e5e9f52008-07-05 10:03:00 +0200274
275config MACH_PCM038
276 bool "Phytec phyCORE-i.MX27 CPU module (pcm038)"
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100277 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200278 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200279 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100280 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200281 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200282 select IMX_HAVE_PLATFORM_MXC_W1
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200283 select IMX_HAVE_PLATFORM_SPI_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200284 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100285 select SOC_IMX27
Juergen Beisert7e5e9f52008-07-05 10:03:00 +0200286 help
287 Include support for phyCORE-i.MX27 (aka pcm038) platform. This
288 includes specific configurations for the module and its peripherals.
Juergen Beisertff6552e2008-07-05 10:03:01 +0200289
290choice
291 prompt "Baseboard"
292 depends on MACH_PCM038
293 default MACH_PCM970_BASEBOARD
294
295config MACH_PCM970_BASEBOARD
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100296 bool "PHYTEC PCM970 development board"
297 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100298 select IMX_HAVE_PLATFORM_MXC_MMC
Juergen Beisertff6552e2008-07-05 10:03:01 +0200299 help
300 This adds board specific devices that can be found on Phytec's
301 PCM970 evaluation board.
302
303endchoice
Holger Schurig6bbdbf22009-01-29 14:42:25 +0100304
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100305config MACH_CPUIMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200306 bool "Eukrea CPUIMX27 module"
Uwe Kleine-Königbd455ed2010-11-09 17:52:14 +0100307 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100308 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200309 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200310 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100311 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200312 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200313 select IMX_HAVE_PLATFORM_MXC_W1
Markus Pargmann794987a2013-06-06 14:41:57 +0200314 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100315 select SOC_IMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200316 help
317 Include support for Eukrea CPUIMX27 platform. This includes
318 specific configurations for the module and its peripherals.
319
320config MACH_EUKREA_CPUIMX27_USESDHC2
321 bool "CPUIMX27 integrates SDHC2 module"
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100322 depends on MACH_CPUIMX27
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100323 select IMX_HAVE_PLATFORM_MXC_MMC
Eric Benardaf5b1df2009-07-16 16:26:33 +0200324 help
Eric Bénard2d66c782010-05-19 18:45:59 +0200325 This adds support for the internal SDHC2 used on CPUIMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200326 for wifi or eMMC.
327
Eric Bénard2d66c782010-05-19 18:45:59 +0200328config MACH_EUKREA_CPUIMX27_USEUART4
329 bool "CPUIMX27 integrates UART4 module"
330 depends on MACH_CPUIMX27
331 help
332 This adds support for the internal UART4 used on CPUIMX27
333 for bluetooth.
334
Eric Benarda961bf32009-07-16 16:26:34 +0200335choice
336 prompt "Baseboard"
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100337 depends on MACH_CPUIMX27
Eric Benarda961bf32009-07-16 16:26:34 +0200338 default MACH_EUKREA_MBIMX27_BASEBOARD
339
340config MACH_EUKREA_MBIMX27_BASEBOARD
Uwe Kleine-König4697bb922010-08-25 17:37:45 +0200341 bool "Eukrea MBIMX27 development board"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100342 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König3f880142010-11-10 09:58:56 +0100343 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Uwe Kleine-König4697bb922010-08-25 17:37:45 +0200344 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200345 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100346 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200347 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200348 select LEDS_GPIO_REGISTER
Eric Benarda961bf32009-07-16 16:26:34 +0200349 help
350 This adds board specific devices that can be found on Eukrea's
351 MBIMX27 evaluation board.
352
353endchoice
354
Fabio Estevamec9be0d2009-04-16 12:45:01 -0700355config MACH_MX27_3DS
356 bool "MX27PDK platform"
Fabio Estevam96cf4232010-12-22 12:25:31 -0200357 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Fabio Estevam8be92522010-12-07 17:14:45 -0200358 select IMX_HAVE_PLATFORM_IMX2_WDT
Fabio Estevam1abcb4c2011-06-22 09:25:25 -0300359 select IMX_HAVE_PLATFORM_IMX_FB
Fabio Estevam5885f032011-03-01 16:59:46 -0300360 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König3f880142010-11-10 09:58:56 +0100361 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Fabio Estevam688b5cb2012-07-03 15:44:57 -0300362 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200363 select IMX_HAVE_PLATFORM_IMX_UART
Fabio Estevam4c11c282012-02-15 19:36:10 -0200364 select IMX_HAVE_PLATFORM_MX2_CAMERA
Fabio Estevam96cf4232010-12-22 12:25:31 -0200365 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100366 select IMX_HAVE_PLATFORM_MXC_MMC
Fabio Estevamc67a3e02011-01-03 11:16:39 -0200367 select IMX_HAVE_PLATFORM_SPI_IMX
Fabio Estevam92cb33f2011-01-10 18:17:37 -0200368 select MXC_DEBUG_BOARD
Markus Pargmann794987a2013-06-06 14:41:57 +0200369 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100370 select SOC_IMX27
Fabio Estevamec9be0d2009-04-16 12:45:01 -0700371 help
372 Include support for MX27PDK platform. This includes specific
373 configurations for the board and its peripherals.
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400374
Javier Martin3b161e52010-07-30 10:06:01 +0200375config MACH_IMX27_VISSTRIM_M10
376 bool "Vista Silicon i.MX27 Visstrim_m10"
Uwe Kleine-König53094982011-02-28 18:04:33 +0100377 select IMX_HAVE_PLATFORM_GPIO_KEYS
Javier Martin3b161e52010-07-30 10:06:01 +0200378 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König5658bff2011-03-18 12:24:08 +0100379 select IMX_HAVE_PLATFORM_IMX_SSI
Javier Martin3b161e52010-07-30 10:06:01 +0200380 select IMX_HAVE_PLATFORM_IMX_UART
Javier Martinf52f5a52012-02-28 17:31:51 +0100381 select IMX_HAVE_PLATFORM_MX2_CAMERA
Gaëtan Carlier3ab3a352012-09-05 13:06:15 +0200382 select IMX_HAVE_PLATFORM_MX2_EMMA
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100383 select IMX_HAVE_PLATFORM_MXC_EHCI
Javier Martin32189132012-02-28 17:31:48 +0100384 select IMX_HAVE_PLATFORM_MXC_MMC
Javier Martinacb64642012-02-29 13:17:33 +0100385 select LEDS_GPIO_REGISTER
Russell Kingb1b3f492012-10-06 17:12:25 +0100386 select SOC_IMX27
Javier Martin3b161e52010-07-30 10:06:01 +0200387 help
388 Include support for Visstrim_m10 platform and its different variants.
389 This includes specific configurations for the board and its
390 peripherals.
391
Uwe Kleine-Königf747f932009-12-10 10:25:07 +0100392config MACH_IMX27LITE
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400393 bool "LogicPD MX27 LITEKIT platform"
Javier Martina5e20512011-03-01 15:02:08 +0100394 select IMX_HAVE_PLATFORM_IMX_SSI
Russell Kingb1b3f492012-10-06 17:12:25 +0100395 select IMX_HAVE_PLATFORM_IMX_UART
396 select SOC_IMX27
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400397 help
398 Include support for MX27 LITEKIT platform. This includes specific
399 configurations for the board and its peripherals.
400
Luotao Fu33731692009-08-06 11:19:39 +0200401config MACH_PCA100
402 bool "Phytec phyCARD-s (pca100)"
Uwe Kleine-Königbd455ed2010-11-09 17:52:14 +0100403 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100404 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100405 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200406 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König4697bb922010-08-25 17:37:45 +0200407 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200408 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100409 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100410 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200411 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200412 select IMX_HAVE_PLATFORM_MXC_W1
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200413 select IMX_HAVE_PLATFORM_SPI_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200414 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100415 select SOC_IMX27
Luotao Fu33731692009-08-06 11:19:39 +0200416 help
417 Include support for phyCARD-s (aka pca100) platform. This
418 includes specific configurations for the module and its peripherals.
419
Alan Carvalho de Assis143a1792009-11-25 15:24:50 -0200420config MACH_MXT_TD60
421 bool "Maxtrack i-MXT TD60"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100422 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200423 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200424 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100425 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200426 select IMX_HAVE_PLATFORM_MXC_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100427 select SOC_IMX27
Alan Carvalho de Assis143a1792009-11-25 15:24:50 -0200428 help
429 Include support for i-MXT (aka td60) platform. This
430 includes specific configurations for the module and its peripherals.
431
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200432config MACH_IMX27IPCAM
433 bool "IMX27 IPCAM platform"
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200434 select IMX_HAVE_PLATFORM_IMX2_WDT
435 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100436 select SOC_IMX27
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200437 help
438 Include support for IMX27 IPCAM platform. This includes specific
439 configurations for the board and its peripherals.
440
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100441config MACH_IMX27_DT
442 bool "Support i.MX27 platforms from device tree"
443 select SOC_IMX27
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100444 help
445 Include support for Freescale i.MX27 based platforms
446 using the device tree for discovery
447
Holger Schurig6bbdbf22009-01-29 14:42:25 +0100448endif
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100449
Shawn Guoc5a0d492012-09-17 09:38:39 +0800450if ARCH_MULTI_V6
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100451
452comment "MX31 platforms:"
453
454config MACH_MX31ADS
455 bool "Support MX31ADS platforms"
Russell Kingb1b3f492012-10-06 17:12:25 +0100456 default y
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100457 select IMX_HAVE_PLATFORM_IMX_I2C
458 select IMX_HAVE_PLATFORM_IMX_SSI
459 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100460 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100461 help
462 Include support for MX31ADS platform. This includes specific
463 configurations for the board and its peripherals.
464
465config MACH_MX31ADS_WM1133_EV1
466 bool "Support Wolfson Microelectronics 1133-EV1 module"
467 depends on MACH_MX31ADS
468 depends on MFD_WM8350_I2C
Arnd Bergmann69eb3832013-02-14 17:45:58 +0100469 depends on REGULATOR_WM8350 = y
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100470 help
471 Include support for the Wolfson Microelectronics 1133-EV1 PMU
472 and audio module for the MX31ADS platform.
473
474config MACH_MX31LILLY
475 bool "Support MX31 LILLY-1131 platforms (INCO startec)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100476 select IMX_HAVE_PLATFORM_IMX_UART
477 select IMX_HAVE_PLATFORM_IPU_CORE
478 select IMX_HAVE_PLATFORM_MXC_EHCI
479 select IMX_HAVE_PLATFORM_MXC_MMC
480 select IMX_HAVE_PLATFORM_SPI_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200481 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100482 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100483 help
484 Include support for mx31 based LILLY1131 modules. This includes
485 specific configurations for the board and its peripherals.
486
487config MACH_MX31LITE
488 bool "Support MX31 LITEKIT (LogicPD)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100489 select IMX_HAVE_PLATFORM_IMX2_WDT
490 select IMX_HAVE_PLATFORM_IMX_UART
491 select IMX_HAVE_PLATFORM_MXC_EHCI
492 select IMX_HAVE_PLATFORM_MXC_MMC
493 select IMX_HAVE_PLATFORM_MXC_NAND
494 select IMX_HAVE_PLATFORM_MXC_RTC
495 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200496 select LEDS_GPIO_REGISTER
Markus Pargmann794987a2013-06-06 14:41:57 +0200497 select USB_ULPI_VIEWPORT 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 LITEKIT platform. This includes specific
501 configurations for the board and its peripherals.
502
503config MACH_PCM037
504 bool "Support Phytec pcm037 (i.MX31) platforms"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100505 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
506 select IMX_HAVE_PLATFORM_IMX2_WDT
507 select IMX_HAVE_PLATFORM_IMX_I2C
508 select IMX_HAVE_PLATFORM_IMX_UART
509 select IMX_HAVE_PLATFORM_IPU_CORE
510 select IMX_HAVE_PLATFORM_MXC_EHCI
511 select IMX_HAVE_PLATFORM_MXC_MMC
512 select IMX_HAVE_PLATFORM_MXC_NAND
513 select IMX_HAVE_PLATFORM_MXC_W1
Markus Pargmann794987a2013-06-06 14:41:57 +0200514 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100515 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100516 help
517 Include support for Phytec pcm037 platform. This includes
518 specific configurations for the board and its peripherals.
519
520config MACH_PCM037_EET
521 bool "Support pcm037 EET board extensions"
522 depends on MACH_PCM037
523 select IMX_HAVE_PLATFORM_GPIO_KEYS
524 select IMX_HAVE_PLATFORM_SPI_IMX
525 help
526 Add support for PCM037 EET baseboard extensions. If you are using the
527 OLED display with EET, use "video=mx3fb:CMEL-OLED" kernel
528 command-line parameter.
529
530config MACH_MX31_3DS
531 bool "Support MX31PDK (3DS)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100532 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
533 select IMX_HAVE_PLATFORM_IMX2_WDT
534 select IMX_HAVE_PLATFORM_IMX_I2C
535 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Fabio Estevam3ef7cf12012-05-21 16:09:06 -0300536 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100537 select IMX_HAVE_PLATFORM_IMX_UART
538 select IMX_HAVE_PLATFORM_IPU_CORE
539 select IMX_HAVE_PLATFORM_MXC_EHCI
Fabio Estevamd093d5b2011-09-14 14:04:38 -0300540 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100541 select IMX_HAVE_PLATFORM_MXC_NAND
542 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100543 select MXC_DEBUG_BOARD
Markus Pargmann794987a2013-06-06 14:41:57 +0200544 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100545 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100546 help
547 Include support for MX31PDK (3DS) platform. This includes specific
548 configurations for the board and its peripherals.
549
550config MACH_MX31_3DS_MXC_NAND_USE_BBT
551 bool "Make the MXC NAND driver use the in flash Bad Block Table"
552 depends on MACH_MX31_3DS
553 depends on MTD_NAND_MXC
554 help
555 Enable this if you want that the MXC NAND driver uses the in flash
556 Bad Block Table to know what blocks are bad instead of scanning the
557 entire flash looking for bad block markers.
558
559config MACH_MX31MOBOARD
560 bool "Support mx31moboard platforms (EPFL Mobots group)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100561 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Philippe Rétornaz31776fb2012-01-20 18:58:23 +0100562 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100563 select IMX_HAVE_PLATFORM_IMX_I2C
Philippe Rétornaz2f7b9452012-05-15 13:53:52 +0200564 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100565 select IMX_HAVE_PLATFORM_IMX_UART
566 select IMX_HAVE_PLATFORM_IPU_CORE
567 select IMX_HAVE_PLATFORM_MXC_EHCI
568 select IMX_HAVE_PLATFORM_MXC_MMC
569 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200570 select LEDS_GPIO_REGISTER
Markus Pargmann794987a2013-06-06 14:41:57 +0200571 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100572 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100573 help
574 Include support for mx31moboard platform. This includes specific
575 configurations for the board and its peripherals.
576
577config MACH_QONG
578 bool "Support Dave/DENX QongEVB-LITE platform"
Fabio Estevambbb43362011-09-19 10:59:46 -0300579 select IMX_HAVE_PLATFORM_IMX2_WDT
Russell Kingb1b3f492012-10-06 17:12:25 +0100580 select IMX_HAVE_PLATFORM_IMX_UART
581 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100582 help
583 Include support for Dave/DENX QongEVB-LITE platform. This includes
584 specific configurations for the board and its peripherals.
585
586config MACH_ARMADILLO5X0
587 bool "Support Atmark Armadillo-500 Development Base Board"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100588 select IMX_HAVE_PLATFORM_GPIO_KEYS
589 select IMX_HAVE_PLATFORM_IMX_I2C
590 select IMX_HAVE_PLATFORM_IMX_UART
591 select IMX_HAVE_PLATFORM_IPU_CORE
592 select IMX_HAVE_PLATFORM_MXC_EHCI
593 select IMX_HAVE_PLATFORM_MXC_MMC
594 select IMX_HAVE_PLATFORM_MXC_NAND
Markus Pargmann794987a2013-06-06 14:41:57 +0200595 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100596 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100597 help
598 Include support for Atmark Armadillo-500 platform. This includes
599 specific configurations for the board and its peripherals.
600
601config MACH_KZM_ARM11_01
602 bool "Support KZM-ARM11-01(Kyoto Microcomputer)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100603 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100604 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100605 help
606 Include support for KZM-ARM11-01. This includes specific
607 configurations for the board and its peripherals.
608
609config MACH_BUG
610 bool "Support Buglabs BUGBase platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100611 default y
Russell Kingb1b3f492012-10-06 17:12:25 +0100612 select IMX_HAVE_PLATFORM_IMX_UART
613 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100614 help
615 Include support for BUGBase 1.3 platform. This includes specific
616 configurations for the board and its peripherals.
617
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200618config MACH_IMX31_DT
619 bool "Support i.MX31 platforms from device tree"
620 select SOC_IMX31
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200621 help
622 Include support for Freescale i.MX31 based platforms
623 using the device tree for discovery.
624
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100625comment "MX35 platforms:"
626
627config MACH_PCM043
628 bool "Support Phytec pcm043 (i.MX35) platforms"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100629 select IMX_HAVE_PLATFORM_FLEXCAN
630 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
631 select IMX_HAVE_PLATFORM_IMX2_WDT
632 select IMX_HAVE_PLATFORM_IMX_I2C
633 select IMX_HAVE_PLATFORM_IMX_SSI
634 select IMX_HAVE_PLATFORM_IMX_UART
635 select IMX_HAVE_PLATFORM_IPU_CORE
636 select IMX_HAVE_PLATFORM_MXC_EHCI
637 select IMX_HAVE_PLATFORM_MXC_NAND
638 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200639 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100640 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100641 help
642 Include support for Phytec pcm043 platform. This includes
643 specific configurations for the board and its peripherals.
644
645config MACH_MX35_3DS
646 bool "Support MX35PDK platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100647 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
648 select IMX_HAVE_PLATFORM_IMX2_WDT
Marc Kleine-Budde8e3e26a2012-04-24 17:48:18 +0200649 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100650 select IMX_HAVE_PLATFORM_IMX_I2C
651 select IMX_HAVE_PLATFORM_IMX_UART
Marc Kleine-Budde8e3e26a2012-04-24 17:48:18 +0200652 select IMX_HAVE_PLATFORM_IPU_CORE
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100653 select IMX_HAVE_PLATFORM_MXC_EHCI
654 select IMX_HAVE_PLATFORM_MXC_NAND
Benoît Thébaudeauc6fd6d12012-07-04 16:36:28 +0200655 select IMX_HAVE_PLATFORM_MXC_RTC
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100656 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100657 select MXC_DEBUG_BOARD
658 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100659 help
660 Include support for MX35PDK platform. This includes specific
661 configurations for the board and its peripherals.
662
Eric Bénarda69aa722011-12-13 07:31:43 +0100663config MACH_EUKREA_CPUIMX35SD
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100664 bool "Support Eukrea CPUIMX35 Platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100665 select IMX_HAVE_PLATFORM_FLEXCAN
666 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
667 select IMX_HAVE_PLATFORM_IMX2_WDT
668 select IMX_HAVE_PLATFORM_IMX_I2C
669 select IMX_HAVE_PLATFORM_IMX_UART
670 select IMX_HAVE_PLATFORM_MXC_EHCI
671 select IMX_HAVE_PLATFORM_MXC_NAND
672 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200673 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100674 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100675 help
676 Include support for Eukrea CPUIMX35 platform. This includes
677 specific configurations for the board and its peripherals.
678
679choice
680 prompt "Baseboard"
Eric Bénarda69aa722011-12-13 07:31:43 +0100681 depends on MACH_EUKREA_CPUIMX35SD
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100682 default MACH_EUKREA_MBIMXSD35_BASEBOARD
683
684config MACH_EUKREA_MBIMXSD35_BASEBOARD
685 bool "Eukrea MBIMXSD development board"
686 select IMX_HAVE_PLATFORM_GPIO_KEYS
687 select IMX_HAVE_PLATFORM_IMX_SSI
688 select IMX_HAVE_PLATFORM_IPU_CORE
Eric Bénard0e189852012-05-08 09:20:19 +0200689 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200690 select LEDS_GPIO_REGISTER
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100691 help
692 This adds board specific devices that can be found on Eukrea's
693 MBIMXSD evaluation board.
694
695endchoice
696
697config MACH_VPR200
698 bool "Support VPR200 platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100699 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
700 select IMX_HAVE_PLATFORM_GPIO_KEYS
701 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100702 select IMX_HAVE_PLATFORM_IMX_I2C
Russell Kingb1b3f492012-10-06 17:12:25 +0100703 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100704 select IMX_HAVE_PLATFORM_IPU_CORE
705 select IMX_HAVE_PLATFORM_MXC_EHCI
706 select IMX_HAVE_PLATFORM_MXC_NAND
707 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100708 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100709 help
710 Include support for VPR200 platform. This includes specific
711 configurations for the board and its peripherals.
712
Shawn Guoc5a0d492012-09-17 09:38:39 +0800713endif
714
715if ARCH_MULTI_V7
716
Sascha Hauer784a90c2011-11-07 12:36:48 +0100717comment "i.MX51 machines:"
718
719config MACH_IMX51_DT
720 bool "Support i.MX51 platforms from device tree"
Russell Kingb1b3f492012-10-06 17:12:25 +0100721 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100722 help
723 Include support for Freescale i.MX51 based platforms
724 using the device tree for discovery
725
726config MACH_MX51_BABBAGE
727 bool "Support MX51 BABBAGE platforms"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100728 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
729 select IMX_HAVE_PLATFORM_IMX2_WDT
730 select IMX_HAVE_PLATFORM_IMX_I2C
731 select IMX_HAVE_PLATFORM_IMX_UART
732 select IMX_HAVE_PLATFORM_MXC_EHCI
733 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
734 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100735 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100736 help
737 Include support for MX51 Babbage platform, also known as MX51EVK in
738 u-boot. This includes specific configurations for the board and its
739 peripherals.
740
Sascha Hauer784a90c2011-11-07 12:36:48 +0100741config MACH_EUKREA_CPUIMX51SD
742 bool "Support Eukrea CPUIMX51SD module"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100743 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Russell Kingb1b3f492012-10-06 17:12:25 +0100744 select IMX_HAVE_PLATFORM_IMX2_WDT
Sascha Hauer784a90c2011-11-07 12:36:48 +0100745 select IMX_HAVE_PLATFORM_IMX_I2C
746 select IMX_HAVE_PLATFORM_IMX_UART
747 select IMX_HAVE_PLATFORM_MXC_EHCI
748 select IMX_HAVE_PLATFORM_MXC_NAND
749 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100750 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100751 help
752 Include support for Eukrea CPUIMX51SD platform. This includes
753 specific configurations for the module and its peripherals.
754
755choice
756 prompt "Baseboard"
757 depends on MACH_EUKREA_CPUIMX51SD
758 default MACH_EUKREA_MBIMXSD51_BASEBOARD
759
760config MACH_EUKREA_MBIMXSD51_BASEBOARD
761 prompt "Eukrea MBIMXSD development board"
762 bool
Eric Bénard932d67d2012-05-08 09:20:22 +0200763 select IMX_HAVE_PLATFORM_IMX_SSI
Sascha Hauer784a90c2011-11-07 12:36:48 +0100764 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
765 select LEDS_GPIO_REGISTER
766 help
767 This adds board specific devices that can be found on Eukrea's
768 MBIMXSD evaluation board.
769
770endchoice
771
Shawn Guo442279d2012-08-12 23:21:39 +0800772comment "Device tree only"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100773
Shawn Guo442279d2012-08-12 23:21:39 +0800774config SOC_IMX53
775 bool "i.MX53 support"
Shawn Guo442279d2012-08-12 23:21:39 +0800776 select HAVE_CAN_FLEXCAN if CAN
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
Eric Miao46ec1b22011-12-21 22:38:23 +0800790 select ARM_CPU_SUSPEND if PM
Shawn Guo96efb442012-10-23 19:44:34 +0800791 select ARM_ERRATA_754322
792 select ARM_ERRATA_764369 if SMP
793 select ARM_ERRATA_775420
Shawn Guobac89d72011-10-02 15:09:11 +0800794 select ARM_GIC
Shawn Guo2acd1b62012-04-04 20:53:22 +0800795 select COMMON_CLK
Shawn Guobac89d72011-10-02 15:09:11 +0800796 select CPU_V7
Stephen Boyd4c3ffff2013-02-27 15:28:14 -0800797 select HAVE_ARM_SCU if SMP
798 select HAVE_ARM_TWD if LOCAL_TIMERS
Marc Kleine-Budde610578a2012-07-02 11:03:00 +0200799 select HAVE_CAN_FLEXCAN if CAN
Anson Huange95dddb2013-03-20 19:39:42 -0400800 select HAVE_IMX_ANATOP
Shawn Guo9fbbe682011-09-06 14:39:44 +0800801 select HAVE_IMX_GPC
802 select HAVE_IMX_MMDC
Shawn Guoaec99b72013-01-11 22:08:27 +0800803 select HAVE_IMX_SRC
Dave Martin3b556582011-12-07 15:38:04 +0000804 select HAVE_SMP
Dong Aishengbaa64152012-09-05 10:57:15 +0800805 select MFD_SYSCON
Dong Aisheng32329a22012-05-02 19:31:21 +0800806 select PINCTRL
807 select PINCTRL_IMX6Q
Shawn Guo96efb442012-10-23 19:44:34 +0800808 select PL310_ERRATA_588369 if CACHE_PL310
809 select PL310_ERRATA_727915 if CACHE_PL310
810 select PL310_ERRATA_769419 if CACHE_PL310
Shawn Guod90df972012-07-19 23:16:30 +0800811 select PM_OPP if PM
Shawn Guobac89d72011-10-02 15:09:11 +0800812
813 help
814 This enables support for Freescale i.MX6 Quad processor.
815
Shawn Guo31a2fbf2013-05-03 11:24:47 +0800816config SOC_IMX6SL
817 bool "i.MX6 SoloLite support"
818 select ARM_ERRATA_754322
819 select ARM_ERRATA_775420
820 select ARM_GIC
821 select CPU_V7
822 select HAVE_IMX_ANATOP
823 select HAVE_IMX_GPC
824 select HAVE_IMX_MMDC
825 select HAVE_IMX_SRC
826 select PINCTRL
827 select PINCTRL_IMX6SL
828 select PL310_ERRATA_588369 if CACHE_PL310
829 select PL310_ERRATA_727915 if CACHE_PL310
830 select PL310_ERRATA_769419 if CACHE_PL310
831
832 help
833 This enables support for Freescale i.MX6 SoloLite processor.
834
Jingchang Lu5be913c2013-05-28 17:12:21 +0800835config SOC_VF610
836 bool "Vybrid Family VF610 support"
837 select CPU_V7
838 select ARM_GIC
839 select CLKSRC_OF
840 select PINCTRL
841 select PINCTRL_VF610
842 select VF_PIT_TIMER
843 select PL310_ERRATA_588369 if CACHE_PL310
844 select PL310_ERRATA_727915 if CACHE_PL310
845 select PL310_ERRATA_769419 if CACHE_PL310
846
847 help
848 This enable support for Freescale Vybrid VF610 processor.
849
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100850endif
Shawn Guoe0557c02012-09-13 15:51:15 +0800851
852source "arch/arm/mach-imx/devices/Kconfig"
Shawn Guo3995eb82012-09-13 19:48:07 +0800853
Shawn Guoc5a0d492012-09-17 09:38:39 +0800854endmenu