Kconfig 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  1. if ARCH_SHMOBILE
  2. comment "SH-Mobile System Type"
  3. config ARCH_SH7372
  4. bool "SH-Mobile AP4 (SH7372)"
  5. select ARCH_WANT_OPTIONAL_GPIOLIB
  6. select ARM_CPU_SUSPEND if PM || CPU_IDLE
  7. select CPU_V7
  8. select SH_CLK_CPG
  9. config ARCH_SH73A0
  10. bool "SH-Mobile AG5 (R8A73A00)"
  11. select ARCH_WANT_OPTIONAL_GPIOLIB
  12. select ARM_GIC
  13. select CPU_V7
  14. select I2C
  15. select SH_CLK_CPG
  16. select RENESAS_INTC_IRQPIN
  17. config ARCH_R8A73A4
  18. bool "R-Mobile APE6 (R8A73A40)"
  19. select ARCH_WANT_OPTIONAL_GPIOLIB
  20. select ARM_GIC
  21. select CPU_V7
  22. select SH_CLK_CPG
  23. select RENESAS_IRQC
  24. select ARCH_HAS_CPUFREQ
  25. select ARCH_HAS_OPP
  26. config ARCH_R8A7740
  27. bool "R-Mobile A1 (R8A77400)"
  28. select ARCH_WANT_OPTIONAL_GPIOLIB
  29. select ARM_GIC
  30. select CPU_V7
  31. select SH_CLK_CPG
  32. select RENESAS_INTC_IRQPIN
  33. config ARCH_R8A7778
  34. bool "R-Car M1A (R8A77781)"
  35. select ARCH_WANT_OPTIONAL_GPIOLIB
  36. select CPU_V7
  37. select SH_CLK_CPG
  38. select ARM_GIC
  39. select USB_ARCH_HAS_EHCI
  40. select USB_ARCH_HAS_OHCI
  41. config ARCH_R8A7779
  42. bool "R-Car H1 (R8A77790)"
  43. select ARCH_WANT_OPTIONAL_GPIOLIB
  44. select ARM_GIC
  45. select CPU_V7
  46. select SH_CLK_CPG
  47. select USB_ARCH_HAS_EHCI
  48. select USB_ARCH_HAS_OHCI
  49. select RENESAS_INTC_IRQPIN
  50. config ARCH_R8A7790
  51. bool "R-Car H2 (R8A77900)"
  52. select ARCH_WANT_OPTIONAL_GPIOLIB
  53. select ARM_GIC
  54. select CPU_V7
  55. select SH_CLK_CPG
  56. select RENESAS_IRQC
  57. config ARCH_EMEV2
  58. bool "Emma Mobile EV2"
  59. select ARCH_WANT_OPTIONAL_GPIOLIB
  60. select ARM_GIC
  61. select CPU_V7
  62. comment "SH-Mobile Board Type"
  63. config MACH_APE6EVM
  64. bool "APE6EVM board"
  65. depends on ARCH_R8A73A4
  66. select USE_OF
  67. config MACH_APE6EVM_REFERENCE
  68. bool "APE6EVM board - Reference Device Tree Implementation"
  69. depends on ARCH_R8A73A4
  70. select USE_OF
  71. ---help---
  72. Use reference implementation of APE6EVM board support
  73. which makes a greater use of device tree at the expense
  74. of not supporting a number of devices.
  75. This is intended to aid developers
  76. config MACH_MACKEREL
  77. bool "mackerel board"
  78. depends on ARCH_SH7372
  79. select ARCH_REQUIRE_GPIOLIB
  80. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  81. select SND_SOC_AK4642 if SND_SIMPLE_CARD
  82. select USE_OF
  83. config MACH_ARMADILLO800EVA
  84. bool "Armadillo-800 EVA board"
  85. depends on ARCH_R8A7740
  86. select ARCH_REQUIRE_GPIOLIB
  87. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  88. select SND_SOC_WM8978 if SND_SIMPLE_CARD
  89. select USE_OF
  90. config MACH_ARMADILLO800EVA_REFERENCE
  91. bool "Armadillo-800 EVA board - Reference Device Tree Implementation"
  92. depends on ARCH_R8A7740
  93. select ARCH_REQUIRE_GPIOLIB
  94. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  95. select SND_SOC_WM8978 if SND_SIMPLE_CARD
  96. select USE_OF
  97. ---help---
  98. Use reference implementation of Aramdillo800 EVA board support
  99. which makes a greater use of device tree at the expense
  100. of not supporting a number of devices.
  101. This is intended to aid developers
  102. config MACH_BOCKW
  103. bool "BOCK-W platform"
  104. depends on ARCH_R8A7778
  105. select ARCH_REQUIRE_GPIOLIB
  106. select RENESAS_INTC_IRQPIN
  107. select USE_OF
  108. config MACH_BOCKW_REFERENCE
  109. bool "BOCK-W - Reference Device Tree Implementation"
  110. depends on ARCH_R8A7778
  111. select ARCH_REQUIRE_GPIOLIB
  112. select RENESAS_INTC_IRQPIN
  113. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  114. select USE_OF
  115. ---help---
  116. Use reference implementation of BockW board support
  117. which makes use of device tree at the expense
  118. of not supporting a number of devices.
  119. This is intended to aid developers
  120. config MACH_MARZEN
  121. bool "MARZEN board"
  122. depends on ARCH_R8A7779
  123. select ARCH_REQUIRE_GPIOLIB
  124. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  125. select USE_OF
  126. config MACH_MARZEN_REFERENCE
  127. bool "MARZEN board - Reference Device Tree Implementation"
  128. depends on ARCH_R8A7779
  129. select ARCH_REQUIRE_GPIOLIB
  130. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  131. select USE_OF
  132. ---help---
  133. Use reference implementation of Marzen board support
  134. which makes 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_LAGER
  138. bool "Lager board"
  139. depends on ARCH_R8A7790
  140. select USE_OF
  141. config MACH_LAGER_REFERENCE
  142. bool "Lager board - Reference Device Tree Implementation"
  143. depends on ARCH_R8A7790
  144. select USE_OF
  145. ---help---
  146. Use reference implementation of Lager board support
  147. which makes use of device tree at the expense
  148. of not supporting a number of devices.
  149. This is intended to aid developers
  150. config MACH_KZM9D
  151. bool "KZM9D board"
  152. depends on ARCH_EMEV2
  153. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  154. select USE_OF
  155. config MACH_KZM9D_REFERENCE
  156. bool "KZM9D board - Reference Device Tree Implementation"
  157. depends on ARCH_EMEV2
  158. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  159. select USE_OF
  160. ---help---
  161. Use reference implementation of KZM9D board support
  162. which makes a greater use of device tree at the expense
  163. of not supporting a number of devices.
  164. This is intended to aid developers
  165. config MACH_KZM9G
  166. bool "KZM-A9-GT board"
  167. depends on ARCH_SH73A0
  168. select ARCH_HAS_CPUFREQ
  169. select ARCH_HAS_OPP
  170. select ARCH_REQUIRE_GPIOLIB
  171. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  172. select SND_SOC_AK4642 if SND_SIMPLE_CARD
  173. select USE_OF
  174. config MACH_KZM9G_REFERENCE
  175. bool "KZM-A9-GT board - Reference Device Tree Implementation"
  176. depends on ARCH_SH73A0
  177. select ARCH_REQUIRE_GPIOLIB
  178. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  179. select SND_SOC_AK4642 if SND_SIMPLE_CARD
  180. select USE_OF
  181. ---help---
  182. Use reference implementation of KZM-A9-GT board support
  183. which makes as greater use of device tree at the expense
  184. of not supporting a number of devices.
  185. This is intended to aid developers
  186. comment "SH-Mobile System Configuration"
  187. config CPU_HAS_INTEVT
  188. bool
  189. default y
  190. menu "Timer and clock configuration"
  191. config SHMOBILE_TIMER_HZ
  192. int "Kernel HZ (jiffies per second)"
  193. range 32 1024
  194. default "128"
  195. help
  196. Allows the configuration of the timer frequency. It is customary
  197. to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
  198. case of low timer frequencies other values may be more suitable.
  199. SH-Mobile systems using a 32768 Hz RCLK for clock events may want
  200. to select a HZ value such as 128 that can evenly divide RCLK.
  201. A HZ value that does not divide evenly may cause timer drift.
  202. config SH_TIMER_CMT
  203. bool "CMT timer driver"
  204. default y
  205. help
  206. This enables build of the CMT timer driver.
  207. config SH_TIMER_TMU
  208. bool "TMU timer driver"
  209. default y
  210. help
  211. This enables build of the TMU timer driver.
  212. config EM_TIMER_STI
  213. bool "STI timer driver"
  214. default y
  215. help
  216. This enables build of the STI timer driver.
  217. endmenu
  218. config SH_CLK_CPG
  219. bool
  220. source "drivers/sh/Kconfig"
  221. endif