1config IMX_HAVE_DMA_V1
2	bool
3
4config SOC_IMX1
5	bool
6	select CPU_ARM920T
7	select IMX_HAVE_DMA_V1
8	select IMX_HAVE_IOMUX_V1
9	select MXC_AVIC
10
11config SOC_IMX21
12	bool
13	select CPU_ARM926T
14	select ARCH_MXC_AUDMUX_V1
15	select IMX_HAVE_DMA_V1
16	select IMX_HAVE_IOMUX_V1
17	select MXC_AVIC
18
19config SOC_IMX25
20	bool
21	select CPU_ARM926T
22	select ARCH_MXC_AUDMUX_V2
23	select ARCH_MXC_IOMUX_V3
24	select MXC_AVIC
25
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
32	select MXC_AVIC
33
34if ARCH_MX1
35
36comment "MX1 platforms:"
37config MACH_MXLADS
38	bool
39
40config ARCH_MX1ADS
41	bool "MX1ADS platform"
42	select MACH_MXLADS
43	select IMX_HAVE_PLATFORM_IMX_I2C
44	select IMX_HAVE_PLATFORM_IMX_UART
45	help
46	  Say Y here if you are using Motorola MX1ADS/MXLADS boards
47
48config MACH_SCB9328
49	bool "Synertronixx scb9328"
50	select IMX_HAVE_PLATFORM_IMX_UART
51	help
52	  Say Y here if you are using a Synertronixx scb9328 board
53
54endif
55
56if ARCH_MX2
57
58choice
59	prompt "CPUs:"
60	default MACH_MX21
61
62config MACH_MX21
63	bool "i.MX21 support"
64	help
65	  This enables support for Freescale's MX2 based i.MX21 processor.
66
67config MACH_MX27
68	bool "i.MX27 support"
69	help
70	  This enables support for Freescale's MX2 based i.MX27 processor.
71
72endchoice
73
74endif
75
76if MACH_MX21
77
78comment "MX21 platforms:"
79
80config MACH_MX21ADS
81	bool "MX21ADS platform"
82	select SOC_IMX21
83	select IMX_HAVE_PLATFORM_IMX_FB
84	select IMX_HAVE_PLATFORM_IMX_UART
85	select IMX_HAVE_PLATFORM_MXC_MMC
86	select IMX_HAVE_PLATFORM_MXC_NAND
87	help
88	  Include support for MX21ADS platform. This includes specific
89	  configurations for the board and its peripherals.
90
91endif
92
93if ARCH_MX25
94
95comment "MX25 platforms:"
96
97config MACH_MX25_3DS
98	bool "Support MX25PDK (3DS) Platform"
99	select SOC_IMX25
100	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
101	select IMX_HAVE_PLATFORM_IMX2_WDT
102	select IMX_HAVE_PLATFORM_IMXDI_RTC
103	select IMX_HAVE_PLATFORM_IMX_I2C
104	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
109	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
110
111config MACH_EUKREA_CPUIMX25
112	bool "Support Eukrea CPUIMX25 Platform"
113	select SOC_IMX25
114	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
122	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
123	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"
132	select IMX_HAVE_PLATFORM_IMX_SSI
133	help
134	  This adds board specific devices that can be found on Eukrea's
135	  MBIMXSD evaluation board.
136
137endchoice
138
139endif
140
141if MACH_MX27
142
143comment "MX27 platforms:"
144
145config MACH_MX27ADS
146	bool "MX27ADS platform"
147	select SOC_IMX27
148	select IMX_HAVE_PLATFORM_IMX_FB
149	select IMX_HAVE_PLATFORM_IMX_I2C
150	select IMX_HAVE_PLATFORM_IMX_UART
151	select IMX_HAVE_PLATFORM_MXC_MMC
152	select IMX_HAVE_PLATFORM_MXC_NAND
153	select IMX_HAVE_PLATFORM_MXC_W1
154	help
155	  Include support for MX27ADS platform. This includes specific
156	  configurations for the board and its peripherals.
157
158config MACH_PCM038
159	bool "Phytec phyCORE-i.MX27 CPU module (pcm038)"
160	select SOC_IMX27
161	select IMX_HAVE_PLATFORM_IMX2_WDT
162	select IMX_HAVE_PLATFORM_IMX_I2C
163	select IMX_HAVE_PLATFORM_IMX_UART
164	select IMX_HAVE_PLATFORM_MXC_EHCI
165	select IMX_HAVE_PLATFORM_MXC_NAND
166	select IMX_HAVE_PLATFORM_MXC_W1
167	select IMX_HAVE_PLATFORM_SPI_IMX
168	select MXC_ULPI if USB_ULPI
169	help
170	  Include support for phyCORE-i.MX27 (aka pcm038) platform. This
171	  includes specific configurations for the module and its peripherals.
172
173choice
174	prompt "Baseboard"
175	depends on MACH_PCM038
176	default MACH_PCM970_BASEBOARD
177
178config MACH_PCM970_BASEBOARD
179	bool "PHYTEC PCM970 development board"
180	select IMX_HAVE_PLATFORM_IMX_FB
181	select IMX_HAVE_PLATFORM_MXC_MMC
182	help
183	  This adds board specific devices that can be found on Phytec's
184	  PCM970 evaluation board.
185
186endchoice
187
188config MACH_CPUIMX27
189	bool "Eukrea CPUIMX27 module"
190	select SOC_IMX27
191	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
192	select IMX_HAVE_PLATFORM_IMX2_WDT
193	select IMX_HAVE_PLATFORM_IMX_I2C
194	select IMX_HAVE_PLATFORM_IMX_UART
195	select IMX_HAVE_PLATFORM_MXC_EHCI
196	select IMX_HAVE_PLATFORM_MXC_NAND
197	select IMX_HAVE_PLATFORM_MXC_W1
198	select MXC_ULPI if USB_ULPI
199	help
200	  Include support for Eukrea CPUIMX27 platform. This includes
201	  specific configurations for the module and its peripherals.
202
203config MACH_EUKREA_CPUIMX27_USESDHC2
204	bool "CPUIMX27 integrates SDHC2 module"
205	depends on MACH_CPUIMX27
206	select IMX_HAVE_PLATFORM_MXC_MMC
207	help
208	  This adds support for the internal SDHC2 used on CPUIMX27
209	  for wifi or eMMC.
210
211config MACH_EUKREA_CPUIMX27_USEUART4
212	bool "CPUIMX27 integrates UART4 module"
213	depends on MACH_CPUIMX27
214	help
215	  This adds support for the internal UART4 used on CPUIMX27
216	  for bluetooth.
217
218choice
219	prompt "Baseboard"
220	depends on MACH_CPUIMX27
221	default MACH_EUKREA_MBIMX27_BASEBOARD
222
223config MACH_EUKREA_MBIMX27_BASEBOARD
224	bool "Eukrea MBIMX27 development board"
225	select IMX_HAVE_PLATFORM_IMX_FB
226	select IMX_HAVE_PLATFORM_IMX_KEYPAD
227	select IMX_HAVE_PLATFORM_IMX_SSI
228	select IMX_HAVE_PLATFORM_IMX_UART
229	select IMX_HAVE_PLATFORM_MXC_MMC
230	select IMX_HAVE_PLATFORM_SPI_IMX
231	help
232	  This adds board specific devices that can be found on Eukrea's
233	  MBIMX27 evaluation board.
234
235endchoice
236
237config MACH_MX27_3DS
238	bool "MX27PDK platform"
239	select SOC_IMX27
240	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
241	select IMX_HAVE_PLATFORM_IMX2_WDT
242	select IMX_HAVE_PLATFORM_IMX_I2C
243	select IMX_HAVE_PLATFORM_IMX_KEYPAD
244	select IMX_HAVE_PLATFORM_IMX_UART
245	select IMX_HAVE_PLATFORM_MXC_EHCI
246	select IMX_HAVE_PLATFORM_MXC_MMC
247	select IMX_HAVE_PLATFORM_SPI_IMX
248	select MXC_DEBUG_BOARD
249	select MXC_ULPI if USB_ULPI
250	help
251	  Include support for MX27PDK platform. This includes specific
252	  configurations for the board and its peripherals.
253
254config MACH_IMX27_VISSTRIM_M10
255	bool "Vista Silicon i.MX27 Visstrim_m10"
256	select SOC_IMX27
257	select IMX_HAVE_PLATFORM_IMX_I2C
258	select IMX_HAVE_PLATFORM_IMX_SSI
259	select IMX_HAVE_PLATFORM_IMX_UART
260	select IMX_HAVE_PLATFORM_MXC_MMC
261	select IMX_HAVE_PLATFORM_MXC_EHCI
262	help
263	  Include support for Visstrim_m10 platform and its different variants.
264	  This includes specific configurations for the board and its
265	  peripherals.
266
267config MACH_IMX27LITE
268	bool "LogicPD MX27 LITEKIT platform"
269	select SOC_IMX27
270	select IMX_HAVE_PLATFORM_IMX_UART
271	select IMX_HAVE_PLATFORM_IMX_SSI
272	help
273	  Include support for MX27 LITEKIT platform. This includes specific
274	  configurations for the board and its peripherals.
275
276config MACH_PCA100
277	bool "Phytec phyCARD-s (pca100)"
278	select SOC_IMX27
279	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
280	select IMX_HAVE_PLATFORM_IMX2_WDT
281	select IMX_HAVE_PLATFORM_IMX_FB
282	select IMX_HAVE_PLATFORM_IMX_I2C
283	select IMX_HAVE_PLATFORM_IMX_SSI
284	select IMX_HAVE_PLATFORM_IMX_UART
285	select IMX_HAVE_PLATFORM_MXC_EHCI
286	select IMX_HAVE_PLATFORM_MXC_MMC
287	select IMX_HAVE_PLATFORM_MXC_NAND
288	select IMX_HAVE_PLATFORM_MXC_W1
289	select IMX_HAVE_PLATFORM_SPI_IMX
290	select MXC_ULPI if USB_ULPI
291	help
292	  Include support for phyCARD-s (aka pca100) platform. This
293	  includes specific configurations for the module and its peripherals.
294
295config MACH_MXT_TD60
296	bool "Maxtrack i-MXT TD60"
297	select SOC_IMX27
298	select IMX_HAVE_PLATFORM_IMX_FB
299	select IMX_HAVE_PLATFORM_IMX_I2C
300	select IMX_HAVE_PLATFORM_IMX_UART
301	select IMX_HAVE_PLATFORM_MXC_MMC
302	select IMX_HAVE_PLATFORM_MXC_NAND
303	help
304	  Include support for i-MXT (aka td60) platform. This
305	  includes specific configurations for the module and its peripherals.
306
307config MACH_IMX27IPCAM
308	bool "IMX27 IPCAM platform"
309	select SOC_IMX27
310	select IMX_HAVE_PLATFORM_IMX2_WDT
311	select IMX_HAVE_PLATFORM_IMX_UART
312	help
313	  Include support for IMX27 IPCAM platform. This includes specific
314	  configurations for the board and its peripherals.
315
316endif
317