Kconfig 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  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_KZM9D
  87. bool "KZM9D board"
  88. depends on ARCH_EMEV2
  89. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  90. select USE_OF
  91. config MACH_KZM9G
  92. bool "KZM-A9-GT board"
  93. depends on ARCH_SH73A0
  94. select ARCH_REQUIRE_GPIOLIB
  95. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  96. select SND_SOC_AK4642 if SND_SIMPLE_CARD
  97. select USE_OF
  98. comment "SH-Mobile System Configuration"
  99. config CPU_HAS_INTEVT
  100. bool
  101. default y
  102. menu "Memory configuration"
  103. config MEMORY_START
  104. hex "Physical memory start address"
  105. default "0x40000000" if MACH_AP4EVB || MACH_AG5EVM || \
  106. MACH_MACKEREL || MACH_BONITO || \
  107. MACH_ARMADILLO800EVA
  108. default "0x41000000" if MACH_KOTA2
  109. default "0x00000000"
  110. ---help---
  111. Tweak this only when porting to a new machine which does not
  112. already have a defconfig. Changing it from the known correct
  113. value on any of the known systems will only lead to disaster.
  114. config MEMORY_SIZE
  115. hex "Physical memory size"
  116. default "0x20000000" if MACH_AG5EVM || MACH_BONITO || \
  117. MACH_ARMADILLO800EVA
  118. default "0x1e000000" if MACH_KOTA2
  119. default "0x10000000" if MACH_AP4EVB || MACH_MACKEREL
  120. default "0x04000000"
  121. help
  122. This sets the default memory size assumed by your kernel. It can
  123. be overridden as normal by the 'mem=' argument on the kernel command
  124. line.
  125. endmenu
  126. menu "Timer and clock configuration"
  127. config SHMOBILE_TIMER_HZ
  128. int "Kernel HZ (jiffies per second)"
  129. range 32 1024
  130. default "128"
  131. help
  132. Allows the configuration of the timer frequency. It is customary
  133. to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
  134. case of low timer frequencies other values may be more suitable.
  135. SH-Mobile systems using a 32768 Hz RCLK for clock events may want
  136. to select a HZ value such as 128 that can evenly divide RCLK.
  137. A HZ value that does not divide evenly may cause timer drift.
  138. config SH_TIMER_CMT
  139. bool "CMT timer driver"
  140. default y
  141. help
  142. This enables build of the CMT timer driver.
  143. config SH_TIMER_TMU
  144. bool "TMU timer driver"
  145. default y
  146. help
  147. This enables build of the TMU timer driver.
  148. config EM_TIMER_STI
  149. bool "STI timer driver"
  150. default y
  151. help
  152. This enables build of the STI timer driver.
  153. endmenu
  154. config SH_CLK_CPG
  155. bool
  156. source "drivers/sh/Kconfig"
  157. endif