blob: f4ec583ec948f2a1e12e0aa025d9c0ba3b74e4b9 [file] [log] [blame]
Kukjin Kim10606aa2011-02-14 15:05:27 +09001# arch/arm/mach-exynos4/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_EXYNOS4
11
12config CPU_EXYNOS4210
13 bool
14 select S3C_PL330_DMA
15 help
16 Enable EXYNOS4210 CPU support
17
Kukjin Kim68465382011-08-24 17:25:09 +090018config SOC_EXYNOS4212
19 bool
20 help
21 Enable EXYNOS4212 SoC support
22
Changhwan Youn30d8bea2011-03-11 10:39:57 +090023config EXYNOS4_MCT
Changhwan Youn069d4e72011-07-16 10:49:53 +090024 bool
25 default y
Changhwan Youn30d8bea2011-03-11 10:39:57 +090026 help
27 Use MCT (Multi Core Timer) as kernel timers
28
Kukjin Kim94fc1d82011-03-25 10:46:16 +090029config EXYNOS4_DEV_AHCI
30 bool
31 help
32 Compile in platform device definitions for AHCI
33
Jonghun Hane61b1702011-07-21 15:46:26 +090034config EXYNOS4_SETUP_FIMD0
35 bool
36 help
37 Common setup code for FIMD0.
38
Kukjin Kim10606aa2011-02-14 15:05:27 +090039config EXYNOS4_DEV_PD
40 bool
41 help
42 Compile in platform device definitions for Power Domain
43
44config EXYNOS4_DEV_SYSMMU
45 bool
46 help
47 Common setup code for SYSTEM MMU in EXYNOS4
48
Seungwon Jeond7919582011-07-21 00:34:58 +090049config EXYNOS4_DEV_DWMCI
50 bool
51 help
52 Compile in platform device definitions for DWMCI
53
Kukjin Kim10606aa2011-02-14 15:05:27 +090054config EXYNOS4_SETUP_I2C1
55 bool
56 help
57 Common setup code for i2c bus 1.
58
59config EXYNOS4_SETUP_I2C2
60 bool
61 help
62 Common setup code for i2c bus 2.
63
64config EXYNOS4_SETUP_I2C3
65 bool
66 help
67 Common setup code for i2c bus 3.
68
69config EXYNOS4_SETUP_I2C4
70 bool
71 help
72 Common setup code for i2c bus 4.
73
74config EXYNOS4_SETUP_I2C5
75 bool
76 help
77 Common setup code for i2c bus 5.
78
79config EXYNOS4_SETUP_I2C6
80 bool
81 help
82 Common setup code for i2c bus 6.
83
84config EXYNOS4_SETUP_I2C7
85 bool
86 help
87 Common setup code for i2c bus 7.
88
Naveen Krishna Ch8e97fb72011-03-05 09:44:09 +090089config EXYNOS4_SETUP_KEYPAD
90 bool
91 help
92 Common setup code for keypad.
93
Kukjin Kim10606aa2011-02-14 15:05:27 +090094config EXYNOS4_SETUP_SDHCI
95 bool
96 select EXYNOS4_SETUP_SDHCI_GPIO
97 help
98 Internal helper functions for EXYNOS4 based SDHCI systems.
99
100config EXYNOS4_SETUP_SDHCI_GPIO
101 bool
102 help
103 Common setup code for SDHCI gpio.
104
Sylwester Nawrocki0048a172011-03-10 21:49:31 +0900105config EXYNOS4_SETUP_FIMC
106 bool
107 help
108 Common setup code for the camera interfaces.
109
Tushar Beheraf8d8e122011-06-03 12:34:14 +0530110config EXYNOS4_SETUP_USB_PHY
111 bool
112 help
113 Common setup code for USB PHY controller
114
Kukjin Kim10606aa2011-02-14 15:05:27 +0900115# machine support
116
117menu "EXYNOS4 Machines"
118
Kukjin Kimbe4ab362011-08-24 17:25:09 +0900119comment "EXYNOS4210 Boards"
120
Kukjin Kim10606aa2011-02-14 15:05:27 +0900121config MACH_SMDKC210
122 bool "SMDKC210"
Kukjin Kim42c0d262011-08-18 21:14:28 +0900123 select MACH_SMDKV310
Kukjin Kim10606aa2011-02-14 15:05:27 +0900124 help
125 Machine support for Samsung SMDKC210
126
127config MACH_SMDKV310
128 bool "SMDKV310"
129 select CPU_EXYNOS4210
Jonghun Hane61b1702011-07-21 15:46:26 +0900130 select S5P_DEV_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900131 select S3C_DEV_RTC
132 select S3C_DEV_WDT
133 select S3C_DEV_I2C1
134 select S3C_DEV_HSMMC
135 select S3C_DEV_HSMMC1
136 select S3C_DEV_HSMMC2
137 select S3C_DEV_HSMMC3
Banajit Goswami8689de72011-07-20 23:45:21 +0900138 select SAMSUNG_DEV_BACKLIGHT
Inderpal Singh0d855f42011-07-04 19:19:36 +0900139 select EXYNOS4_DEV_AHCI
Naveen Krishna Chbe4c33b2011-02-22 17:16:58 +0900140 select SAMSUNG_DEV_KEYPAD
Kukjin Kim10606aa2011-02-14 15:05:27 +0900141 select EXYNOS4_DEV_PD
Banajit Goswami8689de72011-07-20 23:45:21 +0900142 select SAMSUNG_DEV_PWM
Kukjin Kim10606aa2011-02-14 15:05:27 +0900143 select EXYNOS4_DEV_SYSMMU
Jonghun Hane61b1702011-07-21 15:46:26 +0900144 select EXYNOS4_SETUP_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900145 select EXYNOS4_SETUP_I2C1
Naveen Krishna Chbe4c33b2011-02-22 17:16:58 +0900146 select EXYNOS4_SETUP_KEYPAD
Kukjin Kim10606aa2011-02-14 15:05:27 +0900147 select EXYNOS4_SETUP_SDHCI
148 help
149 Machine support for Samsung SMDKV310
150
ALIM AKHTARaf6ec5a2011-03-04 15:24:23 +0900151config MACH_ARMLEX4210
152 bool "ARMLEX4210"
153 select CPU_EXYNOS4210
154 select S3C_DEV_RTC
155 select S3C_DEV_WDT
156 select S3C_DEV_HSMMC
157 select S3C_DEV_HSMMC2
158 select S3C_DEV_HSMMC3
Kukjin Kim94fc1d82011-03-25 10:46:16 +0900159 select EXYNOS4_DEV_AHCI
ALIM AKHTARaf6ec5a2011-03-04 15:24:23 +0900160 select EXYNOS4_DEV_SYSMMU
161 select EXYNOS4_SETUP_SDHCI
162 help
163 Machine support for Samsung ARMLEX4210 based on EXYNOS4210
164
Kukjin Kim10606aa2011-02-14 15:05:27 +0900165config MACH_UNIVERSAL_C210
166 bool "Mobile UNIVERSAL_C210 Board"
167 select CPU_EXYNOS4210
Marek Szyprowskib908af42011-06-22 13:43:39 +0900168 select S5P_GPIO_INT
Marek Szyprowskiedd967b2011-06-22 13:43:39 +0900169 select S5P_DEV_FIMC0
170 select S5P_DEV_FIMC1
171 select S5P_DEV_FIMC2
172 select S5P_DEV_FIMC3
Kukjin Kim10606aa2011-02-14 15:05:27 +0900173 select S3C_DEV_HSMMC
174 select S3C_DEV_HSMMC2
175 select S3C_DEV_HSMMC3
176 select S3C_DEV_I2C1
Marek Szyprowski0b398b62011-06-22 13:43:39 +0900177 select S3C_DEV_I2C3
Marek Szyprowski4d838ec2011-03-04 10:19:52 +0900178 select S3C_DEV_I2C5
Kamil Debskib14f04d2011-07-21 16:43:20 +0900179 select S5P_DEV_MFC
Kukjin Kim10606aa2011-02-14 15:05:27 +0900180 select S5P_DEV_ONENAND
Kamil Debskib14f04d2011-07-21 16:43:20 +0900181 select EXYNOS4_DEV_PD
Kukjin Kim10606aa2011-02-14 15:05:27 +0900182 select EXYNOS4_SETUP_I2C1
Marek Szyprowski0b398b62011-06-22 13:43:39 +0900183 select EXYNOS4_SETUP_I2C3
Marek Szyprowski4d838ec2011-03-04 10:19:52 +0900184 select EXYNOS4_SETUP_I2C5
Kukjin Kim10606aa2011-02-14 15:05:27 +0900185 select EXYNOS4_SETUP_SDHCI
186 help
187 Machine support for Samsung Mobile Universal S5PC210 Reference
188 Board.
189
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900190config MACH_NURI
191 bool "Mobile NURI Board"
192 select CPU_EXYNOS4210
193 select S3C_DEV_WDT
194 select S3C_DEV_HSMMC
195 select S3C_DEV_HSMMC2
196 select S3C_DEV_HSMMC3
197 select S3C_DEV_I2C1
Joonyoung Shim3260ecd2011-03-23 15:25:14 +0900198 select S3C_DEV_I2C3
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900199 select S3C_DEV_I2C5
Marek Szyprowski4c0f0a32011-07-21 16:43:25 +0900200 select S5P_DEV_MFC
Joonyoung Shim01da92f2011-04-08 13:22:11 +0900201 select S5P_DEV_USB_EHCI
Marek Szyprowski4c0f0a32011-07-21 16:43:25 +0900202 select EXYNOS4_DEV_PD
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900203 select EXYNOS4_SETUP_I2C1
Joonyoung Shim3260ecd2011-03-23 15:25:14 +0900204 select EXYNOS4_SETUP_I2C3
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900205 select EXYNOS4_SETUP_I2C5
206 select EXYNOS4_SETUP_SDHCI
Tushar Beheraf8d8e122011-06-03 12:34:14 +0530207 select EXYNOS4_SETUP_USB_PHY
Donghwa Leecc7df872011-03-08 07:17:09 +0900208 select SAMSUNG_DEV_PWM
MyungJoo Ham0e9e5262011-07-20 21:08:18 +0900209 select SAMSUNG_DEV_ADC
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900210 help
211 Machine support for Samsung Mobile NURI Board.
212
Kukjin Kimbe4ab362011-08-24 17:25:09 +0900213comment "EXYNOS4212 Boards"
214
215config MACH_SMDK4212
216 bool "SMDK4212"
217 select SOC_EXYNOS4212
218 select S3C_DEV_HSMMC2
219 select S3C_DEV_HSMMC3
220 select S3C_DEV_I2C1
221 select S3C_DEV_I2C3
222 select S3C_DEV_I2C7
223 select S3C_DEV_RTC
224 select S3C_DEV_WDT
225 select SAMSUNG_DEV_BACKLIGHT
226 select SAMSUNG_DEV_KEYPAD
227 select SAMSUNG_DEV_PWM
228 select EXYNOS4_SETUP_I2C1
229 select EXYNOS4_SETUP_I2C3
230 select EXYNOS4_SETUP_I2C7
231 select EXYNOS4_SETUP_KEYPAD
232 select EXYNOS4_SETUP_SDHCI
233 help
234 Machine support for Samsung SMDK4212
235
Kukjin Kim10606aa2011-02-14 15:05:27 +0900236endmenu
237
238comment "Configuration for HSMMC bus width"
239
240menu "Use 8-bit bus width"
241
242config EXYNOS4_SDHCI_CH0_8BIT
243 bool "Channel 0 with 8-bit bus"
244 help
245 Support HSMMC Channel 0 8-bit bus.
246 If selected, Channel 1 is disabled.
247
248config EXYNOS4_SDHCI_CH2_8BIT
249 bool "Channel 2 with 8-bit bus"
250 help
251 Support HSMMC Channel 2 8-bit bus.
252 If selected, Channel 3 is disabled.
253
254endmenu
255
256endif