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