blob: 4ac00e9fdbe8c2ea93a46e7105b9c8a181bbb26b [file] [log] [blame]
Uwe Kleine-König9f72ffe2010-06-14 17:56:52 +02001config IMX_HAVE_DMA_V1
2 bool
3
Uwe Kleine-Könige780d232010-06-14 17:39:21 +02004config SOC_IMX1
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +01005 bool
Uwe Kleine-Könige780d232010-06-14 17:39:21 +02006 select CPU_ARM920T
Uwe Kleine-König9f72ffe2010-06-14 17:56:52 +02007 select IMX_HAVE_DMA_V1
Uwe Kleine-Könige780d232010-06-14 17:39:21 +02008 select IMX_HAVE_IOMUX_V1
Sascha Hauerc7259df2010-11-05 09:37:22 +01009 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010010
11config SOC_IMX21
Uwe Kleine-Könige780d232010-06-14 17:39:21 +020012 bool
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010013 select CPU_ARM926T
14 select ARCH_MXC_AUDMUX_V1
15 select IMX_HAVE_DMA_V1
16 select IMX_HAVE_IOMUX_V1
Sascha Hauerc7259df2010-11-05 09:37:22 +010017 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010018
19config SOC_IMX25
20 bool
21 select CPU_ARM926T
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010022 select ARCH_MXC_AUDMUX_V2
Uwe Kleine-Königfd2fa2e32010-11-11 18:11:29 +010023 select ARCH_MXC_IOMUX_V3
Sascha Hauerc7259df2010-11-05 09:37:22 +010024 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010025
26config SOC_IMX27
27 bool
28 select CPU_ARM926T
29 select ARCH_MXC_AUDMUX_V1
30 select IMX_HAVE_DMA_V1
31 select IMX_HAVE_IOMUX_V1
Sascha Hauerc7259df2010-11-05 09:37:22 +010032 select MXC_AVIC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010033
34if ARCH_MX1
Uwe Kleine-Könige780d232010-06-14 17:39:21 +020035
Uwe Kleine-König07469492010-06-14 15:56:58 +020036comment "MX1 platforms:"
37config MACH_MXLADS
38 bool
39
40config ARCH_MX1ADS
41 bool "MX1ADS platform"
42 select MACH_MXLADS
Uwe Kleine-König6348e6b2010-06-16 15:26:07 +020043 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd112f4e2010-06-22 14:50:59 +020044 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König07469492010-06-14 15:56:58 +020045 help
46 Say Y here if you are using Motorola MX1ADS/MXLADS boards
47
48config MACH_SCB9328
49 bool "Synertronixx scb9328"
Uwe Kleine-Königd112f4e2010-06-22 14:50:59 +020050 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König07469492010-06-14 15:56:58 +020051 help
52 Say Y here if you are using a Synertronixx scb9328 board
53
54endif
55
Holger Schurig6bbdbf22009-01-29 14:42:25 +010056if ARCH_MX2
Juergen Beiserteea643f2008-07-05 10:02:56 +020057
Holger Schurig5512e882009-01-26 16:34:52 +010058choice
Holger Schurig6bbdbf22009-01-29 14:42:25 +010059 prompt "CPUs:"
Holger Schurig5512e882009-01-26 16:34:52 +010060 default MACH_MX21
61
62config MACH_MX21
63 bool "i.MX21 support"
Holger Schurig5512e882009-01-26 16:34:52 +010064 help
65 This enables support for Freescale's MX2 based i.MX21 processor.
66
Juergen Beisertf31405c2008-07-05 10:02:59 +020067config MACH_MX27
68 bool "i.MX27 support"
Juergen Beisertf31405c2008-07-05 10:02:59 +020069 help
70 This enables support for Freescale's MX2 based i.MX27 processor.
71
Holger Schurig5512e882009-01-26 16:34:52 +010072endchoice
73
Uwe Kleine-Königb6b06be2010-06-14 16:56:46 +020074endif
75
76if MACH_MX21
77
78comment "MX21 platforms:"
Juergen Beisert80eedae2008-07-05 10:03:00 +020079
Ivo Clarysse6b91edd2009-04-15 15:39:27 +020080config MACH_MX21ADS
81 bool "MX21ADS platform"
Uwe Kleine-König36a8cac2010-11-11 18:17:15 +010082 select SOC_IMX21
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +010083 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König3c5227f2010-06-22 17:59:58 +020084 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +010085 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König1f8d7212010-06-16 11:17:45 +020086 select IMX_HAVE_PLATFORM_MXC_NAND
Ivo Clarysse6b91edd2009-04-15 15:39:27 +020087 help
88 Include support for MX21ADS platform. This includes specific
89 configurations for the board and its peripherals.
90
Uwe Kleine-Königb6b06be2010-06-14 16:56:46 +020091endif
92
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +010093if ARCH_MX25
94
95comment "MX25 platforms:"
96
97config MACH_MX25_3DS
98 bool "Support MX25PDK (3DS) Platform"
99 select SOC_IMX25
Fabio Estevam460d30a2010-12-22 12:25:32 -0200100 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100101 select IMX_HAVE_PLATFORM_IMX2_WDT
102 select IMX_HAVE_PLATFORM_IMXDI_RTC
Fabio Estevamff864522011-03-01 16:59:47 -0300103 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100104 select IMX_HAVE_PLATFORM_IMX_FB
105 select IMX_HAVE_PLATFORM_IMX_KEYPAD
106 select IMX_HAVE_PLATFORM_IMX_UART
107 select IMX_HAVE_PLATFORM_MXC_EHCI
108 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100109 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100110
111config MACH_EUKREA_CPUIMX25
112 bool "Support Eukrea CPUIMX25 Platform"
113 select SOC_IMX25
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100114 select IMX_HAVE_PLATFORM_FLEXCAN
115 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
116 select IMX_HAVE_PLATFORM_IMXDI_RTC
117 select IMX_HAVE_PLATFORM_IMX_FB
118 select IMX_HAVE_PLATFORM_IMX_I2C
119 select IMX_HAVE_PLATFORM_IMX_UART
120 select IMX_HAVE_PLATFORM_MXC_EHCI
121 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-König124bf942010-11-19 21:03:33 +0100122 select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100123 select MXC_ULPI if USB_ULPI
124
125choice
126 prompt "Baseboard"
127 depends on MACH_EUKREA_CPUIMX25
128 default MACH_EUKREA_MBIMXSD25_BASEBOARD
129
130config MACH_EUKREA_MBIMXSD25_BASEBOARD
131 bool "Eukrea MBIMXSD development board"
Uwe Kleine-König53094982011-02-28 18:04:33 +0100132 select IMX_HAVE_PLATFORM_GPIO_KEYS
Uwe Kleine-Könige48ab1c2010-11-11 18:06:17 +0100133 select IMX_HAVE_PLATFORM_IMX_SSI
134 help
135 This adds board specific devices that can be found on Eukrea's
136 MBIMXSD evaluation board.
137
138endchoice
139
140endif
141
Uwe Kleine-Königb6b06be2010-06-14 16:56:46 +0200142if MACH_MX27
143
144comment "MX27 platforms:"
145
Juergen Beisert80eedae2008-07-05 10:03:00 +0200146config MACH_MX27ADS
147 bool "MX27ADS platform"
Uwe Kleine-König36a8cac2010-11-11 18:17:15 +0100148 select SOC_IMX27
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100149 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200150 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200151 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100152 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200153 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200154 select IMX_HAVE_PLATFORM_MXC_W1
Juergen Beisert80eedae2008-07-05 10:03:00 +0200155 help
156 Include support for MX27ADS platform. This includes specific
157 configurations for the board and its peripherals.
Juergen Beisert7e5e9f52008-07-05 10:03:00 +0200158
159config MACH_PCM038
160 bool "Phytec phyCORE-i.MX27 CPU module (pcm038)"
Uwe Kleine-König36a8cac2010-11-11 18:17:15 +0100161 select SOC_IMX27
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100162 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200163 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200164 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100165 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200166 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200167 select IMX_HAVE_PLATFORM_MXC_W1
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200168 select IMX_HAVE_PLATFORM_SPI_IMX
Sascha Hauer773f2062010-02-03 17:13:41 +0100169 select MXC_ULPI if USB_ULPI
Juergen Beisert7e5e9f52008-07-05 10:03:00 +0200170 help
171 Include support for phyCORE-i.MX27 (aka pcm038) platform. This
172 includes specific configurations for the module and its peripherals.
Juergen Beisertff6552e2008-07-05 10:03:01 +0200173
174choice
175 prompt "Baseboard"
176 depends on MACH_PCM038
177 default MACH_PCM970_BASEBOARD
178
179config MACH_PCM970_BASEBOARD
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100180 bool "PHYTEC PCM970 development board"
181 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100182 select IMX_HAVE_PLATFORM_MXC_MMC
Juergen Beisertff6552e2008-07-05 10:03:01 +0200183 help
184 This adds board specific devices that can be found on Phytec's
185 PCM970 evaluation board.
186
187endchoice
Holger Schurig6bbdbf22009-01-29 14:42:25 +0100188
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100189config MACH_CPUIMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200190 bool "Eukrea CPUIMX27 module"
Uwe Kleine-König36a8cac2010-11-11 18:17:15 +0100191 select SOC_IMX27
Uwe Kleine-Königbd455ed2010-11-09 17:52:14 +0100192 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100193 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200194 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200195 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100196 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200197 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200198 select IMX_HAVE_PLATFORM_MXC_W1
Eric Bénard22377ec2010-10-08 10:37:40 +0200199 select MXC_ULPI if USB_ULPI
Eric Benardaf5b1df2009-07-16 16:26:33 +0200200 help
201 Include support for Eukrea CPUIMX27 platform. This includes
202 specific configurations for the module and its peripherals.
203
204config MACH_EUKREA_CPUIMX27_USESDHC2
205 bool "CPUIMX27 integrates SDHC2 module"
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100206 depends on MACH_CPUIMX27
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100207 select IMX_HAVE_PLATFORM_MXC_MMC
Eric Benardaf5b1df2009-07-16 16:26:33 +0200208 help
Eric Bénard2d66c782010-05-19 18:45:59 +0200209 This adds support for the internal SDHC2 used on CPUIMX27
Eric Benardaf5b1df2009-07-16 16:26:33 +0200210 for wifi or eMMC.
211
Eric Bénard2d66c782010-05-19 18:45:59 +0200212config MACH_EUKREA_CPUIMX27_USEUART4
213 bool "CPUIMX27 integrates UART4 module"
214 depends on MACH_CPUIMX27
215 help
216 This adds support for the internal UART4 used on CPUIMX27
217 for bluetooth.
218
Eric Benarda961bf32009-07-16 16:26:34 +0200219choice
220 prompt "Baseboard"
Uwe Kleine-Königbc727392009-12-10 10:19:43 +0100221 depends on MACH_CPUIMX27
Eric Benarda961bf32009-07-16 16:26:34 +0200222 default MACH_EUKREA_MBIMX27_BASEBOARD
223
224config MACH_EUKREA_MBIMX27_BASEBOARD
Uwe Kleine-König4697bb922010-08-25 17:37:45 +0200225 bool "Eukrea MBIMX27 development board"
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100226 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-König3f880142010-11-10 09:58:56 +0100227 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Uwe Kleine-König4697bb922010-08-25 17:37:45 +0200228 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200229 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100230 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200231 select IMX_HAVE_PLATFORM_SPI_IMX
Eric Benarda961bf32009-07-16 16:26:34 +0200232 help
233 This adds board specific devices that can be found on Eukrea's
234 MBIMX27 evaluation board.
235
236endchoice
237
Fabio Estevamec9be0d2009-04-16 12:45:01 -0700238config MACH_MX27_3DS
239 bool "MX27PDK platform"
Uwe Kleine-König36a8cac2010-11-11 18:17:15 +0100240 select SOC_IMX27
Fabio Estevam96cf4232010-12-22 12:25:31 -0200241 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Fabio Estevam8be92522010-12-07 17:14:45 -0200242 select IMX_HAVE_PLATFORM_IMX2_WDT
Fabio Estevam5885f032011-03-01 16:59:46 -0300243 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König3f880142010-11-10 09:58:56 +0100244 select IMX_HAVE_PLATFORM_IMX_KEYPAD
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200245 select IMX_HAVE_PLATFORM_IMX_UART
Fabio Estevam96cf4232010-12-22 12:25:31 -0200246 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100247 select IMX_HAVE_PLATFORM_MXC_MMC
Fabio Estevamc67a3e02011-01-03 11:16:39 -0200248 select IMX_HAVE_PLATFORM_SPI_IMX
Fabio Estevam92cb33f2011-01-10 18:17:37 -0200249 select MXC_DEBUG_BOARD
Fabio Estevam96cf4232010-12-22 12:25:31 -0200250 select MXC_ULPI if USB_ULPI
Fabio Estevamec9be0d2009-04-16 12:45:01 -0700251 help
252 Include support for MX27PDK platform. This includes specific
253 configurations for the board and its peripherals.
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400254
Javier Martin3b161e52010-07-30 10:06:01 +0200255config MACH_IMX27_VISSTRIM_M10
256 bool "Vista Silicon i.MX27 Visstrim_m10"
Uwe Kleine-König36a8cac2010-11-11 18:17:15 +0100257 select SOC_IMX27
Uwe Kleine-König53094982011-02-28 18:04:33 +0100258 select IMX_HAVE_PLATFORM_GPIO_KEYS
Javier Martin3b161e52010-07-30 10:06:01 +0200259 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König5658bff2011-03-18 12:24:08 +0100260 select IMX_HAVE_PLATFORM_IMX_SSI
Javier Martin3b161e52010-07-30 10:06:01 +0200261 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100262 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100263 select IMX_HAVE_PLATFORM_MXC_EHCI
Javier Martin3b161e52010-07-30 10:06:01 +0200264 help
265 Include support for Visstrim_m10 platform and its different variants.
266 This includes specific configurations for the board and its
267 peripherals.
268
Uwe Kleine-Königf747f932009-12-10 10:25:07 +0100269config MACH_IMX27LITE
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400270 bool "LogicPD MX27 LITEKIT platform"
Uwe Kleine-König36a8cac2010-11-11 18:17:15 +0100271 select SOC_IMX27
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200272 select IMX_HAVE_PLATFORM_IMX_UART
Javier Martina5e20512011-03-01 15:02:08 +0100273 select IMX_HAVE_PLATFORM_IMX_SSI
Daniel Schaeffer8c032ec2009-06-03 17:23:54 -0400274 help
275 Include support for MX27 LITEKIT platform. This includes specific
276 configurations for the board and its peripherals.
277
Luotao Fu33731692009-08-06 11:19:39 +0200278config MACH_PCA100
279 bool "Phytec phyCARD-s (pca100)"
Uwe Kleine-König36a8cac2010-11-11 18:17:15 +0100280 select SOC_IMX27
Uwe Kleine-Königbd455ed2010-11-09 17:52:14 +0100281 select IMX_HAVE_PLATFORM_FSL_USB2_UDC
Uwe Kleine-Könige0a19612010-11-04 10:09:10 +0100282 select IMX_HAVE_PLATFORM_IMX2_WDT
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100283 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200284 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-König4697bb922010-08-25 17:37:45 +0200285 select IMX_HAVE_PLATFORM_IMX_SSI
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200286 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König2eb42d52010-11-05 18:52:09 +0100287 select IMX_HAVE_PLATFORM_MXC_EHCI
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100288 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200289 select IMX_HAVE_PLATFORM_MXC_NAND
Uwe Kleine-Königae71a562010-10-29 10:56:07 +0200290 select IMX_HAVE_PLATFORM_MXC_W1
Uwe Kleine-König7536cf92010-06-22 09:00:22 +0200291 select IMX_HAVE_PLATFORM_SPI_IMX
Sascha Hauereee7c492010-02-03 17:13:29 +0100292 select MXC_ULPI if USB_ULPI
Luotao Fu33731692009-08-06 11:19:39 +0200293 help
294 Include support for phyCARD-s (aka pca100) platform. This
295 includes specific configurations for the module and its peripherals.
296
Alan Carvalho de Assis143a1792009-11-25 15:24:50 -0200297config MACH_MXT_TD60
298 bool "Maxtrack i-MXT TD60"
Uwe Kleine-König36a8cac2010-11-11 18:17:15 +0100299 select SOC_IMX27
Uwe Kleine-Königad851bf2010-11-04 17:07:48 +0100300 select IMX_HAVE_PLATFORM_IMX_FB
Uwe Kleine-Königc6987152010-06-16 17:25:40 +0200301 select IMX_HAVE_PLATFORM_IMX_I2C
Uwe Kleine-Königd5dac4a2010-06-23 09:36:01 +0200302 select IMX_HAVE_PLATFORM_IMX_UART
Uwe Kleine-König9d3d9452010-11-05 17:26:09 +0100303 select IMX_HAVE_PLATFORM_MXC_MMC
Uwe Kleine-König0e7a29a2010-06-16 07:35:31 +0200304 select IMX_HAVE_PLATFORM_MXC_NAND
Alan Carvalho de Assis143a1792009-11-25 15:24:50 -0200305 help
306 Include support for i-MXT (aka td60) platform. This
307 includes specific configurations for the module and its peripherals.
308
Fabio Estevam9c2c3582011-01-24 16:55:02 -0200309config MACH_IMX27IPCAM
310 bool "IMX27 IPCAM platform"
311 select SOC_IMX27
312 select IMX_HAVE_PLATFORM_IMX2_WDT
313 select IMX_HAVE_PLATFORM_IMX_UART
314 help
315 Include support for IMX27 IPCAM platform. This includes specific
316 configurations for the board and its peripherals.
317
Holger Schurig6bbdbf22009-01-29 14:42:25 +0100318endif