1config ARCH_SHMOBILE 2 bool 3 4config ARCH_SHMOBILE_MULTI 5 bool "Renesas ARM SoCs" if ARCH_MULTI_V7 6 depends on MMU 7 select ARCH_SHMOBILE 8 select CPU_V7 9 select GENERIC_CLOCKEVENTS 10 select HAVE_ARM_SCU if SMP 11 select HAVE_ARM_TWD if LOCAL_TIMERS 12 select HAVE_SMP 13 select ARM_GIC 14 select MIGHT_HAVE_CACHE_L2X0 15 select MIGHT_HAVE_PCI 16 select NO_IOPORT 17 select PINCTRL 18 select ARCH_REQUIRE_GPIOLIB 19 select CLKDEV_LOOKUP 20 21if ARCH_SHMOBILE_MULTI 22 23comment "Renesas ARM SoCs System Type" 24 25config ARCH_EMEV2 26 bool "Emma Mobile EV2" 27 28config ARCH_R7S72100 29 bool "RZ/A1H (R7S72100)" 30 31config ARCH_R8A7790 32 bool "R-Car H2 (R8A77900)" 33 select RENESAS_IRQC 34 35config ARCH_R8A7791 36 bool "R-Car M2 (R8A77910)" 37 select RENESAS_IRQC 38 39comment "Renesas ARM SoCs Board Type" 40 41config MACH_GENMAI 42 bool "Genmai board" 43 depends on ARCH_R7S72100 44 45config MACH_KOELSCH 46 bool "Koelsch board" 47 depends on ARCH_R8A7791 48 49config MACH_KZM9D 50 bool "KZM9D board" 51 depends on ARCH_EMEV2 52 select REGULATOR_FIXED_VOLTAGE if REGULATOR 53 54config MACH_LAGER 55 bool "Lager board" 56 depends on ARCH_R8A7790 57 select MICREL_PHY if SH_ETH 58 59comment "Renesas ARM SoCs System Configuration" 60endif 61 62if ARCH_SHMOBILE_LEGACY 63 64comment "Renesas ARM SoCs System Type" 65 66config ARCH_SH7372 67 bool "SH-Mobile AP4 (SH7372)" 68 select ARCH_WANT_OPTIONAL_GPIOLIB 69 select ARM_CPU_SUSPEND if PM || CPU_IDLE 70 select CPU_V7 71 select SH_CLK_CPG 72 73config ARCH_SH73A0 74 bool "SH-Mobile AG5 (R8A73A00)" 75 select ARCH_WANT_OPTIONAL_GPIOLIB 76 select ARM_GIC 77 select CPU_V7 78 select I2C 79 select SH_CLK_CPG 80 select RENESAS_INTC_IRQPIN 81 82config ARCH_R8A73A4 83 bool "R-Mobile APE6 (R8A73A40)" 84 select ARCH_WANT_OPTIONAL_GPIOLIB 85 select ARM_GIC 86 select CPU_V7 87 select SH_CLK_CPG 88 select RENESAS_IRQC 89 select ARCH_HAS_CPUFREQ 90 select ARCH_HAS_OPP 91 92config ARCH_R8A7740 93 bool "R-Mobile A1 (R8A77400)" 94 select ARCH_WANT_OPTIONAL_GPIOLIB 95 select ARM_GIC 96 select CPU_V7 97 select SH_CLK_CPG 98 select RENESAS_INTC_IRQPIN 99 100config ARCH_R8A7778 101 bool "R-Car M1A (R8A77781)" 102 select ARCH_WANT_OPTIONAL_GPIOLIB 103 select CPU_V7 104 select SH_CLK_CPG 105 select ARM_GIC 106 select USB_ARCH_HAS_EHCI 107 select USB_ARCH_HAS_OHCI 108 109config ARCH_R8A7779 110 bool "R-Car H1 (R8A77790)" 111 select ARCH_WANT_OPTIONAL_GPIOLIB 112 select ARM_GIC 113 select CPU_V7 114 select SH_CLK_CPG 115 select USB_ARCH_HAS_EHCI 116 select USB_ARCH_HAS_OHCI 117 select RENESAS_INTC_IRQPIN 118 119config ARCH_R8A7790 120 bool "R-Car H2 (R8A77900)" 121 select ARCH_WANT_OPTIONAL_GPIOLIB 122 select ARM_GIC 123 select CPU_V7 124 select MIGHT_HAVE_PCI 125 select SH_CLK_CPG 126 select RENESAS_IRQC 127 128config ARCH_R8A7791 129 bool "R-Car M2 (R8A77910)" 130 select ARCH_WANT_OPTIONAL_GPIOLIB 131 select ARM_GIC 132 select CPU_V7 133 select MIGHT_HAVE_PCI 134 select SH_CLK_CPG 135 select RENESAS_IRQC 136 137config ARCH_EMEV2 138 bool "Emma Mobile EV2" 139 select ARCH_WANT_OPTIONAL_GPIOLIB 140 select ARM_GIC 141 select CPU_V7 142 select MIGHT_HAVE_PCI 143 select USE_OF 144 select AUTO_ZRELADDR 145 146config ARCH_R7S72100 147 bool "RZ/A1H (R7S72100)" 148 select ARCH_WANT_OPTIONAL_GPIOLIB 149 select ARM_GIC 150 select CPU_V7 151 select SH_CLK_CPG 152 153comment "Renesas ARM SoCs Board Type" 154 155config MACH_APE6EVM 156 bool "APE6EVM board" 157 depends on ARCH_R8A73A4 158 select USE_OF 159 160config MACH_APE6EVM_REFERENCE 161 bool "APE6EVM board - Reference Device Tree Implementation" 162 depends on ARCH_R8A73A4 163 select USE_OF 164 ---help--- 165 Use reference implementation of APE6EVM board support 166 which makes a greater use of device tree at the expense 167 of not supporting a number of devices. 168 169 This is intended to aid developers 170 171config MACH_MACKEREL 172 bool "mackerel board" 173 depends on ARCH_SH7372 174 select ARCH_REQUIRE_GPIOLIB 175 select REGULATOR_FIXED_VOLTAGE if REGULATOR 176 select SND_SOC_AK4642 if SND_SIMPLE_CARD 177 select USE_OF 178 179config MACH_ARMADILLO800EVA 180 bool "Armadillo-800 EVA board" 181 depends on ARCH_R8A7740 182 select ARCH_REQUIRE_GPIOLIB 183 select REGULATOR_FIXED_VOLTAGE if REGULATOR 184 select SND_SOC_WM8978 if SND_SIMPLE_CARD 185 select USE_OF 186 187config MACH_ARMADILLO800EVA_REFERENCE 188 bool "Armadillo-800 EVA board - Reference Device Tree Implementation" 189 depends on ARCH_R8A7740 190 select ARCH_REQUIRE_GPIOLIB 191 select REGULATOR_FIXED_VOLTAGE if REGULATOR 192 select SND_SOC_WM8978 if SND_SIMPLE_CARD 193 select USE_OF 194 ---help--- 195 Use reference implementation of Aramdillo800 EVA board support 196 which makes a greater use of device tree at the expense 197 of not supporting a number of devices. 198 199 This is intended to aid developers 200 201config MACH_BOCKW 202 bool "BOCK-W platform" 203 depends on ARCH_R8A7778 204 select ARCH_REQUIRE_GPIOLIB 205 select RENESAS_INTC_IRQPIN 206 select REGULATOR_FIXED_VOLTAGE if REGULATOR 207 select USE_OF 208 select SND_SOC_AK4554 if SND_SIMPLE_CARD 209 select SND_SOC_AK4642 if SND_SIMPLE_CARD 210 211config MACH_BOCKW_REFERENCE 212 bool "BOCK-W - Reference Device Tree Implementation" 213 depends on ARCH_R8A7778 214 select ARCH_REQUIRE_GPIOLIB 215 select RENESAS_INTC_IRQPIN 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 225config MACH_GENMAI 226 bool "Genmai board" 227 depends on ARCH_R7S72100 228 select USE_OF 229 230config MACH_GENMAI_REFERENCE 231 bool "Genmai board - Reference Device Tree Implementation" 232 depends on ARCH_R7S72100 233 select USE_OF 234 ---help--- 235 Use reference implementation of Genmai board support 236 which makes use of device tree at the expense 237 of not supporting a number of devices. 238 239 This is intended to aid developers 240 241config MACH_MARZEN 242 bool "MARZEN board" 243 depends on ARCH_R8A7779 244 select ARCH_REQUIRE_GPIOLIB 245 select REGULATOR_FIXED_VOLTAGE if REGULATOR 246 select USE_OF 247 248config MACH_MARZEN_REFERENCE 249 bool "MARZEN board - Reference Device Tree Implementation" 250 depends on ARCH_R8A7779 251 select ARCH_REQUIRE_GPIOLIB 252 select REGULATOR_FIXED_VOLTAGE if REGULATOR 253 select USE_OF 254 ---help--- 255 Use reference implementation of Marzen board support 256 which makes use of device tree at the expense 257 of not supporting a number of devices. 258 259 This is intended to aid developers 260 261config MACH_LAGER 262 bool "Lager board" 263 depends on ARCH_R8A7790 264 select USE_OF 265 select MICREL_PHY if SH_ETH 266 267config MACH_KOELSCH 268 bool "Koelsch board" 269 depends on ARCH_R8A7791 270 select USE_OF 271 select MICREL_PHY if SH_ETH 272 273config MACH_KZM9G 274 bool "KZM-A9-GT board" 275 depends on ARCH_SH73A0 276 select ARCH_HAS_CPUFREQ 277 select ARCH_HAS_OPP 278 select ARCH_REQUIRE_GPIOLIB 279 select REGULATOR_FIXED_VOLTAGE if REGULATOR 280 select SND_SOC_AK4642 if SND_SIMPLE_CARD 281 select USE_OF 282 283config MACH_KZM9G_REFERENCE 284 bool "KZM-A9-GT board - Reference Device Tree Implementation" 285 depends on ARCH_SH73A0 286 select ARCH_REQUIRE_GPIOLIB 287 select REGULATOR_FIXED_VOLTAGE if REGULATOR 288 select SND_SOC_AK4642 if SND_SIMPLE_CARD 289 select USE_OF 290 ---help--- 291 Use reference implementation of KZM-A9-GT board support 292 which makes as greater use of device tree at the expense 293 of not supporting a number of devices. 294 295 This is intended to aid developers 296 297comment "Renesas ARM SoCs System Configuration" 298 299config CPU_HAS_INTEVT 300 bool 301 default y 302 303config SH_CLK_CPG 304 bool 305 306source "drivers/sh/Kconfig" 307 308endif 309 310if ARCH_SHMOBILE 311 312menu "Timer and clock configuration" 313 314config SHMOBILE_TIMER_HZ 315 int "Kernel HZ (jiffies per second)" 316 range 32 1024 317 default "128" 318 help 319 Allows the configuration of the timer frequency. It is customary 320 to have the timer interrupt run at 1000 Hz or 100 Hz, but in the 321 case of low timer frequencies other values may be more suitable. 322 Renesas ARM SoC systems using a 32768 Hz RCLK for clock events may 323 want to select a HZ value such as 128 that can evenly divide RCLK. 324 A HZ value that does not divide evenly may cause timer drift. 325 326config SH_TIMER_CMT 327 bool "CMT timer driver" 328 default y 329 help 330 This enables build of the CMT timer driver. 331 332config SH_TIMER_TMU 333 bool "TMU timer driver" 334 default y 335 help 336 This enables build of the TMU timer driver. 337 338config EM_TIMER_STI 339 bool "STI timer driver" 340 default y 341 help 342 This enables build of the STI timer driver. 343 344endmenu 345 346endif 347