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 "Product rescue-port"
264 depends on ETRAX_ARCH_V10
265 default ETRAX_RESCUE_SER0
267 config ETRAX_RESCUE_SER0
270 Select one of the four serial ports as a rescue port. The default
273 config ETRAX_RESCUE_SER1
276 Use serial port 1 as the rescue port.
278 config ETRAX_RESCUE_SER2
281 Use serial port 2 as the rescue port.
283 config ETRAX_RESCUE_SER3
286 Use serial port 3 as the rescue port.
290 config ETRAX_DEF_R_WAITSTATES
292 depends on ETRAX_ARCH_V10
295 Waitstates for SRAM, Flash and peripherials (not DRAM). 95f8 is a
296 good choice for most Axis products...
298 config ETRAX_DEF_R_BUS_CONFIG
300 depends on ETRAX_ARCH_V10
303 Assorted bits controlling write mode, DMA burst length etc. 104 is
304 a good choice for most Axis products...
308 depends on ETRAX_ARCH_V10
310 Enable this if you use SDRAM chips and configure
311 R_SDRAM_CONFIG and R_SDRAM_TIMING as well.
313 config ETRAX_DEF_R_DRAM_CONFIG
315 depends on ETRAX_ARCH_V10 && !ETRAX_SDRAM
318 The R_DRAM_CONFIG register specifies everything on how the DRAM
319 chips in the system are connected to the ETRAX CPU. This is
320 different depending on the manufacturer, chip type and number of
321 chips. So this value often needs to be different for each Axis
324 config ETRAX_DEF_R_DRAM_TIMING
326 depends on ETRAX_ARCH_V10 && !ETRAX_SDRAM
329 Different DRAM chips have different speeds. Current Axis products
330 use 50ns DRAM chips which can use the timing: 5611.
332 config ETRAX_DEF_R_SDRAM_CONFIG
334 depends on ETRAX_ARCH_V10 && ETRAX_SDRAM
337 The R_SDRAM_CONFIG register specifies everything on how the SDRAM
338 chips in the system are connected to the ETRAX CPU. This is
339 different depending on the manufacturer, chip type and number of
340 chips. So this value often needs to be different for each Axis
343 config ETRAX_DEF_R_SDRAM_TIMING
345 depends on ETRAX_ARCH_V10 && ETRAX_SDRAM
348 Different SDRAM chips have different timing.
350 config ETRAX_DEF_R_PORT_PA_DIR
352 depends on ETRAX_ARCH_V10
355 Configures the direction of general port A bits. 1 is out, 0 is in.
356 This is often totally different depending on the product used.
357 There are some guidelines though - if you know that only LED's are
358 connected to port PA, then they are usually connected to bits 2-4
359 and you can therefore use 1c. On other boards which don't have the
360 LED's at the general ports, these bits are used for all kinds of
361 stuff. If you don't know what to use, it is always safe to put all
362 as inputs, although floating inputs isn't good.
364 config ETRAX_DEF_R_PORT_PA_DATA
366 depends on ETRAX_ARCH_V10
369 Configures the initial data for the general port A bits. Most
370 products should use 00 here.
372 config ETRAX_DEF_R_PORT_PB_CONFIG
373 hex "R_PORT_PB_CONFIG"
374 depends on ETRAX_ARCH_V10
377 Configures the type of the general port B bits. 1 is chip select,
378 0 is port. Most products should use 00 here.
380 config ETRAX_DEF_R_PORT_PB_DIR
382 depends on ETRAX_ARCH_V10
385 Configures the direction of general port B bits. 1 is out, 0 is in.
386 This is often totally different depending on the product used. Bits
387 0 and 1 on port PB are usually used for I2C communication, but the
388 kernel I2C driver sets the appropriate directions itself so you
389 don't need to take that into consideration when setting this option.
390 If you don't know what to use, it is always safe to put all as
393 config ETRAX_DEF_R_PORT_PB_DATA
395 depends on ETRAX_ARCH_V10
398 Configures the initial data for the general port A bits. Most
399 products should use FF here.
401 config ETRAX_SOFT_SHUTDOWN
402 bool "Software Shutdown Support"
403 depends on ETRAX_ARCH_V10
405 Enable this if ETRAX is used with a power-supply that can be turned
406 off and on with PS_ON signal. Gives the possibility to detect
407 powerbutton and then do a power off after unmounting disks.
409 config ETRAX_SHUTDOWN_BIT
410 int "Shutdown bit on port CSP0"
411 depends on ETRAX_SOFT_SHUTDOWN
414 Configure what pin on CSPO-port that is used for controlling power
417 config ETRAX_POWERBUTTON_BIT
418 int "Power button bit on port G"
419 depends on ETRAX_SOFT_SHUTDOWN
422 Configure where power button is connected.