blob: ba44328464f37c0cdce9eb9039fcfce8ad8dc743 [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
59config MXC_ULPI
60 bool
61
62config 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
Marc Kleine-Budde610578a2012-07-02 11:03:00 +0200114 select HAVE_CAN_FLEXCAN if CAN
Sascha Hauerc7259df2010-11-05 09:37:22 +0100115 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100116
117config SOC_IMX27
118 bool
Markus Pargmann68663102013-03-27 14:01:31 +0100119 select ARCH_HAS_CPUFREQ
120 select ARCH_HAS_OPP
Sascha Hauere038ed52012-03-09 09:11:46 +0100121 select COMMON_CLK
Russell Kingb1b3f492012-10-06 17:12:25 +0100122 select CPU_ARM926T
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100123 select IMX_HAVE_IOMUX_V1
Russell Kingb1b3f492012-10-06 17:12:25 +0100124 select MACH_MX27
Sascha Hauerc7259df2010-11-05 09:37:22 +0100125 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100126
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100127config SOC_IMX31
128 bool
Russell Kingb1b3f492012-10-06 17:12:25 +0100129 select COMMON_CLK
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100130 select CPU_V6
131 select IMX_HAVE_PLATFORM_MXC_RNGA
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100132 select MXC_AVIC
Sascha Hauera89cf592011-09-27 13:48:02 +0800133 select SMP_ON_UP if SMP
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100134
135config SOC_IMX35
136 bool
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100137 select ARCH_MXC_IOMUX_V3
Sascha Hauer5b48a612012-04-03 12:41:13 +0200138 select COMMON_CLK
Russell Kingb1b3f492012-10-06 17:12:25 +0100139 select CPU_V6K
140 select HAVE_CAN_FLEXCAN if CAN
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100141 select HAVE_EPIT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100142 select MXC_AVIC
Sascha Hauera89cf592011-09-27 13:48:02 +0800143 select SMP_ON_UP if SMP
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100144
Sascha Hauer784a90c2011-11-07 12:36:48 +0100145config SOC_IMX5
Russell Kingb1b3f492012-10-06 17:12:25 +0100146 bool
Sascha Hauer784a90c2011-11-07 12:36:48 +0100147 select ARCH_HAS_CPUFREQ
Markus Pargmann68663102013-03-27 14:01:31 +0100148 select ARCH_HAS_OPP
Russell Kingb1b3f492012-10-06 17:12:25 +0100149 select ARCH_MXC_IOMUX_V3
150 select COMMON_CLK
151 select CPU_V7
152 select MXC_TZIC
Sascha Hauer784a90c2011-11-07 12:36:48 +0100153
Sascha Hauer784a90c2011-11-07 12:36:48 +0100154config SOC_IMX51
155 bool
Philipp Zabelbd3d9242013-03-28 17:35:22 +0100156 select HAVE_IMX_SRC
Shawn Guob6798f82012-08-13 19:55:37 +0800157 select PINCTRL
158 select PINCTRL_IMX51
Russell Kingb1b3f492012-10-06 17:12:25 +0100159 select SOC_IMX5
Sascha Hauer784a90c2011-11-07 12:36:48 +0100160
Shawn Guoc5a0d492012-09-17 09:38:39 +0800161if ARCH_MULTI_V4T
Uwe Kleine-Könige780d232010-06-14 17:39:21 +0200162
Uwe Kleine-König07469492010-06-14 15:56:58 +0200163comment "MX1 platforms:"
164config MACH_MXLADS
165 bool
166
167config ARCH_MX1ADS
168 bool "MX1ADS platform"
Uwe Kleine-König6348e6b2010-06-16 15:26:07 +0200169 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd112f4e2010-06-22 14:50:59 +0200170 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100171 select MACH_MXLADS
172 select SOC_IMX1
Uwe Kleine-König07469492010-06-14 15:56:58 +0200173 help
174 Say Y here if you are using Motorola MX1ADS/MXLADS boards
175
176config MACH_SCB9328
177 bool "Synertronixx scb9328"
Uwe Kleine-Königd112f4e2010-06-22 14:50:59 +0200178 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König07469492010-06-14 15:56:58 +0200179 help
180 Say Y here if you are using a Synertronixx scb9328 board
181
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000182config MACH_APF9328
183 bool "APF9328"
Gwenhael Goavec-Merou7a994812011-10-08 17:19:49 +0200184 select IMX_HAVE_PLATFORM_IMX_I2C
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000185 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100186 select SOC_IMX1
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000187 help
188 Say Yes here if you are using the Armadeus APF9328 development board
189
Shawn Guoc5a0d492012-09-17 09:38:39 +0800190endif
191
192if ARCH_MULTI_V5
193
Uwe Kleine-Königb6b06be2010-06-14 16:56:46 +0200194comment "MX21 platforms:"
Juergen Beisert80eedae2008-07-05 10:03:00 +0200195
Ivo Clarysse6b91edd2009-04-15 15:39:27 +0200196config MACH_MX21ADS
197 bool "MX21ADS platform"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100198 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König3c5227f2010-06-22 17:59:58 +0200199 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100200 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König1f8d7212010-06-16 11:17:45 +0200201 select IMX_HAVE_PLATFORM_MXC_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100202 select SOC_IMX21
Ivo Clarysse6b91edd2009-04-15 15:39:27 +0200203 help
204 Include support for MX21ADS platform. This includes specific
205 configurations for the board and its peripherals.
206
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100207comment "MX25 platforms:"
208
209config MACH_MX25_3DS
210 bool "Support MX25PDK (3DS) Platform"
Fabio Estevam91dcc7f2011-07-08 14:59:50 -0300211 select IMX_HAVE_PLATFORM_FLEXCAN
Fabio Estevam460d30a2010-12-22 12:25:32 -0200212 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100213 select IMX_HAVE_PLATFORM_IMX2_WDT
214 select IMX_HAVE_PLATFORM_IMXDI_RTC
215 select IMX_HAVE_PLATFORM_IMX_FB
Russell Kingb1b3f492012-10-06 17:12:25 +0100216 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100217 select IMX_HAVE_PLATFORM_IMX_KEYPAD
218 select IMX_HAVE_PLATFORM_IMX_UART
219 select IMX_HAVE_PLATFORM_MXC_EHCI
220 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100221 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100222 select SOC_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100223
Eric Bénard01dd5202011-12-13 07:31:35 +0100224config MACH_EUKREA_CPUIMX25SD
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100225 bool "Support Eukrea CPUIMX25 Platform"
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100226 select IMX_HAVE_PLATFORM_FLEXCAN
227 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Eric Bénard4692cba2012-05-08 09:20:18 +0200228 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100229 select IMX_HAVE_PLATFORM_IMXDI_RTC
230 select IMX_HAVE_PLATFORM_IMX_FB
231 select IMX_HAVE_PLATFORM_IMX_I2C
232 select IMX_HAVE_PLATFORM_IMX_UART
233 select IMX_HAVE_PLATFORM_MXC_EHCI
234 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100235 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100236 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100237 select SOC_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100238
239choice
240 prompt "Baseboard"
Eric Bénard01dd5202011-12-13 07:31:35 +0100241 depends on MACH_EUKREA_CPUIMX25SD
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100242 default MACH_EUKREA_MBIMXSD25_BASEBOARD
243
244config MACH_EUKREA_MBIMXSD25_BASEBOARD
245 bool "Eukrea MBIMXSD development board"
Uwe Kleine-König53094982011-02-28 18:04:33 +0100246 select IMX_HAVE_PLATFORM_GPIO_KEYS
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100247 select IMX_HAVE_PLATFORM_IMX_SSI
Eric Bénard49ed9402012-05-08 09:20:17 +0200248 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200249 select LEDS_GPIO_REGISTER
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100250 help
251 This adds board specific devices that can be found on Eukrea's
252 MBIMXSD evaluation board.
253
254endchoice
255
Sascha Haueref4bac52012-09-20 14:59:36 +0200256config MACH_IMX25_DT
257 bool "Support i.MX25 platforms from device tree"
258 select SOC_IMX25
259 help
260 Include support for Freescale i.MX25 based platforms
261 using the device tree for discovery
262
Uwe Kleine-Königb6b06be2010-06-14 16:56:46 +0200263comment "MX27 platforms:"
264
Juergen Beisert80eedae2008-07-05 10:03:00 +0200265config MACH_MX27ADS
266 bool "MX27ADS platform"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100267 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200268 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200269 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100270 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200271 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200272 select IMX_HAVE_PLATFORM_MXC_W1
Russell Kingb1b3f492012-10-06 17:12:25 +0100273 select SOC_IMX27
Juergen Beisert80eedae2008-07-05 10:03:00 +0200274 help
275 Include support for MX27ADS platform. This includes specific
276 configurations for the board and its peripherals.
Juergen Beisert7e5e9f52008-07-05 10:03:00 +0200277
278config MACH_PCM038
279 bool "Phytec phyCORE-i.MX27 CPU module (pcm038)"
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100280 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200281 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200282 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100283 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200284 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200285 select IMX_HAVE_PLATFORM_MXC_W1
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200286 select IMX_HAVE_PLATFORM_SPI_IMX
Sascha Hauer773f2062010-02-03 17:13:41 +0100287 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100288 select SOC_IMX27
Juergen Beisert7e5e9f52008-07-05 10:03:00 +0200289 help
290 Include support for phyCORE-i.MX27 (aka pcm038) platform. This
291 includes specific configurations for the module and its peripherals.
Juergen Beisertff6552e2008-07-05 10:03:01 +0200292
293choice
294 prompt "Baseboard"
295 depends on MACH_PCM038
296 default MACH_PCM970_BASEBOARD
297
298config MACH_PCM970_BASEBOARD
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100299 bool "PHYTEC PCM970 development board"
300 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100301 select IMX_HAVE_PLATFORM_MXC_MMC
Juergen Beisertff6552e2008-07-05 10:03:01 +0200302 help
303 This adds board specific devices that can be found on Phytec's
304 PCM970 evaluation board.
305
306endchoice
Holger Schurig6bbdbf22009-01-29 14:42:25 +0100307
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100308config MACH_CPUIMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200309 bool "Eukrea CPUIMX27 module"
Uwe Kleine-Königbd455ed2010-11-09 17:52:14 +0100310 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100311 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200312 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200313 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100314 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200315 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200316 select IMX_HAVE_PLATFORM_MXC_W1
Eric Bénard22377ec2010-10-08 10:37:40 +0200317 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100318 select SOC_IMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200319 help
320 Include support for Eukrea CPUIMX27 platform. This includes
321 specific configurations for the module and its peripherals.
322
323config MACH_EUKREA_CPUIMX27_USESDHC2
324 bool "CPUIMX27 integrates SDHC2 module"
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100325 depends on MACH_CPUIMX27
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100326 select IMX_HAVE_PLATFORM_MXC_MMC
Eric Benardaf5b1df2009-07-16 16:26:33 +0200327 help
Eric Bénard2d66c782010-05-19 18:45:59 +0200328 This adds support for the internal SDHC2 used on CPUIMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200329 for wifi or eMMC.
330
Eric Bénard2d66c782010-05-19 18:45:59 +0200331config MACH_EUKREA_CPUIMX27_USEUART4
332 bool "CPUIMX27 integrates UART4 module"
333 depends on MACH_CPUIMX27
334 help
335 This adds support for the internal UART4 used on CPUIMX27
336 for bluetooth.
337
Eric Benarda961bf32009-07-16 16:26:34 +0200338choice
339 prompt "Baseboard"
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100340 depends on MACH_CPUIMX27
Eric Benarda961bf32009-07-16 16:26:34 +0200341 default MACH_EUKREA_MBIMX27_BASEBOARD
342
343config MACH_EUKREA_MBIMX27_BASEBOARD
Uwe Kleine-König4697bb922010-08-25 17:37:45 +0200344 bool "Eukrea MBIMX27 development board"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100345 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König3f880142010-11-10 09:58:56 +0100346 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Uwe Kleine-König4697bb922010-08-25 17:37:45 +0200347 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200348 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100349 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200350 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200351 select LEDS_GPIO_REGISTER
Eric Benarda961bf32009-07-16 16:26:34 +0200352 help
353 This adds board specific devices that can be found on Eukrea's
354 MBIMX27 evaluation board.
355
356endchoice
357
Fabio Estevamec9be0d2009-04-16 12:45:01 -0700358config MACH_MX27_3DS
359 bool "MX27PDK platform"
Fabio Estevam96cf4232010-12-22 12:25:31 -0200360 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Fabio Estevam8be92522010-12-07 17:14:45 -0200361 select IMX_HAVE_PLATFORM_IMX2_WDT
Fabio Estevam1abcb4c2011-06-22 09:25:25 -0300362 select IMX_HAVE_PLATFORM_IMX_FB
Fabio Estevam5885f032011-03-01 16:59:46 -0300363 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König3f880142010-11-10 09:58:56 +0100364 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Fabio Estevam688b5cb2012-07-03 15:44:57 -0300365 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200366 select IMX_HAVE_PLATFORM_IMX_UART
Fabio Estevam4c11c282012-02-15 19:36:10 -0200367 select IMX_HAVE_PLATFORM_MX2_CAMERA
Fabio Estevam96cf4232010-12-22 12:25:31 -0200368 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100369 select IMX_HAVE_PLATFORM_MXC_MMC
Fabio Estevamc67a3e02011-01-03 11:16:39 -0200370 select IMX_HAVE_PLATFORM_SPI_IMX
Fabio Estevam92cb33f2011-01-10 18:17:37 -0200371 select MXC_DEBUG_BOARD
Fabio Estevam96cf4232010-12-22 12:25:31 -0200372 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100373 select SOC_IMX27
Fabio Estevamec9be0d2009-04-16 12:45:01 -0700374 help
375 Include support for MX27PDK platform. This includes specific
376 configurations for the board and its peripherals.
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400377
Javier Martin3b161e52010-07-30 10:06:01 +0200378config MACH_IMX27_VISSTRIM_M10
379 bool "Vista Silicon i.MX27 Visstrim_m10"
Uwe Kleine-König53094982011-02-28 18:04:33 +0100380 select IMX_HAVE_PLATFORM_GPIO_KEYS
Javier Martin3b161e52010-07-30 10:06:01 +0200381 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König5658bff2011-03-18 12:24:08 +0100382 select IMX_HAVE_PLATFORM_IMX_SSI
Javier Martin3b161e52010-07-30 10:06:01 +0200383 select IMX_HAVE_PLATFORM_IMX_UART
Javier Martinf52f5a52012-02-28 17:31:51 +0100384 select IMX_HAVE_PLATFORM_MX2_CAMERA
Gaëtan Carlier3ab3a352012-09-05 13:06:15 +0200385 select IMX_HAVE_PLATFORM_MX2_EMMA
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100386 select IMX_HAVE_PLATFORM_MXC_EHCI
Javier Martin32189132012-02-28 17:31:48 +0100387 select IMX_HAVE_PLATFORM_MXC_MMC
Javier Martinacb64642012-02-29 13:17:33 +0100388 select LEDS_GPIO_REGISTER
Russell Kingb1b3f492012-10-06 17:12:25 +0100389 select SOC_IMX27
Javier Martin3b161e52010-07-30 10:06:01 +0200390 help
391 Include support for Visstrim_m10 platform and its different variants.
392 This includes specific configurations for the board and its
393 peripherals.
394
Uwe Kleine-Königf747f932009-12-10 10:25:07 +0100395config MACH_IMX27LITE
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400396 bool "LogicPD MX27 LITEKIT platform"
Javier Martina5e20512011-03-01 15:02:08 +0100397 select IMX_HAVE_PLATFORM_IMX_SSI
Russell Kingb1b3f492012-10-06 17:12:25 +0100398 select IMX_HAVE_PLATFORM_IMX_UART
399 select SOC_IMX27
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400400 help
401 Include support for MX27 LITEKIT platform. This includes specific
402 configurations for the board and its peripherals.
403
Luotao Fu33731692009-08-06 11:19:39 +0200404config MACH_PCA100
405 bool "Phytec phyCARD-s (pca100)"
Uwe Kleine-Königbd455ed2010-11-09 17:52:14 +0100406 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100407 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100408 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200409 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König4697bb922010-08-25 17:37:45 +0200410 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200411 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100412 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100413 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200414 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200415 select IMX_HAVE_PLATFORM_MXC_W1
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200416 select IMX_HAVE_PLATFORM_SPI_IMX
Sascha Hauereee7c492010-02-03 17:13:29 +0100417 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100418 select SOC_IMX27
Luotao Fu33731692009-08-06 11:19:39 +0200419 help
420 Include support for phyCARD-s (aka pca100) platform. This
421 includes specific configurations for the module and its peripherals.
422
Alan Carvalho de Assis143a1792009-11-25 15:24:50 -0200423config MACH_MXT_TD60
424 bool "Maxtrack i-MXT TD60"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100425 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200426 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200427 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100428 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200429 select IMX_HAVE_PLATFORM_MXC_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100430 select SOC_IMX27
Alan Carvalho de Assis143a1792009-11-25 15:24:50 -0200431 help
432 Include support for i-MXT (aka td60) platform. This
433 includes specific configurations for the module and its peripherals.
434
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200435config MACH_IMX27IPCAM
436 bool "IMX27 IPCAM platform"
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200437 select IMX_HAVE_PLATFORM_IMX2_WDT
438 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100439 select SOC_IMX27
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200440 help
441 Include support for IMX27 IPCAM platform. This includes specific
442 configurations for the board and its peripherals.
443
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100444config MACH_IMX27_DT
445 bool "Support i.MX27 platforms from device tree"
446 select SOC_IMX27
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100447 help
448 Include support for Freescale i.MX27 based platforms
449 using the device tree for discovery
450
Holger Schurig6bbdbf22009-01-29 14:42:25 +0100451endif
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100452
Shawn Guoc5a0d492012-09-17 09:38:39 +0800453if ARCH_MULTI_V6
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100454
455comment "MX31 platforms:"
456
457config MACH_MX31ADS
458 bool "Support MX31ADS platforms"
Russell Kingb1b3f492012-10-06 17:12:25 +0100459 default y
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100460 select IMX_HAVE_PLATFORM_IMX_I2C
461 select IMX_HAVE_PLATFORM_IMX_SSI
462 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100463 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100464 help
465 Include support for MX31ADS platform. This includes specific
466 configurations for the board and its peripherals.
467
468config MACH_MX31ADS_WM1133_EV1
469 bool "Support Wolfson Microelectronics 1133-EV1 module"
470 depends on MACH_MX31ADS
471 depends on MFD_WM8350_I2C
Arnd Bergmann69eb3832013-02-14 17:45:58 +0100472 depends on REGULATOR_WM8350 = y
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100473 help
474 Include support for the Wolfson Microelectronics 1133-EV1 PMU
475 and audio module for the MX31ADS platform.
476
477config MACH_MX31LILLY
478 bool "Support MX31 LILLY-1131 platforms (INCO startec)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100479 select IMX_HAVE_PLATFORM_IMX_UART
480 select IMX_HAVE_PLATFORM_IPU_CORE
481 select IMX_HAVE_PLATFORM_MXC_EHCI
482 select IMX_HAVE_PLATFORM_MXC_MMC
483 select IMX_HAVE_PLATFORM_SPI_IMX
484 select MXC_ULPI 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 based LILLY1131 modules. This includes
488 specific configurations for the board and its peripherals.
489
490config MACH_MX31LITE
491 bool "Support MX31 LITEKIT (LogicPD)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100492 select IMX_HAVE_PLATFORM_IMX2_WDT
493 select IMX_HAVE_PLATFORM_IMX_UART
494 select IMX_HAVE_PLATFORM_MXC_EHCI
495 select IMX_HAVE_PLATFORM_MXC_MMC
496 select IMX_HAVE_PLATFORM_MXC_NAND
497 select IMX_HAVE_PLATFORM_MXC_RTC
498 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200499 select LEDS_GPIO_REGISTER
Russell Kingb1b3f492012-10-06 17:12:25 +0100500 select MXC_ULPI if USB_ULPI
501 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100502 help
503 Include support for MX31 LITEKIT platform. This includes specific
504 configurations for the board and its peripherals.
505
506config MACH_PCM037
507 bool "Support Phytec pcm037 (i.MX31) platforms"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100508 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
509 select IMX_HAVE_PLATFORM_IMX2_WDT
510 select IMX_HAVE_PLATFORM_IMX_I2C
511 select IMX_HAVE_PLATFORM_IMX_UART
512 select IMX_HAVE_PLATFORM_IPU_CORE
513 select IMX_HAVE_PLATFORM_MXC_EHCI
514 select IMX_HAVE_PLATFORM_MXC_MMC
515 select IMX_HAVE_PLATFORM_MXC_NAND
516 select IMX_HAVE_PLATFORM_MXC_W1
517 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100518 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100519 help
520 Include support for Phytec pcm037 platform. This includes
521 specific configurations for the board and its peripherals.
522
523config MACH_PCM037_EET
524 bool "Support pcm037 EET board extensions"
525 depends on MACH_PCM037
526 select IMX_HAVE_PLATFORM_GPIO_KEYS
527 select IMX_HAVE_PLATFORM_SPI_IMX
528 help
529 Add support for PCM037 EET baseboard extensions. If you are using the
530 OLED display with EET, use "video=mx3fb:CMEL-OLED" kernel
531 command-line parameter.
532
533config MACH_MX31_3DS
534 bool "Support MX31PDK (3DS)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100535 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
536 select IMX_HAVE_PLATFORM_IMX2_WDT
537 select IMX_HAVE_PLATFORM_IMX_I2C
538 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Fabio Estevam3ef7cf12012-05-21 16:09:06 -0300539 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100540 select IMX_HAVE_PLATFORM_IMX_UART
541 select IMX_HAVE_PLATFORM_IPU_CORE
542 select IMX_HAVE_PLATFORM_MXC_EHCI
Fabio Estevamd093d5b2011-09-14 14:04:38 -0300543 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100544 select IMX_HAVE_PLATFORM_MXC_NAND
545 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100546 select MXC_DEBUG_BOARD
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100547 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100548 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100549 help
550 Include support for MX31PDK (3DS) platform. This includes specific
551 configurations for the board and its peripherals.
552
553config MACH_MX31_3DS_MXC_NAND_USE_BBT
554 bool "Make the MXC NAND driver use the in flash Bad Block Table"
555 depends on MACH_MX31_3DS
556 depends on MTD_NAND_MXC
557 help
558 Enable this if you want that the MXC NAND driver uses the in flash
559 Bad Block Table to know what blocks are bad instead of scanning the
560 entire flash looking for bad block markers.
561
562config MACH_MX31MOBOARD
563 bool "Support mx31moboard platforms (EPFL Mobots group)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100564 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Philippe Rétornaz31776fb2012-01-20 18:58:23 +0100565 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100566 select IMX_HAVE_PLATFORM_IMX_I2C
Philippe Rétornaz2f7b9452012-05-15 13:53:52 +0200567 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100568 select IMX_HAVE_PLATFORM_IMX_UART
569 select IMX_HAVE_PLATFORM_IPU_CORE
570 select IMX_HAVE_PLATFORM_MXC_EHCI
571 select IMX_HAVE_PLATFORM_MXC_MMC
572 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200573 select LEDS_GPIO_REGISTER
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100574 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100575 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100576 help
577 Include support for mx31moboard platform. This includes specific
578 configurations for the board and its peripherals.
579
580config MACH_QONG
581 bool "Support Dave/DENX QongEVB-LITE platform"
Fabio Estevambbb43362011-09-19 10:59:46 -0300582 select IMX_HAVE_PLATFORM_IMX2_WDT
Russell Kingb1b3f492012-10-06 17:12:25 +0100583 select IMX_HAVE_PLATFORM_IMX_UART
584 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100585 help
586 Include support for Dave/DENX QongEVB-LITE platform. This includes
587 specific configurations for the board and its peripherals.
588
589config MACH_ARMADILLO5X0
590 bool "Support Atmark Armadillo-500 Development Base Board"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100591 select IMX_HAVE_PLATFORM_GPIO_KEYS
592 select IMX_HAVE_PLATFORM_IMX_I2C
593 select IMX_HAVE_PLATFORM_IMX_UART
594 select IMX_HAVE_PLATFORM_IPU_CORE
595 select IMX_HAVE_PLATFORM_MXC_EHCI
596 select IMX_HAVE_PLATFORM_MXC_MMC
597 select IMX_HAVE_PLATFORM_MXC_NAND
598 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100599 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100600 help
601 Include support for Atmark Armadillo-500 platform. This includes
602 specific configurations for the board and its peripherals.
603
604config MACH_KZM_ARM11_01
605 bool "Support KZM-ARM11-01(Kyoto Microcomputer)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100606 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100607 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100608 help
609 Include support for KZM-ARM11-01. This includes specific
610 configurations for the board and its peripherals.
611
612config MACH_BUG
613 bool "Support Buglabs BUGBase platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100614 default y
Russell Kingb1b3f492012-10-06 17:12:25 +0100615 select IMX_HAVE_PLATFORM_IMX_UART
616 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100617 help
618 Include support for BUGBase 1.3 platform. This includes specific
619 configurations for the board and its peripherals.
620
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200621config MACH_IMX31_DT
622 bool "Support i.MX31 platforms from device tree"
623 select SOC_IMX31
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200624 help
625 Include support for Freescale i.MX31 based platforms
626 using the device tree for discovery.
627
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100628comment "MX35 platforms:"
629
630config MACH_PCM043
631 bool "Support Phytec pcm043 (i.MX35) platforms"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100632 select IMX_HAVE_PLATFORM_FLEXCAN
633 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
634 select IMX_HAVE_PLATFORM_IMX2_WDT
635 select IMX_HAVE_PLATFORM_IMX_I2C
636 select IMX_HAVE_PLATFORM_IMX_SSI
637 select IMX_HAVE_PLATFORM_IMX_UART
638 select IMX_HAVE_PLATFORM_IPU_CORE
639 select IMX_HAVE_PLATFORM_MXC_EHCI
640 select IMX_HAVE_PLATFORM_MXC_NAND
641 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
642 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100643 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100644 help
645 Include support for Phytec pcm043 platform. This includes
646 specific configurations for the board and its peripherals.
647
648config MACH_MX35_3DS
649 bool "Support MX35PDK platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100650 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
651 select IMX_HAVE_PLATFORM_IMX2_WDT
Marc Kleine-Budde8e3e26a2012-04-24 17:48:18 +0200652 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100653 select IMX_HAVE_PLATFORM_IMX_I2C
654 select IMX_HAVE_PLATFORM_IMX_UART
Marc Kleine-Budde8e3e26a2012-04-24 17:48:18 +0200655 select IMX_HAVE_PLATFORM_IPU_CORE
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100656 select IMX_HAVE_PLATFORM_MXC_EHCI
657 select IMX_HAVE_PLATFORM_MXC_NAND
Benoît Thébaudeauc6fd6d12012-07-04 16:36:28 +0200658 select IMX_HAVE_PLATFORM_MXC_RTC
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100659 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100660 select MXC_DEBUG_BOARD
661 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100662 help
663 Include support for MX35PDK platform. This includes specific
664 configurations for the board and its peripherals.
665
Eric Bénarda69aa722011-12-13 07:31:43 +0100666config MACH_EUKREA_CPUIMX35SD
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100667 bool "Support Eukrea CPUIMX35 Platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100668 select IMX_HAVE_PLATFORM_FLEXCAN
669 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
670 select IMX_HAVE_PLATFORM_IMX2_WDT
671 select IMX_HAVE_PLATFORM_IMX_I2C
672 select IMX_HAVE_PLATFORM_IMX_UART
673 select IMX_HAVE_PLATFORM_MXC_EHCI
674 select IMX_HAVE_PLATFORM_MXC_NAND
675 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
676 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100677 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100678 help
679 Include support for Eukrea CPUIMX35 platform. This includes
680 specific configurations for the board and its peripherals.
681
682choice
683 prompt "Baseboard"
Eric Bénarda69aa722011-12-13 07:31:43 +0100684 depends on MACH_EUKREA_CPUIMX35SD
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100685 default MACH_EUKREA_MBIMXSD35_BASEBOARD
686
687config MACH_EUKREA_MBIMXSD35_BASEBOARD
688 bool "Eukrea MBIMXSD development board"
689 select IMX_HAVE_PLATFORM_GPIO_KEYS
690 select IMX_HAVE_PLATFORM_IMX_SSI
691 select IMX_HAVE_PLATFORM_IPU_CORE
Eric Bénard0e189852012-05-08 09:20:19 +0200692 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200693 select LEDS_GPIO_REGISTER
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100694 help
695 This adds board specific devices that can be found on Eukrea's
696 MBIMXSD evaluation board.
697
698endchoice
699
700config MACH_VPR200
701 bool "Support VPR200 platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100702 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
703 select IMX_HAVE_PLATFORM_GPIO_KEYS
704 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100705 select IMX_HAVE_PLATFORM_IMX_I2C
Russell Kingb1b3f492012-10-06 17:12:25 +0100706 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100707 select IMX_HAVE_PLATFORM_IPU_CORE
708 select IMX_HAVE_PLATFORM_MXC_EHCI
709 select IMX_HAVE_PLATFORM_MXC_NAND
710 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100711 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100712 help
713 Include support for VPR200 platform. This includes specific
714 configurations for the board and its peripherals.
715
Shawn Guoc5a0d492012-09-17 09:38:39 +0800716endif
717
718if ARCH_MULTI_V7
719
Sascha Hauer784a90c2011-11-07 12:36:48 +0100720comment "i.MX51 machines:"
721
722config MACH_IMX51_DT
723 bool "Support i.MX51 platforms from device tree"
Russell Kingb1b3f492012-10-06 17:12:25 +0100724 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100725 help
726 Include support for Freescale i.MX51 based platforms
727 using the device tree for discovery
728
729config MACH_MX51_BABBAGE
730 bool "Support MX51 BABBAGE platforms"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100731 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
732 select IMX_HAVE_PLATFORM_IMX2_WDT
733 select IMX_HAVE_PLATFORM_IMX_I2C
734 select IMX_HAVE_PLATFORM_IMX_UART
735 select IMX_HAVE_PLATFORM_MXC_EHCI
736 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
737 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100738 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100739 help
740 Include support for MX51 Babbage platform, also known as MX51EVK in
741 u-boot. This includes specific configurations for the board and its
742 peripherals.
743
Sascha Hauer784a90c2011-11-07 12:36:48 +0100744config MACH_EUKREA_CPUIMX51SD
745 bool "Support Eukrea CPUIMX51SD module"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100746 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Russell Kingb1b3f492012-10-06 17:12:25 +0100747 select IMX_HAVE_PLATFORM_IMX2_WDT
Sascha Hauer784a90c2011-11-07 12:36:48 +0100748 select IMX_HAVE_PLATFORM_IMX_I2C
749 select IMX_HAVE_PLATFORM_IMX_UART
750 select IMX_HAVE_PLATFORM_MXC_EHCI
751 select IMX_HAVE_PLATFORM_MXC_NAND
752 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100753 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100754 help
755 Include support for Eukrea CPUIMX51SD platform. This includes
756 specific configurations for the module and its peripherals.
757
758choice
759 prompt "Baseboard"
760 depends on MACH_EUKREA_CPUIMX51SD
761 default MACH_EUKREA_MBIMXSD51_BASEBOARD
762
763config MACH_EUKREA_MBIMXSD51_BASEBOARD
764 prompt "Eukrea MBIMXSD development board"
765 bool
Eric Bénard932d67d2012-05-08 09:20:22 +0200766 select IMX_HAVE_PLATFORM_IMX_SSI
Sascha Hauer784a90c2011-11-07 12:36:48 +0100767 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
768 select LEDS_GPIO_REGISTER
769 help
770 This adds board specific devices that can be found on Eukrea's
771 MBIMXSD evaluation board.
772
773endchoice
774
Shawn Guo442279d2012-08-12 23:21:39 +0800775comment "Device tree only"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100776
Shawn Guo442279d2012-08-12 23:21:39 +0800777config SOC_IMX53
778 bool "i.MX53 support"
Shawn Guo442279d2012-08-12 23:21:39 +0800779 select HAVE_CAN_FLEXCAN if CAN
Philipp Zabelbd3d9242013-03-28 17:35:22 +0100780 select HAVE_IMX_SRC
Roland Stigge48b797a2012-10-25 13:28:33 +0200781 select IMX_HAVE_PLATFORM_IMX2_WDT
Shawn Guo442279d2012-08-12 23:21:39 +0800782 select PINCTRL
783 select PINCTRL_IMX53
Russell Kingb1b3f492012-10-06 17:12:25 +0100784 select SOC_IMX5
Shawn Guo442279d2012-08-12 23:21:39 +0800785
Sascha Hauer784a90c2011-11-07 12:36:48 +0100786 help
Shawn Guo442279d2012-08-12 23:21:39 +0800787 This enables support for Freescale i.MX53 processor.
Shawn Guobac89d72011-10-02 15:09:11 +0800788
789config SOC_IMX6Q
Shawn Guo3c03a2f2013-04-01 22:13:32 +0800790 bool "i.MX6 Quad/DualLite support"
Shawn Guod90df972012-07-19 23:16:30 +0800791 select ARCH_HAS_CPUFREQ
792 select ARCH_HAS_OPP
Eric Miao46ec1b22011-12-21 22:38:23 +0800793 select ARM_CPU_SUSPEND if PM
Shawn Guo96efb442012-10-23 19:44:34 +0800794 select ARM_ERRATA_754322
795 select ARM_ERRATA_764369 if SMP
796 select ARM_ERRATA_775420
Shawn Guobac89d72011-10-02 15:09:11 +0800797 select ARM_GIC
Shawn Guo2acd1b62012-04-04 20:53:22 +0800798 select COMMON_CLK
Shawn Guobac89d72011-10-02 15:09:11 +0800799 select CPU_V7
Stephen Boyd4c3ffff2013-02-27 15:28:14 -0800800 select HAVE_ARM_SCU if SMP
801 select HAVE_ARM_TWD if LOCAL_TIMERS
Marc Kleine-Budde610578a2012-07-02 11:03:00 +0200802 select HAVE_CAN_FLEXCAN if CAN
Anson Huange95dddb2013-03-20 19:39:42 -0400803 select HAVE_IMX_ANATOP
Shawn Guo9fbbe682011-09-06 14:39:44 +0800804 select HAVE_IMX_GPC
805 select HAVE_IMX_MMDC
Shawn Guoaec99b72013-01-11 22:08:27 +0800806 select HAVE_IMX_SRC
Dave Martin3b556582011-12-07 15:38:04 +0000807 select HAVE_SMP
Dong Aishengbaa64152012-09-05 10:57:15 +0800808 select MFD_SYSCON
Dong Aisheng32329a22012-05-02 19:31:21 +0800809 select PINCTRL
810 select PINCTRL_IMX6Q
Shawn Guo96efb442012-10-23 19:44:34 +0800811 select PL310_ERRATA_588369 if CACHE_PL310
812 select PL310_ERRATA_727915 if CACHE_PL310
813 select PL310_ERRATA_769419 if CACHE_PL310
Shawn Guod90df972012-07-19 23:16:30 +0800814 select PM_OPP if PM
Shawn Guobac89d72011-10-02 15:09:11 +0800815
816 help
817 This enables support for Freescale i.MX6 Quad processor.
818
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100819endif
Shawn Guoe0557c02012-09-13 15:51:15 +0800820
821source "arch/arm/mach-imx/devices/Kconfig"
Shawn Guo3995eb82012-09-13 19:48:07 +0800822
Shawn Guoc5a0d492012-09-17 09:38:39 +0800823endmenu