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