2 bool "Ethernet support"
3 depends on ETRAX_ARCH_V10
7 This option enables the ETRAX 100LX built-in 10/100Mbit Ethernet
11 prompt "Network LED behavior"
12 depends on ETRAX_ETHERNET
13 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
15 config ETRAX_NETWORK_LED_ON_WHEN_LINK
16 bool "LED_on_when_link"
18 Selecting LED_on_when_link will light the LED when there is a
19 connection and will flash off when there is activity.
21 Selecting LED_on_when_activity will light the LED only when
24 This setting will also affect the behaviour of other activity LEDs
27 config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
28 bool "LED_on_when_activity"
30 Selecting LED_on_when_link will light the LED when there is a
31 connection and will flash off when there is activity.
33 Selecting LED_on_when_activity will light the LED only when
36 This setting will also affect the behaviour of other activity LEDs
42 bool "Serial-port support"
43 depends on ETRAX_ARCH_V10
45 Enables the ETRAX 100 serial driver for ser0 (ttyS0)
46 You probably want this enabled.
48 config ETRAX_SERIAL_FAST_TIMER
49 bool "Use fast timers for serial DMA flush (experimental)"
50 depends on ETRAX_SERIAL
52 Select this to have the serial DMAs flushed at a higher rate than
53 normally, possible by using the fast timer API, the timeout is
54 approx. 4 character times.
57 config ETRAX_SERIAL_FLUSH_DMA_FAST
58 bool "Fast serial port DMA flush"
59 depends on ETRAX_SERIAL && !ETRAX_SERIAL_FAST_TIMER
61 Select this to have the serial DMAs flushed at a higher rate than
62 normally possible through a fast timer interrupt (currently at
66 config ETRAX_SERIAL_RX_TIMEOUT_TICKS
67 int "Receive flush timeout (ticks) "
68 depends on ETRAX_SERIAL && !ETRAX_SERIAL_FAST_TIMER && !ETRAX_SERIAL_FLUSH_DMA_FAST
71 Number of timer ticks between flush of receive fifo (1 tick = 10ms).
72 Try 0-3 for low latency applications. Approx 5 for high load
73 applications (e.g. PPP). Maybe this should be more adaptive some
76 config ETRAX_SERIAL_PORT0
77 bool "Serial port 0 enabled"
78 depends on ETRAX_SERIAL
80 Enables the ETRAX 100 serial driver for ser0 (ttyS0)
81 Normally you want this on, unless you use external DMA 1 that uses
82 the same DMA channels.
85 prompt "Ser0 DMA out assignment"
86 depends on ETRAX_SERIAL_PORT0
87 default ETRAX_SERIAL_PORT0_DMA6_OUT
89 config ETRAX_SERIAL_PORT0_NO_DMA_OUT
92 config ETRAX_SERIAL_PORT0_DMA6_OUT
98 prompt "Ser0 DMA in assignment"
99 depends on ETRAX_SERIAL_PORT0
100 default ETRAX_SERIAL_PORT0_DMA7_IN
102 config ETRAX_SERIAL_PORT0_NO_DMA_IN
105 config ETRAX_SERIAL_PORT0_DMA7_IN
111 prompt "Ser0 DTR, RI, DSR and CD assignment"
112 depends on ETRAX_SERIAL_PORT0
113 default ETRAX_SER0_DTR_RI_DSR_CD_ON_NONE
115 config ETRAX_SER0_DTR_RI_DSR_CD_ON_NONE
116 bool "No_DTR_RI_DSR_CD"
118 config ETRAX_SER0_DTR_RI_DSR_CD_ON_PA
119 bool "DTR_RI_DSR_CD_on_PA"
121 config ETRAX_SER0_DTR_RI_DSR_CD_ON_PB
122 bool "DTR_RI_DSR_CD_on_PB"
124 Enables the status and control signals DTR, RI, DSR and CD on PB for
127 config ETRAX_SER0_DTR_RI_DSR_CD_MIXED
128 bool "DTR_RI_DSR_CD_mixed_on_PA_and_PB"
132 config ETRAX_SER0_DTR_ON_PA_BIT
133 int "Ser0 DTR on PA bit (-1 = not used)" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PA || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
134 depends on ETRAX_SERIAL_PORT0
135 default "-1" if !ETRAX_SER0_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER0_DTR_RI_DSR_CD_MIXED
136 default "4" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PA || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
138 config ETRAX_SER0_RI_ON_PA_BIT
139 int "Ser0 RI on PA bit (-1 = not used)" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PA || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
140 depends on ETRAX_SERIAL_PORT0
141 default "-1" if !ETRAX_SER0_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER0_DTR_RI_DSR_CD_MIXED
142 default "5" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PA || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
144 config ETRAX_SER0_DSR_ON_PA_BIT
145 int "Ser0 DSR on PA bit (-1 = not used)" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PA || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
146 depends on ETRAX_SERIAL_PORT0
147 default "-1" if !ETRAX_SER0_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER0_DTR_RI_DSR_CD_MIXED
148 default "6" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PA || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
150 config ETRAX_SER0_CD_ON_PA_BIT
151 int "Ser0 CD on PA bit (-1 = not used)" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PA || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
152 depends on ETRAX_SERIAL_PORT0
153 default "-1" if !ETRAX_SER0_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER0_DTR_RI_DSR_CD_MIXED
154 default "7" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PA || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
156 config ETRAX_SER0_DTR_ON_PB_BIT
157 int "Ser0 DTR on PB bit (-1 = not used)" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PB || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
158 depends on ETRAX_SERIAL_PORT0
159 default "-1" if !ETRAX_SER0_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER0_DTR_RI_DSR_CD_MIXED
160 default "4" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PB || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
162 Specify the pin of the PB port to carry the DTR signal for serial
165 config ETRAX_SER0_RI_ON_PB_BIT
166 int "Ser0 RI on PB bit (-1 = not used)" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PB || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
167 depends on ETRAX_SERIAL_PORT0
168 default "-1" if !ETRAX_SER0_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER0_DTR_RI_DSR_CD_MIXED
169 default "5" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PB || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
171 Specify the pin of the PB port to carry the RI signal for serial
174 config ETRAX_SER0_DSR_ON_PB_BIT
175 int "Ser0 DSR on PB bit (-1 = not used)" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PB || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
176 depends on ETRAX_SERIAL_PORT0
177 default "-1" if !ETRAX_SER0_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER0_DTR_RI_DSR_CD_MIXED
178 default "6" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PB || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
180 Specify the pin of the PB port to carry the DSR signal for serial
183 config ETRAX_SER0_CD_ON_PB_BIT
184 int "Ser0 CD on PB bit (-1 = not used)" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PB || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
185 depends on ETRAX_SERIAL_PORT0
186 default "-1" if !ETRAX_SER0_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER0_DTR_RI_DSR_CD_MIXED
187 default "7" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PB || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
189 Specify the pin of the PB port to carry the CD signal for serial
192 config ETRAX_SERIAL_PORT1
193 bool "Serial port 1 enabled"
194 depends on ETRAX_SERIAL
196 Enables the ETRAX 100 serial driver for ser1 (ttyS1).
199 prompt "Ser1 DMA out assignment"
200 depends on ETRAX_SERIAL_PORT1
201 default ETRAX_SERIAL_PORT1_DMA8_OUT
203 config ETRAX_SERIAL_PORT1_NO_DMA_OUT
206 config ETRAX_SERIAL_PORT1_DMA8_OUT
212 prompt "Ser1 DMA in assignment"
213 depends on ETRAX_SERIAL_PORT1
214 default ETRAX_SERIAL_PORT1_DMA9_IN
216 config ETRAX_SERIAL_PORT1_NO_DMA_IN
219 config ETRAX_SERIAL_PORT1_DMA9_IN
225 prompt "Ser1 DTR, RI, DSR and CD assignment"
226 depends on ETRAX_SERIAL_PORT1
227 default ETRAX_SER1_DTR_RI_DSR_CD_ON_NONE
229 config ETRAX_SER1_DTR_RI_DSR_CD_ON_NONE
230 bool "No_DTR_RI_DSR_CD"
232 config ETRAX_SER1_DTR_RI_DSR_CD_ON_PA
233 bool "DTR_RI_DSR_CD_on_PA"
235 config ETRAX_SER1_DTR_RI_DSR_CD_ON_PB
236 bool "DTR_RI_DSR_CD_on_PB"
238 Enables the status and control signals DTR, RI, DSR and CD on PB for
241 config ETRAX_SER1_DTR_RI_DSR_CD_MIXED
242 bool "DTR_RI_DSR_CD_mixed_on_PA_and_PB"
246 config ETRAX_SER1_DTR_ON_PA_BIT
247 int "Ser1 DTR on PA bit (-1 = not used)" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PA || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
248 depends on ETRAX_SERIAL_PORT1
249 default "-1" if !ETRAX_SER1_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER1_DTR_RI_DSR_CD_MIXED
250 default "4" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PA || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
252 config ETRAX_SER1_RI_ON_PA_BIT
253 int "Ser1 RI on PA bit (-1 = not used)" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PA || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
254 depends on ETRAX_SERIAL_PORT1
255 default "-1" if !ETRAX_SER1_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER1_DTR_RI_DSR_CD_MIXED
256 default "5" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PA || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
258 config ETRAX_SER1_DSR_ON_PA_BIT
259 int "Ser1 DSR on PA bit (-1 = not used)" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PA || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
260 depends on ETRAX_SERIAL_PORT1
261 default "-1" if !ETRAX_SER1_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER1_DTR_RI_DSR_CD_MIXED
262 default "6" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PA || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
264 config ETRAX_SER1_CD_ON_PA_BIT
265 int "Ser1 CD on PA bit (-1 = not used)" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PA || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
266 depends on ETRAX_SERIAL_PORT1
267 default "-1" if !ETRAX_SER1_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER1_DTR_RI_DSR_CD_MIXED
268 default "7" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PA || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
270 config ETRAX_SER1_DTR_ON_PB_BIT
271 int "Ser1 DTR on PB bit (-1 = not used)" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PB || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
272 depends on ETRAX_SERIAL_PORT1
273 default "-1" if !ETRAX_SER1_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER1_DTR_RI_DSR_CD_MIXED
274 default "4" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PB || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
276 Specify the pin of the PB port to carry the DTR signal for serial
279 config ETRAX_SER1_RI_ON_PB_BIT
280 int "Ser1 RI on PB bit (-1 = not used)" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PB || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
281 depends on ETRAX_SERIAL_PORT1
282 default "-1" if !ETRAX_SER1_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER1_DTR_RI_DSR_CD_MIXED
283 default "5" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PB || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
285 Specify the pin of the PB port to carry the RI signal for serial
288 config ETRAX_SER1_DSR_ON_PB_BIT
289 int "Ser1 DSR on PB bit (-1 = not used)" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PB || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
290 depends on ETRAX_SERIAL_PORT1
291 default "-1" if !ETRAX_SER1_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER1_DTR_RI_DSR_CD_MIXED
292 default "6" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PB || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
294 Specify the pin of the PB port to carry the DSR signal for serial
297 config ETRAX_SER1_CD_ON_PB_BIT
298 int "Ser1 CD on PB bit (-1 = not used)" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PB || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
299 depends on ETRAX_SERIAL_PORT1
300 default "-1" if !ETRAX_SER1_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER1_DTR_RI_DSR_CD_MIXED
301 default "7" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PB || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
303 Specify the pin of the PB port to carry the CD signal for serial
306 comment "Make sure you do not have the same PB bits more than once!"
307 depends on ETRAX_SERIAL && ETRAX_SER0_DTR_RI_DSR_CD_ON_PB && ETRAX_SER1_DTR_RI_DSR_CD_ON_PB
309 config ETRAX_SERIAL_PORT2
310 bool "Serial port 2 enabled"
311 depends on ETRAX_SERIAL
313 Enables the ETRAX 100 serial driver for ser2 (ttyS2).
316 prompt "Ser2 DMA out assignment"
317 depends on ETRAX_SERIAL_PORT2
318 default ETRAX_SERIAL_PORT2_DMA2_OUT
320 config ETRAX_SERIAL_PORT2_NO_DMA_OUT
323 config ETRAX_SERIAL_PORT2_DMA2_OUT
329 prompt "Ser2 DMA in assignment"
330 depends on ETRAX_SERIAL_PORT2
331 default ETRAX_SERIAL_PORT2_DMA3_IN
333 config ETRAX_SERIAL_PORT2_NO_DMA_IN
336 config ETRAX_SERIAL_PORT2_DMA3_IN
342 prompt "Ser2 DTR, RI, DSR and CD assignment"
343 depends on ETRAX_SERIAL_PORT2
344 default ETRAX_SER2_DTR_RI_DSR_CD_ON_NONE
346 config ETRAX_SER2_DTR_RI_DSR_CD_ON_NONE
347 bool "No_DTR_RI_DSR_CD"
349 config ETRAX_SER2_DTR_RI_DSR_CD_ON_PA
350 bool "DTR_RI_DSR_CD_on_PA"
352 Enables the status and control signals DTR, RI, DSR and CD on PA for
355 config ETRAX_SER2_DTR_RI_DSR_CD_ON_PB
356 bool "DTR_RI_DSR_CD_on_PB"
358 config ETRAX_SER2_DTR_RI_DSR_CD_MIXED
359 bool "DTR_RI_DSR_CD_mixed_on_PA_and_PB"
363 config ETRAX_SER2_DTR_ON_PA_BIT
364 int "Ser2 DTR on PA bit (-1 = not used)" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PA || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
365 depends on ETRAX_SERIAL_PORT2
366 default "-1" if !ETRAX_SER2_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER2_DTR_RI_DSR_CD_MIXED
367 default "4" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PA || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
369 Specify the pin of the PA port to carry the DTR signal for serial
372 config ETRAX_SER2_RI_ON_PA_BIT
373 int "Ser2 RI on PA bit (-1 = not used)" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PA || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
374 depends on ETRAX_SERIAL_PORT2
375 default "-1" if !ETRAX_SER2_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER2_DTR_RI_DSR_CD_MIXED
376 default "5" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PA || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
378 Specify the pin of the PA port to carry the RI signal for serial
381 config ETRAX_SER2_DSR_ON_PA_BIT
382 int "Ser2 DSR on PA bit (-1 = not used)" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PA || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
383 depends on ETRAX_SERIAL_PORT2
384 default "-1" if !ETRAX_SER2_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER2_DTR_RI_DSR_CD_MIXED
385 default "6" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PA || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
387 Specify the pin of the PA port to carry the DTR signal for serial
390 config ETRAX_SER2_CD_ON_PA_BIT
391 int "Ser2 CD on PA bit (-1 = not used)" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PA || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
392 depends on ETRAX_SERIAL_PORT2
393 default "-1" if !ETRAX_SER2_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER2_DTR_RI_DSR_CD_MIXED
394 default "7" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PA || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
396 Specify the pin of the PA port to carry the CD signal for serial
399 config ETRAX_SER2_DTR_ON_PB_BIT
400 int "Ser2 DTR on PB bit (-1 = not used)" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PB || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
401 depends on ETRAX_SERIAL_PORT2
402 default "-1" if !ETRAX_SER2_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER2_DTR_RI_DSR_CD_MIXED
403 default "4" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PB || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
405 config ETRAX_SER2_RI_ON_PB_BIT
406 int "Ser2 RI on PB bit (-1 = not used)" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PB || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
407 depends on ETRAX_SERIAL_PORT2
408 default "-1" if !ETRAX_SER2_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER2_DTR_RI_DSR_CD_MIXED
409 default "5" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PB || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
411 config ETRAX_SER2_DSR_ON_PB_BIT
412 int "Ser2 DSR on PB bit (-1 = not used)" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PB || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
413 depends on ETRAX_SERIAL_PORT2
414 default "-1" if !ETRAX_SER2_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER2_DTR_RI_DSR_CD_MIXED
415 default "6" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PB || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
417 config ETRAX_SER2_CD_ON_PB_BIT
418 int "Ser2 CD on PB bit (-1 = not used)" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PB || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
419 depends on ETRAX_SERIAL_PORT2
420 default "-1" if !ETRAX_SER2_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER2_DTR_RI_DSR_CD_MIXED
421 default "7" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PB || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
423 config ETRAX_SERIAL_PORT3
424 bool "Serial port 3 enabled"
425 depends on ETRAX_SERIAL
427 Enables the ETRAX 100 serial driver for ser3 (ttyS3).
430 prompt "Ser3 DMA out assignment"
431 depends on ETRAX_SERIAL_PORT3
432 default ETRAX_SERIAL_PORT3_DMA4_OUT
434 config ETRAX_SERIAL_PORT3_NO_DMA_OUT
437 config ETRAX_SERIAL_PORT3_DMA4_OUT
443 prompt "Ser3 DMA in assignment"
444 depends on ETRAX_SERIAL_PORT3
445 default ETRAX_SERIAL_PORT3_DMA5_IN
447 config ETRAX_SERIAL_PORT3_NO_DMA_IN
450 config ETRAX_SERIAL_PORT3_DMA5_IN
456 prompt "Ser3 DTR, RI, DSR and CD assignment"
457 depends on ETRAX_SERIAL_PORT3
458 default ETRAX_SER3_DTR_RI_DSR_CD_ON_NONE
460 config ETRAX_SER3_DTR_RI_DSR_CD_ON_NONE
461 bool "No_DTR_RI_DSR_CD"
463 config ETRAX_SER3_DTR_RI_DSR_CD_ON_PA
464 bool "DTR_RI_DSR_CD_on_PA"
466 config ETRAX_SER3_DTR_RI_DSR_CD_ON_PB
467 bool "DTR_RI_DSR_CD_on_PB"
469 config ETRAX_SER3_DTR_RI_DSR_CD_MIXED
470 bool "DTR_RI_DSR_CD_mixed_on_PA_and_PB"
474 config ETRAX_SER3_DTR_ON_PA_BIT
475 int "Ser3 DTR on PA bit (-1 = not used)" if ETRAX_SER3_DTR_RI_DSR_CD_ON_PA || ETRAX_SER3_DTR_RI_DSR_CD_MIXED
476 depends on ETRAX_SERIAL_PORT3
479 config ETRAX_SER3_RI_ON_PA_BIT
480 int "Ser3 RI on PA bit (-1 = not used)" if ETRAX_SER3_DTR_RI_DSR_CD_ON_PA || ETRAX_SER3_DTR_RI_DSR_CD_MIXED
481 depends on ETRAX_SERIAL_PORT3
484 config ETRAX_SER3_DSR_ON_PA_BIT
485 int "Ser3 DSR on PA bit (-1 = not used)" if ETRAX_SER3_DTR_RI_DSR_CD_ON_PA || ETRAX_SER3_DTR_RI_DSR_CD_MIXED
486 depends on ETRAX_SERIAL_PORT3
489 config ETRAX_SER3_CD_ON_PA_BIT
490 int "Ser3 CD on PA bit (-1 = not used)" if ETRAX_SER3_DTR_RI_DSR_CD_ON_PA || ETRAX_SER3_DTR_RI_DSR_CD_MIXED
491 depends on ETRAX_SERIAL_PORT3
494 config ETRAX_SER3_DTR_ON_PB_BIT
495 int "Ser3 DTR on PB bit (-1 = not used)" if ETRAX_SER3_DTR_RI_DSR_CD_ON_PB || ETRAX_SER3_DTR_RI_DSR_CD_MIXED
496 depends on ETRAX_SERIAL_PORT3
499 config ETRAX_SER3_RI_ON_PB_BIT
500 int "Ser3 RI on PB bit (-1 = not used)" if ETRAX_SER3_DTR_RI_DSR_CD_ON_PB || ETRAX_SER3_DTR_RI_DSR_CD_MIXED
501 depends on ETRAX_SERIAL_PORT3
504 config ETRAX_SER3_DSR_ON_PB_BIT
505 int "Ser3 DSR on PB bit (-1 = not used)" if ETRAX_SER3_DTR_RI_DSR_CD_ON_PB || ETRAX_SER3_DTR_RI_DSR_CD_MIXED
506 depends on ETRAX_SERIAL_PORT3
509 config ETRAX_SER3_CD_ON_PB_BIT
510 int "Ser3 CD on PB bit (-1 = not used)" if ETRAX_SER3_DTR_RI_DSR_CD_ON_PB || ETRAX_SER3_DTR_RI_DSR_CD_MIXED
511 depends on ETRAX_SERIAL_PORT3
515 bool "RS-485 support"
516 depends on ETRAX_SERIAL
518 Enables support for RS-485 serial communication. For a primer on
519 RS-485, see <http://www.hw.cz/english/docs/rs485/rs485.html>.
521 config ETRAX_RS485_ON_PA
522 bool "RS-485 mode on PA"
523 depends on ETRAX_RS485
525 Control Driver Output Enable on RS485 transceiver using a pin on PA
527 Axis 2400/2401 uses PA 3.
529 config ETRAX_RS485_ON_PA_BIT
530 int "RS-485 mode on PA bit"
531 depends on ETRAX_RS485_ON_PA
534 Control Driver Output Enable on RS485 transceiver using a this bit
537 config ETRAX_RS485_DISABLE_RECEIVER
538 bool "Disable serial receiver"
539 depends on ETRAX_RS485
541 It's necessary to disable the serial receiver to avoid serial
542 loopback. Not all products are able to do this in software only.
543 Axis 2400/2401 must disable receiver.
546 bool "ATA/IDE support"
549 select BLK_DEV_IDEDISK
551 select BLK_DEV_IDEDMA
554 Enable this to get support for ATA/IDE.
555 You can't use parallel ports or SCSI ports
559 config ETRAX_IDE_DELAY
560 int "Delay for drives to regain consciousness"
564 Number of seconds to wait for IDE drives to spin up after an IDE
567 prompt "IDE reset pin"
569 default ETRAX_IDE_PB7_RESET
571 config ETRAX_IDE_PB7_RESET
574 IDE reset on pin 7 on port B
576 config ETRAX_IDE_G27_RESET
579 IDE reset on pin 27 on port G
584 config ETRAX_USB_HOST
588 This option enables the host functionality of the ETRAX 100LX
589 built-in USB controller. In host mode the controller is designed
590 for CTRL and BULK traffic only, INTR traffic may work as well
591 however (depending on the requirements of timeliness).
593 config ETRAX_USB_HOST_PORT1
594 bool "USB port 1 enabled"
595 depends on ETRAX_USB_HOST
598 config ETRAX_USB_HOST_PORT2
599 bool "USB port 2 enabled"
600 depends on ETRAX_USB_HOST
603 config ETRAX_AXISFLASHMAP
604 bool "Axis flash-map support"
605 depends on ETRAX_ARCH_V10
608 select MTD_CFI_AMDSTD
611 select MTD_PARTITIONS
613 select MTD_COMPLEX_MAPPINGS
615 This option enables MTD mapping of flash devices. Needed to use
616 flash memories. If unsure, say Y.
618 config ETRAX_PTABLE_SECTOR
619 int "Byte-offset of partition table sector"
620 depends on ETRAX_AXISFLASHMAP
623 Byte-offset of the partition table in the first flash chip.
624 The default value is 64kB and should not be changed unless
625 you know exactly what you are doing. The only valid reason
626 for changing this is when the flash block size is bigger
627 than 64kB (e.g. when using two parallel 16 bit flashes).
631 depends on ETRAX_ARCH_V10
633 Enables an I2C driver on ETRAX100.
635 i2c_arg = I2C_WRITEARG(STA013_WRITE_ADDR, reg, val);
636 ioctl(fd, _IO(ETRAXI2C_IOCTYPE, I2C_WRITEREG), i2c_arg);
637 i2c_arg = I2C_READARG(STA013_READ_ADDR, reg);
638 val = ioctl(fd, _IO(ETRAXI2C_IOCTYPE, I2C_READREG), i2c_arg);
640 # this is true for most products since PB-I2C seems to be somewhat
642 config ETRAX_I2C_USES_PB_NOT_PB_I2C
643 bool "I2C uses PB not PB-I2C"
646 Select whether to use the special I2C mode in the PB I/O register or
647 not. This option needs to be selected in order to use some drivers
648 that access the I2C I/O pins directly instead of going through the
649 I2C driver, like the DS1302 realtime-clock driver. If you are
650 uncertain, choose Y here.
652 config ETRAX_I2C_DATA_PORT
653 int "I2C SDA bit number"
654 depends on ETRAX_I2C_USES_PB_NOT_PB_I2C
657 Selects the pin on Port B where the data pin is connected
659 config ETRAX_I2C_CLK_PORT
660 int "I2C SCL bit number"
661 depends on ETRAX_I2C_USES_PB_NOT_PB_I2C
664 Select the pin on Port B where the clock pin is connected
666 config ETRAX_I2C_EEPROM
667 bool "I2C EEPROM (non-volatile RAM) support"
670 Enables I2C EEPROM (non-volatile RAM) on PB0 and PB1 using the I2C
671 driver. Select size option: Probed, 2k, 8k, 16k.
672 (Probing works for 2k and 8k but not that well for 16k)
676 depends on ETRAX_I2C_EEPROM
677 default ETRAX_I2C_EEPROM_PROBE
679 config ETRAX_I2C_EEPROM_PROBE
682 Specifies size or auto probe of the EEPROM size.
683 Options: Probed, 2k, 8k, 16k.
684 (Probing works for 2k and 8k but not that well for 16k)
686 config ETRAX_I2C_EEPROM_2KB
691 config ETRAX_I2C_EEPROM_8KB
696 config ETRAX_I2C_EEPROM_16KB
705 depends on ETRAX_ARCH_V10
707 Enables the ETRAX general port device (major 120, minors 0 and 1).
708 You can use this driver to access the general port bits. It supports
710 #include <linux/etraxgpio.h>
711 fd = open("/dev/gpioa", O_RDWR); // or /dev/gpiob
712 ioctl(fd, _IO(ETRAXGPIO_IOCTYPE, IO_SETBITS), bits_to_set);
713 ioctl(fd, _IO(ETRAXGPIO_IOCTYPE, IO_CLRBITS), bits_to_clear);
714 val = ioctl(fd, _IO(ETRAXGPIO_IOCTYPE, IO_READBITS), NULL);
715 Remember that you need to setup the port directions appropriately in
716 the General configuration.
718 config ETRAX_PA_BUTTON_BITMASK
719 hex "PA-buttons bitmask"
720 depends on ETRAX_GPIO
723 This is a bitmask with information about what bits on PA that
724 are used for buttons.
725 Most products has a so called TEST button on PA1, if that's true
727 Use 00 if there are no buttons on PA.
728 If the bitmask is <> 00 a button driver will be included in the gpio
729 driver. ETRAX general I/O support must be enabled.
731 config ETRAX_PA_CHANGEABLE_DIR
732 hex "PA user changeable dir mask"
733 depends on ETRAX_GPIO
736 This is a bitmask with information of what bits in PA that a user
737 can change direction on using ioctl's.
738 Bit set = changeable.
739 You probably want 00 here.
741 config ETRAX_PA_CHANGEABLE_BITS
742 hex "PA user changeable bits mask"
743 depends on ETRAX_GPIO
746 This is a bitmask with information of what bits in PA that a user
747 can change the value on using ioctl's.
748 Bit set = changeable.
749 You probably want 00 here.
751 config ETRAX_PB_CHANGEABLE_DIR
752 hex "PB user changeable dir mask"
753 depends on ETRAX_GPIO
756 This is a bitmask with information of what bits in PB that a user
757 can change direction on using ioctl's.
758 Bit set = changeable.
759 You probably want 00 here.
761 config ETRAX_PB_CHANGEABLE_BITS
762 hex "PB user changeable bits mask"
763 depends on ETRAX_GPIO
766 This is a bitmask with information of what bits in PB that a user
767 can change the value on using ioctl's.
768 Bit set = changeable.
769 You probably want 00 here.
772 bool "Real Time Clock support"
773 depends on ETRAX_ARCH_V10
775 Enables drivers for the Real-Time Clock battery-backed chips on
776 some products. The kernel reads the time when booting, and
777 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
778 rtc_time struct (see <file:include/asm-cris/rtc.h>) on the /dev/rtc
779 device, major 121. You can check the time with cat /proc/rtc, but
780 normal time reading should be done using libc function time and
791 Enables the driver for the DS1302 Real-Time Clock battery-backed
792 chip on some products.
797 Enables the driver for the PCF8563 Real-Time Clock battery-backed
798 chip on some products.
802 config ETRAX_DS1302_RST_ON_GENERIC_PORT
803 bool "DS1302 RST on Generic Port"
804 depends on ETRAX_DS1302
806 If your product has the RST signal line for the DS1302 RTC on the
807 Generic Port then say Y here, otherwise leave it as N in which
808 case the RST signal line is assumed to be connected to Port PB
809 (just like the SCL and SDA lines).
811 config ETRAX_DS1302_RSTBIT
812 int "DS1302 RST bit number"
813 depends on ETRAX_DS1302
816 This is the bit number for the RST signal line of the DS1302 RTC on
817 the selected port. If you have selected the generic port then it
818 should be bit 27, otherwise your best bet is bit 5.
820 config ETRAX_DS1302_SCLBIT
821 int "DS1302 SCL bit number"
822 depends on ETRAX_DS1302
825 This is the bit number for the SCL signal line of the DS1302 RTC on
826 Port PB. This is probably best left at 3.
828 config ETRAX_DS1302_SDABIT
829 int "DS1302 SDA bit number"
830 depends on ETRAX_DS1302
833 This is the bit number for the SDA signal line of the DS1302 RTC on
834 Port PB. This is probably best left at 2.
836 config ETRAX_DS1302_TRICKLE_CHARGE
837 int "DS1302 Trickle charger value"
838 depends on ETRAX_DS1302
841 This controls the initial value of the trickle charge register.
842 0 = disabled (use this if you are unsure or have a non rechargeable battery)
843 Otherwise the following values can be OR:ed together to control the
845 1 = 2kohm, 2 = 4kohm, 3 = 4kohm
846 4 = 1 diode, 8 = 2 diodes
847 Allowed values are (increasing current): 0, 11, 10, 9, 7, 6, 5