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