Kconfig 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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. config ARCH_R8A7740
  17. bool "R-Mobile A1 (R8A77400)"
  18. select ARCH_WANT_OPTIONAL_GPIOLIB
  19. select CPU_V7
  20. select SH_CLK_CPG
  21. config ARCH_R8A7779
  22. bool "R-Car H1 (R8A77790)"
  23. select ARCH_WANT_OPTIONAL_GPIOLIB
  24. select ARM_GIC
  25. select CPU_V7
  26. select SH_CLK_CPG
  27. select USB_ARCH_HAS_EHCI
  28. select USB_ARCH_HAS_OHCI
  29. config ARCH_EMEV2
  30. bool "Emma Mobile EV2"
  31. select ARCH_WANT_OPTIONAL_GPIOLIB
  32. select ARM_GIC
  33. select CPU_V7
  34. comment "SH-Mobile Board Type"
  35. config MACH_AP4EVB
  36. bool "AP4EVB board"
  37. depends on ARCH_SH7372
  38. select ARCH_REQUIRE_GPIOLIB
  39. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  40. select SH_LCD_MIPI_DSI
  41. select SND_SOC_AK4642 if SND_SIMPLE_CARD
  42. choice
  43. prompt "AP4EVB LCD panel selection"
  44. default AP4EVB_QHD
  45. depends on MACH_AP4EVB
  46. config AP4EVB_QHD
  47. bool "MIPI-DSI QHD (960x540)"
  48. config AP4EVB_WVGA
  49. bool "Parallel WVGA (800x480)"
  50. endchoice
  51. config MACH_AG5EVM
  52. bool "AG5EVM board"
  53. depends on ARCH_SH73A0
  54. select ARCH_REQUIRE_GPIOLIB
  55. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  56. select SH_LCD_MIPI_DSI
  57. config MACH_MACKEREL
  58. bool "mackerel board"
  59. depends on ARCH_SH7372
  60. select ARCH_REQUIRE_GPIOLIB
  61. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  62. select SND_SOC_AK4642 if SND_SIMPLE_CARD
  63. select USE_OF
  64. config MACH_KOTA2
  65. bool "KOTA2 board"
  66. depends on ARCH_SH73A0
  67. select ARCH_REQUIRE_GPIOLIB
  68. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  69. config MACH_BONITO
  70. bool "bonito board"
  71. depends on ARCH_R8A7740
  72. select ARCH_REQUIRE_GPIOLIB
  73. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  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_MARZEN
  82. bool "MARZEN board"
  83. depends on ARCH_R8A7779
  84. select ARCH_REQUIRE_GPIOLIB
  85. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  86. config MACH_MARZEN_REFERENCE
  87. bool "MARZEN board - Reference Device Tree Implementation"
  88. depends on ARCH_R8A7779
  89. select ARCH_REQUIRE_GPIOLIB
  90. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  91. select USE_OF
  92. ---help---
  93. Use reference implementation of Marzen board support
  94. which makes use of device tree at the expense
  95. of not supporting a number of devices.
  96. This is intended to aid developers
  97. config MACH_KZM9D
  98. bool "KZM9D board"
  99. depends on ARCH_EMEV2
  100. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  101. select USE_OF
  102. config MACH_KZM9G
  103. bool "KZM-A9-GT board"
  104. depends on ARCH_SH73A0
  105. select ARCH_REQUIRE_GPIOLIB
  106. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  107. select SND_SOC_AK4642 if SND_SIMPLE_CARD
  108. select USE_OF
  109. config MACH_KZM9G_REFERENCE
  110. bool "KZM-A9-GT board - Reference Device Tree Implementation"
  111. depends on MACH_KZM9G
  112. ---help---
  113. Use reference implementation of KZM-A9-GT board support
  114. which makes as greater use of device tree at the expense
  115. of not supporting a number of devices.
  116. This is intended to aid developers
  117. comment "SH-Mobile System Configuration"
  118. config CPU_HAS_INTEVT
  119. bool
  120. default y
  121. menu "Memory configuration"
  122. config MEMORY_START
  123. hex "Physical memory start address"
  124. default "0x40000000" if MACH_AP4EVB || MACH_AG5EVM || \
  125. MACH_MACKEREL || MACH_BONITO || \
  126. MACH_ARMADILLO800EVA
  127. default "0x41000000" if MACH_KOTA2
  128. default "0x00000000"
  129. ---help---
  130. Tweak this only when porting to a new machine which does not
  131. already have a defconfig. Changing it from the known correct
  132. value on any of the known systems will only lead to disaster.
  133. config MEMORY_SIZE
  134. hex "Physical memory size"
  135. default "0x20000000" if MACH_AG5EVM || MACH_BONITO || \
  136. MACH_ARMADILLO800EVA
  137. default "0x1e000000" if MACH_KOTA2
  138. default "0x10000000" if MACH_AP4EVB || MACH_MACKEREL
  139. default "0x04000000"
  140. help
  141. This sets the default memory size assumed by your kernel. It can
  142. be overridden as normal by the 'mem=' argument on the kernel command
  143. line.
  144. endmenu
  145. menu "Timer and clock configuration"
  146. config SHMOBILE_TIMER_HZ
  147. int "Kernel HZ (jiffies per second)"
  148. range 32 1024
  149. default "128"
  150. help
  151. Allows the configuration of the timer frequency. It is customary
  152. to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
  153. case of low timer frequencies other values may be more suitable.
  154. SH-Mobile systems using a 32768 Hz RCLK for clock events may want
  155. to select a HZ value such as 128 that can evenly divide RCLK.
  156. A HZ value that does not divide evenly may cause timer drift.
  157. config SH_TIMER_CMT
  158. bool "CMT timer driver"
  159. default y
  160. help
  161. This enables build of the CMT timer driver.
  162. config SH_TIMER_TMU
  163. bool "TMU timer driver"
  164. default y
  165. help
  166. This enables build of the TMU timer driver.
  167. config EM_TIMER_STI
  168. bool "STI timer driver"
  169. default y
  170. help
  171. This enables build of the STI timer driver.
  172. endmenu
  173. config SH_CLK_CPG
  174. bool
  175. source "drivers/sh/Kconfig"
  176. endif