Kconfig 4.5 KB

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