blob: c4068fd7b83cbae9cce6d5f93bac42305f2adbdc [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
Boojin Kimbf856fb2011-09-02 09:44:36 +090014 select SAMSUNG_DMADEV
Kukjin Kim10606aa2011-02-14 15:05:27 +090015 help
16 Enable EXYNOS4210 CPU support
17
Changhwan Youn30d8bea2011-03-11 10:39:57 +090018config EXYNOS4_MCT
Changhwan Youn069d4e72011-07-16 10:49:53 +090019 bool
20 default y
Changhwan Youn30d8bea2011-03-11 10:39:57 +090021 help
22 Use MCT (Multi Core Timer) as kernel timers
23
Kukjin Kim94fc1d82011-03-25 10:46:16 +090024config EXYNOS4_DEV_AHCI
25 bool
26 help
27 Compile in platform device definitions for AHCI
28
Jonghun Hane61b1702011-07-21 15:46:26 +090029config EXYNOS4_SETUP_FIMD0
30 bool
31 help
32 Common setup code for FIMD0.
33
Kukjin Kim10606aa2011-02-14 15:05:27 +090034config EXYNOS4_DEV_PD
35 bool
36 help
37 Compile in platform device definitions for Power Domain
38
39config EXYNOS4_DEV_SYSMMU
40 bool
41 help
42 Common setup code for SYSTEM MMU in EXYNOS4
43
Seungwon Jeond7919582011-07-21 00:34:58 +090044config EXYNOS4_DEV_DWMCI
45 bool
46 help
47 Compile in platform device definitions for DWMCI
48
Kukjin Kim10606aa2011-02-14 15:05:27 +090049config EXYNOS4_SETUP_I2C1
50 bool
51 help
52 Common setup code for i2c bus 1.
53
54config EXYNOS4_SETUP_I2C2
55 bool
56 help
57 Common setup code for i2c bus 2.
58
59config EXYNOS4_SETUP_I2C3
60 bool
61 help
62 Common setup code for i2c bus 3.
63
64config EXYNOS4_SETUP_I2C4
65 bool
66 help
67 Common setup code for i2c bus 4.
68
69config EXYNOS4_SETUP_I2C5
70 bool
71 help
72 Common setup code for i2c bus 5.
73
74config EXYNOS4_SETUP_I2C6
75 bool
76 help
77 Common setup code for i2c bus 6.
78
79config EXYNOS4_SETUP_I2C7
80 bool
81 help
82 Common setup code for i2c bus 7.
83
Naveen Krishna Ch8e97fb72011-03-05 09:44:09 +090084config EXYNOS4_SETUP_KEYPAD
85 bool
86 help
87 Common setup code for keypad.
88
Kukjin Kim10606aa2011-02-14 15:05:27 +090089config EXYNOS4_SETUP_SDHCI
90 bool
91 select EXYNOS4_SETUP_SDHCI_GPIO
92 help
93 Internal helper functions for EXYNOS4 based SDHCI systems.
94
95config EXYNOS4_SETUP_SDHCI_GPIO
96 bool
97 help
98 Common setup code for SDHCI gpio.
99
Sylwester Nawrocki0048a1732011-03-10 21:49:31 +0900100config EXYNOS4_SETUP_FIMC
101 bool
102 help
103 Common setup code for the camera interfaces.
104
Tushar Beheraf8d8e122011-06-03 12:34:14 +0530105config EXYNOS4_SETUP_USB_PHY
106 bool
107 help
108 Common setup code for USB PHY controller
109
Kukjin Kim10606aa2011-02-14 15:05:27 +0900110# machine support
111
112menu "EXYNOS4 Machines"
113
114config MACH_SMDKC210
115 bool "SMDKC210"
116 select CPU_EXYNOS4210
Jonghun Hane61b1702011-07-21 15:46:26 +0900117 select S5P_DEV_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900118 select S3C_DEV_RTC
119 select S3C_DEV_WDT
120 select S3C_DEV_I2C1
121 select S3C_DEV_HSMMC
122 select S3C_DEV_HSMMC1
123 select S3C_DEV_HSMMC2
124 select S3C_DEV_HSMMC3
Banajit Goswamifef469f2011-07-20 23:45:21 +0900125 select SAMSUNG_DEV_PWM
126 select SAMSUNG_DEV_BACKLIGHT
Kukjin Kim10606aa2011-02-14 15:05:27 +0900127 select EXYNOS4_DEV_PD
128 select EXYNOS4_DEV_SYSMMU
Jonghun Hane61b1702011-07-21 15:46:26 +0900129 select EXYNOS4_SETUP_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900130 select EXYNOS4_SETUP_I2C1
131 select EXYNOS4_SETUP_SDHCI
132 help
133 Machine support for Samsung SMDKC210
134
135config MACH_SMDKV310
136 bool "SMDKV310"
137 select CPU_EXYNOS4210
Jonghun Hane61b1702011-07-21 15:46:26 +0900138 select S5P_DEV_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900139 select S3C_DEV_RTC
140 select S3C_DEV_WDT
141 select S3C_DEV_I2C1
Hatim Alic0735c82011-09-27 07:37:18 +0900142 select S5P_DEV_I2C_HDMIPHY
Sachin Kamat95727e12011-08-12 18:21:27 +0900143 select S5P_DEV_MFC
Hatim Alic0735c82011-09-27 07:37:18 +0900144 select S5P_DEV_TV
Jingoo Han9830f6a2011-09-28 10:33:25 +0900145 select S5P_DEV_USB_EHCI
Kukjin Kim10606aa2011-02-14 15:05:27 +0900146 select S3C_DEV_HSMMC
147 select S3C_DEV_HSMMC1
148 select S3C_DEV_HSMMC2
149 select S3C_DEV_HSMMC3
Banajit Goswami8689de72011-07-20 23:45:21 +0900150 select SAMSUNG_DEV_BACKLIGHT
Inderpal Singh0d855f42011-07-04 19:19:36 +0900151 select EXYNOS4_DEV_AHCI
Naveen Krishna Chbe4c33b2011-02-22 17:16:58 +0900152 select SAMSUNG_DEV_KEYPAD
Kukjin Kim10606aa2011-02-14 15:05:27 +0900153 select EXYNOS4_DEV_PD
Banajit Goswami8689de72011-07-20 23:45:21 +0900154 select SAMSUNG_DEV_PWM
Kukjin Kim10606aa2011-02-14 15:05:27 +0900155 select EXYNOS4_DEV_SYSMMU
Jonghun Hane61b1702011-07-21 15:46:26 +0900156 select EXYNOS4_SETUP_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900157 select EXYNOS4_SETUP_I2C1
Naveen Krishna Chbe4c33b2011-02-22 17:16:58 +0900158 select EXYNOS4_SETUP_KEYPAD
Kukjin Kim10606aa2011-02-14 15:05:27 +0900159 select EXYNOS4_SETUP_SDHCI
Jingoo Han9830f6a2011-09-28 10:33:25 +0900160 select EXYNOS4_SETUP_USB_PHY
Kukjin Kim10606aa2011-02-14 15:05:27 +0900161 help
162 Machine support for Samsung SMDKV310
163
ALIM AKHTARaf6ec5a2011-03-04 15:24:23 +0900164config MACH_ARMLEX4210
165 bool "ARMLEX4210"
166 select CPU_EXYNOS4210
167 select S3C_DEV_RTC
168 select S3C_DEV_WDT
169 select S3C_DEV_HSMMC
170 select S3C_DEV_HSMMC2
171 select S3C_DEV_HSMMC3
Kukjin Kim94fc1d82011-03-25 10:46:16 +0900172 select EXYNOS4_DEV_AHCI
ALIM AKHTARaf6ec5a2011-03-04 15:24:23 +0900173 select EXYNOS4_DEV_SYSMMU
174 select EXYNOS4_SETUP_SDHCI
175 help
176 Machine support for Samsung ARMLEX4210 based on EXYNOS4210
177
Kukjin Kim10606aa2011-02-14 15:05:27 +0900178config MACH_UNIVERSAL_C210
179 bool "Mobile UNIVERSAL_C210 Board"
180 select CPU_EXYNOS4210
Marek Szyprowskib908af42011-06-22 13:43:39 +0900181 select S5P_GPIO_INT
Marek Szyprowskiedd967b2011-06-22 13:43:39 +0900182 select S5P_DEV_FIMC0
183 select S5P_DEV_FIMC1
184 select S5P_DEV_FIMC2
185 select S5P_DEV_FIMC3
Sylwester Nawrocki05132182011-09-27 07:18:55 +0900186 select S5P_DEV_CSIS0
Marek Szyprowskif3f5bfe2011-08-11 19:55:40 +0900187 select S5P_DEV_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900188 select S3C_DEV_HSMMC
189 select S3C_DEV_HSMMC2
190 select S3C_DEV_HSMMC3
191 select S3C_DEV_I2C1
Marek Szyprowski0b398b62011-06-22 13:43:39 +0900192 select S3C_DEV_I2C3
Marek Szyprowski4d838ec2011-03-04 10:19:52 +0900193 select S3C_DEV_I2C5
Tomasz Stanislawskid737cf22011-09-16 18:48:32 +0900194 select S5P_DEV_I2C_HDMIPHY
Kamil Debskib14f04d2011-07-21 16:43:20 +0900195 select S5P_DEV_MFC
Kukjin Kim10606aa2011-02-14 15:05:27 +0900196 select S5P_DEV_ONENAND
Tomasz Stanislawskid737cf22011-09-16 18:48:32 +0900197 select S5P_DEV_TV
Kamil Debskib14f04d2011-07-21 16:43:20 +0900198 select EXYNOS4_DEV_PD
Marek Szyprowskif3f5bfe2011-08-11 19:55:40 +0900199 select EXYNOS4_SETUP_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900200 select EXYNOS4_SETUP_I2C1
Marek Szyprowski0b398b62011-06-22 13:43:39 +0900201 select EXYNOS4_SETUP_I2C3
Marek Szyprowski4d838ec2011-03-04 10:19:52 +0900202 select EXYNOS4_SETUP_I2C5
Kukjin Kim10606aa2011-02-14 15:05:27 +0900203 select EXYNOS4_SETUP_SDHCI
Sylwester Nawrocki05132182011-09-27 07:18:55 +0900204 select EXYNOS4_SETUP_FIMC
205 select S5P_SETUP_MIPIPHY
Kukjin Kim10606aa2011-02-14 15:05:27 +0900206 help
207 Machine support for Samsung Mobile Universal S5PC210 Reference
208 Board.
209
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900210config MACH_NURI
211 bool "Mobile NURI Board"
212 select CPU_EXYNOS4210
213 select S3C_DEV_WDT
Chanwoo Choi41c308f2011-08-12 17:14:56 +0900214 select S3C_DEV_RTC
Marek Szyprowski0d88f942011-08-11 19:57:28 +0900215 select S5P_DEV_FIMD0
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900216 select S3C_DEV_HSMMC
217 select S3C_DEV_HSMMC2
218 select S3C_DEV_HSMMC3
219 select S3C_DEV_I2C1
Joonyoung Shim3260ecd2011-03-23 15:25:14 +0900220 select S3C_DEV_I2C3
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900221 select S3C_DEV_I2C5
Marek Szyprowski4c0f0a32011-07-21 16:43:25 +0900222 select S5P_DEV_MFC
Joonyoung Shim01da92f2011-04-08 13:22:11 +0900223 select S5P_DEV_USB_EHCI
Marek Szyprowski4c0f0a32011-07-21 16:43:25 +0900224 select EXYNOS4_DEV_PD
Marek Szyprowski0d88f942011-08-11 19:57:28 +0900225 select EXYNOS4_SETUP_FIMD0
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900226 select EXYNOS4_SETUP_I2C1
Joonyoung Shim3260ecd2011-03-23 15:25:14 +0900227 select EXYNOS4_SETUP_I2C3
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900228 select EXYNOS4_SETUP_I2C5
229 select EXYNOS4_SETUP_SDHCI
Tushar Beheraf8d8e122011-06-03 12:34:14 +0530230 select EXYNOS4_SETUP_USB_PHY
Donghwa Leecc7df872011-03-08 07:17:09 +0900231 select SAMSUNG_DEV_PWM
MyungJoo Ham0e9e5262011-07-20 21:08:18 +0900232 select SAMSUNG_DEV_ADC
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900233 help
234 Machine support for Samsung Mobile NURI Board.
235
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900236config MACH_ORIGEN
237 bool "ORIGEN"
238 select CPU_EXYNOS4210
239 select S3C_DEV_RTC
240 select S3C_DEV_WDT
Tushar Beheracf1dad92011-08-31 16:57:37 +0900241 select S3C_DEV_HSMMC
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900242 select S3C_DEV_HSMMC2
Sachin Kamat6f8eb322011-08-31 15:52:27 +0900243 select S5P_DEV_FIMC0
244 select S5P_DEV_FIMC1
245 select S5P_DEV_FIMC2
246 select S5P_DEV_FIMC3
Tushar Behera9421a762011-10-03 09:12:56 +0900247 select S5P_DEV_FIMD0
Sachin Kamat6ca3f8b2011-09-17 11:42:43 +0900248 select S5P_DEV_I2C_HDMIPHY
Sachin Kamat6ca3f8b2011-09-17 11:42:43 +0900249 select S5P_DEV_TV
Tushar Behera9421a762011-10-03 09:12:56 +0900250 select S5P_DEV_USB_EHCI
251 select EXYNOS4_DEV_PD
Giridhar Maruthy9edff0f2011-08-31 15:58:52 +0900252 select SAMSUNG_DEV_BACKLIGHT
253 select SAMSUNG_DEV_PWM
Tushar Behera9421a762011-10-03 09:12:56 +0900254 select EXYNOS4_SETUP_FIMD0
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900255 select EXYNOS4_SETUP_SDHCI
Sachin Kamat24f9e1f2011-08-31 15:47:16 +0900256 select EXYNOS4_SETUP_USB_PHY
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900257 help
258 Machine support for ORIGEN based on Samsung EXYNOS4210
259
Kukjin Kim10606aa2011-02-14 15:05:27 +0900260endmenu
261
262comment "Configuration for HSMMC bus width"
263
264menu "Use 8-bit bus width"
265
266config EXYNOS4_SDHCI_CH0_8BIT
267 bool "Channel 0 with 8-bit bus"
268 help
269 Support HSMMC Channel 0 8-bit bus.
270 If selected, Channel 1 is disabled.
271
272config EXYNOS4_SDHCI_CH2_8BIT
273 bool "Channel 2 with 8-bit bus"
274 help
275 Support HSMMC Channel 2 8-bit bus.
276 If selected, Channel 3 is disabled.
277
278endmenu
279
280endif