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