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