Kconfig 4.3 KB

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