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