Kconfig 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. if ARCH_AT91
  2. config HAVE_AT91_DBGU0
  3. bool
  4. config HAVE_AT91_DBGU1
  5. bool
  6. config AT91_PMC_UNIT
  7. bool
  8. default !ARCH_AT91X40
  9. config AT91_SAM9_ALT_RESET
  10. bool
  11. default !ARCH_AT91X40
  12. config AT91_SAM9G45_RESET
  13. bool
  14. default !ARCH_AT91X40
  15. config AT91_SAM9_TIME
  16. bool
  17. config SOC_AT91SAM9
  18. bool
  19. select AT91_SAM9_TIME
  20. select CPU_ARM926T
  21. select GENERIC_CLOCKEVENTS
  22. select MULTI_IRQ_HANDLER
  23. select SPARSE_IRQ
  24. menu "Atmel AT91 System-on-Chip"
  25. choice
  26. prompt "Core type"
  27. config SOC_SAM_V4_V5
  28. bool "ARM7/ARM9"
  29. help
  30. Select this if you are using one of Atmel's AT91SAM9, AT91RM9200
  31. or AT91X40 SoC.
  32. endchoice
  33. comment "Atmel AT91 Processor"
  34. if SOC_SAM_V4_V5
  35. config SOC_AT91RM9200
  36. bool "AT91RM9200"
  37. select CPU_ARM920T
  38. select GENERIC_CLOCKEVENTS
  39. select HAVE_AT91_DBGU0
  40. select MULTI_IRQ_HANDLER
  41. select SPARSE_IRQ
  42. config SOC_AT91SAM9260
  43. bool "AT91SAM9260, AT91SAM9XE or AT91SAM9G20"
  44. select HAVE_AT91_DBGU0
  45. select SOC_AT91SAM9
  46. help
  47. Select this if you are using one of Atmel's AT91SAM9260, AT91SAM9XE
  48. or AT91SAM9G20 SoC.
  49. config SOC_AT91SAM9261
  50. bool "AT91SAM9261 or AT91SAM9G10"
  51. select HAVE_AT91_DBGU0
  52. select HAVE_FB_ATMEL
  53. select SOC_AT91SAM9
  54. help
  55. Select this if you are using one of Atmel's AT91SAM9261 or AT91SAM9G10 SoC.
  56. config SOC_AT91SAM9263
  57. bool "AT91SAM9263"
  58. select HAVE_AT91_DBGU1
  59. select HAVE_FB_ATMEL
  60. select SOC_AT91SAM9
  61. config SOC_AT91SAM9RL
  62. bool "AT91SAM9RL"
  63. select HAVE_AT91_DBGU0
  64. select HAVE_FB_ATMEL
  65. select SOC_AT91SAM9
  66. config SOC_AT91SAM9G45
  67. bool "AT91SAM9G45 or AT91SAM9M10 families"
  68. select HAVE_AT91_DBGU1
  69. select HAVE_FB_ATMEL
  70. select SOC_AT91SAM9
  71. help
  72. Select this if you are using one of Atmel's AT91SAM9G45 family SoC.
  73. This support covers AT91SAM9G45, AT91SAM9G46, AT91SAM9M10 and AT91SAM9M11.
  74. config SOC_AT91SAM9X5
  75. bool "AT91SAM9x5 family"
  76. select HAVE_AT91_DBGU0
  77. select HAVE_FB_ATMEL
  78. select SOC_AT91SAM9
  79. help
  80. Select this if you are using one of Atmel's AT91SAM9x5 family SoC.
  81. This means that your SAM9 name finishes with a '5' (except if it is
  82. AT91SAM9G45!).
  83. This support covers AT91SAM9G15, AT91SAM9G25, AT91SAM9X25, AT91SAM9G35
  84. and AT91SAM9X35.
  85. config SOC_AT91SAM9N12
  86. bool "AT91SAM9N12 family"
  87. select HAVE_AT91_DBGU0
  88. select HAVE_FB_ATMEL
  89. select SOC_AT91SAM9
  90. help
  91. Select this if you are using Atmel's AT91SAM9N12 SoC.
  92. # ----------------------------------------------------------
  93. source arch/arm/mach-at91/Kconfig.non_dt
  94. endif # SOC_SAM_V4_V5
  95. comment "Generic Board Type"
  96. config MACH_AT91RM9200_DT
  97. bool "Atmel AT91RM9200 Evaluation Kits with device-tree support"
  98. depends on SOC_AT91RM9200
  99. select USE_OF
  100. help
  101. Select this if you want to experiment device-tree with
  102. an Atmel RM9200 Evaluation Kit.
  103. config MACH_AT91SAM9_DT
  104. bool "Atmel AT91SAM Evaluation Kits with device-tree support"
  105. depends on SOC_AT91SAM9
  106. select USE_OF
  107. help
  108. Select this if you want to experiment device-tree with
  109. an Atmel Evaluation Kit.
  110. # ----------------------------------------------------------
  111. comment "AT91 Feature Selections"
  112. config AT91_PROGRAMMABLE_CLOCKS
  113. bool "Programmable Clocks"
  114. help
  115. Select this if you need to program one or more of the PCK0..PCK3
  116. programmable clock outputs.
  117. config AT91_SLOW_CLOCK
  118. bool "Suspend-to-RAM disables main oscillator"
  119. depends on SUSPEND
  120. help
  121. Select this if you want Suspend-to-RAM to save the most power
  122. possible (without powering off the CPU) by disabling the PLLs
  123. and main oscillator so that only the 32 KiHz clock is available.
  124. When only that slow-clock is available, some peripherals lose
  125. functionality. Many can't issue wakeup events unless faster
  126. clocks are available. Some lose their operating state and
  127. need to be completely re-initialized.
  128. config AT91_TIMER_HZ
  129. int "Kernel HZ (jiffies per second)"
  130. range 32 1024
  131. depends on ARCH_AT91
  132. default "128" if ARCH_AT91RM9200
  133. default "100"
  134. help
  135. On AT91rm9200 chips where you're using a system clock derived
  136. from the 32768 Hz hardware clock, this tick rate should divide
  137. it exactly: use a power-of-two value, such as 128 or 256, to
  138. reduce timing errors caused by rounding.
  139. On AT91sam926x chips, or otherwise when using a higher precision
  140. system clock (of at least several MHz), rounding is less of a
  141. problem so it can be safer to use a decimal values like 100.
  142. endmenu
  143. endif