Kconfig 7.6 KB

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