Kconfig 6.4 KB

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