1 # ETRAX 100LX v1 has a MMU "feature" requiring a low mapping
4 depends on ETRAX_ARCH_V10 && ETRAX100LX
7 config ETRAX_DRAM_VIRTUAL_BASE
9 depends on ETRAX_ARCH_V10
10 default "c0000000" if !ETRAX100LX
11 default "60000000" if ETRAX100LX
14 prompt "Product LED port"
15 depends on ETRAX_ARCH_V10
21 The ETRAX network driver is responsible for flashing LED's when
22 packets arrive and are sent. It uses macros defined in
23 <file:include/asm-cris/io.h>, and those macros are defined after what
24 YOU choose in this option. The actual bits used are configured
25 separately. Select this if the LEDs are on port PA. Some products
26 put the leds on PB or a memory-mapped latch (CSP0) instead.
31 The ETRAX network driver is responsible for flashing LED's when
32 packets arrive and are sent. It uses macros defined in
33 <file:include/asm-cris/io.h>, and those macros are defined after what
34 YOU choose in this option. The actual bits used are configured
35 separately. Select this if the LEDs are on port PB. Some products
36 put the leds on PA or a memory-mapped latch (CSP0) instead.
38 config ETRAX_CSP0_LEDS
41 The ETRAX network driver is responsible for flashing LED's when
42 packets arrive and are sent. It uses macros defined in
43 <file:include/asm-cris/io.h>, and those macros are defined after what
44 YOU choose in this option. The actual bits used are configured
45 separately. Select this if the LEDs are on a memory-mapped latch
46 using chip select CSP0, this is mapped at 0x90000000.
47 Some products put the leds on PA or PB instead.
52 Select this option if you don't have any LED at all.
57 int "First green LED bit"
58 depends on ETRAX_ARCH_V10 && !ETRAX_NO_LEDS
61 Bit to use for the first green LED.
62 Most Axis products use bit 2 here.
65 int "First red LED bit"
66 depends on ETRAX_ARCH_V10 && !ETRAX_NO_LEDS
69 Bit to use for the first red LED.
70 Most Axis products use bit 3 here.
71 For products with only one controllable LED,
72 set this to same as CONFIG_ETRAX_LED1G (normally 2).
75 int "Second green LED bit"
76 depends on ETRAX_ARCH_V10 && !ETRAX_NO_LEDS
79 Bit to use for the second green LED. The "Active" LED.
80 Most Axis products use bit 4 here.
81 For products with only one controllable LED,
82 set this to same as CONFIG_ETRAX_LED1G (normally 2).
85 int "Second red LED bit"
86 depends on ETRAX_ARCH_V10 && !ETRAX_NO_LEDS
89 Bit to use for the second red LED.
90 Most Axis products use bit 5 here.
91 For products with only one controllable LED,
92 set this to same as CONFIG_ETRAX_LED1G (normally 2).
95 int "Third green LED bit"
96 depends on ETRAX_ARCH_V10 && !ETRAX_NO_LEDS
99 Bit to use for the third green LED. The "Drive" LED.
100 For products with only one or two controllable LEDs,
101 set this to same as CONFIG_ETRAX_LED1G (normally 2).
104 int "Third red LED bit"
105 depends on ETRAX_ARCH_V10 && !ETRAX_NO_LEDS
108 Bit to use for the third red LED.
109 For products with only one or two controllable LEDs,
110 set this to same as CONFIG_ETRAX_LED1G (normally 2).
113 int "Fourth red LED bit"
114 depends on ETRAX_CSP0_LEDS
117 Bit to use for the fourth red LED.
118 For products with only one or two controllable LEDs,
119 set this to same as CONFIG_ETRAX_LED1G (normally 2).
122 int "Fourth green LED bit"
123 depends on ETRAX_CSP0_LEDS
126 Bit to use for the fourth green LED.
127 For products with only one or two controllable LEDs,
128 set this to same as CONFIG_ETRAX_LED1G (normally 2).
131 int "Fifth red LED bit"
132 depends on ETRAX_CSP0_LEDS
135 Bit to use for the fifth red LED.
136 For products with only one or two controllable LEDs,
137 set this to same as CONFIG_ETRAX_LED1G (normally 2).
140 int "Fifth green LED bit"
141 depends on ETRAX_CSP0_LEDS
144 Bit to use for the fifth green LED.
145 For products with only one or two controllable LEDs,
146 set this to same as CONFIG_ETRAX_LED1G (normally 2).
149 int "Sixth red LED bit"
150 depends on ETRAX_CSP0_LEDS
153 Bit to use for the sixth red LED.
154 For products with only one or two controllable LEDs,
155 set this to same as CONFIG_ETRAX_LED1G (normally 2).
158 int "Sixth green LED bit"
159 depends on ETRAX_CSP0_LEDS
162 Bit to use for the sixth green LED. The "Drive" LED.
163 For products with only one or two controllable LEDs,
164 set this to same as CONFIG_ETRAX_LED1G (normally 2).
167 int "Seventh red LED bit"
168 depends on ETRAX_CSP0_LEDS
171 Bit to use for the seventh red LED.
172 For products with only one or two controllable LEDs,
173 set this to same as CONFIG_ETRAX_LED1G (normally 2).
176 int "Seventh green LED bit"
177 depends on ETRAX_CSP0_LEDS
180 Bit to use for the seventh green LED.
181 For products with only one or two controllable LEDs,
182 set this to same as CONFIG_ETRAX_LED1G (normally 2).
185 int "Eigth yellow LED bit"
186 depends on ETRAX_CSP0_LEDS
189 Bit to use for the eighth yellow LED. The "Drive" LED.
190 For products with only one or two controllable LEDs,
191 set this to same as CONFIG_ETRAX_LED1G (normally 2).
194 int "Ninth yellow LED bit"
195 depends on ETRAX_CSP0_LEDS
198 Bit to use for the ninth yellow LED.
199 For products with only one or two controllable LEDs,
200 set this to same as CONFIG_ETRAX_LED1G (normally 2).
203 int "Tenth yellow LED bit"
204 depends on ETRAX_CSP0_LEDS
207 Bit to use for the tenth yellow LED.
208 For products with only one or two controllable LEDs,
209 set this to same as CONFIG_ETRAX_LED1G (normally 2).
212 int "Eleventh yellow LED bit"
213 depends on ETRAX_CSP0_LEDS
216 Bit to use for the eleventh yellow LED.
217 For products with only one or two controllable LEDs,
218 set this to same as CONFIG_ETRAX_LED1G (normally 2).
221 int "Twelfth red LED bit"
222 depends on ETRAX_CSP0_LEDS
225 Bit to use for the twelfth red LED.
226 For products with only one or two controllable LEDs,
227 set this to same as CONFIG_ETRAX_LED1G (normally 2).
230 prompt "Product debug-port"
231 depends on ETRAX_ARCH_V10
232 default ETRAX_DEBUG_PORT0
234 config ETRAX_DEBUG_PORT0
237 Choose a serial port for the ETRAX debug console. Default to
240 config ETRAX_DEBUG_PORT1
243 Use serial port 1 for the console.
245 config ETRAX_DEBUG_PORT2
248 Use serial port 2 for the console.
250 config ETRAX_DEBUG_PORT3
253 Use serial port 3 for the console.
255 config ETRAX_DEBUG_PORT_NULL
258 Disable serial-port debugging.
263 prompt "Kernel GDB port"
264 depends on ETRAX_KGDB
265 default ETRAX_KGDB_PORT0
267 Choose a serial port for kernel debugging. NOTE: This port should
268 not be enabled under Drivers for built-in interfaces (as it has its
269 own initialization code) and should not be the same as the debug port.
271 config ETRAX_KGDB_PORT0
274 Use serial port 0 for kernel debugging.
276 config ETRAX_KGDB_PORT1
279 Use serial port 1 for kernel debugging.
281 config ETRAX_KGDB_PORT2
284 Use serial port 2 for kernel debugging.
286 config ETRAX_KGDB_PORT3
289 Use serial port 3 for kernel debugging.
294 prompt "Product rescue-port"
295 depends on ETRAX_ARCH_V10
296 default ETRAX_RESCUE_SER0
298 config ETRAX_RESCUE_SER0
301 Select one of the four serial ports as a rescue port. The default
304 config ETRAX_RESCUE_SER1
307 Use serial port 1 as the rescue port.
309 config ETRAX_RESCUE_SER2
312 Use serial port 2 as the rescue port.
314 config ETRAX_RESCUE_SER3
317 Use serial port 3 as the rescue port.
321 config ETRAX_DEF_R_WAITSTATES
323 depends on ETRAX_ARCH_V10
326 Waitstates for SRAM, Flash and peripherials (not DRAM). 95f8 is a
327 good choice for most Axis products...
329 config ETRAX_DEF_R_BUS_CONFIG
331 depends on ETRAX_ARCH_V10
334 Assorted bits controlling write mode, DMA burst length etc. 104 is
335 a good choice for most Axis products...
339 depends on ETRAX_ARCH_V10
341 Enable this if you use SDRAM chips and configure
342 R_SDRAM_CONFIG and R_SDRAM_TIMING as well.
344 config ETRAX_DEF_R_DRAM_CONFIG
346 depends on ETRAX_ARCH_V10 && !ETRAX_SDRAM
349 The R_DRAM_CONFIG register specifies everything on how the DRAM
350 chips in the system are connected to the ETRAX CPU. This is
351 different depending on the manufacturer, chip type and number of
352 chips. So this value often needs to be different for each Axis
355 config ETRAX_DEF_R_DRAM_TIMING
357 depends on ETRAX_ARCH_V10 && !ETRAX_SDRAM
360 Different DRAM chips have different speeds. Current Axis products
361 use 50ns DRAM chips which can use the timing: 5611.
363 config ETRAX_DEF_R_SDRAM_CONFIG
365 depends on ETRAX_ARCH_V10 && ETRAX_SDRAM
368 The R_SDRAM_CONFIG register specifies everything on how the SDRAM
369 chips in the system are connected to the ETRAX CPU. This is
370 different depending on the manufacturer, chip type and number of
371 chips. So this value often needs to be different for each Axis
374 config ETRAX_DEF_R_SDRAM_TIMING
376 depends on ETRAX_ARCH_V10 && ETRAX_SDRAM
379 Different SDRAM chips have different timing.
381 config ETRAX_DEF_R_PORT_PA_DIR
383 depends on ETRAX_ARCH_V10
386 Configures the direction of general port A bits. 1 is out, 0 is in.
387 This is often totally different depending on the product used.
388 There are some guidelines though - if you know that only LED's are
389 connected to port PA, then they are usually connected to bits 2-4
390 and you can therefore use 1c. On other boards which don't have the
391 LED's at the general ports, these bits are used for all kinds of
392 stuff. If you don't know what to use, it is always safe to put all
393 as inputs, although floating inputs isn't good.
395 config ETRAX_DEF_R_PORT_PA_DATA
397 depends on ETRAX_ARCH_V10
400 Configures the initial data for the general port A bits. Most
401 products should use 00 here.
403 config ETRAX_DEF_R_PORT_PB_CONFIG
404 hex "R_PORT_PB_CONFIG"
405 depends on ETRAX_ARCH_V10
408 Configures the type of the general port B bits. 1 is chip select,
409 0 is port. Most products should use 00 here.
411 config ETRAX_DEF_R_PORT_PB_DIR
413 depends on ETRAX_ARCH_V10
416 Configures the direction of general port B bits. 1 is out, 0 is in.
417 This is often totally different depending on the product used. Bits
418 0 and 1 on port PB are usually used for I2C communication, but the
419 kernel I2C driver sets the appropriate directions itself so you
420 don't need to take that into consideration when setting this option.
421 If you don't know what to use, it is always safe to put all as
424 config ETRAX_DEF_R_PORT_PB_DATA
426 depends on ETRAX_ARCH_V10
429 Configures the initial data for the general port A bits. Most
430 products should use FF here.
432 config ETRAX_SOFT_SHUTDOWN
433 bool "Software Shutdown Support"
434 depends on ETRAX_ARCH_V10
436 Enable this if ETRAX is used with a power-supply that can be turned
437 off and on with PS_ON signal. Gives the possibility to detect
438 powerbutton and then do a power off after unmounting disks.
440 config ETRAX_SHUTDOWN_BIT
441 int "Shutdown bit on port CSP0"
442 depends on ETRAX_SOFT_SHUTDOWN
445 Configure what pin on CSPO-port that is used for controlling power
448 config ETRAX_POWERBUTTON_BIT
449 int "Power button bit on port G"
450 depends on ETRAX_SOFT_SHUTDOWN
453 Configure where power button is connected.