xref: /openbmc/linux/arch/arm/mach-exynos/Kconfig (revision fea88a0c)
1# arch/arm/mach-exynos/Kconfig
2#
3# Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
4#		http://www.samsung.com/
5#
6# Licensed under GPLv2
7
8# Configuration options for the EXYNOS4
9
10if ARCH_EXYNOS
11
12menu "SAMSUNG EXYNOS SoCs Support"
13
14config ARCH_EXYNOS4
15	bool "SAMSUNG EXYNOS4"
16	default y
17	select HAVE_SMP
18	select MIGHT_HAVE_CACHE_L2X0
19	help
20	  Samsung EXYNOS4 SoCs based systems
21
22config ARCH_EXYNOS5
23	bool "SAMSUNG EXYNOS5"
24	select HAVE_SMP
25	help
26	  Samsung EXYNOS5 (Cortex-A15) SoC based systems
27
28comment "EXYNOS SoCs"
29
30config CPU_EXYNOS4210
31	bool "SAMSUNG EXYNOS4210"
32	default y
33	depends on ARCH_EXYNOS4
34	select SAMSUNG_DMADEV
35	select ARM_CPU_SUSPEND if PM
36	select S5P_PM if PM
37	select S5P_SLEEP if PM
38	select PM_GENERIC_DOMAINS
39	help
40	  Enable EXYNOS4210 CPU support
41
42config SOC_EXYNOS4212
43	bool "SAMSUNG EXYNOS4212"
44	default y
45	depends on ARCH_EXYNOS4
46	select SAMSUNG_DMADEV
47	select S5P_PM if PM
48	select S5P_SLEEP if PM
49	help
50	  Enable EXYNOS4212 SoC support
51
52config SOC_EXYNOS4412
53	bool "SAMSUNG EXYNOS4412"
54	default y
55	depends on ARCH_EXYNOS4
56	select SAMSUNG_DMADEV
57	help
58	  Enable EXYNOS4412 SoC support
59
60config SOC_EXYNOS5250
61	bool "SAMSUNG EXYNOS5250"
62	default y
63	depends on ARCH_EXYNOS5
64	help
65	  Enable EXYNOS5250 SoC support
66
67config EXYNOS4_MCT
68	bool
69	default y
70	help
71	  Use MCT (Multi Core Timer) as kernel timers
72
73config EXYNOS4_DEV_DMA
74	bool
75	help
76	  Compile in amba device definitions for DMA controller
77
78config EXYNOS4_DEV_AHCI
79	bool
80	help
81	  Compile in platform device definitions for AHCI
82
83config EXYNOS4_SETUP_FIMD0
84	bool
85	help
86	  Common setup code for FIMD0.
87
88config EXYNOS4_DEV_SYSMMU
89	bool
90	help
91	  Common setup code for SYSTEM MMU in EXYNOS4
92
93config EXYNOS4_DEV_DWMCI
94	bool
95	help
96	  Compile in platform device definitions for DWMCI
97
98config EXYNOS4_DEV_USB_OHCI
99	bool
100	help
101	  Compile in platform device definition for USB OHCI
102
103config EXYNOS4_SETUP_I2C1
104	bool
105	help
106	  Common setup code for i2c bus 1.
107
108config EXYNOS4_SETUP_I2C2
109	bool
110	help
111	  Common setup code for i2c bus 2.
112
113config EXYNOS4_SETUP_I2C3
114	bool
115	help
116	  Common setup code for i2c bus 3.
117
118config EXYNOS4_SETUP_I2C4
119	bool
120	help
121	  Common setup code for i2c bus 4.
122
123config EXYNOS4_SETUP_I2C5
124	bool
125	help
126	  Common setup code for i2c bus 5.
127
128config EXYNOS4_SETUP_I2C6
129	bool
130	help
131	  Common setup code for i2c bus 6.
132
133config EXYNOS4_SETUP_I2C7
134	bool
135	help
136	  Common setup code for i2c bus 7.
137
138config EXYNOS4_SETUP_KEYPAD
139	bool
140	help
141	  Common setup code for keypad.
142
143config EXYNOS4_SETUP_SDHCI
144	bool
145	select EXYNOS4_SETUP_SDHCI_GPIO
146	help
147	  Internal helper functions for EXYNOS4 based SDHCI systems.
148
149config EXYNOS4_SETUP_SDHCI_GPIO
150	bool
151	help
152	  Common setup code for SDHCI gpio.
153
154config EXYNOS4_SETUP_FIMC
155	bool
156	help
157	  Common setup code for the camera interfaces.
158
159config EXYNOS4_SETUP_USB_PHY
160	bool
161	help
162	  Common setup code for USB PHY controller
163
164config EXYNOS4_SETUP_SPI
165	bool
166	help
167	  Common setup code for SPI GPIO configurations.
168
169# machine support
170
171if ARCH_EXYNOS4
172
173comment "EXYNOS4210 Boards"
174
175config MACH_SMDKC210
176	bool "SMDKC210"
177	select MACH_SMDKV310
178	help
179	  Machine support for Samsung SMDKC210
180
181config MACH_SMDKV310
182	bool "SMDKV310"
183	select CPU_EXYNOS4210
184	select S5P_DEV_FIMD0
185	select S3C_DEV_RTC
186	select S3C_DEV_WDT
187	select S3C_DEV_I2C1
188	select S5P_DEV_FIMC0
189	select S5P_DEV_FIMC1
190	select S5P_DEV_FIMC2
191	select S5P_DEV_FIMC3
192	select S5P_DEV_G2D
193	select S5P_DEV_I2C_HDMIPHY
194	select S5P_DEV_JPEG
195	select S5P_DEV_MFC
196	select S5P_DEV_TV
197	select S5P_DEV_USB_EHCI
198	select S3C_DEV_HSMMC
199	select S3C_DEV_HSMMC1
200	select S3C_DEV_HSMMC2
201	select S3C_DEV_HSMMC3
202	select SAMSUNG_DEV_BACKLIGHT
203	select EXYNOS4_DEV_AHCI
204	select SAMSUNG_DEV_KEYPAD
205	select EXYNOS4_DEV_DMA
206	select SAMSUNG_DEV_PWM
207	select EXYNOS4_DEV_USB_OHCI
208	select EXYNOS4_DEV_SYSMMU
209	select EXYNOS4_SETUP_FIMD0
210	select EXYNOS4_SETUP_I2C1
211	select EXYNOS4_SETUP_KEYPAD
212	select EXYNOS4_SETUP_SDHCI
213	select EXYNOS4_SETUP_USB_PHY
214	help
215	  Machine support for Samsung SMDKV310
216
217config MACH_ARMLEX4210
218	bool "ARMLEX4210"
219	select CPU_EXYNOS4210
220	select S3C_DEV_RTC
221	select S3C_DEV_WDT
222	select S3C_DEV_HSMMC
223	select S3C_DEV_HSMMC2
224	select S3C_DEV_HSMMC3
225	select EXYNOS4_DEV_AHCI
226	select EXYNOS4_DEV_DMA
227	select EXYNOS4_DEV_SYSMMU
228	select EXYNOS4_SETUP_SDHCI
229	help
230	  Machine support for Samsung ARMLEX4210 based on EXYNOS4210
231
232config MACH_UNIVERSAL_C210
233	bool "Mobile UNIVERSAL_C210 Board"
234	select CPU_EXYNOS4210
235	select S5P_GPIO_INT
236	select S5P_DEV_FIMC0
237	select S5P_DEV_FIMC1
238	select S5P_DEV_FIMC2
239	select S5P_DEV_FIMC3
240	select S5P_DEV_G2D
241	select S5P_DEV_CSIS0
242	select S5P_DEV_JPEG
243	select S5P_DEV_FIMD0
244	select S3C_DEV_HSMMC
245	select S3C_DEV_HSMMC2
246	select S3C_DEV_HSMMC3
247	select S3C_DEV_I2C1
248	select S3C_DEV_I2C3
249	select S3C_DEV_I2C5
250	select S5P_DEV_I2C_HDMIPHY
251	select S5P_DEV_MFC
252	select S5P_DEV_ONENAND
253	select S5P_DEV_TV
254	select EXYNOS4_DEV_DMA
255	select EXYNOS4_SETUP_FIMD0
256	select EXYNOS4_SETUP_I2C1
257	select EXYNOS4_SETUP_I2C3
258	select EXYNOS4_SETUP_I2C5
259	select EXYNOS4_SETUP_SDHCI
260	select EXYNOS4_SETUP_FIMC
261	select S5P_SETUP_MIPIPHY
262	help
263	  Machine support for Samsung Mobile Universal S5PC210 Reference
264	  Board.
265
266config MACH_NURI
267	bool "Mobile NURI Board"
268	select CPU_EXYNOS4210
269	select S5P_GPIO_INT
270	select S3C_DEV_WDT
271	select S3C_DEV_RTC
272	select S5P_DEV_FIMD0
273	select S3C_DEV_HSMMC
274	select S3C_DEV_HSMMC2
275	select S3C_DEV_HSMMC3
276	select S3C_DEV_I2C1
277	select S3C_DEV_I2C3
278	select S3C_DEV_I2C5
279	select S3C_DEV_I2C6
280	select S5P_DEV_CSIS0
281	select S5P_DEV_JPEG
282	select S5P_DEV_FIMC0
283	select S5P_DEV_FIMC1
284	select S5P_DEV_FIMC2
285	select S5P_DEV_FIMC3
286	select S5P_DEV_G2D
287	select S5P_DEV_MFC
288	select S5P_DEV_USB_EHCI
289	select S5P_SETUP_MIPIPHY
290	select EXYNOS4_DEV_DMA
291	select EXYNOS4_SETUP_FIMC
292	select EXYNOS4_SETUP_FIMD0
293	select EXYNOS4_SETUP_I2C1
294	select EXYNOS4_SETUP_I2C3
295	select EXYNOS4_SETUP_I2C5
296	select EXYNOS4_SETUP_I2C6
297	select EXYNOS4_SETUP_SDHCI
298	select EXYNOS4_SETUP_USB_PHY
299	select S5P_SETUP_MIPIPHY
300	select SAMSUNG_DEV_PWM
301	select SAMSUNG_DEV_ADC
302	help
303	  Machine support for Samsung Mobile NURI Board.
304
305config MACH_ORIGEN
306	bool "ORIGEN"
307	select CPU_EXYNOS4210
308	select S3C_DEV_RTC
309	select S3C_DEV_WDT
310	select S3C_DEV_HSMMC
311	select S3C_DEV_HSMMC2
312	select S5P_DEV_FIMC0
313	select S5P_DEV_FIMC1
314	select S5P_DEV_FIMC2
315	select S5P_DEV_FIMC3
316	select S5P_DEV_FIMD0
317	select S5P_DEV_G2D
318	select S5P_DEV_I2C_HDMIPHY
319	select S5P_DEV_JPEG
320	select S5P_DEV_MFC
321	select S5P_DEV_TV
322	select S5P_DEV_USB_EHCI
323	select SAMSUNG_DEV_BACKLIGHT
324	select SAMSUNG_DEV_PWM
325	select EXYNOS4_DEV_DMA
326	select EXYNOS4_DEV_USB_OHCI
327	select EXYNOS4_SETUP_FIMD0
328	select EXYNOS4_SETUP_SDHCI
329	select EXYNOS4_SETUP_USB_PHY
330	help
331	  Machine support for ORIGEN based on Samsung EXYNOS4210
332
333comment "EXYNOS4212 Boards"
334
335config MACH_SMDK4212
336	bool "SMDK4212"
337	select SOC_EXYNOS4212
338	select S3C_DEV_HSMMC2
339	select S3C_DEV_HSMMC3
340	select S3C_DEV_I2C1
341	select S3C_DEV_I2C3
342	select S3C_DEV_I2C7
343	select S3C_DEV_RTC
344	select S3C_DEV_WDT
345	select SAMSUNG_DEV_BACKLIGHT
346	select SAMSUNG_DEV_KEYPAD
347	select SAMSUNG_DEV_PWM
348	select EXYNOS4_DEV_DMA
349	select EXYNOS4_SETUP_I2C1
350	select EXYNOS4_SETUP_I2C3
351	select EXYNOS4_SETUP_I2C7
352	select EXYNOS4_SETUP_KEYPAD
353	select EXYNOS4_SETUP_SDHCI
354	help
355	  Machine support for Samsung SMDK4212
356
357comment "EXYNOS4412 Boards"
358
359config MACH_SMDK4412
360	bool "SMDK4412"
361	select SOC_EXYNOS4412
362	select MACH_SMDK4212
363	help
364	  Machine support for Samsung SMDK4412
365endif
366
367comment "Flattened Device Tree based board for EXYNOS SoCs"
368
369config MACH_EXYNOS4_DT
370	bool "Samsung Exynos4 Machine using device tree"
371	select CPU_EXYNOS4210
372	select USE_OF
373	select ARM_AMBA
374	select HAVE_SAMSUNG_KEYPAD if INPUT_KEYBOARD
375	help
376	  Machine support for Samsung Exynos4 machine with device tree enabled.
377	  Select this if a fdt blob is available for the Exynos4 SoC based board.
378	  Note: This is under development and not all peripherals can be supported
379	  with this machine file.
380
381config MACH_EXYNOS5_DT
382	bool "SAMSUNG EXYNOS5 Machine using device tree"
383	select SOC_EXYNOS5250
384	select USE_OF
385	select ARM_AMBA
386	help
387	  Machine support for Samsung Exynos4 machine with device tree enabled.
388	  Select this if a fdt blob is available for the EXYNOS4 SoC based board.
389
390if ARCH_EXYNOS4
391
392comment "Configuration for HSMMC 8-bit bus width"
393
394config EXYNOS4_SDHCI_CH0_8BIT
395	bool "Channel 0 with 8-bit bus"
396	help
397	  Support HSMMC Channel 0 8-bit bus.
398	  If selected, Channel 1 is disabled.
399
400config EXYNOS4_SDHCI_CH2_8BIT
401	bool "Channel 2 with 8-bit bus"
402	help
403	  Support HSMMC Channel 2 8-bit bus.
404	  If selected, Channel 3 is disabled.
405endif
406
407endmenu
408
409endif
410