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