Kconfig 4.6 KB

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