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