blob: 4e24b8c77eb438c5806b185427a5932456528709 [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
8 select GENERIC_CLOCKEVENTS
9 select GENERIC_IRQ_CHIP
10 select MULTI_IRQ_HANDLER
11 select SPARSE_IRQ
12 select USE_OF
13 help
14 Support for Freescale MXC/iMX-based family of processors
15
16menu "Freescale i.MX support"
17 depends on ARCH_MXC
Shawn Guo3995eb82012-09-13 19:48:07 +080018
19config MXC_IRQ_PRIOR
20 bool "Use IRQ priority"
21 help
22 Select this if you want to use prioritized IRQ handling.
23 This feature prevents higher priority ISR to be interrupted
24 by lower priority IRQ even IRQF_DISABLED flag is not set.
25 This may be useful in embedded applications, where are strong
26 requirements for timing.
27 Say N here, unless you have a specialized requirement.
28
29config MXC_TZIC
30 bool
31
32config MXC_AVIC
33 bool
34
35config MXC_DEBUG_BOARD
36 bool "Enable MXC debug board(for 3-stack)"
37 help
38 The debug board is an integral part of the MXC 3-stack(PDK)
39 platforms, it can be attached or removed from the peripheral
40 board. On debug board, several debug devices(ethernet, UART,
41 buttons, LEDs and JTAG) are implemented. Between the MCU and
42 these devices, a CPLD is added as a bridge which performs
43 data/address de-multiplexing and decode, signal level shift,
44 interrupt control and various board functions.
45
46config HAVE_EPIT
47 bool
48
49config MXC_USE_EPIT
50 bool "Use EPIT instead of GPT"
51 depends on HAVE_EPIT
52 help
53 Use EPIT as the system timer on systems that have it. Normally you
54 don't have a reason to do so as the EPIT has the same features and
55 uses the same clocks as the GPT. Anyway, on some systems the GPT
56 may be in use for other purposes.
57
58config MXC_ULPI
59 bool
60
61config ARCH_HAS_RNGA
62 bool
63
64config IRAM_ALLOC
65 bool
66 select GENERIC_ALLOCATOR
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
Shawn Guo9fbbe682011-09-06 14:39:44 +080076
Shawn Guo267dd342012-09-13 13:26:00 +080077config IMX_HAVE_IOMUX_V1
78 bool
79
80config ARCH_MXC_IOMUX_V3
81 bool
82
Sascha Hauerae4fa7f2011-08-23 09:39:35 +020083config ARCH_MX1
84 bool
85
86config MACH_MX21
87 bool
88
89config ARCH_MX25
90 bool
91
92config MACH_MX27
93 bool
94
Sascha Hauer784a90c2011-11-07 12:36:48 +010095config ARCH_MX5
96 bool
97
98config ARCH_MX50
99 bool
100
101config ARCH_MX51
102 bool
103
104config ARCH_MX53
105 bool
106
Uwe Kleine-Könige780d232010-06-14 17:39:21 +0200107config SOC_IMX1
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100108 bool
Sascha Hauerae4fa7f2011-08-23 09:39:35 +0200109 select ARCH_MX1
Sascha Hauercd737852012-03-09 09:11:32 +0100110 select COMMON_CLK
Uwe Kleine-Könige780d232010-06-14 17:39:21 +0200111 select CPU_ARM920T
112 select IMX_HAVE_IOMUX_V1
Sascha Hauerc7259df2010-11-05 09:37:22 +0100113 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100114
115config SOC_IMX21
Uwe Kleine-Könige780d232010-06-14 17:39:21 +0200116 bool
Sascha Hauer93421e42012-03-09 09:11:39 +0100117 select COMMON_CLK
Russell Kingb1b3f492012-10-06 17:12:25 +0100118 select CPU_ARM926T
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100119 select IMX_HAVE_IOMUX_V1
Russell Kingb1b3f492012-10-06 17:12:25 +0100120 select MACH_MX21
Sascha Hauerc7259df2010-11-05 09:37:22 +0100121 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100122
123config SOC_IMX25
124 bool
Sascha Hauerae4fa7f2011-08-23 09:39:35 +0200125 select ARCH_MX25
Russell Kingb1b3f492012-10-06 17:12:25 +0100126 select ARCH_MXC_IOMUX_V3
Sascha Hauer6bbaec52012-03-08 22:24:12 +0100127 select COMMON_CLK
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100128 select CPU_ARM926T
Marc Kleine-Budde610578a2012-07-02 11:03:00 +0200129 select HAVE_CAN_FLEXCAN if CAN
Sascha Hauerc7259df2010-11-05 09:37:22 +0100130 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100131
132config SOC_IMX27
133 bool
Sascha Hauere038ed52012-03-09 09:11:46 +0100134 select COMMON_CLK
Russell Kingb1b3f492012-10-06 17:12:25 +0100135 select CPU_ARM926T
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100136 select IMX_HAVE_IOMUX_V1
Russell Kingb1b3f492012-10-06 17:12:25 +0100137 select MACH_MX27
Sascha Hauerc7259df2010-11-05 09:37:22 +0100138 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100139
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100140config SOC_IMX31
141 bool
Russell Kingb1b3f492012-10-06 17:12:25 +0100142 select COMMON_CLK
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100143 select CPU_V6
144 select IMX_HAVE_PLATFORM_MXC_RNGA
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100145 select MXC_AVIC
Sascha Hauera89cf592011-09-27 13:48:02 +0800146 select SMP_ON_UP if SMP
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100147
148config SOC_IMX35
149 bool
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100150 select ARCH_MXC_IOMUX_V3
Sascha Hauer5b48a612012-04-03 12:41:13 +0200151 select COMMON_CLK
Russell Kingb1b3f492012-10-06 17:12:25 +0100152 select CPU_V6K
153 select HAVE_CAN_FLEXCAN if CAN
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100154 select HAVE_EPIT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100155 select MXC_AVIC
Sascha Hauera89cf592011-09-27 13:48:02 +0800156 select SMP_ON_UP if SMP
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100157
Sascha Hauer784a90c2011-11-07 12:36:48 +0100158config SOC_IMX5
Russell Kingb1b3f492012-10-06 17:12:25 +0100159 bool
Sascha Hauer784a90c2011-11-07 12:36:48 +0100160 select ARCH_HAS_CPUFREQ
161 select ARCH_MX5
Russell Kingb1b3f492012-10-06 17:12:25 +0100162 select ARCH_MXC_IOMUX_V3
163 select COMMON_CLK
164 select CPU_V7
165 select MXC_TZIC
Sascha Hauer784a90c2011-11-07 12:36:48 +0100166
167config SOC_IMX50
168 bool
Sascha Hauer784a90c2011-11-07 12:36:48 +0100169 select ARCH_MX50
Russell Kingb1b3f492012-10-06 17:12:25 +0100170 select SOC_IMX5
Sascha Hauer784a90c2011-11-07 12:36:48 +0100171
172config SOC_IMX51
173 bool
Sascha Hauer784a90c2011-11-07 12:36:48 +0100174 select ARCH_MX5
175 select ARCH_MX51
Shawn Guob6798f82012-08-13 19:55:37 +0800176 select PINCTRL
177 select PINCTRL_IMX51
Russell Kingb1b3f492012-10-06 17:12:25 +0100178 select SOC_IMX5
Sascha Hauer784a90c2011-11-07 12:36:48 +0100179
Shawn Guoc5a0d492012-09-17 09:38:39 +0800180if ARCH_MULTI_V4T
Uwe Kleine-Könige780d232010-06-14 17:39:21 +0200181
Uwe Kleine-König07469492010-06-14 15:56:58 +0200182comment "MX1 platforms:"
183config MACH_MXLADS
184 bool
185
186config ARCH_MX1ADS
187 bool "MX1ADS platform"
Uwe Kleine-König6348e6b2010-06-16 15:26:07 +0200188 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd112f4e2010-06-22 14:50:59 +0200189 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100190 select MACH_MXLADS
191 select SOC_IMX1
Uwe Kleine-König07469492010-06-14 15:56:58 +0200192 help
193 Say Y here if you are using Motorola MX1ADS/MXLADS boards
194
195config MACH_SCB9328
196 bool "Synertronixx scb9328"
Uwe Kleine-Königd112f4e2010-06-22 14:50:59 +0200197 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König07469492010-06-14 15:56:58 +0200198 help
199 Say Y here if you are using a Synertronixx scb9328 board
200
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000201config MACH_APF9328
202 bool "APF9328"
Gwenhael Goavec-Merou7a994812011-10-08 17:19:49 +0200203 select IMX_HAVE_PLATFORM_IMX_I2C
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000204 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100205 select SOC_IMX1
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000206 help
207 Say Yes here if you are using the Armadeus APF9328 development board
208
Shawn Guoc5a0d492012-09-17 09:38:39 +0800209endif
210
211if ARCH_MULTI_V5
212
Uwe Kleine-Königb6b06be2010-06-14 16:56:46 +0200213comment "MX21 platforms:"
Juergen Beisert80eedae2008-07-05 10:03:00 +0200214
Ivo Clarysse6b91edd2009-04-15 15:39:27 +0200215config MACH_MX21ADS
216 bool "MX21ADS platform"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100217 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König3c5227f2010-06-22 17:59:58 +0200218 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100219 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König1f8d7212010-06-16 11:17:45 +0200220 select IMX_HAVE_PLATFORM_MXC_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100221 select SOC_IMX21
Ivo Clarysse6b91edd2009-04-15 15:39:27 +0200222 help
223 Include support for MX21ADS platform. This includes specific
224 configurations for the board and its peripherals.
225
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100226comment "MX25 platforms:"
227
228config MACH_MX25_3DS
229 bool "Support MX25PDK (3DS) Platform"
Fabio Estevam91dcc7f2011-07-08 14:59:50 -0300230 select IMX_HAVE_PLATFORM_FLEXCAN
Fabio Estevam460d30a2010-12-22 12:25:32 -0200231 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100232 select IMX_HAVE_PLATFORM_IMX2_WDT
233 select IMX_HAVE_PLATFORM_IMXDI_RTC
234 select IMX_HAVE_PLATFORM_IMX_FB
Russell Kingb1b3f492012-10-06 17:12:25 +0100235 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100236 select IMX_HAVE_PLATFORM_IMX_KEYPAD
237 select IMX_HAVE_PLATFORM_IMX_UART
238 select IMX_HAVE_PLATFORM_MXC_EHCI
239 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100240 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100241 select SOC_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100242
Eric Bénard01dd5202011-12-13 07:31:35 +0100243config MACH_EUKREA_CPUIMX25SD
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100244 bool "Support Eukrea CPUIMX25 Platform"
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100245 select IMX_HAVE_PLATFORM_FLEXCAN
246 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Eric Bénard4692cba2012-05-08 09:20:18 +0200247 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100248 select IMX_HAVE_PLATFORM_IMXDI_RTC
249 select IMX_HAVE_PLATFORM_IMX_FB
250 select IMX_HAVE_PLATFORM_IMX_I2C
251 select IMX_HAVE_PLATFORM_IMX_UART
252 select IMX_HAVE_PLATFORM_MXC_EHCI
253 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100254 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100255 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100256 select SOC_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100257
258choice
259 prompt "Baseboard"
Eric Bénard01dd5202011-12-13 07:31:35 +0100260 depends on MACH_EUKREA_CPUIMX25SD
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100261 default MACH_EUKREA_MBIMXSD25_BASEBOARD
262
263config MACH_EUKREA_MBIMXSD25_BASEBOARD
264 bool "Eukrea MBIMXSD development board"
Uwe Kleine-König53094982011-02-28 18:04:33 +0100265 select IMX_HAVE_PLATFORM_GPIO_KEYS
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100266 select IMX_HAVE_PLATFORM_IMX_SSI
Eric Bénard49ed9402012-05-08 09:20:17 +0200267 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200268 select LEDS_GPIO_REGISTER
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100269 help
270 This adds board specific devices that can be found on Eukrea's
271 MBIMXSD evaluation board.
272
273endchoice
274
Uwe Kleine-Königb6b06be2010-06-14 16:56:46 +0200275comment "MX27 platforms:"
276
Juergen Beisert80eedae2008-07-05 10:03:00 +0200277config MACH_MX27ADS
278 bool "MX27ADS platform"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100279 select IMX_HAVE_PLATFORM_IMX_FB
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önig9d3d9452010-11-05 17:26:09 +0100282 select IMX_HAVE_PLATFORM_MXC_MMC
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
Russell Kingb1b3f492012-10-06 17:12:25 +0100285 select SOC_IMX27
Juergen Beisert80eedae2008-07-05 10:03:00 +0200286 help
287 Include support for MX27ADS platform. This includes specific
288 configurations for the board and its peripherals.
Juergen Beisert7e5e9f52008-07-05 10:03:00 +0200289
290config MACH_PCM038
291 bool "Phytec phyCORE-i.MX27 CPU module (pcm038)"
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100292 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200293 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200294 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100295 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200296 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200297 select IMX_HAVE_PLATFORM_MXC_W1
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200298 select IMX_HAVE_PLATFORM_SPI_IMX
Sascha Hauer773f2062010-02-03 17:13:41 +0100299 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100300 select SOC_IMX27
Juergen Beisert7e5e9f52008-07-05 10:03:00 +0200301 help
302 Include support for phyCORE-i.MX27 (aka pcm038) platform. This
303 includes specific configurations for the module and its peripherals.
Juergen Beisertff6552e2008-07-05 10:03:01 +0200304
305choice
306 prompt "Baseboard"
307 depends on MACH_PCM038
308 default MACH_PCM970_BASEBOARD
309
310config MACH_PCM970_BASEBOARD
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100311 bool "PHYTEC PCM970 development board"
312 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100313 select IMX_HAVE_PLATFORM_MXC_MMC
Juergen Beisertff6552e2008-07-05 10:03:01 +0200314 help
315 This adds board specific devices that can be found on Phytec's
316 PCM970 evaluation board.
317
318endchoice
Holger Schurig6bbdbf22009-01-29 14:42:25 +0100319
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100320config MACH_CPUIMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200321 bool "Eukrea CPUIMX27 module"
Uwe Kleine-Königbd455ed2010-11-09 17:52:14 +0100322 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100323 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200324 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200325 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100326 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200327 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200328 select IMX_HAVE_PLATFORM_MXC_W1
Eric Bénard22377ec2010-10-08 10:37:40 +0200329 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100330 select SOC_IMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200331 help
332 Include support for Eukrea CPUIMX27 platform. This includes
333 specific configurations for the module and its peripherals.
334
335config MACH_EUKREA_CPUIMX27_USESDHC2
336 bool "CPUIMX27 integrates SDHC2 module"
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100337 depends on MACH_CPUIMX27
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100338 select IMX_HAVE_PLATFORM_MXC_MMC
Eric Benardaf5b1df2009-07-16 16:26:33 +0200339 help
Eric Bénard2d66c782010-05-19 18:45:59 +0200340 This adds support for the internal SDHC2 used on CPUIMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200341 for wifi or eMMC.
342
Eric Bénard2d66c782010-05-19 18:45:59 +0200343config MACH_EUKREA_CPUIMX27_USEUART4
344 bool "CPUIMX27 integrates UART4 module"
345 depends on MACH_CPUIMX27
346 help
347 This adds support for the internal UART4 used on CPUIMX27
348 for bluetooth.
349
Eric Benarda961bf32009-07-16 16:26:34 +0200350choice
351 prompt "Baseboard"
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100352 depends on MACH_CPUIMX27
Eric Benarda961bf32009-07-16 16:26:34 +0200353 default MACH_EUKREA_MBIMX27_BASEBOARD
354
355config MACH_EUKREA_MBIMX27_BASEBOARD
Uwe Kleine-König4697bb922010-08-25 17:37:45 +0200356 bool "Eukrea MBIMX27 development board"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100357 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König3f880142010-11-10 09:58:56 +0100358 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Uwe Kleine-König4697bb922010-08-25 17:37:45 +0200359 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200360 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100361 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200362 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200363 select LEDS_GPIO_REGISTER
Eric Benarda961bf32009-07-16 16:26:34 +0200364 help
365 This adds board specific devices that can be found on Eukrea's
366 MBIMX27 evaluation board.
367
368endchoice
369
Fabio Estevamec9be0d2009-04-16 12:45:01 -0700370config MACH_MX27_3DS
371 bool "MX27PDK platform"
Fabio Estevam96cf4232010-12-22 12:25:31 -0200372 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Fabio Estevam8be92522010-12-07 17:14:45 -0200373 select IMX_HAVE_PLATFORM_IMX2_WDT
Fabio Estevam1abcb4c2011-06-22 09:25:25 -0300374 select IMX_HAVE_PLATFORM_IMX_FB
Fabio Estevam5885f032011-03-01 16:59:46 -0300375 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König3f880142010-11-10 09:58:56 +0100376 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Fabio Estevam688b5cb2012-07-03 15:44:57 -0300377 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200378 select IMX_HAVE_PLATFORM_IMX_UART
Fabio Estevam4c11c282012-02-15 19:36:10 -0200379 select IMX_HAVE_PLATFORM_MX2_CAMERA
Fabio Estevam96cf4232010-12-22 12:25:31 -0200380 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100381 select IMX_HAVE_PLATFORM_MXC_MMC
Fabio Estevamc67a3e02011-01-03 11:16:39 -0200382 select IMX_HAVE_PLATFORM_SPI_IMX
Fabio Estevam92cb33f2011-01-10 18:17:37 -0200383 select MXC_DEBUG_BOARD
Fabio Estevam96cf4232010-12-22 12:25:31 -0200384 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100385 select SOC_IMX27
Fabio Estevamec9be0d2009-04-16 12:45:01 -0700386 help
387 Include support for MX27PDK platform. This includes specific
388 configurations for the board and its peripherals.
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400389
Javier Martin3b161e52010-07-30 10:06:01 +0200390config MACH_IMX27_VISSTRIM_M10
391 bool "Vista Silicon i.MX27 Visstrim_m10"
Uwe Kleine-König53094982011-02-28 18:04:33 +0100392 select IMX_HAVE_PLATFORM_GPIO_KEYS
Javier Martin3b161e52010-07-30 10:06:01 +0200393 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König5658bff2011-03-18 12:24:08 +0100394 select IMX_HAVE_PLATFORM_IMX_SSI
Javier Martin3b161e52010-07-30 10:06:01 +0200395 select IMX_HAVE_PLATFORM_IMX_UART
Javier Martinf52f5a52012-02-28 17:31:51 +0100396 select IMX_HAVE_PLATFORM_MX2_CAMERA
Gaëtan Carlier3ab3a352012-09-05 13:06:15 +0200397 select IMX_HAVE_PLATFORM_MX2_EMMA
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100398 select IMX_HAVE_PLATFORM_MXC_EHCI
Javier Martin32189132012-02-28 17:31:48 +0100399 select IMX_HAVE_PLATFORM_MXC_MMC
Javier Martinacb64642012-02-29 13:17:33 +0100400 select LEDS_GPIO_REGISTER
Russell Kingb1b3f492012-10-06 17:12:25 +0100401 select SOC_IMX27
Javier Martin3b161e52010-07-30 10:06:01 +0200402 help
403 Include support for Visstrim_m10 platform and its different variants.
404 This includes specific configurations for the board and its
405 peripherals.
406
Uwe Kleine-Königf747f932009-12-10 10:25:07 +0100407config MACH_IMX27LITE
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400408 bool "LogicPD MX27 LITEKIT platform"
Javier Martina5e20512011-03-01 15:02:08 +0100409 select IMX_HAVE_PLATFORM_IMX_SSI
Russell Kingb1b3f492012-10-06 17:12:25 +0100410 select IMX_HAVE_PLATFORM_IMX_UART
411 select SOC_IMX27
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400412 help
413 Include support for MX27 LITEKIT platform. This includes specific
414 configurations for the board and its peripherals.
415
Luotao Fu33731692009-08-06 11:19:39 +0200416config MACH_PCA100
417 bool "Phytec phyCARD-s (pca100)"
Uwe Kleine-Königbd455ed2010-11-09 17:52:14 +0100418 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100419 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100420 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200421 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König4697bb922010-08-25 17:37:45 +0200422 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200423 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100424 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100425 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200426 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200427 select IMX_HAVE_PLATFORM_MXC_W1
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200428 select IMX_HAVE_PLATFORM_SPI_IMX
Sascha Hauereee7c492010-02-03 17:13:29 +0100429 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100430 select SOC_IMX27
Luotao Fu33731692009-08-06 11:19:39 +0200431 help
432 Include support for phyCARD-s (aka pca100) platform. This
433 includes specific configurations for the module and its peripherals.
434
Alan Carvalho de Assis143a1792009-11-25 15:24:50 -0200435config MACH_MXT_TD60
436 bool "Maxtrack i-MXT TD60"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100437 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200438 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200439 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100440 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200441 select IMX_HAVE_PLATFORM_MXC_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100442 select SOC_IMX27
Alan Carvalho de Assis143a1792009-11-25 15:24:50 -0200443 help
444 Include support for i-MXT (aka td60) platform. This
445 includes specific configurations for the module and its peripherals.
446
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200447config MACH_IMX27IPCAM
448 bool "IMX27 IPCAM platform"
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200449 select IMX_HAVE_PLATFORM_IMX2_WDT
450 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100451 select SOC_IMX27
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200452 help
453 Include support for IMX27 IPCAM platform. This includes specific
454 configurations for the board and its peripherals.
455
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100456config MACH_IMX27_DT
457 bool "Support i.MX27 platforms from device tree"
458 select SOC_IMX27
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100459 help
460 Include support for Freescale i.MX27 based platforms
461 using the device tree for discovery
462
Holger Schurig6bbdbf22009-01-29 14:42:25 +0100463endif
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100464
Shawn Guoc5a0d492012-09-17 09:38:39 +0800465if ARCH_MULTI_V6
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100466
467comment "MX31 platforms:"
468
469config MACH_MX31ADS
470 bool "Support MX31ADS platforms"
Russell Kingb1b3f492012-10-06 17:12:25 +0100471 default y
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100472 select IMX_HAVE_PLATFORM_IMX_I2C
473 select IMX_HAVE_PLATFORM_IMX_SSI
474 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100475 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100476 help
477 Include support for MX31ADS platform. This includes specific
478 configurations for the board and its peripherals.
479
480config MACH_MX31ADS_WM1133_EV1
481 bool "Support Wolfson Microelectronics 1133-EV1 module"
482 depends on MACH_MX31ADS
483 depends on MFD_WM8350_I2C
484 depends on REGULATOR_WM8350
485 select MFD_WM8350_CONFIG_MODE_0
486 select MFD_WM8352_CONFIG_MODE_0
487 help
488 Include support for the Wolfson Microelectronics 1133-EV1 PMU
489 and audio module for the MX31ADS platform.
490
491config MACH_MX31LILLY
492 bool "Support MX31 LILLY-1131 platforms (INCO startec)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100493 select IMX_HAVE_PLATFORM_IMX_UART
494 select IMX_HAVE_PLATFORM_IPU_CORE
495 select IMX_HAVE_PLATFORM_MXC_EHCI
496 select IMX_HAVE_PLATFORM_MXC_MMC
497 select IMX_HAVE_PLATFORM_SPI_IMX
498 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100499 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100500 help
501 Include support for mx31 based LILLY1131 modules. This includes
502 specific configurations for the board and its peripherals.
503
504config MACH_MX31LITE
505 bool "Support MX31 LITEKIT (LogicPD)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100506 select IMX_HAVE_PLATFORM_IMX2_WDT
507 select IMX_HAVE_PLATFORM_IMX_UART
508 select IMX_HAVE_PLATFORM_MXC_EHCI
509 select IMX_HAVE_PLATFORM_MXC_MMC
510 select IMX_HAVE_PLATFORM_MXC_NAND
511 select IMX_HAVE_PLATFORM_MXC_RTC
512 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200513 select LEDS_GPIO_REGISTER
Russell Kingb1b3f492012-10-06 17:12:25 +0100514 select MXC_ULPI if USB_ULPI
515 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100516 help
517 Include support for MX31 LITEKIT platform. This includes specific
518 configurations for the board and its peripherals.
519
520config MACH_PCM037
521 bool "Support Phytec pcm037 (i.MX31) platforms"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100522 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
523 select IMX_HAVE_PLATFORM_IMX2_WDT
524 select IMX_HAVE_PLATFORM_IMX_I2C
525 select IMX_HAVE_PLATFORM_IMX_UART
526 select IMX_HAVE_PLATFORM_IPU_CORE
527 select IMX_HAVE_PLATFORM_MXC_EHCI
528 select IMX_HAVE_PLATFORM_MXC_MMC
529 select IMX_HAVE_PLATFORM_MXC_NAND
530 select IMX_HAVE_PLATFORM_MXC_W1
531 select MXC_ULPI 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 Phytec pcm037 platform. This includes
535 specific configurations for the board and its peripherals.
536
537config MACH_PCM037_EET
538 bool "Support pcm037 EET board extensions"
539 depends on MACH_PCM037
540 select IMX_HAVE_PLATFORM_GPIO_KEYS
541 select IMX_HAVE_PLATFORM_SPI_IMX
542 help
543 Add support for PCM037 EET baseboard extensions. If you are using the
544 OLED display with EET, use "video=mx3fb:CMEL-OLED" kernel
545 command-line parameter.
546
547config MACH_MX31_3DS
548 bool "Support MX31PDK (3DS)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100549 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
550 select IMX_HAVE_PLATFORM_IMX2_WDT
551 select IMX_HAVE_PLATFORM_IMX_I2C
552 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Fabio Estevam3ef7cf12012-05-21 16:09:06 -0300553 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100554 select IMX_HAVE_PLATFORM_IMX_UART
555 select IMX_HAVE_PLATFORM_IPU_CORE
556 select IMX_HAVE_PLATFORM_MXC_EHCI
Fabio Estevamd093d5b2011-09-14 14:04:38 -0300557 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100558 select IMX_HAVE_PLATFORM_MXC_NAND
559 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100560 select MXC_DEBUG_BOARD
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100561 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100562 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100563 help
564 Include support for MX31PDK (3DS) platform. This includes specific
565 configurations for the board and its peripherals.
566
567config MACH_MX31_3DS_MXC_NAND_USE_BBT
568 bool "Make the MXC NAND driver use the in flash Bad Block Table"
569 depends on MACH_MX31_3DS
570 depends on MTD_NAND_MXC
571 help
572 Enable this if you want that the MXC NAND driver uses the in flash
573 Bad Block Table to know what blocks are bad instead of scanning the
574 entire flash looking for bad block markers.
575
576config MACH_MX31MOBOARD
577 bool "Support mx31moboard platforms (EPFL Mobots group)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100578 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Philippe Rétornaz31776fb2012-01-20 18:58:23 +0100579 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100580 select IMX_HAVE_PLATFORM_IMX_I2C
Philippe Rétornaz2f7b9452012-05-15 13:53:52 +0200581 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100582 select IMX_HAVE_PLATFORM_IMX_UART
583 select IMX_HAVE_PLATFORM_IPU_CORE
584 select IMX_HAVE_PLATFORM_MXC_EHCI
585 select IMX_HAVE_PLATFORM_MXC_MMC
586 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200587 select LEDS_GPIO_REGISTER
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100588 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100589 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100590 help
591 Include support for mx31moboard platform. This includes specific
592 configurations for the board and its peripherals.
593
594config MACH_QONG
595 bool "Support Dave/DENX QongEVB-LITE platform"
Fabio Estevambbb43362011-09-19 10:59:46 -0300596 select IMX_HAVE_PLATFORM_IMX2_WDT
Russell Kingb1b3f492012-10-06 17:12:25 +0100597 select IMX_HAVE_PLATFORM_IMX_UART
598 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100599 help
600 Include support for Dave/DENX QongEVB-LITE platform. This includes
601 specific configurations for the board and its peripherals.
602
603config MACH_ARMADILLO5X0
604 bool "Support Atmark Armadillo-500 Development Base Board"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100605 select IMX_HAVE_PLATFORM_GPIO_KEYS
606 select IMX_HAVE_PLATFORM_IMX_I2C
607 select IMX_HAVE_PLATFORM_IMX_UART
608 select IMX_HAVE_PLATFORM_IPU_CORE
609 select IMX_HAVE_PLATFORM_MXC_EHCI
610 select IMX_HAVE_PLATFORM_MXC_MMC
611 select IMX_HAVE_PLATFORM_MXC_NAND
612 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100613 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100614 help
615 Include support for Atmark Armadillo-500 platform. This includes
616 specific configurations for the board and its peripherals.
617
618config MACH_KZM_ARM11_01
619 bool "Support KZM-ARM11-01(Kyoto Microcomputer)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100620 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100621 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100622 help
623 Include support for KZM-ARM11-01. This includes specific
624 configurations for the board and its peripherals.
625
626config MACH_BUG
627 bool "Support Buglabs BUGBase platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100628 default y
Russell Kingb1b3f492012-10-06 17:12:25 +0100629 select IMX_HAVE_PLATFORM_IMX_UART
630 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100631 help
632 Include support for BUGBase 1.3 platform. This includes specific
633 configurations for the board and its peripherals.
634
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200635config MACH_IMX31_DT
636 bool "Support i.MX31 platforms from device tree"
637 select SOC_IMX31
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200638 help
639 Include support for Freescale i.MX31 based platforms
640 using the device tree for discovery.
641
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100642comment "MX35 platforms:"
643
644config MACH_PCM043
645 bool "Support Phytec pcm043 (i.MX35) platforms"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100646 select IMX_HAVE_PLATFORM_FLEXCAN
647 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
648 select IMX_HAVE_PLATFORM_IMX2_WDT
649 select IMX_HAVE_PLATFORM_IMX_I2C
650 select IMX_HAVE_PLATFORM_IMX_SSI
651 select IMX_HAVE_PLATFORM_IMX_UART
652 select IMX_HAVE_PLATFORM_IPU_CORE
653 select IMX_HAVE_PLATFORM_MXC_EHCI
654 select IMX_HAVE_PLATFORM_MXC_NAND
655 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
656 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100657 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100658 help
659 Include support for Phytec pcm043 platform. This includes
660 specific configurations for the board and its peripherals.
661
662config MACH_MX35_3DS
663 bool "Support MX35PDK platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100664 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
665 select IMX_HAVE_PLATFORM_IMX2_WDT
Marc Kleine-Budde8e3e26a2012-04-24 17:48:18 +0200666 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100667 select IMX_HAVE_PLATFORM_IMX_I2C
668 select IMX_HAVE_PLATFORM_IMX_UART
Marc Kleine-Budde8e3e26a2012-04-24 17:48:18 +0200669 select IMX_HAVE_PLATFORM_IPU_CORE
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100670 select IMX_HAVE_PLATFORM_MXC_EHCI
671 select IMX_HAVE_PLATFORM_MXC_NAND
Benoît Thébaudeauc6fd6d12012-07-04 16:36:28 +0200672 select IMX_HAVE_PLATFORM_MXC_RTC
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100673 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100674 select MXC_DEBUG_BOARD
675 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100676 help
677 Include support for MX35PDK platform. This includes specific
678 configurations for the board and its peripherals.
679
Eric Bénarda69aa722011-12-13 07:31:43 +0100680config MACH_EUKREA_CPUIMX35SD
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100681 bool "Support Eukrea CPUIMX35 Platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100682 select IMX_HAVE_PLATFORM_FLEXCAN
683 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
684 select IMX_HAVE_PLATFORM_IMX2_WDT
685 select IMX_HAVE_PLATFORM_IMX_I2C
686 select IMX_HAVE_PLATFORM_IMX_UART
687 select IMX_HAVE_PLATFORM_MXC_EHCI
688 select IMX_HAVE_PLATFORM_MXC_NAND
689 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
690 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100691 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100692 help
693 Include support for Eukrea CPUIMX35 platform. This includes
694 specific configurations for the board and its peripherals.
695
696choice
697 prompt "Baseboard"
Eric Bénarda69aa722011-12-13 07:31:43 +0100698 depends on MACH_EUKREA_CPUIMX35SD
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100699 default MACH_EUKREA_MBIMXSD35_BASEBOARD
700
701config MACH_EUKREA_MBIMXSD35_BASEBOARD
702 bool "Eukrea MBIMXSD development board"
703 select IMX_HAVE_PLATFORM_GPIO_KEYS
704 select IMX_HAVE_PLATFORM_IMX_SSI
705 select IMX_HAVE_PLATFORM_IPU_CORE
Eric Bénard0e189852012-05-08 09:20:19 +0200706 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200707 select LEDS_GPIO_REGISTER
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100708 help
709 This adds board specific devices that can be found on Eukrea's
710 MBIMXSD evaluation board.
711
712endchoice
713
714config MACH_VPR200
715 bool "Support VPR200 platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100716 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
717 select IMX_HAVE_PLATFORM_GPIO_KEYS
718 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100719 select IMX_HAVE_PLATFORM_IMX_I2C
Russell Kingb1b3f492012-10-06 17:12:25 +0100720 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100721 select IMX_HAVE_PLATFORM_IPU_CORE
722 select IMX_HAVE_PLATFORM_MXC_EHCI
723 select IMX_HAVE_PLATFORM_MXC_NAND
724 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100725 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100726 help
727 Include support for VPR200 platform. This includes specific
728 configurations for the board and its peripherals.
729
Shawn Guoc5a0d492012-09-17 09:38:39 +0800730endif
731
732if ARCH_MULTI_V7
733
Sascha Hauer784a90c2011-11-07 12:36:48 +0100734comment "i.MX5 platforms:"
735
736config MACH_MX50_RDP
737 bool "Support MX50 reference design platform"
738 depends on BROKEN
Sascha Hauer784a90c2011-11-07 12:36:48 +0100739 select IMX_HAVE_PLATFORM_IMX_I2C
740 select IMX_HAVE_PLATFORM_IMX_UART
741 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
742 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100743 select SOC_IMX50
Sascha Hauer784a90c2011-11-07 12:36:48 +0100744 help
745 Include support for MX50 reference design platform (RDP) board. This
746 includes specific configurations for the board and its peripherals.
747
748comment "i.MX51 machines:"
749
750config MACH_IMX51_DT
751 bool "Support i.MX51 platforms from device tree"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100752 select MACH_MX51_BABBAGE
Russell Kingb1b3f492012-10-06 17:12:25 +0100753 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100754 help
755 Include support for Freescale i.MX51 based platforms
756 using the device tree for discovery
757
758config MACH_MX51_BABBAGE
759 bool "Support MX51 BABBAGE platforms"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100760 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
761 select IMX_HAVE_PLATFORM_IMX2_WDT
762 select IMX_HAVE_PLATFORM_IMX_I2C
763 select IMX_HAVE_PLATFORM_IMX_UART
764 select IMX_HAVE_PLATFORM_MXC_EHCI
765 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
766 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100767 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100768 help
769 Include support for MX51 Babbage platform, also known as MX51EVK in
770 u-boot. This includes specific configurations for the board and its
771 peripherals.
772
773config MACH_MX51_3DS
774 bool "Support MX51PDK (3DS)"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100775 select IMX_HAVE_PLATFORM_IMX2_WDT
776 select IMX_HAVE_PLATFORM_IMX_KEYPAD
777 select IMX_HAVE_PLATFORM_IMX_UART
778 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
779 select IMX_HAVE_PLATFORM_SPI_IMX
780 select MXC_DEBUG_BOARD
Russell Kingb1b3f492012-10-06 17:12:25 +0100781 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100782 help
783 Include support for MX51PDK (3DS) platform. This includes specific
784 configurations for the board and its peripherals.
785
Sascha Hauer784a90c2011-11-07 12:36:48 +0100786config MACH_EUKREA_CPUIMX51SD
787 bool "Support Eukrea CPUIMX51SD module"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100788 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Russell Kingb1b3f492012-10-06 17:12:25 +0100789 select IMX_HAVE_PLATFORM_IMX2_WDT
Sascha Hauer784a90c2011-11-07 12:36:48 +0100790 select IMX_HAVE_PLATFORM_IMX_I2C
791 select IMX_HAVE_PLATFORM_IMX_UART
792 select IMX_HAVE_PLATFORM_MXC_EHCI
793 select IMX_HAVE_PLATFORM_MXC_NAND
794 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100795 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100796 help
797 Include support for Eukrea CPUIMX51SD platform. This includes
798 specific configurations for the module and its peripherals.
799
800choice
801 prompt "Baseboard"
802 depends on MACH_EUKREA_CPUIMX51SD
803 default MACH_EUKREA_MBIMXSD51_BASEBOARD
804
805config MACH_EUKREA_MBIMXSD51_BASEBOARD
806 prompt "Eukrea MBIMXSD development board"
807 bool
Eric Bénard932d67d2012-05-08 09:20:22 +0200808 select IMX_HAVE_PLATFORM_IMX_SSI
Sascha Hauer784a90c2011-11-07 12:36:48 +0100809 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
810 select LEDS_GPIO_REGISTER
811 help
812 This adds board specific devices that can be found on Eukrea's
813 MBIMXSD evaluation board.
814
815endchoice
816
Shawn Guo442279d2012-08-12 23:21:39 +0800817comment "Device tree only"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100818
Shawn Guo442279d2012-08-12 23:21:39 +0800819config SOC_IMX53
820 bool "i.MX53 support"
Shawn Guo442279d2012-08-12 23:21:39 +0800821 select ARCH_MX5
822 select ARCH_MX53
823 select HAVE_CAN_FLEXCAN if CAN
Roland Stigge48b797a2012-10-25 13:28:33 +0200824 select IMX_HAVE_PLATFORM_IMX2_WDT
Shawn Guo442279d2012-08-12 23:21:39 +0800825 select PINCTRL
826 select PINCTRL_IMX53
Russell Kingb1b3f492012-10-06 17:12:25 +0100827 select SOC_IMX5
Shawn Guo442279d2012-08-12 23:21:39 +0800828
Sascha Hauer784a90c2011-11-07 12:36:48 +0100829 help
Shawn Guo442279d2012-08-12 23:21:39 +0800830 This enables support for Freescale i.MX53 processor.
Shawn Guobac89d72011-10-02 15:09:11 +0800831
832config SOC_IMX6Q
833 bool "i.MX6 Quad support"
Eric Miao46ec1b22011-12-21 22:38:23 +0800834 select ARM_CPU_SUSPEND if PM
Shawn Guobac89d72011-10-02 15:09:11 +0800835 select ARM_GIC
Shawn Guo2acd1b62012-04-04 20:53:22 +0800836 select COMMON_CLK
Shawn Guobac89d72011-10-02 15:09:11 +0800837 select CPU_V7
Shawn Guo69c31b72011-09-06 14:59:40 +0800838 select HAVE_ARM_SCU
Marc Kleine-Budde610578a2012-07-02 11:03:00 +0200839 select HAVE_CAN_FLEXCAN if CAN
Shawn Guo9fbbe682011-09-06 14:39:44 +0800840 select HAVE_IMX_GPC
841 select HAVE_IMX_MMDC
Dave Martin3b556582011-12-07 15:38:04 +0000842 select HAVE_SMP
Dong Aishengbaa64152012-09-05 10:57:15 +0800843 select MFD_SYSCON
Dong Aisheng32329a22012-05-02 19:31:21 +0800844 select PINCTRL
845 select PINCTRL_IMX6Q
Shawn Guobac89d72011-10-02 15:09:11 +0800846
847 help
848 This enables support for Freescale i.MX6 Quad processor.
849
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100850endif
Shawn Guoe0557c02012-09-13 15:51:15 +0800851
852source "arch/arm/mach-imx/devices/Kconfig"
Shawn Guo3995eb82012-09-13 19:48:07 +0800853
Shawn Guoc5a0d492012-09-17 09:38:39 +0800854endmenu