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