Kconfig 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. if ARCH_SHMOBILE
  2. comment "SH-Mobile System Type"
  3. config ARCH_SH7367
  4. bool "SH-Mobile G3 (SH7367)"
  5. select CPU_V6
  6. select SH_CLK_CPG
  7. select ARCH_WANT_OPTIONAL_GPIOLIB
  8. config ARCH_SH7377
  9. bool "SH-Mobile G4 (SH7377)"
  10. select CPU_V7
  11. select SH_CLK_CPG
  12. select ARCH_WANT_OPTIONAL_GPIOLIB
  13. config ARCH_SH7372
  14. bool "SH-Mobile AP4 (SH7372)"
  15. select CPU_V7
  16. select SH_CLK_CPG
  17. select ARCH_WANT_OPTIONAL_GPIOLIB
  18. config ARCH_SH73A0
  19. bool "SH-Mobile AG5 (R8A73A00)"
  20. select CPU_V7
  21. select SH_CLK_CPG
  22. select ARCH_WANT_OPTIONAL_GPIOLIB
  23. select ARM_GIC
  24. select I2C
  25. comment "SH-Mobile Board Type"
  26. config MACH_G3EVM
  27. bool "G3EVM board"
  28. depends on ARCH_SH7367
  29. select ARCH_REQUIRE_GPIOLIB
  30. config MACH_G4EVM
  31. bool "G4EVM board"
  32. depends on ARCH_SH7377
  33. select ARCH_REQUIRE_GPIOLIB
  34. config MACH_AP4EVB
  35. bool "AP4EVB board"
  36. depends on ARCH_SH7372
  37. select ARCH_REQUIRE_GPIOLIB
  38. select SH_LCD_MIPI_DSI
  39. choice
  40. prompt "AP4EVB LCD panel selection"
  41. default AP4EVB_QHD
  42. depends on MACH_AP4EVB
  43. config AP4EVB_QHD
  44. bool "MIPI-DSI QHD (960x540)"
  45. config AP4EVB_WVGA
  46. bool "Parallel WVGA (800x480)"
  47. endchoice
  48. config MACH_AG5EVM
  49. bool "AG5EVM board"
  50. select ARCH_REQUIRE_GPIOLIB
  51. select SH_LCD_MIPI_DSI
  52. depends on ARCH_SH73A0
  53. config MACH_MACKEREL
  54. bool "mackerel board"
  55. depends on ARCH_SH7372
  56. select ARCH_REQUIRE_GPIOLIB
  57. config MACH_KOTA2
  58. bool "KOTA2 board"
  59. select ARCH_REQUIRE_GPIOLIB
  60. depends on ARCH_SH73A0
  61. comment "SH-Mobile System Configuration"
  62. menu "Memory configuration"
  63. config MEMORY_START
  64. hex "Physical memory start address"
  65. default "0x50000000" if MACH_G3EVM
  66. default "0x40000000" if MACH_G4EVM || MACH_AP4EVB || MACH_AG5EVM || \
  67. MACH_MACKEREL
  68. default "0x41000000" if MACH_KOTA2
  69. default "0x00000000"
  70. ---help---
  71. Tweak this only when porting to a new machine which does not
  72. already have a defconfig. Changing it from the known correct
  73. value on any of the known systems will only lead to disaster.
  74. config MEMORY_SIZE
  75. hex "Physical memory size"
  76. default "0x08000000" if MACH_G3EVM
  77. default "0x08000000" if MACH_G4EVM
  78. default "0x20000000" if MACH_AG5EVM
  79. default "0x1e000000" if MACH_KOTA2
  80. default "0x10000000" if MACH_AP4EVB || MACH_MACKEREL
  81. default "0x04000000"
  82. help
  83. This sets the default memory size assumed by your kernel. It can
  84. be overridden as normal by the 'mem=' argument on the kernel command
  85. line.
  86. endmenu
  87. menu "Timer and clock configuration"
  88. config SHMOBILE_TIMER_HZ
  89. int "Kernel HZ (jiffies per second)"
  90. range 32 1024
  91. default "128"
  92. help
  93. Allows the configuration of the timer frequency. It is customary
  94. to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
  95. case of low timer frequencies other values may be more suitable.
  96. SH-Mobile systems using a 32768 Hz RCLK for clock events may want
  97. to select a HZ value such as 128 that can evenly divide RCLK.
  98. A HZ value that does not divide evenly may cause timer drift.
  99. config SH_TIMER_CMT
  100. bool "CMT timer driver"
  101. default y
  102. help
  103. This enables build of the CMT timer driver.
  104. config SH_TIMER_TMU
  105. bool "TMU timer driver"
  106. default y
  107. help
  108. This enables build of the TMU timer driver.
  109. endmenu
  110. config SH_CLK_CPG
  111. bool
  112. source "drivers/sh/Kconfig"
  113. endif