1config ARCH_SHMOBILE 2 bool 3 4config PM_RCAR 5 bool 6 7config PM_RMOBILE 8 bool 9 10config ARCH_RCAR_GEN1 11 bool 12 select PM_RCAR if PM || SMP 13 select RENESAS_INTC_IRQPIN 14 select SYS_SUPPORTS_SH_TMU 15 16config ARCH_RCAR_GEN2 17 bool 18 select PM_RCAR if PM || SMP 19 select RENESAS_IRQC 20 select SYS_SUPPORTS_SH_CMT 21 22config 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 28menuconfig 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 41if ARCH_SHMOBILE_MULTI 42 43#comment "Renesas ARM SoCs System Type" 44 45config ARCH_EMEV2 46 bool "Emma Mobile EV2" 47 select SYS_SUPPORTS_EM_STI 48 49config ARCH_R7S72100 50 bool "RZ/A1H (R7S72100)" 51 select SYS_SUPPORTS_SH_MTU2 52 53config ARCH_R8A7779 54 bool "R-Car H1 (R8A77790)" 55 select ARCH_RCAR_GEN1 56 57config ARCH_R8A7790 58 bool "R-Car H2 (R8A77900)" 59 select ARCH_RCAR_GEN2 60 61config ARCH_R8A7791 62 bool "R-Car M2 (R8A77910)" 63 select ARCH_RCAR_GEN2 64 65comment "Renesas ARM SoCs Board Type" 66 67config MACH_GENMAI 68 bool "Genmai board" 69 depends on ARCH_R7S72100 70 71config MACH_KOELSCH 72 bool "Koelsch board" 73 depends on ARCH_R8A7791 74 select MICREL_PHY if SH_ETH 75 76config MACH_LAGER 77 bool "Lager board" 78 depends on ARCH_R8A7790 79 select MICREL_PHY if SH_ETH 80 81config MACH_MARZEN 82 bool "MARZEN board" 83 depends on ARCH_R8A7779 84 select REGULATOR_FIXED_VOLTAGE if REGULATOR 85 86comment "Renesas ARM SoCs System Configuration" 87endif 88 89if ARCH_SHMOBILE_LEGACY 90 91comment "Renesas ARM SoCs System Type" 92 93config ARCH_SH7372 94 bool "SH-Mobile AP4 (SH7372)" 95 select ARCH_RMOBILE 96 select ARCH_WANT_OPTIONAL_GPIOLIB 97 select ARM_CPU_SUSPEND if PM || CPU_IDLE 98 select CPU_V7 99 select SH_CLK_CPG 100 select SH_INTC 101 102config ARCH_SH73A0 103 bool "SH-Mobile AG5 (R8A73A00)" 104 select ARCH_RMOBILE 105 select ARCH_WANT_OPTIONAL_GPIOLIB 106 select ARM_GIC 107 select CPU_V7 108 select I2C 109 select SH_CLK_CPG 110 select SH_INTC 111 select RENESAS_INTC_IRQPIN 112 113config ARCH_R8A73A4 114 bool "R-Mobile APE6 (R8A73A40)" 115 select ARCH_RMOBILE 116 select ARCH_WANT_OPTIONAL_GPIOLIB 117 select ARM_GIC 118 select CPU_V7 119 select SH_CLK_CPG 120 select RENESAS_IRQC 121 122config ARCH_R8A7740 123 bool "R-Mobile A1 (R8A77400)" 124 select ARCH_RMOBILE 125 select ARCH_WANT_OPTIONAL_GPIOLIB 126 select ARM_GIC 127 select CPU_V7 128 select SH_CLK_CPG 129 select RENESAS_INTC_IRQPIN 130 131config ARCH_R8A7778 132 bool "R-Car M1A (R8A77781)" 133 select ARCH_RCAR_GEN1 134 select ARCH_WANT_OPTIONAL_GPIOLIB 135 select CPU_V7 136 select SH_CLK_CPG 137 select ARM_GIC 138 139config ARCH_R8A7779 140 bool "R-Car H1 (R8A77790)" 141 select ARCH_RCAR_GEN1 142 select ARCH_WANT_OPTIONAL_GPIOLIB 143 select ARM_GIC 144 select CPU_V7 145 select SH_CLK_CPG 146 147config ARCH_R8A7790 148 bool "R-Car H2 (R8A77900)" 149 select ARCH_RCAR_GEN2 150 select ARCH_WANT_OPTIONAL_GPIOLIB 151 select ARM_GIC 152 select CPU_V7 153 select MIGHT_HAVE_PCI 154 select SH_CLK_CPG 155 select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE 156 157config ARCH_R8A7791 158 bool "R-Car M2 (R8A77910)" 159 select ARCH_RCAR_GEN2 160 select ARCH_WANT_OPTIONAL_GPIOLIB 161 select ARM_GIC 162 select CPU_V7 163 select MIGHT_HAVE_PCI 164 select SH_CLK_CPG 165 select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE 166 167config ARCH_R7S72100 168 bool "RZ/A1H (R7S72100)" 169 select ARCH_WANT_OPTIONAL_GPIOLIB 170 select ARM_GIC 171 select CPU_V7 172 select SH_CLK_CPG 173 select SYS_SUPPORTS_SH_MTU2 174 175comment "Renesas ARM SoCs Board Type" 176 177config MACH_APE6EVM 178 bool "APE6EVM board" 179 depends on ARCH_R8A73A4 180 select SMSC_PHY if SMSC911X 181 select USE_OF 182 183config MACH_APE6EVM_REFERENCE 184 bool "APE6EVM board - Reference Device Tree Implementation" 185 depends on ARCH_R8A73A4 186 select SMSC_PHY if SMSC911X 187 select USE_OF 188 ---help--- 189 Use reference implementation of APE6EVM board support 190 which makes a greater use of device tree at the expense 191 of not supporting a number of devices. 192 193 This is intended to aid developers 194 195config MACH_MACKEREL 196 bool "mackerel board" 197 depends on ARCH_SH7372 198 select ARCH_REQUIRE_GPIOLIB 199 select REGULATOR_FIXED_VOLTAGE if REGULATOR 200 select SMSC_PHY if SMSC911X 201 select SND_SOC_AK4642 if SND_SIMPLE_CARD 202 select USE_OF 203 204config MACH_ARMADILLO800EVA 205 bool "Armadillo-800 EVA board" 206 depends on ARCH_R8A7740 207 select ARCH_REQUIRE_GPIOLIB 208 select REGULATOR_FIXED_VOLTAGE if REGULATOR 209 select SMSC_PHY if SH_ETH 210 select SND_SOC_WM8978 if SND_SIMPLE_CARD 211 select USE_OF 212 213config MACH_ARMADILLO800EVA_REFERENCE 214 bool "Armadillo-800 EVA board - Reference Device Tree Implementation" 215 depends on ARCH_R8A7740 216 select ARCH_REQUIRE_GPIOLIB 217 select REGULATOR_FIXED_VOLTAGE if REGULATOR 218 select SMSC_PHY if SH_ETH 219 select SND_SOC_WM8978 if SND_SIMPLE_CARD 220 select USE_OF 221 ---help--- 222 Use reference implementation of Armadillo800 EVA board support 223 which makes greater use of device tree at the expense 224 of not supporting a number of devices. 225 226 This is intended to aid developers 227 228config MACH_BOCKW 229 bool "BOCK-W platform" 230 depends on ARCH_R8A7778 231 select ARCH_REQUIRE_GPIOLIB 232 select REGULATOR_FIXED_VOLTAGE if REGULATOR 233 select SND_SOC_AK4554 if SND_SIMPLE_CARD 234 select SND_SOC_AK4642 if SND_SIMPLE_CARD 235 select USE_OF 236 237config MACH_BOCKW_REFERENCE 238 bool "BOCK-W - Reference Device Tree Implementation" 239 depends on ARCH_R8A7778 240 select ARCH_REQUIRE_GPIOLIB 241 select REGULATOR_FIXED_VOLTAGE if REGULATOR 242 select USE_OF 243 ---help--- 244 Use reference implementation of BockW 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 250config MACH_GENMAI 251 bool "Genmai board" 252 depends on ARCH_R7S72100 253 select USE_OF 254 255config MACH_MARZEN 256 bool "MARZEN board" 257 depends on ARCH_R8A7779 258 select ARCH_REQUIRE_GPIOLIB 259 select REGULATOR_FIXED_VOLTAGE if REGULATOR 260 select USE_OF 261 262config MACH_LAGER 263 bool "Lager board" 264 depends on ARCH_R8A7790 265 select USE_OF 266 select MICREL_PHY if SH_ETH 267 select SND_SOC_AK4642 if SND_SIMPLE_CARD 268 269config MACH_KOELSCH 270 bool "Koelsch board" 271 depends on ARCH_R8A7791 272 select USE_OF 273 select MICREL_PHY if SH_ETH 274 275config MACH_KZM9G 276 bool "KZM-A9-GT board" 277 depends on ARCH_SH73A0 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 326endmenu 327 328endif 329