ARM: shmobile: Add select MIGHT_HAVE_PCI for PCI-AHB bridge code
[deliverable/linux.git] / arch / arm / mach-shmobile / Kconfig
1 config ARCH_SHMOBILE
2 bool
3
4 config ARCH_SHMOBILE_MULTI
5 bool "SH-Mobile Series" if ARCH_MULTI_V7
6 depends on MMU
7 select ARCH_SHMOBILE
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 MIGHT_HAVE_PCI
16 select NO_IOPORT
17 select PINCTRL
18 select ARCH_REQUIRE_GPIOLIB
19 select CLKDEV_LOOKUP
20
21 if ARCH_SHMOBILE_MULTI
22
23 comment "SH-Mobile System Type"
24
25 config ARCH_EMEV2
26 bool "Emma Mobile EV2"
27
28 comment "SH-Mobile Board Type"
29
30 config MACH_KZM9D
31 bool "KZM9D board"
32 depends on ARCH_EMEV2
33 select REGULATOR_FIXED_VOLTAGE if REGULATOR
34
35 comment "SH-Mobile System Configuration"
36 endif
37
38 if ARCH_SHMOBILE_LEGACY
39
40 comment "SH-Mobile System Type"
41
42 config ARCH_SH7372
43 bool "SH-Mobile AP4 (SH7372)"
44 select ARCH_WANT_OPTIONAL_GPIOLIB
45 select ARM_CPU_SUSPEND if PM || CPU_IDLE
46 select CPU_V7
47 select SH_CLK_CPG
48
49 config ARCH_SH73A0
50 bool "SH-Mobile AG5 (R8A73A00)"
51 select ARCH_WANT_OPTIONAL_GPIOLIB
52 select ARM_GIC
53 select CPU_V7
54 select I2C
55 select SH_CLK_CPG
56 select RENESAS_INTC_IRQPIN
57
58 config ARCH_R8A73A4
59 bool "R-Mobile APE6 (R8A73A40)"
60 select ARCH_WANT_OPTIONAL_GPIOLIB
61 select ARM_GIC
62 select CPU_V7
63 select SH_CLK_CPG
64 select RENESAS_IRQC
65 select ARCH_HAS_CPUFREQ
66 select ARCH_HAS_OPP
67
68 config ARCH_R8A7740
69 bool "R-Mobile A1 (R8A77400)"
70 select ARCH_WANT_OPTIONAL_GPIOLIB
71 select ARM_GIC
72 select CPU_V7
73 select SH_CLK_CPG
74 select RENESAS_INTC_IRQPIN
75
76 config ARCH_R8A7778
77 bool "R-Car M1A (R8A77781)"
78 select ARCH_WANT_OPTIONAL_GPIOLIB
79 select CPU_V7
80 select SH_CLK_CPG
81 select ARM_GIC
82 select USB_ARCH_HAS_EHCI
83 select USB_ARCH_HAS_OHCI
84
85 config ARCH_R8A7779
86 bool "R-Car H1 (R8A77790)"
87 select ARCH_WANT_OPTIONAL_GPIOLIB
88 select ARM_GIC
89 select CPU_V7
90 select SH_CLK_CPG
91 select USB_ARCH_HAS_EHCI
92 select USB_ARCH_HAS_OHCI
93 select RENESAS_INTC_IRQPIN
94
95 config ARCH_R8A7790
96 bool "R-Car H2 (R8A77900)"
97 select ARCH_WANT_OPTIONAL_GPIOLIB
98 select ARM_GIC
99 select CPU_V7
100 select MIGHT_HAVE_PCI
101 select SH_CLK_CPG
102 select RENESAS_IRQC
103
104 config ARCH_R8A7791
105 bool "R-Car M2 (R8A77910)"
106 select ARCH_WANT_OPTIONAL_GPIOLIB
107 select ARM_GIC
108 select CPU_V7
109 select MIGHT_HAVE_PCI
110 select SH_CLK_CPG
111 select RENESAS_IRQC
112
113 config ARCH_EMEV2
114 bool "Emma Mobile EV2"
115 select ARCH_WANT_OPTIONAL_GPIOLIB
116 select ARM_GIC
117 select CPU_V7
118 select MIGHT_HAVE_PCI
119 select USE_OF
120 select AUTO_ZRELADDR
121
122 config ARCH_R7S72100
123 bool "RZ/A1H (R7S72100)"
124 select ARCH_WANT_OPTIONAL_GPIOLIB
125 select ARM_GIC
126 select CPU_V7
127 select SH_CLK_CPG
128
129 comment "SH-Mobile Board Type"
130
131 config MACH_APE6EVM
132 bool "APE6EVM board"
133 depends on ARCH_R8A73A4
134 select USE_OF
135
136 config MACH_APE6EVM_REFERENCE
137 bool "APE6EVM board - Reference Device Tree Implementation"
138 depends on ARCH_R8A73A4
139 select USE_OF
140 ---help---
141 Use reference implementation of APE6EVM board support
142 which makes a greater use of device tree at the expense
143 of not supporting a number of devices.
144
145 This is intended to aid developers
146
147 config MACH_MACKEREL
148 bool "mackerel board"
149 depends on ARCH_SH7372
150 select ARCH_REQUIRE_GPIOLIB
151 select REGULATOR_FIXED_VOLTAGE if REGULATOR
152 select SND_SOC_AK4642 if SND_SIMPLE_CARD
153 select USE_OF
154
155 config MACH_ARMADILLO800EVA
156 bool "Armadillo-800 EVA board"
157 depends on ARCH_R8A7740
158 select ARCH_REQUIRE_GPIOLIB
159 select REGULATOR_FIXED_VOLTAGE if REGULATOR
160 select SND_SOC_WM8978 if SND_SIMPLE_CARD
161 select USE_OF
162
163 config MACH_ARMADILLO800EVA_REFERENCE
164 bool "Armadillo-800 EVA board - Reference Device Tree Implementation"
165 depends on ARCH_R8A7740
166 select ARCH_REQUIRE_GPIOLIB
167 select REGULATOR_FIXED_VOLTAGE if REGULATOR
168 select SND_SOC_WM8978 if SND_SIMPLE_CARD
169 select USE_OF
170 ---help---
171 Use reference implementation of Aramdillo800 EVA board support
172 which makes a greater use of device tree at the expense
173 of not supporting a number of devices.
174
175 This is intended to aid developers
176
177 config MACH_BOCKW
178 bool "BOCK-W platform"
179 depends on ARCH_R8A7778
180 select ARCH_REQUIRE_GPIOLIB
181 select RENESAS_INTC_IRQPIN
182 select REGULATOR_FIXED_VOLTAGE if REGULATOR
183 select USE_OF
184 select SND_SOC_AK4554 if SND_SIMPLE_CARD
185 select SND_SOC_AK4642 if SND_SIMPLE_CARD
186
187 config MACH_BOCKW_REFERENCE
188 bool "BOCK-W - Reference Device Tree Implementation"
189 depends on ARCH_R8A7778
190 select ARCH_REQUIRE_GPIOLIB
191 select RENESAS_INTC_IRQPIN
192 select REGULATOR_FIXED_VOLTAGE if REGULATOR
193 select USE_OF
194 ---help---
195 Use reference implementation of BockW board support
196 which makes use of device tree at the expense
197 of not supporting a number of devices.
198
199 This is intended to aid developers
200
201 config MACH_GENMAI
202 bool "Genmai board"
203 depends on ARCH_R7S72100
204 select USE_OF
205
206 config MACH_MARZEN
207 bool "MARZEN board"
208 depends on ARCH_R8A7779
209 select ARCH_REQUIRE_GPIOLIB
210 select REGULATOR_FIXED_VOLTAGE if REGULATOR
211 select USE_OF
212
213 config MACH_MARZEN_REFERENCE
214 bool "MARZEN board - Reference Device Tree Implementation"
215 depends on ARCH_R8A7779
216 select ARCH_REQUIRE_GPIOLIB
217 select REGULATOR_FIXED_VOLTAGE if REGULATOR
218 select USE_OF
219 ---help---
220 Use reference implementation of Marzen board support
221 which makes use of device tree at the expense
222 of not supporting a number of devices.
223
224 This is intended to aid developers
225
226 config MACH_LAGER
227 bool "Lager board"
228 depends on ARCH_R8A7790
229 select USE_OF
230
231 config MACH_LAGER_REFERENCE
232 bool "Lager board - Reference Device Tree Implementation"
233 depends on ARCH_R8A7790
234 select USE_OF
235 ---help---
236 Use reference implementation of Lager 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
242 config MACH_KOELSCH
243 bool "Koelsch board"
244 depends on ARCH_R8A7791
245 select USE_OF
246
247 config MACH_KZM9G
248 bool "KZM-A9-GT board"
249 depends on ARCH_SH73A0
250 select ARCH_HAS_CPUFREQ
251 select ARCH_HAS_OPP
252 select ARCH_REQUIRE_GPIOLIB
253 select REGULATOR_FIXED_VOLTAGE if REGULATOR
254 select SND_SOC_AK4642 if SND_SIMPLE_CARD
255 select USE_OF
256
257 config MACH_KZM9G_REFERENCE
258 bool "KZM-A9-GT board - Reference Device Tree Implementation"
259 depends on ARCH_SH73A0
260 select ARCH_REQUIRE_GPIOLIB
261 select REGULATOR_FIXED_VOLTAGE if REGULATOR
262 select SND_SOC_AK4642 if SND_SIMPLE_CARD
263 select USE_OF
264 ---help---
265 Use reference implementation of KZM-A9-GT board support
266 which makes as greater use of device tree at the expense
267 of not supporting a number of devices.
268
269 This is intended to aid developers
270
271 comment "SH-Mobile System Configuration"
272
273 config CPU_HAS_INTEVT
274 bool
275 default y
276
277 config SH_CLK_CPG
278 bool
279
280 source "drivers/sh/Kconfig"
281
282 endif
283
284 if ARCH_SHMOBILE
285
286 menu "Timer and clock configuration"
287
288 config SHMOBILE_TIMER_HZ
289 int "Kernel HZ (jiffies per second)"
290 range 32 1024
291 default "128"
292 help
293 Allows the configuration of the timer frequency. It is customary
294 to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
295 case of low timer frequencies other values may be more suitable.
296 SH-Mobile systems using a 32768 Hz RCLK for clock events may want
297 to select a HZ value such as 128 that can evenly divide RCLK.
298 A HZ value that does not divide evenly may cause timer drift.
299
300 config SH_TIMER_CMT
301 bool "CMT timer driver"
302 default y
303 help
304 This enables build of the CMT timer driver.
305
306 config SH_TIMER_TMU
307 bool "TMU timer driver"
308 default y
309 help
310 This enables build of the TMU timer driver.
311
312 config EM_TIMER_STI
313 bool "STI timer driver"
314 default y
315 help
316 This enables build of the STI timer driver.
317
318 endmenu
319
320 endif
This page took 0.042972 seconds and 5 git commands to generate.