ARM: shmobile: armadillo800eva reference: Remove C board code
[firefly-linux-kernel-4.4.55.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 comment "Renesas ARM SoCs Board Type"
50
51 config MACH_GENMAI
52         bool "Genmai board"
53         depends on ARCH_R7S72100
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 SYS_SUPPORTS_SH_CMT
84         select SYS_SUPPORTS_SH_TMU
85
86 config ARCH_SH73A0
87         bool "SH-Mobile AG5 (R8A73A00)"
88         select ARCH_WANT_OPTIONAL_GPIOLIB
89         select ARM_GIC
90         select CPU_V7
91         select I2C
92         select SH_CLK_CPG
93         select RENESAS_INTC_IRQPIN
94         select SYS_SUPPORTS_SH_CMT
95         select SYS_SUPPORTS_SH_TMU
96
97 config ARCH_R8A73A4
98         bool "R-Mobile APE6 (R8A73A40)"
99         select ARCH_WANT_OPTIONAL_GPIOLIB
100         select ARM_GIC
101         select CPU_V7
102         select SH_CLK_CPG
103         select RENESAS_IRQC
104         select SYS_SUPPORTS_SH_CMT
105         select SYS_SUPPORTS_SH_TMU
106
107 config ARCH_R8A7740
108         bool "R-Mobile A1 (R8A77400)"
109         select ARCH_WANT_OPTIONAL_GPIOLIB
110         select ARM_GIC
111         select CPU_V7
112         select SH_CLK_CPG
113         select RENESAS_INTC_IRQPIN
114         select SYS_SUPPORTS_SH_CMT
115         select SYS_SUPPORTS_SH_TMU
116
117 config ARCH_R8A7778
118         bool "R-Car M1A (R8A77781)"
119         select ARCH_WANT_OPTIONAL_GPIOLIB
120         select CPU_V7
121         select SH_CLK_CPG
122         select ARM_GIC
123         select SYS_SUPPORTS_SH_TMU
124         select RENESAS_INTC_IRQPIN
125
126 config ARCH_R8A7779
127         bool "R-Car H1 (R8A77790)"
128         select ARCH_WANT_OPTIONAL_GPIOLIB
129         select ARM_GIC
130         select CPU_V7
131         select SH_CLK_CPG
132         select RENESAS_INTC_IRQPIN
133         select SYS_SUPPORTS_SH_TMU
134
135 config ARCH_R8A7790
136         bool "R-Car H2 (R8A77900)"
137         select ARCH_WANT_OPTIONAL_GPIOLIB
138         select ARM_GIC
139         select CPU_V7
140         select MIGHT_HAVE_PCI
141         select SH_CLK_CPG
142         select RENESAS_IRQC
143         select SYS_SUPPORTS_SH_CMT
144         select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
145
146 config ARCH_R8A7791
147         bool "R-Car M2 (R8A77910)"
148         select ARCH_WANT_OPTIONAL_GPIOLIB
149         select ARM_GIC
150         select CPU_V7
151         select MIGHT_HAVE_PCI
152         select SH_CLK_CPG
153         select RENESAS_IRQC
154         select SYS_SUPPORTS_SH_CMT
155         select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
156
157 config ARCH_R7S72100
158         bool "RZ/A1H (R7S72100)"
159         select ARCH_WANT_OPTIONAL_GPIOLIB
160         select ARM_GIC
161         select CPU_V7
162         select SH_CLK_CPG
163         select SYS_SUPPORTS_SH_MTU2
164
165 comment "Renesas ARM SoCs Board Type"
166
167 config MACH_APE6EVM
168         bool "APE6EVM board"
169         depends on ARCH_R8A73A4
170         select SMSC_PHY if SMSC911X
171         select USE_OF
172
173 config MACH_APE6EVM_REFERENCE
174         bool "APE6EVM board - Reference Device Tree Implementation"
175         depends on ARCH_R8A73A4
176         select SMSC_PHY if SMSC911X
177         select USE_OF
178         ---help---
179            Use reference implementation of APE6EVM board support
180            which makes a greater use of device tree at the expense
181            of not supporting a number of devices.
182
183            This is intended to aid developers
184
185 config MACH_MACKEREL
186         bool "mackerel board"
187         depends on ARCH_SH7372
188         select ARCH_REQUIRE_GPIOLIB
189         select REGULATOR_FIXED_VOLTAGE if REGULATOR
190         select SMSC_PHY if SMSC911X
191         select SND_SOC_AK4642 if SND_SIMPLE_CARD
192         select USE_OF
193
194 config MACH_ARMADILLO800EVA
195         bool "Armadillo-800 EVA board"
196         depends on ARCH_R8A7740
197         select ARCH_REQUIRE_GPIOLIB
198         select REGULATOR_FIXED_VOLTAGE if REGULATOR
199         select SMSC_PHY if SH_ETH
200         select SND_SOC_WM8978 if SND_SIMPLE_CARD
201         select USE_OF
202
203 config MACH_BOCKW
204         bool "BOCK-W platform"
205         depends on ARCH_R8A7778
206         select ARCH_REQUIRE_GPIOLIB
207         select REGULATOR_FIXED_VOLTAGE if REGULATOR
208         select SND_SOC_AK4554 if SND_SIMPLE_CARD
209         select SND_SOC_AK4642 if SND_SIMPLE_CARD
210         select USE_OF
211
212 config MACH_BOCKW_REFERENCE
213         bool "BOCK-W  - Reference Device Tree Implementation"
214         depends on ARCH_R8A7778
215         select ARCH_REQUIRE_GPIOLIB
216         select REGULATOR_FIXED_VOLTAGE if REGULATOR
217         select USE_OF
218         ---help---
219            Use reference implementation of BockW board support
220            which makes use of device tree at the expense
221            of not supporting a number of devices.
222
223            This is intended to aid developers
224
225 config MACH_GENMAI
226         bool "Genmai board"
227         depends on ARCH_R7S72100
228         select USE_OF
229
230 config MACH_MARZEN
231         bool "MARZEN board"
232         depends on ARCH_R8A7779
233         select ARCH_REQUIRE_GPIOLIB
234         select REGULATOR_FIXED_VOLTAGE if REGULATOR
235         select USE_OF
236
237 config MACH_LAGER
238         bool "Lager board"
239         depends on ARCH_R8A7790
240         select USE_OF
241         select MICREL_PHY if SH_ETH
242         select SND_SOC_AK4642 if SND_SIMPLE_CARD
243
244 config MACH_KOELSCH
245         bool "Koelsch board"
246         depends on ARCH_R8A7791
247         select USE_OF
248         select MICREL_PHY if SH_ETH
249
250 config MACH_KZM9G
251         bool "KZM-A9-GT board"
252         depends on ARCH_SH73A0
253         select ARCH_REQUIRE_GPIOLIB
254         select REGULATOR_FIXED_VOLTAGE if REGULATOR
255         select SND_SOC_AK4642 if SND_SIMPLE_CARD
256         select USE_OF
257
258 config MACH_KZM9G_REFERENCE
259         bool "KZM-A9-GT board - Reference Device Tree Implementation"
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
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
272 comment "Renesas ARM SoCs System Configuration"
273
274 config CPU_HAS_INTEVT
275         bool
276         default y
277
278 config SH_CLK_CPG
279         bool
280
281 source "drivers/sh/Kconfig"
282
283 endif
284
285 if ARCH_SHMOBILE
286
287 menu "Timer and clock configuration"
288
289 config 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           Renesas ARM SoC systems using a 32768 Hz RCLK for clock events may
298           want 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
301 endmenu
302
303 endif