3 menu "CRIS v10 options"
5 # ETRAX 100LX v1 has a MMU "feature" requiring a low mapping
8 depends on ETRAX_ARCH_V10 && ETRAX100LX
11 config ETRAX_DRAM_VIRTUAL_BASE
13 depends on ETRAX_ARCH_V10
14 default "c0000000" if !ETRAX100LX
15 default "60000000" if ETRAX100LX
18 prompt "Product LED port"
19 depends on ETRAX_ARCH_V10
25 The ETRAX network driver is responsible for flashing LED's when
26 packets arrive and are sent. It uses macros defined in
27 <file:include/asm-cris/io.h>, and those macros are defined after what
28 YOU choose in this option. The actual bits used are configured
29 separately. Select this if the LEDs are on port PA. Some products
30 put the leds on PB or a memory-mapped latch (CSP0) instead.
35 The ETRAX network driver is responsible for flashing LED's when
36 packets arrive and are sent. It uses macros defined in
37 <file:include/asm-cris/io.h>, and those macros are defined after what
38 YOU choose in this option. The actual bits used are configured
39 separately. Select this if the LEDs are on port PB. Some products
40 put the leds on PA or a memory-mapped latch (CSP0) instead.
42 config ETRAX_CSP0_LEDS
45 The ETRAX network driver is responsible for flashing LED's when
46 packets arrive and are sent. It uses macros defined in
47 <file:include/asm-cris/io.h>, and those macros are defined after what
48 YOU choose in this option. The actual bits used are configured
49 separately. Select this if the LEDs are on a memory-mapped latch
50 using chip select CSP0, this is mapped at 0x90000000.
51 Some products put the leds on PA or PB instead.
56 Select this option if you don't have any LED at all.
61 int "First green LED bit"
62 depends on ETRAX_ARCH_V10 && !ETRAX_NO_LEDS
65 Bit to use for the first green LED.
66 Most Axis products use bit 2 here.
69 int "First red LED bit"
70 depends on ETRAX_ARCH_V10 && !ETRAX_NO_LEDS
73 Bit to use for the first red LED.
74 Most Axis products use bit 3 here.
75 For products with only one controllable LED,
76 set this to same as CONFIG_ETRAX_LED1G (normally 2).
79 int "Second green LED bit"
80 depends on ETRAX_ARCH_V10 && !ETRAX_NO_LEDS
83 Bit to use for the second green LED. The "Active" LED.
84 Most Axis products use bit 4 here.
85 For products with only one controllable LED,
86 set this to same as CONFIG_ETRAX_LED1G (normally 2).
89 int "Second red LED bit"
90 depends on ETRAX_ARCH_V10 && !ETRAX_NO_LEDS
93 Bit to use for the second red LED.
94 Most Axis products use bit 5 here.
95 For products with only one controllable LED,
96 set this to same as CONFIG_ETRAX_LED1G (normally 2).
99 int "Third green LED bit"
100 depends on ETRAX_ARCH_V10 && !ETRAX_NO_LEDS
103 Bit to use for the third green LED. The "Drive" LED.
104 For products with only one or two controllable LEDs,
105 set this to same as CONFIG_ETRAX_LED1G (normally 2).
108 int "Third red LED bit"
109 depends on ETRAX_ARCH_V10 && !ETRAX_NO_LEDS
112 Bit to use for the third red LED.
113 For products with only one or two controllable LEDs,
114 set this to same as CONFIG_ETRAX_LED1G (normally 2).
117 int "Fourth red LED bit"
118 depends on ETRAX_CSP0_LEDS
121 Bit to use for the fourth red LED.
122 For products with only one or two controllable LEDs,
123 set this to same as CONFIG_ETRAX_LED1G (normally 2).
126 int "Fourth green LED bit"
127 depends on ETRAX_CSP0_LEDS
130 Bit to use for the fourth green LED.
131 For products with only one or two controllable LEDs,
132 set this to same as CONFIG_ETRAX_LED1G (normally 2).
135 int "Fifth red LED bit"
136 depends on ETRAX_CSP0_LEDS
139 Bit to use for the fifth red LED.
140 For products with only one or two controllable LEDs,
141 set this to same as CONFIG_ETRAX_LED1G (normally 2).
144 int "Fifth green LED bit"
145 depends on ETRAX_CSP0_LEDS
148 Bit to use for the fifth green LED.
149 For products with only one or two controllable LEDs,
150 set this to same as CONFIG_ETRAX_LED1G (normally 2).
153 int "Sixth red LED bit"
154 depends on ETRAX_CSP0_LEDS
157 Bit to use for the sixth red LED.
158 For products with only one or two controllable LEDs,
159 set this to same as CONFIG_ETRAX_LED1G (normally 2).
162 int "Sixth green LED bit"
163 depends on ETRAX_CSP0_LEDS
166 Bit to use for the sixth green LED. The "Drive" LED.
167 For products with only one or two controllable LEDs,
168 set this to same as CONFIG_ETRAX_LED1G (normally 2).
171 int "Seventh red LED bit"
172 depends on ETRAX_CSP0_LEDS
175 Bit to use for the seventh red LED.
176 For products with only one or two controllable LEDs,
177 set this to same as CONFIG_ETRAX_LED1G (normally 2).
180 int "Seventh green LED bit"
181 depends on ETRAX_CSP0_LEDS
184 Bit to use for the seventh green LED.
185 For products with only one or two controllable LEDs,
186 set this to same as CONFIG_ETRAX_LED1G (normally 2).
189 int "Eighth yellow LED bit"
190 depends on ETRAX_CSP0_LEDS
193 Bit to use for the eighth yellow LED. The "Drive" LED.
194 For products with only one or two controllable LEDs,
195 set this to same as CONFIG_ETRAX_LED1G (normally 2).
198 int "Ninth yellow LED bit"
199 depends on ETRAX_CSP0_LEDS
202 Bit to use for the ninth yellow LED.
203 For products with only one or two controllable LEDs,
204 set this to same as CONFIG_ETRAX_LED1G (normally 2).
207 int "Tenth yellow LED bit"
208 depends on ETRAX_CSP0_LEDS
211 Bit to use for the tenth yellow LED.
212 For products with only one or two controllable LEDs,
213 set this to same as CONFIG_ETRAX_LED1G (normally 2).
216 int "Eleventh yellow LED bit"
217 depends on ETRAX_CSP0_LEDS
220 Bit to use for the eleventh yellow LED.
221 For products with only one or two controllable LEDs,
222 set this to same as CONFIG_ETRAX_LED1G (normally 2).
225 int "Twelfth red LED bit"
226 depends on ETRAX_CSP0_LEDS
229 Bit to use for the twelfth red LED.
230 For products with only one or two controllable LEDs,
231 set this to same as CONFIG_ETRAX_LED1G (normally 2).
235 prompt "Product rescue-port"
236 depends on ETRAX_ARCH_V10
237 default ETRAX_RESCUE_SER0
239 config ETRAX_RESCUE_SER0
242 Select one of the four serial ports as a rescue port. The default
245 config ETRAX_RESCUE_SER1
248 Use serial port 1 as the rescue port.
250 config ETRAX_RESCUE_SER2
253 Use serial port 2 as the rescue port.
255 config ETRAX_RESCUE_SER3
258 Use serial port 3 as the rescue port.
262 config ETRAX_DEF_R_WAITSTATES
264 depends on ETRAX_ARCH_V10
267 Waitstates for SRAM, Flash and peripherals (not DRAM). 95f8 is a
268 good choice for most Axis products...
270 config ETRAX_DEF_R_BUS_CONFIG
272 depends on ETRAX_ARCH_V10
275 Assorted bits controlling write mode, DMA burst length etc. 104 is
276 a good choice for most Axis products...
280 depends on ETRAX_ARCH_V10
282 Enable this if you use SDRAM chips and configure
283 R_SDRAM_CONFIG and R_SDRAM_TIMING as well.
285 config ETRAX_DEF_R_DRAM_CONFIG
287 depends on ETRAX_ARCH_V10 && !ETRAX_SDRAM
290 The R_DRAM_CONFIG register specifies everything on how the DRAM
291 chips in the system are connected to the ETRAX CPU. This is
292 different depending on the manufacturer, chip type and number of
293 chips. So this value often needs to be different for each Axis
296 config ETRAX_DEF_R_DRAM_TIMING
298 depends on ETRAX_ARCH_V10 && !ETRAX_SDRAM
301 Different DRAM chips have different speeds. Current Axis products
302 use 50ns DRAM chips which can use the timing: 5611.
304 config ETRAX_DEF_R_SDRAM_CONFIG
306 depends on ETRAX_ARCH_V10 && ETRAX_SDRAM
309 The R_SDRAM_CONFIG register specifies everything on how the SDRAM
310 chips in the system are connected to the ETRAX CPU. This is
311 different depending on the manufacturer, chip type and number of
312 chips. So this value often needs to be different for each Axis
315 config ETRAX_DEF_R_SDRAM_TIMING
317 depends on ETRAX_ARCH_V10 && ETRAX_SDRAM
320 Different SDRAM chips have different timing.
322 config ETRAX_DEF_R_PORT_PA_DIR
324 depends on ETRAX_ARCH_V10
327 Configures the direction of general port A bits. 1 is out, 0 is in.
328 This is often totally different depending on the product used.
329 There are some guidelines though - if you know that only LED's are
330 connected to port PA, then they are usually connected to bits 2-4
331 and you can therefore use 1c. On other boards which don't have the
332 LED's at the general ports, these bits are used for all kinds of
333 stuff. If you don't know what to use, it is always safe to put all
334 as inputs, although floating inputs isn't good.
336 config ETRAX_DEF_R_PORT_PA_DATA
338 depends on ETRAX_ARCH_V10
341 Configures the initial data for the general port A bits. Most
342 products should use 00 here.
344 config ETRAX_DEF_R_PORT_PB_CONFIG
345 hex "R_PORT_PB_CONFIG"
346 depends on ETRAX_ARCH_V10
349 Configures the type of the general port B bits. 1 is chip select,
350 0 is port. Most products should use 00 here.
352 config ETRAX_DEF_R_PORT_PB_DIR
354 depends on ETRAX_ARCH_V10
357 Configures the direction of general port B bits. 1 is out, 0 is in.
358 This is often totally different depending on the product used. Bits
359 0 and 1 on port PB are usually used for I2C communication, but the
360 kernel I2C driver sets the appropriate directions itself so you
361 don't need to take that into consideration when setting this option.
362 If you don't know what to use, it is always safe to put all as
365 config ETRAX_DEF_R_PORT_PB_DATA
367 depends on ETRAX_ARCH_V10
370 Configures the initial data for the general port A bits. Most
371 products should use FF here.
373 config ETRAX_SOFT_SHUTDOWN
374 bool "Software Shutdown Support"
375 depends on ETRAX_ARCH_V10
377 Enable this if ETRAX is used with a power-supply that can be turned
378 off and on with PS_ON signal. Gives the possibility to detect
379 powerbutton and then do a power off after unmounting disks.
381 config ETRAX_SHUTDOWN_BIT
382 int "Shutdown bit on port CSP0"
383 depends on ETRAX_SOFT_SHUTDOWN
386 Configure what pin on CSPO-port that is used for controlling power
389 config ETRAX_POWERBUTTON_BIT
390 int "Power button bit on port G"
391 depends on ETRAX_SOFT_SHUTDOWN
394 Configure where power button is connected.