Kconfig 7.2 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
  21. bool "KZM9D board"
  22. depends on ARCH_EMEV2
  23. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  24. comment "SH-Mobile System Configuration"
  25. endif
  26. if ARCH_SHMOBILE
  27. comment "SH-Mobile System Type"
  28. config ARCH_SH7372
  29. bool "SH-Mobile AP4 (SH7372)"
  30. select ARCH_WANT_OPTIONAL_GPIOLIB
  31. select ARM_CPU_SUSPEND if PM || CPU_IDLE
  32. select CPU_V7
  33. select SH_CLK_CPG
  34. config ARCH_SH73A0
  35. bool "SH-Mobile AG5 (R8A73A00)"
  36. select ARCH_WANT_OPTIONAL_GPIOLIB
  37. select ARM_GIC
  38. select CPU_V7
  39. select I2C
  40. select SH_CLK_CPG
  41. select RENESAS_INTC_IRQPIN
  42. config ARCH_R8A73A4
  43. bool "R-Mobile APE6 (R8A73A40)"
  44. select ARCH_WANT_OPTIONAL_GPIOLIB
  45. select ARM_GIC
  46. select CPU_V7
  47. select SH_CLK_CPG
  48. select RENESAS_IRQC
  49. select ARCH_HAS_CPUFREQ
  50. select ARCH_HAS_OPP
  51. config ARCH_R8A7740
  52. bool "R-Mobile A1 (R8A77400)"
  53. select ARCH_WANT_OPTIONAL_GPIOLIB
  54. select ARM_GIC
  55. select CPU_V7
  56. select SH_CLK_CPG
  57. select RENESAS_INTC_IRQPIN
  58. config ARCH_R8A7778
  59. bool "R-Car M1A (R8A77781)"
  60. select ARCH_WANT_OPTIONAL_GPIOLIB
  61. select CPU_V7
  62. select SH_CLK_CPG
  63. select ARM_GIC
  64. select USB_ARCH_HAS_EHCI
  65. select USB_ARCH_HAS_OHCI
  66. config ARCH_R8A7779
  67. bool "R-Car H1 (R8A77790)"
  68. select ARCH_WANT_OPTIONAL_GPIOLIB
  69. select ARM_GIC
  70. select CPU_V7
  71. select SH_CLK_CPG
  72. select USB_ARCH_HAS_EHCI
  73. select USB_ARCH_HAS_OHCI
  74. select RENESAS_INTC_IRQPIN
  75. config ARCH_R8A7790
  76. bool "R-Car H2 (R8A77900)"
  77. select ARCH_WANT_OPTIONAL_GPIOLIB
  78. select ARM_GIC
  79. select CPU_V7
  80. select SH_CLK_CPG
  81. select RENESAS_IRQC
  82. config ARCH_R8A7791
  83. bool "R-Car M2 (R8A77910)"
  84. select ARM_GIC
  85. select CPU_V7
  86. select SH_CLK_CPG
  87. config ARCH_EMEV2
  88. bool "Emma Mobile EV2"
  89. select ARCH_WANT_OPTIONAL_GPIOLIB
  90. select ARM_GIC
  91. select CPU_V7
  92. config ARCH_R7S72100
  93. bool "RZ/A1H (R7S72100)"
  94. select ARM_GIC
  95. select CPU_V7
  96. select SH_CLK_CPG
  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_GENMAI
  159. bool "Genmai board"
  160. depends on ARCH_R7S72100
  161. select USE_OF
  162. config MACH_MARZEN
  163. bool "MARZEN board"
  164. depends on ARCH_R8A7779
  165. select ARCH_REQUIRE_GPIOLIB
  166. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  167. select USE_OF
  168. config MACH_MARZEN_REFERENCE
  169. bool "MARZEN board - Reference Device Tree Implementation"
  170. depends on ARCH_R8A7779
  171. select ARCH_REQUIRE_GPIOLIB
  172. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  173. select USE_OF
  174. ---help---
  175. Use reference implementation of Marzen board support
  176. which makes use of device tree at the expense
  177. of not supporting a number of devices.
  178. This is intended to aid developers
  179. config MACH_LAGER
  180. bool "Lager board"
  181. depends on ARCH_R8A7790
  182. select USE_OF
  183. config MACH_LAGER_REFERENCE
  184. bool "Lager board - Reference Device Tree Implementation"
  185. depends on ARCH_R8A7790
  186. select USE_OF
  187. ---help---
  188. Use reference implementation of Lager board support
  189. which makes use of device tree at the expense
  190. of not supporting a number of devices.
  191. This is intended to aid developers
  192. config MACH_KOELSCH
  193. bool "Koelsch board"
  194. depends on ARCH_R8A7791
  195. select USE_OF
  196. config MACH_KZM9D
  197. bool "KZM9D board"
  198. depends on ARCH_EMEV2
  199. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  200. select USE_OF
  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