1 # Copyright 2008 Openmoko, Inc.
2 # Simtec Electronics, Ben Dooks <ben@simtec.co.uk>
8 # Configuration options for the S3C6410 CPU
13 Enable S3C6400 CPU support
18 Enable S3C6410 CPU support
25 config S3C64XX_SETUP_SDHCI
27 select S3C64XX_SETUP_SDHCI_GPIO
29 Internal configuration for default SDHCI setup for S3C6400 and
32 config S3C64XX_DEV_ONENAND1
35 Compile in platform device definition for OneNAND1 controller
37 config SAMSUNG_DEV_BACKLIGHT
39 depends on SAMSUNG_DEV_PWM
41 Compile in platform device definition LCD backlight with PWM Timer
43 # platform specific device setup
45 config S3C64XX_SETUP_I2C0
49 Common setup code for i2c bus 0.
51 Note, currently since i2c0 is always compiled, this setup helper
52 is always compiled with it.
54 config S3C64XX_SETUP_I2C1
57 Common setup code for i2c bus 1.
59 config S3C64XX_SETUP_IDE
62 Common setup code for S3C64XX IDE.
64 config S3C64XX_SETUP_FB_24BPP
67 Common setup code for S3C64XX with an 24bpp RGB display helper.
69 config S3C64XX_SETUP_KEYPAD
72 Common setup code for S3C64XX KEYPAD GPIO configurations
74 config S3C64XX_SETUP_SDHCI_GPIO
77 Common setup code for S3C64XX SDHCI GPIO configurations
79 config S3C64XX_SETUP_SPI
82 Common setup code for SPI GPIO configurations
84 config S3C64XX_SETUP_USB_PHY
87 Common setup code for USB PHY controller
89 # S36400 Macchine support
94 select S3C64XX_SETUP_SDHCI
97 Machine support for the Samsung SMDK6400
99 # S3C6410 machine support
104 select S3C64XX_SETUP_FB_24BPP
107 Machine support for the A&W6410
112 select S3C64XX_SETUP_FB_24BPP
113 select S3C64XX_SETUP_SDHCI
116 select S3C_DEV_HSMMC1
118 select S3C_DEV_USB_HOST
119 select SAMSUNG_DEV_ADC
120 select SAMSUNG_DEV_TS
122 Machine support for the FriendlyARM MINI6410
127 select S3C64XX_SETUP_FB_24BPP
128 select S3C64XX_SETUP_SDHCI
131 select S3C_DEV_HSMMC1
133 select S3C_DEV_USB_HOST
134 select SAMSUNG_DEV_ADC
135 select SAMSUNG_DEV_TS
137 Machine support for the CoreWind REAL6410
142 select HAVE_S3C2410_WATCHDOG if WATCHDOG
143 select S3C64XX_SETUP_FB_24BPP
144 select S3C64XX_SETUP_I2C1
145 select S3C64XX_SETUP_IDE
146 select S3C64XX_SETUP_KEYPAD
147 select S3C64XX_SETUP_SDHCI
148 select S3C64XX_SETUP_USB_PHY
151 select S3C_DEV_HSMMC1
154 select S3C_DEV_USB_HOST
155 select S3C_DEV_USB_HSOTG
157 select SAMSUNG_DEV_ADC
158 select SAMSUNG_DEV_BACKLIGHT
159 select SAMSUNG_DEV_IDE
160 select SAMSUNG_DEV_KEYPAD
161 select SAMSUNG_DEV_PWM
162 select SAMSUNG_DEV_TS
164 Machine support for the Samsung SMDK6410
166 # At least some of the SMDK6410s were shipped with the card detect
167 # for the MMC/SD slots connected to the same input. This means that
168 # either the boards need to be altered to have channel0 to an alternate
169 # configuration or that only one slot can be used.
172 prompt "SMDK6410 MMC/SD slot setup"
173 depends on MACH_SMDK6410
175 config SMDK6410_SD_CH0
176 bool "Use channel 0 only"
177 depends on MACH_SMDK6410
179 Select CON7 (channel 0) as the MMC/SD slot, as
180 at least some SMDK6410 boards come with the
181 resistors fitted so that the card detects for
182 channels 0 and 1 are the same.
184 config SMDK6410_SD_CH1
185 bool "Use channel 1 only"
186 depends on MACH_SMDK6410
188 Select CON6 (channel 1) as the MMC/SD slot, as
189 at least some SMDK6410 boards come with the
190 resistors fitted so that the card detects for
191 channels 0 and 1 are the same.
195 config SMDK6410_WM1190_EV1
196 bool "Support Wolfson Microelectronics 1190-EV1 PMIC card"
197 depends on MACH_SMDK6410
199 select MFD_WM8350_I2C
201 select REGULATOR_WM8350
203 The Wolfson Microelectronics 1190-EV1 is a WM835x based PMIC
204 and audio daughtercard for the Samsung SMDK6410 reference
205 platform. Enabling this option will build support for this
206 module into the kernel. The presence of the module will be
207 detected at runtime so the resulting kernel can be used
208 with or without the 1190-EV1 fitted.
210 config SMDK6410_WM1192_EV1
211 bool "Support Wolfson Microelectronics 1192-EV1 PMIC card"
212 depends on MACH_SMDK6410
215 select MFD_WM831X_I2C
217 select REGULATOR_WM831X
219 The Wolfson Microelectronics 1192-EV1 is a WM831x based PMIC
220 daughtercard for the Samsung SMDK6410 reference platform.
221 Enabling this option will build support for this module into
222 the kernel. The presence of the daughtercard will be
223 detected at runtime so the resulting kernel can be used
224 with or without the 1192-EV1 fitted.
229 select S3C64XX_SETUP_I2C1
230 select S3C_DEV_HSMMC1
233 Machine support for the Samsung NCP
238 select S3C64XX_SETUP_FB_24BPP
241 select S3C_DEV_USB_HOST
242 select SAMSUNG_DEV_PWM
244 Machine support for the Airgoo HMT
249 select S3C64XX_SETUP_FB_24BPP
250 select S3C64XX_SETUP_SDHCI
251 select S3C64XX_SETUP_USB_PHY
254 select S3C_DEV_HSMMC1
255 select S3C_DEV_HSMMC2
258 select S3C_DEV_USB_HOST
259 select S3C_DEV_USB_HSOTG
260 select SAMSUNG_DEV_ADC
261 select SAMSUNG_DEV_PWM
262 select SAMSUNG_DEV_TS
264 Shared machine support for SmartQ 5/7
270 Machine support for the SmartQ 5
276 Machine support for the SmartQ 7
278 config MACH_WLF_CRAGG_6410
279 bool "Wolfson Cragganmore 6410"
282 select LEDS_GPIO_REGISTER
283 select S3C64XX_DEV_SPI0
284 select S3C64XX_SETUP_FB_24BPP
285 select S3C64XX_SETUP_I2C1
286 select S3C64XX_SETUP_IDE
287 select S3C64XX_SETUP_KEYPAD
288 select S3C64XX_SETUP_SDHCI
289 select S3C64XX_SETUP_SPI
290 select S3C64XX_SETUP_USB_PHY
293 select S3C_DEV_HSMMC1
294 select S3C_DEV_HSMMC2
297 select S3C_DEV_USB_HOST
298 select S3C_DEV_USB_HSOTG
300 select SAMSUNG_DEV_ADC
301 select SAMSUNG_DEV_KEYPAD
302 select SAMSUNG_DEV_PWM
304 Machine support for the Wolfson Cragganmore S3C6410 variant.
306 config MACH_S3C64XX_DT
307 bool "Samsung S3C6400/S3C6410 machine using Device Tree"
312 select PINCTRL_S3C64XX
315 Machine support for Samsung S3C6400/S3C6410 machines with Device Tree
317 Select this if a fdt blob is available for your S3C64XX SoC based
319 Note: This is under development and not all peripherals can be
320 supported with this machine file.