blob: 5b676d425babfbf5734ee7778f1d0c7601c3c996 [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
Anson Huange95dddb2013-03-20 19:39:42 -040068config HAVE_IMX_ANATOP
69 bool
70
Shawn Guo9fbbe682011-09-06 14:39:44 +080071config HAVE_IMX_GPC
72 bool
73
74config HAVE_IMX_MMDC
75 bool
76
77config HAVE_IMX_SRC
Shawn Guo68b25322012-10-23 15:23:59 +080078 def_bool y if SMP
Philipp Zabel02985b92013-03-28 17:35:19 +010079 select ARCH_HAS_RESET_CONTROLLER
Shawn Guo9fbbe682011-09-06 14:39:44 +080080
Shawn Guo267dd342012-09-13 13:26:00 +080081config IMX_HAVE_IOMUX_V1
82 bool
83
84config ARCH_MXC_IOMUX_V3
85 bool
86
Sascha Hauerae4fa7f2011-08-23 09:39:35 +020087config ARCH_MX1
88 bool
89
Sascha Hauerae4fa7f2011-08-23 09:39:35 +020090config ARCH_MX25
91 bool
92
93config MACH_MX27
94 bool
95
Uwe Kleine-Könige780d232010-06-14 17:39:21 +020096config SOC_IMX1
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010097 bool
Sascha Hauerae4fa7f2011-08-23 09:39:35 +020098 select ARCH_MX1
Sascha Hauercd737852012-03-09 09:11:32 +010099 select COMMON_CLK
Uwe Kleine-Könige780d232010-06-14 17:39:21 +0200100 select CPU_ARM920T
101 select IMX_HAVE_IOMUX_V1
Sascha Hauerc7259df2010-11-05 09:37:22 +0100102 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100103
104config SOC_IMX21
Uwe Kleine-Könige780d232010-06-14 17:39:21 +0200105 bool
Sascha Hauer93421e42012-03-09 09:11:39 +0100106 select COMMON_CLK
Russell Kingb1b3f492012-10-06 17:12:25 +0100107 select CPU_ARM926T
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100108 select IMX_HAVE_IOMUX_V1
Sascha Hauerc7259df2010-11-05 09:37:22 +0100109 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100110
111config SOC_IMX25
112 bool
Sascha Hauerae4fa7f2011-08-23 09:39:35 +0200113 select ARCH_MX25
Russell Kingb1b3f492012-10-06 17:12:25 +0100114 select ARCH_MXC_IOMUX_V3
Sascha Hauer6bbaec52012-03-08 22:24:12 +0100115 select COMMON_CLK
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100116 select CPU_ARM926T
Marc Kleine-Budde610578a2012-07-02 11:03:00 +0200117 select HAVE_CAN_FLEXCAN if CAN
Sascha Hauerc7259df2010-11-05 09:37:22 +0100118 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100119
120config SOC_IMX27
121 bool
Markus Pargmann68663102013-03-27 14:01:31 +0100122 select ARCH_HAS_CPUFREQ
123 select ARCH_HAS_OPP
Sascha Hauere038ed52012-03-09 09:11:46 +0100124 select COMMON_CLK
Russell Kingb1b3f492012-10-06 17:12:25 +0100125 select CPU_ARM926T
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100126 select IMX_HAVE_IOMUX_V1
Russell Kingb1b3f492012-10-06 17:12:25 +0100127 select MACH_MX27
Sascha Hauerc7259df2010-11-05 09:37:22 +0100128 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100129
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100130config SOC_IMX31
131 bool
Russell Kingb1b3f492012-10-06 17:12:25 +0100132 select COMMON_CLK
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100133 select CPU_V6
134 select IMX_HAVE_PLATFORM_MXC_RNGA
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100135 select MXC_AVIC
Sascha Hauera89cf592011-09-27 13:48:02 +0800136 select SMP_ON_UP if SMP
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100137
138config SOC_IMX35
139 bool
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100140 select ARCH_MXC_IOMUX_V3
Sascha Hauer5b48a612012-04-03 12:41:13 +0200141 select COMMON_CLK
Russell Kingb1b3f492012-10-06 17:12:25 +0100142 select CPU_V6K
143 select HAVE_CAN_FLEXCAN if CAN
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100144 select HAVE_EPIT
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
Sascha Hauer784a90c2011-11-07 12:36:48 +0100148config SOC_IMX5
Russell Kingb1b3f492012-10-06 17:12:25 +0100149 bool
Sascha Hauer784a90c2011-11-07 12:36:48 +0100150 select ARCH_HAS_CPUFREQ
Markus Pargmann68663102013-03-27 14:01:31 +0100151 select ARCH_HAS_OPP
Russell Kingb1b3f492012-10-06 17:12:25 +0100152 select ARCH_MXC_IOMUX_V3
153 select COMMON_CLK
154 select CPU_V7
155 select MXC_TZIC
Sascha Hauer784a90c2011-11-07 12:36:48 +0100156
Sascha Hauer784a90c2011-11-07 12:36:48 +0100157config SOC_IMX51
158 bool
Shawn Guob6798f82012-08-13 19:55:37 +0800159 select PINCTRL
160 select PINCTRL_IMX51
Russell Kingb1b3f492012-10-06 17:12:25 +0100161 select SOC_IMX5
Sascha Hauer784a90c2011-11-07 12:36:48 +0100162
Shawn Guoc5a0d492012-09-17 09:38:39 +0800163if ARCH_MULTI_V4T
Uwe Kleine-Könige780d232010-06-14 17:39:21 +0200164
Uwe Kleine-König07469492010-06-14 15:56:58 +0200165comment "MX1 platforms:"
166config MACH_MXLADS
167 bool
168
169config ARCH_MX1ADS
170 bool "MX1ADS platform"
Uwe Kleine-König6348e6b2010-06-16 15:26:07 +0200171 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd112f4e2010-06-22 14:50:59 +0200172 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100173 select MACH_MXLADS
174 select SOC_IMX1
Uwe Kleine-König07469492010-06-14 15:56:58 +0200175 help
176 Say Y here if you are using Motorola MX1ADS/MXLADS boards
177
178config MACH_SCB9328
179 bool "Synertronixx scb9328"
Uwe Kleine-Königd112f4e2010-06-22 14:50:59 +0200180 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König07469492010-06-14 15:56:58 +0200181 help
182 Say Y here if you are using a Synertronixx scb9328 board
183
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000184config MACH_APF9328
185 bool "APF9328"
Gwenhael Goavec-Merou7a994812011-10-08 17:19:49 +0200186 select IMX_HAVE_PLATFORM_IMX_I2C
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000187 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100188 select SOC_IMX1
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000189 help
190 Say Yes here if you are using the Armadeus APF9328 development board
191
Shawn Guoc5a0d492012-09-17 09:38:39 +0800192endif
193
194if ARCH_MULTI_V5
195
Uwe Kleine-Königb6b06be2010-06-14 16:56:46 +0200196comment "MX21 platforms:"
Juergen Beisert80eedae2008-07-05 10:03:00 +0200197
Ivo Clarysse6b91edd2009-04-15 15:39:27 +0200198config MACH_MX21ADS
199 bool "MX21ADS platform"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100200 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König3c5227f2010-06-22 17:59:58 +0200201 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100202 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König1f8d7212010-06-16 11:17:45 +0200203 select IMX_HAVE_PLATFORM_MXC_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100204 select SOC_IMX21
Ivo Clarysse6b91edd2009-04-15 15:39:27 +0200205 help
206 Include support for MX21ADS platform. This includes specific
207 configurations for the board and its peripherals.
208
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100209comment "MX25 platforms:"
210
211config MACH_MX25_3DS
212 bool "Support MX25PDK (3DS) Platform"
Fabio Estevam91dcc7f2011-07-08 14:59:50 -0300213 select IMX_HAVE_PLATFORM_FLEXCAN
Fabio Estevam460d30a2010-12-22 12:25:32 -0200214 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100215 select IMX_HAVE_PLATFORM_IMX2_WDT
216 select IMX_HAVE_PLATFORM_IMXDI_RTC
217 select IMX_HAVE_PLATFORM_IMX_FB
Russell Kingb1b3f492012-10-06 17:12:25 +0100218 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100219 select IMX_HAVE_PLATFORM_IMX_KEYPAD
220 select IMX_HAVE_PLATFORM_IMX_UART
221 select IMX_HAVE_PLATFORM_MXC_EHCI
222 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100223 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100224 select SOC_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100225
Eric Bénard01dd5202011-12-13 07:31:35 +0100226config MACH_EUKREA_CPUIMX25SD
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100227 bool "Support Eukrea CPUIMX25 Platform"
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100228 select IMX_HAVE_PLATFORM_FLEXCAN
229 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Eric Bénard4692cba2012-05-08 09:20:18 +0200230 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100231 select IMX_HAVE_PLATFORM_IMXDI_RTC
232 select IMX_HAVE_PLATFORM_IMX_FB
233 select IMX_HAVE_PLATFORM_IMX_I2C
234 select IMX_HAVE_PLATFORM_IMX_UART
235 select IMX_HAVE_PLATFORM_MXC_EHCI
236 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100237 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100238 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100239 select SOC_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100240
241choice
242 prompt "Baseboard"
Eric Bénard01dd5202011-12-13 07:31:35 +0100243 depends on MACH_EUKREA_CPUIMX25SD
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100244 default MACH_EUKREA_MBIMXSD25_BASEBOARD
245
246config MACH_EUKREA_MBIMXSD25_BASEBOARD
247 bool "Eukrea MBIMXSD development board"
Uwe Kleine-König53094982011-02-28 18:04:33 +0100248 select IMX_HAVE_PLATFORM_GPIO_KEYS
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100249 select IMX_HAVE_PLATFORM_IMX_SSI
Eric Bénard49ed9402012-05-08 09:20:17 +0200250 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200251 select LEDS_GPIO_REGISTER
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100252 help
253 This adds board specific devices that can be found on Eukrea's
254 MBIMXSD evaluation board.
255
256endchoice
257
Sascha Haueref4bac52012-09-20 14:59:36 +0200258config MACH_IMX25_DT
259 bool "Support i.MX25 platforms from device tree"
260 select SOC_IMX25
261 help
262 Include support for Freescale i.MX25 based platforms
263 using the device tree for discovery
264
Uwe Kleine-Königb6b06be2010-06-14 16:56:46 +0200265comment "MX27 platforms:"
266
Juergen Beisert80eedae2008-07-05 10:03:00 +0200267config MACH_MX27ADS
268 bool "MX27ADS platform"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100269 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200270 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200271 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100272 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200273 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200274 select IMX_HAVE_PLATFORM_MXC_W1
Russell Kingb1b3f492012-10-06 17:12:25 +0100275 select SOC_IMX27
Juergen Beisert80eedae2008-07-05 10:03:00 +0200276 help
277 Include support for MX27ADS platform. This includes specific
278 configurations for the board and its peripherals.
Juergen Beisert7e5e9f52008-07-05 10:03:00 +0200279
280config MACH_PCM038
281 bool "Phytec phyCORE-i.MX27 CPU module (pcm038)"
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100282 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200283 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200284 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100285 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200286 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200287 select IMX_HAVE_PLATFORM_MXC_W1
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200288 select IMX_HAVE_PLATFORM_SPI_IMX
Sascha Hauer773f2062010-02-03 17:13:41 +0100289 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100290 select SOC_IMX27
Juergen Beisert7e5e9f52008-07-05 10:03:00 +0200291 help
292 Include support for phyCORE-i.MX27 (aka pcm038) platform. This
293 includes specific configurations for the module and its peripherals.
Juergen Beisertff6552e2008-07-05 10:03:01 +0200294
295choice
296 prompt "Baseboard"
297 depends on MACH_PCM038
298 default MACH_PCM970_BASEBOARD
299
300config MACH_PCM970_BASEBOARD
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100301 bool "PHYTEC PCM970 development board"
302 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100303 select IMX_HAVE_PLATFORM_MXC_MMC
Juergen Beisertff6552e2008-07-05 10:03:01 +0200304 help
305 This adds board specific devices that can be found on Phytec's
306 PCM970 evaluation board.
307
308endchoice
Holger Schurig6bbdbf22009-01-29 14:42:25 +0100309
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100310config MACH_CPUIMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200311 bool "Eukrea CPUIMX27 module"
Uwe Kleine-Königbd455ed2010-11-09 17:52:14 +0100312 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100313 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200314 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200315 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100316 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200317 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200318 select IMX_HAVE_PLATFORM_MXC_W1
Eric Bénard22377ec2010-10-08 10:37:40 +0200319 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100320 select SOC_IMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200321 help
322 Include support for Eukrea CPUIMX27 platform. This includes
323 specific configurations for the module and its peripherals.
324
325config MACH_EUKREA_CPUIMX27_USESDHC2
326 bool "CPUIMX27 integrates SDHC2 module"
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100327 depends on MACH_CPUIMX27
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100328 select IMX_HAVE_PLATFORM_MXC_MMC
Eric Benardaf5b1df2009-07-16 16:26:33 +0200329 help
Eric Bénard2d66c782010-05-19 18:45:59 +0200330 This adds support for the internal SDHC2 used on CPUIMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200331 for wifi or eMMC.
332
Eric Bénard2d66c782010-05-19 18:45:59 +0200333config MACH_EUKREA_CPUIMX27_USEUART4
334 bool "CPUIMX27 integrates UART4 module"
335 depends on MACH_CPUIMX27
336 help
337 This adds support for the internal UART4 used on CPUIMX27
338 for bluetooth.
339
Eric Benarda961bf32009-07-16 16:26:34 +0200340choice
341 prompt "Baseboard"
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100342 depends on MACH_CPUIMX27
Eric Benarda961bf32009-07-16 16:26:34 +0200343 default MACH_EUKREA_MBIMX27_BASEBOARD
344
345config MACH_EUKREA_MBIMX27_BASEBOARD
Uwe Kleine-König4697bb922010-08-25 17:37:45 +0200346 bool "Eukrea MBIMX27 development board"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100347 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König3f880142010-11-10 09:58:56 +0100348 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Uwe Kleine-König4697bb922010-08-25 17:37:45 +0200349 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200350 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100351 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200352 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200353 select LEDS_GPIO_REGISTER
Eric Benarda961bf32009-07-16 16:26:34 +0200354 help
355 This adds board specific devices that can be found on Eukrea's
356 MBIMX27 evaluation board.
357
358endchoice
359
Fabio Estevamec9be0d2009-04-16 12:45:01 -0700360config MACH_MX27_3DS
361 bool "MX27PDK platform"
Fabio Estevam96cf4232010-12-22 12:25:31 -0200362 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Fabio Estevam8be92522010-12-07 17:14:45 -0200363 select IMX_HAVE_PLATFORM_IMX2_WDT
Fabio Estevam1abcb4c2011-06-22 09:25:25 -0300364 select IMX_HAVE_PLATFORM_IMX_FB
Fabio Estevam5885f032011-03-01 16:59:46 -0300365 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König3f880142010-11-10 09:58:56 +0100366 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Fabio Estevam688b5cb2012-07-03 15:44:57 -0300367 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200368 select IMX_HAVE_PLATFORM_IMX_UART
Fabio Estevam4c11c282012-02-15 19:36:10 -0200369 select IMX_HAVE_PLATFORM_MX2_CAMERA
Fabio Estevam96cf4232010-12-22 12:25:31 -0200370 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100371 select IMX_HAVE_PLATFORM_MXC_MMC
Fabio Estevamc67a3e02011-01-03 11:16:39 -0200372 select IMX_HAVE_PLATFORM_SPI_IMX
Fabio Estevam92cb33f2011-01-10 18:17:37 -0200373 select MXC_DEBUG_BOARD
Fabio Estevam96cf4232010-12-22 12:25:31 -0200374 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100375 select SOC_IMX27
Fabio Estevamec9be0d2009-04-16 12:45:01 -0700376 help
377 Include support for MX27PDK platform. This includes specific
378 configurations for the board and its peripherals.
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400379
Javier Martin3b161e52010-07-30 10:06:01 +0200380config MACH_IMX27_VISSTRIM_M10
381 bool "Vista Silicon i.MX27 Visstrim_m10"
Uwe Kleine-König53094982011-02-28 18:04:33 +0100382 select IMX_HAVE_PLATFORM_GPIO_KEYS
Javier Martin3b161e52010-07-30 10:06:01 +0200383 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König5658bff2011-03-18 12:24:08 +0100384 select IMX_HAVE_PLATFORM_IMX_SSI
Javier Martin3b161e52010-07-30 10:06:01 +0200385 select IMX_HAVE_PLATFORM_IMX_UART
Javier Martinf52f5a52012-02-28 17:31:51 +0100386 select IMX_HAVE_PLATFORM_MX2_CAMERA
Gaëtan Carlier3ab3a352012-09-05 13:06:15 +0200387 select IMX_HAVE_PLATFORM_MX2_EMMA
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100388 select IMX_HAVE_PLATFORM_MXC_EHCI
Javier Martin32189132012-02-28 17:31:48 +0100389 select IMX_HAVE_PLATFORM_MXC_MMC
Javier Martinacb64642012-02-29 13:17:33 +0100390 select LEDS_GPIO_REGISTER
Russell Kingb1b3f492012-10-06 17:12:25 +0100391 select SOC_IMX27
Javier Martin3b161e52010-07-30 10:06:01 +0200392 help
393 Include support for Visstrim_m10 platform and its different variants.
394 This includes specific configurations for the board and its
395 peripherals.
396
Uwe Kleine-Königf747f932009-12-10 10:25:07 +0100397config MACH_IMX27LITE
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400398 bool "LogicPD MX27 LITEKIT platform"
Javier Martina5e20512011-03-01 15:02:08 +0100399 select IMX_HAVE_PLATFORM_IMX_SSI
Russell Kingb1b3f492012-10-06 17:12:25 +0100400 select IMX_HAVE_PLATFORM_IMX_UART
401 select SOC_IMX27
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400402 help
403 Include support for MX27 LITEKIT platform. This includes specific
404 configurations for the board and its peripherals.
405
Luotao Fu33731692009-08-06 11:19:39 +0200406config MACH_PCA100
407 bool "Phytec phyCARD-s (pca100)"
Uwe Kleine-Königbd455ed2010-11-09 17:52:14 +0100408 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100409 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100410 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200411 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König4697bb922010-08-25 17:37:45 +0200412 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200413 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100414 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100415 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200416 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200417 select IMX_HAVE_PLATFORM_MXC_W1
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200418 select IMX_HAVE_PLATFORM_SPI_IMX
Sascha Hauereee7c492010-02-03 17:13:29 +0100419 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100420 select SOC_IMX27
Luotao Fu33731692009-08-06 11:19:39 +0200421 help
422 Include support for phyCARD-s (aka pca100) platform. This
423 includes specific configurations for the module and its peripherals.
424
Alan Carvalho de Assis143a1792009-11-25 15:24:50 -0200425config MACH_MXT_TD60
426 bool "Maxtrack i-MXT TD60"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100427 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200428 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200429 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100430 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200431 select IMX_HAVE_PLATFORM_MXC_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100432 select SOC_IMX27
Alan Carvalho de Assis143a1792009-11-25 15:24:50 -0200433 help
434 Include support for i-MXT (aka td60) platform. This
435 includes specific configurations for the module and its peripherals.
436
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200437config MACH_IMX27IPCAM
438 bool "IMX27 IPCAM platform"
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200439 select IMX_HAVE_PLATFORM_IMX2_WDT
440 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100441 select SOC_IMX27
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200442 help
443 Include support for IMX27 IPCAM platform. This includes specific
444 configurations for the board and its peripherals.
445
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100446config MACH_IMX27_DT
447 bool "Support i.MX27 platforms from device tree"
448 select SOC_IMX27
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100449 help
450 Include support for Freescale i.MX27 based platforms
451 using the device tree for discovery
452
Holger Schurig6bbdbf22009-01-29 14:42:25 +0100453endif
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100454
Shawn Guoc5a0d492012-09-17 09:38:39 +0800455if ARCH_MULTI_V6
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100456
457comment "MX31 platforms:"
458
459config MACH_MX31ADS
460 bool "Support MX31ADS platforms"
Russell Kingb1b3f492012-10-06 17:12:25 +0100461 default y
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100462 select IMX_HAVE_PLATFORM_IMX_I2C
463 select IMX_HAVE_PLATFORM_IMX_SSI
464 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100465 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100466 help
467 Include support for MX31ADS platform. This includes specific
468 configurations for the board and its peripherals.
469
470config MACH_MX31ADS_WM1133_EV1
471 bool "Support Wolfson Microelectronics 1133-EV1 module"
472 depends on MACH_MX31ADS
473 depends on MFD_WM8350_I2C
Arnd Bergmann69eb3832013-02-14 17:45:58 +0100474 depends on REGULATOR_WM8350 = y
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100475 select MFD_WM8350_CONFIG_MODE_0
476 select MFD_WM8352_CONFIG_MODE_0
477 help
478 Include support for the Wolfson Microelectronics 1133-EV1 PMU
479 and audio module for the MX31ADS platform.
480
481config MACH_MX31LILLY
482 bool "Support MX31 LILLY-1131 platforms (INCO startec)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100483 select IMX_HAVE_PLATFORM_IMX_UART
484 select IMX_HAVE_PLATFORM_IPU_CORE
485 select IMX_HAVE_PLATFORM_MXC_EHCI
486 select IMX_HAVE_PLATFORM_MXC_MMC
487 select IMX_HAVE_PLATFORM_SPI_IMX
488 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100489 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100490 help
491 Include support for mx31 based LILLY1131 modules. This includes
492 specific configurations for the board and its peripherals.
493
494config MACH_MX31LITE
495 bool "Support MX31 LITEKIT (LogicPD)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100496 select IMX_HAVE_PLATFORM_IMX2_WDT
497 select IMX_HAVE_PLATFORM_IMX_UART
498 select IMX_HAVE_PLATFORM_MXC_EHCI
499 select IMX_HAVE_PLATFORM_MXC_MMC
500 select IMX_HAVE_PLATFORM_MXC_NAND
501 select IMX_HAVE_PLATFORM_MXC_RTC
502 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200503 select LEDS_GPIO_REGISTER
Russell Kingb1b3f492012-10-06 17:12:25 +0100504 select MXC_ULPI if USB_ULPI
505 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100506 help
507 Include support for MX31 LITEKIT platform. This includes specific
508 configurations for the board and its peripherals.
509
510config MACH_PCM037
511 bool "Support Phytec pcm037 (i.MX31) platforms"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100512 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
513 select IMX_HAVE_PLATFORM_IMX2_WDT
514 select IMX_HAVE_PLATFORM_IMX_I2C
515 select IMX_HAVE_PLATFORM_IMX_UART
516 select IMX_HAVE_PLATFORM_IPU_CORE
517 select IMX_HAVE_PLATFORM_MXC_EHCI
518 select IMX_HAVE_PLATFORM_MXC_MMC
519 select IMX_HAVE_PLATFORM_MXC_NAND
520 select IMX_HAVE_PLATFORM_MXC_W1
521 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100522 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100523 help
524 Include support for Phytec pcm037 platform. This includes
525 specific configurations for the board and its peripherals.
526
527config MACH_PCM037_EET
528 bool "Support pcm037 EET board extensions"
529 depends on MACH_PCM037
530 select IMX_HAVE_PLATFORM_GPIO_KEYS
531 select IMX_HAVE_PLATFORM_SPI_IMX
532 help
533 Add support for PCM037 EET baseboard extensions. If you are using the
534 OLED display with EET, use "video=mx3fb:CMEL-OLED" kernel
535 command-line parameter.
536
537config MACH_MX31_3DS
538 bool "Support MX31PDK (3DS)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100539 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
540 select IMX_HAVE_PLATFORM_IMX2_WDT
541 select IMX_HAVE_PLATFORM_IMX_I2C
542 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Fabio Estevam3ef7cf12012-05-21 16:09:06 -0300543 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100544 select IMX_HAVE_PLATFORM_IMX_UART
545 select IMX_HAVE_PLATFORM_IPU_CORE
546 select IMX_HAVE_PLATFORM_MXC_EHCI
Fabio Estevamd093d5b2011-09-14 14:04:38 -0300547 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100548 select IMX_HAVE_PLATFORM_MXC_NAND
549 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100550 select MXC_DEBUG_BOARD
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100551 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100552 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100553 help
554 Include support for MX31PDK (3DS) platform. This includes specific
555 configurations for the board and its peripherals.
556
557config MACH_MX31_3DS_MXC_NAND_USE_BBT
558 bool "Make the MXC NAND driver use the in flash Bad Block Table"
559 depends on MACH_MX31_3DS
560 depends on MTD_NAND_MXC
561 help
562 Enable this if you want that the MXC NAND driver uses the in flash
563 Bad Block Table to know what blocks are bad instead of scanning the
564 entire flash looking for bad block markers.
565
566config MACH_MX31MOBOARD
567 bool "Support mx31moboard platforms (EPFL Mobots group)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100568 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Philippe Rétornaz31776fb2012-01-20 18:58:23 +0100569 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100570 select IMX_HAVE_PLATFORM_IMX_I2C
Philippe Rétornaz2f7b9452012-05-15 13:53:52 +0200571 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100572 select IMX_HAVE_PLATFORM_IMX_UART
573 select IMX_HAVE_PLATFORM_IPU_CORE
574 select IMX_HAVE_PLATFORM_MXC_EHCI
575 select IMX_HAVE_PLATFORM_MXC_MMC
576 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200577 select LEDS_GPIO_REGISTER
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100578 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100579 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100580 help
581 Include support for mx31moboard platform. This includes specific
582 configurations for the board and its peripherals.
583
584config MACH_QONG
585 bool "Support Dave/DENX QongEVB-LITE platform"
Fabio Estevambbb43362011-09-19 10:59:46 -0300586 select IMX_HAVE_PLATFORM_IMX2_WDT
Russell Kingb1b3f492012-10-06 17:12:25 +0100587 select IMX_HAVE_PLATFORM_IMX_UART
588 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100589 help
590 Include support for Dave/DENX QongEVB-LITE platform. This includes
591 specific configurations for the board and its peripherals.
592
593config MACH_ARMADILLO5X0
594 bool "Support Atmark Armadillo-500 Development Base Board"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100595 select IMX_HAVE_PLATFORM_GPIO_KEYS
596 select IMX_HAVE_PLATFORM_IMX_I2C
597 select IMX_HAVE_PLATFORM_IMX_UART
598 select IMX_HAVE_PLATFORM_IPU_CORE
599 select IMX_HAVE_PLATFORM_MXC_EHCI
600 select IMX_HAVE_PLATFORM_MXC_MMC
601 select IMX_HAVE_PLATFORM_MXC_NAND
602 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100603 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100604 help
605 Include support for Atmark Armadillo-500 platform. This includes
606 specific configurations for the board and its peripherals.
607
608config MACH_KZM_ARM11_01
609 bool "Support KZM-ARM11-01(Kyoto Microcomputer)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100610 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100611 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100612 help
613 Include support for KZM-ARM11-01. This includes specific
614 configurations for the board and its peripherals.
615
616config MACH_BUG
617 bool "Support Buglabs BUGBase platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100618 default y
Russell Kingb1b3f492012-10-06 17:12:25 +0100619 select IMX_HAVE_PLATFORM_IMX_UART
620 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100621 help
622 Include support for BUGBase 1.3 platform. This includes specific
623 configurations for the board and its peripherals.
624
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200625config MACH_IMX31_DT
626 bool "Support i.MX31 platforms from device tree"
627 select SOC_IMX31
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200628 help
629 Include support for Freescale i.MX31 based platforms
630 using the device tree for discovery.
631
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100632comment "MX35 platforms:"
633
634config MACH_PCM043
635 bool "Support Phytec pcm043 (i.MX35) platforms"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100636 select IMX_HAVE_PLATFORM_FLEXCAN
637 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
638 select IMX_HAVE_PLATFORM_IMX2_WDT
639 select IMX_HAVE_PLATFORM_IMX_I2C
640 select IMX_HAVE_PLATFORM_IMX_SSI
641 select IMX_HAVE_PLATFORM_IMX_UART
642 select IMX_HAVE_PLATFORM_IPU_CORE
643 select IMX_HAVE_PLATFORM_MXC_EHCI
644 select IMX_HAVE_PLATFORM_MXC_NAND
645 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
646 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100647 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100648 help
649 Include support for Phytec pcm043 platform. This includes
650 specific configurations for the board and its peripherals.
651
652config MACH_MX35_3DS
653 bool "Support MX35PDK platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100654 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
655 select IMX_HAVE_PLATFORM_IMX2_WDT
Marc Kleine-Budde8e3e26a2012-04-24 17:48:18 +0200656 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100657 select IMX_HAVE_PLATFORM_IMX_I2C
658 select IMX_HAVE_PLATFORM_IMX_UART
Marc Kleine-Budde8e3e26a2012-04-24 17:48:18 +0200659 select IMX_HAVE_PLATFORM_IPU_CORE
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100660 select IMX_HAVE_PLATFORM_MXC_EHCI
661 select IMX_HAVE_PLATFORM_MXC_NAND
Benoît Thébaudeauc6fd6d12012-07-04 16:36:28 +0200662 select IMX_HAVE_PLATFORM_MXC_RTC
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100663 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100664 select MXC_DEBUG_BOARD
665 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100666 help
667 Include support for MX35PDK platform. This includes specific
668 configurations for the board and its peripherals.
669
Eric Bénarda69aa722011-12-13 07:31:43 +0100670config MACH_EUKREA_CPUIMX35SD
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100671 bool "Support Eukrea CPUIMX35 Platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100672 select IMX_HAVE_PLATFORM_FLEXCAN
673 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
674 select IMX_HAVE_PLATFORM_IMX2_WDT
675 select IMX_HAVE_PLATFORM_IMX_I2C
676 select IMX_HAVE_PLATFORM_IMX_UART
677 select IMX_HAVE_PLATFORM_MXC_EHCI
678 select IMX_HAVE_PLATFORM_MXC_NAND
679 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
680 select MXC_ULPI if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100681 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100682 help
683 Include support for Eukrea CPUIMX35 platform. This includes
684 specific configurations for the board and its peripherals.
685
686choice
687 prompt "Baseboard"
Eric Bénarda69aa722011-12-13 07:31:43 +0100688 depends on MACH_EUKREA_CPUIMX35SD
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100689 default MACH_EUKREA_MBIMXSD35_BASEBOARD
690
691config MACH_EUKREA_MBIMXSD35_BASEBOARD
692 bool "Eukrea MBIMXSD development board"
693 select IMX_HAVE_PLATFORM_GPIO_KEYS
694 select IMX_HAVE_PLATFORM_IMX_SSI
695 select IMX_HAVE_PLATFORM_IPU_CORE
Eric Bénard0e189852012-05-08 09:20:19 +0200696 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200697 select LEDS_GPIO_REGISTER
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100698 help
699 This adds board specific devices that can be found on Eukrea's
700 MBIMXSD evaluation board.
701
702endchoice
703
704config MACH_VPR200
705 bool "Support VPR200 platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100706 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
707 select IMX_HAVE_PLATFORM_GPIO_KEYS
708 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100709 select IMX_HAVE_PLATFORM_IMX_I2C
Russell Kingb1b3f492012-10-06 17:12:25 +0100710 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100711 select IMX_HAVE_PLATFORM_IPU_CORE
712 select IMX_HAVE_PLATFORM_MXC_EHCI
713 select IMX_HAVE_PLATFORM_MXC_NAND
714 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100715 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100716 help
717 Include support for VPR200 platform. This includes specific
718 configurations for the board and its peripherals.
719
Shawn Guoc5a0d492012-09-17 09:38:39 +0800720endif
721
722if ARCH_MULTI_V7
723
Sascha Hauer784a90c2011-11-07 12:36:48 +0100724comment "i.MX51 machines:"
725
726config MACH_IMX51_DT
727 bool "Support i.MX51 platforms from device tree"
Russell Kingb1b3f492012-10-06 17:12:25 +0100728 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100729 help
730 Include support for Freescale i.MX51 based platforms
731 using the device tree for discovery
732
733config MACH_MX51_BABBAGE
734 bool "Support MX51 BABBAGE platforms"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100735 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
736 select IMX_HAVE_PLATFORM_IMX2_WDT
737 select IMX_HAVE_PLATFORM_IMX_I2C
738 select IMX_HAVE_PLATFORM_IMX_UART
739 select IMX_HAVE_PLATFORM_MXC_EHCI
740 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
741 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100742 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100743 help
744 Include support for MX51 Babbage platform, also known as MX51EVK in
745 u-boot. This includes specific configurations for the board and its
746 peripherals.
747
Sascha Hauer784a90c2011-11-07 12:36:48 +0100748config MACH_EUKREA_CPUIMX51SD
749 bool "Support Eukrea CPUIMX51SD module"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100750 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Russell Kingb1b3f492012-10-06 17:12:25 +0100751 select IMX_HAVE_PLATFORM_IMX2_WDT
Sascha Hauer784a90c2011-11-07 12:36:48 +0100752 select IMX_HAVE_PLATFORM_IMX_I2C
753 select IMX_HAVE_PLATFORM_IMX_UART
754 select IMX_HAVE_PLATFORM_MXC_EHCI
755 select IMX_HAVE_PLATFORM_MXC_NAND
756 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100757 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100758 help
759 Include support for Eukrea CPUIMX51SD platform. This includes
760 specific configurations for the module and its peripherals.
761
762choice
763 prompt "Baseboard"
764 depends on MACH_EUKREA_CPUIMX51SD
765 default MACH_EUKREA_MBIMXSD51_BASEBOARD
766
767config MACH_EUKREA_MBIMXSD51_BASEBOARD
768 prompt "Eukrea MBIMXSD development board"
769 bool
Eric Bénard932d67d2012-05-08 09:20:22 +0200770 select IMX_HAVE_PLATFORM_IMX_SSI
Sascha Hauer784a90c2011-11-07 12:36:48 +0100771 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
772 select LEDS_GPIO_REGISTER
773 help
774 This adds board specific devices that can be found on Eukrea's
775 MBIMXSD evaluation board.
776
777endchoice
778
Shawn Guo442279d2012-08-12 23:21:39 +0800779comment "Device tree only"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100780
Shawn Guo442279d2012-08-12 23:21:39 +0800781config SOC_IMX53
782 bool "i.MX53 support"
Shawn Guo442279d2012-08-12 23:21:39 +0800783 select HAVE_CAN_FLEXCAN if CAN
Roland Stigge48b797a2012-10-25 13:28:33 +0200784 select IMX_HAVE_PLATFORM_IMX2_WDT
Shawn Guo442279d2012-08-12 23:21:39 +0800785 select PINCTRL
786 select PINCTRL_IMX53
Russell Kingb1b3f492012-10-06 17:12:25 +0100787 select SOC_IMX5
Shawn Guo442279d2012-08-12 23:21:39 +0800788
Sascha Hauer784a90c2011-11-07 12:36:48 +0100789 help
Shawn Guo442279d2012-08-12 23:21:39 +0800790 This enables support for Freescale i.MX53 processor.
Shawn Guobac89d72011-10-02 15:09:11 +0800791
792config SOC_IMX6Q
793 bool "i.MX6 Quad support"
Shawn Guod90df972012-07-19 23:16:30 +0800794 select ARCH_HAS_CPUFREQ
795 select ARCH_HAS_OPP
Eric Miao46ec1b22011-12-21 22:38:23 +0800796 select ARM_CPU_SUSPEND if PM
Shawn Guo96efb442012-10-23 19:44:34 +0800797 select ARM_ERRATA_754322
798 select ARM_ERRATA_764369 if SMP
799 select ARM_ERRATA_775420
Shawn Guobac89d72011-10-02 15:09:11 +0800800 select ARM_GIC
Shawn Guo2acd1b62012-04-04 20:53:22 +0800801 select COMMON_CLK
Shawn Guobac89d72011-10-02 15:09:11 +0800802 select CPU_V7
Shawn Guo69c31b72011-09-06 14:59:40 +0800803 select HAVE_ARM_SCU
Marc Kleine-Budde610578a2012-07-02 11:03:00 +0200804 select HAVE_CAN_FLEXCAN if CAN
Anson Huange95dddb2013-03-20 19:39:42 -0400805 select HAVE_IMX_ANATOP
Shawn Guo9fbbe682011-09-06 14:39:44 +0800806 select HAVE_IMX_GPC
807 select HAVE_IMX_MMDC
Shawn Guoaec99b72013-01-11 22:08:27 +0800808 select HAVE_IMX_SRC
Dave Martin3b556582011-12-07 15:38:04 +0000809 select HAVE_SMP
Dong Aishengbaa64152012-09-05 10:57:15 +0800810 select MFD_SYSCON
Dong Aisheng32329a22012-05-02 19:31:21 +0800811 select PINCTRL
812 select PINCTRL_IMX6Q
Shawn Guo96efb442012-10-23 19:44:34 +0800813 select PL310_ERRATA_588369 if CACHE_PL310
814 select PL310_ERRATA_727915 if CACHE_PL310
815 select PL310_ERRATA_769419 if CACHE_PL310
Shawn Guod90df972012-07-19 23:16:30 +0800816 select PM_OPP if PM
Shawn Guobac89d72011-10-02 15:09:11 +0800817
818 help
819 This enables support for Freescale i.MX6 Quad processor.
820
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100821endif
Shawn Guoe0557c02012-09-13 15:51:15 +0800822
823source "arch/arm/mach-imx/devices/Kconfig"
Shawn Guo3995eb82012-09-13 19:48:07 +0800824
Shawn Guoc5a0d492012-09-17 09:38:39 +0800825endmenu