blob: ef549ef1cd6db23758382ceac57274de493ed4fc [file] [log] [blame]
Rob Herring21278ae2014-06-10 09:06:10 -05001menuconfig 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 CLKSRC_MMIO
Shawn Guoc5a0d492012-09-17 09:38:39 +08006 select GENERIC_IRQ_CHIP
Shawn Guof7f3d4b2013-11-16 22:25:02 +08007 select PINCTRL
John Tobias5a1513f2014-01-14 06:36:47 -08008 select PM_OPP if PM
Shawn Guoa2887542013-08-13 16:59:28 +08009 select SOC_BUS
Fabio Estevam67f5b302014-02-17 14:04:17 -030010 select SRAM
Shawn Guoc5a0d492012-09-17 09:38:39 +080011 help
12 Support for Freescale MXC/iMX-based family of processors
13
Rob Herring21278ae2014-06-10 09:06:10 -050014if ARCH_MXC
Shawn Guo3995eb82012-09-13 19:48:07 +080015
Shawn Guo3995eb82012-09-13 19:48:07 +080016config MXC_TZIC
17 bool
18
19config MXC_AVIC
20 bool
21
22config MXC_DEBUG_BOARD
23 bool "Enable MXC debug board(for 3-stack)"
24 help
25 The debug board is an integral part of the MXC 3-stack(PDK)
26 platforms, it can be attached or removed from the peripheral
27 board. On debug board, several debug devices(ethernet, UART,
28 buttons, LEDs and JTAG) are implemented. Between the MCU and
29 these devices, a CPLD is added as a bridge which performs
30 data/address de-multiplexing and decode, signal level shift,
31 interrupt control and various board functions.
32
33config HAVE_EPIT
34 bool
35
36config MXC_USE_EPIT
37 bool "Use EPIT instead of GPT"
38 depends on HAVE_EPIT
39 help
40 Use EPIT as the system timer on systems that have it. Normally you
41 don't have a reason to do so as the EPIT has the same features and
42 uses the same clocks as the GPT. Anyway, on some systems the GPT
43 may be in use for other purposes.
44
Shawn Guo3995eb82012-09-13 19:48:07 +080045config ARCH_HAS_RNGA
46 bool
47
Anson Huange95dddb2013-03-20 19:39:42 -040048config HAVE_IMX_ANATOP
49 bool
50
Shawn Guo9fbbe682011-09-06 14:39:44 +080051config HAVE_IMX_GPC
52 bool
53
54config HAVE_IMX_MMDC
55 bool
56
57config HAVE_IMX_SRC
Shawn Guo68b25322012-10-23 15:23:59 +080058 def_bool y if SMP
Philipp Zabel02985b92013-03-28 17:35:19 +010059 select ARCH_HAS_RESET_CONTROLLER
Shawn Guo9fbbe682011-09-06 14:39:44 +080060
Shawn Guo267dd342012-09-13 13:26:00 +080061config IMX_HAVE_IOMUX_V1
62 bool
63
64config ARCH_MXC_IOMUX_V3
65 bool
66
Uwe Kleine-Könige780d232010-06-14 17:39:21 +020067config SOC_IMX1
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010068 bool
Uwe Kleine-Könige780d232010-06-14 17:39:21 +020069 select CPU_ARM920T
70 select IMX_HAVE_IOMUX_V1
Sascha Hauerc7259df2010-11-05 09:37:22 +010071 select MXC_AVIC
Alexander Shiyan24980dc2014-07-26 13:45:28 +040072 select PINCTRL_IMX1
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010073
74config SOC_IMX21
Uwe Kleine-Könige780d232010-06-14 17:39:21 +020075 bool
Russell Kingb1b3f492012-10-06 17:12:25 +010076 select CPU_ARM926T
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010077 select IMX_HAVE_IOMUX_V1
Sascha Hauerc7259df2010-11-05 09:37:22 +010078 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010079
80config SOC_IMX25
81 bool
Russell Kingb1b3f492012-10-06 17:12:25 +010082 select ARCH_MXC_IOMUX_V3
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010083 select CPU_ARM926T
Sascha Hauerc7259df2010-11-05 09:37:22 +010084 select MXC_AVIC
Denis Carikli5bcaa7a2013-11-06 09:52:18 +010085 select PINCTRL_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010086
87config SOC_IMX27
88 bool
Russell Kingb1b3f492012-10-06 17:12:25 +010089 select CPU_ARM926T
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010090 select IMX_HAVE_IOMUX_V1
Sascha Hauerc7259df2010-11-05 09:37:22 +010091 select MXC_AVIC
Markus Pargmannacb350e2013-11-12 09:50:10 +010092 select PINCTRL_IMX27
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010093
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +010094config SOC_IMX31
95 bool
96 select CPU_V6
97 select IMX_HAVE_PLATFORM_MXC_RNGA
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +010098 select MXC_AVIC
Sascha Hauera89cf592011-09-27 13:48:02 +080099 select SMP_ON_UP if SMP
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100100
101config SOC_IMX35
102 bool
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100103 select ARCH_MXC_IOMUX_V3
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100104 select HAVE_EPIT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100105 select MXC_AVIC
Denis Cariklic51bcd12014-01-10 16:40:39 +0100106 select PINCTRL_IMX35
Sascha Hauera89cf592011-09-27 13:48:02 +0800107 select SMP_ON_UP if SMP
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100108
Shawn Guoc5a0d492012-09-17 09:38:39 +0800109if ARCH_MULTI_V4T
Uwe Kleine-Könige780d232010-06-14 17:39:21 +0200110
Uwe Kleine-König07469492010-06-14 15:56:58 +0200111comment "MX1 platforms:"
Uwe Kleine-König07469492010-06-14 15:56:58 +0200112
113config MACH_SCB9328
114 bool "Synertronixx scb9328"
Uwe Kleine-Königd112f4e2010-06-22 14:50:59 +0200115 select IMX_HAVE_PLATFORM_IMX_UART
Arnd Bergmann123860e2013-06-03 15:46:53 +0200116 select SOC_IMX1
Uwe Kleine-König07469492010-06-14 15:56:58 +0200117 help
118 Say Y here if you are using a Synertronixx scb9328 board
119
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000120config MACH_APF9328
121 bool "APF9328"
Gwenhael Goavec-Merou7a994812011-10-08 17:19:49 +0200122 select IMX_HAVE_PLATFORM_IMX_I2C
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000123 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100124 select SOC_IMX1
Gwenhael Goavec-Merou7fc92c62011-04-29 05:21:39 +0000125 help
126 Say Yes here if you are using the Armadeus APF9328 development board
127
Alexander Shiyan24980dc2014-07-26 13:45:28 +0400128config MACH_IMX1_DT
129 bool "Support i.MX1 platforms from device tree"
130 select SOC_IMX1
131 help
132 Include support for Freescale i.MX1 based platforms
133 using the device tree for discovery.
134
Shawn Guoc5a0d492012-09-17 09:38:39 +0800135endif
136
137if ARCH_MULTI_V5
138
Uwe Kleine-Königb6b06be2010-06-14 16:56:46 +0200139comment "MX21 platforms:"
Juergen Beisert80eedae2008-07-05 10:03:00 +0200140
Ivo Clarysse6b91edd2009-04-15 15:39:27 +0200141config MACH_MX21ADS
142 bool "MX21ADS platform"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100143 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König3c5227f2010-06-22 17:59:58 +0200144 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100145 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König1f8d7212010-06-16 11:17:45 +0200146 select IMX_HAVE_PLATFORM_MXC_NAND
Russell Kingb1b3f492012-10-06 17:12:25 +0100147 select SOC_IMX21
Ivo Clarysse6b91edd2009-04-15 15:39:27 +0200148 help
149 Include support for MX21ADS platform. This includes specific
150 configurations for the board and its peripherals.
151
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100152comment "MX25 platforms:"
153
154config MACH_MX25_3DS
155 bool "Support MX25PDK (3DS) Platform"
Fabio Estevam91dcc7f2011-07-08 14:59:50 -0300156 select IMX_HAVE_PLATFORM_FLEXCAN
Fabio Estevam460d30a2010-12-22 12:25:32 -0200157 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100158 select IMX_HAVE_PLATFORM_IMX2_WDT
159 select IMX_HAVE_PLATFORM_IMXDI_RTC
160 select IMX_HAVE_PLATFORM_IMX_FB
Russell Kingb1b3f492012-10-06 17:12:25 +0100161 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100162 select IMX_HAVE_PLATFORM_IMX_KEYPAD
163 select IMX_HAVE_PLATFORM_IMX_UART
164 select IMX_HAVE_PLATFORM_MXC_EHCI
165 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100166 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100167 select SOC_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100168
Eric Bénard01dd5202011-12-13 07:31:35 +0100169config MACH_EUKREA_CPUIMX25SD
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100170 bool "Support Eukrea CPUIMX25 Platform"
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100171 select IMX_HAVE_PLATFORM_FLEXCAN
172 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Eric Bénard4692cba2012-05-08 09:20:18 +0200173 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100174 select IMX_HAVE_PLATFORM_IMXDI_RTC
175 select IMX_HAVE_PLATFORM_IMX_FB
176 select IMX_HAVE_PLATFORM_IMX_I2C
177 select IMX_HAVE_PLATFORM_IMX_UART
178 select IMX_HAVE_PLATFORM_MXC_EHCI
179 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100180 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200181 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100182 select SOC_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100183
184choice
185 prompt "Baseboard"
Eric Bénard01dd5202011-12-13 07:31:35 +0100186 depends on MACH_EUKREA_CPUIMX25SD
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100187 default MACH_EUKREA_MBIMXSD25_BASEBOARD
188
189config MACH_EUKREA_MBIMXSD25_BASEBOARD
190 bool "Eukrea MBIMXSD development board"
Uwe Kleine-König53094982011-02-28 18:04:33 +0100191 select IMX_HAVE_PLATFORM_GPIO_KEYS
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100192 select IMX_HAVE_PLATFORM_IMX_SSI
Eric Bénard49ed9402012-05-08 09:20:17 +0200193 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200194 select LEDS_GPIO_REGISTER
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100195 help
196 This adds board specific devices that can be found on Eukrea's
197 MBIMXSD evaluation board.
198
199endchoice
200
Sascha Haueref4bac52012-09-20 14:59:36 +0200201config MACH_IMX25_DT
202 bool "Support i.MX25 platforms from device tree"
203 select SOC_IMX25
204 help
205 Include support for Freescale i.MX25 based platforms
206 using the device tree for discovery
207
Uwe Kleine-Königb6b06be2010-06-14 16:56:46 +0200208comment "MX27 platforms:"
209
Juergen Beisert80eedae2008-07-05 10:03:00 +0200210config MACH_MX27ADS
211 bool "MX27ADS platform"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100212 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200213 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200214 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100215 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200216 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200217 select IMX_HAVE_PLATFORM_MXC_W1
Russell Kingb1b3f492012-10-06 17:12:25 +0100218 select SOC_IMX27
Juergen Beisert80eedae2008-07-05 10:03:00 +0200219 help
220 Include support for MX27ADS platform. This includes specific
221 configurations for the board and its peripherals.
Juergen Beisert7e5e9f52008-07-05 10:03:00 +0200222
Fabio Estevamec9be0d2009-04-16 12:45:01 -0700223config MACH_MX27_3DS
224 bool "MX27PDK platform"
Fabio Estevam96cf4232010-12-22 12:25:31 -0200225 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Fabio Estevam8be92522010-12-07 17:14:45 -0200226 select IMX_HAVE_PLATFORM_IMX2_WDT
Fabio Estevam1abcb4c2011-06-22 09:25:25 -0300227 select IMX_HAVE_PLATFORM_IMX_FB
Fabio Estevam5885f032011-03-01 16:59:46 -0300228 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König3f880142010-11-10 09:58:56 +0100229 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Fabio Estevam688b5cb2012-07-03 15:44:57 -0300230 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200231 select IMX_HAVE_PLATFORM_IMX_UART
Fabio Estevam4c11c282012-02-15 19:36:10 -0200232 select IMX_HAVE_PLATFORM_MX2_CAMERA
Fabio Estevam96cf4232010-12-22 12:25:31 -0200233 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100234 select IMX_HAVE_PLATFORM_MXC_MMC
Fabio Estevamc67a3e02011-01-03 11:16:39 -0200235 select IMX_HAVE_PLATFORM_SPI_IMX
Fabio Estevam92cb33f2011-01-10 18:17:37 -0200236 select MXC_DEBUG_BOARD
Markus Pargmann794987a2013-06-06 14:41:57 +0200237 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100238 select SOC_IMX27
Fabio Estevamec9be0d2009-04-16 12:45:01 -0700239 help
240 Include support for MX27PDK platform. This includes specific
241 configurations for the board and its peripherals.
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400242
Javier Martin3b161e52010-07-30 10:06:01 +0200243config MACH_IMX27_VISSTRIM_M10
244 bool "Vista Silicon i.MX27 Visstrim_m10"
Uwe Kleine-König53094982011-02-28 18:04:33 +0100245 select IMX_HAVE_PLATFORM_GPIO_KEYS
Javier Martin3b161e52010-07-30 10:06:01 +0200246 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König5658bff2011-03-18 12:24:08 +0100247 select IMX_HAVE_PLATFORM_IMX_SSI
Javier Martin3b161e52010-07-30 10:06:01 +0200248 select IMX_HAVE_PLATFORM_IMX_UART
Javier Martinf52f5a52012-02-28 17:31:51 +0100249 select IMX_HAVE_PLATFORM_MX2_CAMERA
Gaëtan Carlier3ab3a352012-09-05 13:06:15 +0200250 select IMX_HAVE_PLATFORM_MX2_EMMA
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100251 select IMX_HAVE_PLATFORM_MXC_EHCI
Javier Martin32189132012-02-28 17:31:48 +0100252 select IMX_HAVE_PLATFORM_MXC_MMC
Javier Martinacb64642012-02-29 13:17:33 +0100253 select LEDS_GPIO_REGISTER
Russell Kingb1b3f492012-10-06 17:12:25 +0100254 select SOC_IMX27
Javier Martin3b161e52010-07-30 10:06:01 +0200255 help
256 Include support for Visstrim_m10 platform and its different variants.
257 This includes specific configurations for the board and its
258 peripherals.
259
Luotao Fu33731692009-08-06 11:19:39 +0200260config MACH_PCA100
261 bool "Phytec phyCARD-s (pca100)"
Uwe Kleine-Königbd455ed2010-11-09 17:52:14 +0100262 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100263 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100264 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200265 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König4697bb92010-08-25 17:37:45 +0200266 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200267 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100268 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100269 select IMX_HAVE_PLATFORM_MXC_MMC
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
Luotao Fu33731692009-08-06 11:19:39 +0200275 help
276 Include support for phyCARD-s (aka pca100) platform. This
277 includes specific configurations for the module and its peripherals.
278
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100279config MACH_IMX27_DT
280 bool "Support i.MX27 platforms from device tree"
281 select SOC_IMX27
Sascha Hauer9f0749e2012-02-28 21:57:50 +0100282 help
283 Include support for Freescale i.MX27 based platforms
284 using the device tree for discovery
285
Holger Schurig6bbdbf22009-01-29 14:42:25 +0100286endif
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100287
Shawn Guoc5a0d492012-09-17 09:38:39 +0800288if ARCH_MULTI_V6
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100289
290comment "MX31 platforms:"
291
292config MACH_MX31ADS
293 bool "Support MX31ADS platforms"
Russell Kingb1b3f492012-10-06 17:12:25 +0100294 default y
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100295 select IMX_HAVE_PLATFORM_IMX_I2C
296 select IMX_HAVE_PLATFORM_IMX_SSI
297 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100298 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100299 help
300 Include support for MX31ADS platform. This includes specific
301 configurations for the board and its peripherals.
302
303config MACH_MX31ADS_WM1133_EV1
304 bool "Support Wolfson Microelectronics 1133-EV1 module"
305 depends on MACH_MX31ADS
306 depends on MFD_WM8350_I2C
Arnd Bergmann69eb3832013-02-14 17:45:58 +0100307 depends on REGULATOR_WM8350 = y
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100308 help
309 Include support for the Wolfson Microelectronics 1133-EV1 PMU
310 and audio module for the MX31ADS platform.
311
312config MACH_MX31LILLY
313 bool "Support MX31 LILLY-1131 platforms (INCO startec)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100314 select IMX_HAVE_PLATFORM_IMX_UART
315 select IMX_HAVE_PLATFORM_IPU_CORE
316 select IMX_HAVE_PLATFORM_MXC_EHCI
317 select IMX_HAVE_PLATFORM_MXC_MMC
318 select IMX_HAVE_PLATFORM_SPI_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200319 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100320 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100321 help
322 Include support for mx31 based LILLY1131 modules. This includes
323 specific configurations for the board and its peripherals.
324
325config MACH_MX31LITE
326 bool "Support MX31 LITEKIT (LogicPD)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100327 select IMX_HAVE_PLATFORM_IMX2_WDT
328 select IMX_HAVE_PLATFORM_IMX_UART
329 select IMX_HAVE_PLATFORM_MXC_EHCI
330 select IMX_HAVE_PLATFORM_MXC_MMC
331 select IMX_HAVE_PLATFORM_MXC_NAND
332 select IMX_HAVE_PLATFORM_MXC_RTC
333 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200334 select LEDS_GPIO_REGISTER
Markus Pargmann794987a2013-06-06 14:41:57 +0200335 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100336 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100337 help
338 Include support for MX31 LITEKIT platform. This includes specific
339 configurations for the board and its peripherals.
340
341config MACH_PCM037
342 bool "Support Phytec pcm037 (i.MX31) platforms"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100343 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
344 select IMX_HAVE_PLATFORM_IMX2_WDT
345 select IMX_HAVE_PLATFORM_IMX_I2C
346 select IMX_HAVE_PLATFORM_IMX_UART
347 select IMX_HAVE_PLATFORM_IPU_CORE
348 select IMX_HAVE_PLATFORM_MXC_EHCI
349 select IMX_HAVE_PLATFORM_MXC_MMC
350 select IMX_HAVE_PLATFORM_MXC_NAND
351 select IMX_HAVE_PLATFORM_MXC_W1
Markus Pargmann794987a2013-06-06 14:41:57 +0200352 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100353 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100354 help
355 Include support for Phytec pcm037 platform. This includes
356 specific configurations for the board and its peripherals.
357
358config MACH_PCM037_EET
359 bool "Support pcm037 EET board extensions"
360 depends on MACH_PCM037
361 select IMX_HAVE_PLATFORM_GPIO_KEYS
362 select IMX_HAVE_PLATFORM_SPI_IMX
363 help
364 Add support for PCM037 EET baseboard extensions. If you are using the
365 OLED display with EET, use "video=mx3fb:CMEL-OLED" kernel
366 command-line parameter.
367
368config MACH_MX31_3DS
369 bool "Support MX31PDK (3DS)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100370 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
371 select IMX_HAVE_PLATFORM_IMX2_WDT
372 select IMX_HAVE_PLATFORM_IMX_I2C
373 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Fabio Estevam3ef7cf12012-05-21 16:09:06 -0300374 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100375 select IMX_HAVE_PLATFORM_IMX_UART
376 select IMX_HAVE_PLATFORM_IPU_CORE
377 select IMX_HAVE_PLATFORM_MXC_EHCI
Fabio Estevamd093d5b2011-09-14 14:04:38 -0300378 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100379 select IMX_HAVE_PLATFORM_MXC_NAND
380 select IMX_HAVE_PLATFORM_SPI_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100381 select MXC_DEBUG_BOARD
Markus Pargmann794987a2013-06-06 14:41:57 +0200382 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100383 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100384 help
385 Include support for MX31PDK (3DS) platform. This includes specific
386 configurations for the board and its peripherals.
387
388config MACH_MX31_3DS_MXC_NAND_USE_BBT
389 bool "Make the MXC NAND driver use the in flash Bad Block Table"
390 depends on MACH_MX31_3DS
391 depends on MTD_NAND_MXC
392 help
393 Enable this if you want that the MXC NAND driver uses the in flash
394 Bad Block Table to know what blocks are bad instead of scanning the
395 entire flash looking for bad block markers.
396
397config MACH_MX31MOBOARD
398 bool "Support mx31moboard platforms (EPFL Mobots group)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100399 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Philippe Rétornaz31776fb2012-01-20 18:58:23 +0100400 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100401 select IMX_HAVE_PLATFORM_IMX_I2C
Philippe Rétornaz2f7b9452012-05-15 13:53:52 +0200402 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100403 select IMX_HAVE_PLATFORM_IMX_UART
404 select IMX_HAVE_PLATFORM_IPU_CORE
405 select IMX_HAVE_PLATFORM_MXC_EHCI
406 select IMX_HAVE_PLATFORM_MXC_MMC
407 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200408 select LEDS_GPIO_REGISTER
Markus Pargmann794987a2013-06-06 14:41:57 +0200409 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100410 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100411 help
412 Include support for mx31moboard platform. This includes specific
413 configurations for the board and its peripherals.
414
415config MACH_QONG
416 bool "Support Dave/DENX QongEVB-LITE platform"
Fabio Estevambbb43362011-09-19 10:59:46 -0300417 select IMX_HAVE_PLATFORM_IMX2_WDT
Russell Kingb1b3f492012-10-06 17:12:25 +0100418 select IMX_HAVE_PLATFORM_IMX_UART
419 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100420 help
421 Include support for Dave/DENX QongEVB-LITE platform. This includes
422 specific configurations for the board and its peripherals.
423
424config MACH_ARMADILLO5X0
425 bool "Support Atmark Armadillo-500 Development Base Board"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100426 select IMX_HAVE_PLATFORM_GPIO_KEYS
427 select IMX_HAVE_PLATFORM_IMX_I2C
428 select IMX_HAVE_PLATFORM_IMX_UART
429 select IMX_HAVE_PLATFORM_IPU_CORE
430 select IMX_HAVE_PLATFORM_MXC_EHCI
431 select IMX_HAVE_PLATFORM_MXC_MMC
432 select IMX_HAVE_PLATFORM_MXC_NAND
Markus Pargmann794987a2013-06-06 14:41:57 +0200433 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100434 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100435 help
436 Include support for Atmark Armadillo-500 platform. This includes
437 specific configurations for the board and its peripherals.
438
439config MACH_KZM_ARM11_01
440 bool "Support KZM-ARM11-01(Kyoto Microcomputer)"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100441 select IMX_HAVE_PLATFORM_IMX_UART
Russell Kingb1b3f492012-10-06 17:12:25 +0100442 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100443 help
444 Include support for KZM-ARM11-01. This includes specific
445 configurations for the board and its peripherals.
446
447config MACH_BUG
448 bool "Support Buglabs BUGBase platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100449 default y
Russell Kingb1b3f492012-10-06 17:12:25 +0100450 select IMX_HAVE_PLATFORM_IMX_UART
451 select SOC_IMX31
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100452 help
453 Include support for BUGBase 1.3 platform. This includes specific
454 configurations for the board and its peripherals.
455
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200456config MACH_IMX31_DT
457 bool "Support i.MX31 platforms from device tree"
458 select SOC_IMX31
Denis 'GNUtoo' Cariklid2a37b32012-07-09 21:39:12 +0200459 help
460 Include support for Freescale i.MX31 based platforms
461 using the device tree for discovery.
462
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100463comment "MX35 platforms:"
464
Steffen Trumtrara55a3d72013-12-18 15:10:25 +0100465config MACH_IMX35_DT
466 bool "Support i.MX35 platforms from device tree"
467 select SOC_IMX35
468 help
469 Include support for Freescale i.MX35 based platforms
470 using the device tree for discovery.
471
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100472config MACH_PCM043
473 bool "Support Phytec pcm043 (i.MX35) platforms"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100474 select IMX_HAVE_PLATFORM_FLEXCAN
475 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
476 select IMX_HAVE_PLATFORM_IMX2_WDT
477 select IMX_HAVE_PLATFORM_IMX_I2C
478 select IMX_HAVE_PLATFORM_IMX_SSI
479 select IMX_HAVE_PLATFORM_IMX_UART
480 select IMX_HAVE_PLATFORM_IPU_CORE
481 select IMX_HAVE_PLATFORM_MXC_EHCI
482 select IMX_HAVE_PLATFORM_MXC_NAND
483 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200484 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100485 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100486 help
487 Include support for Phytec pcm043 platform. This includes
488 specific configurations for the board and its peripherals.
489
490config MACH_MX35_3DS
491 bool "Support MX35PDK platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100492 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
493 select IMX_HAVE_PLATFORM_IMX2_WDT
Marc Kleine-Budde8e3e26a2012-04-24 17:48:18 +0200494 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100495 select IMX_HAVE_PLATFORM_IMX_I2C
496 select IMX_HAVE_PLATFORM_IMX_UART
Marc Kleine-Budde8e3e26a2012-04-24 17:48:18 +0200497 select IMX_HAVE_PLATFORM_IPU_CORE
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100498 select IMX_HAVE_PLATFORM_MXC_EHCI
499 select IMX_HAVE_PLATFORM_MXC_NAND
Benoît Thébaudeauc6fd6d12012-07-04 16:36:28 +0200500 select IMX_HAVE_PLATFORM_MXC_RTC
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100501 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100502 select MXC_DEBUG_BOARD
503 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100504 help
505 Include support for MX35PDK platform. This includes specific
506 configurations for the board and its peripherals.
507
Eric Bénarda69aa722011-12-13 07:31:43 +0100508config MACH_EUKREA_CPUIMX35SD
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100509 bool "Support Eukrea CPUIMX35 Platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100510 select IMX_HAVE_PLATFORM_FLEXCAN
511 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
512 select IMX_HAVE_PLATFORM_IMX2_WDT
513 select IMX_HAVE_PLATFORM_IMX_I2C
514 select IMX_HAVE_PLATFORM_IMX_UART
515 select IMX_HAVE_PLATFORM_MXC_EHCI
516 select IMX_HAVE_PLATFORM_MXC_NAND
517 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Markus Pargmann794987a2013-06-06 14:41:57 +0200518 select USB_ULPI_VIEWPORT if USB_ULPI
Russell Kingb1b3f492012-10-06 17:12:25 +0100519 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100520 help
521 Include support for Eukrea CPUIMX35 platform. This includes
522 specific configurations for the board and its peripherals.
523
524choice
525 prompt "Baseboard"
Eric Bénarda69aa722011-12-13 07:31:43 +0100526 depends on MACH_EUKREA_CPUIMX35SD
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100527 default MACH_EUKREA_MBIMXSD35_BASEBOARD
528
529config MACH_EUKREA_MBIMXSD35_BASEBOARD
530 bool "Eukrea MBIMXSD development board"
531 select IMX_HAVE_PLATFORM_GPIO_KEYS
532 select IMX_HAVE_PLATFORM_IMX_SSI
533 select IMX_HAVE_PLATFORM_IPU_CORE
Eric Bénard0e189852012-05-08 09:20:19 +0200534 select IMX_HAVE_PLATFORM_SPI_IMX
Uwe Kleine-König47e837b2011-05-28 21:05:01 +0200535 select LEDS_GPIO_REGISTER
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100536 help
537 This adds board specific devices that can be found on Eukrea's
538 MBIMXSD evaluation board.
539
540endchoice
541
542config MACH_VPR200
543 bool "Support VPR200 platform"
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100544 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
545 select IMX_HAVE_PLATFORM_GPIO_KEYS
546 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100547 select IMX_HAVE_PLATFORM_IMX_I2C
Russell Kingb1b3f492012-10-06 17:12:25 +0100548 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100549 select IMX_HAVE_PLATFORM_IPU_CORE
550 select IMX_HAVE_PLATFORM_MXC_EHCI
551 select IMX_HAVE_PLATFORM_MXC_NAND
552 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Russell Kingb1b3f492012-10-06 17:12:25 +0100553 select SOC_IMX35
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100554 help
555 Include support for VPR200 platform. This includes specific
556 configurations for the board and its peripherals.
557
Shawn Guoc5a0d492012-09-17 09:38:39 +0800558endif
559
560if ARCH_MULTI_V7
561
Shawn Guo442279d2012-08-12 23:21:39 +0800562comment "Device tree only"
Sascha Hauer784a90c2011-11-07 12:36:48 +0100563
Shawn Guo50e177c2014-05-19 13:37:50 +0800564config SOC_IMX5
565 bool
Shawn Guo50e177c2014-05-19 13:37:50 +0800566 select HAVE_IMX_SRC
567 select MXC_TZIC
568
Greg Ungerer361b0a42013-10-29 15:15:54 +1000569config SOC_IMX50
570 bool "i.MX50 support"
Shawn Guof7f3d4b2013-11-16 22:25:02 +0800571 select PINCTRL_IMX50
Greg Ungerer361b0a42013-10-29 15:15:54 +1000572 select SOC_IMX5
573
574 help
575 This enables support for Freescale i.MX50 processor.
576
Shawn Guo1ecdde92014-05-19 13:47:43 +0800577config SOC_IMX51
Fabio Estevam8da4d6b2014-05-10 12:47:36 -0300578 bool "i.MX51 support"
Shawn Guo1ecdde92014-05-19 13:47:43 +0800579 select PINCTRL_IMX51
580 select SOC_IMX5
Fabio Estevam8da4d6b2014-05-10 12:47:36 -0300581 help
582 This enables support for Freescale i.MX51 processor
583
Shawn Guo442279d2012-08-12 23:21:39 +0800584config SOC_IMX53
585 bool "i.MX53 support"
Shawn Guo442279d2012-08-12 23:21:39 +0800586 select PINCTRL_IMX53
Russell Kingb1b3f492012-10-06 17:12:25 +0100587 select SOC_IMX5
Shawn Guo442279d2012-08-12 23:21:39 +0800588
Sascha Hauer784a90c2011-11-07 12:36:48 +0100589 help
Shawn Guo442279d2012-08-12 23:21:39 +0800590 This enables support for Freescale i.MX53 processor.
Shawn Guobac89d72011-10-02 15:09:11 +0800591
Shawn Guo94f890e2014-02-27 15:22:49 +0800592config SOC_IMX6
593 bool
Shawn Guo96efb442012-10-23 19:44:34 +0800594 select ARM_ERRATA_754322
Shawn Guo96efb442012-10-23 19:44:34 +0800595 select ARM_ERRATA_775420
Shawn Guobac89d72011-10-02 15:09:11 +0800596 select ARM_GIC
Anson Huange95dddb2013-03-20 19:39:42 -0400597 select HAVE_IMX_ANATOP
Shawn Guo9fbbe682011-09-06 14:39:44 +0800598 select HAVE_IMX_GPC
599 select HAVE_IMX_MMDC
Shawn Guoaec99b72013-01-11 22:08:27 +0800600 select HAVE_IMX_SRC
Dong Aishengbaa64152012-09-05 10:57:15 +0800601 select MFD_SYSCON
Russell Kinga641f3a2014-06-19 10:19:10 +0100602 select PL310_ERRATA_769419 if CACHE_L2X0
Shawn Guobac89d72011-10-02 15:09:11 +0800603
Shawn Guo94f890e2014-02-27 15:22:49 +0800604config SOC_IMX6Q
605 bool "i.MX6 Quad/DualLite support"
606 select ARM_ERRATA_764369 if SMP
607 select HAVE_ARM_SCU if SMP
608 select HAVE_ARM_TWD if SMP
Shawn Guo94f890e2014-02-27 15:22:49 +0800609 select PCI_DOMAINS if PCI
610 select PINCTRL_IMX6Q
611 select SOC_IMX6
612
Shawn Guobac89d72011-10-02 15:09:11 +0800613 help
614 This enables support for Freescale i.MX6 Quad processor.
615
Shawn Guo31a2fbf2013-05-03 11:24:47 +0800616config SOC_IMX6SL
617 bool "i.MX6 SoloLite support"
Shawn Guo31a2fbf2013-05-03 11:24:47 +0800618 select PINCTRL_IMX6SL
Shawn Guo94f890e2014-02-27 15:22:49 +0800619 select SOC_IMX6
Shawn Guo31a2fbf2013-05-03 11:24:47 +0800620
621 help
622 This enables support for Freescale i.MX6 SoloLite processor.
623
Shawn Guod9654dc2014-05-13 21:46:16 +0800624config SOC_IMX6SX
625 bool "i.MX6 SoloX support"
626 select PINCTRL_IMX6SX
627 select SOC_IMX6
628
629 help
630 This enables support for Freescale i.MX6 SoloX processor.
631
Jingchang Lu5be913c2013-05-28 17:12:21 +0800632config SOC_VF610
633 bool "Vybrid Family VF610 support"
Jingchang Lu5be913c2013-05-28 17:12:21 +0800634 select ARM_GIC
Jingchang Lu5be913c2013-05-28 17:12:21 +0800635 select PINCTRL_VF610
Russell Kinga641f3a2014-06-19 10:19:10 +0100636 select PL310_ERRATA_769419 if CACHE_L2X0
Jingchang Lu5be913c2013-05-28 17:12:21 +0800637
638 help
639 This enable support for Freescale Vybrid VF610 processor.
640
Stefan Agner2a61cba2014-09-24 18:20:10 +0200641choice
642 prompt "Clocksource for scheduler clock"
643 depends on SOC_VF610
644 default VF_USE_ARM_GLOBAL_TIMER
645
646 config VF_USE_ARM_GLOBAL_TIMER
647 bool "Use ARM Global Timer"
648 select ARM_GLOBAL_TIMER
649 select CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
650 help
651 Use the ARM Global Timer as clocksource
652
653 config VF_USE_PIT_TIMER
654 bool "Use PIT timer"
655 select VF_PIT_TIMER
656 help
657 Use SoC Periodic Interrupt Timer (PIT) as clocksource
658
659endchoice
660
Jingchang Lu7f0fb612014-10-31 17:01:12 +0800661config FSL_SOC
662 bool
663
664config SOC_LS1021A
665 bool "Freescale LS1021A support"
666 select ARM_GIC
667 select HAVE_ARM_ARCH_TIMER
668 select FSL_SOC
669 select PCI_DOMAINS if PCI
670 select ZONE_DMA if ARM_LPAE
671
672 help
673 This enable support for Freescale LS1021A processor.
674
Uwe Kleine-König27ad4bf2011-03-17 09:40:29 +0100675endif
Shawn Guoe0557c02012-09-13 15:51:15 +0800676
677source "arch/arm/mach-imx/devices/Kconfig"
Shawn Guo3995eb82012-09-13 19:48:07 +0800678
Rob Herring21278ae2014-06-10 09:06:10 -0500679endif