blob: 162f4561f80f1866181cb79805ee51cf864582ff [file] [log] [blame]
Ben Dooksa08ab632008-10-21 14:06:39 +01001# Copyright 2008 Openmoko, Inc.
2# Copyright 2008 Simtec Electronics
3#
4# Licensed under GPLv2
5
6# Configuration options for the S3C6410 CPU
Ben Dooksd626aee2008-10-21 14:06:50 +01007
8config CPU_S3C6410
9 bool
Ben Dooksaa64ea32008-10-21 14:06:58 +010010 select CPU_S3C6400_INIT
Ben Dookscf18acf2008-10-21 14:07:02 +010011 select CPU_S3C6400_CLOCK
Ben Dooksd626aee2008-10-21 14:06:50 +010012 help
13 Enable S3C6410 CPU support
14
Ben Dooks5cc7fd82008-10-31 16:14:38 +000015config S3C6410_SETUP_SDHCI
16 bool
Ben Dooks4faf68672009-03-25 11:01:24 +000017 select S3C64XX_SETUP_SDHCI_GPIO
Ben Dooks5cc7fd82008-10-31 16:14:38 +000018 help
19 Internal helper functions for S3C6410 based SDHCI systems
20
Kwangwoo Lee1f26a8a2009-04-28 10:35:57 +090021config MACH_ANW6410
22 bool "A&W6410"
23 select CPU_S3C6410
24 select S3C_DEV_FB
25 select S3C64XX_SETUP_FB_24BPP
26 help
27 Machine support for the A&W6410
28
Ben Dooks5718df92008-10-21 14:07:09 +010029config MACH_SMDK6410
30 bool "SMDK6410"
31 select CPU_S3C6410
Ben Dooks5b323c72008-10-31 16:14:28 +000032 select S3C_DEV_HSMMC
Ben Dooksb24636c2008-11-03 20:14:53 +000033 select S3C_DEV_HSMMC1
Ben Dooksd7ea3742008-10-31 16:14:57 +000034 select S3C_DEV_I2C1
Ben Dooks438a5d42008-11-19 15:41:34 +000035 select S3C_DEV_FB
Ben Dooks98fd63b2009-03-06 19:49:49 +000036 select S3C_DEV_USB_HOST
Ben Dooks06fa1d32009-05-16 22:11:20 +010037 select S3C_DEV_USB_HSOTG
Ben Dooks5cc7fd82008-10-31 16:14:38 +000038 select S3C6410_SETUP_SDHCI
Ben Dooksd7ea3742008-10-31 16:14:57 +000039 select S3C64XX_SETUP_I2C1
Ben Dooks438a5d42008-11-19 15:41:34 +000040 select S3C64XX_SETUP_FB_24BPP
Ben Dooks5718df92008-10-21 14:07:09 +010041 help
42 Machine support for the Samsung SMDK6410
Ben Dooksb24636c2008-11-03 20:14:53 +000043
44# At least some of the SMDK6410s were shipped with the card detect
45# for the MMC/SD slots connected to the same input. This means that
46# either the boards need to be altered to have channel0 to an alternate
47# configuration or that only one slot can be used.
48
49choice
50 prompt "SMDK6410 MMC/SD slot setup"
51 depends on MACH_SMDK6410
52
53config SMDK6410_SD_CH0
54 bool "Use channel 0 only"
55 depends on MACH_SMDK6410
56 help
57 Select CON7 (channel 0) as the MMC/SD slot, as
58 at least some SMDK6410 boards come with the
59 resistors fitted so that the card detects for
60 channels 0 and 1 are the same.
61
62config SMDK6410_SD_CH1
63 bool "Use channel 1 only"
64 depends on MACH_SMDK6410
65 help
66 Select CON6 (channel 1) as the MMC/SD slot, as
67 at least some SMDK6410 boards come with the
68 resistors fitted so that the card detects for
69 channels 0 and 1 are the same.
70
71endchoice
Mark Brownecc558a2009-02-17 15:59:38 +000072
73config SMDK6410_WM1190_EV1
74 bool "Support Wolfson Microelectronics 1190-EV1 PMIC card"
75 depends on MACH_SMDK6410
76 select REGULATOR
77 select REGULATOR_WM8350
Mark Brownc7a19782009-11-03 14:42:10 +000078 select S3C24XX_GPIO_EXTRA64
Mark Brownecc558a2009-02-17 15:59:38 +000079 select MFD_WM8350_I2C
80 select MFD_WM8350_CONFIG_MODE_0
81 select MFD_WM8350_CONFIG_MODE_3
82 select MFD_WM8352_CONFIG_MODE_0
83 help
84 The Wolfson Microelectronics 1190-EV1 is a WM835x based PMIC
85 and audio daughtercard for the Samsung SMDK6410 reference
86 platform. Enabling this option will build support for this
87 module into the kernel. The presence of the module will be
88 detected at runtime so the the resulting kernel can be used
89 with or without the 1190-EV1 fitted.
Kyungmin Park87c4122f2009-03-11 11:05:55 +090090
91config MACH_NCP
92 bool "NCP"
93 select CPU_S3C6410
94 select S3C_DEV_I2C1
95 select S3C_DEV_HSMMC1
96 select S3C64XX_SETUP_I2C1
97 help
98 Machine support for the Samsung NCP
Peter Korsgaard2896bda2009-07-01 17:47:09 +020099
100config MACH_HMT
101 bool "Airgoo HMT"
102 select CPU_S3C6410
103 select S3C_DEV_FB
Ben Dooksd23b3512009-09-17 00:01:54 +0100104 select S3C_DEV_NAND
Peter Korsgaard2896bda2009-07-01 17:47:09 +0200105 select S3C_DEV_USB_HOST
106 select S3C64XX_SETUP_FB_24BPP
107 select HAVE_PWM
108 help
109 Machine support for the Airgoo HMT