Kconfig 6.0 KB

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