Kconfig 7.4 KB

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