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