blob: 270f78667dc60efeda197d270ae38358c0af2a5b [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
Shawn Guoa2887542013-08-13 16:59:28 +080014 select SOC_BUS
Shawn Guoc5a0d492012-09-17 09:38:39 +080015 select SPARSE_IRQ
16 select USE_OF
17 help
18 Support for Freescale MXC/iMX-based family of processors
19
20menu "Freescale i.MX support"
21 depends on ARCH_MXC
Shawn Guo3995eb82012-09-13 19:48:07 +080022
23config MXC_IRQ_PRIOR
24 bool "Use IRQ priority"
25 help
26 Select this if you want to use prioritized IRQ handling.
27 This feature prevents higher priority ISR to be interrupted
Michael Opdenacker4c1dd3e2013-09-04 07:04:39 +020028 by lower priority IRQ.
Shawn Guo3995eb82012-09-13 19:48:07 +080029 This may be useful in embedded applications, where are strong
30 requirements for timing.
31 Say N here, unless you have a specialized requirement.
32
33config MXC_TZIC
34 bool
35
36config MXC_AVIC
37 bool
38
39config MXC_DEBUG_BOARD
40 bool "Enable MXC debug board(for 3-stack)"
41 help
42 The debug board is an integral part of the MXC 3-stack(PDK)
43 platforms, it can be attached or removed from the peripheral
44 board. On debug board, several debug devices(ethernet, UART,
45 buttons, LEDs and JTAG) are implemented. Between the MCU and
46 these devices, a CPLD is added as a bridge which performs
47 data/address de-multiplexing and decode, signal level shift,
48 interrupt control and various board functions.
49
50config HAVE_EPIT
51 bool
52
53config MXC_USE_EPIT
54 bool "Use EPIT instead of GPT"
55 depends on HAVE_EPIT
56 help
57 Use EPIT as the system timer on systems that have it. Normally you
58 don't have a reason to do so as the EPIT has the same features and
59 uses the same clocks as the GPT. Anyway, on some systems the GPT
60 may be in use for other purposes.
61
Shawn Guo3995eb82012-09-13 19:48:07 +080062config ARCH_HAS_RNGA
63 bool
64
Anson Huange95dddb2013-03-20 19:39:42 -040065config HAVE_IMX_ANATOP
66 bool
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
Philipp Zabel02985b92013-03-28 17:35:19 +010076 select ARCH_HAS_RESET_CONTROLLER
Shawn Guo9fbbe682011-09-06 14:39:44 +080077
Shawn Guo267dd342012-09-13 13:26:00 +080078config IMX_HAVE_IOMUX_V1
79 bool
80
81config ARCH_MXC_IOMUX_V3
82 bool
83
Sascha Hauerae4fa7f2011-08-23 09:39:35 +020084config ARCH_MX1
85 bool
86
Sascha Hauerae4fa7f2011-08-23 09:39:35 +020087config ARCH_MX25
88 bool
89
90config MACH_MX27
91 bool
92
Uwe Kleine-Könige780d232010-06-14 17:39:21 +020093config SOC_IMX1
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010094 bool
Sascha Hauerae4fa7f2011-08-23 09:39:35 +020095 select ARCH_MX1
Sascha Hauercd737852012-03-09 09:11:32 +010096 select COMMON_CLK
Uwe Kleine-Könige780d232010-06-14 17:39:21 +020097 select CPU_ARM920T
98 select IMX_HAVE_IOMUX_V1
Sascha Hauerc7259df2010-11-05 09:37:22 +010099 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100100
101config SOC_IMX21
Uwe Kleine-Könige780d232010-06-14 17:39:21 +0200102 bool
Sascha Hauer93421e42012-03-09 09:11:39 +0100103 select COMMON_CLK
Russell Kingb1b3f492012-10-06 17:12:25 +0100104 select CPU_ARM926T
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100105 select IMX_HAVE_IOMUX_V1
Sascha Hauerc7259df2010-11-05 09:37:22 +0100106 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100107
108config SOC_IMX25
109 bool
Sascha Hauerae4fa7f2011-08-23 09:39:35 +0200110 select ARCH_MX25
Russell Kingb1b3f492012-10-06 17:12:25 +0100111 select ARCH_MXC_IOMUX_V3
Sascha Hauer6bbaec52012-03-08 22:24:12 +0100112 select COMMON_CLK
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100113 select CPU_ARM926T
Sascha Hauerc7259df2010-11-05 09:37:22 +0100114 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100115
116config SOC_IMX27
117 bool
Markus Pargmann68663102013-03-27 14:01:31 +0100118 select ARCH_HAS_CPUFREQ
119 select ARCH_HAS_OPP
Sascha Hauere038ed52012-03-09 09:11:46 +0100120 select COMMON_CLK
Russell Kingb1b3f492012-10-06 17:12:25 +0100121 select CPU_ARM926T
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100122 select IMX_HAVE_IOMUX_V1
Russell Kingb1b3f492012-10-06 17:12:25 +0100123 select MACH_MX27
Sascha Hauerc7259df2010-11-05 09:37:22 +0100124 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100125
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100126config SOC_IMX31
127 bool
Russell Kingb1b3f492012-10-06 17:12:25 +0100128 select COMMON_CLK
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100129 select CPU_V6
130 select IMX_HAVE_PLATFORM_MXC_RNGA
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100131 select MXC_AVIC
Sascha Hauera89cf592011-09-27 13:48:02 +0800132 select SMP_ON_UP if SMP
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100133
134config SOC_IMX35
135 bool
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100136 select ARCH_MXC_IOMUX_V3
Sascha Hauer5b48a612012-04-03 12:41:13 +0200137 select COMMON_CLK
Russell Kingb1b3f492012-10-06 17:12:25 +0100138 select CPU_V6K
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100139 select HAVE_EPIT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100140 select MXC_AVIC
Sascha Hauera89cf592011-09-27 13:48:02 +0800141 select SMP_ON_UP if SMP
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100142
Sascha Hauer784a90c2011-11-07 12:36:48 +0100143config SOC_IMX5
Russell Kingb1b3f492012-10-06 17:12:25 +0100144 bool
Sascha Hauer784a90c2011-11-07 12:36:48 +0100145 select ARCH_HAS_CPUFREQ
Markus Pargmann68663102013-03-27 14:01:31 +0100146 select ARCH_HAS_OPP
Russell Kingb1b3f492012-10-06 17:12:25 +0100147 select ARCH_MXC_IOMUX_V3
148 select COMMON_CLK
149 select CPU_V7
150 select MXC_TZIC
Sascha Hauer784a90c2011-11-07 12:36:48 +0100151
Sascha Hauer784a90c2011-11-07 12:36:48 +0100152config SOC_IMX51
153 bool
Philipp Zabelbd3d9242013-03-28 17:35:22 +0100154 select HAVE_IMX_SRC
Shawn Guob6798f82012-08-13 19:55:37 +0800155 select PINCTRL
156 select PINCTRL_IMX51
Russell Kingb1b3f492012-10-06 17:12:25 +0100157 select SOC_IMX5
Sascha Hauer784a90c2011-11-07 12:36:48 +0100158
Shawn Guoc5a0d492012-09-17 09:38:39 +0800159if ARCH_MULTI_V4T
Uwe Kleine-Könige780d232010-06-14 17:39:21 +0200160
Uwe Kleine-König07469492010-06-14 15:56:58 +0200161comment "MX1 platforms:"
162config MACH_MXLADS
163 bool
164
165config ARCH_MX1ADS
166 bool "MX1ADS platform"
Uwe Kleine-König6348e6b2010-06-16 15:26:07 +0200167 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd112f4e2010-06-22 14:50:59 +0200168 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100169 select MACH_MXLADS
170 select SOC_IMX1
Uwe Kleine-König07469492010-06-14 15:56:58 +0200171 help
172 Say Y here if you are using Motorola MX1ADS/MXLADS boards
173
174config MACH_SCB9328
175 bool "Synertronixx scb9328"
Uwe Kleine-Königd112f4e2010-06-22 14:50:59 +0200176 select IMX_HAVE_PLATFORM_IMX_UART
Arnd Bergmann123860e2013-06-03 15:46:53 +0200177 select SOC_IMX1
Uwe Kleine-König07469492010-06-14 15:56:58 +0200178 help
179 Say Y here if you are using a Synertronixx scb9328 board
180
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000181config MACH_APF9328
182 bool "APF9328"
Gwenhael Goavec-Merou7a994812011-10-08 17:19:49 +0200183 select IMX_HAVE_PLATFORM_IMX_I2C
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000184 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100185 select SOC_IMX1
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000186 help
187 Say Yes here if you are using the Armadeus APF9328 development board
188
Shawn Guoc5a0d492012-09-17 09:38:39 +0800189endif
190
191if ARCH_MULTI_V5
192
Uwe Kleine-Königb6b06be2010-06-14 16:56:46 +0200193comment "MX21 platforms:"
Juergen Beisert80eedae2008-07-05 10:03:00 +0200194
Ivo Clarysse6b91edd2009-04-15 15:39:27 +0200195config MACH_MX21ADS
196 bool "MX21ADS platform"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100197 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König3c5227f2010-06-22 17:59:58 +0200198 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100199 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König1f8d7212010-06-16 11:17:45 +0200200 select IMX_HAVE_PLATFORM_MXC_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100201 select SOC_IMX21
Ivo Clarysse6b91edd2009-04-15 15:39:27 +0200202 help
203 Include support for MX21ADS platform. This includes specific
204 configurations for the board and its peripherals.
205
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100206comment "MX25 platforms:"
207
208config MACH_MX25_3DS
209 bool "Support MX25PDK (3DS) Platform"
Fabio Estevam91dcc7f2011-07-08 14:59:50 -0300210 select IMX_HAVE_PLATFORM_FLEXCAN
Fabio Estevam460d30a2010-12-22 12:25:32 -0200211 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100212 select IMX_HAVE_PLATFORM_IMX2_WDT
213 select IMX_HAVE_PLATFORM_IMXDI_RTC
214 select IMX_HAVE_PLATFORM_IMX_FB
Russell Kingb1b3f492012-10-06 17:12:25 +0100215 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100216 select IMX_HAVE_PLATFORM_IMX_KEYPAD
217 select IMX_HAVE_PLATFORM_IMX_UART
218 select IMX_HAVE_PLATFORM_MXC_EHCI
219 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100220 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100221 select SOC_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100222
Eric Bénard01dd5202011-12-13 07:31:35 +0100223config MACH_EUKREA_CPUIMX25SD
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100224 bool "Support Eukrea CPUIMX25 Platform"
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100225 select IMX_HAVE_PLATFORM_FLEXCAN
226 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Eric Bénard4692cba2012-05-08 09:20:18 +0200227 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100228 select IMX_HAVE_PLATFORM_IMXDI_RTC
229 select IMX_HAVE_PLATFORM_IMX_FB
230 select IMX_HAVE_PLATFORM_IMX_I2C
231 select IMX_HAVE_PLATFORM_IMX_UART
232 select IMX_HAVE_PLATFORM_MXC_EHCI
233 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100234 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200235 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100236 select SOC_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100237
238choice
239 prompt "Baseboard"
Eric Bénard01dd5202011-12-13 07:31:35 +0100240 depends on MACH_EUKREA_CPUIMX25SD
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100241 default MACH_EUKREA_MBIMXSD25_BASEBOARD
242
243config MACH_EUKREA_MBIMXSD25_BASEBOARD
244 bool "Eukrea MBIMXSD development board"
Uwe Kleine-König53094982011-02-28 18:04:33 +0100245 select IMX_HAVE_PLATFORM_GPIO_KEYS
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100246 select IMX_HAVE_PLATFORM_IMX_SSI
Eric Bénard49ed9402012-05-08 09:20:17 +0200247 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200248 select LEDS_GPIO_REGISTER
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100249 help
250 This adds board specific devices that can be found on Eukrea's
251 MBIMXSD evaluation board.
252
253endchoice
254
Sascha Haueref4bac52012-09-20 14:59:36 +0200255config MACH_IMX25_DT
256 bool "Support i.MX25 platforms from device tree"
257 select SOC_IMX25
258 help
259 Include support for Freescale i.MX25 based platforms
260 using the device tree for discovery
261
Uwe Kleine-Königb6b06be2010-06-14 16:56:46 +0200262comment "MX27 platforms:"
263
Juergen Beisert80eedae2008-07-05 10:03:00 +0200264config MACH_MX27ADS
265 bool "MX27ADS platform"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100266 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200267 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200268 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100269 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200270 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200271 select IMX_HAVE_PLATFORM_MXC_W1
Russell Kingb1b3f492012-10-06 17:12:25 +0100272 select SOC_IMX27
Juergen Beisert80eedae2008-07-05 10:03:00 +0200273 help
274 Include support for MX27ADS platform. This includes specific
275 configurations for the board and its peripherals.
Juergen Beisert7e5e9f52008-07-05 10:03:00 +0200276
277config MACH_PCM038
278 bool "Phytec phyCORE-i.MX27 CPU module (pcm038)"
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100279 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200280 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200281 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100282 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200283 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200284 select IMX_HAVE_PLATFORM_MXC_W1
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200285 select IMX_HAVE_PLATFORM_SPI_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200286 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100287 select SOC_IMX27
Juergen Beisert7e5e9f52008-07-05 10:03:00 +0200288 help
289 Include support for phyCORE-i.MX27 (aka pcm038) platform. This
290 includes specific configurations for the module and its peripherals.
Juergen Beisertff6552e2008-07-05 10:03:01 +0200291
292choice
293 prompt "Baseboard"
294 depends on MACH_PCM038
295 default MACH_PCM970_BASEBOARD
296
297config MACH_PCM970_BASEBOARD
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100298 bool "PHYTEC PCM970 development board"
299 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100300 select IMX_HAVE_PLATFORM_MXC_MMC
Juergen Beisertff6552e2008-07-05 10:03:01 +0200301 help
302 This adds board specific devices that can be found on Phytec's
303 PCM970 evaluation board.
304
305endchoice
Holger Schurig6bbdbf22009-01-29 14:42:25 +0100306
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100307config MACH_CPUIMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200308 bool "Eukrea CPUIMX27 module"
Uwe Kleine-Königbd455ed2010-11-09 17:52:14 +0100309 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100310 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200311 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200312 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100313 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200314 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200315 select IMX_HAVE_PLATFORM_MXC_W1
Markus Pargmann794987a2013-06-06 14:41:57 +0200316 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100317 select SOC_IMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200318 help
319 Include support for Eukrea CPUIMX27 platform. This includes
320 specific configurations for the module and its peripherals.
321
322config MACH_EUKREA_CPUIMX27_USESDHC2
323 bool "CPUIMX27 integrates SDHC2 module"
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100324 depends on MACH_CPUIMX27
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100325 select IMX_HAVE_PLATFORM_MXC_MMC
Eric Benardaf5b1df2009-07-16 16:26:33 +0200326 help
Eric Bénard2d66c782010-05-19 18:45:59 +0200327 This adds support for the internal SDHC2 used on CPUIMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200328 for wifi or eMMC.
329
Eric Bénard2d66c782010-05-19 18:45:59 +0200330config MACH_EUKREA_CPUIMX27_USEUART4
331 bool "CPUIMX27 integrates UART4 module"
332 depends on MACH_CPUIMX27
333 help
334 This adds support for the internal UART4 used on CPUIMX27
335 for bluetooth.
336
Eric Benarda961bf32009-07-16 16:26:34 +0200337choice
338 prompt "Baseboard"
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100339 depends on MACH_CPUIMX27
Eric Benarda961bf32009-07-16 16:26:34 +0200340 default MACH_EUKREA_MBIMX27_BASEBOARD
341
342config MACH_EUKREA_MBIMX27_BASEBOARD
Uwe Kleine-König4697bb922010-08-25 17:37:45 +0200343 bool "Eukrea MBIMX27 development board"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100344 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König3f880142010-11-10 09:58:56 +0100345 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Uwe Kleine-König4697bb922010-08-25 17:37:45 +0200346 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200347 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100348 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200349 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200350 select LEDS_GPIO_REGISTER
Eric Benarda961bf32009-07-16 16:26:34 +0200351 help
352 This adds board specific devices that can be found on Eukrea's
353 MBIMX27 evaluation board.
354
355endchoice
356
Fabio Estevamec9be0d2009-04-16 12:45:01 -0700357config MACH_MX27_3DS
358 bool "MX27PDK platform"
Fabio Estevam96cf4232010-12-22 12:25:31 -0200359 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Fabio Estevam8be92522010-12-07 17:14:45 -0200360 select IMX_HAVE_PLATFORM_IMX2_WDT
Fabio Estevam1abcb4c2011-06-22 09:25:25 -0300361 select IMX_HAVE_PLATFORM_IMX_FB
Fabio Estevam5885f032011-03-01 16:59:46 -0300362 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König3f880142010-11-10 09:58:56 +0100363 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Fabio Estevam688b5cb2012-07-03 15:44:57 -0300364 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200365 select IMX_HAVE_PLATFORM_IMX_UART
Fabio Estevam4c11c282012-02-15 19:36:10 -0200366 select IMX_HAVE_PLATFORM_MX2_CAMERA
Fabio Estevam96cf4232010-12-22 12:25:31 -0200367 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100368 select IMX_HAVE_PLATFORM_MXC_MMC
Fabio Estevamc67a3e02011-01-03 11:16:39 -0200369 select IMX_HAVE_PLATFORM_SPI_IMX
Fabio Estevam92cb33f2011-01-10 18:17:37 -0200370 select MXC_DEBUG_BOARD
Markus Pargmann794987a2013-06-06 14:41:57 +0200371 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100372 select SOC_IMX27
Fabio Estevamec9be0d2009-04-16 12:45:01 -0700373 help
374 Include support for MX27PDK platform. This includes specific
375 configurations for the board and its peripherals.
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400376
Javier Martin3b161e52010-07-30 10:06:01 +0200377config MACH_IMX27_VISSTRIM_M10
378 bool "Vista Silicon i.MX27 Visstrim_m10"
Uwe Kleine-König53094982011-02-28 18:04:33 +0100379 select IMX_HAVE_PLATFORM_GPIO_KEYS
Javier Martin3b161e52010-07-30 10:06:01 +0200380 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König5658bff2011-03-18 12:24:08 +0100381 select IMX_HAVE_PLATFORM_IMX_SSI
Javier Martin3b161e52010-07-30 10:06:01 +0200382 select IMX_HAVE_PLATFORM_IMX_UART
Javier Martinf52f5a52012-02-28 17:31:51 +0100383 select IMX_HAVE_PLATFORM_MX2_CAMERA
Gaëtan Carlier3ab3a352012-09-05 13:06:15 +0200384 select IMX_HAVE_PLATFORM_MX2_EMMA
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100385 select IMX_HAVE_PLATFORM_MXC_EHCI
Javier Martin32189132012-02-28 17:31:48 +0100386 select IMX_HAVE_PLATFORM_MXC_MMC
Javier Martinacb64642012-02-29 13:17:33 +0100387 select LEDS_GPIO_REGISTER
Russell Kingb1b3f492012-10-06 17:12:25 +0100388 select SOC_IMX27
Javier Martin3b161e52010-07-30 10:06:01 +0200389 help
390 Include support for Visstrim_m10 platform and its different variants.
391 This includes specific configurations for the board and its
392 peripherals.
393
Uwe Kleine-Königf747f932009-12-10 10:25:07 +0100394config MACH_IMX27LITE
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400395 bool "LogicPD MX27 LITEKIT platform"
Javier Martina5e20512011-03-01 15:02:08 +0100396 select IMX_HAVE_PLATFORM_IMX_SSI
Russell Kingb1b3f492012-10-06 17:12:25 +0100397 select IMX_HAVE_PLATFORM_IMX_UART
398 select SOC_IMX27
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400399 help
400 Include support for MX27 LITEKIT platform. This includes specific
401 configurations for the board and its peripherals.
402
Luotao Fu33731692009-08-06 11:19:39 +0200403config MACH_PCA100
404 bool "Phytec phyCARD-s (pca100)"
Uwe Kleine-Königbd455ed2010-11-09 17:52:14 +0100405 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100406 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100407 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200408 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König4697bb922010-08-25 17:37:45 +0200409 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200410 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100411 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100412 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200413 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200414 select IMX_HAVE_PLATFORM_MXC_W1
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200415 select IMX_HAVE_PLATFORM_SPI_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200416 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100417 select SOC_IMX27
Luotao Fu33731692009-08-06 11:19:39 +0200418 help
419 Include support for phyCARD-s (aka pca100) platform. This
420 includes specific configurations for the module and its peripherals.
421
Alan Carvalho de Assis143a1792009-11-25 15:24:50 -0200422config MACH_MXT_TD60
423 bool "Maxtrack i-MXT TD60"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100424 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200425 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200426 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100427 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200428 select IMX_HAVE_PLATFORM_MXC_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100429 select SOC_IMX27
Alan Carvalho de Assis143a1792009-11-25 15:24:50 -0200430 help
431 Include support for i-MXT (aka td60) platform. This
432 includes specific configurations for the module and its peripherals.
433
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200434config MACH_IMX27IPCAM
435 bool "IMX27 IPCAM platform"
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200436 select IMX_HAVE_PLATFORM_IMX2_WDT
437 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100438 select SOC_IMX27
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200439 help
440 Include support for IMX27 IPCAM platform. This includes specific
441 configurations for the board and its peripherals.
442
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100443config MACH_IMX27_DT
444 bool "Support i.MX27 platforms from device tree"
445 select SOC_IMX27
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100446 help
447 Include support for Freescale i.MX27 based platforms
448 using the device tree for discovery
449
Holger Schurig6bbdbf22009-01-29 14:42:25 +0100450endif
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100451
Shawn Guoc5a0d492012-09-17 09:38:39 +0800452if ARCH_MULTI_V6
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100453
454comment "MX31 platforms:"
455
456config MACH_MX31ADS
457 bool "Support MX31ADS platforms"
Russell Kingb1b3f492012-10-06 17:12:25 +0100458 default y
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100459 select IMX_HAVE_PLATFORM_IMX_I2C
460 select IMX_HAVE_PLATFORM_IMX_SSI
461 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100462 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100463 help
464 Include support for MX31ADS platform. This includes specific
465 configurations for the board and its peripherals.
466
467config MACH_MX31ADS_WM1133_EV1
468 bool "Support Wolfson Microelectronics 1133-EV1 module"
469 depends on MACH_MX31ADS
470 depends on MFD_WM8350_I2C
Arnd Bergmann69eb3832013-02-14 17:45:58 +0100471 depends on REGULATOR_WM8350 = y
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100472 help
473 Include support for the Wolfson Microelectronics 1133-EV1 PMU
474 and audio module for the MX31ADS platform.
475
476config MACH_MX31LILLY
477 bool "Support MX31 LILLY-1131 platforms (INCO startec)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100478 select IMX_HAVE_PLATFORM_IMX_UART
479 select IMX_HAVE_PLATFORM_IPU_CORE
480 select IMX_HAVE_PLATFORM_MXC_EHCI
481 select IMX_HAVE_PLATFORM_MXC_MMC
482 select IMX_HAVE_PLATFORM_SPI_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200483 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100484 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100485 help
486 Include support for mx31 based LILLY1131 modules. This includes
487 specific configurations for the board and its peripherals.
488
489config MACH_MX31LITE
490 bool "Support MX31 LITEKIT (LogicPD)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100491 select IMX_HAVE_PLATFORM_IMX2_WDT
492 select IMX_HAVE_PLATFORM_IMX_UART
493 select IMX_HAVE_PLATFORM_MXC_EHCI
494 select IMX_HAVE_PLATFORM_MXC_MMC
495 select IMX_HAVE_PLATFORM_MXC_NAND
496 select IMX_HAVE_PLATFORM_MXC_RTC
497 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200498 select LEDS_GPIO_REGISTER
Markus Pargmann794987a2013-06-06 14:41:57 +0200499 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100500 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100501 help
502 Include support for MX31 LITEKIT platform. This includes specific
503 configurations for the board and its peripherals.
504
505config MACH_PCM037
506 bool "Support Phytec pcm037 (i.MX31) platforms"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100507 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
508 select IMX_HAVE_PLATFORM_IMX2_WDT
509 select IMX_HAVE_PLATFORM_IMX_I2C
510 select IMX_HAVE_PLATFORM_IMX_UART
511 select IMX_HAVE_PLATFORM_IPU_CORE
512 select IMX_HAVE_PLATFORM_MXC_EHCI
513 select IMX_HAVE_PLATFORM_MXC_MMC
514 select IMX_HAVE_PLATFORM_MXC_NAND
515 select IMX_HAVE_PLATFORM_MXC_W1
Markus Pargmann794987a2013-06-06 14:41:57 +0200516 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100517 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100518 help
519 Include support for Phytec pcm037 platform. This includes
520 specific configurations for the board and its peripherals.
521
522config MACH_PCM037_EET
523 bool "Support pcm037 EET board extensions"
524 depends on MACH_PCM037
525 select IMX_HAVE_PLATFORM_GPIO_KEYS
526 select IMX_HAVE_PLATFORM_SPI_IMX
527 help
528 Add support for PCM037 EET baseboard extensions. If you are using the
529 OLED display with EET, use "video=mx3fb:CMEL-OLED" kernel
530 command-line parameter.
531
532config MACH_MX31_3DS
533 bool "Support MX31PDK (3DS)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100534 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
535 select IMX_HAVE_PLATFORM_IMX2_WDT
536 select IMX_HAVE_PLATFORM_IMX_I2C
537 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Fabio Estevam3ef7cf12012-05-21 16:09:06 -0300538 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100539 select IMX_HAVE_PLATFORM_IMX_UART
540 select IMX_HAVE_PLATFORM_IPU_CORE
541 select IMX_HAVE_PLATFORM_MXC_EHCI
Fabio Estevamd093d5b2011-09-14 14:04:38 -0300542 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100543 select IMX_HAVE_PLATFORM_MXC_NAND
544 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100545 select MXC_DEBUG_BOARD
Markus Pargmann794987a2013-06-06 14:41:57 +0200546 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100547 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100548 help
549 Include support for MX31PDK (3DS) platform. This includes specific
550 configurations for the board and its peripherals.
551
552config MACH_MX31_3DS_MXC_NAND_USE_BBT
553 bool "Make the MXC NAND driver use the in flash Bad Block Table"
554 depends on MACH_MX31_3DS
555 depends on MTD_NAND_MXC
556 help
557 Enable this if you want that the MXC NAND driver uses the in flash
558 Bad Block Table to know what blocks are bad instead of scanning the
559 entire flash looking for bad block markers.
560
561config MACH_MX31MOBOARD
562 bool "Support mx31moboard platforms (EPFL Mobots group)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100563 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Philippe Rétornaz31776fb2012-01-20 18:58:23 +0100564 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100565 select IMX_HAVE_PLATFORM_IMX_I2C
Philippe Rétornaz2f7b9452012-05-15 13:53:52 +0200566 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100567 select IMX_HAVE_PLATFORM_IMX_UART
568 select IMX_HAVE_PLATFORM_IPU_CORE
569 select IMX_HAVE_PLATFORM_MXC_EHCI
570 select IMX_HAVE_PLATFORM_MXC_MMC
571 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200572 select LEDS_GPIO_REGISTER
Markus Pargmann794987a2013-06-06 14:41:57 +0200573 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100574 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100575 help
576 Include support for mx31moboard platform. This includes specific
577 configurations for the board and its peripherals.
578
579config MACH_QONG
580 bool "Support Dave/DENX QongEVB-LITE platform"
Fabio Estevambbb43362011-09-19 10:59:46 -0300581 select IMX_HAVE_PLATFORM_IMX2_WDT
Russell Kingb1b3f492012-10-06 17:12:25 +0100582 select IMX_HAVE_PLATFORM_IMX_UART
583 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100584 help
585 Include support for Dave/DENX QongEVB-LITE platform. This includes
586 specific configurations for the board and its peripherals.
587
588config MACH_ARMADILLO5X0
589 bool "Support Atmark Armadillo-500 Development Base Board"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100590 select IMX_HAVE_PLATFORM_GPIO_KEYS
591 select IMX_HAVE_PLATFORM_IMX_I2C
592 select IMX_HAVE_PLATFORM_IMX_UART
593 select IMX_HAVE_PLATFORM_IPU_CORE
594 select IMX_HAVE_PLATFORM_MXC_EHCI
595 select IMX_HAVE_PLATFORM_MXC_MMC
596 select IMX_HAVE_PLATFORM_MXC_NAND
Markus Pargmann794987a2013-06-06 14:41:57 +0200597 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100598 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100599 help
600 Include support for Atmark Armadillo-500 platform. This includes
601 specific configurations for the board and its peripherals.
602
603config MACH_KZM_ARM11_01
604 bool "Support KZM-ARM11-01(Kyoto Microcomputer)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100605 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100606 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100607 help
608 Include support for KZM-ARM11-01. This includes specific
609 configurations for the board and its peripherals.
610
611config MACH_BUG
612 bool "Support Buglabs BUGBase platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100613 default y
Russell Kingb1b3f492012-10-06 17:12:25 +0100614 select IMX_HAVE_PLATFORM_IMX_UART
615 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100616 help
617 Include support for BUGBase 1.3 platform. This includes specific
618 configurations for the board and its peripherals.
619
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200620config MACH_IMX31_DT
621 bool "Support i.MX31 platforms from device tree"
622 select SOC_IMX31
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200623 help
624 Include support for Freescale i.MX31 based platforms
625 using the device tree for discovery.
626
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100627comment "MX35 platforms:"
628
629config MACH_PCM043
630 bool "Support Phytec pcm043 (i.MX35) platforms"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100631 select IMX_HAVE_PLATFORM_FLEXCAN
632 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
633 select IMX_HAVE_PLATFORM_IMX2_WDT
634 select IMX_HAVE_PLATFORM_IMX_I2C
635 select IMX_HAVE_PLATFORM_IMX_SSI
636 select IMX_HAVE_PLATFORM_IMX_UART
637 select IMX_HAVE_PLATFORM_IPU_CORE
638 select IMX_HAVE_PLATFORM_MXC_EHCI
639 select IMX_HAVE_PLATFORM_MXC_NAND
640 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200641 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100642 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100643 help
644 Include support for Phytec pcm043 platform. This includes
645 specific configurations for the board and its peripherals.
646
647config MACH_MX35_3DS
648 bool "Support MX35PDK platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100649 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
650 select IMX_HAVE_PLATFORM_IMX2_WDT
Marc Kleine-Budde8e3e26a2012-04-24 17:48:18 +0200651 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100652 select IMX_HAVE_PLATFORM_IMX_I2C
653 select IMX_HAVE_PLATFORM_IMX_UART
Marc Kleine-Budde8e3e26a2012-04-24 17:48:18 +0200654 select IMX_HAVE_PLATFORM_IPU_CORE
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100655 select IMX_HAVE_PLATFORM_MXC_EHCI
656 select IMX_HAVE_PLATFORM_MXC_NAND
Benoît Thébaudeauc6fd6d12012-07-04 16:36:28 +0200657 select IMX_HAVE_PLATFORM_MXC_RTC
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100658 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100659 select MXC_DEBUG_BOARD
660 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100661 help
662 Include support for MX35PDK platform. This includes specific
663 configurations for the board and its peripherals.
664
Eric Bénarda69aa722011-12-13 07:31:43 +0100665config MACH_EUKREA_CPUIMX35SD
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100666 bool "Support Eukrea CPUIMX35 Platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100667 select IMX_HAVE_PLATFORM_FLEXCAN
668 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
669 select IMX_HAVE_PLATFORM_IMX2_WDT
670 select IMX_HAVE_PLATFORM_IMX_I2C
671 select IMX_HAVE_PLATFORM_IMX_UART
672 select IMX_HAVE_PLATFORM_MXC_EHCI
673 select IMX_HAVE_PLATFORM_MXC_NAND
674 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200675 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100676 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100677 help
678 Include support for Eukrea CPUIMX35 platform. This includes
679 specific configurations for the board and its peripherals.
680
681choice
682 prompt "Baseboard"
Eric Bénarda69aa722011-12-13 07:31:43 +0100683 depends on MACH_EUKREA_CPUIMX35SD
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100684 default MACH_EUKREA_MBIMXSD35_BASEBOARD
685
686config MACH_EUKREA_MBIMXSD35_BASEBOARD
687 bool "Eukrea MBIMXSD development board"
688 select IMX_HAVE_PLATFORM_GPIO_KEYS
689 select IMX_HAVE_PLATFORM_IMX_SSI
690 select IMX_HAVE_PLATFORM_IPU_CORE
Eric Bénard0e189852012-05-08 09:20:19 +0200691 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200692 select LEDS_GPIO_REGISTER
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100693 help
694 This adds board specific devices that can be found on Eukrea's
695 MBIMXSD evaluation board.
696
697endchoice
698
699config MACH_VPR200
700 bool "Support VPR200 platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100701 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
702 select IMX_HAVE_PLATFORM_GPIO_KEYS
703 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100704 select IMX_HAVE_PLATFORM_IMX_I2C
Russell Kingb1b3f492012-10-06 17:12:25 +0100705 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100706 select IMX_HAVE_PLATFORM_IPU_CORE
707 select IMX_HAVE_PLATFORM_MXC_EHCI
708 select IMX_HAVE_PLATFORM_MXC_NAND
709 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100710 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100711 help
712 Include support for VPR200 platform. This includes specific
713 configurations for the board and its peripherals.
714
Shawn Guoc5a0d492012-09-17 09:38:39 +0800715endif
716
717if ARCH_MULTI_V7
718
Sascha Hauer784a90c2011-11-07 12:36:48 +0100719comment "i.MX51 machines:"
720
721config MACH_IMX51_DT
722 bool "Support i.MX51 platforms from device tree"
Russell Kingb1b3f492012-10-06 17:12:25 +0100723 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100724 help
725 Include support for Freescale i.MX51 based platforms
726 using the device tree for discovery
727
728config MACH_MX51_BABBAGE
729 bool "Support MX51 BABBAGE platforms"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100730 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
731 select IMX_HAVE_PLATFORM_IMX2_WDT
732 select IMX_HAVE_PLATFORM_IMX_I2C
733 select IMX_HAVE_PLATFORM_IMX_UART
734 select IMX_HAVE_PLATFORM_MXC_EHCI
735 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
736 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100737 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100738 help
739 Include support for MX51 Babbage platform, also known as MX51EVK in
740 u-boot. This includes specific configurations for the board and its
741 peripherals.
742
Sascha Hauer784a90c2011-11-07 12:36:48 +0100743config MACH_EUKREA_CPUIMX51SD
744 bool "Support Eukrea CPUIMX51SD module"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100745 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Russell Kingb1b3f492012-10-06 17:12:25 +0100746 select IMX_HAVE_PLATFORM_IMX2_WDT
Sascha Hauer784a90c2011-11-07 12:36:48 +0100747 select IMX_HAVE_PLATFORM_IMX_I2C
748 select IMX_HAVE_PLATFORM_IMX_UART
749 select IMX_HAVE_PLATFORM_MXC_EHCI
750 select IMX_HAVE_PLATFORM_MXC_NAND
751 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100752 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100753 help
754 Include support for Eukrea CPUIMX51SD platform. This includes
755 specific configurations for the module and its peripherals.
756
757choice
758 prompt "Baseboard"
759 depends on MACH_EUKREA_CPUIMX51SD
760 default MACH_EUKREA_MBIMXSD51_BASEBOARD
761
762config MACH_EUKREA_MBIMXSD51_BASEBOARD
763 prompt "Eukrea MBIMXSD development board"
764 bool
Eric Bénard932d67d2012-05-08 09:20:22 +0200765 select IMX_HAVE_PLATFORM_IMX_SSI
Sascha Hauer784a90c2011-11-07 12:36:48 +0100766 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
767 select LEDS_GPIO_REGISTER
768 help
769 This adds board specific devices that can be found on Eukrea's
770 MBIMXSD evaluation board.
771
772endchoice
773
Shawn Guo442279d2012-08-12 23:21:39 +0800774comment "Device tree only"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100775
Shawn Guo442279d2012-08-12 23:21:39 +0800776config SOC_IMX53
777 bool "i.MX53 support"
Philipp Zabelbd3d9242013-03-28 17:35:22 +0100778 select HAVE_IMX_SRC
Roland Stigge48b797a2012-10-25 13:28:33 +0200779 select IMX_HAVE_PLATFORM_IMX2_WDT
Shawn Guo442279d2012-08-12 23:21:39 +0800780 select PINCTRL
781 select PINCTRL_IMX53
Russell Kingb1b3f492012-10-06 17:12:25 +0100782 select SOC_IMX5
Shawn Guo442279d2012-08-12 23:21:39 +0800783
Sascha Hauer784a90c2011-11-07 12:36:48 +0100784 help
Shawn Guo442279d2012-08-12 23:21:39 +0800785 This enables support for Freescale i.MX53 processor.
Shawn Guobac89d72011-10-02 15:09:11 +0800786
787config SOC_IMX6Q
Shawn Guo3c03a2f2013-04-01 22:13:32 +0800788 bool "i.MX6 Quad/DualLite support"
Shawn Guod90df972012-07-19 23:16:30 +0800789 select ARCH_HAS_CPUFREQ
790 select ARCH_HAS_OPP
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
Stephen Boyda894fcc2013-02-15 16:02:20 -0800798 select HAVE_ARM_TWD if SMP
Anson Huange95dddb2013-03-20 19:39:42 -0400799 select HAVE_IMX_ANATOP
Shawn Guo9fbbe682011-09-06 14:39:44 +0800800 select HAVE_IMX_GPC
801 select HAVE_IMX_MMDC
Shawn Guoaec99b72013-01-11 22:08:27 +0800802 select HAVE_IMX_SRC
Dave Martin3b556582011-12-07 15:38:04 +0000803 select HAVE_SMP
Dong Aishengbaa64152012-09-05 10:57:15 +0800804 select MFD_SYSCON
Sean Cross74b80312013-09-26 10:45:35 +0800805 select MIGHT_HAVE_PCI
806 select PCI_DOMAINS if PCI
Dong Aisheng32329a22012-05-02 19:31:21 +0800807 select PINCTRL
808 select PINCTRL_IMX6Q
Shawn Guo96efb442012-10-23 19:44:34 +0800809 select PL310_ERRATA_588369 if CACHE_PL310
810 select PL310_ERRATA_727915 if CACHE_PL310
811 select PL310_ERRATA_769419 if CACHE_PL310
Shawn Guod90df972012-07-19 23:16:30 +0800812 select PM_OPP if PM
Shawn Guobac89d72011-10-02 15:09:11 +0800813
814 help
815 This enables support for Freescale i.MX6 Quad processor.
816
Shawn Guo31a2fbf2013-05-03 11:24:47 +0800817config SOC_IMX6SL
818 bool "i.MX6 SoloLite support"
819 select ARM_ERRATA_754322
820 select ARM_ERRATA_775420
821 select ARM_GIC
822 select CPU_V7
823 select HAVE_IMX_ANATOP
824 select HAVE_IMX_GPC
825 select HAVE_IMX_MMDC
826 select HAVE_IMX_SRC
Arnd Bergmann06264942013-06-03 15:46:53 +0200827 select MFD_SYSCON
Shawn Guo31a2fbf2013-05-03 11:24:47 +0800828 select PINCTRL
829 select PINCTRL_IMX6SL
830 select PL310_ERRATA_588369 if CACHE_PL310
831 select PL310_ERRATA_727915 if CACHE_PL310
832 select PL310_ERRATA_769419 if CACHE_PL310
833
834 help
835 This enables support for Freescale i.MX6 SoloLite processor.
836
Jingchang Lu5be913c2013-05-28 17:12:21 +0800837config SOC_VF610
838 bool "Vybrid Family VF610 support"
839 select CPU_V7
840 select ARM_GIC
841 select CLKSRC_OF
842 select PINCTRL
843 select PINCTRL_VF610
844 select VF_PIT_TIMER
845 select PL310_ERRATA_588369 if CACHE_PL310
846 select PL310_ERRATA_727915 if CACHE_PL310
847 select PL310_ERRATA_769419 if CACHE_PL310
848
849 help
850 This enable support for Freescale Vybrid VF610 processor.
851
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100852endif
Shawn Guoe0557c02012-09-13 15:51:15 +0800853
854source "arch/arm/mach-imx/devices/Kconfig"
Shawn Guo3995eb82012-09-13 19:48:07 +0800855
Shawn Guoc5a0d492012-09-17 09:38:39 +0800856endmenu