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