ARM: at91: remove unused CONFIG_ARCH_AT91SAM9G45 option
[deliverable/linux.git] / arch / arm / mach-at91 / Kconfig
CommitLineData
8fc5ffa0
AV
1if ARCH_AT91
2
f090fb37
BB
3config HAVE_AT91_UTMI
4 bool
5
c84a61d8
BB
6config HAVE_AT91_USB_CLK
7 bool
8
13079a73
JCPV
9config HAVE_AT91_DBGU0
10 bool
11
12config HAVE_AT91_DBGU1
13 bool
14
2dc850b6
NF
15config HAVE_AT91_DBGU2
16 bool
17
c8a8c630
BB
18config AT91_USE_OLD_CLK
19 bool
20
c8a8c630
BB
21config COMMON_CLK_AT91
22 bool
7538ec7d 23 default USE_OF && !AT91_USE_OLD_CLK
c8a8c630
BB
24 select COMMON_CLK
25
26config OLD_CLK_AT91
27 bool
7538ec7d 28 default AT91_USE_OLD_CLK
c8a8c630 29
91a55d4f
BB
30config OLD_IRQ_AT91
31 bool
32 select MULTI_IRQ_HANDLER
33 select SPARSE_IRQ
34
a9c0688f
BB
35config HAVE_AT91_SMD
36 bool
37
bcc5fd49
AB
38config HAVE_AT91_H32MX
39 bool
40
1441bd32
JCPV
41config SOC_AT91SAM9
42 bool
3b26f39b 43 select ATMEL_AIC_IRQ if !OLD_IRQ_AT91
1441bd32 44 select CPU_ARM926T
b1b3f49c 45 select GENERIC_CLOCKEVENTS
63e60368
AB
46 select MEMORY if USE_OF
47 select ATMEL_SDRAMC if USE_OF
1441bd32 48
8f4b4794
LD
49config SOC_SAMA5
50 bool
3b26f39b 51 select ATMEL_AIC5_IRQ
8f4b4794
LD
52 select CPU_V7
53 select GENERIC_CLOCKEVENTS
a1628604 54 select USE_OF
63e60368
AB
55 select MEMORY
56 select ATMEL_SDRAMC
8f4b4794 57
8fc5ffa0
AV
58menu "Atmel AT91 System-on-Chip"
59
8f0cdcc5
LD
60choice
61
62 prompt "Core type"
63
64config SOC_SAM_V4_V5
fe138c23 65 bool "ARM9 AT91SAM9/AT91RM9200"
8f0cdcc5 66 help
fe138c23
AB
67 Select this if you are using one of Atmel's AT91SAM9 or
68 AT91RM9200 SoC.
8f0cdcc5 69
8f4b4794
LD
70config SOC_SAM_V7
71 bool "Cortex A5"
72 help
73 Select this if you are using one of Atmel's SAMA5D3 SoC.
74
8f0cdcc5
LD
75endchoice
76
1e3ce2b8 77comment "Atmel AT91 Processor"
8fc5ffa0 78
8f4b4794
LD
79if SOC_SAM_V7
80config SOC_SAMA5D3
81 bool "SAMA5D3 family"
8f4b4794
LD
82 select SOC_SAMA5
83 select HAVE_FB_ATMEL
84 select HAVE_AT91_DBGU1
f090fb37 85 select HAVE_AT91_UTMI
a9c0688f 86 select HAVE_AT91_SMD
c84a61d8 87 select HAVE_AT91_USB_CLK
8f4b4794
LD
88 help
89 Select this if you are using one of Atmel's SAMA5D3 family SoC.
7f457160 90 This support covers SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35, SAMA5D36.
2dc850b6
NF
91
92config SOC_SAMA5D4
93 bool "SAMA5D4 family"
94 select SOC_SAMA5
95 select HAVE_AT91_DBGU2
96 select CLKSRC_MMIO
97 select CACHE_L2X0
98 select CACHE_PL310
99 select HAVE_FB_ATMEL
100 select HAVE_AT91_UTMI
101 select HAVE_AT91_SMD
102 select HAVE_AT91_USB_CLK
103 select HAVE_AT91_H32MX
104 help
105 Select this if you are using one of Atmel's SAMA5D4 family SoC.
8f4b4794
LD
106endif
107
8f0cdcc5 108if SOC_SAM_V4_V5
1e3ce2b8 109config SOC_AT91RM9200
8fc5ffa0 110 bool "AT91RM9200"
3b26f39b 111 select ATMEL_AIC_IRQ if !OLD_IRQ_AT91
c750815e 112 select CPU_ARM920T
5e802dfa 113 select GENERIC_CLOCKEVENTS
13079a73 114 select HAVE_AT91_DBGU0
c84a61d8 115 select HAVE_AT91_USB_CLK
73a59c1c 116
1e3ce2b8
JCPV
117config SOC_AT91SAM9260
118 bool "AT91SAM9260, AT91SAM9XE or AT91SAM9G20"
13079a73 119 select HAVE_AT91_DBGU0
b1b3f49c 120 select SOC_AT91SAM9
c84a61d8 121 select HAVE_AT91_USB_CLK
1e3ce2b8
JCPV
122 help
123 Select this if you are using one of Atmel's AT91SAM9260, AT91SAM9XE
124 or AT91SAM9G20 SoC.
8fc5ffa0 125
1e3ce2b8
JCPV
126config SOC_AT91SAM9261
127 bool "AT91SAM9261 or AT91SAM9G10"
13079a73 128 select HAVE_AT91_DBGU0
0912e535 129 select HAVE_FB_ATMEL
b1b3f49c 130 select SOC_AT91SAM9
c84a61d8 131 select HAVE_AT91_USB_CLK
1e3ce2b8
JCPV
132 help
133 Select this if you are using one of Atmel's AT91SAM9261 or AT91SAM9G10 SoC.
b319ff80 134
1e3ce2b8 135config SOC_AT91SAM9263
b2c65616 136 bool "AT91SAM9263"
1e3ce2b8 137 select HAVE_AT91_DBGU1
0912e535 138 select HAVE_FB_ATMEL
b1b3f49c 139 select SOC_AT91SAM9
c84a61d8 140 select HAVE_AT91_USB_CLK
b2c65616 141
1e3ce2b8 142config SOC_AT91SAM9RL
877d7720 143 bool "AT91SAM9RL"
13079a73 144 select HAVE_AT91_DBGU0
1e3ce2b8 145 select HAVE_FB_ATMEL
b1b3f49c 146 select SOC_AT91SAM9
f090fb37 147 select HAVE_AT91_UTMI
877d7720 148
1e3ce2b8 149config SOC_AT91SAM9G45
ca1dcbf7 150 bool "AT91SAM9G45 or AT91SAM9M10 families"
1e3ce2b8 151 select HAVE_AT91_DBGU1
0912e535 152 select HAVE_FB_ATMEL
b1b3f49c 153 select SOC_AT91SAM9
f090fb37 154 select HAVE_AT91_UTMI
c84a61d8 155 select HAVE_AT91_USB_CLK
ca1dcbf7
NF
156 help
157 Select this if you are using one of Atmel's AT91SAM9G45 family SoC.
158 This support covers AT91SAM9G45, AT91SAM9G46, AT91SAM9M10 and AT91SAM9M11.
789b23bc 159
1e3ce2b8 160config SOC_AT91SAM9X5
9a3ee403 161 bool "AT91SAM9x5 family"
1e3ce2b8 162 select HAVE_AT91_DBGU0
9a3ee403 163 select HAVE_FB_ATMEL
b1b3f49c 164 select SOC_AT91SAM9
f090fb37 165 select HAVE_AT91_UTMI
a9c0688f 166 select HAVE_AT91_SMD
c84a61d8 167 select HAVE_AT91_USB_CLK
a26e1af5
NF
168 help
169 Select this if you are using one of Atmel's AT91SAM9x5 family SoC.
170 This means that your SAM9 name finishes with a '5' (except if it is
171 AT91SAM9G45!).
172 This support covers AT91SAM9G15, AT91SAM9G25, AT91SAM9X25, AT91SAM9G35
173 and AT91SAM9X35.
9a3ee403 174
74db4fb9
HX
175config SOC_AT91SAM9N12
176 bool "AT91SAM9N12 family"
74db4fb9
HX
177 select HAVE_AT91_DBGU0
178 select HAVE_FB_ATMEL
b1b3f49c 179 select SOC_AT91SAM9
c84a61d8 180 select HAVE_AT91_USB_CLK
74db4fb9
HX
181 help
182 Select this if you are using Atmel's AT91SAM9N12 SoC.
183
8fc5ffa0 184# ----------------------------------------------------------
fe138c23
AB
185endif # SOC_SAM_V4_V5
186
8fc5ffa0 187
7538ec7d 188if SOC_SAM_V4_V5
3ae8dbdc 189source arch/arm/mach-at91/Kconfig.non_dt
fe138c23 190endif
9f1ccefe 191
49fe2ba3
NF
192comment "Generic Board Type"
193
397f8c3c
JE
194config MACH_AT91RM9200_DT
195 bool "Atmel AT91RM9200 Evaluation Kits with device-tree support"
196 depends on SOC_AT91RM9200
197 select USE_OF
198 help
199 Select this if you want to experiment device-tree with
200 an Atmel RM9200 Evaluation Kit.
201
4afcd1db 202config MACH_AT91SAM9_DT
49fe2ba3 203 bool "Atmel AT91SAM Evaluation Kits with device-tree support"
35ed3c7a 204 depends on SOC_AT91SAM9
49fe2ba3
NF
205 select USE_OF
206 help
207 Select this if you want to experiment device-tree with
208 an Atmel Evaluation Kit.
209
8f4b4794
LD
210config MACH_SAMA5_DT
211 bool "Atmel SAMA5 Evaluation Kits with device-tree support"
212 depends on SOC_SAMA5
213 select USE_OF
0580ed36 214 select PHYLIB if NETDEVICES
8f4b4794
LD
215 help
216 Select this if you want to experiment device-tree with
217 an Atmel Evaluation Kit.
218
49fe2ba3
NF
219# ----------------------------------------------------------
220
8fc5ffa0 221comment "AT91 Feature Selections"
73a59c1c 222
eaad2db0
AV
223config AT91_SLOW_CLOCK
224 bool "Suspend-to-RAM disables main oscillator"
225 depends on SUSPEND
226 help
227 Select this if you want Suspend-to-RAM to save the most power
228 possible (without powering off the CPU) by disabling the PLLs
229 and main oscillator so that only the 32 KiHz clock is available.
230
231 When only that slow-clock is available, some peripherals lose
232 functionality. Many can't issue wakeup events unless faster
233 clocks are available. Some lose their operating state and
234 need to be completely re-initialized.
235
5248c657
DB
236config AT91_TIMER_HZ
237 int "Kernel HZ (jiffies per second)"
238 range 32 1024
239 depends on ARCH_AT91
240 default "128" if ARCH_AT91RM9200
241 default "100"
242 help
243 On AT91rm9200 chips where you're using a system clock derived
244 from the 32768 Hz hardware clock, this tick rate should divide
245 it exactly: use a power-of-two value, such as 128 or 256, to
246 reduce timing errors caused by rounding.
247
248 On AT91sam926x chips, or otherwise when using a higher precision
249 system clock (of at least several MHz), rounding is less of a
250 problem so it can be safer to use a decimal values like 100.
251
73a59c1c
SP
252endmenu
253
254endif
This page took 0.539797 seconds and 5 git commands to generate.