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 44comment "Renesas ARM SoCs Board Type" 45 46config MACH_GENMAI 47 bool "Genmai board" 48 depends on ARCH_R7S72100 49 50config MACH_KOELSCH 51 bool "Koelsch board" 52 depends on ARCH_R8A7791 53 select MICREL_PHY if SH_ETH 54 55config MACH_LAGER 56 bool "Lager board" 57 depends on ARCH_R8A7790 58 select MICREL_PHY if SH_ETH 59 60config MACH_MARZEN 61 bool "MARZEN board" 62 depends on ARCH_R8A7779 63 select REGULATOR_FIXED_VOLTAGE if REGULATOR 64 65comment "Renesas ARM SoCs System Configuration" 66endif 67 68if ARCH_SHMOBILE_LEGACY 69 70comment "Renesas ARM SoCs System Type" 71 72config ARCH_SH7372 73 bool "SH-Mobile AP4 (SH7372)" 74 select ARCH_WANT_OPTIONAL_GPIOLIB 75 select ARM_CPU_SUSPEND if PM || CPU_IDLE 76 select CPU_V7 77 select SH_CLK_CPG 78 select SYS_SUPPORTS_SH_CMT 79 select SYS_SUPPORTS_SH_TMU 80 81config ARCH_SH73A0 82 bool "SH-Mobile AG5 (R8A73A00)" 83 select ARCH_WANT_OPTIONAL_GPIOLIB 84 select ARM_GIC 85 select CPU_V7 86 select I2C 87 select SH_CLK_CPG 88 select RENESAS_INTC_IRQPIN 89 select SYS_SUPPORTS_SH_CMT 90 select SYS_SUPPORTS_SH_TMU 91 92config ARCH_R8A73A4 93 bool "R-Mobile APE6 (R8A73A40)" 94 select ARCH_WANT_OPTIONAL_GPIOLIB 95 select ARM_GIC 96 select CPU_V7 97 select SH_CLK_CPG 98 select RENESAS_IRQC 99 select SYS_SUPPORTS_SH_CMT 100 select SYS_SUPPORTS_SH_TMU 101 102config ARCH_R8A7740 103 bool "R-Mobile A1 (R8A77400)" 104 select ARCH_WANT_OPTIONAL_GPIOLIB 105 select ARM_GIC 106 select CPU_V7 107 select SH_CLK_CPG 108 select RENESAS_INTC_IRQPIN 109 select SYS_SUPPORTS_SH_CMT 110 select SYS_SUPPORTS_SH_TMU 111 112config ARCH_R8A7778 113 bool "R-Car M1A (R8A77781)" 114 select ARCH_WANT_OPTIONAL_GPIOLIB 115 select CPU_V7 116 select SH_CLK_CPG 117 select ARM_GIC 118 select SYS_SUPPORTS_SH_TMU 119 select RENESAS_INTC_IRQPIN 120 121config ARCH_R8A7779 122 bool "R-Car H1 (R8A77790)" 123 select ARCH_WANT_OPTIONAL_GPIOLIB 124 select ARM_GIC 125 select CPU_V7 126 select SH_CLK_CPG 127 select RENESAS_INTC_IRQPIN 128 select SYS_SUPPORTS_SH_TMU 129 130config ARCH_R8A7790 131 bool "R-Car H2 (R8A77900)" 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_R8A7791 142 bool "R-Car M2 (R8A77910)" 143 select ARCH_WANT_OPTIONAL_GPIOLIB 144 select ARM_GIC 145 select CPU_V7 146 select MIGHT_HAVE_PCI 147 select SH_CLK_CPG 148 select RENESAS_IRQC 149 select SYS_SUPPORTS_SH_CMT 150 select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE 151 152config ARCH_R7S72100 153 bool "RZ/A1H (R7S72100)" 154 select ARCH_WANT_OPTIONAL_GPIOLIB 155 select ARM_GIC 156 select CPU_V7 157 select SH_CLK_CPG 158 select SYS_SUPPORTS_SH_MTU2 159 160comment "Renesas ARM SoCs Board Type" 161 162config MACH_APE6EVM 163 bool "APE6EVM board" 164 depends on ARCH_R8A73A4 165 select SMSC_PHY if SMSC911X 166 select USE_OF 167 168config MACH_APE6EVM_REFERENCE 169 bool "APE6EVM board - Reference Device Tree Implementation" 170 depends on ARCH_R8A73A4 171 select SMSC_PHY if SMSC911X 172 select USE_OF 173 ---help--- 174 Use reference implementation of APE6EVM board support 175 which makes a greater use of device tree at the expense 176 of not supporting a number of devices. 177 178 This is intended to aid developers 179 180config MACH_MACKEREL 181 bool "mackerel board" 182 depends on ARCH_SH7372 183 select ARCH_REQUIRE_GPIOLIB 184 select REGULATOR_FIXED_VOLTAGE if REGULATOR 185 select SMSC_PHY if SMSC911X 186 select SND_SOC_AK4642 if SND_SIMPLE_CARD 187 select USE_OF 188 189config MACH_ARMADILLO800EVA 190 bool "Armadillo-800 EVA board" 191 depends on ARCH_R8A7740 192 select ARCH_REQUIRE_GPIOLIB 193 select REGULATOR_FIXED_VOLTAGE if REGULATOR 194 select SMSC_PHY if SH_ETH 195 select SND_SOC_WM8978 if SND_SIMPLE_CARD 196 select USE_OF 197 198config MACH_ARMADILLO800EVA_REFERENCE 199 bool "Armadillo-800 EVA board - Reference Device Tree Implementation" 200 depends on ARCH_R8A7740 201 select ARCH_REQUIRE_GPIOLIB 202 select REGULATOR_FIXED_VOLTAGE if REGULATOR 203 select SMSC_PHY if SH_ETH 204 select SND_SOC_WM8978 if SND_SIMPLE_CARD 205 select USE_OF 206 ---help--- 207 Use reference implementation of Armadillo800 EVA board support 208 which makes greater 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_BOCKW 214 bool "BOCK-W platform" 215 depends on ARCH_R8A7778 216 select ARCH_REQUIRE_GPIOLIB 217 select REGULATOR_FIXED_VOLTAGE if REGULATOR 218 select SND_SOC_AK4554 if SND_SIMPLE_CARD 219 select SND_SOC_AK4642 if SND_SIMPLE_CARD 220 select USE_OF 221 222config MACH_BOCKW_REFERENCE 223 bool "BOCK-W - Reference Device Tree Implementation" 224 depends on ARCH_R8A7778 225 select ARCH_REQUIRE_GPIOLIB 226 select REGULATOR_FIXED_VOLTAGE if REGULATOR 227 select USE_OF 228 ---help--- 229 Use reference implementation of BockW 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_GENMAI 236 bool "Genmai board" 237 depends on ARCH_R7S72100 238 select USE_OF 239 240config MACH_MARZEN 241 bool "MARZEN board" 242 depends on ARCH_R8A7779 243 select ARCH_REQUIRE_GPIOLIB 244 select REGULATOR_FIXED_VOLTAGE if REGULATOR 245 select USE_OF 246 247config MACH_LAGER 248 bool "Lager board" 249 depends on ARCH_R8A7790 250 select USE_OF 251 select MICREL_PHY if SH_ETH 252 select SND_SOC_AK4642 if SND_SIMPLE_CARD 253 254config MACH_KOELSCH 255 bool "Koelsch board" 256 depends on ARCH_R8A7791 257 select USE_OF 258 select MICREL_PHY if SH_ETH 259 260config MACH_KZM9G 261 bool "KZM-A9-GT board" 262 depends on ARCH_SH73A0 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 "Renesas ARM SoCs 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 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 Renesas ARM SoC systems using a 32768 Hz RCLK for clock events may 308 want 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 311endmenu 312 313endif 314