4 bool "Ethernet support"
5 depends on ETRAX_ARCH_V10
9 This option enables the ETRAX 100LX built-in 10/100Mbit Ethernet
13 bool "Serial-port support"
14 depends on ETRAX_ARCH_V10
16 Enables the ETRAX 100 serial driver for ser0 (ttyS0)
17 You probably want this enabled.
19 config ETRAX_SERIAL_FAST_TIMER
20 bool "Use fast timers for serial DMA flush (experimental)"
21 depends on ETRAX_SERIAL
23 Select this to have the serial DMAs flushed at a higher rate than
24 normally, possible by using the fast timer API, the timeout is
25 approx. 4 character times.
28 config ETRAX_SERIAL_FLUSH_DMA_FAST
29 bool "Fast serial port DMA flush"
30 depends on ETRAX_SERIAL && !ETRAX_SERIAL_FAST_TIMER
32 Select this to have the serial DMAs flushed at a higher rate than
33 normally possible through a fast timer interrupt (currently at
37 config ETRAX_SERIAL_RX_TIMEOUT_TICKS
38 int "Receive flush timeout (ticks) "
39 depends on ETRAX_SERIAL && !ETRAX_SERIAL_FAST_TIMER && !ETRAX_SERIAL_FLUSH_DMA_FAST
42 Number of timer ticks between flush of receive fifo (1 tick = 10ms).
43 Try 0-3 for low latency applications. Approx 5 for high load
44 applications (e.g. PPP). Maybe this should be more adaptive some
47 config ETRAX_SERIAL_PORT0
48 bool "Serial port 0 enabled"
49 depends on ETRAX_SERIAL
51 Enables the ETRAX 100 serial driver for ser0 (ttyS0)
52 Normally you want this on, unless you use external DMA 1 that uses
53 the same DMA channels.
56 prompt "Ser0 DTR, RI, DSR and CD assignment"
57 depends on ETRAX_SERIAL_PORT0
58 default ETRAX_SER0_DTR_RI_DSR_CD_ON_NONE
60 config ETRAX_SER0_DTR_RI_DSR_CD_ON_NONE
61 bool "No_DTR_RI_DSR_CD"
63 config ETRAX_SER0_DTR_RI_DSR_CD_ON_PA
64 bool "DTR_RI_DSR_CD_on_PA"
66 config ETRAX_SER0_DTR_RI_DSR_CD_ON_PB
67 bool "DTR_RI_DSR_CD_on_PB"
69 Enables the status and control signals DTR, RI, DSR and CD on PB for
72 config ETRAX_SER0_DTR_RI_DSR_CD_MIXED
73 bool "DTR_RI_DSR_CD_mixed_on_PA_and_PB"
77 config ETRAX_SER0_DTR_ON_PA_BIT
78 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
79 depends on ETRAX_SERIAL_PORT0
80 default "-1" if !ETRAX_SER0_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER0_DTR_RI_DSR_CD_MIXED
81 default "4" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PA || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
83 config ETRAX_SER0_RI_ON_PA_BIT
84 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
85 depends on ETRAX_SERIAL_PORT0
86 default "-1" if !ETRAX_SER0_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER0_DTR_RI_DSR_CD_MIXED
87 default "5" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PA || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
89 config ETRAX_SER0_DSR_ON_PA_BIT
90 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
91 depends on ETRAX_SERIAL_PORT0
92 default "-1" if !ETRAX_SER0_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER0_DTR_RI_DSR_CD_MIXED
93 default "6" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PA || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
95 config ETRAX_SER0_CD_ON_PA_BIT
96 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
97 depends on ETRAX_SERIAL_PORT0
98 default "-1" if !ETRAX_SER0_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER0_DTR_RI_DSR_CD_MIXED
99 default "7" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PA || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
101 config ETRAX_SER0_DTR_ON_PB_BIT
102 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
103 depends on ETRAX_SERIAL_PORT0
104 default "-1" if !ETRAX_SER0_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER0_DTR_RI_DSR_CD_MIXED
105 default "4" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PB || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
107 Specify the pin of the PB port to carry the DTR signal for serial
110 config ETRAX_SER0_RI_ON_PB_BIT
111 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
112 depends on ETRAX_SERIAL_PORT0
113 default "-1" if !ETRAX_SER0_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER0_DTR_RI_DSR_CD_MIXED
114 default "5" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PB || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
116 Specify the pin of the PB port to carry the RI signal for serial
119 config ETRAX_SER0_DSR_ON_PB_BIT
120 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
121 depends on ETRAX_SERIAL_PORT0
122 default "-1" if !ETRAX_SER0_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER0_DTR_RI_DSR_CD_MIXED
123 default "6" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PB || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
125 Specify the pin of the PB port to carry the DSR signal for serial
128 config ETRAX_SER0_CD_ON_PB_BIT
129 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
130 depends on ETRAX_SERIAL_PORT0
131 default "-1" if !ETRAX_SER0_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER0_DTR_RI_DSR_CD_MIXED
132 default "7" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PB || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
134 Specify the pin of the PB port to carry the CD signal for serial
137 config ETRAX_SERIAL_PORT1
138 bool "Serial port 1 enabled"
139 depends on ETRAX_SERIAL
141 Enables the ETRAX 100 serial driver for ser1 (ttyS1).
144 prompt "Ser1 DTR, RI, DSR and CD assignment"
145 depends on ETRAX_SERIAL_PORT1
146 default ETRAX_SER1_DTR_RI_DSR_CD_ON_NONE
148 config ETRAX_SER1_DTR_RI_DSR_CD_ON_NONE
149 bool "No_DTR_RI_DSR_CD"
151 config ETRAX_SER1_DTR_RI_DSR_CD_ON_PA
152 bool "DTR_RI_DSR_CD_on_PA"
154 config ETRAX_SER1_DTR_RI_DSR_CD_ON_PB
155 bool "DTR_RI_DSR_CD_on_PB"
157 Enables the status and control signals DTR, RI, DSR and CD on PB for
160 config ETRAX_SER1_DTR_RI_DSR_CD_MIXED
161 bool "DTR_RI_DSR_CD_mixed_on_PA_and_PB"
165 config ETRAX_SER1_DTR_ON_PA_BIT
166 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
167 depends on ETRAX_SERIAL_PORT1
168 default "-1" if !ETRAX_SER1_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER1_DTR_RI_DSR_CD_MIXED
169 default "4" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PA || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
171 config ETRAX_SER1_RI_ON_PA_BIT
172 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
173 depends on ETRAX_SERIAL_PORT1
174 default "-1" if !ETRAX_SER1_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER1_DTR_RI_DSR_CD_MIXED
175 default "5" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PA || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
177 config ETRAX_SER1_DSR_ON_PA_BIT
178 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
179 depends on ETRAX_SERIAL_PORT1
180 default "-1" if !ETRAX_SER1_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER1_DTR_RI_DSR_CD_MIXED
181 default "6" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PA || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
183 config ETRAX_SER1_CD_ON_PA_BIT
184 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
185 depends on ETRAX_SERIAL_PORT1
186 default "-1" if !ETRAX_SER1_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER1_DTR_RI_DSR_CD_MIXED
187 default "7" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PA || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
189 config ETRAX_SER1_DTR_ON_PB_BIT
190 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
191 depends on ETRAX_SERIAL_PORT1
192 default "-1" if !ETRAX_SER1_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER1_DTR_RI_DSR_CD_MIXED
193 default "4" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PB || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
195 Specify the pin of the PB port to carry the DTR signal for serial
198 config ETRAX_SER1_RI_ON_PB_BIT
199 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
200 depends on ETRAX_SERIAL_PORT1
201 default "-1" if !ETRAX_SER1_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER1_DTR_RI_DSR_CD_MIXED
202 default "5" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PB || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
204 Specify the pin of the PB port to carry the RI signal for serial
207 config ETRAX_SER1_DSR_ON_PB_BIT
208 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
209 depends on ETRAX_SERIAL_PORT1
210 default "-1" if !ETRAX_SER1_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER1_DTR_RI_DSR_CD_MIXED
211 default "6" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PB || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
213 Specify the pin of the PB port to carry the DSR signal for serial
216 config ETRAX_SER1_CD_ON_PB_BIT
217 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
218 depends on ETRAX_SERIAL_PORT1
219 default "-1" if !ETRAX_SER1_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER1_DTR_RI_DSR_CD_MIXED
220 default "7" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PB || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
222 Specify the pin of the PB port to carry the CD signal for serial
225 comment "Make sure you do not have the same PB bits more than once!"
226 depends on ETRAX_SERIAL && ETRAX_SER0_DTR_RI_DSR_CD_ON_PB && ETRAX_SER1_DTR_RI_DSR_CD_ON_PB
228 config ETRAX_SERIAL_PORT2
229 bool "Serial port 2 enabled"
230 depends on ETRAX_SERIAL
232 Enables the ETRAX 100 serial driver for ser2 (ttyS2).
235 prompt "Ser2 DTR, RI, DSR and CD assignment"
236 depends on ETRAX_SERIAL_PORT2
237 default ETRAX_SER2_DTR_RI_DSR_CD_ON_NONE
239 config ETRAX_SER2_DTR_RI_DSR_CD_ON_NONE
240 bool "No_DTR_RI_DSR_CD"
242 config ETRAX_SER2_DTR_RI_DSR_CD_ON_PA
243 bool "DTR_RI_DSR_CD_on_PA"
245 Enables the status and control signals DTR, RI, DSR and CD on PA for
248 config ETRAX_SER2_DTR_RI_DSR_CD_ON_PB
249 bool "DTR_RI_DSR_CD_on_PB"
251 config ETRAX_SER2_DTR_RI_DSR_CD_MIXED
252 bool "DTR_RI_DSR_CD_mixed_on_PA_and_PB"
256 config ETRAX_SER2_DTR_ON_PA_BIT
257 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
258 depends on ETRAX_SERIAL_PORT2
259 default "-1" if !ETRAX_SER2_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER2_DTR_RI_DSR_CD_MIXED
260 default "4" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PA || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
262 Specify the pin of the PA port to carry the DTR signal for serial
265 config ETRAX_SER2_RI_ON_PA_BIT
266 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
267 depends on ETRAX_SERIAL_PORT2
268 default "-1" if !ETRAX_SER2_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER2_DTR_RI_DSR_CD_MIXED
269 default "5" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PA || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
271 Specify the pin of the PA port to carry the RI signal for serial
274 config ETRAX_SER2_DSR_ON_PA_BIT
275 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
276 depends on ETRAX_SERIAL_PORT2
277 default "-1" if !ETRAX_SER2_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER2_DTR_RI_DSR_CD_MIXED
278 default "6" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PA || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
280 Specify the pin of the PA port to carry the DTR signal for serial
283 config ETRAX_SER2_CD_ON_PA_BIT
284 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
285 depends on ETRAX_SERIAL_PORT2
286 default "-1" if !ETRAX_SER2_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER2_DTR_RI_DSR_CD_MIXED
287 default "7" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PA || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
289 Specify the pin of the PA port to carry the CD signal for serial
292 config ETRAX_SER2_DTR_ON_PB_BIT
293 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
294 depends on ETRAX_SERIAL_PORT2
295 default "-1" if !ETRAX_SER2_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER2_DTR_RI_DSR_CD_MIXED
296 default "4" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PB || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
298 config ETRAX_SER2_RI_ON_PB_BIT
299 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
300 depends on ETRAX_SERIAL_PORT2
301 default "-1" if !ETRAX_SER2_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER2_DTR_RI_DSR_CD_MIXED
302 default "5" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PB || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
304 config ETRAX_SER2_DSR_ON_PB_BIT
305 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
306 depends on ETRAX_SERIAL_PORT2
307 default "-1" if !ETRAX_SER2_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER2_DTR_RI_DSR_CD_MIXED
308 default "6" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PB || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
310 config ETRAX_SER2_CD_ON_PB_BIT
311 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
312 depends on ETRAX_SERIAL_PORT2
313 default "-1" if !ETRAX_SER2_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER2_DTR_RI_DSR_CD_MIXED
314 default "7" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PB || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
316 config ETRAX_SERIAL_PORT3
317 bool "Serial port 3 enabled"
318 depends on ETRAX_SERIAL
320 Enables the ETRAX 100 serial driver for ser3 (ttyS3).
323 prompt "Ser3 DTR, RI, DSR and CD assignment"
324 depends on ETRAX_SERIAL_PORT3
325 default ETRAX_SER3_DTR_RI_DSR_CD_ON_NONE
327 config ETRAX_SER3_DTR_RI_DSR_CD_ON_NONE
328 bool "No_DTR_RI_DSR_CD"
330 config ETRAX_SER3_DTR_RI_DSR_CD_ON_PA
331 bool "DTR_RI_DSR_CD_on_PA"
333 config ETRAX_SER3_DTR_RI_DSR_CD_ON_PB
334 bool "DTR_RI_DSR_CD_on_PB"
336 config ETRAX_SER3_DTR_RI_DSR_CD_MIXED
337 bool "DTR_RI_DSR_CD_mixed_on_PA_and_PB"
341 config ETRAX_SER3_DTR_ON_PA_BIT
342 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
343 depends on ETRAX_SERIAL_PORT3
346 config ETRAX_SER3_RI_ON_PA_BIT
347 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
348 depends on ETRAX_SERIAL_PORT3
351 config ETRAX_SER3_DSR_ON_PA_BIT
352 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
353 depends on ETRAX_SERIAL_PORT3
356 config ETRAX_SER3_CD_ON_PA_BIT
357 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
358 depends on ETRAX_SERIAL_PORT3
361 config ETRAX_SER3_DTR_ON_PB_BIT
362 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
363 depends on ETRAX_SERIAL_PORT3
366 config ETRAX_SER3_RI_ON_PB_BIT
367 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
368 depends on ETRAX_SERIAL_PORT3
371 config ETRAX_SER3_DSR_ON_PB_BIT
372 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
373 depends on ETRAX_SERIAL_PORT3
376 config ETRAX_SER3_CD_ON_PB_BIT
377 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
378 depends on ETRAX_SERIAL_PORT3
382 bool "RS-485 support"
383 depends on ETRAX_SERIAL
385 Enables support for RS-485 serial communication. For a primer on
386 RS-485, see <http://www.hw.cz/english/docs/rs485/rs485.html>.
388 config ETRAX_RS485_ON_PA
389 bool "RS-485 mode on PA"
390 depends on ETRAX_RS485
392 Control Driver Output Enable on RS485 transceiver using a pin on PA
394 Axis 2400/2401 uses PA 3.
396 config ETRAX_RS485_ON_PA_BIT
397 int "RS-485 mode on PA bit"
398 depends on ETRAX_RS485_ON_PA
401 Control Driver Output Enable on RS485 transceiver using a this bit
404 config ETRAX_RS485_DISABLE_RECEIVER
405 bool "Disable serial receiver"
406 depends on ETRAX_RS485
408 It's necessary to disable the serial receiver to avoid serial
409 loopback. Not all products are able to do this in software only.
410 Axis 2400/2401 must disable receiver.
412 config ETRAX_USB_HOST
416 This option enables the host functionality of the ETRAX 100LX
417 built-in USB controller. In host mode the controller is designed
418 for CTRL and BULK traffic only, INTR traffic may work as well
419 however (depending on the requirements of timeliness).
421 config ETRAX_USB_HOST_PORT1
422 bool "USB port 1 enabled"
423 depends on ETRAX_USB_HOST
426 config ETRAX_USB_HOST_PORT2
427 bool "USB port 2 enabled"
428 depends on ETRAX_USB_HOST
431 config ETRAX_PTABLE_SECTOR
432 int "Byte-offset of partition table sector"
433 depends on ETRAX_AXISFLASHMAP
436 Byte-offset of the partition table in the first flash chip.
437 The default value is 64kB and should not be changed unless
438 you know exactly what you are doing. The only valid reason
439 for changing this is when the flash block size is bigger
440 than 64kB (e.g. when using two parallel 16 bit flashes).
444 depends on ETRAX_ARCH_V10
446 Enables an I2C driver on ETRAX100.
448 i2c_arg = I2C_WRITEARG(STA013_WRITE_ADDR, reg, val);
449 ioctl(fd, _IO(ETRAXI2C_IOCTYPE, I2C_WRITEREG), i2c_arg);
450 i2c_arg = I2C_READARG(STA013_READ_ADDR, reg);
451 val = ioctl(fd, _IO(ETRAXI2C_IOCTYPE, I2C_READREG), i2c_arg);
453 # this is true for most products since PB-I2C seems to be somewhat
455 config ETRAX_I2C_USES_PB_NOT_PB_I2C
456 bool "I2C uses PB not PB-I2C"
459 Select whether to use the special I2C mode in the PB I/O register or
460 not. This option needs to be selected in order to use some drivers
461 that access the I2C I/O pins directly instead of going through the
462 I2C driver, like the DS1302 realtime-clock driver. If you are
463 uncertain, choose Y here.
465 config ETRAX_I2C_DATA_PORT
466 int "I2C SDA bit number"
467 depends on ETRAX_I2C_USES_PB_NOT_PB_I2C
470 Selects the pin on Port B where the data pin is connected
472 config ETRAX_I2C_CLK_PORT
473 int "I2C SCL bit number"
474 depends on ETRAX_I2C_USES_PB_NOT_PB_I2C
477 Select the pin on Port B where the clock pin is connected
479 config ETRAX_I2C_EEPROM
480 bool "I2C EEPROM (non-volatile RAM) support"
483 Enables I2C EEPROM (non-volatile RAM) on PB0 and PB1 using the I2C
484 driver. Select size option: Probed, 2k, 8k, 16k.
485 (Probing works for 2k and 8k but not that well for 16k)
489 depends on ETRAX_I2C_EEPROM
490 default ETRAX_I2C_EEPROM_PROBE
492 config ETRAX_I2C_EEPROM_PROBE
495 Specifies size or auto probe of the EEPROM size.
496 Options: Probed, 2k, 8k, 16k.
497 (Probing works for 2k and 8k but not that well for 16k)
499 config ETRAX_I2C_EEPROM_2KB
504 config ETRAX_I2C_EEPROM_8KB
509 config ETRAX_I2C_EEPROM_16KB
518 depends on ETRAX_ARCH_V10
520 Enables the ETRAX general port device (major 120, minors 0 and 1).
521 You can use this driver to access the general port bits. It supports
523 #include <linux/etraxgpio.h>
524 fd = open("/dev/gpioa", O_RDWR); // or /dev/gpiob
525 ioctl(fd, _IO(ETRAXGPIO_IOCTYPE, IO_SETBITS), bits_to_set);
526 ioctl(fd, _IO(ETRAXGPIO_IOCTYPE, IO_CLRBITS), bits_to_clear);
527 val = ioctl(fd, _IO(ETRAXGPIO_IOCTYPE, IO_READBITS), NULL);
528 Remember that you need to setup the port directions appropriately in
529 the General configuration.
531 config ETRAX_PA_BUTTON_BITMASK
532 hex "PA-buttons bitmask"
533 depends on ETRAX_GPIO
536 This is a bitmask with information about what bits on PA that
537 are used for buttons.
538 Most products has a so called TEST button on PA1, if that's true
540 Use 00 if there are no buttons on PA.
541 If the bitmask is <> 00 a button driver will be included in the gpio
542 driver. ETRAX general I/O support must be enabled.
544 config ETRAX_PA_CHANGEABLE_DIR
545 hex "PA user changeable dir mask"
546 depends on ETRAX_GPIO
549 This is a bitmask with information of what bits in PA that a user
550 can change direction on using ioctl's.
551 Bit set = changeable.
552 You probably want 00 here.
554 config ETRAX_PA_CHANGEABLE_BITS
555 hex "PA user changeable bits mask"
556 depends on ETRAX_GPIO
559 This is a bitmask with information of what bits in PA that a user
560 can change the value on using ioctl's.
561 Bit set = changeable.
562 You probably want 00 here.
564 config ETRAX_PB_CHANGEABLE_DIR
565 hex "PB user changeable dir mask"
566 depends on ETRAX_GPIO
569 This is a bitmask with information of what bits in PB that a user
570 can change direction on using ioctl's.
571 Bit set = changeable.
572 You probably want 00 here.
574 config ETRAX_PB_CHANGEABLE_BITS
575 hex "PB user changeable bits mask"
576 depends on ETRAX_GPIO
579 This is a bitmask with information of what bits in PB that a user
580 can change the value on using ioctl's.
581 Bit set = changeable.
582 You probably want 00 here.
584 config ETRAX_DS1302_RST_ON_GENERIC_PORT
585 bool "DS1302 RST on Generic Port"
586 depends on ETRAX_DS1302
588 If your product has the RST signal line for the DS1302 RTC on the
589 Generic Port then say Y here, otherwise leave it as N in which
590 case the RST signal line is assumed to be connected to Port PB
591 (just like the SCL and SDA lines).
593 config ETRAX_DS1302_RSTBIT
594 int "DS1302 RST bit number"
595 depends on ETRAX_DS1302
598 This is the bit number for the RST signal line of the DS1302 RTC on
599 the selected port. If you have selected the generic port then it
600 should be bit 27, otherwise your best bet is bit 5.
602 config ETRAX_DS1302_SCLBIT
603 int "DS1302 SCL bit number"
604 depends on ETRAX_DS1302
607 This is the bit number for the SCL signal line of the DS1302 RTC on
608 Port PB. This is probably best left at 3.
610 config ETRAX_DS1302_SDABIT
611 int "DS1302 SDA bit number"
612 depends on ETRAX_DS1302
615 This is the bit number for the SDA signal line of the DS1302 RTC on
616 Port PB. This is probably best left at 2.
618 config ETRAX_DS1302_TRICKLE_CHARGE
619 int "DS1302 Trickle charger value"
620 depends on ETRAX_DS1302
623 This controls the initial value of the trickle charge register.
624 0 = disabled (use this if you are unsure or have a non rechargeable battery)
625 Otherwise the following values can be OR:ed together to control the
627 1 = 2kohm, 2 = 4kohm, 3 = 4kohm
628 4 = 1 diode, 8 = 2 diodes
629 Allowed values are (increasing current): 0, 11, 10, 9, 7, 6, 5