Kconfig 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  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_MACKEREL
  68. bool "mackerel board"
  69. depends on ARCH_SH7372
  70. select ARCH_REQUIRE_GPIOLIB
  71. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  72. select SND_SOC_AK4642 if SND_SIMPLE_CARD
  73. select USE_OF
  74. config MACH_ARMADILLO800EVA
  75. bool "Armadillo-800 EVA board"
  76. depends on ARCH_R8A7740
  77. select ARCH_REQUIRE_GPIOLIB
  78. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  79. select SND_SOC_WM8978 if SND_SIMPLE_CARD
  80. select USE_OF
  81. config MACH_ARMADILLO800EVA_REFERENCE
  82. bool "Armadillo-800 EVA board - Reference Device Tree Implementation"
  83. depends on ARCH_R8A7740
  84. select ARCH_REQUIRE_GPIOLIB
  85. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  86. select SND_SOC_WM8978 if SND_SIMPLE_CARD
  87. select USE_OF
  88. ---help---
  89. Use reference implementation of Aramdillo800 EVA board support
  90. which makes a greater use of device tree at the expense
  91. of not supporting a number of devices.
  92. This is intended to aid developers
  93. config MACH_BOCKW
  94. bool "BOCK-W platform"
  95. depends on ARCH_R8A7778
  96. select ARCH_REQUIRE_GPIOLIB
  97. select RENESAS_INTC_IRQPIN
  98. select USE_OF
  99. config MACH_MARZEN
  100. bool "MARZEN board"
  101. depends on ARCH_R8A7779
  102. select ARCH_REQUIRE_GPIOLIB
  103. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  104. config MACH_MARZEN_REFERENCE
  105. bool "MARZEN board - Reference Device Tree Implementation"
  106. depends on ARCH_R8A7779
  107. select ARCH_REQUIRE_GPIOLIB
  108. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  109. select USE_OF
  110. ---help---
  111. Use reference implementation of Marzen board support
  112. which makes use of device tree at the expense
  113. of not supporting a number of devices.
  114. This is intended to aid developers
  115. config MACH_LAGER
  116. bool "Lager board"
  117. depends on ARCH_R8A7790
  118. select USE_OF
  119. config MACH_KZM9D
  120. bool "KZM9D board"
  121. depends on ARCH_EMEV2
  122. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  123. select USE_OF
  124. config MACH_KZM9D_REFERENCE
  125. bool "KZM9D board - Reference Device Tree Implementation"
  126. depends on ARCH_EMEV2
  127. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  128. select USE_OF
  129. ---help---
  130. Use reference implementation of KZM9D 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_KZM9G
  135. bool "KZM-A9-GT board"
  136. depends on ARCH_SH73A0
  137. select ARCH_HAS_CPUFREQ
  138. select ARCH_HAS_OPP
  139. select ARCH_REQUIRE_GPIOLIB
  140. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  141. select SND_SOC_AK4642 if SND_SIMPLE_CARD
  142. select USE_OF
  143. config MACH_KZM9G_REFERENCE
  144. bool "KZM-A9-GT board - Reference Device Tree Implementation"
  145. depends on ARCH_SH73A0
  146. select ARCH_REQUIRE_GPIOLIB
  147. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  148. select SND_SOC_AK4642 if SND_SIMPLE_CARD
  149. select USE_OF
  150. ---help---
  151. Use reference implementation of KZM-A9-GT board support
  152. which makes as greater use of device tree at the expense
  153. of not supporting a number of devices.
  154. This is intended to aid developers
  155. comment "SH-Mobile System Configuration"
  156. config CPU_HAS_INTEVT
  157. bool
  158. default y
  159. menu "Timer and clock configuration"
  160. config SHMOBILE_TIMER_HZ
  161. int "Kernel HZ (jiffies per second)"
  162. range 32 1024
  163. default "128"
  164. help
  165. Allows the configuration of the timer frequency. It is customary
  166. to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
  167. case of low timer frequencies other values may be more suitable.
  168. SH-Mobile systems using a 32768 Hz RCLK for clock events may want
  169. to select a HZ value such as 128 that can evenly divide RCLK.
  170. A HZ value that does not divide evenly may cause timer drift.
  171. config SH_TIMER_CMT
  172. bool "CMT timer driver"
  173. default y
  174. help
  175. This enables build of the CMT timer driver.
  176. config SH_TIMER_TMU
  177. bool "TMU timer driver"
  178. default y
  179. help
  180. This enables build of the TMU timer driver.
  181. config EM_TIMER_STI
  182. bool "STI timer driver"
  183. default y
  184. help
  185. This enables build of the STI timer driver.
  186. endmenu
  187. config SH_CLK_CPG
  188. bool
  189. source "drivers/sh/Kconfig"
  190. endif