blob: f35da31a01442e7a373d1c2e5ee3ce4fa4f6129e [file] [log] [blame]
Shawn Guoc5a0d492012-09-17 09:38:39 +08001config ARCH_MXC
Fabio Estevam4cc3c842012-10-18 15:04:30 -03002 bool "Freescale i.MX family" if ARCH_MULTI_V4_V5 || ARCH_MULTI_V6_V7
Shawn Guoc5a0d492012-09-17 09:38:39 +08003 select ARCH_REQUIRE_GPIOLIB
Fabio Estevamf36b5942013-07-26 00:17:35 -03004 select ARM_CPU_SUSPEND if PM
Shawn Guoc5a0d492012-09-17 09:38:39 +08005 select ARM_PATCH_PHYS_VIRT
6 select AUTO_ZRELADDR if !ZBOOT_ROM
Shawn Guoc5a0d492012-09-17 09:38:39 +08007 select CLKSRC_MMIO
Uwe Kleine-König07d8a492013-10-01 11:08:56 +02008 select COMMON_CLK
Fabio Estevam60371952013-05-08 21:05:54 +08009 select GENERIC_ALLOCATOR
Shawn Guoc5a0d492012-09-17 09:38:39 +080010 select GENERIC_CLOCKEVENTS
11 select GENERIC_IRQ_CHIP
Fabio Estevamf0255692013-07-10 12:30:16 -030012 select MIGHT_HAVE_CACHE_L2X0 if ARCH_MULTI_V6_V7
Shawn Guoc5a0d492012-09-17 09:38:39 +080013 select MULTI_IRQ_HANDLER
Shawn Guoa2887542013-08-13 16:59:28 +080014 select SOC_BUS
Shawn Guoc5a0d492012-09-17 09:38:39 +080015 select SPARSE_IRQ
16 select USE_OF
17 help
18 Support for Freescale MXC/iMX-based family of processors
19
20menu "Freescale i.MX support"
21 depends on ARCH_MXC
Shawn Guo3995eb82012-09-13 19:48:07 +080022
Shawn Guo3995eb82012-09-13 19:48:07 +080023config MXC_TZIC
24 bool
25
26config MXC_AVIC
27 bool
28
29config MXC_DEBUG_BOARD
30 bool "Enable MXC debug board(for 3-stack)"
31 help
32 The debug board is an integral part of the MXC 3-stack(PDK)
33 platforms, it can be attached or removed from the peripheral
34 board. On debug board, several debug devices(ethernet, UART,
35 buttons, LEDs and JTAG) are implemented. Between the MCU and
36 these devices, a CPLD is added as a bridge which performs
37 data/address de-multiplexing and decode, signal level shift,
38 interrupt control and various board functions.
39
40config HAVE_EPIT
41 bool
42
43config MXC_USE_EPIT
44 bool "Use EPIT instead of GPT"
45 depends on HAVE_EPIT
46 help
47 Use EPIT as the system timer on systems that have it. Normally you
48 don't have a reason to do so as the EPIT has the same features and
49 uses the same clocks as the GPT. Anyway, on some systems the GPT
50 may be in use for other purposes.
51
Shawn Guo3995eb82012-09-13 19:48:07 +080052config ARCH_HAS_RNGA
53 bool
54
Anson Huange95dddb2013-03-20 19:39:42 -040055config HAVE_IMX_ANATOP
56 bool
57
Shawn Guo9fbbe682011-09-06 14:39:44 +080058config HAVE_IMX_GPC
59 bool
60
61config HAVE_IMX_MMDC
62 bool
63
64config HAVE_IMX_SRC
Shawn Guo68b25322012-10-23 15:23:59 +080065 def_bool y if SMP
Philipp Zabel02985b92013-03-28 17:35:19 +010066 select ARCH_HAS_RESET_CONTROLLER
Shawn Guo9fbbe682011-09-06 14:39:44 +080067
Shawn Guo267dd342012-09-13 13:26:00 +080068config IMX_HAVE_IOMUX_V1
69 bool
70
71config ARCH_MXC_IOMUX_V3
72 bool
73
Sascha Hauerae4fa7f2011-08-23 09:39:35 +020074config ARCH_MX1
75 bool
76
Sascha Hauerae4fa7f2011-08-23 09:39:35 +020077config ARCH_MX25
78 bool
79
80config MACH_MX27
81 bool
82
Uwe Kleine-Könige780d232010-06-14 17:39:21 +020083config SOC_IMX1
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010084 bool
Sascha Hauerae4fa7f2011-08-23 09:39:35 +020085 select ARCH_MX1
Uwe Kleine-Könige780d232010-06-14 17:39:21 +020086 select CPU_ARM920T
87 select IMX_HAVE_IOMUX_V1
Sascha Hauerc7259df2010-11-05 09:37:22 +010088 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010089
90config SOC_IMX21
Uwe Kleine-Könige780d232010-06-14 17:39:21 +020091 bool
Russell Kingb1b3f492012-10-06 17:12:25 +010092 select CPU_ARM926T
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010093 select IMX_HAVE_IOMUX_V1
Sascha Hauerc7259df2010-11-05 09:37:22 +010094 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010095
96config SOC_IMX25
97 bool
Sascha Hauerae4fa7f2011-08-23 09:39:35 +020098 select ARCH_MX25
Russell Kingb1b3f492012-10-06 17:12:25 +010099 select ARCH_MXC_IOMUX_V3
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100100 select CPU_ARM926T
Sascha Hauerc7259df2010-11-05 09:37:22 +0100101 select MXC_AVIC
Denis Carikli5bcaa7a2013-11-06 09:52:18 +0100102 select PINCTRL
103 select PINCTRL_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100104
105config SOC_IMX27
106 bool
Markus Pargmann68663102013-03-27 14:01:31 +0100107 select ARCH_HAS_CPUFREQ
108 select ARCH_HAS_OPP
Russell Kingb1b3f492012-10-06 17:12:25 +0100109 select CPU_ARM926T
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100110 select IMX_HAVE_IOMUX_V1
Russell Kingb1b3f492012-10-06 17:12:25 +0100111 select MACH_MX27
Sascha Hauerc7259df2010-11-05 09:37:22 +0100112 select MXC_AVIC
Markus Pargmannacb350e2013-11-12 09:50:10 +0100113 select PINCTRL
114 select PINCTRL_IMX27
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100115
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100116config SOC_IMX31
117 bool
118 select CPU_V6
119 select IMX_HAVE_PLATFORM_MXC_RNGA
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100120 select MXC_AVIC
Sascha Hauera89cf592011-09-27 13:48:02 +0800121 select SMP_ON_UP if SMP
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100122
123config SOC_IMX35
124 bool
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100125 select ARCH_MXC_IOMUX_V3
Russell Kingb1b3f492012-10-06 17:12:25 +0100126 select CPU_V6K
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100127 select HAVE_EPIT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100128 select MXC_AVIC
Sascha Hauera89cf592011-09-27 13:48:02 +0800129 select SMP_ON_UP if SMP
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100130
Sascha Hauer784a90c2011-11-07 12:36:48 +0100131config SOC_IMX5
Russell Kingb1b3f492012-10-06 17:12:25 +0100132 bool
Sascha Hauer784a90c2011-11-07 12:36:48 +0100133 select ARCH_HAS_CPUFREQ
Markus Pargmann68663102013-03-27 14:01:31 +0100134 select ARCH_HAS_OPP
Russell Kingb1b3f492012-10-06 17:12:25 +0100135 select ARCH_MXC_IOMUX_V3
Russell Kingb1b3f492012-10-06 17:12:25 +0100136 select CPU_V7
137 select MXC_TZIC
Sascha Hauer784a90c2011-11-07 12:36:48 +0100138
Sascha Hauer784a90c2011-11-07 12:36:48 +0100139config SOC_IMX51
140 bool
Philipp Zabelbd3d9242013-03-28 17:35:22 +0100141 select HAVE_IMX_SRC
Shawn Guob6798f82012-08-13 19:55:37 +0800142 select PINCTRL
143 select PINCTRL_IMX51
Russell Kingb1b3f492012-10-06 17:12:25 +0100144 select SOC_IMX5
Sascha Hauer784a90c2011-11-07 12:36:48 +0100145
Shawn Guoc5a0d492012-09-17 09:38:39 +0800146if ARCH_MULTI_V4T
Uwe Kleine-Könige780d232010-06-14 17:39:21 +0200147
Uwe Kleine-König07469492010-06-14 15:56:58 +0200148comment "MX1 platforms:"
149config MACH_MXLADS
150 bool
151
152config ARCH_MX1ADS
153 bool "MX1ADS platform"
Uwe Kleine-König6348e6b2010-06-16 15:26:07 +0200154 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd112f4e2010-06-22 14:50:59 +0200155 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100156 select MACH_MXLADS
157 select SOC_IMX1
Uwe Kleine-König07469492010-06-14 15:56:58 +0200158 help
159 Say Y here if you are using Motorola MX1ADS/MXLADS boards
160
161config MACH_SCB9328
162 bool "Synertronixx scb9328"
Uwe Kleine-Königd112f4e2010-06-22 14:50:59 +0200163 select IMX_HAVE_PLATFORM_IMX_UART
Arnd Bergmann123860e2013-06-03 15:46:53 +0200164 select SOC_IMX1
Uwe Kleine-König07469492010-06-14 15:56:58 +0200165 help
166 Say Y here if you are using a Synertronixx scb9328 board
167
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000168config MACH_APF9328
169 bool "APF9328"
Gwenhael Goavec-Merou7a994812011-10-08 17:19:49 +0200170 select IMX_HAVE_PLATFORM_IMX_I2C
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000171 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100172 select SOC_IMX1
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000173 help
174 Say Yes here if you are using the Armadeus APF9328 development board
175
Shawn Guoc5a0d492012-09-17 09:38:39 +0800176endif
177
178if ARCH_MULTI_V5
179
Uwe Kleine-Königb6b06be2010-06-14 16:56:46 +0200180comment "MX21 platforms:"
Juergen Beisert80eedae2008-07-05 10:03:00 +0200181
Ivo Clarysse6b91edd2009-04-15 15:39:27 +0200182config MACH_MX21ADS
183 bool "MX21ADS platform"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100184 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König3c5227f2010-06-22 17:59:58 +0200185 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100186 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König1f8d7212010-06-16 11:17:45 +0200187 select IMX_HAVE_PLATFORM_MXC_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100188 select SOC_IMX21
Ivo Clarysse6b91edd2009-04-15 15:39:27 +0200189 help
190 Include support for MX21ADS platform. This includes specific
191 configurations for the board and its peripherals.
192
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100193comment "MX25 platforms:"
194
195config MACH_MX25_3DS
196 bool "Support MX25PDK (3DS) Platform"
Fabio Estevam91dcc7f2011-07-08 14:59:50 -0300197 select IMX_HAVE_PLATFORM_FLEXCAN
Fabio Estevam460d30a2010-12-22 12:25:32 -0200198 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100199 select IMX_HAVE_PLATFORM_IMX2_WDT
200 select IMX_HAVE_PLATFORM_IMXDI_RTC
201 select IMX_HAVE_PLATFORM_IMX_FB
Russell Kingb1b3f492012-10-06 17:12:25 +0100202 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100203 select IMX_HAVE_PLATFORM_IMX_KEYPAD
204 select IMX_HAVE_PLATFORM_IMX_UART
205 select IMX_HAVE_PLATFORM_MXC_EHCI
206 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100207 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100208 select SOC_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100209
Eric Bénard01dd5202011-12-13 07:31:35 +0100210config MACH_EUKREA_CPUIMX25SD
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100211 bool "Support Eukrea CPUIMX25 Platform"
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100212 select IMX_HAVE_PLATFORM_FLEXCAN
213 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Eric Bénard4692cba2012-05-08 09:20:18 +0200214 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100215 select IMX_HAVE_PLATFORM_IMXDI_RTC
216 select IMX_HAVE_PLATFORM_IMX_FB
217 select IMX_HAVE_PLATFORM_IMX_I2C
218 select IMX_HAVE_PLATFORM_IMX_UART
219 select IMX_HAVE_PLATFORM_MXC_EHCI
220 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100221 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200222 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100223 select SOC_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100224
225choice
226 prompt "Baseboard"
Eric Bénard01dd5202011-12-13 07:31:35 +0100227 depends on MACH_EUKREA_CPUIMX25SD
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100228 default MACH_EUKREA_MBIMXSD25_BASEBOARD
229
230config MACH_EUKREA_MBIMXSD25_BASEBOARD
231 bool "Eukrea MBIMXSD development board"
Uwe Kleine-König53094982011-02-28 18:04:33 +0100232 select IMX_HAVE_PLATFORM_GPIO_KEYS
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100233 select IMX_HAVE_PLATFORM_IMX_SSI
Eric Bénard49ed9402012-05-08 09:20:17 +0200234 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200235 select LEDS_GPIO_REGISTER
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100236 help
237 This adds board specific devices that can be found on Eukrea's
238 MBIMXSD evaluation board.
239
240endchoice
241
Sascha Haueref4bac52012-09-20 14:59:36 +0200242config MACH_IMX25_DT
243 bool "Support i.MX25 platforms from device tree"
244 select SOC_IMX25
245 help
246 Include support for Freescale i.MX25 based platforms
247 using the device tree for discovery
248
Uwe Kleine-Königb6b06be2010-06-14 16:56:46 +0200249comment "MX27 platforms:"
250
Juergen Beisert80eedae2008-07-05 10:03:00 +0200251config MACH_MX27ADS
252 bool "MX27ADS platform"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100253 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200254 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200255 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100256 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200257 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200258 select IMX_HAVE_PLATFORM_MXC_W1
Russell Kingb1b3f492012-10-06 17:12:25 +0100259 select SOC_IMX27
Juergen Beisert80eedae2008-07-05 10:03:00 +0200260 help
261 Include support for MX27ADS platform. This includes specific
262 configurations for the board and its peripherals.
Juergen Beisert7e5e9f52008-07-05 10:03:00 +0200263
264config MACH_PCM038
265 bool "Phytec phyCORE-i.MX27 CPU module (pcm038)"
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100266 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200267 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200268 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100269 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200270 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200271 select IMX_HAVE_PLATFORM_MXC_W1
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200272 select IMX_HAVE_PLATFORM_SPI_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200273 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100274 select SOC_IMX27
Juergen Beisert7e5e9f52008-07-05 10:03:00 +0200275 help
276 Include support for phyCORE-i.MX27 (aka pcm038) platform. This
277 includes specific configurations for the module and its peripherals.
Juergen Beisertff6552e2008-07-05 10:03:01 +0200278
279choice
280 prompt "Baseboard"
281 depends on MACH_PCM038
282 default MACH_PCM970_BASEBOARD
283
284config MACH_PCM970_BASEBOARD
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100285 bool "PHYTEC PCM970 development board"
286 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100287 select IMX_HAVE_PLATFORM_MXC_MMC
Juergen Beisertff6552e2008-07-05 10:03:01 +0200288 help
289 This adds board specific devices that can be found on Phytec's
290 PCM970 evaluation board.
291
292endchoice
Holger Schurig6bbdbf22009-01-29 14:42:25 +0100293
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100294config MACH_CPUIMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200295 bool "Eukrea CPUIMX27 module"
Uwe Kleine-Königbd455ed2010-11-09 17:52:14 +0100296 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100297 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200298 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200299 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100300 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200301 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200302 select IMX_HAVE_PLATFORM_MXC_W1
Markus Pargmann794987a2013-06-06 14:41:57 +0200303 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100304 select SOC_IMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200305 help
306 Include support for Eukrea CPUIMX27 platform. This includes
307 specific configurations for the module and its peripherals.
308
309config MACH_EUKREA_CPUIMX27_USESDHC2
310 bool "CPUIMX27 integrates SDHC2 module"
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100311 depends on MACH_CPUIMX27
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100312 select IMX_HAVE_PLATFORM_MXC_MMC
Eric Benardaf5b1df2009-07-16 16:26:33 +0200313 help
Eric Bénard2d66c782010-05-19 18:45:59 +0200314 This adds support for the internal SDHC2 used on CPUIMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200315 for wifi or eMMC.
316
Eric Bénard2d66c782010-05-19 18:45:59 +0200317config MACH_EUKREA_CPUIMX27_USEUART4
318 bool "CPUIMX27 integrates UART4 module"
319 depends on MACH_CPUIMX27
320 help
321 This adds support for the internal UART4 used on CPUIMX27
322 for bluetooth.
323
Eric Benarda961bf32009-07-16 16:26:34 +0200324choice
325 prompt "Baseboard"
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100326 depends on MACH_CPUIMX27
Eric Benarda961bf32009-07-16 16:26:34 +0200327 default MACH_EUKREA_MBIMX27_BASEBOARD
328
329config MACH_EUKREA_MBIMX27_BASEBOARD
Uwe Kleine-König4697bb922010-08-25 17:37:45 +0200330 bool "Eukrea MBIMX27 development board"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100331 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König3f880142010-11-10 09:58:56 +0100332 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Uwe Kleine-König4697bb922010-08-25 17:37:45 +0200333 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200334 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100335 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200336 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200337 select LEDS_GPIO_REGISTER
Eric Benarda961bf32009-07-16 16:26:34 +0200338 help
339 This adds board specific devices that can be found on Eukrea's
340 MBIMX27 evaluation board.
341
342endchoice
343
Fabio Estevamec9be0d2009-04-16 12:45:01 -0700344config MACH_MX27_3DS
345 bool "MX27PDK platform"
Fabio Estevam96cf4232010-12-22 12:25:31 -0200346 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Fabio Estevam8be92522010-12-07 17:14:45 -0200347 select IMX_HAVE_PLATFORM_IMX2_WDT
Fabio Estevam1abcb4c2011-06-22 09:25:25 -0300348 select IMX_HAVE_PLATFORM_IMX_FB
Fabio Estevam5885f032011-03-01 16:59:46 -0300349 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König3f880142010-11-10 09:58:56 +0100350 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Fabio Estevam688b5cb2012-07-03 15:44:57 -0300351 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200352 select IMX_HAVE_PLATFORM_IMX_UART
Fabio Estevam4c11c282012-02-15 19:36:10 -0200353 select IMX_HAVE_PLATFORM_MX2_CAMERA
Fabio Estevam96cf4232010-12-22 12:25:31 -0200354 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100355 select IMX_HAVE_PLATFORM_MXC_MMC
Fabio Estevamc67a3e02011-01-03 11:16:39 -0200356 select IMX_HAVE_PLATFORM_SPI_IMX
Fabio Estevam92cb33f2011-01-10 18:17:37 -0200357 select MXC_DEBUG_BOARD
Markus Pargmann794987a2013-06-06 14:41:57 +0200358 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100359 select SOC_IMX27
Fabio Estevamec9be0d2009-04-16 12:45:01 -0700360 help
361 Include support for MX27PDK platform. This includes specific
362 configurations for the board and its peripherals.
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400363
Javier Martin3b161e52010-07-30 10:06:01 +0200364config MACH_IMX27_VISSTRIM_M10
365 bool "Vista Silicon i.MX27 Visstrim_m10"
Uwe Kleine-König53094982011-02-28 18:04:33 +0100366 select IMX_HAVE_PLATFORM_GPIO_KEYS
Javier Martin3b161e52010-07-30 10:06:01 +0200367 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König5658bff2011-03-18 12:24:08 +0100368 select IMX_HAVE_PLATFORM_IMX_SSI
Javier Martin3b161e52010-07-30 10:06:01 +0200369 select IMX_HAVE_PLATFORM_IMX_UART
Javier Martinf52f5a52012-02-28 17:31:51 +0100370 select IMX_HAVE_PLATFORM_MX2_CAMERA
Gaëtan Carlier3ab3a352012-09-05 13:06:15 +0200371 select IMX_HAVE_PLATFORM_MX2_EMMA
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100372 select IMX_HAVE_PLATFORM_MXC_EHCI
Javier Martin32189132012-02-28 17:31:48 +0100373 select IMX_HAVE_PLATFORM_MXC_MMC
Javier Martinacb64642012-02-29 13:17:33 +0100374 select LEDS_GPIO_REGISTER
Russell Kingb1b3f492012-10-06 17:12:25 +0100375 select SOC_IMX27
Javier Martin3b161e52010-07-30 10:06:01 +0200376 help
377 Include support for Visstrim_m10 platform and its different variants.
378 This includes specific configurations for the board and its
379 peripherals.
380
Uwe Kleine-Königf747f932009-12-10 10:25:07 +0100381config MACH_IMX27LITE
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400382 bool "LogicPD MX27 LITEKIT platform"
Javier Martina5e20512011-03-01 15:02:08 +0100383 select IMX_HAVE_PLATFORM_IMX_SSI
Russell Kingb1b3f492012-10-06 17:12:25 +0100384 select IMX_HAVE_PLATFORM_IMX_UART
385 select SOC_IMX27
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400386 help
387 Include support for MX27 LITEKIT platform. This includes specific
388 configurations for the board and its peripherals.
389
Luotao Fu33731692009-08-06 11:19:39 +0200390config MACH_PCA100
391 bool "Phytec phyCARD-s (pca100)"
Uwe Kleine-Königbd455ed2010-11-09 17:52:14 +0100392 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100393 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100394 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200395 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König4697bb922010-08-25 17:37:45 +0200396 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200397 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100398 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100399 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200400 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200401 select IMX_HAVE_PLATFORM_MXC_W1
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200402 select IMX_HAVE_PLATFORM_SPI_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200403 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100404 select SOC_IMX27
Luotao Fu33731692009-08-06 11:19:39 +0200405 help
406 Include support for phyCARD-s (aka pca100) platform. This
407 includes specific configurations for the module and its peripherals.
408
Alan Carvalho de Assis143a1792009-11-25 15:24:50 -0200409config MACH_MXT_TD60
410 bool "Maxtrack i-MXT TD60"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100411 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200412 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200413 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100414 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200415 select IMX_HAVE_PLATFORM_MXC_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100416 select SOC_IMX27
Alan Carvalho de Assis143a1792009-11-25 15:24:50 -0200417 help
418 Include support for i-MXT (aka td60) platform. This
419 includes specific configurations for the module and its peripherals.
420
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200421config MACH_IMX27IPCAM
422 bool "IMX27 IPCAM platform"
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200423 select IMX_HAVE_PLATFORM_IMX2_WDT
424 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100425 select SOC_IMX27
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200426 help
427 Include support for IMX27 IPCAM platform. This includes specific
428 configurations for the board and its peripherals.
429
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100430config MACH_IMX27_DT
431 bool "Support i.MX27 platforms from device tree"
432 select SOC_IMX27
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100433 help
434 Include support for Freescale i.MX27 based platforms
435 using the device tree for discovery
436
Holger Schurig6bbdbf22009-01-29 14:42:25 +0100437endif
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100438
Shawn Guoc5a0d492012-09-17 09:38:39 +0800439if ARCH_MULTI_V6
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100440
441comment "MX31 platforms:"
442
443config MACH_MX31ADS
444 bool "Support MX31ADS platforms"
Russell Kingb1b3f492012-10-06 17:12:25 +0100445 default y
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100446 select IMX_HAVE_PLATFORM_IMX_I2C
447 select IMX_HAVE_PLATFORM_IMX_SSI
448 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100449 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100450 help
451 Include support for MX31ADS platform. This includes specific
452 configurations for the board and its peripherals.
453
454config MACH_MX31ADS_WM1133_EV1
455 bool "Support Wolfson Microelectronics 1133-EV1 module"
456 depends on MACH_MX31ADS
457 depends on MFD_WM8350_I2C
Arnd Bergmann69eb3832013-02-14 17:45:58 +0100458 depends on REGULATOR_WM8350 = y
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100459 help
460 Include support for the Wolfson Microelectronics 1133-EV1 PMU
461 and audio module for the MX31ADS platform.
462
463config MACH_MX31LILLY
464 bool "Support MX31 LILLY-1131 platforms (INCO startec)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100465 select IMX_HAVE_PLATFORM_IMX_UART
466 select IMX_HAVE_PLATFORM_IPU_CORE
467 select IMX_HAVE_PLATFORM_MXC_EHCI
468 select IMX_HAVE_PLATFORM_MXC_MMC
469 select IMX_HAVE_PLATFORM_SPI_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200470 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100471 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100472 help
473 Include support for mx31 based LILLY1131 modules. This includes
474 specific configurations for the board and its peripherals.
475
476config MACH_MX31LITE
477 bool "Support MX31 LITEKIT (LogicPD)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100478 select IMX_HAVE_PLATFORM_IMX2_WDT
479 select IMX_HAVE_PLATFORM_IMX_UART
480 select IMX_HAVE_PLATFORM_MXC_EHCI
481 select IMX_HAVE_PLATFORM_MXC_MMC
482 select IMX_HAVE_PLATFORM_MXC_NAND
483 select IMX_HAVE_PLATFORM_MXC_RTC
484 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200485 select LEDS_GPIO_REGISTER
Markus Pargmann794987a2013-06-06 14:41:57 +0200486 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100487 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100488 help
489 Include support for MX31 LITEKIT platform. This includes specific
490 configurations for the board and its peripherals.
491
492config MACH_PCM037
493 bool "Support Phytec pcm037 (i.MX31) platforms"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100494 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
495 select IMX_HAVE_PLATFORM_IMX2_WDT
496 select IMX_HAVE_PLATFORM_IMX_I2C
497 select IMX_HAVE_PLATFORM_IMX_UART
498 select IMX_HAVE_PLATFORM_IPU_CORE
499 select IMX_HAVE_PLATFORM_MXC_EHCI
500 select IMX_HAVE_PLATFORM_MXC_MMC
501 select IMX_HAVE_PLATFORM_MXC_NAND
502 select IMX_HAVE_PLATFORM_MXC_W1
Markus Pargmann794987a2013-06-06 14:41:57 +0200503 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100504 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100505 help
506 Include support for Phytec pcm037 platform. This includes
507 specific configurations for the board and its peripherals.
508
509config MACH_PCM037_EET
510 bool "Support pcm037 EET board extensions"
511 depends on MACH_PCM037
512 select IMX_HAVE_PLATFORM_GPIO_KEYS
513 select IMX_HAVE_PLATFORM_SPI_IMX
514 help
515 Add support for PCM037 EET baseboard extensions. If you are using the
516 OLED display with EET, use "video=mx3fb:CMEL-OLED" kernel
517 command-line parameter.
518
519config MACH_MX31_3DS
520 bool "Support MX31PDK (3DS)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100521 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
522 select IMX_HAVE_PLATFORM_IMX2_WDT
523 select IMX_HAVE_PLATFORM_IMX_I2C
524 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Fabio Estevam3ef7cf12012-05-21 16:09:06 -0300525 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100526 select IMX_HAVE_PLATFORM_IMX_UART
527 select IMX_HAVE_PLATFORM_IPU_CORE
528 select IMX_HAVE_PLATFORM_MXC_EHCI
Fabio Estevamd093d5b2011-09-14 14:04:38 -0300529 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100530 select IMX_HAVE_PLATFORM_MXC_NAND
531 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100532 select MXC_DEBUG_BOARD
Markus Pargmann794987a2013-06-06 14:41:57 +0200533 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100534 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100535 help
536 Include support for MX31PDK (3DS) platform. This includes specific
537 configurations for the board and its peripherals.
538
539config MACH_MX31_3DS_MXC_NAND_USE_BBT
540 bool "Make the MXC NAND driver use the in flash Bad Block Table"
541 depends on MACH_MX31_3DS
542 depends on MTD_NAND_MXC
543 help
544 Enable this if you want that the MXC NAND driver uses the in flash
545 Bad Block Table to know what blocks are bad instead of scanning the
546 entire flash looking for bad block markers.
547
548config MACH_MX31MOBOARD
549 bool "Support mx31moboard platforms (EPFL Mobots group)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100550 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Philippe Rétornaz31776fb2012-01-20 18:58:23 +0100551 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100552 select IMX_HAVE_PLATFORM_IMX_I2C
Philippe Rétornaz2f7b9452012-05-15 13:53:52 +0200553 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
557 select IMX_HAVE_PLATFORM_MXC_MMC
558 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200559 select LEDS_GPIO_REGISTER
Markus Pargmann794987a2013-06-06 14:41:57 +0200560 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100561 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100562 help
563 Include support for mx31moboard platform. This includes specific
564 configurations for the board and its peripherals.
565
566config MACH_QONG
567 bool "Support Dave/DENX QongEVB-LITE platform"
Fabio Estevambbb43362011-09-19 10:59:46 -0300568 select IMX_HAVE_PLATFORM_IMX2_WDT
Russell Kingb1b3f492012-10-06 17:12:25 +0100569 select IMX_HAVE_PLATFORM_IMX_UART
570 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100571 help
572 Include support for Dave/DENX QongEVB-LITE platform. This includes
573 specific configurations for the board and its peripherals.
574
575config MACH_ARMADILLO5X0
576 bool "Support Atmark Armadillo-500 Development Base Board"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100577 select IMX_HAVE_PLATFORM_GPIO_KEYS
578 select IMX_HAVE_PLATFORM_IMX_I2C
579 select IMX_HAVE_PLATFORM_IMX_UART
580 select IMX_HAVE_PLATFORM_IPU_CORE
581 select IMX_HAVE_PLATFORM_MXC_EHCI
582 select IMX_HAVE_PLATFORM_MXC_MMC
583 select IMX_HAVE_PLATFORM_MXC_NAND
Markus Pargmann794987a2013-06-06 14:41:57 +0200584 select USB_ULPI_VIEWPORT if USB_ULPI
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 Atmark Armadillo-500 platform. This includes
588 specific configurations for the board and its peripherals.
589
590config MACH_KZM_ARM11_01
591 bool "Support KZM-ARM11-01(Kyoto Microcomputer)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100592 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100593 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100594 help
595 Include support for KZM-ARM11-01. This includes specific
596 configurations for the board and its peripherals.
597
598config MACH_BUG
599 bool "Support Buglabs BUGBase platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100600 default y
Russell Kingb1b3f492012-10-06 17:12:25 +0100601 select IMX_HAVE_PLATFORM_IMX_UART
602 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100603 help
604 Include support for BUGBase 1.3 platform. This includes specific
605 configurations for the board and its peripherals.
606
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200607config MACH_IMX31_DT
608 bool "Support i.MX31 platforms from device tree"
609 select SOC_IMX31
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200610 help
611 Include support for Freescale i.MX31 based platforms
612 using the device tree for discovery.
613
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100614comment "MX35 platforms:"
615
616config MACH_PCM043
617 bool "Support Phytec pcm043 (i.MX35) platforms"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100618 select IMX_HAVE_PLATFORM_FLEXCAN
619 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
620 select IMX_HAVE_PLATFORM_IMX2_WDT
621 select IMX_HAVE_PLATFORM_IMX_I2C
622 select IMX_HAVE_PLATFORM_IMX_SSI
623 select IMX_HAVE_PLATFORM_IMX_UART
624 select IMX_HAVE_PLATFORM_IPU_CORE
625 select IMX_HAVE_PLATFORM_MXC_EHCI
626 select IMX_HAVE_PLATFORM_MXC_NAND
627 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200628 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100629 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100630 help
631 Include support for Phytec pcm043 platform. This includes
632 specific configurations for the board and its peripherals.
633
634config MACH_MX35_3DS
635 bool "Support MX35PDK platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100636 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
637 select IMX_HAVE_PLATFORM_IMX2_WDT
Marc Kleine-Budde8e3e26a2012-04-24 17:48:18 +0200638 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100639 select IMX_HAVE_PLATFORM_IMX_I2C
640 select IMX_HAVE_PLATFORM_IMX_UART
Marc Kleine-Budde8e3e26a2012-04-24 17:48:18 +0200641 select IMX_HAVE_PLATFORM_IPU_CORE
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100642 select IMX_HAVE_PLATFORM_MXC_EHCI
643 select IMX_HAVE_PLATFORM_MXC_NAND
Benoît Thébaudeauc6fd6d12012-07-04 16:36:28 +0200644 select IMX_HAVE_PLATFORM_MXC_RTC
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100645 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100646 select MXC_DEBUG_BOARD
647 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100648 help
649 Include support for MX35PDK platform. This includes specific
650 configurations for the board and its peripherals.
651
Eric Bénarda69aa722011-12-13 07:31:43 +0100652config MACH_EUKREA_CPUIMX35SD
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100653 bool "Support Eukrea CPUIMX35 Platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100654 select IMX_HAVE_PLATFORM_FLEXCAN
655 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
656 select IMX_HAVE_PLATFORM_IMX2_WDT
657 select IMX_HAVE_PLATFORM_IMX_I2C
658 select IMX_HAVE_PLATFORM_IMX_UART
659 select IMX_HAVE_PLATFORM_MXC_EHCI
660 select IMX_HAVE_PLATFORM_MXC_NAND
661 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200662 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100663 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100664 help
665 Include support for Eukrea CPUIMX35 platform. This includes
666 specific configurations for the board and its peripherals.
667
668choice
669 prompt "Baseboard"
Eric Bénarda69aa722011-12-13 07:31:43 +0100670 depends on MACH_EUKREA_CPUIMX35SD
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100671 default MACH_EUKREA_MBIMXSD35_BASEBOARD
672
673config MACH_EUKREA_MBIMXSD35_BASEBOARD
674 bool "Eukrea MBIMXSD development board"
675 select IMX_HAVE_PLATFORM_GPIO_KEYS
676 select IMX_HAVE_PLATFORM_IMX_SSI
677 select IMX_HAVE_PLATFORM_IPU_CORE
Eric Bénard0e189852012-05-08 09:20:19 +0200678 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200679 select LEDS_GPIO_REGISTER
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100680 help
681 This adds board specific devices that can be found on Eukrea's
682 MBIMXSD evaluation board.
683
684endchoice
685
686config MACH_VPR200
687 bool "Support VPR200 platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100688 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
689 select IMX_HAVE_PLATFORM_GPIO_KEYS
690 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100691 select IMX_HAVE_PLATFORM_IMX_I2C
Russell Kingb1b3f492012-10-06 17:12:25 +0100692 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100693 select IMX_HAVE_PLATFORM_IPU_CORE
694 select IMX_HAVE_PLATFORM_MXC_EHCI
695 select IMX_HAVE_PLATFORM_MXC_NAND
696 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100697 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100698 help
699 Include support for VPR200 platform. This includes specific
700 configurations for the board and its peripherals.
701
Shawn Guoc5a0d492012-09-17 09:38:39 +0800702endif
703
704if ARCH_MULTI_V7
705
Sascha Hauer784a90c2011-11-07 12:36:48 +0100706comment "i.MX51 machines:"
707
708config MACH_IMX51_DT
709 bool "Support i.MX51 platforms from device tree"
Russell Kingb1b3f492012-10-06 17:12:25 +0100710 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100711 help
712 Include support for Freescale i.MX51 based platforms
713 using the device tree for discovery
714
715config MACH_MX51_BABBAGE
716 bool "Support MX51 BABBAGE platforms"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100717 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
718 select IMX_HAVE_PLATFORM_IMX2_WDT
719 select IMX_HAVE_PLATFORM_IMX_I2C
720 select IMX_HAVE_PLATFORM_IMX_UART
721 select IMX_HAVE_PLATFORM_MXC_EHCI
722 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
723 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100724 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100725 help
726 Include support for MX51 Babbage platform, also known as MX51EVK in
727 u-boot. This includes specific configurations for the board and its
728 peripherals.
729
Sascha Hauer784a90c2011-11-07 12:36:48 +0100730config MACH_EUKREA_CPUIMX51SD
731 bool "Support Eukrea CPUIMX51SD module"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100732 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Russell Kingb1b3f492012-10-06 17:12:25 +0100733 select IMX_HAVE_PLATFORM_IMX2_WDT
Sascha Hauer784a90c2011-11-07 12:36:48 +0100734 select IMX_HAVE_PLATFORM_IMX_I2C
735 select IMX_HAVE_PLATFORM_IMX_UART
736 select IMX_HAVE_PLATFORM_MXC_EHCI
737 select IMX_HAVE_PLATFORM_MXC_NAND
738 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100739 select SOC_IMX51
Sascha Hauer784a90c2011-11-07 12:36:48 +0100740 help
741 Include support for Eukrea CPUIMX51SD platform. This includes
742 specific configurations for the module and its peripherals.
743
744choice
745 prompt "Baseboard"
746 depends on MACH_EUKREA_CPUIMX51SD
747 default MACH_EUKREA_MBIMXSD51_BASEBOARD
748
749config MACH_EUKREA_MBIMXSD51_BASEBOARD
750 prompt "Eukrea MBIMXSD development board"
751 bool
Eric Bénard932d67d2012-05-08 09:20:22 +0200752 select IMX_HAVE_PLATFORM_IMX_SSI
Sascha Hauer784a90c2011-11-07 12:36:48 +0100753 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
754 select LEDS_GPIO_REGISTER
755 help
756 This adds board specific devices that can be found on Eukrea's
757 MBIMXSD evaluation board.
758
759endchoice
760
Shawn Guo442279d2012-08-12 23:21:39 +0800761comment "Device tree only"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100762
Greg Ungerer361b0a42013-10-29 15:15:54 +1000763config SOC_IMX50
764 bool "i.MX50 support"
765 select HAVE_IMX_SRC
766 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
Roland Stigge48b797a2012-10-25 13:28:33 +0200774 select IMX_HAVE_PLATFORM_IMX2_WDT
Shawn Guo442279d2012-08-12 23:21:39 +0800775 select PINCTRL
776 select PINCTRL_IMX53
Russell Kingb1b3f492012-10-06 17:12:25 +0100777 select SOC_IMX5
Shawn Guo442279d2012-08-12 23:21:39 +0800778
Sascha Hauer784a90c2011-11-07 12:36:48 +0100779 help
Shawn Guo442279d2012-08-12 23:21:39 +0800780 This enables support for Freescale i.MX53 processor.
Shawn Guobac89d72011-10-02 15:09:11 +0800781
782config SOC_IMX6Q
Shawn Guo3c03a2f2013-04-01 22:13:32 +0800783 bool "i.MX6 Quad/DualLite support"
Shawn Guod90df972012-07-19 23:16:30 +0800784 select ARCH_HAS_CPUFREQ
785 select ARCH_HAS_OPP
Shawn Guo96efb442012-10-23 19:44:34 +0800786 select ARM_ERRATA_754322
787 select ARM_ERRATA_764369 if SMP
788 select ARM_ERRATA_775420
Shawn Guobac89d72011-10-02 15:09:11 +0800789 select ARM_GIC
Shawn Guobac89d72011-10-02 15:09:11 +0800790 select CPU_V7
Stephen Boyd4c3ffff2013-02-27 15:28:14 -0800791 select HAVE_ARM_SCU if SMP
Stephen Boyda894fcc2013-02-15 16:02:20 -0800792 select HAVE_ARM_TWD if SMP
Anson Huange95dddb2013-03-20 19:39:42 -0400793 select HAVE_IMX_ANATOP
Shawn Guo9fbbe682011-09-06 14:39:44 +0800794 select HAVE_IMX_GPC
795 select HAVE_IMX_MMDC
Shawn Guoaec99b72013-01-11 22:08:27 +0800796 select HAVE_IMX_SRC
Dave Martin3b556582011-12-07 15:38:04 +0000797 select HAVE_SMP
Dong Aishengbaa64152012-09-05 10:57:15 +0800798 select MFD_SYSCON
Sean Cross74b80312013-09-26 10:45:35 +0800799 select MIGHT_HAVE_PCI
800 select PCI_DOMAINS if PCI
Dong Aisheng32329a22012-05-02 19:31:21 +0800801 select PINCTRL
802 select PINCTRL_IMX6Q
Shawn Guo96efb442012-10-23 19:44:34 +0800803 select PL310_ERRATA_588369 if CACHE_PL310
804 select PL310_ERRATA_727915 if CACHE_PL310
805 select PL310_ERRATA_769419 if CACHE_PL310
Shawn Guod90df972012-07-19 23:16:30 +0800806 select PM_OPP if PM
Shawn Guobac89d72011-10-02 15:09:11 +0800807
808 help
809 This enables support for Freescale i.MX6 Quad processor.
810
Shawn Guo31a2fbf2013-05-03 11:24:47 +0800811config SOC_IMX6SL
812 bool "i.MX6 SoloLite support"
813 select ARM_ERRATA_754322
814 select ARM_ERRATA_775420
815 select ARM_GIC
816 select CPU_V7
817 select HAVE_IMX_ANATOP
818 select HAVE_IMX_GPC
819 select HAVE_IMX_MMDC
820 select HAVE_IMX_SRC
Arnd Bergmann06264942013-06-03 15:46:53 +0200821 select MFD_SYSCON
Shawn Guo31a2fbf2013-05-03 11:24:47 +0800822 select PINCTRL
823 select PINCTRL_IMX6SL
824 select PL310_ERRATA_588369 if CACHE_PL310
825 select PL310_ERRATA_727915 if CACHE_PL310
826 select PL310_ERRATA_769419 if CACHE_PL310
827
828 help
829 This enables support for Freescale i.MX6 SoloLite processor.
830
Jingchang Lu5be913c2013-05-28 17:12:21 +0800831config SOC_VF610
832 bool "Vybrid Family VF610 support"
833 select CPU_V7
834 select ARM_GIC
835 select CLKSRC_OF
836 select PINCTRL
837 select PINCTRL_VF610
838 select VF_PIT_TIMER
839 select PL310_ERRATA_588369 if CACHE_PL310
840 select PL310_ERRATA_727915 if CACHE_PL310
841 select PL310_ERRATA_769419 if CACHE_PL310
842
843 help
844 This enable support for Freescale Vybrid VF610 processor.
845
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100846endif
Shawn Guoe0557c02012-09-13 15:51:15 +0800847
848source "arch/arm/mach-imx/devices/Kconfig"
Shawn Guo3995eb82012-09-13 19:48:07 +0800849
Shawn Guoc5a0d492012-09-17 09:38:39 +0800850endmenu