Kconfig 5.6 KB

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