1if ARCH_MX3
2
3# ARCH_MX31 and ARCH_MX35 are left for compatibility
4# Some usages assume that having one of them implies not having (e.g.) ARCH_MX2.
5# To easily distinguish good and reviewed from unreviewed usages new (and IMHO
6# more sensible) names are used: SOC_IMX31 and SOC_IMX35
7config ARCH_MX31
8	bool
9
10config ARCH_MX35
11	bool
12
13config SOC_IMX31
14	bool
15	select IMX_HAVE_PLATFORM_MXC_RNGA
16	select ARCH_MXC_AUDMUX_V2
17	select ARCH_MX31
18	select MXC_AVIC
19
20config SOC_IMX35
21	bool
22	select ARCH_MXC_IOMUX_V3
23	select ARCH_MXC_AUDMUX_V2
24	select HAVE_EPIT
25	select ARCH_MX35
26	select MXC_AVIC
27
28comment "MX3 platforms:"
29
30config MACH_MX31ADS
31	bool "Support MX31ADS platforms"
32	select SOC_IMX31
33	select IMX_HAVE_PLATFORM_IMX_I2C
34	select IMX_HAVE_PLATFORM_IMX_SSI
35	select IMX_HAVE_PLATFORM_IMX_UART
36	default y
37	help
38	  Include support for MX31ADS platform. This includes specific
39	  configurations for the board and its peripherals.
40
41config MACH_MX31ADS_WM1133_EV1
42	bool "Support Wolfson Microelectronics 1133-EV1 module"
43	depends on MACH_MX31ADS
44	depends on MFD_WM8350_I2C
45	depends on REGULATOR_WM8350
46	select MFD_WM8350_CONFIG_MODE_0
47	select MFD_WM8352_CONFIG_MODE_0
48	help
49	  Include support for the Wolfson Microelectronics 1133-EV1 PMU
50	  and audio module for the MX31ADS platform.
51
52config MACH_PCM037
53	bool "Support Phytec pcm037 (i.MX31) platforms"
54	select SOC_IMX31
55	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
56	select IMX_HAVE_PLATFORM_IMX2_WDT
57	select IMX_HAVE_PLATFORM_IMX_I2C
58	select IMX_HAVE_PLATFORM_IMX_UART
59	select IMX_HAVE_PLATFORM_MXC_EHCI
60	select IMX_HAVE_PLATFORM_MXC_MMC
61	select IMX_HAVE_PLATFORM_MXC_NAND
62	select IMX_HAVE_PLATFORM_MXC_W1
63	select MXC_ULPI if USB_ULPI
64	help
65	  Include support for Phytec pcm037 platform. This includes
66	  specific configurations for the board and its peripherals.
67
68config MACH_PCM037_EET
69	bool "Support pcm037 EET board extensions"
70	depends on MACH_PCM037
71	select IMX_HAVE_PLATFORM_SPI_IMX
72	help
73	  Add support for PCM037 EET baseboard extensions. If you are using the
74	  OLED display with EET, use "video=mx3fb:CMEL-OLED" kernel
75	  command-line parameter.
76
77config MACH_MX31LITE
78	bool "Support MX31 LITEKIT (LogicPD)"
79	select SOC_IMX31
80	select MXC_ULPI if USB_ULPI
81	select IMX_HAVE_PLATFORM_IMX2_WDT
82	select IMX_HAVE_PLATFORM_IMX_UART
83	select IMX_HAVE_PLATFORM_MXC_EHCI
84	select IMX_HAVE_PLATFORM_MXC_MMC
85	select IMX_HAVE_PLATFORM_MXC_NAND
86	select IMX_HAVE_PLATFORM_SPI_IMX
87	help
88	  Include support for MX31 LITEKIT platform. This includes specific
89	  configurations for the board and its peripherals.
90
91config MACH_MX31_3DS
92	bool "Support MX31PDK (3DS)"
93	select SOC_IMX31
94	select MXC_DEBUG_BOARD
95	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
96	select IMX_HAVE_PLATFORM_IMX2_WDT
97	select IMX_HAVE_PLATFORM_IMX_I2C
98	select IMX_HAVE_PLATFORM_IMX_KEYPAD
99	select IMX_HAVE_PLATFORM_IMX_UART
100	select IMX_HAVE_PLATFORM_MXC_EHCI
101	select IMX_HAVE_PLATFORM_MXC_NAND
102	select IMX_HAVE_PLATFORM_SPI_IMX
103	select MXC_ULPI if USB_ULPI
104	help
105	  Include support for MX31PDK (3DS) platform. This includes specific
106	  configurations for the board and its peripherals.
107
108config MACH_MX31_3DS_MXC_NAND_USE_BBT
109	bool "Make the MXC NAND driver use the in flash Bad Block Table"
110	depends on MACH_MX31_3DS
111	depends on MTD_NAND_MXC
112	help
113	  Enable this if you want that the MXC NAND driver uses the in flash
114	  Bad Block Table to know what blocks are bad instead of scanning the
115	  entire flash looking for bad block markers.
116
117config MACH_MX31MOBOARD
118	bool "Support mx31moboard platforms (EPFL Mobots group)"
119	select SOC_IMX31
120	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
121	select IMX_HAVE_PLATFORM_IMX_I2C
122	select IMX_HAVE_PLATFORM_IMX_UART
123	select IMX_HAVE_PLATFORM_MXC_EHCI
124	select IMX_HAVE_PLATFORM_MXC_MMC
125	select IMX_HAVE_PLATFORM_SPI_IMX
126	select MXC_ULPI if USB_ULPI
127	help
128	  Include support for mx31moboard platform. This includes specific
129	  configurations for the board and its peripherals.
130
131config MACH_MX31LILLY
132	bool "Support MX31 LILLY-1131 platforms (INCO startec)"
133	select SOC_IMX31
134	select IMX_HAVE_PLATFORM_IMX_UART
135	select IMX_HAVE_PLATFORM_MXC_EHCI
136	select IMX_HAVE_PLATFORM_MXC_MMC
137	select IMX_HAVE_PLATFORM_SPI_IMX
138	select MXC_ULPI if USB_ULPI
139	help
140	  Include support for mx31 based LILLY1131 modules. This includes
141	  specific configurations for the board and its peripherals.
142
143config MACH_QONG
144	bool "Support Dave/DENX QongEVB-LITE platform"
145	select SOC_IMX31
146	select IMX_HAVE_PLATFORM_IMX_UART
147	help
148	  Include support for Dave/DENX QongEVB-LITE platform. This includes
149	  specific configurations for the board and its peripherals.
150
151config MACH_PCM043
152	bool "Support Phytec pcm043 (i.MX35) platforms"
153	select SOC_IMX35
154	select IMX_HAVE_PLATFORM_FLEXCAN
155	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
156	select IMX_HAVE_PLATFORM_IMX2_WDT
157	select IMX_HAVE_PLATFORM_IMX_I2C
158	select IMX_HAVE_PLATFORM_IMX_SSI
159	select IMX_HAVE_PLATFORM_IMX_UART
160	select IMX_HAVE_PLATFORM_MXC_EHCI
161	select IMX_HAVE_PLATFORM_MXC_NAND
162	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
163	select MXC_ULPI if USB_ULPI
164	help
165	  Include support for Phytec pcm043 platform. This includes
166	  specific configurations for the board and its peripherals.
167
168config MACH_ARMADILLO5X0
169	bool "Support Atmark Armadillo-500 Development Base Board"
170	select SOC_IMX31
171	select IMX_HAVE_PLATFORM_IMX_I2C
172	select IMX_HAVE_PLATFORM_IMX_UART
173	select IMX_HAVE_PLATFORM_MXC_EHCI
174	select IMX_HAVE_PLATFORM_MXC_MMC
175	select IMX_HAVE_PLATFORM_MXC_NAND
176	select MXC_ULPI if USB_ULPI
177	help
178	  Include support for Atmark Armadillo-500 platform. This includes
179	  specific configurations for the board and its peripherals.
180
181config MACH_MX35_3DS
182	bool "Support MX35PDK platform"
183	select SOC_IMX35
184	select MXC_DEBUG_BOARD
185	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
186	select IMX_HAVE_PLATFORM_IMX2_WDT
187	select IMX_HAVE_PLATFORM_IMX_I2C
188	select IMX_HAVE_PLATFORM_IMX_UART
189	select IMX_HAVE_PLATFORM_MXC_EHCI
190	select IMX_HAVE_PLATFORM_MXC_NAND
191	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
192	help
193	  Include support for MX35PDK platform. This includes specific
194	  configurations for the board and its peripherals.
195
196config MACH_KZM_ARM11_01
197	bool "Support KZM-ARM11-01(Kyoto Microcomputer)"
198	select SOC_IMX31
199	select IMX_HAVE_PLATFORM_IMX_UART
200	help
201	  Include support for KZM-ARM11-01. This includes specific
202	  configurations for the board and its peripherals.
203
204config MACH_BUG
205	bool "Support Buglabs BUGBase platform"
206	select SOC_IMX31
207	select IMX_HAVE_PLATFORM_IMX_UART
208	default y
209	help
210	  Include support for BUGBase 1.3 platform. This includes specific
211	  configurations for the board and its peripherals.
212
213config MACH_EUKREA_CPUIMX35
214	bool "Support Eukrea CPUIMX35 Platform"
215	select SOC_IMX35
216	select IMX_HAVE_PLATFORM_FLEXCAN
217	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
218	select IMX_HAVE_PLATFORM_IMX2_WDT
219	select IMX_HAVE_PLATFORM_IMX_I2C
220	select IMX_HAVE_PLATFORM_IMX_UART
221	select IMX_HAVE_PLATFORM_MXC_EHCI
222	select IMX_HAVE_PLATFORM_MXC_NAND
223	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
224	select MXC_ULPI if USB_ULPI
225	help
226	  Include support for Eukrea CPUIMX35 platform. This includes
227	  specific configurations for the board and its peripherals.
228
229choice
230	prompt "Baseboard"
231	depends on MACH_EUKREA_CPUIMX35
232	default MACH_EUKREA_MBIMXSD35_BASEBOARD
233
234config MACH_EUKREA_MBIMXSD35_BASEBOARD
235	bool "Eukrea MBIMXSD development board"
236	select IMX_HAVE_PLATFORM_IMX_SSI
237	help
238	  This adds board specific devices that can be found on Eukrea's
239	  MBIMXSD evaluation board.
240
241endchoice
242
243config MACH_VPR200
244	bool "Support VPR200 platform"
245	select SOC_IMX35
246	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
247	select IMX_HAVE_PLATFORM_IMX2_WDT
248	select IMX_HAVE_PLATFORM_IMX_UART
249	select IMX_HAVE_PLATFORM_IMX_I2C
250	select IMX_HAVE_PLATFORM_MXC_EHCI
251	select IMX_HAVE_PLATFORM_MXC_NAND
252	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
253	help
254	  Include support for VPR200 platform. This includes specific
255	  configurations for the board and its peripherals.
256
257endif
258