blob: 6fc17228a636ddc8086374c4644686cae2aab96f [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
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
142 select S3C_DEV_HSMMC
143 select S3C_DEV_HSMMC1
144 select S3C_DEV_HSMMC2
145 select S3C_DEV_HSMMC3
Banajit Goswami8689de72011-07-20 23:45:21 +0900146 select SAMSUNG_DEV_BACKLIGHT
Inderpal Singh0d855f42011-07-04 19:19:36 +0900147 select EXYNOS4_DEV_AHCI
Naveen Krishna Chbe4c33b2011-02-22 17:16:58 +0900148 select SAMSUNG_DEV_KEYPAD
Kukjin Kim10606aa2011-02-14 15:05:27 +0900149 select EXYNOS4_DEV_PD
Banajit Goswami8689de72011-07-20 23:45:21 +0900150 select SAMSUNG_DEV_PWM
Kukjin Kim10606aa2011-02-14 15:05:27 +0900151 select EXYNOS4_DEV_SYSMMU
Jonghun Hane61b1702011-07-21 15:46:26 +0900152 select EXYNOS4_SETUP_FIMD0
Kukjin Kim10606aa2011-02-14 15:05:27 +0900153 select EXYNOS4_SETUP_I2C1
Naveen Krishna Chbe4c33b2011-02-22 17:16:58 +0900154 select EXYNOS4_SETUP_KEYPAD
Kukjin Kim10606aa2011-02-14 15:05:27 +0900155 select EXYNOS4_SETUP_SDHCI
156 help
157 Machine support for Samsung SMDKV310
158
ALIM AKHTARaf6ec5a2011-03-04 15:24:23 +0900159config MACH_ARMLEX4210
160 bool "ARMLEX4210"
161 select CPU_EXYNOS4210
162 select S3C_DEV_RTC
163 select S3C_DEV_WDT
164 select S3C_DEV_HSMMC
165 select S3C_DEV_HSMMC2
166 select S3C_DEV_HSMMC3
Kukjin Kim94fc1d82011-03-25 10:46:16 +0900167 select EXYNOS4_DEV_AHCI
ALIM AKHTARaf6ec5a2011-03-04 15:24:23 +0900168 select EXYNOS4_DEV_SYSMMU
169 select EXYNOS4_SETUP_SDHCI
170 help
171 Machine support for Samsung ARMLEX4210 based on EXYNOS4210
172
Kukjin Kim10606aa2011-02-14 15:05:27 +0900173config MACH_UNIVERSAL_C210
174 bool "Mobile UNIVERSAL_C210 Board"
175 select CPU_EXYNOS4210
Marek Szyprowskib908af42011-06-22 13:43:39 +0900176 select S5P_GPIO_INT
Marek Szyprowskiedd967b2011-06-22 13:43:39 +0900177 select S5P_DEV_FIMC0
178 select S5P_DEV_FIMC1
179 select S5P_DEV_FIMC2
180 select S5P_DEV_FIMC3
Kukjin Kim10606aa2011-02-14 15:05:27 +0900181 select S3C_DEV_HSMMC
182 select S3C_DEV_HSMMC2
183 select S3C_DEV_HSMMC3
184 select S3C_DEV_I2C1
Marek Szyprowski0b398b62011-06-22 13:43:39 +0900185 select S3C_DEV_I2C3
Marek Szyprowski4d838ec2011-03-04 10:19:52 +0900186 select S3C_DEV_I2C5
Kamil Debskib14f04d2011-07-21 16:43:20 +0900187 select S5P_DEV_MFC
Kukjin Kim10606aa2011-02-14 15:05:27 +0900188 select S5P_DEV_ONENAND
Kamil Debskib14f04d2011-07-21 16:43:20 +0900189 select EXYNOS4_DEV_PD
Kukjin Kim10606aa2011-02-14 15:05:27 +0900190 select EXYNOS4_SETUP_I2C1
Marek Szyprowski0b398b62011-06-22 13:43:39 +0900191 select EXYNOS4_SETUP_I2C3
Marek Szyprowski4d838ec2011-03-04 10:19:52 +0900192 select EXYNOS4_SETUP_I2C5
Kukjin Kim10606aa2011-02-14 15:05:27 +0900193 select EXYNOS4_SETUP_SDHCI
194 help
195 Machine support for Samsung Mobile Universal S5PC210 Reference
196 Board.
197
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900198config MACH_NURI
199 bool "Mobile NURI Board"
200 select CPU_EXYNOS4210
201 select S3C_DEV_WDT
202 select S3C_DEV_HSMMC
203 select S3C_DEV_HSMMC2
204 select S3C_DEV_HSMMC3
205 select S3C_DEV_I2C1
Joonyoung Shim3260ecd2011-03-23 15:25:14 +0900206 select S3C_DEV_I2C3
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900207 select S3C_DEV_I2C5
Marek Szyprowski4c0f0a32011-07-21 16:43:25 +0900208 select S5P_DEV_MFC
Joonyoung Shim01da92f2011-04-08 13:22:11 +0900209 select S5P_DEV_USB_EHCI
Marek Szyprowski4c0f0a32011-07-21 16:43:25 +0900210 select EXYNOS4_DEV_PD
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900211 select EXYNOS4_SETUP_I2C1
Joonyoung Shim3260ecd2011-03-23 15:25:14 +0900212 select EXYNOS4_SETUP_I2C3
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900213 select EXYNOS4_SETUP_I2C5
214 select EXYNOS4_SETUP_SDHCI
Tushar Beheraf8d8e122011-06-03 12:34:14 +0530215 select EXYNOS4_SETUP_USB_PHY
Donghwa Leecc7df872011-03-08 07:17:09 +0900216 select SAMSUNG_DEV_PWM
MyungJoo Ham0e9e5262011-07-20 21:08:18 +0900217 select SAMSUNG_DEV_ADC
Minkyu Kangcaf8b1f22011-02-28 20:39:43 +0900218 help
219 Machine support for Samsung Mobile NURI Board.
220
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900221config MACH_ORIGEN
222 bool "ORIGEN"
223 select CPU_EXYNOS4210
224 select S3C_DEV_RTC
225 select S3C_DEV_WDT
Tushar Beheracf1dad92011-08-31 16:57:37 +0900226 select S3C_DEV_HSMMC
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900227 select S3C_DEV_HSMMC2
Sachin Kamat6f8eb322011-08-31 15:52:27 +0900228 select S5P_DEV_FIMC0
229 select S5P_DEV_FIMC1
230 select S5P_DEV_FIMC2
231 select S5P_DEV_FIMC3
Tushar Behera9421a762011-10-03 09:12:56 +0900232 select S5P_DEV_FIMD0
Sachin Kamat6ca3f8b2011-09-17 11:42:43 +0900233 select S5P_DEV_I2C_HDMIPHY
Sachin Kamat6ca3f8b2011-09-17 11:42:43 +0900234 select S5P_DEV_TV
Tushar Behera9421a762011-10-03 09:12:56 +0900235 select S5P_DEV_USB_EHCI
236 select EXYNOS4_DEV_PD
Giridhar Maruthy9edff0f2011-08-31 15:58:52 +0900237 select SAMSUNG_DEV_BACKLIGHT
238 select SAMSUNG_DEV_PWM
Tushar Behera9421a762011-10-03 09:12:56 +0900239 select EXYNOS4_SETUP_FIMD0
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900240 select EXYNOS4_SETUP_SDHCI
Sachin Kamat24f9e1f2011-08-31 15:47:16 +0900241 select EXYNOS4_SETUP_USB_PHY
JeongHyeon Kim699efdd2011-07-21 16:19:19 +0900242 help
243 Machine support for ORIGEN based on Samsung EXYNOS4210
244
Kukjin Kim10606aa2011-02-14 15:05:27 +0900245endmenu
246
247comment "Configuration for HSMMC bus width"
248
249menu "Use 8-bit bus width"
250
251config EXYNOS4_SDHCI_CH0_8BIT
252 bool "Channel 0 with 8-bit bus"
253 help
254 Support HSMMC Channel 0 8-bit bus.
255 If selected, Channel 1 is disabled.
256
257config EXYNOS4_SDHCI_CH2_8BIT
258 bool "Channel 2 with 8-bit bus"
259 help
260 Support HSMMC Channel 2 8-bit bus.
261 If selected, Channel 3 is disabled.
262
263endmenu
264
265endif