Kconfig 4.4 KB

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