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