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 # platform specific device setup
39 config S3C64XX_SETUP_I2C0
43 Common setup code for i2c bus 0.
45 Note, currently since i2c0 is always compiled, this setup helper
46 is always compiled with it.
48 config S3C64XX_SETUP_I2C1
51 Common setup code for i2c bus 1.
53 config S3C64XX_SETUP_IDE
56 Common setup code for S3C64XX IDE.
58 config S3C64XX_SETUP_FB_24BPP
61 Common setup code for S3C64XX with an 24bpp RGB display helper.
63 config S3C64XX_SETUP_KEYPAD
66 Common setup code for S3C64XX KEYPAD GPIO configurations
68 config S3C64XX_SETUP_SDHCI_GPIO
71 Common setup code for S3C64XX SDHCI GPIO configurations
73 config S3C64XX_SETUP_SPI
76 Common setup code for SPI GPIO configurations
78 config S3C64XX_SETUP_USB_PHY
81 Common setup code for USB PHY controller
83 # S36400 Macchine support
88 select S3C64XX_SETUP_SDHCI
91 Machine support for the Samsung SMDK6400
93 # S3C6410 machine support
98 select S3C64XX_SETUP_FB_24BPP
101 Machine support for the A&W6410
106 select S3C64XX_SETUP_FB_24BPP
107 select S3C64XX_SETUP_SDHCI
110 select S3C_DEV_HSMMC1
112 select S3C_DEV_USB_HOST
113 select SAMSUNG_DEV_ADC
114 select SAMSUNG_DEV_TS
116 Machine support for the FriendlyARM MINI6410
121 select S3C64XX_SETUP_FB_24BPP
122 select S3C64XX_SETUP_SDHCI
125 select S3C_DEV_HSMMC1
127 select S3C_DEV_USB_HOST
128 select SAMSUNG_DEV_ADC
129 select SAMSUNG_DEV_TS
131 Machine support for the CoreWind REAL6410
136 select HAVE_S3C2410_WATCHDOG if WATCHDOG
137 select S3C64XX_SETUP_FB_24BPP
138 select S3C64XX_SETUP_I2C1
139 select S3C64XX_SETUP_IDE
140 select S3C64XX_SETUP_KEYPAD
141 select S3C64XX_SETUP_SDHCI
142 select S3C64XX_SETUP_USB_PHY
145 select S3C_DEV_HSMMC1
148 select S3C_DEV_USB_HOST
149 select S3C_DEV_USB_HSOTG
151 select SAMSUNG_DEV_ADC
152 select SAMSUNG_DEV_BACKLIGHT
153 select SAMSUNG_DEV_IDE
154 select SAMSUNG_DEV_KEYPAD
155 select SAMSUNG_DEV_PWM
156 select SAMSUNG_DEV_TS
158 Machine support for the Samsung SMDK6410
160 # At least some of the SMDK6410s were shipped with the card detect
161 # for the MMC/SD slots connected to the same input. This means that
162 # either the boards need to be altered to have channel0 to an alternate
163 # configuration or that only one slot can be used.
166 prompt "SMDK6410 MMC/SD slot setup"
167 depends on MACH_SMDK6410
169 config SMDK6410_SD_CH0
170 bool "Use channel 0 only"
171 depends on MACH_SMDK6410
173 Select CON7 (channel 0) as the MMC/SD slot, as
174 at least some SMDK6410 boards come with the
175 resistors fitted so that the card detects for
176 channels 0 and 1 are the same.
178 config SMDK6410_SD_CH1
179 bool "Use channel 1 only"
180 depends on MACH_SMDK6410
182 Select CON6 (channel 1) as the MMC/SD slot, as
183 at least some SMDK6410 boards come with the
184 resistors fitted so that the card detects for
185 channels 0 and 1 are the same.
189 config SMDK6410_WM1190_EV1
190 bool "Support Wolfson Microelectronics 1190-EV1 PMIC card"
191 depends on MACH_SMDK6410
192 select MFD_WM8350_I2C
194 select REGULATOR_WM8350
196 The Wolfson Microelectronics 1190-EV1 is a WM835x based PMIC
197 and audio daughtercard for the Samsung SMDK6410 reference
198 platform. Enabling this option will build support for this
199 module into the kernel. The presence of the module will be
200 detected at runtime so the resulting kernel can be used
201 with or without the 1190-EV1 fitted.
203 config SMDK6410_WM1192_EV1
204 bool "Support Wolfson Microelectronics 1192-EV1 PMIC card"
205 depends on MACH_SMDK6410
207 select MFD_WM831X_I2C
209 select REGULATOR_WM831X
211 The Wolfson Microelectronics 1192-EV1 is a WM831x based PMIC
212 daughtercard for the Samsung SMDK6410 reference platform.
213 Enabling this option will build support for this module into
214 the kernel. The presence of the daughtercard will be
215 detected at runtime so the resulting kernel can be used
216 with or without the 1192-EV1 fitted.
221 select S3C64XX_SETUP_I2C1
222 select S3C_DEV_HSMMC1
225 Machine support for the Samsung NCP
230 select S3C64XX_SETUP_FB_24BPP
233 select S3C_DEV_USB_HOST
234 select SAMSUNG_DEV_PWM
236 Machine support for the Airgoo HMT
241 select S3C64XX_SETUP_FB_24BPP
242 select S3C64XX_SETUP_SDHCI
243 select S3C64XX_SETUP_USB_PHY
246 select S3C_DEV_HSMMC1
247 select S3C_DEV_HSMMC2
250 select S3C_DEV_USB_HOST
251 select S3C_DEV_USB_HSOTG
252 select SAMSUNG_DEV_ADC
253 select SAMSUNG_DEV_PWM
254 select SAMSUNG_DEV_TS
256 Shared machine support for SmartQ 5/7
262 Machine support for the SmartQ 5
268 Machine support for the SmartQ 7
270 config MACH_WLF_CRAGG_6410
271 bool "Wolfson Cragganmore 6410"
274 select LEDS_GPIO_REGISTER
275 select S3C64XX_DEV_SPI0
276 select S3C64XX_SETUP_FB_24BPP
277 select S3C64XX_SETUP_I2C1
278 select S3C64XX_SETUP_IDE
279 select S3C64XX_SETUP_KEYPAD
280 select S3C64XX_SETUP_SDHCI
281 select S3C64XX_SETUP_SPI
282 select S3C64XX_SETUP_USB_PHY
285 select S3C_DEV_HSMMC1
286 select S3C_DEV_HSMMC2
289 select S3C_DEV_USB_HOST
290 select S3C_DEV_USB_HSOTG
292 select SAMSUNG_DEV_ADC
293 select SAMSUNG_DEV_KEYPAD
294 select SAMSUNG_DEV_PWM
296 Machine support for the Wolfson Cragganmore S3C6410 variant.
298 config MACH_S3C64XX_DT
299 bool "Samsung S3C6400/S3C6410 machine using Device Tree"
304 select PINCTRL_S3C64XX
307 Machine support for Samsung S3C6400/S3C6410 machines with Device Tree
309 Select this if a fdt blob is available for your S3C64XX SoC based
311 Note: This is under development and not all peripherals can be
312 supported with this machine file.