Merge branches 'pinmux' and 'soc' into boards-base
[linux-2.6.git] / arch / arm / mach-shmobile / Kconfig
blob5414402938a55063f09fac185c4b9acd157c984f
1 if ARCH_SHMOBILE
3 comment "SH-Mobile System Type"
5 config ARCH_SH7372
6         bool "SH-Mobile AP4 (SH7372)"
7         select ARCH_WANT_OPTIONAL_GPIOLIB
8         select ARM_CPU_SUSPEND if PM || CPU_IDLE
9         select CPU_V7
10         select SH_CLK_CPG
12 config ARCH_SH73A0
13         bool "SH-Mobile AG5 (R8A73A00)"
14         select ARCH_WANT_OPTIONAL_GPIOLIB
15         select ARM_GIC
16         select CPU_V7
17         select I2C
18         select SH_CLK_CPG
19         select RENESAS_INTC_IRQPIN
21 config ARCH_R8A73A4
22         bool "R-Mobile APE6 (R8A73A40)"
23         select ARCH_WANT_OPTIONAL_GPIOLIB
24         select ARM_GIC
25         select CPU_V7
26         select ARM_ARCH_TIMER
27         select SH_CLK_CPG
28         select RENESAS_IRQC
30 config ARCH_R8A7740
31         bool "R-Mobile A1 (R8A77400)"
32         select ARCH_WANT_OPTIONAL_GPIOLIB
33         select ARM_GIC
34         select CPU_V7
35         select SH_CLK_CPG
36         select RENESAS_INTC_IRQPIN
38 config ARCH_R8A7778
39         bool "R-Car M1A (R8A77781)"
40         select ARCH_WANT_OPTIONAL_GPIOLIB
41         select CPU_V7
42         select SH_CLK_CPG
43         select ARM_GIC
45 config ARCH_R8A7779
46         bool "R-Car H1 (R8A77790)"
47         select ARCH_WANT_OPTIONAL_GPIOLIB
48         select ARM_GIC
49         select CPU_V7
50         select SH_CLK_CPG
51         select USB_ARCH_HAS_EHCI
52         select USB_ARCH_HAS_OHCI
53         select RENESAS_INTC_IRQPIN
55 config ARCH_R8A7790
56         bool "R-Car H2 (R8A77900)"
57         select ARCH_WANT_OPTIONAL_GPIOLIB
58         select ARM_GIC
59         select CPU_V7
60         select ARM_ARCH_TIMER
61         select SH_CLK_CPG
62         select RENESAS_IRQC
64 config ARCH_EMEV2
65         bool "Emma Mobile EV2"
66         select ARCH_WANT_OPTIONAL_GPIOLIB
67         select ARM_GIC
68         select CPU_V7
70 comment "SH-Mobile Board Type"
72 config MACH_AP4EVB
73         bool "AP4EVB board"
74         depends on ARCH_SH7372
75         select ARCH_REQUIRE_GPIOLIB
76         select REGULATOR_FIXED_VOLTAGE if REGULATOR
77         select SH_LCD_MIPI_DSI
78         select SND_SOC_AK4642 if SND_SIMPLE_CARD
80 choice
81         prompt "AP4EVB LCD panel selection"
82         default AP4EVB_QHD
83         depends on MACH_AP4EVB
85 config AP4EVB_QHD
86         bool "MIPI-DSI QHD (960x540)"
88 config AP4EVB_WVGA
89         bool "Parallel WVGA (800x480)"
91 endchoice
93 config MACH_AG5EVM
94         bool "AG5EVM board"
95         depends on ARCH_SH73A0
96         select ARCH_REQUIRE_GPIOLIB
97         select REGULATOR_FIXED_VOLTAGE if REGULATOR
98         select SH_LCD_MIPI_DSI
100 config MACH_APE6EVM
101         bool "APE6EVM board"
102         depends on ARCH_R8A73A4
103         select USE_OF
105 config MACH_MACKEREL
106         bool "mackerel board"
107         depends on ARCH_SH7372
108         select ARCH_REQUIRE_GPIOLIB
109         select REGULATOR_FIXED_VOLTAGE if REGULATOR
110         select SND_SOC_AK4642 if SND_SIMPLE_CARD
111         select USE_OF
113 config MACH_KOTA2
114         bool "KOTA2 board"
115         depends on ARCH_SH73A0
116         select ARCH_REQUIRE_GPIOLIB
117         select REGULATOR_FIXED_VOLTAGE if REGULATOR
119 config MACH_BONITO
120         bool "bonito board"
121         depends on ARCH_R8A7740
122         select ARCH_REQUIRE_GPIOLIB
123         select REGULATOR_FIXED_VOLTAGE if REGULATOR
125 config MACH_ARMADILLO800EVA
126         bool "Armadillo-800 EVA board"
127         depends on ARCH_R8A7740
128         select ARCH_REQUIRE_GPIOLIB
129         select REGULATOR_FIXED_VOLTAGE if REGULATOR
130         select SND_SOC_WM8978 if SND_SIMPLE_CARD
131         select USE_OF
133 config MACH_BOCKW
134         bool "BOCK-W platform"
135         depends on ARCH_R8A7778
136         select ARCH_REQUIRE_GPIOLIB
137         select RENESAS_INTC_IRQPIN
138         select USE_OF
140 config MACH_MARZEN
141         bool "MARZEN board"
142         depends on ARCH_R8A7779
143         select ARCH_REQUIRE_GPIOLIB
144         select REGULATOR_FIXED_VOLTAGE if REGULATOR
146 config MACH_MARZEN_REFERENCE
147         bool "MARZEN board - Reference Device Tree Implementation"
148         depends on ARCH_R8A7779
149         select ARCH_REQUIRE_GPIOLIB
150         select REGULATOR_FIXED_VOLTAGE if REGULATOR
151         select USE_OF
152         ---help---
153            Use reference implementation of Marzen board support
154            which makes use of device tree at the expense
155            of not supporting a number of devices.
157            This is intended to aid developers
159 config MACH_LAGER
160         bool "Lager board"
161         depends on ARCH_R8A7790
162         select USE_OF
164 config MACH_KZM9D
165         bool "KZM9D board"
166         depends on ARCH_EMEV2
167         select REGULATOR_FIXED_VOLTAGE if REGULATOR
168         select USE_OF
170 config MACH_KZM9G
171         bool "KZM-A9-GT board"
172         depends on ARCH_SH73A0
173         select ARCH_HAS_CPUFREQ
174         select ARCH_HAS_OPP
175         select ARCH_REQUIRE_GPIOLIB
176         select REGULATOR_FIXED_VOLTAGE if REGULATOR
177         select SND_SOC_AK4642 if SND_SIMPLE_CARD
178         select USE_OF
180 config MACH_KZM9G_REFERENCE
181         bool "KZM-A9-GT board - Reference Device Tree Implementation"
182         depends on ARCH_SH73A0
183         select ARCH_REQUIRE_GPIOLIB
184         select REGULATOR_FIXED_VOLTAGE if REGULATOR
185         select SND_SOC_AK4642 if SND_SIMPLE_CARD
186         select USE_OF
187         ---help---
188            Use reference implementation of KZM-A9-GT board support
189            which makes as greater use of device tree at the expense
190            of not supporting a number of devices.
192            This is intended to aid developers
194 comment "SH-Mobile System Configuration"
196 config CPU_HAS_INTEVT
197         bool
198         default y
200 menu "Memory configuration"
202 config MEMORY_START
203         hex "Physical memory start address"
204         default "0x40000000" if MACH_AP4EVB || MACH_AG5EVM || \
205                                 MACH_MACKEREL || MACH_BONITO || \
206                                 MACH_ARMADILLO800EVA || MACH_APE6EVM || \
207                                 MACH_LAGER
208         default "0x41000000" if MACH_KOTA2
209         default "0x00000000"
210         ---help---
211           Tweak this only when porting to a new machine which does not
212           already have a defconfig. Changing it from the known correct
213           value on any of the known systems will only lead to disaster.
215 config MEMORY_SIZE
216         hex "Physical memory size"
217         default "0x80000000" if MACH_LAGER
218         default "0x40000000" if MACH_APE6EVM
219         default "0x20000000" if MACH_AG5EVM || MACH_BONITO || \
220                                 MACH_ARMADILLO800EVA
221         default "0x1e000000" if MACH_KOTA2
222         default "0x10000000" if MACH_AP4EVB || MACH_MACKEREL
223         default "0x04000000"
224         help
225           This sets the default memory size assumed by your kernel. It can
226           be overridden as normal by the 'mem=' argument on the kernel command
227           line.
229 endmenu
231 menu "Timer and clock configuration"
233 config SHMOBILE_TIMER_HZ
234         int "Kernel HZ (jiffies per second)"
235         range 32 1024
236         default "128"
237         help
238           Allows the configuration of the timer frequency. It is customary
239           to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
240           case of low timer frequencies other values may be more suitable.
241           SH-Mobile systems using a 32768 Hz RCLK for clock events may want
242           to select a HZ value such as 128 that can evenly divide RCLK.
243           A HZ value that does not divide evenly may cause timer drift.
245 config SH_TIMER_CMT
246         bool "CMT timer driver"
247         default y
248         help
249           This enables build of the CMT timer driver.
251 config SH_TIMER_TMU
252         bool "TMU timer driver"
253         default y
254         help
255           This enables build of the TMU timer driver.
257 config EM_TIMER_STI
258         bool "STI timer driver"
259         default y
260         help
261           This enables build of the STI timer driver.
263 endmenu
265 config SH_CLK_CPG
266         bool
268 source "drivers/sh/Kconfig"
270 endif