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