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