Kconfig 10 KB

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