1# SPDX-License-Identifier: GPL-2.0 2menu "Board support" 3 4config SOLUTION_ENGINE 5 bool 6 7config SH_ALPHA_BOARD 8 bool 9 10config SH_CUSTOM_CLK 11 def_bool y 12 depends on !SH_DEVICE_TREE 13 select HAVE_LEGACY_CLK 14 15config SH_DEVICE_TREE 16 bool 17 select OF 18 select OF_EARLY_FLATTREE 19 select TIMER_OF 20 select COMMON_CLK 21 select GENERIC_CALIBRATE_DELAY 22 23config SH_JCORE_SOC 24 bool "J-Core SoC" 25 select SH_DEVICE_TREE 26 select CLKSRC_JCORE_PIT 27 select JCORE_AIC 28 depends on CPU_J2 29 help 30 Select this option to include drivers core components of the 31 J-Core SoC, including interrupt controllers and timers. 32 33config SH_SOLUTION_ENGINE 34 bool "SolutionEngine" 35 select SOLUTION_ENGINE 36 select CPU_HAS_IPR_IRQ 37 depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \ 38 CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \ 39 CPU_SUBTYPE_SH7750R 40 help 41 Select SolutionEngine if configuring for a Hitachi SH7705, SH7709, 42 SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board. 43 44config SH_7206_SOLUTION_ENGINE 45 bool "SolutionEngine7206" 46 select SOLUTION_ENGINE 47 depends on CPU_SUBTYPE_SH7206 48 help 49 Select 7206 SolutionEngine if configuring for a Hitachi SH7206 50 evaluation board. 51 52config SH_7619_SOLUTION_ENGINE 53 bool "SolutionEngine7619" 54 select SOLUTION_ENGINE 55 depends on CPU_SUBTYPE_SH7619 56 help 57 Select 7619 SolutionEngine if configuring for a Hitachi SH7619 58 evaluation board. 59 60config SH_7721_SOLUTION_ENGINE 61 bool "SolutionEngine7721" 62 select SOLUTION_ENGINE 63 depends on CPU_SUBTYPE_SH7721 64 help 65 Select 7721 SolutionEngine if configuring for a Hitachi SH7721 66 evaluation board. 67 68config SH_7722_SOLUTION_ENGINE 69 bool "SolutionEngine7722" 70 select SOLUTION_ENGINE 71 select GENERIC_IRQ_CHIP 72 select IRQ_DOMAIN 73 depends on CPU_SUBTYPE_SH7722 74 help 75 Select 7722 SolutionEngine if configuring for a Hitachi SH772 76 evaluation board. 77 78config SH_7724_SOLUTION_ENGINE 79 bool "SolutionEngine7724" 80 select SOLUTION_ENGINE 81 depends on CPU_SUBTYPE_SH7724 82 select GPIOLIB 83 select GPIOLIB_LEGACY 84 select REGULATOR_FIXED_VOLTAGE if REGULATOR 85 imply SND_SOC_AK4642 if SND_SIMPLE_CARD 86 help 87 Select 7724 SolutionEngine if configuring for a Hitachi SH7724 88 evaluation board. 89 90config SH_7751_SOLUTION_ENGINE 91 bool "SolutionEngine7751" 92 select SOLUTION_ENGINE 93 select CPU_HAS_IPR_IRQ 94 depends on CPU_SUBTYPE_SH7751 95 help 96 Select 7751 SolutionEngine if configuring for a Hitachi SH7751 97 evaluation board. 98 99config SH_7780_SOLUTION_ENGINE 100 bool "SolutionEngine7780" 101 select SOLUTION_ENGINE 102 select HAVE_PCI 103 depends on CPU_SUBTYPE_SH7780 104 help 105 Select 7780 SolutionEngine if configuring for a Renesas SH7780 106 evaluation board. 107 108config SH_7343_SOLUTION_ENGINE 109 bool "SolutionEngine7343" 110 select SOLUTION_ENGINE 111 select GENERIC_IRQ_CHIP 112 select IRQ_DOMAIN 113 depends on CPU_SUBTYPE_SH7343 114 help 115 Select 7343 SolutionEngine if configuring for a Hitachi 116 SH7343 (SH-Mobile 3AS) evaluation board. 117 118config SH_HP6XX 119 bool "HP6XX" 120 select SYS_SUPPORTS_APM_EMULATION 121 select HD6446X_SERIES 122 depends on CPU_SUBTYPE_SH7709 123 help 124 Select HP6XX if configuring for a HP jornada HP6xx. 125 More information (hardware only) at 126 <http://www.hp.com/jornada/>. 127 128config SH_DREAMCAST 129 bool "Dreamcast" 130 select HAVE_PCI 131 depends on CPU_SUBTYPE_SH7091 132 help 133 Select Dreamcast if configuring for a SEGA Dreamcast. 134 More information at <http://www.linux-sh.org> 135 136config SH_SH03 137 bool "Interface CTP/PCI-SH03" 138 depends on CPU_SUBTYPE_SH7751 139 select CPU_HAS_IPR_IRQ 140 select HAVE_PCI 141 help 142 CTP/PCI-SH03 is a CPU module computer that is produced 143 by Interface Corporation. 144 More information at <http://www.interface.co.jp> 145 146config SH_SECUREEDGE5410 147 bool "SecureEdge5410" 148 depends on CPU_SUBTYPE_SH7751R 149 select CPU_HAS_IPR_IRQ 150 select HAVE_PCI 151 help 152 Select SecureEdge5410 if configuring for a SnapGear SH board. 153 This includes both the OEM SecureEdge products as well as the 154 SME product line. 155 156config SH_RTS7751R2D 157 bool "RTS7751R2D" 158 depends on CPU_SUBTYPE_SH7751R 159 select HAVE_PCI 160 select IO_TRAPPED if MMU 161 help 162 Select RTS7751R2D if configuring for a Renesas Technology 163 Sales SH-Graphics board. 164 165config SH_RSK 166 bool "Renesas Starter Kit" 167 depends on CPU_SUBTYPE_SH7201 || CPU_SUBTYPE_SH7203 || \ 168 CPU_SUBTYPE_SH7264 || CPU_SUBTYPE_SH7269 169 select REGULATOR_FIXED_VOLTAGE if REGULATOR 170 help 171 Select this option if configuring for any of the RSK+ MCU 172 evaluation platforms. 173 174config SH_SDK7780 175 bool "SDK7780R3" 176 depends on CPU_SUBTYPE_SH7780 177 select HAVE_PCI 178 help 179 Select SDK7780 if configuring for a Renesas SH7780 SDK7780R3 180 evaluation board. 181 182config SH_SDK7786 183 bool "SDK7786" 184 depends on CPU_SUBTYPE_SH7786 185 select HAVE_PCI 186 select NO_IOPORT_MAP if !PCI 187 select HAVE_SRAM_POOL 188 select REGULATOR_FIXED_VOLTAGE if REGULATOR 189 help 190 Select SDK7786 if configuring for a Renesas Technology Europe 191 SH7786-65nm board. 192 193config SH_HIGHLANDER 194 bool "Highlander" 195 depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 196 select HAVE_PCI 197 select IO_TRAPPED if MMU 198 199config SH_SH7757LCR 200 bool "SH7757LCR" 201 depends on CPU_SUBTYPE_SH7757 202 select GPIOLIB 203 select GPIOLIB_LEGACY 204 select REGULATOR_FIXED_VOLTAGE if REGULATOR 205 206config SH_SH7785LCR 207 bool "SH7785LCR" 208 depends on CPU_SUBTYPE_SH7785 209 select HAVE_PCI 210 211config SH_SH7785LCR_29BIT_PHYSMAPS 212 bool "SH7785LCR 29bit physmaps" 213 depends on SH_SH7785LCR && 29BIT 214 default y 215 help 216 This board has 2 physical memory maps. It can be changed with 217 DIP switch(S2-5). If you set the DIP switch for S2-5 = ON, 218 you can access all on-board device in 29bit address mode. 219 220config SH_SH7785LCR_PT 221 bool "SH7785LCR prototype board on 32-bit MMU mode" 222 depends on SH_SH7785LCR && 32BIT 223 default n 224 help 225 If you use prototype board, this option is enabled. 226 227config SH_URQUELL 228 bool "Urquell" 229 depends on CPU_SUBTYPE_SH7786 230 select GPIOLIB 231 select GPIOLIB_LEGACY 232 select HAVE_PCI 233 select NO_IOPORT_MAP if !PCI 234 235config SH_MIGOR 236 bool "Migo-R" 237 depends on CPU_SUBTYPE_SH7722 238 select GPIOLIB 239 select GPIOLIB_LEGACY 240 select REGULATOR_FIXED_VOLTAGE if REGULATOR 241 help 242 Select Migo-R if configuring for the SH7722 Migo-R platform 243 by Renesas System Solutions Asia Pte. Ltd. 244 245config SH_AP325RXA 246 bool "AP-325RXA" 247 depends on CPU_SUBTYPE_SH7723 248 select GPIOLIB 249 select GPIOLIB_LEGACY 250 select REGULATOR_FIXED_VOLTAGE if REGULATOR 251 help 252 Renesas "AP-325RXA" support. 253 Compatible with ALGO SYSTEM CO.,LTD. "AP-320A" 254 255config SH_KFR2R09 256 bool "KFR2R09" 257 depends on CPU_SUBTYPE_SH7724 258 select GPIOLIB 259 select GPIOLIB_LEGACY 260 select REGULATOR_FIXED_VOLTAGE if REGULATOR 261 help 262 "Kit For R2R for 2009" support. 263 264config SH_ECOVEC 265 bool "EcoVec" 266 depends on CPU_SUBTYPE_SH7724 267 select GPIOLIB 268 select GPIOLIB_LEGACY 269 select REGULATOR_FIXED_VOLTAGE if REGULATOR 270 imply SND_SOC_DA7210 if SND_SIMPLE_CARD 271 help 272 Renesas "R0P7724LC0011/21RL (EcoVec)" support. 273 274config SH_SH7763RDP 275 bool "SH7763RDP" 276 depends on CPU_SUBTYPE_SH7763 277 help 278 Select SH7763RDP if configuring for a Renesas SH7763 279 evaluation board. 280 281config SH_ESPT 282 bool "ESPT" 283 depends on CPU_SUBTYPE_SH7763 284 help 285 Select ESPT if configuring for a Renesas SH7763 286 with gigabit ether evaluation board. 287 288config SH_EDOSK7705 289 bool "EDOSK7705" 290 depends on CPU_SUBTYPE_SH7705 291 292config SH_EDOSK7760 293 bool "EDOSK7760" 294 depends on CPU_SUBTYPE_SH7760 295 help 296 Select if configuring for a Renesas EDOSK7760 297 evaluation board. 298 299config SH_LANDISK 300 bool "LANDISK" 301 depends on CPU_SUBTYPE_SH7751R 302 select HAVE_PCI 303 help 304 I-O DATA DEVICE, INC. "LANDISK Series" support. 305 306config SH_TITAN 307 bool "TITAN" 308 depends on CPU_SUBTYPE_SH7751R 309 select CPU_HAS_IPR_IRQ 310 select HAVE_PCI 311 help 312 Select Titan if you are configuring for a Nimble Microsystems 313 NetEngine NP51R. 314 315config SH_SHMIN 316 bool "SHMIN" 317 depends on CPU_SUBTYPE_SH7706 318 select CPU_HAS_IPR_IRQ 319 help 320 Select SHMIN if configuring for the SHMIN board. 321 322config SH_LBOX_RE2 323 bool "L-BOX RE2" 324 depends on CPU_SUBTYPE_SH7751R 325 select HAVE_PCI 326 help 327 Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2. 328 329config SH_X3PROTO 330 bool "SH-X3 Prototype board" 331 depends on CPU_SUBTYPE_SHX3 332 select NO_IOPORT_MAP if !PCI 333 select IRQ_DOMAIN 334 335config SH_MAGIC_PANEL_R2 336 bool "Magic Panel R2" 337 depends on CPU_SUBTYPE_SH7720 338 select GPIOLIB 339 select GPIOLIB_LEGACY 340 select REGULATOR_FIXED_VOLTAGE if REGULATOR 341 help 342 Select Magic Panel R2 if configuring for Magic Panel R2. 343 344config SH_POLARIS 345 bool "SMSC Polaris" 346 select CPU_HAS_IPR_IRQ 347 select REGULATOR_FIXED_VOLTAGE if REGULATOR 348 depends on CPU_SUBTYPE_SH7709 349 help 350 Select if configuring for an SMSC Polaris development board 351 352config SH_SH2007 353 bool "SH-2007 board" 354 select NO_IOPORT_MAP 355 select REGULATOR_FIXED_VOLTAGE if REGULATOR 356 depends on CPU_SUBTYPE_SH7780 357 help 358 SH-2007 is a single-board computer based around SH7780 chip 359 intended for embedded applications. 360 It has an Ethernet interface (SMC9118), direct connected 361 Compact Flash socket, two serial ports and PC-104 bus. 362 363config SH_APSH4A3A 364 bool "AP-SH4A-3A" 365 select SH_ALPHA_BOARD 366 select REGULATOR_FIXED_VOLTAGE if REGULATOR 367 depends on CPU_SUBTYPE_SH7785 368 help 369 Select AP-SH4A-3A if configuring for an ALPHAPROJECT AP-SH4A-3A. 370 371config SH_APSH4AD0A 372 bool "AP-SH4AD-0A" 373 select SH_ALPHA_BOARD 374 select HAVE_PCI 375 select REGULATOR_FIXED_VOLTAGE if REGULATOR 376 depends on CPU_SUBTYPE_SH7786 377 help 378 Select AP-SH4AD-0A if configuring for an ALPHAPROJECT AP-SH4AD-0A. 379 380source "arch/sh/boards/mach-r2d/Kconfig" 381source "arch/sh/boards/mach-highlander/Kconfig" 382source "arch/sh/boards/mach-sdk7780/Kconfig" 383source "arch/sh/boards/mach-migor/Kconfig" 384source "arch/sh/boards/mach-rsk/Kconfig" 385 386if SH_MAGIC_PANEL_R2 387 388menu "Magic Panel R2 options" 389 390config SH_MAGIC_PANEL_R2_VERSION 391 int "Magic Panel R2 Version" 392 default "3" 393 help 394 Set the version of the Magic Panel R2 395 396endmenu 397 398endif 399 400endmenu 401