blob: 551bb3faa3ac6537887a3b2e559d24db5398013e [file] [log] [blame]
Ben Dooksa08ab632008-10-21 14:06:39 +01001# Copyright 2008 Openmoko, Inc.
Ben Dooks431107e2010-01-26 10:11:04 +09002# Simtec Electronics, Ben Dooks <ben@simtec.co.uk>
Ben Dooksa08ab632008-10-21 14:06:39 +01003#
4# Licensed under GPLv2
5
6# Configuration options for the S3C6410 CPU
Ben Dooksd626aee2008-10-21 14:06:50 +01007
Ben Dooks431107e2010-01-26 10:11:04 +09008config CPU_S3C6400
9 bool
10 select CPU_S3C6400_INIT
11 select CPU_S3C6400_CLOCK
12 help
13 Enable S3C6400 CPU support
14
Ben Dooksd626aee2008-10-21 14:06:50 +010015config CPU_S3C6410
16 bool
Ben Dooksaa64ea32008-10-21 14:06:58 +010017 select CPU_S3C6400_INIT
Ben Dookscf18acf2008-10-21 14:07:02 +010018 select CPU_S3C6400_CLOCK
Ben Dooksd626aee2008-10-21 14:06:50 +010019 help
20 Enable S3C6410 CPU support
21
Ben Dooks431107e2010-01-26 10:11:04 +090022config S3C6400_SETUP_SDHCI
23 bool
24 help
25 Internal configuration for default SDHCI
26 setup for S3C6400.
27
Ben Dooks5cc7fd82008-10-31 16:14:38 +000028config S3C6410_SETUP_SDHCI
29 bool
Ben Dooks4faf68672009-03-25 11:01:24 +000030 select S3C64XX_SETUP_SDHCI_GPIO
Ben Dooks5cc7fd82008-10-31 16:14:38 +000031 help
32 Internal helper functions for S3C6410 based SDHCI systems
33
Ben Dooks431107e2010-01-26 10:11:04 +090034# S36400 Macchine support
35
36config MACH_SMDK6400
37 bool "SMDK6400"
38 select CPU_S3C6400
39 select S3C_DEV_HSMMC
40 select S3C_DEV_NAND
41 select S3C6400_SETUP_SDHCI
42 help
43 Machine support for the Samsung SMDK6400
44
45# S3C6410 machine support
46
Kwangwoo Lee1f26a8a2009-04-28 10:35:57 +090047config MACH_ANW6410
48 bool "A&W6410"
49 select CPU_S3C6410
50 select S3C_DEV_FB
51 select S3C64XX_SETUP_FB_24BPP
52 help
53 Machine support for the A&W6410
54
Ben Dooks5718df92008-10-21 14:07:09 +010055config MACH_SMDK6410
56 bool "SMDK6410"
57 select CPU_S3C6410
Ben Dooks5b323c72008-10-31 16:14:28 +000058 select S3C_DEV_HSMMC
Ben Dooksb24636c2008-11-03 20:14:53 +000059 select S3C_DEV_HSMMC1
Ben Dooksd7ea3742008-10-31 16:14:57 +000060 select S3C_DEV_I2C1
Ben Dooks438a5d42008-11-19 15:41:34 +000061 select S3C_DEV_FB
Ben Dooks98fd63b2009-03-06 19:49:49 +000062 select S3C_DEV_USB_HOST
Ben Dooks06fa1d32009-05-16 22:11:20 +010063 select S3C_DEV_USB_HSOTG
Ben Dooks5cc7fd82008-10-31 16:14:38 +000064 select S3C6410_SETUP_SDHCI
Ben Dooksd7ea3742008-10-31 16:14:57 +000065 select S3C64XX_SETUP_I2C1
Ben Dooks438a5d42008-11-19 15:41:34 +000066 select S3C64XX_SETUP_FB_24BPP
Ben Dooks5718df92008-10-21 14:07:09 +010067 help
68 Machine support for the Samsung SMDK6410
Ben Dooksb24636c2008-11-03 20:14:53 +000069
70# At least some of the SMDK6410s were shipped with the card detect
71# for the MMC/SD slots connected to the same input. This means that
72# either the boards need to be altered to have channel0 to an alternate
73# configuration or that only one slot can be used.
74
75choice
76 prompt "SMDK6410 MMC/SD slot setup"
77 depends on MACH_SMDK6410
78
79config SMDK6410_SD_CH0
80 bool "Use channel 0 only"
81 depends on MACH_SMDK6410
82 help
83 Select CON7 (channel 0) as the MMC/SD slot, as
84 at least some SMDK6410 boards come with the
85 resistors fitted so that the card detects for
86 channels 0 and 1 are the same.
Ben Dooks431107e2010-01-26 10:11:04 +090087
Ben Dooksb24636c2008-11-03 20:14:53 +000088config SMDK6410_SD_CH1
89 bool "Use channel 1 only"
90 depends on MACH_SMDK6410
91 help
92 Select CON6 (channel 1) as the MMC/SD slot, as
93 at least some SMDK6410 boards come with the
94 resistors fitted so that the card detects for
95 channels 0 and 1 are the same.
96
97endchoice
Mark Brownecc558a2009-02-17 15:59:38 +000098
99config SMDK6410_WM1190_EV1
100 bool "Support Wolfson Microelectronics 1190-EV1 PMIC card"
101 depends on MACH_SMDK6410
102 select REGULATOR
103 select REGULATOR_WM8350
Mark Brownc7a19782009-11-03 14:42:10 +0000104 select S3C24XX_GPIO_EXTRA64
Mark Brownecc558a2009-02-17 15:59:38 +0000105 select MFD_WM8350_I2C
106 select MFD_WM8350_CONFIG_MODE_0
107 select MFD_WM8350_CONFIG_MODE_3
108 select MFD_WM8352_CONFIG_MODE_0
109 help
110 The Wolfson Microelectronics 1190-EV1 is a WM835x based PMIC
111 and audio daughtercard for the Samsung SMDK6410 reference
112 platform. Enabling this option will build support for this
113 module into the kernel. The presence of the module will be
114 detected at runtime so the the resulting kernel can be used
115 with or without the 1190-EV1 fitted.
Kyungmin Park87c41222009-03-11 11:05:55 +0900116
117config MACH_NCP
118 bool "NCP"
119 select CPU_S3C6410
120 select S3C_DEV_I2C1
121 select S3C_DEV_HSMMC1
122 select S3C64XX_SETUP_I2C1
123 help
124 Machine support for the Samsung NCP
Peter Korsgaard2896bda2009-07-01 17:47:09 +0200125
126config MACH_HMT
127 bool "Airgoo HMT"
128 select CPU_S3C6410
129 select S3C_DEV_FB
Ben Dooksd23b3512009-09-17 00:01:54 +0100130 select S3C_DEV_NAND
Peter Korsgaard2896bda2009-07-01 17:47:09 +0200131 select S3C_DEV_USB_HOST
132 select S3C64XX_SETUP_FB_24BPP
133 select HAVE_PWM
134 help
135 Machine support for the Airgoo HMT