xref: /openbmc/linux/arch/arm/mach-imx/Kconfig (revision 2eb42d5c)
1config IMX_HAVE_DMA_V1
2	bool
3
4if ARCH_MX1
5
6config SOC_IMX1
7	select CPU_ARM920T
8	select IMX_HAVE_DMA_V1
9	select IMX_HAVE_IOMUX_V1
10	bool
11
12comment "MX1 platforms:"
13config MACH_MXLADS
14	bool
15
16config ARCH_MX1ADS
17	bool "MX1ADS platform"
18	select MACH_MXLADS
19	select IMX_HAVE_PLATFORM_IMX_I2C
20	select IMX_HAVE_PLATFORM_IMX_UART
21	help
22	  Say Y here if you are using Motorola MX1ADS/MXLADS boards
23
24config MACH_SCB9328
25	bool "Synertronixx scb9328"
26	select IMX_HAVE_PLATFORM_IMX_UART
27	help
28	  Say Y here if you are using a Synertronixx scb9328 board
29
30endif
31
32if ARCH_MX2
33
34config SOC_IMX21
35	select CPU_ARM926T
36	select ARCH_MXC_AUDMUX_V1
37	select IMX_HAVE_DMA_V1
38	select IMX_HAVE_IOMUX_V1
39	bool
40
41config SOC_IMX27
42	select CPU_ARM926T
43	select ARCH_MXC_AUDMUX_V1
44	select IMX_HAVE_DMA_V1
45	select IMX_HAVE_IOMUX_V1
46	bool
47
48choice
49	prompt "CPUs:"
50	default MACH_MX21
51
52config MACH_MX21
53	bool "i.MX21 support"
54	select SOC_IMX21
55	help
56	  This enables support for Freescale's MX2 based i.MX21 processor.
57
58config MACH_MX27
59	bool "i.MX27 support"
60	select SOC_IMX27
61	help
62	  This enables support for Freescale's MX2 based i.MX27 processor.
63
64endchoice
65
66endif
67
68if MACH_MX21
69
70comment "MX21 platforms:"
71
72config MACH_MX21ADS
73	bool "MX21ADS platform"
74	select IMX_HAVE_PLATFORM_IMX_FB
75	select IMX_HAVE_PLATFORM_IMX_UART
76	select IMX_HAVE_PLATFORM_MXC_MMC
77	select IMX_HAVE_PLATFORM_MXC_NAND
78	help
79	  Include support for MX21ADS platform. This includes specific
80	  configurations for the board and its peripherals.
81
82endif
83
84if MACH_MX27
85
86comment "MX27 platforms:"
87
88config MACH_MX27ADS
89	bool "MX27ADS platform"
90	select IMX_HAVE_PLATFORM_IMX_FB
91	select IMX_HAVE_PLATFORM_IMX_I2C
92	select IMX_HAVE_PLATFORM_IMX_UART
93	select IMX_HAVE_PLATFORM_MXC_MMC
94	select IMX_HAVE_PLATFORM_MXC_NAND
95	select IMX_HAVE_PLATFORM_MXC_W1
96	help
97	  Include support for MX27ADS platform. This includes specific
98	  configurations for the board and its peripherals.
99
100config MACH_PCM038
101	bool "Phytec phyCORE-i.MX27 CPU module (pcm038)"
102	select IMX_HAVE_PLATFORM_IMX2_WDT
103	select IMX_HAVE_PLATFORM_IMX_I2C
104	select IMX_HAVE_PLATFORM_IMX_UART
105	select IMX_HAVE_PLATFORM_MXC_EHCI
106	select IMX_HAVE_PLATFORM_MXC_NAND
107	select IMX_HAVE_PLATFORM_MXC_W1
108	select IMX_HAVE_PLATFORM_SPI_IMX
109	select MXC_ULPI if USB_ULPI
110	help
111	  Include support for phyCORE-i.MX27 (aka pcm038) platform. This
112	  includes specific configurations for the module and its peripherals.
113
114choice
115	prompt "Baseboard"
116	depends on MACH_PCM038
117	default MACH_PCM970_BASEBOARD
118
119config MACH_PCM970_BASEBOARD
120	bool "PHYTEC PCM970 development board"
121	select IMX_HAVE_PLATFORM_IMX_FB
122	select IMX_HAVE_PLATFORM_MXC_MMC
123	help
124	  This adds board specific devices that can be found on Phytec's
125	  PCM970 evaluation board.
126
127endchoice
128
129config MACH_CPUIMX27
130	bool "Eukrea CPUIMX27 module"
131	select IMX_HAVE_PLATFORM_IMX2_WDT
132	select IMX_HAVE_PLATFORM_IMX_I2C
133	select IMX_HAVE_PLATFORM_IMX_UART
134	select IMX_HAVE_PLATFORM_MXC_EHCI
135	select IMX_HAVE_PLATFORM_MXC_NAND
136	select IMX_HAVE_PLATFORM_MXC_W1
137	select MXC_ULPI if USB_ULPI
138	help
139	  Include support for Eukrea CPUIMX27 platform. This includes
140	  specific configurations for the module and its peripherals.
141
142config MACH_EUKREA_CPUIMX27_USESDHC2
143	bool "CPUIMX27 integrates SDHC2 module"
144	depends on MACH_CPUIMX27
145	select IMX_HAVE_PLATFORM_MXC_MMC
146	help
147	  This adds support for the internal SDHC2 used on CPUIMX27
148	  for wifi or eMMC.
149
150config MACH_EUKREA_CPUIMX27_USEUART4
151	bool "CPUIMX27 integrates UART4 module"
152	depends on MACH_CPUIMX27
153	help
154	  This adds support for the internal UART4 used on CPUIMX27
155	  for bluetooth.
156
157choice
158	prompt "Baseboard"
159	depends on MACH_CPUIMX27
160	default MACH_EUKREA_MBIMX27_BASEBOARD
161
162config MACH_EUKREA_MBIMX27_BASEBOARD
163	bool "Eukrea MBIMX27 development board"
164	select IMX_HAVE_PLATFORM_IMX_FB
165	select IMX_HAVE_PLATFORM_IMX_SSI
166	select IMX_HAVE_PLATFORM_IMX_UART
167	select IMX_HAVE_PLATFORM_MXC_MMC
168	select IMX_HAVE_PLATFORM_SPI_IMX
169	help
170	  This adds board specific devices that can be found on Eukrea's
171	  MBIMX27 evaluation board.
172
173endchoice
174
175config MACH_MX27_3DS
176	bool "MX27PDK platform"
177	select IMX_HAVE_PLATFORM_IMX_UART
178	select IMX_HAVE_PLATFORM_MXC_MMC
179	help
180	  Include support for MX27PDK platform. This includes specific
181	  configurations for the board and its peripherals.
182
183config MACH_IMX27_VISSTRIM_M10
184	bool "Vista Silicon i.MX27 Visstrim_m10"
185	select IMX_HAVE_PLATFORM_IMX_I2C
186	select IMX_HAVE_PLATFORM_IMX_UART
187	select IMX_HAVE_PLATFORM_MXC_MMC
188	select IMX_HAVE_PLATFORM_MXC_EHCI
189	help
190	  Include support for Visstrim_m10 platform and its different variants.
191	  This includes specific configurations for the board and its
192	  peripherals.
193
194config MACH_IMX27LITE
195	bool "LogicPD MX27 LITEKIT platform"
196	select IMX_HAVE_PLATFORM_IMX_UART
197	help
198	  Include support for MX27 LITEKIT platform. This includes specific
199	  configurations for the board and its peripherals.
200
201config MACH_PCA100
202	bool "Phytec phyCARD-s (pca100)"
203	select IMX_HAVE_PLATFORM_IMX2_WDT
204	select IMX_HAVE_PLATFORM_IMX_FB
205	select IMX_HAVE_PLATFORM_IMX_I2C
206	select IMX_HAVE_PLATFORM_IMX_SSI
207	select IMX_HAVE_PLATFORM_IMX_UART
208	select IMX_HAVE_PLATFORM_MXC_EHCI
209	select IMX_HAVE_PLATFORM_MXC_MMC
210	select IMX_HAVE_PLATFORM_MXC_NAND
211	select IMX_HAVE_PLATFORM_MXC_W1
212	select IMX_HAVE_PLATFORM_SPI_IMX
213	select MXC_ULPI if USB_ULPI
214	help
215	  Include support for phyCARD-s (aka pca100) platform. This
216	  includes specific configurations for the module and its peripherals.
217
218config MACH_MXT_TD60
219	bool "Maxtrack i-MXT TD60"
220	select IMX_HAVE_PLATFORM_IMX_FB
221	select IMX_HAVE_PLATFORM_IMX_I2C
222	select IMX_HAVE_PLATFORM_IMX_UART
223	select IMX_HAVE_PLATFORM_MXC_MMC
224	select IMX_HAVE_PLATFORM_MXC_NAND
225	help
226	  Include support for i-MXT (aka td60) platform. This
227	  includes specific configurations for the module and its peripherals.
228
229endif
230