Kconfig 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  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 HAVE_ARM_ARCH_TIMER
  53. select SH_CLK_CPG
  54. select RENESAS_IRQC
  55. config ARCH_R8A7740
  56. bool "R-Mobile A1 (R8A77400)"
  57. select ARCH_WANT_OPTIONAL_GPIOLIB
  58. select ARM_GIC
  59. select CPU_V7
  60. select SH_CLK_CPG
  61. select RENESAS_INTC_IRQPIN
  62. config ARCH_R8A7778
  63. bool "R-Car M1A (R8A77781)"
  64. select ARCH_WANT_OPTIONAL_GPIOLIB
  65. select CPU_V7
  66. select SH_CLK_CPG
  67. select ARM_GIC
  68. select USB_ARCH_HAS_EHCI
  69. select USB_ARCH_HAS_OHCI
  70. config ARCH_R8A7779
  71. bool "R-Car H1 (R8A77790)"
  72. select ARCH_WANT_OPTIONAL_GPIOLIB
  73. select ARM_GIC
  74. select CPU_V7
  75. select SH_CLK_CPG
  76. select USB_ARCH_HAS_EHCI
  77. select USB_ARCH_HAS_OHCI
  78. select RENESAS_INTC_IRQPIN
  79. config ARCH_R8A7790
  80. bool "R-Car H2 (R8A77900)"
  81. select ARCH_WANT_OPTIONAL_GPIOLIB
  82. select ARM_GIC
  83. select CPU_V7
  84. select HAVE_ARM_ARCH_TIMER
  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_AG5EVM
  94. bool "AG5EVM board"
  95. depends on ARCH_SH73A0
  96. select ARCH_REQUIRE_GPIOLIB
  97. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  98. select SH_LCD_MIPI_DSI
  99. config MACH_APE6EVM
  100. bool "APE6EVM board"
  101. depends on ARCH_R8A73A4
  102. select USE_OF
  103. config MACH_MACKEREL
  104. bool "mackerel board"
  105. depends on ARCH_SH7372
  106. select ARCH_REQUIRE_GPIOLIB
  107. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  108. select SND_SOC_AK4642 if SND_SIMPLE_CARD
  109. select USE_OF
  110. config MACH_KOTA2
  111. bool "KOTA2 board"
  112. depends on ARCH_SH73A0
  113. select ARCH_REQUIRE_GPIOLIB
  114. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  115. config MACH_ARMADILLO800EVA
  116. bool "Armadillo-800 EVA board"
  117. depends on ARCH_R8A7740
  118. select ARCH_REQUIRE_GPIOLIB
  119. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  120. select SND_SOC_WM8978 if SND_SIMPLE_CARD
  121. select USE_OF
  122. config MACH_ARMADILLO800EVA_REFERENCE
  123. bool "Armadillo-800 EVA board - Reference Device Tree Implementation"
  124. depends on ARCH_R8A7740
  125. select ARCH_REQUIRE_GPIOLIB
  126. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  127. select SND_SOC_WM8978 if SND_SIMPLE_CARD
  128. select USE_OF
  129. ---help---
  130. Use reference implementation of Aramdillo800 EVA board support
  131. which makes a greater use of device tree at the expense
  132. of not supporting a number of devices.
  133. This is intended to aid developers
  134. config MACH_BOCKW
  135. bool "BOCK-W platform"
  136. depends on ARCH_R8A7778
  137. select ARCH_REQUIRE_GPIOLIB
  138. select RENESAS_INTC_IRQPIN
  139. select USE_OF
  140. config MACH_MARZEN
  141. bool "MARZEN board"
  142. depends on ARCH_R8A7779
  143. select ARCH_REQUIRE_GPIOLIB
  144. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  145. config MACH_MARZEN_REFERENCE
  146. bool "MARZEN board - Reference Device Tree Implementation"
  147. depends on ARCH_R8A7779
  148. select ARCH_REQUIRE_GPIOLIB
  149. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  150. select USE_OF
  151. ---help---
  152. Use reference implementation of Marzen 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_LAGER
  157. bool "Lager board"
  158. depends on ARCH_R8A7790
  159. select USE_OF
  160. config MACH_KZM9D
  161. bool "KZM9D board"
  162. depends on ARCH_EMEV2
  163. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  164. select USE_OF
  165. config MACH_KZM9D_REFERENCE
  166. bool "KZM9D board - Reference Device Tree Implementation"
  167. depends on ARCH_EMEV2
  168. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  169. select USE_OF
  170. ---help---
  171. Use reference implementation of KZM9D board support
  172. which makes a greater 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_KZM9G
  176. bool "KZM-A9-GT board"
  177. depends on ARCH_SH73A0
  178. select ARCH_HAS_CPUFREQ
  179. select ARCH_HAS_OPP
  180. select ARCH_REQUIRE_GPIOLIB
  181. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  182. select SND_SOC_AK4642 if SND_SIMPLE_CARD
  183. select USE_OF
  184. config MACH_KZM9G_REFERENCE
  185. bool "KZM-A9-GT board - Reference Device Tree Implementation"
  186. depends on ARCH_SH73A0
  187. select ARCH_REQUIRE_GPIOLIB
  188. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  189. select SND_SOC_AK4642 if SND_SIMPLE_CARD
  190. select USE_OF
  191. ---help---
  192. Use reference implementation of KZM-A9-GT board support
  193. which makes as greater use of device tree at the expense
  194. of not supporting a number of devices.
  195. This is intended to aid developers
  196. comment "SH-Mobile System Configuration"
  197. config CPU_HAS_INTEVT
  198. bool
  199. default y
  200. config SH_CLK_CPG
  201. bool
  202. source "drivers/sh/Kconfig"
  203. endif
  204. if ARCH_SHMOBILE || ARCH_SHMOBILE_MULTI
  205. menu "Timer and clock configuration"
  206. config SHMOBILE_TIMER_HZ
  207. int "Kernel HZ (jiffies per second)"
  208. range 32 1024
  209. default "128"
  210. help
  211. Allows the configuration of the timer frequency. It is customary
  212. to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
  213. case of low timer frequencies other values may be more suitable.
  214. SH-Mobile systems using a 32768 Hz RCLK for clock events may want
  215. to select a HZ value such as 128 that can evenly divide RCLK.
  216. A HZ value that does not divide evenly may cause timer drift.
  217. config SH_TIMER_CMT
  218. bool "CMT timer driver"
  219. default y
  220. help
  221. This enables build of the CMT timer driver.
  222. config SH_TIMER_TMU
  223. bool "TMU timer driver"
  224. default y
  225. help
  226. This enables build of the TMU timer driver.
  227. config EM_TIMER_STI
  228. bool "STI timer driver"
  229. default y
  230. help
  231. This enables build of the STI timer driver.
  232. endmenu
  233. endif