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