Kconfig 5.0 KB

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