Kconfig 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  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. comment "SH-Mobile Board Type"
  98. config MACH_APE6EVM
  99. bool "APE6EVM board"
  100. depends on ARCH_R8A73A4
  101. select USE_OF
  102. config MACH_APE6EVM_REFERENCE
  103. bool "APE6EVM board - Reference Device Tree Implementation"
  104. depends on ARCH_R8A73A4
  105. select USE_OF
  106. ---help---
  107. Use reference implementation of APE6EVM board support
  108. which makes a greater use of device tree at the expense
  109. of not supporting a number of devices.
  110. This is intended to aid developers
  111. config MACH_MACKEREL
  112. bool "mackerel board"
  113. depends on ARCH_SH7372
  114. select ARCH_REQUIRE_GPIOLIB
  115. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  116. select SND_SOC_AK4642 if SND_SIMPLE_CARD
  117. select USE_OF
  118. config MACH_ARMADILLO800EVA
  119. bool "Armadillo-800 EVA board"
  120. depends on ARCH_R8A7740
  121. select ARCH_REQUIRE_GPIOLIB
  122. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  123. select SND_SOC_WM8978 if SND_SIMPLE_CARD
  124. select USE_OF
  125. config MACH_ARMADILLO800EVA_REFERENCE
  126. bool "Armadillo-800 EVA board - Reference Device Tree Implementation"
  127. depends on ARCH_R8A7740
  128. select ARCH_REQUIRE_GPIOLIB
  129. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  130. select SND_SOC_WM8978 if SND_SIMPLE_CARD
  131. select USE_OF
  132. ---help---
  133. Use reference implementation of Aramdillo800 EVA board support
  134. which makes a greater use of device tree at the expense
  135. of not supporting a number of devices.
  136. This is intended to aid developers
  137. config MACH_BOCKW
  138. bool "BOCK-W platform"
  139. depends on ARCH_R8A7778
  140. select ARCH_REQUIRE_GPIOLIB
  141. select RENESAS_INTC_IRQPIN
  142. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  143. select USE_OF
  144. select SND_SOC_AK4554 if SND_SIMPLE_CARD
  145. select SND_SOC_AK4642 if SND_SIMPLE_CARD
  146. config MACH_BOCKW_REFERENCE
  147. bool "BOCK-W - Reference Device Tree Implementation"
  148. depends on ARCH_R8A7778
  149. select ARCH_REQUIRE_GPIOLIB
  150. select RENESAS_INTC_IRQPIN
  151. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  152. select USE_OF
  153. ---help---
  154. Use reference implementation of BockW board support
  155. which makes use of device tree at the expense
  156. of not supporting a number of devices.
  157. This is intended to aid developers
  158. config MACH_MARZEN
  159. bool "MARZEN board"
  160. depends on ARCH_R8A7779
  161. select ARCH_REQUIRE_GPIOLIB
  162. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  163. select USE_OF
  164. config MACH_MARZEN_REFERENCE
  165. bool "MARZEN board - Reference Device Tree Implementation"
  166. depends on ARCH_R8A7779
  167. select ARCH_REQUIRE_GPIOLIB
  168. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  169. select USE_OF
  170. ---help---
  171. Use reference implementation of Marzen board support
  172. which makes use of device tree at the expense
  173. of not supporting a number of devices.
  174. This is intended to aid developers
  175. config MACH_LAGER
  176. bool "Lager board"
  177. depends on ARCH_R8A7790
  178. select USE_OF
  179. config MACH_LAGER_REFERENCE
  180. bool "Lager board - Reference Device Tree Implementation"
  181. depends on ARCH_R8A7790
  182. select USE_OF
  183. ---help---
  184. Use reference implementation of Lager board support
  185. which makes use of device tree at the expense
  186. of not supporting a number of devices.
  187. This is intended to aid developers
  188. config MACH_KZM9D
  189. bool "KZM9D board"
  190. depends on ARCH_EMEV2
  191. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  192. select USE_OF
  193. config MACH_KZM9D_REFERENCE
  194. bool "KZM9D board - Reference Device Tree Implementation"
  195. depends on ARCH_EMEV2
  196. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  197. select USE_OF
  198. ---help---
  199. Use reference implementation of KZM9D board support
  200. which makes a greater use of device tree at the expense
  201. of not supporting a number of devices.
  202. This is intended to aid developers
  203. config MACH_KZM9G
  204. bool "KZM-A9-GT board"
  205. depends on ARCH_SH73A0
  206. select ARCH_HAS_CPUFREQ
  207. select ARCH_HAS_OPP
  208. select ARCH_REQUIRE_GPIOLIB
  209. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  210. select SND_SOC_AK4642 if SND_SIMPLE_CARD
  211. select USE_OF
  212. config MACH_KZM9G_REFERENCE
  213. bool "KZM-A9-GT board - Reference Device Tree Implementation"
  214. depends on ARCH_SH73A0
  215. select ARCH_REQUIRE_GPIOLIB
  216. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  217. select SND_SOC_AK4642 if SND_SIMPLE_CARD
  218. select USE_OF
  219. ---help---
  220. Use reference implementation of KZM-A9-GT board support
  221. which makes as greater use of device tree at the expense
  222. of not supporting a number of devices.
  223. This is intended to aid developers
  224. comment "SH-Mobile System Configuration"
  225. config CPU_HAS_INTEVT
  226. bool
  227. default y
  228. config SH_CLK_CPG
  229. bool
  230. source "drivers/sh/Kconfig"
  231. endif
  232. if ARCH_SHMOBILE || ARCH_SHMOBILE_MULTI
  233. menu "Timer and clock configuration"
  234. config SHMOBILE_TIMER_HZ
  235. int "Kernel HZ (jiffies per second)"
  236. range 32 1024
  237. default "128"
  238. help
  239. Allows the configuration of the timer frequency. It is customary
  240. to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
  241. case of low timer frequencies other values may be more suitable.
  242. SH-Mobile systems using a 32768 Hz RCLK for clock events may want
  243. to select a HZ value such as 128 that can evenly divide RCLK.
  244. A HZ value that does not divide evenly may cause timer drift.
  245. config SH_TIMER_CMT
  246. bool "CMT timer driver"
  247. default y
  248. help
  249. This enables build of the CMT timer driver.
  250. config SH_TIMER_TMU
  251. bool "TMU timer driver"
  252. default y
  253. help
  254. This enables build of the TMU timer driver.
  255. config EM_TIMER_STI
  256. bool "STI timer driver"
  257. default y
  258. help
  259. This enables build of the STI timer driver.
  260. endmenu
  261. endif