ARM: shmobile: Initial r8a7791 and Koelsch multiplatform support
[linux-2.6-block.git] / arch / arm / mach-shmobile / Kconfig
CommitLineData
bf98c1ea
LP
1config ARCH_SHMOBILE
2 bool
3
efacfce5
MD
4config ARCH_SHMOBILE_MULTI
5 bool "SH-Mobile Series" if ARCH_MULTI_V7
6 depends on MMU
bf98c1ea 7 select ARCH_SHMOBILE
efacfce5
MD
8 select CPU_V7
9 select GENERIC_CLOCKEVENTS
10 select HAVE_ARM_SCU if SMP
11 select HAVE_ARM_TWD if LOCAL_TIMERS
12 select HAVE_SMP
13 select ARM_GIC
14 select MIGHT_HAVE_CACHE_L2X0
15 select NO_IOPORT
16 select PINCTRL
17 select ARCH_REQUIRE_GPIOLIB
18 select CLKDEV_LOOKUP
19
20if ARCH_SHMOBILE_MULTI
21
22comment "SH-Mobile System Type"
23
cbc60e7c
MD
24config ARCH_EMEV2
25 bool "Emma Mobile EV2"
26
6d75bc64
MD
27config ARCH_R8A7791
28 bool "R-Car M2 (R8A77910)"
29 select RENESAS_IRQC
30
cbc60e7c
MD
31comment "SH-Mobile Board Type"
32
6d75bc64
MD
33config MACH_KOELSCH
34 bool "Koelsch board"
35 depends on ARCH_R8A7791
36
3ae970a6
MD
37config MACH_KZM9D
38 bool "KZM9D board"
cbc60e7c
MD
39 depends on ARCH_EMEV2
40 select REGULATOR_FIXED_VOLTAGE if REGULATOR
fd071b66
MD
41
42comment "SH-Mobile System Configuration"
efacfce5
MD
43endif
44
bf98c1ea 45if ARCH_SHMOBILE_LEGACY
c793c1b0
MD
46
47comment "SH-Mobile System Type"
48
2b7eda63
MD
49config ARCH_SH7372
50 bool "SH-Mobile AP4 (SH7372)"
6d72ad35 51 select ARCH_WANT_OPTIONAL_GPIOLIB
a1ee61b8 52 select ARM_CPU_SUSPEND if PM || CPU_IDLE
b1b3f49c
RK
53 select CPU_V7
54 select SH_CLK_CPG
2b7eda63 55
6d9598e2
MD
56config ARCH_SH73A0
57 bool "SH-Mobile AG5 (R8A73A00)"
1cdf3702 58 select ARCH_WANT_OPTIONAL_GPIOLIB
6d9598e2 59 select ARM_GIC
b1b3f49c 60 select CPU_V7
99f8bd85 61 select I2C
b1b3f49c 62 select SH_CLK_CPG
341eb546 63 select RENESAS_INTC_IRQPIN
6d9598e2 64
eccf0607
MD
65config ARCH_R8A73A4
66 bool "R-Mobile APE6 (R8A73A40)"
d313d068 67 select ARCH_WANT_OPTIONAL_GPIOLIB
eccf0607
MD
68 select ARM_GIC
69 select CPU_V7
eccf0607 70 select SH_CLK_CPG
984ca295 71 select RENESAS_IRQC
181135e0
GL
72 select ARCH_HAS_CPUFREQ
73 select ARCH_HAS_OPP
6d9598e2 74
6c01ba44
KM
75config ARCH_R8A7740
76 bool "R-Mobile A1 (R8A77400)"
b1b3f49c 77 select ARCH_WANT_OPTIONAL_GPIOLIB
0b7d7820 78 select ARM_GIC
6c01ba44
KM
79 select CPU_V7
80 select SH_CLK_CPG
0b7d7820 81 select RENESAS_INTC_IRQPIN
6c01ba44 82
ccb7cc74 83config ARCH_R8A7778
45fa9295 84 bool "R-Car M1A (R8A77781)"
369b00bb 85 select ARCH_WANT_OPTIONAL_GPIOLIB
ccb7cc74
KM
86 select CPU_V7
87 select SH_CLK_CPG
88 select ARM_GIC
02474a41
SS
89 select USB_ARCH_HAS_EHCI
90 select USB_ARCH_HAS_OHCI
6c01ba44 91
f411fade
MD
92config ARCH_R8A7779
93 bool "R-Car H1 (R8A77790)"
b1b3f49c
RK
94 select ARCH_WANT_OPTIONAL_GPIOLIB
95 select ARM_GIC
f411fade
MD
96 select CPU_V7
97 select SH_CLK_CPG
94e1f7fb 98 select USB_ARCH_HAS_EHCI
ac7c4ea0 99 select USB_ARCH_HAS_OHCI
8e56e6d5 100 select RENESAS_INTC_IRQPIN
f411fade 101
0468b2d6
MD
102config ARCH_R8A7790
103 bool "R-Car H2 (R8A77900)"
69e351d0 104 select ARCH_WANT_OPTIONAL_GPIOLIB
0468b2d6
MD
105 select ARM_GIC
106 select CPU_V7
0468b2d6 107 select SH_CLK_CPG
8f5ec0a5 108 select RENESAS_IRQC
f411fade 109
0d0771ab
HN
110config ARCH_R8A7791
111 bool "R-Car M2 (R8A77910)"
cc3a17d7 112 select ARCH_WANT_OPTIONAL_GPIOLIB
0d0771ab
HN
113 select ARM_GIC
114 select CPU_V7
115 select SH_CLK_CPG
e08d287a 116 select RENESAS_IRQC
0d0771ab 117
7f627f03
MD
118config ARCH_EMEV2
119 bool "Emma Mobile EV2"
088efd92 120 select ARCH_WANT_OPTIONAL_GPIOLIB
b1b3f49c
RK
121 select ARM_GIC
122 select CPU_V7
81fd1b68 123 select USE_OF
42a1ba52 124 select AUTO_ZRELADDR
7f627f03 125
0086df27
MD
126config ARCH_R7S72100
127 bool "RZ/A1H (R7S72100)"
091b258c 128 select ARCH_WANT_OPTIONAL_GPIOLIB
0086df27
MD
129 select ARM_GIC
130 select CPU_V7
131 select SH_CLK_CPG
132
c793c1b0
MD
133comment "SH-Mobile Board Type"
134
78ded168
MD
135config MACH_APE6EVM
136 bool "APE6EVM board"
137 depends on ARCH_R8A73A4
138 select USE_OF
139
69f36661
GL
140config MACH_APE6EVM_REFERENCE
141 bool "APE6EVM board - Reference Device Tree Implementation"
142 depends on ARCH_R8A73A4
143 select USE_OF
144 ---help---
145 Use reference implementation of APE6EVM board support
146 which makes a greater use of device tree at the expense
147 of not supporting a number of devices.
148
149 This is intended to aid developers
150
920adc75
KM
151config MACH_MACKEREL
152 bool "mackerel board"
153 depends on ARCH_SH7372
3256c789 154 select ARCH_REQUIRE_GPIOLIB
34767f8d 155 select REGULATOR_FIXED_VOLTAGE if REGULATOR
b1b3f49c 156 select SND_SOC_AK4642 if SND_SIMPLE_CARD
0ce53cdc 157 select USE_OF
6d9598e2 158
4d22e564
KM
159config MACH_ARMADILLO800EVA
160 bool "Armadillo-800 EVA board"
161 depends on ARCH_R8A7740
162 select ARCH_REQUIRE_GPIOLIB
34767f8d 163 select REGULATOR_FIXED_VOLTAGE if REGULATOR
5389bf71 164 select SND_SOC_WM8978 if SND_SIMPLE_CARD
b1b3f49c 165 select USE_OF
4d22e564 166
76b92b40
BH
167config MACH_ARMADILLO800EVA_REFERENCE
168 bool "Armadillo-800 EVA board - Reference Device Tree Implementation"
169 depends on ARCH_R8A7740
170 select ARCH_REQUIRE_GPIOLIB
171 select REGULATOR_FIXED_VOLTAGE if REGULATOR
172 select SND_SOC_WM8978 if SND_SIMPLE_CARD
173 select USE_OF
174 ---help---
175 Use reference implementation of Aramdillo800 EVA board support
176 which makes a greater use of device tree at the expense
177 of not supporting a number of devices.
178
179 This is intended to aid developers
180
53e42c29
KM
181config MACH_BOCKW
182 bool "BOCK-W platform"
183 depends on ARCH_R8A7778
184 select ARCH_REQUIRE_GPIOLIB
27d5f27e 185 select RENESAS_INTC_IRQPIN
c9996e51 186 select REGULATOR_FIXED_VOLTAGE if REGULATOR
53e42c29 187 select USE_OF
688e6a6d
KM
188 select SND_SOC_AK4554 if SND_SIMPLE_CARD
189 select SND_SOC_AK4642 if SND_SIMPLE_CARD
53e42c29 190
cfa66a81
KM
191config MACH_BOCKW_REFERENCE
192 bool "BOCK-W - Reference Device Tree Implementation"
193 depends on ARCH_R8A7778
194 select ARCH_REQUIRE_GPIOLIB
195 select RENESAS_INTC_IRQPIN
196 select REGULATOR_FIXED_VOLTAGE if REGULATOR
197 select USE_OF
198 ---help---
199 Use reference implementation of BockW board support
200 which makes use of device tree at the expense
201 of not supporting a number of devices.
202
203 This is intended to aid developers
204
a4ed412e
MD
205config MACH_GENMAI
206 bool "Genmai board"
207 depends on ARCH_R7S72100
208 select USE_OF
209
f411fade
MD
210config MACH_MARZEN
211 bool "MARZEN board"
212 depends on ARCH_R8A7779
19c43fc5 213 select ARCH_REQUIRE_GPIOLIB
34767f8d 214 select REGULATOR_FIXED_VOLTAGE if REGULATOR
7ebbb4ae 215 select USE_OF
f411fade 216
73d6a69e
SH
217config MACH_MARZEN_REFERENCE
218 bool "MARZEN board - Reference Device Tree Implementation"
219 depends on ARCH_R8A7779
220 select ARCH_REQUIRE_GPIOLIB
221 select REGULATOR_FIXED_VOLTAGE if REGULATOR
222 select USE_OF
223 ---help---
224 Use reference implementation of Marzen board support
225 which makes use of device tree at the expense
226 of not supporting a number of devices.
227
228 This is intended to aid developers
229
3cc828fd
MD
230config MACH_LAGER
231 bool "Lager board"
232 depends on ARCH_R8A7790
233 select USE_OF
234
6dace67f
SH
235config MACH_LAGER_REFERENCE
236 bool "Lager board - Reference Device Tree Implementation"
237 depends on ARCH_R8A7790
238 select USE_OF
239 ---help---
240 Use reference implementation of Lager board support
241 which makes use of device tree at the expense
242 of not supporting a number of devices.
243
244 This is intended to aid developers
245
1f52c659
HN
246config MACH_KOELSCH
247 bool "Koelsch board"
248 depends on ARCH_R8A7791
249 select USE_OF
250
a2baf191
MD
251config MACH_KOELSCH_REFERENCE
252 bool "Koelsch board - Reference Device Tree Implementation"
253 depends on ARCH_R8A7791
254 select USE_OF
255 ---help---
256 Use reference implementation of Koelsch board support
257 which makes use of device tree at the expense
258 of not supporting a number of devices.
259
260 This is intended to aid developers
261
9b93e244
KM
262config MACH_KZM9G
263 bool "KZM-A9-GT board"
264 depends on ARCH_SH73A0
d2347382
GL
265 select ARCH_HAS_CPUFREQ
266 select ARCH_HAS_OPP
9b93e244 267 select ARCH_REQUIRE_GPIOLIB
34767f8d 268 select REGULATOR_FIXED_VOLTAGE if REGULATOR
b1b3f49c
RK
269 select SND_SOC_AK4642 if SND_SIMPLE_CARD
270 select USE_OF
9b93e244 271
b8b82b29
SH
272config MACH_KZM9G_REFERENCE
273 bool "KZM-A9-GT board - Reference Device Tree Implementation"
f33d1c34
GL
274 depends on ARCH_SH73A0
275 select ARCH_REQUIRE_GPIOLIB
276 select REGULATOR_FIXED_VOLTAGE if REGULATOR
277 select SND_SOC_AK4642 if SND_SIMPLE_CARD
278 select USE_OF
b8b82b29
SH
279 ---help---
280 Use reference implementation of KZM-A9-GT board support
281 which makes as greater use of device tree at the expense
282 of not supporting a number of devices.
283
284 This is intended to aid developers
285
c793c1b0
MD
286comment "SH-Mobile System Configuration"
287
7f1e7637
RH
288config CPU_HAS_INTEVT
289 bool
290 default y
291
fd071b66
MD
292config SH_CLK_CPG
293 bool
294
295source "drivers/sh/Kconfig"
296
297endif
298
bf98c1ea 299if ARCH_SHMOBILE
fd071b66 300
c793c1b0
MD
301menu "Timer and clock configuration"
302
5da3e714
MD
303config SHMOBILE_TIMER_HZ
304 int "Kernel HZ (jiffies per second)"
305 range 32 1024
306 default "128"
307 help
308 Allows the configuration of the timer frequency. It is customary
309 to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
310 case of low timer frequencies other values may be more suitable.
311 SH-Mobile systems using a 32768 Hz RCLK for clock events may want
312 to select a HZ value such as 128 that can evenly divide RCLK.
313 A HZ value that does not divide evenly may cause timer drift.
314
c793c1b0
MD
315config SH_TIMER_CMT
316 bool "CMT timer driver"
317 default y
318 help
319 This enables build of the CMT timer driver.
320
645e522e
MD
321config SH_TIMER_TMU
322 bool "TMU timer driver"
323 default y
324 help
325 This enables build of the TMU timer driver.
326
b9dbf951
MD
327config EM_TIMER_STI
328 bool "STI timer driver"
329 default y
330 help
331 This enables build of the STI timer driver.
332
c793c1b0
MD
333endmenu
334
335endif