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 178config MACH_BOCKW_REFERENCE 179 bool "BOCK-W - Reference Device Tree Implementation" 180 depends on ARCH_R8A7778 181 select ARCH_REQUIRE_GPIOLIB 182 select RENESAS_INTC_IRQPIN 183 select REGULATOR_FIXED_VOLTAGE if REGULATOR 184 select USE_OF 185 ---help--- 186 Use reference implementation of BockW board support 187 which makes use of device tree at the expense 188 of not supporting a number of devices. 189 190 This is intended to aid developers 191 192config MACH_MARZEN 193 bool "MARZEN board" 194 depends on ARCH_R8A7779 195 select ARCH_REQUIRE_GPIOLIB 196 select REGULATOR_FIXED_VOLTAGE if REGULATOR 197 select USE_OF 198 199config MACH_MARZEN_REFERENCE 200 bool "MARZEN board - Reference Device Tree Implementation" 201 depends on ARCH_R8A7779 202 select ARCH_REQUIRE_GPIOLIB 203 select REGULATOR_FIXED_VOLTAGE if REGULATOR 204 select USE_OF 205 ---help--- 206 Use reference implementation of Marzen board support 207 which makes use of device tree at the expense 208 of not supporting a number of devices. 209 210 This is intended to aid developers 211 212config MACH_LAGER 213 bool "Lager board" 214 depends on ARCH_R8A7790 215 select USE_OF 216 217config MACH_LAGER_REFERENCE 218 bool "Lager board - Reference Device Tree Implementation" 219 depends on ARCH_R8A7790 220 select USE_OF 221 ---help--- 222 Use reference implementation of Lager board support 223 which makes 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_KZM9D 229 bool "KZM9D board" 230 depends on ARCH_EMEV2 231 select REGULATOR_FIXED_VOLTAGE if REGULATOR 232 select USE_OF 233 234config MACH_KZM9D_REFERENCE 235 bool "KZM9D board - Reference Device Tree Implementation" 236 depends on ARCH_EMEV2 237 select REGULATOR_FIXED_VOLTAGE if REGULATOR 238 select USE_OF 239 ---help--- 240 Use reference implementation of KZM9D board support 241 which makes a greater use of device tree at the expense 242 of not supporting a number of devices. 243 244 This is intended to aid developers 245 246config MACH_KZM9G 247 bool "KZM-A9-GT board" 248 depends on ARCH_SH73A0 249 select ARCH_HAS_CPUFREQ 250 select ARCH_HAS_OPP 251 select ARCH_REQUIRE_GPIOLIB 252 select REGULATOR_FIXED_VOLTAGE if REGULATOR 253 select SND_SOC_AK4642 if SND_SIMPLE_CARD 254 select USE_OF 255 256config MACH_KZM9G_REFERENCE 257 bool "KZM-A9-GT board - Reference Device Tree Implementation" 258 depends on ARCH_SH73A0 259 select ARCH_REQUIRE_GPIOLIB 260 select REGULATOR_FIXED_VOLTAGE if REGULATOR 261 select SND_SOC_AK4642 if SND_SIMPLE_CARD 262 select USE_OF 263 ---help--- 264 Use reference implementation of KZM-A9-GT board support 265 which makes as greater use of device tree at the expense 266 of not supporting a number of devices. 267 268 This is intended to aid developers 269 270comment "SH-Mobile System Configuration" 271 272config CPU_HAS_INTEVT 273 bool 274 default y 275 276config SH_CLK_CPG 277 bool 278 279source "drivers/sh/Kconfig" 280 281endif 282 283if ARCH_SHMOBILE || ARCH_SHMOBILE_MULTI 284 285menu "Timer and clock configuration" 286 287config SHMOBILE_TIMER_HZ 288 int "Kernel HZ (jiffies per second)" 289 range 32 1024 290 default "128" 291 help 292 Allows the configuration of the timer frequency. It is customary 293 to have the timer interrupt run at 1000 Hz or 100 Hz, but in the 294 case of low timer frequencies other values may be more suitable. 295 SH-Mobile systems using a 32768 Hz RCLK for clock events may want 296 to select a HZ value such as 128 that can evenly divide RCLK. 297 A HZ value that does not divide evenly may cause timer drift. 298 299config SH_TIMER_CMT 300 bool "CMT timer driver" 301 default y 302 help 303 This enables build of the CMT timer driver. 304 305config SH_TIMER_TMU 306 bool "TMU timer driver" 307 default y 308 help 309 This enables build of the TMU timer driver. 310 311config EM_TIMER_STI 312 bool "STI timer driver" 313 default y 314 help 315 This enables build of the STI timer driver. 316 317endmenu 318 319endif 320