Kconfig 7.4 KB

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