blob: 13fc721f8e9b679e14034bc017aa4cd59bffdfb8 [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 Nawrocki0048a172011-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
Sachin Kamat95727e12011-08-12 18:21:27 +0900142 select S5P_DEV_MFC
Kukjin Kim10606aa2011-02-14 15:05:27 +0900143 select S3C_DEV_HSMMC
144 select S3C_DEV_HSMMC1
145 select S3C_DEV_HSMMC2
146 select S3C_DEV_HSMMC3
Banajit Goswami8689de72011-07-20 23:45:21 +0900147 select SAMSUNG_DEV_BACKLIGHT
Inderpal Singh0d855f42011-07-04 19:19:36 +0900148 select EXYNOS4_DEV_AHCI
Naveen Krishna Chbe4c33b2011-02-22 17:16:58 +0900149 select SAMSUNG_DEV_KEYPAD
Kukjin Kim10606aa2011-02-14 15:05:27 +0900150 select EXYNOS4_DEV_PD
Banajit Goswami8689de72011-07-20 23:45:21 +0900151 select SAMSUNG_DEV_PWM
Kukjin Kim10606aa2011-02-14 15:05:27 +0900152 select EXYNOS4_DEV_SYSMMU
Jonghun Hane61b1702011-07-21 15:46:26 +0900153 select EXYNOS4_SETUP_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900154 select EXYNOS4_SETUP_I2C1
Naveen Krishna Chbe4c33b2011-02-22 17:16:58 +0900155 select EXYNOS4_SETUP_KEYPAD
Kukjin Kim10606aa2011-02-14 15:05:27 +0900156 select EXYNOS4_SETUP_SDHCI
157 help
158 Machine support for Samsung SMDKV310
159
ALIM AKHTARaf6ec5a2011-03-04 15:24:23 +0900160config MACH_ARMLEX4210
161 bool "ARMLEX4210"
162 select CPU_EXYNOS4210
163 select S3C_DEV_RTC
164 select S3C_DEV_WDT
165 select S3C_DEV_HSMMC
166 select S3C_DEV_HSMMC2
167 select S3C_DEV_HSMMC3
Kukjin Kim94fc1d82011-03-25 10:46:16 +0900168 select EXYNOS4_DEV_AHCI
ALIM AKHTARaf6ec5a2011-03-04 15:24:23 +0900169 select EXYNOS4_DEV_SYSMMU
170 select EXYNOS4_SETUP_SDHCI
171 help
172 Machine support for Samsung ARMLEX4210 based on EXYNOS4210
173
Kukjin Kim10606aa2011-02-14 15:05:27 +0900174config MACH_UNIVERSAL_C210
175 bool "Mobile UNIVERSAL_C210 Board"
176 select CPU_EXYNOS4210
Marek Szyprowskib908af42011-06-22 13:43:39 +0900177 select S5P_GPIO_INT
Marek Szyprowskiedd967b2011-06-22 13:43:39 +0900178 select S5P_DEV_FIMC0
179 select S5P_DEV_FIMC1
180 select S5P_DEV_FIMC2
181 select S5P_DEV_FIMC3
Sylwester Nawrocki05132182011-09-27 07:18:55 +0900182 select S5P_DEV_CSIS0
Marek Szyprowskif3f5bfe2011-08-11 19:55:40 +0900183 select S5P_DEV_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900184 select S3C_DEV_HSMMC
185 select S3C_DEV_HSMMC2
186 select S3C_DEV_HSMMC3
187 select S3C_DEV_I2C1
Marek Szyprowski0b398b62011-06-22 13:43:39 +0900188 select S3C_DEV_I2C3
Marek Szyprowski4d838ec2011-03-04 10:19:52 +0900189 select S3C_DEV_I2C5
Tomasz Stanislawskid737cf22011-09-16 18:48:32 +0900190 select S5P_DEV_I2C_HDMIPHY
Kamil Debskib14f04d2011-07-21 16:43:20 +0900191 select S5P_DEV_MFC
Kukjin Kim10606aa2011-02-14 15:05:27 +0900192 select S5P_DEV_ONENAND
Tomasz Stanislawskid737cf22011-09-16 18:48:32 +0900193 select S5P_DEV_TV
Kamil Debskib14f04d2011-07-21 16:43:20 +0900194 select EXYNOS4_DEV_PD
Marek Szyprowskif3f5bfe2011-08-11 19:55:40 +0900195 select EXYNOS4_SETUP_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900196 select EXYNOS4_SETUP_I2C1
Marek Szyprowski0b398b62011-06-22 13:43:39 +0900197 select EXYNOS4_SETUP_I2C3
Marek Szyprowski4d838ec2011-03-04 10:19:52 +0900198 select EXYNOS4_SETUP_I2C5
Kukjin Kim10606aa2011-02-14 15:05:27 +0900199 select EXYNOS4_SETUP_SDHCI
Sylwester Nawrocki05132182011-09-27 07:18:55 +0900200 select EXYNOS4_SETUP_FIMC
201 select S5P_SETUP_MIPIPHY
Kukjin Kim10606aa2011-02-14 15:05:27 +0900202 help
203 Machine support for Samsung Mobile Universal S5PC210 Reference
204 Board.
205
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900206config MACH_NURI
207 bool "Mobile NURI Board"
208 select CPU_EXYNOS4210
209 select S3C_DEV_WDT
Chanwoo Choi41c308f2011-08-12 17:14:56 +0900210 select S3C_DEV_RTC
Marek Szyprowski0d88f942011-08-11 19:57:28 +0900211 select S5P_DEV_FIMD0
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900212 select S3C_DEV_HSMMC
213 select S3C_DEV_HSMMC2
214 select S3C_DEV_HSMMC3
215 select S3C_DEV_I2C1
Joonyoung Shim3260ecd2011-03-23 15:25:14 +0900216 select S3C_DEV_I2C3
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900217 select S3C_DEV_I2C5
Marek Szyprowski4c0f0a32011-07-21 16:43:25 +0900218 select S5P_DEV_MFC
Joonyoung Shim01da92f2011-04-08 13:22:11 +0900219 select S5P_DEV_USB_EHCI
Marek Szyprowski4c0f0a32011-07-21 16:43:25 +0900220 select EXYNOS4_DEV_PD
Marek Szyprowski0d88f942011-08-11 19:57:28 +0900221 select EXYNOS4_SETUP_FIMD0
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900222 select EXYNOS4_SETUP_I2C1
Joonyoung Shim3260ecd2011-03-23 15:25:14 +0900223 select EXYNOS4_SETUP_I2C3
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900224 select EXYNOS4_SETUP_I2C5
225 select EXYNOS4_SETUP_SDHCI
Tushar Beheraf8d8e122011-06-03 12:34:14 +0530226 select EXYNOS4_SETUP_USB_PHY
Donghwa Leecc7df872011-03-08 07:17:09 +0900227 select SAMSUNG_DEV_PWM
MyungJoo Ham0e9e5262011-07-20 21:08:18 +0900228 select SAMSUNG_DEV_ADC
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900229 help
230 Machine support for Samsung Mobile NURI Board.
231
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900232config MACH_ORIGEN
233 bool "ORIGEN"
234 select CPU_EXYNOS4210
235 select S3C_DEV_RTC
236 select S3C_DEV_WDT
Tushar Beheracf1dad92011-08-31 16:57:37 +0900237 select S3C_DEV_HSMMC
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900238 select S3C_DEV_HSMMC2
Sachin Kamat6f8eb322011-08-31 15:52:27 +0900239 select S5P_DEV_FIMC0
240 select S5P_DEV_FIMC1
241 select S5P_DEV_FIMC2
242 select S5P_DEV_FIMC3
Tushar Behera9421a762011-10-03 09:12:56 +0900243 select S5P_DEV_FIMD0
Sachin Kamat6ca3f8b2011-09-17 11:42:43 +0900244 select S5P_DEV_I2C_HDMIPHY
Sachin Kamat6ca3f8b2011-09-17 11:42:43 +0900245 select S5P_DEV_TV
Tushar Behera9421a762011-10-03 09:12:56 +0900246 select S5P_DEV_USB_EHCI
247 select EXYNOS4_DEV_PD
Giridhar Maruthy9edff0f2011-08-31 15:58:52 +0900248 select SAMSUNG_DEV_BACKLIGHT
249 select SAMSUNG_DEV_PWM
Tushar Behera9421a762011-10-03 09:12:56 +0900250 select EXYNOS4_SETUP_FIMD0
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900251 select EXYNOS4_SETUP_SDHCI
Sachin Kamat24f9e1f2011-08-31 15:47:16 +0900252 select EXYNOS4_SETUP_USB_PHY
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900253 help
254 Machine support for ORIGEN based on Samsung EXYNOS4210
255
Kukjin Kim10606aa2011-02-14 15:05:27 +0900256endmenu
257
258comment "Configuration for HSMMC bus width"
259
260menu "Use 8-bit bus width"
261
262config EXYNOS4_SDHCI_CH0_8BIT
263 bool "Channel 0 with 8-bit bus"
264 help
265 Support HSMMC Channel 0 8-bit bus.
266 If selected, Channel 1 is disabled.
267
268config EXYNOS4_SDHCI_CH2_8BIT
269 bool "Channel 2 with 8-bit bus"
270 help
271 Support HSMMC Channel 2 8-bit bus.
272 If selected, Channel 3 is disabled.
273
274endmenu
275
276endif