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