blob: d511e05465466b3d11dff8f21f4b2175b36cf3fd [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
Shawn Guoc5a0d492012-09-17 09:38:39 +08007 select CLKSRC_MMIO
Uwe Kleine-König07d8a492013-10-01 11:08:56 +02008 select COMMON_CLK
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 Guof7f3d4b2013-11-16 22:25:02 +080014 select PINCTRL
Shawn Guoa2887542013-08-13 16:59:28 +080015 select SOC_BUS
Shawn Guoc5a0d492012-09-17 09:38:39 +080016 select SPARSE_IRQ
17 select USE_OF
18 help
19 Support for Freescale MXC/iMX-based family of processors
20
21menu "Freescale i.MX support"
22 depends on ARCH_MXC
Shawn Guo3995eb82012-09-13 19:48:07 +080023
Shawn Guo3995eb82012-09-13 19:48:07 +080024config MXC_TZIC
25 bool
26
27config MXC_AVIC
28 bool
29
30config MXC_DEBUG_BOARD
31 bool "Enable MXC debug board(for 3-stack)"
32 help
33 The debug board is an integral part of the MXC 3-stack(PDK)
34 platforms, it can be attached or removed from the peripheral
35 board. On debug board, several debug devices(ethernet, UART,
36 buttons, LEDs and JTAG) are implemented. Between the MCU and
37 these devices, a CPLD is added as a bridge which performs
38 data/address de-multiplexing and decode, signal level shift,
39 interrupt control and various board functions.
40
41config HAVE_EPIT
42 bool
43
44config MXC_USE_EPIT
45 bool "Use EPIT instead of GPT"
46 depends on HAVE_EPIT
47 help
48 Use EPIT as the system timer on systems that have it. Normally you
49 don't have a reason to do so as the EPIT has the same features and
50 uses the same clocks as the GPT. Anyway, on some systems the GPT
51 may be in use for other purposes.
52
Shawn Guo3995eb82012-09-13 19:48:07 +080053config ARCH_HAS_RNGA
54 bool
55
Anson Huange95dddb2013-03-20 19:39:42 -040056config HAVE_IMX_ANATOP
57 bool
58
Shawn Guo9fbbe682011-09-06 14:39:44 +080059config HAVE_IMX_GPC
60 bool
61
62config HAVE_IMX_MMDC
63 bool
64
65config HAVE_IMX_SRC
Shawn Guo68b25322012-10-23 15:23:59 +080066 def_bool y if SMP
Philipp Zabel02985b92013-03-28 17:35:19 +010067 select ARCH_HAS_RESET_CONTROLLER
Shawn Guo9fbbe682011-09-06 14:39:44 +080068
Shawn Guo267dd342012-09-13 13:26:00 +080069config IMX_HAVE_IOMUX_V1
70 bool
71
72config ARCH_MXC_IOMUX_V3
73 bool
74
Sascha Hauerae4fa7f2011-08-23 09:39:35 +020075config ARCH_MX1
76 bool
77
Sascha Hauerae4fa7f2011-08-23 09:39:35 +020078config ARCH_MX25
79 bool
80
81config MACH_MX27
82 bool
83
Uwe Kleine-Könige780d232010-06-14 17:39:21 +020084config SOC_IMX1
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010085 bool
Sascha Hauerae4fa7f2011-08-23 09:39:35 +020086 select ARCH_MX1
Uwe Kleine-Könige780d232010-06-14 17:39:21 +020087 select CPU_ARM920T
88 select IMX_HAVE_IOMUX_V1
Sascha Hauerc7259df2010-11-05 09:37:22 +010089 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010090
91config SOC_IMX21
Uwe Kleine-Könige780d232010-06-14 17:39:21 +020092 bool
Russell Kingb1b3f492012-10-06 17:12:25 +010093 select CPU_ARM926T
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010094 select IMX_HAVE_IOMUX_V1
Sascha Hauerc7259df2010-11-05 09:37:22 +010095 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010096
97config SOC_IMX25
98 bool
Sascha Hauerae4fa7f2011-08-23 09:39:35 +020099 select ARCH_MX25
Russell Kingb1b3f492012-10-06 17:12:25 +0100100 select ARCH_MXC_IOMUX_V3
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100101 select CPU_ARM926T
Sascha Hauerc7259df2010-11-05 09:37:22 +0100102 select MXC_AVIC
Denis Carikli5bcaa7a2013-11-06 09:52:18 +0100103 select PINCTRL_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100104
105config SOC_IMX27
106 bool
Markus Pargmann68663102013-03-27 14:01:31 +0100107 select ARCH_HAS_CPUFREQ
108 select ARCH_HAS_OPP
Russell Kingb1b3f492012-10-06 17:12:25 +0100109 select CPU_ARM926T
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100110 select IMX_HAVE_IOMUX_V1
Russell Kingb1b3f492012-10-06 17:12:25 +0100111 select MACH_MX27
Sascha Hauerc7259df2010-11-05 09:37:22 +0100112 select MXC_AVIC
Markus Pargmannacb350e2013-11-12 09:50:10 +0100113 select PINCTRL_IMX27
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100114
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100115config SOC_IMX31
116 bool
117 select CPU_V6
118 select IMX_HAVE_PLATFORM_MXC_RNGA
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100119 select MXC_AVIC
Sascha Hauera89cf592011-09-27 13:48:02 +0800120 select SMP_ON_UP if SMP
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100121
122config SOC_IMX35
123 bool
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100124 select ARCH_MXC_IOMUX_V3
Russell Kingb1b3f492012-10-06 17:12:25 +0100125 select CPU_V6K
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100126 select HAVE_EPIT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100127 select MXC_AVIC
Sascha Hauera89cf592011-09-27 13:48:02 +0800128 select SMP_ON_UP if SMP
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100129
Sascha Hauer784a90c2011-11-07 12:36:48 +0100130config SOC_IMX5
Russell Kingb1b3f492012-10-06 17:12:25 +0100131 bool
Sascha Hauer784a90c2011-11-07 12:36:48 +0100132 select ARCH_HAS_CPUFREQ
Markus Pargmann68663102013-03-27 14:01:31 +0100133 select ARCH_HAS_OPP
Russell Kingb1b3f492012-10-06 17:12:25 +0100134 select ARCH_MXC_IOMUX_V3
Russell Kingb1b3f492012-10-06 17:12:25 +0100135 select CPU_V7
136 select MXC_TZIC
Sascha Hauer784a90c2011-11-07 12:36:48 +0100137
Sascha Hauer784a90c2011-11-07 12:36:48 +0100138config SOC_IMX51
139 bool
Philipp Zabelbd3d9242013-03-28 17:35:22 +0100140 select HAVE_IMX_SRC
Shawn Guob6798f82012-08-13 19:55:37 +0800141 select PINCTRL_IMX51
Russell Kingb1b3f492012-10-06 17:12:25 +0100142 select SOC_IMX5
Sascha Hauer784a90c2011-11-07 12:36:48 +0100143
Shawn Guoc5a0d492012-09-17 09:38:39 +0800144if ARCH_MULTI_V4T
Uwe Kleine-Könige780d232010-06-14 17:39:21 +0200145
Uwe Kleine-König07469492010-06-14 15:56:58 +0200146comment "MX1 platforms:"
147config MACH_MXLADS
148 bool
149
150config ARCH_MX1ADS
151 bool "MX1ADS platform"
Uwe Kleine-König6348e6b2010-06-16 15:26:07 +0200152 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd112f4e2010-06-22 14:50:59 +0200153 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100154 select MACH_MXLADS
155 select SOC_IMX1
Uwe Kleine-König07469492010-06-14 15:56:58 +0200156 help
157 Say Y here if you are using Motorola MX1ADS/MXLADS boards
158
159config MACH_SCB9328
160 bool "Synertronixx scb9328"
Uwe Kleine-Königd112f4e2010-06-22 14:50:59 +0200161 select IMX_HAVE_PLATFORM_IMX_UART
Arnd Bergmann123860e2013-06-03 15:46:53 +0200162 select SOC_IMX1
Uwe Kleine-König07469492010-06-14 15:56:58 +0200163 help
164 Say Y here if you are using a Synertronixx scb9328 board
165
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000166config MACH_APF9328
167 bool "APF9328"
Gwenhael Goavec-Merou7a994812011-10-08 17:19:49 +0200168 select IMX_HAVE_PLATFORM_IMX_I2C
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000169 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100170 select SOC_IMX1
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000171 help
172 Say Yes here if you are using the Armadeus APF9328 development board
173
Shawn Guoc5a0d492012-09-17 09:38:39 +0800174endif
175
176if ARCH_MULTI_V5
177
Uwe Kleine-Königb6b06be2010-06-14 16:56:46 +0200178comment "MX21 platforms:"
Juergen Beisert80eedae2008-07-05 10:03:00 +0200179
Ivo Clarysse6b91edd2009-04-15 15:39:27 +0200180config MACH_MX21ADS
181 bool "MX21ADS platform"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100182 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König3c5227f2010-06-22 17:59:58 +0200183 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100184 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König1f8d7212010-06-16 11:17:45 +0200185 select IMX_HAVE_PLATFORM_MXC_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100186 select SOC_IMX21
Ivo Clarysse6b91edd2009-04-15 15:39:27 +0200187 help
188 Include support for MX21ADS platform. This includes specific
189 configurations for the board and its peripherals.
190
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100191comment "MX25 platforms:"
192
193config MACH_MX25_3DS
194 bool "Support MX25PDK (3DS) Platform"
Fabio Estevam91dcc7f2011-07-08 14:59:50 -0300195 select IMX_HAVE_PLATFORM_FLEXCAN
Fabio Estevam460d30a2010-12-22 12:25:32 -0200196 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100197 select IMX_HAVE_PLATFORM_IMX2_WDT
198 select IMX_HAVE_PLATFORM_IMXDI_RTC
199 select IMX_HAVE_PLATFORM_IMX_FB
Russell Kingb1b3f492012-10-06 17:12:25 +0100200 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100201 select IMX_HAVE_PLATFORM_IMX_KEYPAD
202 select IMX_HAVE_PLATFORM_IMX_UART
203 select IMX_HAVE_PLATFORM_MXC_EHCI
204 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100205 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100206 select SOC_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100207
Eric Bénard01dd5202011-12-13 07:31:35 +0100208config MACH_EUKREA_CPUIMX25SD
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100209 bool "Support Eukrea CPUIMX25 Platform"
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100210 select IMX_HAVE_PLATFORM_FLEXCAN
211 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Eric Bénard4692cba2012-05-08 09:20:18 +0200212 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100213 select IMX_HAVE_PLATFORM_IMXDI_RTC
214 select IMX_HAVE_PLATFORM_IMX_FB
215 select IMX_HAVE_PLATFORM_IMX_I2C
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
Markus Pargmann794987a2013-06-06 14:41:57 +0200220 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100221 select SOC_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100222
223choice
224 prompt "Baseboard"
Eric Bénard01dd5202011-12-13 07:31:35 +0100225 depends on MACH_EUKREA_CPUIMX25SD
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100226 default MACH_EUKREA_MBIMXSD25_BASEBOARD
227
228config MACH_EUKREA_MBIMXSD25_BASEBOARD
229 bool "Eukrea MBIMXSD development board"
Uwe Kleine-König53094982011-02-28 18:04:33 +0100230 select IMX_HAVE_PLATFORM_GPIO_KEYS
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100231 select IMX_HAVE_PLATFORM_IMX_SSI
Eric Bénard49ed9402012-05-08 09:20:17 +0200232 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200233 select LEDS_GPIO_REGISTER
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100234 help
235 This adds board specific devices that can be found on Eukrea's
236 MBIMXSD evaluation board.
237
238endchoice
239
Sascha Haueref4bac52012-09-20 14:59:36 +0200240config MACH_IMX25_DT
241 bool "Support i.MX25 platforms from device tree"
242 select SOC_IMX25
243 help
244 Include support for Freescale i.MX25 based platforms
245 using the device tree for discovery
246
Uwe Kleine-Königb6b06be2010-06-14 16:56:46 +0200247comment "MX27 platforms:"
248
Juergen Beisert80eedae2008-07-05 10:03:00 +0200249config MACH_MX27ADS
250 bool "MX27ADS platform"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100251 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200252 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200253 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100254 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200255 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200256 select IMX_HAVE_PLATFORM_MXC_W1
Russell Kingb1b3f492012-10-06 17:12:25 +0100257 select SOC_IMX27
Juergen Beisert80eedae2008-07-05 10:03:00 +0200258 help
259 Include support for MX27ADS platform. This includes specific
260 configurations for the board and its peripherals.
Juergen Beisert7e5e9f52008-07-05 10:03:00 +0200261
262config MACH_PCM038
263 bool "Phytec phyCORE-i.MX27 CPU module (pcm038)"
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100264 select IMX_HAVE_PLATFORM_IMX2_WDT
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önig2eb42d52010-11-05 18:52:09 +0100267 select IMX_HAVE_PLATFORM_MXC_EHCI
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
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200270 select IMX_HAVE_PLATFORM_SPI_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200271 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100272 select SOC_IMX27
Juergen Beisert7e5e9f52008-07-05 10:03:00 +0200273 help
274 Include support for phyCORE-i.MX27 (aka pcm038) platform. This
275 includes specific configurations for the module and its peripherals.
Juergen Beisertff6552e2008-07-05 10:03:01 +0200276
277choice
278 prompt "Baseboard"
279 depends on MACH_PCM038
280 default MACH_PCM970_BASEBOARD
281
282config MACH_PCM970_BASEBOARD
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100283 bool "PHYTEC PCM970 development board"
284 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100285 select IMX_HAVE_PLATFORM_MXC_MMC
Juergen Beisertff6552e2008-07-05 10:03:01 +0200286 help
287 This adds board specific devices that can be found on Phytec's
288 PCM970 evaluation board.
289
290endchoice
Holger Schurig6bbdbf22009-01-29 14:42:25 +0100291
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100292config MACH_CPUIMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200293 bool "Eukrea CPUIMX27 module"
Uwe Kleine-Königbd455ed2010-11-09 17:52:14 +0100294 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100295 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200296 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200297 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100298 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200299 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200300 select IMX_HAVE_PLATFORM_MXC_W1
Markus Pargmann794987a2013-06-06 14:41:57 +0200301 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100302 select SOC_IMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200303 help
304 Include support for Eukrea CPUIMX27 platform. This includes
305 specific configurations for the module and its peripherals.
306
307config MACH_EUKREA_CPUIMX27_USESDHC2
308 bool "CPUIMX27 integrates SDHC2 module"
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100309 depends on MACH_CPUIMX27
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100310 select IMX_HAVE_PLATFORM_MXC_MMC
Eric Benardaf5b1df2009-07-16 16:26:33 +0200311 help
Eric Bénard2d66c782010-05-19 18:45:59 +0200312 This adds support for the internal SDHC2 used on CPUIMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200313 for wifi or eMMC.
314
Eric Bénard2d66c782010-05-19 18:45:59 +0200315config MACH_EUKREA_CPUIMX27_USEUART4
316 bool "CPUIMX27 integrates UART4 module"
317 depends on MACH_CPUIMX27
318 help
319 This adds support for the internal UART4 used on CPUIMX27
320 for bluetooth.
321
Eric Benarda961bf32009-07-16 16:26:34 +0200322choice
323 prompt "Baseboard"
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100324 depends on MACH_CPUIMX27
Eric Benarda961bf32009-07-16 16:26:34 +0200325 default MACH_EUKREA_MBIMX27_BASEBOARD
326
327config MACH_EUKREA_MBIMX27_BASEBOARD
Uwe Kleine-König4697bb92010-08-25 17:37:45 +0200328 bool "Eukrea MBIMX27 development board"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100329 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König3f880142010-11-10 09:58:56 +0100330 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Uwe Kleine-König4697bb92010-08-25 17:37:45 +0200331 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200332 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100333 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200334 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200335 select LEDS_GPIO_REGISTER
Eric Benarda961bf32009-07-16 16:26:34 +0200336 help
337 This adds board specific devices that can be found on Eukrea's
338 MBIMX27 evaluation board.
339
340endchoice
341
Fabio Estevamec9be0d2009-04-16 12:45:01 -0700342config MACH_MX27_3DS
343 bool "MX27PDK platform"
Fabio Estevam96cf4232010-12-22 12:25:31 -0200344 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Fabio Estevam8be92522010-12-07 17:14:45 -0200345 select IMX_HAVE_PLATFORM_IMX2_WDT
Fabio Estevam1abcb4c2011-06-22 09:25:25 -0300346 select IMX_HAVE_PLATFORM_IMX_FB
Fabio Estevam5885f032011-03-01 16:59:46 -0300347 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König3f880142010-11-10 09:58:56 +0100348 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Fabio Estevam688b5cb2012-07-03 15:44:57 -0300349 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200350 select IMX_HAVE_PLATFORM_IMX_UART
Fabio Estevam4c11c282012-02-15 19:36:10 -0200351 select IMX_HAVE_PLATFORM_MX2_CAMERA
Fabio Estevam96cf4232010-12-22 12:25:31 -0200352 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100353 select IMX_HAVE_PLATFORM_MXC_MMC
Fabio Estevamc67a3e02011-01-03 11:16:39 -0200354 select IMX_HAVE_PLATFORM_SPI_IMX
Fabio Estevam92cb33f2011-01-10 18:17:37 -0200355 select MXC_DEBUG_BOARD
Markus Pargmann794987a2013-06-06 14:41:57 +0200356 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100357 select SOC_IMX27
Fabio Estevamec9be0d2009-04-16 12:45:01 -0700358 help
359 Include support for MX27PDK platform. This includes specific
360 configurations for the board and its peripherals.
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400361
Javier Martin3b161e52010-07-30 10:06:01 +0200362config MACH_IMX27_VISSTRIM_M10
363 bool "Vista Silicon i.MX27 Visstrim_m10"
Uwe Kleine-König53094982011-02-28 18:04:33 +0100364 select IMX_HAVE_PLATFORM_GPIO_KEYS
Javier Martin3b161e52010-07-30 10:06:01 +0200365 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König5658bff2011-03-18 12:24:08 +0100366 select IMX_HAVE_PLATFORM_IMX_SSI
Javier Martin3b161e52010-07-30 10:06:01 +0200367 select IMX_HAVE_PLATFORM_IMX_UART
Javier Martinf52f5a52012-02-28 17:31:51 +0100368 select IMX_HAVE_PLATFORM_MX2_CAMERA
Gaëtan Carlier3ab3a352012-09-05 13:06:15 +0200369 select IMX_HAVE_PLATFORM_MX2_EMMA
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100370 select IMX_HAVE_PLATFORM_MXC_EHCI
Javier Martin32189132012-02-28 17:31:48 +0100371 select IMX_HAVE_PLATFORM_MXC_MMC
Javier Martinacb64642012-02-29 13:17:33 +0100372 select LEDS_GPIO_REGISTER
Russell Kingb1b3f492012-10-06 17:12:25 +0100373 select SOC_IMX27
Javier Martin3b161e52010-07-30 10:06:01 +0200374 help
375 Include support for Visstrim_m10 platform and its different variants.
376 This includes specific configurations for the board and its
377 peripherals.
378
Uwe Kleine-Königf747f932009-12-10 10:25:07 +0100379config MACH_IMX27LITE
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400380 bool "LogicPD MX27 LITEKIT platform"
Javier Martina5e20512011-03-01 15:02:08 +0100381 select IMX_HAVE_PLATFORM_IMX_SSI
Russell Kingb1b3f492012-10-06 17:12:25 +0100382 select IMX_HAVE_PLATFORM_IMX_UART
383 select SOC_IMX27
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400384 help
385 Include support for MX27 LITEKIT platform. This includes specific
386 configurations for the board and its peripherals.
387
Luotao Fu33731692009-08-06 11:19:39 +0200388config MACH_PCA100
389 bool "Phytec phyCARD-s (pca100)"
Uwe Kleine-Königbd455ed2010-11-09 17:52:14 +0100390 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100391 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100392 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200393 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König4697bb92010-08-25 17:37:45 +0200394 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200395 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100396 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100397 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200398 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200399 select IMX_HAVE_PLATFORM_MXC_W1
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200400 select IMX_HAVE_PLATFORM_SPI_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200401 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100402 select SOC_IMX27
Luotao Fu33731692009-08-06 11:19:39 +0200403 help
404 Include support for phyCARD-s (aka pca100) platform. This
405 includes specific configurations for the module and its peripherals.
406
Alan Carvalho de Assis143a1792009-11-25 15:24:50 -0200407config MACH_MXT_TD60
408 bool "Maxtrack i-MXT TD60"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100409 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200410 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200411 select IMX_HAVE_PLATFORM_IMX_UART
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
Russell Kingb1b3f492012-10-06 17:12:25 +0100414 select SOC_IMX27
Alan Carvalho de Assis143a1792009-11-25 15:24:50 -0200415 help
416 Include support for i-MXT (aka td60) platform. This
417 includes specific configurations for the module and its peripherals.
418
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200419config MACH_IMX27IPCAM
420 bool "IMX27 IPCAM platform"
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200421 select IMX_HAVE_PLATFORM_IMX2_WDT
422 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100423 select SOC_IMX27
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200424 help
425 Include support for IMX27 IPCAM platform. This includes specific
426 configurations for the board and its peripherals.
427
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100428config MACH_IMX27_DT
429 bool "Support i.MX27 platforms from device tree"
430 select SOC_IMX27
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100431 help
432 Include support for Freescale i.MX27 based platforms
433 using the device tree for discovery
434
Holger Schurig6bbdbf22009-01-29 14:42:25 +0100435endif
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100436
Shawn Guoc5a0d492012-09-17 09:38:39 +0800437if ARCH_MULTI_V6
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100438
439comment "MX31 platforms:"
440
441config MACH_MX31ADS
442 bool "Support MX31ADS platforms"
Russell Kingb1b3f492012-10-06 17:12:25 +0100443 default y
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100444 select IMX_HAVE_PLATFORM_IMX_I2C
445 select IMX_HAVE_PLATFORM_IMX_SSI
446 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100447 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100448 help
449 Include support for MX31ADS platform. This includes specific
450 configurations for the board and its peripherals.
451
452config MACH_MX31ADS_WM1133_EV1
453 bool "Support Wolfson Microelectronics 1133-EV1 module"
454 depends on MACH_MX31ADS
455 depends on MFD_WM8350_I2C
Arnd Bergmann69eb3832013-02-14 17:45:58 +0100456 depends on REGULATOR_WM8350 = y
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100457 help
458 Include support for the Wolfson Microelectronics 1133-EV1 PMU
459 and audio module for the MX31ADS platform.
460
461config MACH_MX31LILLY
462 bool "Support MX31 LILLY-1131 platforms (INCO startec)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100463 select IMX_HAVE_PLATFORM_IMX_UART
464 select IMX_HAVE_PLATFORM_IPU_CORE
465 select IMX_HAVE_PLATFORM_MXC_EHCI
466 select IMX_HAVE_PLATFORM_MXC_MMC
467 select IMX_HAVE_PLATFORM_SPI_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200468 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100469 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100470 help
471 Include support for mx31 based LILLY1131 modules. This includes
472 specific configurations for the board and its peripherals.
473
474config MACH_MX31LITE
475 bool "Support MX31 LITEKIT (LogicPD)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100476 select IMX_HAVE_PLATFORM_IMX2_WDT
477 select IMX_HAVE_PLATFORM_IMX_UART
478 select IMX_HAVE_PLATFORM_MXC_EHCI
479 select IMX_HAVE_PLATFORM_MXC_MMC
480 select IMX_HAVE_PLATFORM_MXC_NAND
481 select IMX_HAVE_PLATFORM_MXC_RTC
482 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200483 select LEDS_GPIO_REGISTER
Markus Pargmann794987a2013-06-06 14:41:57 +0200484 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100485 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100486 help
487 Include support for MX31 LITEKIT platform. This includes specific
488 configurations for the board and its peripherals.
489
490config MACH_PCM037
491 bool "Support Phytec pcm037 (i.MX31) platforms"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100492 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
493 select IMX_HAVE_PLATFORM_IMX2_WDT
494 select IMX_HAVE_PLATFORM_IMX_I2C
495 select IMX_HAVE_PLATFORM_IMX_UART
496 select IMX_HAVE_PLATFORM_IPU_CORE
497 select IMX_HAVE_PLATFORM_MXC_EHCI
498 select IMX_HAVE_PLATFORM_MXC_MMC
499 select IMX_HAVE_PLATFORM_MXC_NAND
500 select IMX_HAVE_PLATFORM_MXC_W1
Markus Pargmann794987a2013-06-06 14:41:57 +0200501 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100502 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100503 help
504 Include support for Phytec pcm037 platform. This includes
505 specific configurations for the board and its peripherals.
506
507config MACH_PCM037_EET
508 bool "Support pcm037 EET board extensions"
509 depends on MACH_PCM037
510 select IMX_HAVE_PLATFORM_GPIO_KEYS
511 select IMX_HAVE_PLATFORM_SPI_IMX
512 help
513 Add support for PCM037 EET baseboard extensions. If you are using the
514 OLED display with EET, use "video=mx3fb:CMEL-OLED" kernel
515 command-line parameter.
516
517config MACH_MX31_3DS
518 bool "Support MX31PDK (3DS)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100519 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
520 select IMX_HAVE_PLATFORM_IMX2_WDT
521 select IMX_HAVE_PLATFORM_IMX_I2C
522 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Fabio Estevam3ef7cf12012-05-21 16:09:06 -0300523 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100524 select IMX_HAVE_PLATFORM_IMX_UART
525 select IMX_HAVE_PLATFORM_IPU_CORE
526 select IMX_HAVE_PLATFORM_MXC_EHCI
Fabio Estevamd093d5b2011-09-14 14:04:38 -0300527 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100528 select IMX_HAVE_PLATFORM_MXC_NAND
529 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100530 select MXC_DEBUG_BOARD
Markus Pargmann794987a2013-06-06 14:41:57 +0200531 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100532 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100533 help
534 Include support for MX31PDK (3DS) platform. This includes specific
535 configurations for the board and its peripherals.
536
537config MACH_MX31_3DS_MXC_NAND_USE_BBT
538 bool "Make the MXC NAND driver use the in flash Bad Block Table"
539 depends on MACH_MX31_3DS
540 depends on MTD_NAND_MXC
541 help
542 Enable this if you want that the MXC NAND driver uses the in flash
543 Bad Block Table to know what blocks are bad instead of scanning the
544 entire flash looking for bad block markers.
545
546config MACH_MX31MOBOARD
547 bool "Support mx31moboard platforms (EPFL Mobots group)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100548 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Philippe Rétornaz31776fb2012-01-20 18:58:23 +0100549 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100550 select IMX_HAVE_PLATFORM_IMX_I2C
Philippe Rétornaz2f7b9452012-05-15 13:53:52 +0200551 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100552 select IMX_HAVE_PLATFORM_IMX_UART
553 select IMX_HAVE_PLATFORM_IPU_CORE
554 select IMX_HAVE_PLATFORM_MXC_EHCI
555 select IMX_HAVE_PLATFORM_MXC_MMC
556 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200557 select LEDS_GPIO_REGISTER
Markus Pargmann794987a2013-06-06 14:41:57 +0200558 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100559 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100560 help
561 Include support for mx31moboard platform. This includes specific
562 configurations for the board and its peripherals.
563
564config MACH_QONG
565 bool "Support Dave/DENX QongEVB-LITE platform"
Fabio Estevambbb43362011-09-19 10:59:46 -0300566 select IMX_HAVE_PLATFORM_IMX2_WDT
Russell Kingb1b3f492012-10-06 17:12:25 +0100567 select IMX_HAVE_PLATFORM_IMX_UART
568 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100569 help
570 Include support for Dave/DENX QongEVB-LITE platform. This includes
571 specific configurations for the board and its peripherals.
572
573config MACH_ARMADILLO5X0
574 bool "Support Atmark Armadillo-500 Development Base Board"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100575 select IMX_HAVE_PLATFORM_GPIO_KEYS
576 select IMX_HAVE_PLATFORM_IMX_I2C
577 select IMX_HAVE_PLATFORM_IMX_UART
578 select IMX_HAVE_PLATFORM_IPU_CORE
579 select IMX_HAVE_PLATFORM_MXC_EHCI
580 select IMX_HAVE_PLATFORM_MXC_MMC
581 select IMX_HAVE_PLATFORM_MXC_NAND
Markus Pargmann794987a2013-06-06 14:41:57 +0200582 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100583 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100584 help
585 Include support for Atmark Armadillo-500 platform. This includes
586 specific configurations for the board and its peripherals.
587
588config MACH_KZM_ARM11_01
589 bool "Support KZM-ARM11-01(Kyoto Microcomputer)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100590 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100591 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100592 help
593 Include support for KZM-ARM11-01. This includes specific
594 configurations for the board and its peripherals.
595
596config MACH_BUG
597 bool "Support Buglabs BUGBase platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100598 default y
Russell Kingb1b3f492012-10-06 17:12:25 +0100599 select IMX_HAVE_PLATFORM_IMX_UART
600 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100601 help
602 Include support for BUGBase 1.3 platform. This includes specific
603 configurations for the board and its peripherals.
604
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200605config MACH_IMX31_DT
606 bool "Support i.MX31 platforms from device tree"
607 select SOC_IMX31
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200608 help
609 Include support for Freescale i.MX31 based platforms
610 using the device tree for discovery.
611
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100612comment "MX35 platforms:"
613
614config MACH_PCM043
615 bool "Support Phytec pcm043 (i.MX35) platforms"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100616 select IMX_HAVE_PLATFORM_FLEXCAN
617 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
618 select IMX_HAVE_PLATFORM_IMX2_WDT
619 select IMX_HAVE_PLATFORM_IMX_I2C
620 select IMX_HAVE_PLATFORM_IMX_SSI
621 select IMX_HAVE_PLATFORM_IMX_UART
622 select IMX_HAVE_PLATFORM_IPU_CORE
623 select IMX_HAVE_PLATFORM_MXC_EHCI
624 select IMX_HAVE_PLATFORM_MXC_NAND
625 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200626 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100627 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100628 help
629 Include support for Phytec pcm043 platform. This includes
630 specific configurations for the board and its peripherals.
631
632config MACH_MX35_3DS
633 bool "Support MX35PDK platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100634 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
635 select IMX_HAVE_PLATFORM_IMX2_WDT
Marc Kleine-Budde8e3e26a2012-04-24 17:48:18 +0200636 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100637 select IMX_HAVE_PLATFORM_IMX_I2C
638 select IMX_HAVE_PLATFORM_IMX_UART
Marc Kleine-Budde8e3e26a2012-04-24 17:48:18 +0200639 select IMX_HAVE_PLATFORM_IPU_CORE
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100640 select IMX_HAVE_PLATFORM_MXC_EHCI
641 select IMX_HAVE_PLATFORM_MXC_NAND
Benoît Thébaudeauc6fd6d12012-07-04 16:36:28 +0200642 select IMX_HAVE_PLATFORM_MXC_RTC
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100643 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100644 select MXC_DEBUG_BOARD
645 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100646 help
647 Include support for MX35PDK platform. This includes specific
648 configurations for the board and its peripherals.
649
Eric Bénarda69aa722011-12-13 07:31:43 +0100650config MACH_EUKREA_CPUIMX35SD
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100651 bool "Support Eukrea CPUIMX35 Platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100652 select IMX_HAVE_PLATFORM_FLEXCAN
653 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
654 select IMX_HAVE_PLATFORM_IMX2_WDT
655 select IMX_HAVE_PLATFORM_IMX_I2C
656 select IMX_HAVE_PLATFORM_IMX_UART
657 select IMX_HAVE_PLATFORM_MXC_EHCI
658 select IMX_HAVE_PLATFORM_MXC_NAND
659 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200660 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100661 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100662 help
663 Include support for Eukrea CPUIMX35 platform. This includes
664 specific configurations for the board and its peripherals.
665
666choice
667 prompt "Baseboard"
Eric Bénarda69aa722011-12-13 07:31:43 +0100668 depends on MACH_EUKREA_CPUIMX35SD
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100669 default MACH_EUKREA_MBIMXSD35_BASEBOARD
670
671config MACH_EUKREA_MBIMXSD35_BASEBOARD
672 bool "Eukrea MBIMXSD development board"
673 select IMX_HAVE_PLATFORM_GPIO_KEYS
674 select IMX_HAVE_PLATFORM_IMX_SSI
675 select IMX_HAVE_PLATFORM_IPU_CORE
Eric Bénard0e189852012-05-08 09:20:19 +0200676 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200677 select LEDS_GPIO_REGISTER
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100678 help
679 This adds board specific devices that can be found on Eukrea's
680 MBIMXSD evaluation board.
681
682endchoice
683
684config MACH_VPR200
685 bool "Support VPR200 platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100686 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
687 select IMX_HAVE_PLATFORM_GPIO_KEYS
688 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100689 select IMX_HAVE_PLATFORM_IMX_I2C
Russell Kingb1b3f492012-10-06 17:12:25 +0100690 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100691 select IMX_HAVE_PLATFORM_IPU_CORE
692 select IMX_HAVE_PLATFORM_MXC_EHCI
693 select IMX_HAVE_PLATFORM_MXC_NAND
694 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100695 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100696 help
697 Include support for VPR200 platform. This includes specific
698 configurations for the board and its peripherals.
699
Shawn Guoc5a0d492012-09-17 09:38:39 +0800700endif
701
702if ARCH_MULTI_V7
703
Sascha Hauer784a90c2011-11-07 12:36:48 +0100704comment "i.MX51 machines:"
705
706config MACH_IMX51_DT
707 bool "Support i.MX51 platforms from device tree"
Russell Kingb1b3f492012-10-06 17:12:25 +0100708 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100709 help
710 Include support for Freescale i.MX51 based platforms
711 using the device tree for discovery
712
713config MACH_MX51_BABBAGE
714 bool "Support MX51 BABBAGE platforms"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100715 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
716 select IMX_HAVE_PLATFORM_IMX2_WDT
717 select IMX_HAVE_PLATFORM_IMX_I2C
718 select IMX_HAVE_PLATFORM_IMX_UART
719 select IMX_HAVE_PLATFORM_MXC_EHCI
720 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
721 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100722 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100723 help
724 Include support for MX51 Babbage platform, also known as MX51EVK in
725 u-boot. This includes specific configurations for the board and its
726 peripherals.
727
Sascha Hauer784a90c2011-11-07 12:36:48 +0100728config MACH_EUKREA_CPUIMX51SD
729 bool "Support Eukrea CPUIMX51SD module"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100730 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Russell Kingb1b3f492012-10-06 17:12:25 +0100731 select IMX_HAVE_PLATFORM_IMX2_WDT
Sascha Hauer784a90c2011-11-07 12:36:48 +0100732 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_MXC_NAND
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 Eukrea CPUIMX51SD platform. This includes
740 specific configurations for the module and its peripherals.
741
742choice
743 prompt "Baseboard"
744 depends on MACH_EUKREA_CPUIMX51SD
745 default MACH_EUKREA_MBIMXSD51_BASEBOARD
746
747config MACH_EUKREA_MBIMXSD51_BASEBOARD
748 prompt "Eukrea MBIMXSD development board"
749 bool
Eric Bénard932d67d2012-05-08 09:20:22 +0200750 select IMX_HAVE_PLATFORM_IMX_SSI
Sascha Hauer784a90c2011-11-07 12:36:48 +0100751 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
752 select LEDS_GPIO_REGISTER
753 help
754 This adds board specific devices that can be found on Eukrea's
755 MBIMXSD evaluation board.
756
757endchoice
758
Shawn Guo442279d2012-08-12 23:21:39 +0800759comment "Device tree only"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100760
Greg Ungerer361b0a42013-10-29 15:15:54 +1000761config SOC_IMX50
762 bool "i.MX50 support"
763 select HAVE_IMX_SRC
Shawn Guof7f3d4b2013-11-16 22:25:02 +0800764 select PINCTRL_IMX50
Greg Ungerer361b0a42013-10-29 15:15:54 +1000765 select SOC_IMX5
766
767 help
768 This enables support for Freescale i.MX50 processor.
769
Shawn Guo442279d2012-08-12 23:21:39 +0800770config SOC_IMX53
771 bool "i.MX53 support"
Philipp Zabelbd3d9242013-03-28 17:35:22 +0100772 select HAVE_IMX_SRC
Roland Stigge48b797a2012-10-25 13:28:33 +0200773 select IMX_HAVE_PLATFORM_IMX2_WDT
Shawn Guo442279d2012-08-12 23:21:39 +0800774 select PINCTRL_IMX53
Russell Kingb1b3f492012-10-06 17:12:25 +0100775 select SOC_IMX5
Shawn Guo442279d2012-08-12 23:21:39 +0800776
Sascha Hauer784a90c2011-11-07 12:36:48 +0100777 help
Shawn Guo442279d2012-08-12 23:21:39 +0800778 This enables support for Freescale i.MX53 processor.
Shawn Guobac89d72011-10-02 15:09:11 +0800779
780config SOC_IMX6Q
Shawn Guo3c03a2f2013-04-01 22:13:32 +0800781 bool "i.MX6 Quad/DualLite support"
Shawn Guod90df972012-07-19 23:16:30 +0800782 select ARCH_HAS_CPUFREQ
783 select ARCH_HAS_OPP
Shawn Guo96efb442012-10-23 19:44:34 +0800784 select ARM_ERRATA_754322
785 select ARM_ERRATA_764369 if SMP
786 select ARM_ERRATA_775420
Shawn Guobac89d72011-10-02 15:09:11 +0800787 select ARM_GIC
Shawn Guobac89d72011-10-02 15:09:11 +0800788 select CPU_V7
Stephen Boyd4c3ffff2013-02-27 15:28:14 -0800789 select HAVE_ARM_SCU if SMP
Stephen Boyda894fcc2013-02-15 16:02:20 -0800790 select HAVE_ARM_TWD if SMP
Anson Huange95dddb2013-03-20 19:39:42 -0400791 select HAVE_IMX_ANATOP
Shawn Guo9fbbe682011-09-06 14:39:44 +0800792 select HAVE_IMX_GPC
793 select HAVE_IMX_MMDC
Shawn Guoaec99b72013-01-11 22:08:27 +0800794 select HAVE_IMX_SRC
Dave Martin3b556582011-12-07 15:38:04 +0000795 select HAVE_SMP
Dong Aishengbaa64152012-09-05 10:57:15 +0800796 select MFD_SYSCON
Sean Cross74b80312013-09-26 10:45:35 +0800797 select MIGHT_HAVE_PCI
798 select PCI_DOMAINS if PCI
Dong Aisheng32329a22012-05-02 19:31:21 +0800799 select PINCTRL_IMX6Q
Shawn Guo96efb442012-10-23 19:44:34 +0800800 select PL310_ERRATA_588369 if CACHE_PL310
801 select PL310_ERRATA_727915 if CACHE_PL310
802 select PL310_ERRATA_769419 if CACHE_PL310
Shawn Guod90df972012-07-19 23:16:30 +0800803 select PM_OPP if PM
Shawn Guobac89d72011-10-02 15:09:11 +0800804
805 help
806 This enables support for Freescale i.MX6 Quad processor.
807
Shawn Guo31a2fbf2013-05-03 11:24:47 +0800808config SOC_IMX6SL
809 bool "i.MX6 SoloLite support"
810 select ARM_ERRATA_754322
811 select ARM_ERRATA_775420
812 select ARM_GIC
813 select CPU_V7
814 select HAVE_IMX_ANATOP
815 select HAVE_IMX_GPC
816 select HAVE_IMX_MMDC
817 select HAVE_IMX_SRC
Arnd Bergmann06264942013-06-03 15:46:53 +0200818 select MFD_SYSCON
Shawn Guo31a2fbf2013-05-03 11:24:47 +0800819 select PINCTRL_IMX6SL
820 select PL310_ERRATA_588369 if CACHE_PL310
821 select PL310_ERRATA_727915 if CACHE_PL310
822 select PL310_ERRATA_769419 if CACHE_PL310
823
824 help
825 This enables support for Freescale i.MX6 SoloLite processor.
826
Jingchang Lu5be913c2013-05-28 17:12:21 +0800827config SOC_VF610
828 bool "Vybrid Family VF610 support"
829 select CPU_V7
830 select ARM_GIC
831 select CLKSRC_OF
Jingchang Lu5be913c2013-05-28 17:12:21 +0800832 select PINCTRL_VF610
833 select VF_PIT_TIMER
834 select PL310_ERRATA_588369 if CACHE_PL310
835 select PL310_ERRATA_727915 if CACHE_PL310
836 select PL310_ERRATA_769419 if CACHE_PL310
837
838 help
839 This enable support for Freescale Vybrid VF610 processor.
840
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100841endif
Shawn Guoe0557c02012-09-13 15:51:15 +0800842
843source "arch/arm/mach-imx/devices/Kconfig"
Shawn Guo3995eb82012-09-13 19:48:07 +0800844
Shawn Guoc5a0d492012-09-17 09:38:39 +0800845endmenu