blob: 5740296dc4299090c2875b3e22dd81419d069a50 [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
John Tobias5a1513f2014-01-14 06:36:47 -08003 select ARCH_HAS_CPUFREQ
4 select ARCH_HAS_OPP
Shawn Guoc5a0d492012-09-17 09:38:39 +08005 select ARCH_REQUIRE_GPIOLIB
Fabio Estevamf36b5942013-07-26 00:17:35 -03006 select ARM_CPU_SUSPEND if PM
Shawn Guoc5a0d492012-09-17 09:38:39 +08007 select CLKSRC_MMIO
Shawn Guoc5a0d492012-09-17 09:38:39 +08008 select GENERIC_IRQ_CHIP
Shawn Guof7f3d4b2013-11-16 22:25:02 +08009 select PINCTRL
John Tobias5a1513f2014-01-14 06:36:47 -080010 select PM_OPP if PM
Shawn Guoa2887542013-08-13 16:59:28 +080011 select SOC_BUS
Fabio Estevam67f5b302014-02-17 14:04:17 -030012 select SRAM
Shawn Guoc5a0d492012-09-17 09:38:39 +080013 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
Shawn Guo3995eb82012-09-13 19:48:07 +080019config MXC_TZIC
20 bool
21
22config MXC_AVIC
23 bool
24
25config MXC_DEBUG_BOARD
26 bool "Enable MXC debug board(for 3-stack)"
27 help
28 The debug board is an integral part of the MXC 3-stack(PDK)
29 platforms, it can be attached or removed from the peripheral
30 board. On debug board, several debug devices(ethernet, UART,
31 buttons, LEDs and JTAG) are implemented. Between the MCU and
32 these devices, a CPLD is added as a bridge which performs
33 data/address de-multiplexing and decode, signal level shift,
34 interrupt control and various board functions.
35
36config HAVE_EPIT
37 bool
38
39config MXC_USE_EPIT
40 bool "Use EPIT instead of GPT"
41 depends on HAVE_EPIT
42 help
43 Use EPIT as the system timer on systems that have it. Normally you
44 don't have a reason to do so as the EPIT has the same features and
45 uses the same clocks as the GPT. Anyway, on some systems the GPT
46 may be in use for other purposes.
47
Shawn Guo3995eb82012-09-13 19:48:07 +080048config ARCH_HAS_RNGA
49 bool
50
Anson Huange95dddb2013-03-20 19:39:42 -040051config HAVE_IMX_ANATOP
52 bool
53
Shawn Guo9fbbe682011-09-06 14:39:44 +080054config HAVE_IMX_GPC
55 bool
56
57config HAVE_IMX_MMDC
58 bool
59
60config HAVE_IMX_SRC
Shawn Guo68b25322012-10-23 15:23:59 +080061 def_bool y if SMP
Philipp Zabel02985b92013-03-28 17:35:19 +010062 select ARCH_HAS_RESET_CONTROLLER
Shawn Guo9fbbe682011-09-06 14:39:44 +080063
Shawn Guo267dd342012-09-13 13:26:00 +080064config IMX_HAVE_IOMUX_V1
65 bool
66
67config ARCH_MXC_IOMUX_V3
68 bool
69
Sascha Hauerae4fa7f2011-08-23 09:39:35 +020070config ARCH_MX1
71 bool
72
Sascha Hauerae4fa7f2011-08-23 09:39:35 +020073config ARCH_MX25
74 bool
75
76config MACH_MX27
77 bool
78
Uwe Kleine-Könige780d232010-06-14 17:39:21 +020079config SOC_IMX1
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010080 bool
Sascha Hauerae4fa7f2011-08-23 09:39:35 +020081 select ARCH_MX1
Uwe Kleine-Könige780d232010-06-14 17:39:21 +020082 select CPU_ARM920T
83 select IMX_HAVE_IOMUX_V1
Sascha Hauerc7259df2010-11-05 09:37:22 +010084 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010085
86config SOC_IMX21
Uwe Kleine-Könige780d232010-06-14 17:39:21 +020087 bool
Russell Kingb1b3f492012-10-06 17:12:25 +010088 select CPU_ARM926T
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010089 select IMX_HAVE_IOMUX_V1
Sascha Hauerc7259df2010-11-05 09:37:22 +010090 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010091
92config SOC_IMX25
93 bool
Sascha Hauerae4fa7f2011-08-23 09:39:35 +020094 select ARCH_MX25
Russell Kingb1b3f492012-10-06 17:12:25 +010095 select ARCH_MXC_IOMUX_V3
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010096 select CPU_ARM926T
Sascha Hauerc7259df2010-11-05 09:37:22 +010097 select MXC_AVIC
Denis Carikli5bcaa7a2013-11-06 09:52:18 +010098 select PINCTRL_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010099
100config SOC_IMX27
101 bool
Markus Pargmann68663102013-03-27 14:01:31 +0100102 select ARCH_HAS_CPUFREQ
103 select ARCH_HAS_OPP
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
Russell Kingb1b3f492012-10-06 17:12:25 +0100106 select MACH_MX27
Sascha Hauerc7259df2010-11-05 09:37:22 +0100107 select MXC_AVIC
Markus Pargmannacb350e2013-11-12 09:50:10 +0100108 select PINCTRL_IMX27
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100109
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100110config SOC_IMX31
111 bool
112 select CPU_V6
113 select IMX_HAVE_PLATFORM_MXC_RNGA
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100114 select MXC_AVIC
Sascha Hauera89cf592011-09-27 13:48:02 +0800115 select SMP_ON_UP if SMP
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100116
117config SOC_IMX35
118 bool
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100119 select ARCH_MXC_IOMUX_V3
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100120 select HAVE_EPIT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100121 select MXC_AVIC
Denis Cariklic51bcd12014-01-10 16:40:39 +0100122 select PINCTRL_IMX35
Sascha Hauera89cf592011-09-27 13:48:02 +0800123 select SMP_ON_UP if SMP
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100124
Sascha Hauer784a90c2011-11-07 12:36:48 +0100125config SOC_IMX5
Russell Kingb1b3f492012-10-06 17:12:25 +0100126 bool
Sascha Hauer784a90c2011-11-07 12:36:48 +0100127 select ARCH_HAS_CPUFREQ
Markus Pargmann68663102013-03-27 14:01:31 +0100128 select ARCH_HAS_OPP
Russell Kingb1b3f492012-10-06 17:12:25 +0100129 select ARCH_MXC_IOMUX_V3
Russell Kingb1b3f492012-10-06 17:12:25 +0100130 select MXC_TZIC
Sascha Hauer784a90c2011-11-07 12:36:48 +0100131
Sascha Hauer784a90c2011-11-07 12:36:48 +0100132config SOC_IMX51
133 bool
Philipp Zabelbd3d9242013-03-28 17:35:22 +0100134 select HAVE_IMX_SRC
Shawn Guob6798f82012-08-13 19:55:37 +0800135 select PINCTRL_IMX51
Russell Kingb1b3f492012-10-06 17:12:25 +0100136 select SOC_IMX5
Sascha Hauer784a90c2011-11-07 12:36:48 +0100137
Shawn Guoc5a0d492012-09-17 09:38:39 +0800138if ARCH_MULTI_V4T
Uwe Kleine-Könige780d232010-06-14 17:39:21 +0200139
Uwe Kleine-König07469492010-06-14 15:56:58 +0200140comment "MX1 platforms:"
141config MACH_MXLADS
142 bool
143
144config ARCH_MX1ADS
145 bool "MX1ADS platform"
Uwe Kleine-König6348e6b2010-06-16 15:26:07 +0200146 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd112f4e2010-06-22 14:50:59 +0200147 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100148 select MACH_MXLADS
149 select SOC_IMX1
Uwe Kleine-König07469492010-06-14 15:56:58 +0200150 help
151 Say Y here if you are using Motorola MX1ADS/MXLADS boards
152
153config MACH_SCB9328
154 bool "Synertronixx scb9328"
Uwe Kleine-Königd112f4e2010-06-22 14:50:59 +0200155 select IMX_HAVE_PLATFORM_IMX_UART
Arnd Bergmann123860e2013-06-03 15:46:53 +0200156 select SOC_IMX1
Uwe Kleine-König07469492010-06-14 15:56:58 +0200157 help
158 Say Y here if you are using a Synertronixx scb9328 board
159
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000160config MACH_APF9328
161 bool "APF9328"
Gwenhael Goavec-Merou7a994812011-10-08 17:19:49 +0200162 select IMX_HAVE_PLATFORM_IMX_I2C
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000163 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100164 select SOC_IMX1
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000165 help
166 Say Yes here if you are using the Armadeus APF9328 development board
167
Shawn Guoc5a0d492012-09-17 09:38:39 +0800168endif
169
170if ARCH_MULTI_V5
171
Uwe Kleine-Königb6b06be2010-06-14 16:56:46 +0200172comment "MX21 platforms:"
Juergen Beisert80eedae2008-07-05 10:03:00 +0200173
Ivo Clarysse6b91edd2009-04-15 15:39:27 +0200174config MACH_MX21ADS
175 bool "MX21ADS platform"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100176 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König3c5227f2010-06-22 17:59:58 +0200177 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100178 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König1f8d7212010-06-16 11:17:45 +0200179 select IMX_HAVE_PLATFORM_MXC_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100180 select SOC_IMX21
Ivo Clarysse6b91edd2009-04-15 15:39:27 +0200181 help
182 Include support for MX21ADS platform. This includes specific
183 configurations for the board and its peripherals.
184
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100185comment "MX25 platforms:"
186
187config MACH_MX25_3DS
188 bool "Support MX25PDK (3DS) Platform"
Fabio Estevam91dcc7f2011-07-08 14:59:50 -0300189 select IMX_HAVE_PLATFORM_FLEXCAN
Fabio Estevam460d30a2010-12-22 12:25:32 -0200190 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100191 select IMX_HAVE_PLATFORM_IMX2_WDT
192 select IMX_HAVE_PLATFORM_IMXDI_RTC
193 select IMX_HAVE_PLATFORM_IMX_FB
Russell Kingb1b3f492012-10-06 17:12:25 +0100194 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100195 select IMX_HAVE_PLATFORM_IMX_KEYPAD
196 select IMX_HAVE_PLATFORM_IMX_UART
197 select IMX_HAVE_PLATFORM_MXC_EHCI
198 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100199 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100200 select SOC_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100201
Eric Bénard01dd5202011-12-13 07:31:35 +0100202config MACH_EUKREA_CPUIMX25SD
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100203 bool "Support Eukrea CPUIMX25 Platform"
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100204 select IMX_HAVE_PLATFORM_FLEXCAN
205 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Eric Bénard4692cba2012-05-08 09:20:18 +0200206 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100207 select IMX_HAVE_PLATFORM_IMXDI_RTC
208 select IMX_HAVE_PLATFORM_IMX_FB
209 select IMX_HAVE_PLATFORM_IMX_I2C
210 select IMX_HAVE_PLATFORM_IMX_UART
211 select IMX_HAVE_PLATFORM_MXC_EHCI
212 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100213 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200214 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100215 select SOC_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100216
217choice
218 prompt "Baseboard"
Eric Bénard01dd5202011-12-13 07:31:35 +0100219 depends on MACH_EUKREA_CPUIMX25SD
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100220 default MACH_EUKREA_MBIMXSD25_BASEBOARD
221
222config MACH_EUKREA_MBIMXSD25_BASEBOARD
223 bool "Eukrea MBIMXSD development board"
Uwe Kleine-König53094982011-02-28 18:04:33 +0100224 select IMX_HAVE_PLATFORM_GPIO_KEYS
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100225 select IMX_HAVE_PLATFORM_IMX_SSI
Eric Bénard49ed9402012-05-08 09:20:17 +0200226 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200227 select LEDS_GPIO_REGISTER
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100228 help
229 This adds board specific devices that can be found on Eukrea's
230 MBIMXSD evaluation board.
231
232endchoice
233
Sascha Haueref4bac52012-09-20 14:59:36 +0200234config MACH_IMX25_DT
235 bool "Support i.MX25 platforms from device tree"
236 select SOC_IMX25
237 help
238 Include support for Freescale i.MX25 based platforms
239 using the device tree for discovery
240
Uwe Kleine-Königb6b06be2010-06-14 16:56:46 +0200241comment "MX27 platforms:"
242
Juergen Beisert80eedae2008-07-05 10:03:00 +0200243config MACH_MX27ADS
244 bool "MX27ADS platform"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100245 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200246 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200247 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100248 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200249 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200250 select IMX_HAVE_PLATFORM_MXC_W1
Russell Kingb1b3f492012-10-06 17:12:25 +0100251 select SOC_IMX27
Juergen Beisert80eedae2008-07-05 10:03:00 +0200252 help
253 Include support for MX27ADS platform. This includes specific
254 configurations for the board and its peripherals.
Juergen Beisert7e5e9f52008-07-05 10:03:00 +0200255
256config MACH_PCM038
257 bool "Phytec phyCORE-i.MX27 CPU module (pcm038)"
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100258 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200259 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200260 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100261 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200262 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200263 select IMX_HAVE_PLATFORM_MXC_W1
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200264 select IMX_HAVE_PLATFORM_SPI_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200265 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100266 select SOC_IMX27
Juergen Beisert7e5e9f52008-07-05 10:03:00 +0200267 help
268 Include support for phyCORE-i.MX27 (aka pcm038) platform. This
269 includes specific configurations for the module and its peripherals.
Juergen Beisertff6552e2008-07-05 10:03:01 +0200270
271choice
272 prompt "Baseboard"
273 depends on MACH_PCM038
274 default MACH_PCM970_BASEBOARD
275
276config MACH_PCM970_BASEBOARD
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100277 bool "PHYTEC PCM970 development board"
278 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100279 select IMX_HAVE_PLATFORM_MXC_MMC
Juergen Beisertff6552e2008-07-05 10:03:01 +0200280 help
281 This adds board specific devices that can be found on Phytec's
282 PCM970 evaluation board.
283
284endchoice
Holger Schurig6bbdbf22009-01-29 14:42:25 +0100285
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100286config MACH_CPUIMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200287 bool "Eukrea CPUIMX27 module"
Uwe Kleine-Königbd455ed2010-11-09 17:52:14 +0100288 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100289 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200290 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200291 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100292 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200293 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200294 select IMX_HAVE_PLATFORM_MXC_W1
Markus Pargmann794987a2013-06-06 14:41:57 +0200295 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100296 select SOC_IMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200297 help
298 Include support for Eukrea CPUIMX27 platform. This includes
299 specific configurations for the module and its peripherals.
300
301config MACH_EUKREA_CPUIMX27_USESDHC2
302 bool "CPUIMX27 integrates SDHC2 module"
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100303 depends on MACH_CPUIMX27
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100304 select IMX_HAVE_PLATFORM_MXC_MMC
Eric Benardaf5b1df2009-07-16 16:26:33 +0200305 help
Eric Bénard2d66c782010-05-19 18:45:59 +0200306 This adds support for the internal SDHC2 used on CPUIMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200307 for wifi or eMMC.
308
Eric Bénard2d66c782010-05-19 18:45:59 +0200309config MACH_EUKREA_CPUIMX27_USEUART4
310 bool "CPUIMX27 integrates UART4 module"
311 depends on MACH_CPUIMX27
312 help
313 This adds support for the internal UART4 used on CPUIMX27
314 for bluetooth.
315
Eric Benarda961bf32009-07-16 16:26:34 +0200316choice
317 prompt "Baseboard"
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100318 depends on MACH_CPUIMX27
Eric Benarda961bf32009-07-16 16:26:34 +0200319 default MACH_EUKREA_MBIMX27_BASEBOARD
320
321config MACH_EUKREA_MBIMX27_BASEBOARD
Uwe Kleine-König4697bb92010-08-25 17:37:45 +0200322 bool "Eukrea MBIMX27 development board"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100323 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König3f880142010-11-10 09:58:56 +0100324 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Uwe Kleine-König4697bb92010-08-25 17:37:45 +0200325 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200326 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100327 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200328 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200329 select LEDS_GPIO_REGISTER
Eric Benarda961bf32009-07-16 16:26:34 +0200330 help
331 This adds board specific devices that can be found on Eukrea's
332 MBIMX27 evaluation board.
333
334endchoice
335
Fabio Estevamec9be0d2009-04-16 12:45:01 -0700336config MACH_MX27_3DS
337 bool "MX27PDK platform"
Fabio Estevam96cf4232010-12-22 12:25:31 -0200338 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Fabio Estevam8be92522010-12-07 17:14:45 -0200339 select IMX_HAVE_PLATFORM_IMX2_WDT
Fabio Estevam1abcb4c2011-06-22 09:25:25 -0300340 select IMX_HAVE_PLATFORM_IMX_FB
Fabio Estevam5885f032011-03-01 16:59:46 -0300341 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König3f880142010-11-10 09:58:56 +0100342 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Fabio Estevam688b5cb2012-07-03 15:44:57 -0300343 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200344 select IMX_HAVE_PLATFORM_IMX_UART
Fabio Estevam4c11c282012-02-15 19:36:10 -0200345 select IMX_HAVE_PLATFORM_MX2_CAMERA
Fabio Estevam96cf4232010-12-22 12:25:31 -0200346 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100347 select IMX_HAVE_PLATFORM_MXC_MMC
Fabio Estevamc67a3e02011-01-03 11:16:39 -0200348 select IMX_HAVE_PLATFORM_SPI_IMX
Fabio Estevam92cb33f2011-01-10 18:17:37 -0200349 select MXC_DEBUG_BOARD
Markus Pargmann794987a2013-06-06 14:41:57 +0200350 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100351 select SOC_IMX27
Fabio Estevamec9be0d2009-04-16 12:45:01 -0700352 help
353 Include support for MX27PDK platform. This includes specific
354 configurations for the board and its peripherals.
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400355
Javier Martin3b161e52010-07-30 10:06:01 +0200356config MACH_IMX27_VISSTRIM_M10
357 bool "Vista Silicon i.MX27 Visstrim_m10"
Uwe Kleine-König53094982011-02-28 18:04:33 +0100358 select IMX_HAVE_PLATFORM_GPIO_KEYS
Javier Martin3b161e52010-07-30 10:06:01 +0200359 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König5658bff2011-03-18 12:24:08 +0100360 select IMX_HAVE_PLATFORM_IMX_SSI
Javier Martin3b161e52010-07-30 10:06:01 +0200361 select IMX_HAVE_PLATFORM_IMX_UART
Javier Martinf52f5a52012-02-28 17:31:51 +0100362 select IMX_HAVE_PLATFORM_MX2_CAMERA
Gaëtan Carlier3ab3a352012-09-05 13:06:15 +0200363 select IMX_HAVE_PLATFORM_MX2_EMMA
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100364 select IMX_HAVE_PLATFORM_MXC_EHCI
Javier Martin32189132012-02-28 17:31:48 +0100365 select IMX_HAVE_PLATFORM_MXC_MMC
Javier Martinacb64642012-02-29 13:17:33 +0100366 select LEDS_GPIO_REGISTER
Russell Kingb1b3f492012-10-06 17:12:25 +0100367 select SOC_IMX27
Javier Martin3b161e52010-07-30 10:06:01 +0200368 help
369 Include support for Visstrim_m10 platform and its different variants.
370 This includes specific configurations for the board and its
371 peripherals.
372
Uwe Kleine-Königf747f932009-12-10 10:25:07 +0100373config MACH_IMX27LITE
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400374 bool "LogicPD MX27 LITEKIT platform"
Javier Martina5e20512011-03-01 15:02:08 +0100375 select IMX_HAVE_PLATFORM_IMX_SSI
Russell Kingb1b3f492012-10-06 17:12:25 +0100376 select IMX_HAVE_PLATFORM_IMX_UART
377 select SOC_IMX27
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400378 help
379 Include support for MX27 LITEKIT platform. This includes specific
380 configurations for the board and its peripherals.
381
Luotao Fu33731692009-08-06 11:19:39 +0200382config MACH_PCA100
383 bool "Phytec phyCARD-s (pca100)"
Uwe Kleine-Königbd455ed2010-11-09 17:52:14 +0100384 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100385 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100386 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200387 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König4697bb92010-08-25 17:37:45 +0200388 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200389 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100390 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100391 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200392 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200393 select IMX_HAVE_PLATFORM_MXC_W1
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200394 select IMX_HAVE_PLATFORM_SPI_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200395 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100396 select SOC_IMX27
Luotao Fu33731692009-08-06 11:19:39 +0200397 help
398 Include support for phyCARD-s (aka pca100) platform. This
399 includes specific configurations for the module and its peripherals.
400
Alan Carvalho de Assis143a1792009-11-25 15:24:50 -0200401config MACH_MXT_TD60
402 bool "Maxtrack i-MXT TD60"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100403 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200404 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200405 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100406 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200407 select IMX_HAVE_PLATFORM_MXC_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100408 select SOC_IMX27
Alan Carvalho de Assis143a1792009-11-25 15:24:50 -0200409 help
410 Include support for i-MXT (aka td60) platform. This
411 includes specific configurations for the module and its peripherals.
412
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200413config MACH_IMX27IPCAM
414 bool "IMX27 IPCAM platform"
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200415 select IMX_HAVE_PLATFORM_IMX2_WDT
416 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100417 select SOC_IMX27
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200418 help
419 Include support for IMX27 IPCAM platform. This includes specific
420 configurations for the board and its peripherals.
421
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100422config MACH_IMX27_DT
423 bool "Support i.MX27 platforms from device tree"
424 select SOC_IMX27
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100425 help
426 Include support for Freescale i.MX27 based platforms
427 using the device tree for discovery
428
Holger Schurig6bbdbf22009-01-29 14:42:25 +0100429endif
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100430
Shawn Guoc5a0d492012-09-17 09:38:39 +0800431if ARCH_MULTI_V6
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100432
433comment "MX31 platforms:"
434
435config MACH_MX31ADS
436 bool "Support MX31ADS platforms"
Russell Kingb1b3f492012-10-06 17:12:25 +0100437 default y
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100438 select IMX_HAVE_PLATFORM_IMX_I2C
439 select IMX_HAVE_PLATFORM_IMX_SSI
440 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100441 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100442 help
443 Include support for MX31ADS platform. This includes specific
444 configurations for the board and its peripherals.
445
446config MACH_MX31ADS_WM1133_EV1
447 bool "Support Wolfson Microelectronics 1133-EV1 module"
448 depends on MACH_MX31ADS
449 depends on MFD_WM8350_I2C
Arnd Bergmann69eb3832013-02-14 17:45:58 +0100450 depends on REGULATOR_WM8350 = y
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100451 help
452 Include support for the Wolfson Microelectronics 1133-EV1 PMU
453 and audio module for the MX31ADS platform.
454
455config MACH_MX31LILLY
456 bool "Support MX31 LILLY-1131 platforms (INCO startec)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100457 select IMX_HAVE_PLATFORM_IMX_UART
458 select IMX_HAVE_PLATFORM_IPU_CORE
459 select IMX_HAVE_PLATFORM_MXC_EHCI
460 select IMX_HAVE_PLATFORM_MXC_MMC
461 select IMX_HAVE_PLATFORM_SPI_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200462 select USB_ULPI_VIEWPORT if USB_ULPI
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 mx31 based LILLY1131 modules. This includes
466 specific configurations for the board and its peripherals.
467
468config MACH_MX31LITE
469 bool "Support MX31 LITEKIT (LogicPD)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100470 select IMX_HAVE_PLATFORM_IMX2_WDT
471 select IMX_HAVE_PLATFORM_IMX_UART
472 select IMX_HAVE_PLATFORM_MXC_EHCI
473 select IMX_HAVE_PLATFORM_MXC_MMC
474 select IMX_HAVE_PLATFORM_MXC_NAND
475 select IMX_HAVE_PLATFORM_MXC_RTC
476 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200477 select LEDS_GPIO_REGISTER
Markus Pargmann794987a2013-06-06 14:41:57 +0200478 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100479 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100480 help
481 Include support for MX31 LITEKIT platform. This includes specific
482 configurations for the board and its peripherals.
483
484config MACH_PCM037
485 bool "Support Phytec pcm037 (i.MX31) platforms"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100486 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
487 select IMX_HAVE_PLATFORM_IMX2_WDT
488 select IMX_HAVE_PLATFORM_IMX_I2C
489 select IMX_HAVE_PLATFORM_IMX_UART
490 select IMX_HAVE_PLATFORM_IPU_CORE
491 select IMX_HAVE_PLATFORM_MXC_EHCI
492 select IMX_HAVE_PLATFORM_MXC_MMC
493 select IMX_HAVE_PLATFORM_MXC_NAND
494 select IMX_HAVE_PLATFORM_MXC_W1
Markus Pargmann794987a2013-06-06 14:41:57 +0200495 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100496 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100497 help
498 Include support for Phytec pcm037 platform. This includes
499 specific configurations for the board and its peripherals.
500
501config MACH_PCM037_EET
502 bool "Support pcm037 EET board extensions"
503 depends on MACH_PCM037
504 select IMX_HAVE_PLATFORM_GPIO_KEYS
505 select IMX_HAVE_PLATFORM_SPI_IMX
506 help
507 Add support for PCM037 EET baseboard extensions. If you are using the
508 OLED display with EET, use "video=mx3fb:CMEL-OLED" kernel
509 command-line parameter.
510
511config MACH_MX31_3DS
512 bool "Support MX31PDK (3DS)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100513 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
514 select IMX_HAVE_PLATFORM_IMX2_WDT
515 select IMX_HAVE_PLATFORM_IMX_I2C
516 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Fabio Estevam3ef7cf12012-05-21 16:09:06 -0300517 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100518 select IMX_HAVE_PLATFORM_IMX_UART
519 select IMX_HAVE_PLATFORM_IPU_CORE
520 select IMX_HAVE_PLATFORM_MXC_EHCI
Fabio Estevamd093d5b2011-09-14 14:04:38 -0300521 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100522 select IMX_HAVE_PLATFORM_MXC_NAND
523 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100524 select MXC_DEBUG_BOARD
Markus Pargmann794987a2013-06-06 14:41:57 +0200525 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100526 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100527 help
528 Include support for MX31PDK (3DS) platform. This includes specific
529 configurations for the board and its peripherals.
530
531config MACH_MX31_3DS_MXC_NAND_USE_BBT
532 bool "Make the MXC NAND driver use the in flash Bad Block Table"
533 depends on MACH_MX31_3DS
534 depends on MTD_NAND_MXC
535 help
536 Enable this if you want that the MXC NAND driver uses the in flash
537 Bad Block Table to know what blocks are bad instead of scanning the
538 entire flash looking for bad block markers.
539
540config MACH_MX31MOBOARD
541 bool "Support mx31moboard platforms (EPFL Mobots group)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100542 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Philippe Rétornaz31776fb2012-01-20 18:58:23 +0100543 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100544 select IMX_HAVE_PLATFORM_IMX_I2C
Philippe Rétornaz2f7b9452012-05-15 13:53:52 +0200545 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100546 select IMX_HAVE_PLATFORM_IMX_UART
547 select IMX_HAVE_PLATFORM_IPU_CORE
548 select IMX_HAVE_PLATFORM_MXC_EHCI
549 select IMX_HAVE_PLATFORM_MXC_MMC
550 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200551 select LEDS_GPIO_REGISTER
Markus Pargmann794987a2013-06-06 14:41:57 +0200552 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100553 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100554 help
555 Include support for mx31moboard platform. This includes specific
556 configurations for the board and its peripherals.
557
558config MACH_QONG
559 bool "Support Dave/DENX QongEVB-LITE platform"
Fabio Estevambbb43362011-09-19 10:59:46 -0300560 select IMX_HAVE_PLATFORM_IMX2_WDT
Russell Kingb1b3f492012-10-06 17:12:25 +0100561 select IMX_HAVE_PLATFORM_IMX_UART
562 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100563 help
564 Include support for Dave/DENX QongEVB-LITE platform. This includes
565 specific configurations for the board and its peripherals.
566
567config MACH_ARMADILLO5X0
568 bool "Support Atmark Armadillo-500 Development Base Board"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100569 select IMX_HAVE_PLATFORM_GPIO_KEYS
570 select IMX_HAVE_PLATFORM_IMX_I2C
571 select IMX_HAVE_PLATFORM_IMX_UART
572 select IMX_HAVE_PLATFORM_IPU_CORE
573 select IMX_HAVE_PLATFORM_MXC_EHCI
574 select IMX_HAVE_PLATFORM_MXC_MMC
575 select IMX_HAVE_PLATFORM_MXC_NAND
Markus Pargmann794987a2013-06-06 14:41:57 +0200576 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100577 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100578 help
579 Include support for Atmark Armadillo-500 platform. This includes
580 specific configurations for the board and its peripherals.
581
582config MACH_KZM_ARM11_01
583 bool "Support KZM-ARM11-01(Kyoto Microcomputer)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100584 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100585 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100586 help
587 Include support for KZM-ARM11-01. This includes specific
588 configurations for the board and its peripherals.
589
590config MACH_BUG
591 bool "Support Buglabs BUGBase platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100592 default y
Russell Kingb1b3f492012-10-06 17:12:25 +0100593 select IMX_HAVE_PLATFORM_IMX_UART
594 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100595 help
596 Include support for BUGBase 1.3 platform. This includes specific
597 configurations for the board and its peripherals.
598
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200599config MACH_IMX31_DT
600 bool "Support i.MX31 platforms from device tree"
601 select SOC_IMX31
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200602 help
603 Include support for Freescale i.MX31 based platforms
604 using the device tree for discovery.
605
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100606comment "MX35 platforms:"
607
Steffen Trumtrara55a3d72013-12-18 15:10:25 +0100608config MACH_IMX35_DT
609 bool "Support i.MX35 platforms from device tree"
610 select SOC_IMX35
611 help
612 Include support for Freescale i.MX35 based platforms
613 using the device tree for discovery.
614
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100615config MACH_PCM043
616 bool "Support Phytec pcm043 (i.MX35) platforms"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100617 select IMX_HAVE_PLATFORM_FLEXCAN
618 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
619 select IMX_HAVE_PLATFORM_IMX2_WDT
620 select IMX_HAVE_PLATFORM_IMX_I2C
621 select IMX_HAVE_PLATFORM_IMX_SSI
622 select IMX_HAVE_PLATFORM_IMX_UART
623 select IMX_HAVE_PLATFORM_IPU_CORE
624 select IMX_HAVE_PLATFORM_MXC_EHCI
625 select IMX_HAVE_PLATFORM_MXC_NAND
626 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200627 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100628 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100629 help
630 Include support for Phytec pcm043 platform. This includes
631 specific configurations for the board and its peripherals.
632
633config MACH_MX35_3DS
634 bool "Support MX35PDK platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100635 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
636 select IMX_HAVE_PLATFORM_IMX2_WDT
Marc Kleine-Budde8e3e26a2012-04-24 17:48:18 +0200637 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100638 select IMX_HAVE_PLATFORM_IMX_I2C
639 select IMX_HAVE_PLATFORM_IMX_UART
Marc Kleine-Budde8e3e26a2012-04-24 17:48:18 +0200640 select IMX_HAVE_PLATFORM_IPU_CORE
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100641 select IMX_HAVE_PLATFORM_MXC_EHCI
642 select IMX_HAVE_PLATFORM_MXC_NAND
Benoît Thébaudeauc6fd6d12012-07-04 16:36:28 +0200643 select IMX_HAVE_PLATFORM_MXC_RTC
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100644 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100645 select MXC_DEBUG_BOARD
646 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100647 help
648 Include support for MX35PDK platform. This includes specific
649 configurations for the board and its peripherals.
650
Eric Bénarda69aa722011-12-13 07:31:43 +0100651config MACH_EUKREA_CPUIMX35SD
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100652 bool "Support Eukrea CPUIMX35 Platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100653 select IMX_HAVE_PLATFORM_FLEXCAN
654 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
655 select IMX_HAVE_PLATFORM_IMX2_WDT
656 select IMX_HAVE_PLATFORM_IMX_I2C
657 select IMX_HAVE_PLATFORM_IMX_UART
658 select IMX_HAVE_PLATFORM_MXC_EHCI
659 select IMX_HAVE_PLATFORM_MXC_NAND
660 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200661 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100662 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100663 help
664 Include support for Eukrea CPUIMX35 platform. This includes
665 specific configurations for the board and its peripherals.
666
667choice
668 prompt "Baseboard"
Eric Bénarda69aa722011-12-13 07:31:43 +0100669 depends on MACH_EUKREA_CPUIMX35SD
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100670 default MACH_EUKREA_MBIMXSD35_BASEBOARD
671
672config MACH_EUKREA_MBIMXSD35_BASEBOARD
673 bool "Eukrea MBIMXSD development board"
674 select IMX_HAVE_PLATFORM_GPIO_KEYS
675 select IMX_HAVE_PLATFORM_IMX_SSI
676 select IMX_HAVE_PLATFORM_IPU_CORE
Eric Bénard0e189852012-05-08 09:20:19 +0200677 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200678 select LEDS_GPIO_REGISTER
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100679 help
680 This adds board specific devices that can be found on Eukrea's
681 MBIMXSD evaluation board.
682
683endchoice
684
685config MACH_VPR200
686 bool "Support VPR200 platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100687 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
688 select IMX_HAVE_PLATFORM_GPIO_KEYS
689 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100690 select IMX_HAVE_PLATFORM_IMX_I2C
Russell Kingb1b3f492012-10-06 17:12:25 +0100691 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100692 select IMX_HAVE_PLATFORM_IPU_CORE
693 select IMX_HAVE_PLATFORM_MXC_EHCI
694 select IMX_HAVE_PLATFORM_MXC_NAND
695 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100696 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100697 help
698 Include support for VPR200 platform. This includes specific
699 configurations for the board and its peripherals.
700
Shawn Guoc5a0d492012-09-17 09:38:39 +0800701endif
702
703if ARCH_MULTI_V7
704
Sascha Hauer784a90c2011-11-07 12:36:48 +0100705comment "i.MX51 machines:"
706
707config MACH_IMX51_DT
708 bool "Support i.MX51 platforms from device tree"
Russell Kingb1b3f492012-10-06 17:12:25 +0100709 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100710 help
711 Include support for Freescale i.MX51 based platforms
712 using the device tree for discovery
713
714config MACH_MX51_BABBAGE
715 bool "Support MX51 BABBAGE platforms"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100716 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
717 select IMX_HAVE_PLATFORM_IMX2_WDT
718 select IMX_HAVE_PLATFORM_IMX_I2C
719 select IMX_HAVE_PLATFORM_IMX_UART
720 select IMX_HAVE_PLATFORM_MXC_EHCI
721 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
722 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100723 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100724 help
725 Include support for MX51 Babbage platform, also known as MX51EVK in
726 u-boot. This includes specific configurations for the board and its
727 peripherals.
728
Sascha Hauer784a90c2011-11-07 12:36:48 +0100729config MACH_EUKREA_CPUIMX51SD
730 bool "Support Eukrea CPUIMX51SD module"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100731 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Russell Kingb1b3f492012-10-06 17:12:25 +0100732 select IMX_HAVE_PLATFORM_IMX2_WDT
Sascha Hauer784a90c2011-11-07 12:36:48 +0100733 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_MXC_NAND
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 Eukrea CPUIMX51SD platform. This includes
741 specific configurations for the module and its peripherals.
742
743choice
744 prompt "Baseboard"
745 depends on MACH_EUKREA_CPUIMX51SD
746 default MACH_EUKREA_MBIMXSD51_BASEBOARD
747
748config MACH_EUKREA_MBIMXSD51_BASEBOARD
749 prompt "Eukrea MBIMXSD development board"
750 bool
Eric Bénard932d67d2012-05-08 09:20:22 +0200751 select IMX_HAVE_PLATFORM_IMX_SSI
Sascha Hauer784a90c2011-11-07 12:36:48 +0100752 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
753 select LEDS_GPIO_REGISTER
754 help
755 This adds board specific devices that can be found on Eukrea's
756 MBIMXSD evaluation board.
757
758endchoice
759
Shawn Guo442279d2012-08-12 23:21:39 +0800760comment "Device tree only"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100761
Greg Ungerer361b0a42013-10-29 15:15:54 +1000762config SOC_IMX50
763 bool "i.MX50 support"
764 select HAVE_IMX_SRC
Shawn Guof7f3d4b2013-11-16 22:25:02 +0800765 select PINCTRL_IMX50
Greg Ungerer361b0a42013-10-29 15:15:54 +1000766 select SOC_IMX5
767
768 help
769 This enables support for Freescale i.MX50 processor.
770
Shawn Guo442279d2012-08-12 23:21:39 +0800771config SOC_IMX53
772 bool "i.MX53 support"
Philipp Zabelbd3d9242013-03-28 17:35:22 +0100773 select HAVE_IMX_SRC
Shawn Guo442279d2012-08-12 23:21:39 +0800774 select PINCTRL_IMX53
Russell Kingb1b3f492012-10-06 17:12:25 +0100775 select SOC_IMX5
Shawn Guo442279d2012-08-12 23:21:39 +0800776
Sascha Hauer784a90c2011-11-07 12:36:48 +0100777 help
Shawn Guo442279d2012-08-12 23:21:39 +0800778 This enables support for Freescale i.MX53 processor.
Shawn Guobac89d72011-10-02 15:09:11 +0800779
Shawn Guo94f890e2014-02-27 15:22:49 +0800780config SOC_IMX6
781 bool
Shawn Guo96efb442012-10-23 19:44:34 +0800782 select ARM_ERRATA_754322
Shawn Guo96efb442012-10-23 19:44:34 +0800783 select ARM_ERRATA_775420
Shawn Guobac89d72011-10-02 15:09:11 +0800784 select ARM_GIC
Anson Huange95dddb2013-03-20 19:39:42 -0400785 select HAVE_IMX_ANATOP
Shawn Guo9fbbe682011-09-06 14:39:44 +0800786 select HAVE_IMX_GPC
787 select HAVE_IMX_MMDC
Shawn Guoaec99b72013-01-11 22:08:27 +0800788 select HAVE_IMX_SRC
Dong Aishengbaa64152012-09-05 10:57:15 +0800789 select MFD_SYSCON
Shawn Guo96efb442012-10-23 19:44:34 +0800790 select PL310_ERRATA_588369 if CACHE_PL310
791 select PL310_ERRATA_727915 if CACHE_PL310
792 select PL310_ERRATA_769419 if CACHE_PL310
Shawn Guobac89d72011-10-02 15:09:11 +0800793
Shawn Guo94f890e2014-02-27 15:22:49 +0800794config SOC_IMX6Q
795 bool "i.MX6 Quad/DualLite support"
796 select ARM_ERRATA_764369 if SMP
797 select HAVE_ARM_SCU if SMP
798 select HAVE_ARM_TWD if SMP
799 select MIGHT_HAVE_PCI
800 select PCI_DOMAINS if PCI
801 select PINCTRL_IMX6Q
802 select SOC_IMX6
803
Shawn Guobac89d72011-10-02 15:09:11 +0800804 help
805 This enables support for Freescale i.MX6 Quad processor.
806
Shawn Guo31a2fbf2013-05-03 11:24:47 +0800807config SOC_IMX6SL
808 bool "i.MX6 SoloLite support"
Shawn Guo31a2fbf2013-05-03 11:24:47 +0800809 select PINCTRL_IMX6SL
Shawn Guo94f890e2014-02-27 15:22:49 +0800810 select SOC_IMX6
Shawn Guo31a2fbf2013-05-03 11:24:47 +0800811
812 help
813 This enables support for Freescale i.MX6 SoloLite processor.
814
Jingchang Lu5be913c2013-05-28 17:12:21 +0800815config SOC_VF610
816 bool "Vybrid Family VF610 support"
Jingchang Lu5be913c2013-05-28 17:12:21 +0800817 select ARM_GIC
Jingchang Lu5be913c2013-05-28 17:12:21 +0800818 select PINCTRL_VF610
819 select VF_PIT_TIMER
820 select PL310_ERRATA_588369 if CACHE_PL310
821 select PL310_ERRATA_727915 if CACHE_PL310
822 select PL310_ERRATA_769419 if CACHE_PL310
823
824 help
825 This enable support for Freescale Vybrid VF610 processor.
826
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100827endif
Shawn Guoe0557c02012-09-13 15:51:15 +0800828
829source "arch/arm/mach-imx/devices/Kconfig"
Shawn Guo3995eb82012-09-13 19:48:07 +0800830
Shawn Guoc5a0d492012-09-17 09:38:39 +0800831endmenu