Kconfig 4.0 KB

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