Kconfig 7.8 KB

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