Kconfig 7.5 KB

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