3 # ETRAX 100LX v1 has a MMU "feature" requiring a low mapping
6 depends on ETRAX_ARCH_V10 && ETRAX100LX
9 config ETRAX_DRAM_VIRTUAL_BASE
11 depends on ETRAX_ARCH_V10
12 default "c0000000" if !ETRAX100LX
13 default "60000000" if ETRAX100LX
16 prompt "Product LED port"
17 depends on ETRAX_ARCH_V10
23 The ETRAX network driver is responsible for flashing LED's when
24 packets arrive and are sent. It uses macros defined in
25 <file:include/asm-cris/io.h>, and those macros are defined after what
26 YOU choose in this option. The actual bits used are configured
27 separately. Select this if the LEDs are on port PA. Some products
28 put the leds on PB or a memory-mapped latch (CSP0) instead.
33 The ETRAX network driver is responsible for flashing LED's when
34 packets arrive and are sent. It uses macros defined in
35 <file:include/asm-cris/io.h>, and those macros are defined after what
36 YOU choose in this option. The actual bits used are configured
37 separately. Select this if the LEDs are on port PB. Some products
38 put the leds on PA or a memory-mapped latch (CSP0) instead.
40 config ETRAX_CSP0_LEDS
43 The ETRAX network driver is responsible for flashing LED's when
44 packets arrive and are sent. It uses macros defined in
45 <file:include/asm-cris/io.h>, and those macros are defined after what
46 YOU choose in this option. The actual bits used are configured
47 separately. Select this if the LEDs are on a memory-mapped latch
48 using chip select CSP0, this is mapped at 0x90000000.
49 Some products put the leds on PA or PB instead.
54 Select this option if you don't have any LED at all.
59 int "First green LED bit"
60 depends on ETRAX_ARCH_V10 && !ETRAX_NO_LEDS
63 Bit to use for the first green LED.
64 Most Axis products use bit 2 here.
67 int "First red LED bit"
68 depends on ETRAX_ARCH_V10 && !ETRAX_NO_LEDS
71 Bit to use for the first red LED.
72 Most Axis products use bit 3 here.
73 For products with only one controllable LED,
74 set this to same as CONFIG_ETRAX_LED1G (normally 2).
77 int "Second green LED bit"
78 depends on ETRAX_ARCH_V10 && !ETRAX_NO_LEDS
81 Bit to use for the second green LED. The "Active" LED.
82 Most Axis products use bit 4 here.
83 For products with only one controllable LED,
84 set this to same as CONFIG_ETRAX_LED1G (normally 2).
87 int "Second red LED bit"
88 depends on ETRAX_ARCH_V10 && !ETRAX_NO_LEDS
91 Bit to use for the second red LED.
92 Most Axis products use bit 5 here.
93 For products with only one controllable LED,
94 set this to same as CONFIG_ETRAX_LED1G (normally 2).
97 int "Third green LED bit"
98 depends on ETRAX_ARCH_V10 && !ETRAX_NO_LEDS
101 Bit to use for the third green LED. The "Drive" LED.
102 For products with only one or two controllable LEDs,
103 set this to same as CONFIG_ETRAX_LED1G (normally 2).
106 int "Third red LED bit"
107 depends on ETRAX_ARCH_V10 && !ETRAX_NO_LEDS
110 Bit to use for the third red LED.
111 For products with only one or two controllable LEDs,
112 set this to same as CONFIG_ETRAX_LED1G (normally 2).
115 int "Fourth red LED bit"
116 depends on ETRAX_CSP0_LEDS
119 Bit to use for the fourth red LED.
120 For products with only one or two controllable LEDs,
121 set this to same as CONFIG_ETRAX_LED1G (normally 2).
124 int "Fourth green LED bit"
125 depends on ETRAX_CSP0_LEDS
128 Bit to use for the fourth green LED.
129 For products with only one or two controllable LEDs,
130 set this to same as CONFIG_ETRAX_LED1G (normally 2).
133 int "Fifth red LED bit"
134 depends on ETRAX_CSP0_LEDS
137 Bit to use for the fifth red LED.
138 For products with only one or two controllable LEDs,
139 set this to same as CONFIG_ETRAX_LED1G (normally 2).
142 int "Fifth green LED bit"
143 depends on ETRAX_CSP0_LEDS
146 Bit to use for the fifth green LED.
147 For products with only one or two controllable LEDs,
148 set this to same as CONFIG_ETRAX_LED1G (normally 2).
151 int "Sixth red LED bit"
152 depends on ETRAX_CSP0_LEDS
155 Bit to use for the sixth red LED.
156 For products with only one or two controllable LEDs,
157 set this to same as CONFIG_ETRAX_LED1G (normally 2).
160 int "Sixth green LED bit"
161 depends on ETRAX_CSP0_LEDS
164 Bit to use for the sixth green LED. The "Drive" LED.
165 For products with only one or two controllable LEDs,
166 set this to same as CONFIG_ETRAX_LED1G (normally 2).
169 int "Seventh red LED bit"
170 depends on ETRAX_CSP0_LEDS
173 Bit to use for the seventh red LED.
174 For products with only one or two controllable LEDs,
175 set this to same as CONFIG_ETRAX_LED1G (normally 2).
178 int "Seventh green LED bit"
179 depends on ETRAX_CSP0_LEDS
182 Bit to use for the seventh green LED.
183 For products with only one or two controllable LEDs,
184 set this to same as CONFIG_ETRAX_LED1G (normally 2).
187 int "Eighth yellow LED bit"
188 depends on ETRAX_CSP0_LEDS
191 Bit to use for the eighth yellow LED. The "Drive" LED.
192 For products with only one or two controllable LEDs,
193 set this to same as CONFIG_ETRAX_LED1G (normally 2).
196 int "Ninth yellow LED bit"
197 depends on ETRAX_CSP0_LEDS
200 Bit to use for the ninth yellow LED.
201 For products with only one or two controllable LEDs,
202 set this to same as CONFIG_ETRAX_LED1G (normally 2).
205 int "Tenth yellow LED bit"
206 depends on ETRAX_CSP0_LEDS
209 Bit to use for the tenth yellow LED.
210 For products with only one or two controllable LEDs,
211 set this to same as CONFIG_ETRAX_LED1G (normally 2).
214 int "Eleventh yellow LED bit"
215 depends on ETRAX_CSP0_LEDS
218 Bit to use for the eleventh yellow LED.
219 For products with only one or two controllable LEDs,
220 set this to same as CONFIG_ETRAX_LED1G (normally 2).
223 int "Twelfth red LED bit"
224 depends on ETRAX_CSP0_LEDS
227 Bit to use for the twelfth red LED.
228 For products with only one or two controllable LEDs,
229 set this to same as CONFIG_ETRAX_LED1G (normally 2).
232 prompt "Product debug-port"
233 depends on ETRAX_ARCH_V10
234 default ETRAX_DEBUG_PORT0
236 config ETRAX_DEBUG_PORT0
239 Choose a serial port for the ETRAX debug console. Default to
242 config ETRAX_DEBUG_PORT1
245 Use serial port 1 for the console.
247 config ETRAX_DEBUG_PORT2
250 Use serial port 2 for the console.
252 config ETRAX_DEBUG_PORT3
255 Use serial port 3 for the console.
257 config ETRAX_DEBUG_PORT_NULL
260 Disable serial-port debugging.
265 prompt "Kernel GDB port"
266 depends on ETRAX_KGDB
267 default ETRAX_KGDB_PORT0
269 Choose a serial port for kernel debugging. NOTE: This port should
270 not be enabled under Drivers for built-in interfaces (as it has its
271 own initialization code) and should not be the same as the debug port.
273 config ETRAX_KGDB_PORT0
276 Use serial port 0 for kernel debugging.
278 config ETRAX_KGDB_PORT1
281 Use serial port 1 for kernel debugging.
283 config ETRAX_KGDB_PORT2
286 Use serial port 2 for kernel debugging.
288 config ETRAX_KGDB_PORT3
291 Use serial port 3 for kernel debugging.
296 prompt "Product rescue-port"
297 depends on ETRAX_ARCH_V10
298 default ETRAX_RESCUE_SER0
300 config ETRAX_RESCUE_SER0
303 Select one of the four serial ports as a rescue port. The default
306 config ETRAX_RESCUE_SER1
309 Use serial port 1 as the rescue port.
311 config ETRAX_RESCUE_SER2
314 Use serial port 2 as the rescue port.
316 config ETRAX_RESCUE_SER3
319 Use serial port 3 as the rescue port.
323 config ETRAX_DEF_R_WAITSTATES
325 depends on ETRAX_ARCH_V10
328 Waitstates for SRAM, Flash and peripherals (not DRAM). 95f8 is a
329 good choice for most Axis products...
331 config ETRAX_DEF_R_BUS_CONFIG
333 depends on ETRAX_ARCH_V10
336 Assorted bits controlling write mode, DMA burst length etc. 104 is
337 a good choice for most Axis products...
341 depends on ETRAX_ARCH_V10
343 Enable this if you use SDRAM chips and configure
344 R_SDRAM_CONFIG and R_SDRAM_TIMING as well.
346 config ETRAX_DEF_R_DRAM_CONFIG
348 depends on ETRAX_ARCH_V10 && !ETRAX_SDRAM
351 The R_DRAM_CONFIG register specifies everything on how the DRAM
352 chips in the system are connected to the ETRAX CPU. This is
353 different depending on the manufacturer, chip type and number of
354 chips. So this value often needs to be different for each Axis
357 config ETRAX_DEF_R_DRAM_TIMING
359 depends on ETRAX_ARCH_V10 && !ETRAX_SDRAM
362 Different DRAM chips have different speeds. Current Axis products
363 use 50ns DRAM chips which can use the timing: 5611.
365 config ETRAX_DEF_R_SDRAM_CONFIG
367 depends on ETRAX_ARCH_V10 && ETRAX_SDRAM
370 The R_SDRAM_CONFIG register specifies everything on how the SDRAM
371 chips in the system are connected to the ETRAX CPU. This is
372 different depending on the manufacturer, chip type and number of
373 chips. So this value often needs to be different for each Axis
376 config ETRAX_DEF_R_SDRAM_TIMING
378 depends on ETRAX_ARCH_V10 && ETRAX_SDRAM
381 Different SDRAM chips have different timing.
383 config ETRAX_DEF_R_PORT_PA_DIR
385 depends on ETRAX_ARCH_V10
388 Configures the direction of general port A bits. 1 is out, 0 is in.
389 This is often totally different depending on the product used.
390 There are some guidelines though - if you know that only LED's are
391 connected to port PA, then they are usually connected to bits 2-4
392 and you can therefore use 1c. On other boards which don't have the
393 LED's at the general ports, these bits are used for all kinds of
394 stuff. If you don't know what to use, it is always safe to put all
395 as inputs, although floating inputs isn't good.
397 config ETRAX_DEF_R_PORT_PA_DATA
399 depends on ETRAX_ARCH_V10
402 Configures the initial data for the general port A bits. Most
403 products should use 00 here.
405 config ETRAX_DEF_R_PORT_PB_CONFIG
406 hex "R_PORT_PB_CONFIG"
407 depends on ETRAX_ARCH_V10
410 Configures the type of the general port B bits. 1 is chip select,
411 0 is port. Most products should use 00 here.
413 config ETRAX_DEF_R_PORT_PB_DIR
415 depends on ETRAX_ARCH_V10
418 Configures the direction of general port B bits. 1 is out, 0 is in.
419 This is often totally different depending on the product used. Bits
420 0 and 1 on port PB are usually used for I2C communication, but the
421 kernel I2C driver sets the appropriate directions itself so you
422 don't need to take that into consideration when setting this option.
423 If you don't know what to use, it is always safe to put all as
426 config ETRAX_DEF_R_PORT_PB_DATA
428 depends on ETRAX_ARCH_V10
431 Configures the initial data for the general port A bits. Most
432 products should use FF here.
434 config ETRAX_SOFT_SHUTDOWN
435 bool "Software Shutdown Support"
436 depends on ETRAX_ARCH_V10
438 Enable this if ETRAX is used with a power-supply that can be turned
439 off and on with PS_ON signal. Gives the possibility to detect
440 powerbutton and then do a power off after unmounting disks.
442 config ETRAX_SHUTDOWN_BIT
443 int "Shutdown bit on port CSP0"
444 depends on ETRAX_SOFT_SHUTDOWN
447 Configure what pin on CSPO-port that is used for controlling power
450 config ETRAX_POWERBUTTON_BIT
451 int "Power button bit on port G"
452 depends on ETRAX_SOFT_SHUTDOWN
455 Configure where power button is connected.