if [31mCONFIG_ETRAX_ARCH_V10[0m
menu "CRIS v10 options"
# ETRAX 100LX v1 has a [31mCONFIG_MMU[0m "feature" requiring a low mapping
config [31mCONFIG_CRIS_LOW_MAP[0m
bool
depends on [31mCONFIG_ETRAX_ARCH_V10[0m && [31mCONFIG_ETRAX100LX[0m
default y
config [31mCONFIG_ETRAX_DRAM_VIRTUAL_BASE[0m
hex
depends on [31mCONFIG_ETRAX_ARCH_V10[0m
default "c0000000" if ![31mCONFIG_ETRAX100LX[0m
default "60000000" if [31mCONFIG_ETRAX100LX[0m
choice
prompt "Product LED port"
depends on [31mCONFIG_ETRAX_ARCH_V10[0m
default [31mCONFIG_ETRAX_PA_LEDS[0m
config [31mCONFIG_ETRAX_PA_LEDS[0m
bool "Port-PA-LEDs"
help
The ETRAX network driver is responsible for flashing LED's when
packets arrive and are sent. It uses macros defined in
<file:arch/cris/include/asm/io.h>, and those macros are defined after
what YOU choose in this option. The actual bits used are configured
separately. Select this if the LEDs are on port PA. Some products
put the leds on PB or a memory-mapped latch (CSP0) instead.
config [31mCONFIG_ETRAX_PB_LEDS[0m
bool "Port-PB-LEDs"
help
The ETRAX network driver is responsible for flashing LED's when
packets arrive and are sent. It uses macros defined in
<file:arch/cris/include/asm/io.h>, and those macros are defined after
what YOU choose in this option. The actual bits used are configured
separately. Select this if the LEDs are on port PB. Some products
put the leds on PA or a memory-mapped latch (CSP0) instead.
config [31mCONFIG_ETRAX_CSP0_LEDS[0m
bool "Port-CSP0-LEDs"
help
The ETRAX network driver is responsible for flashing LED's when
packets arrive and are sent. It uses macros defined in
<file:arch/cris/include/asm/io.h>, and those macros are defined after
what YOU choose in this option. The actual bits used are configured
separately. Select this if the LEDs are on a memory-mapped latch
using chip select CSP0, this is mapped at 0x90000000.
Some products put the leds on PA or PB instead.
config [31mCONFIG_ETRAX_NO_LEDS[0m
bool "None"
help
Select this option if you don't have any LED at all.
endchoice
config [31mCONFIG_ETRAX_LED1G[0m
int "First green LED bit"
depends on [31mCONFIG_ETRAX_ARCH_V10[0m && ![31mCONFIG_ETRAX_NO_LEDS[0m
default "2"
help
Bit to use for the first green LED.
Most Axis products use bit 2 here.
config [31mCONFIG_ETRAX_LED1R[0m
int "First red LED bit"
depends on [31mCONFIG_ETRAX_ARCH_V10[0m && ![31mCONFIG_ETRAX_NO_LEDS[0m
default "3"
help
Bit to use for the first red LED.
Most Axis products use bit 3 here.
For products with only one controllable LED,
set this to same as CONFIG_ETRAX_LED1G (normally 2).
config [31mCONFIG_ETRAX_LED2G[0m
int "Second green LED bit"
depends on [31mCONFIG_ETRAX_ARCH_V10[0m && ![31mCONFIG_ETRAX_NO_LEDS[0m
default "4"
help
Bit to use for the second green LED. The "Active" LED.
Most Axis products use bit 4 here.
For products with only one controllable LED,
set this to same as CONFIG_ETRAX_LED1G (normally 2).
config [31mCONFIG_ETRAX_LED2R[0m
int "Second red LED bit"
depends on [31mCONFIG_ETRAX_ARCH_V10[0m && ![31mCONFIG_ETRAX_NO_LEDS[0m
default "5"
help
Bit to use for the second red LED.
Most Axis products use bit 5 here.
For products with only one controllable LED,
set this to same as CONFIG_ETRAX_LED1G (normally 2).
config [31mCONFIG_ETRAX_LED3G[0m
int "Third green LED bit"
depends on [31mCONFIG_ETRAX_ARCH_V10[0m && ![31mCONFIG_ETRAX_NO_LEDS[0m
default "2"
help
Bit to use for the third green LED. The "Drive" LED.
For products with only one or two controllable LEDs,
set this to same as CONFIG_ETRAX_LED1G (normally 2).
config [31mCONFIG_ETRAX_LED3R[0m
int "Third red LED bit"
depends on [31mCONFIG_ETRAX_ARCH_V10[0m && ![31mCONFIG_ETRAX_NO_LEDS[0m
default "2"
help
Bit to use for the third red LED.
For products with only one or two controllable LEDs,
set this to same as CONFIG_ETRAX_LED1G (normally 2).
config [31mCONFIG_ETRAX_LED4R[0m
int "Fourth red LED bit"
depends on [31mCONFIG_ETRAX_CSP0_LEDS[0m
default "2"
help
Bit to use for the fourth red LED.
For products with only one or two controllable LEDs,
set this to same as CONFIG_ETRAX_LED1G (normally 2).
config [31mCONFIG_ETRAX_LED4G[0m
int "Fourth green LED bit"
depends on [31mCONFIG_ETRAX_CSP0_LEDS[0m
default "2"
help
Bit to use for the fourth green LED.
For products with only one or two controllable LEDs,
set this to same as CONFIG_ETRAX_LED1G (normally 2).
config [31mCONFIG_ETRAX_LED5R[0m
int "Fifth red LED bit"
depends on [31mCONFIG_ETRAX_CSP0_LEDS[0m
default "2"
help
Bit to use for the fifth red LED.
For products with only one or two controllable LEDs,
set this to same as CONFIG_ETRAX_LED1G (normally 2).
config [31mCONFIG_ETRAX_LED5G[0m
int "Fifth green LED bit"
depends on [31mCONFIG_ETRAX_CSP0_LEDS[0m
default "2"
help
Bit to use for the fifth green LED.
For products with only one or two controllable LEDs,
set this to same as CONFIG_ETRAX_LED1G (normally 2).
config [31mCONFIG_ETRAX_LED6R[0m
int "Sixth red LED bit"
depends on [31mCONFIG_ETRAX_CSP0_LEDS[0m
default "2"
help
Bit to use for the sixth red LED.
For products with only one or two controllable LEDs,
set this to same as CONFIG_ETRAX_LED1G (normally 2).
config [31mCONFIG_ETRAX_LED6G[0m
int "Sixth green LED bit"
depends on [31mCONFIG_ETRAX_CSP0_LEDS[0m
default "2"
help
Bit to use for the sixth green LED. The "Drive" LED.
For products with only one or two controllable LEDs,
set this to same as CONFIG_ETRAX_LED1G (normally 2).
config [31mCONFIG_ETRAX_LED7R[0m
int "Seventh red LED bit"
depends on [31mCONFIG_ETRAX_CSP0_LEDS[0m
default "2"
help
Bit to use for the seventh red LED.
For products with only one or two controllable LEDs,
set this to same as CONFIG_ETRAX_LED1G (normally 2).
config [31mCONFIG_ETRAX_LED7G[0m
int "Seventh green LED bit"
depends on [31mCONFIG_ETRAX_CSP0_LEDS[0m
default "2"
help
Bit to use for the seventh green LED.
For products with only one or two controllable LEDs,
set this to same as CONFIG_ETRAX_LED1G (normally 2).
config [31mCONFIG_ETRAX_LED8Y[0m
int "Eighth yellow LED bit"
depends on [31mCONFIG_ETRAX_CSP0_LEDS[0m
default "2"
help
Bit to use for the eighth yellow LED. The "Drive" LED.
For products with only one or two controllable LEDs,
set this to same as CONFIG_ETRAX_LED1G (normally 2).
config [31mCONFIG_ETRAX_LED9Y[0m
int "Ninth yellow LED bit"
depends on [31mCONFIG_ETRAX_CSP0_LEDS[0m
default "2"
help
Bit to use for the ninth yellow LED.
For products with only one or two controllable LEDs,
set this to same as CONFIG_ETRAX_LED1G (normally 2).
config [31mCONFIG_ETRAX_LED10Y[0m
int "Tenth yellow LED bit"
depends on [31mCONFIG_ETRAX_CSP0_LEDS[0m
default "2"
help
Bit to use for the tenth yellow LED.
For products with only one or two controllable LEDs,
set this to same as CONFIG_ETRAX_LED1G (normally 2).
config [31mCONFIG_ETRAX_LED11Y[0m
int "Eleventh yellow LED bit"
depends on [31mCONFIG_ETRAX_CSP0_LEDS[0m
default "2"
help
Bit to use for the eleventh yellow LED.
For products with only one or two controllable LEDs,
set this to same as CONFIG_ETRAX_LED1G (normally 2).
config [31mCONFIG_ETRAX_LED12R[0m
int "Twelfth red LED bit"
depends on [31mCONFIG_ETRAX_CSP0_LEDS[0m
default "2"
help
Bit to use for the twelfth red LED.
For products with only one or two controllable LEDs,
set this to same as CONFIG_ETRAX_LED1G (normally 2).
choice
prompt "Product rescue-port"
depends on [31mCONFIG_ETRAX_ARCH_V10[0m
default [31mCONFIG_ETRAX_RESCUE_SER0[0m
config [31mCONFIG_ETRAX_RESCUE_SER0[0m
bool "Serial-0"
help
Select one of the four serial ports as a rescue port. The default
is port 0.
config [31mCONFIG_ETRAX_RESCUE_SER1[0m
bool "Serial-1"
help
Use serial port 1 as the rescue port.
config [31mCONFIG_ETRAX_RESCUE_SER2[0m
bool "Serial-2"
help
Use serial port 2 as the rescue port.
config [31mCONFIG_ETRAX_RESCUE_SER3[0m
bool "Serial-3"
help
Use serial port 3 as the rescue port.
endchoice
config [31mCONFIG_ETRAX_DEF_R_WAITSTATES[0m
hex "R_WAITSTATES"
depends on [31mCONFIG_ETRAX_ARCH_V10[0m
default "95a6"
help
Waitstates for [31mCONFIG_SRAM[0m, Flash and peripherals (not DRAM). 95f8 is a
good choice for most Axis products...
config [31mCONFIG_ETRAX_DEF_R_BUS_CONFIG[0m
hex "R_BUS_CONFIG"
depends on [31mCONFIG_ETRAX_ARCH_V10[0m
default "104"
help
Assorted bits controlling write mode, DMA burst length etc. 104 is
a good choice for most Axis products...
config [31mCONFIG_ETRAX_SDRAM[0m
bool "SDRAM support"
depends on [31mCONFIG_ETRAX_ARCH_V10[0m
help
Enable this if you use SDRAM chips and configure
R_SDRAM_CONFIG and R_SDRAM_TIMING as well.
config [31mCONFIG_ETRAX_DEF_R_DRAM_CONFIG[0m
hex "R_DRAM_CONFIG"
depends on [31mCONFIG_ETRAX_ARCH_V10[0m && ![31mCONFIG_ETRAX_SDRAM[0m
default "1a200040"
help
The R_DRAM_CONFIG register specifies everything on how the DRAM
chips in the system are connected to the ETRAX CPU. This is
different depending on the manufacturer, chip type and number of
chips. So this value often needs to be different for each Axis
product.
config [31mCONFIG_ETRAX_DEF_R_DRAM_TIMING[0m
hex "R_DRAM_TIMING"
depends on [31mCONFIG_ETRAX_ARCH_V10[0m && ![31mCONFIG_ETRAX_SDRAM[0m
default "5611"
help
Different DRAM chips have different speeds. Current Axis products
use 50ns DRAM chips which can use the timing: 5611.
config [31mCONFIG_ETRAX_DEF_R_SDRAM_CONFIG[0m
hex "R_SDRAM_CONFIG"
depends on [31mCONFIG_ETRAX_ARCH_V10[0m && [31mCONFIG_ETRAX_SDRAM[0m
default "d2fa7878"
help
The R_SDRAM_CONFIG register specifies everything on how the SDRAM
chips in the system are connected to the ETRAX CPU. This is
different depending on the manufacturer, chip type and number of
chips. So this value often needs to be different for each Axis
product.
config [31mCONFIG_ETRAX_DEF_R_SDRAM_TIMING[0m
hex "R_SDRAM_TIMING"
depends on [31mCONFIG_ETRAX_ARCH_V10[0m && [31mCONFIG_ETRAX_SDRAM[0m
default "80004801"
help
Different SDRAM chips have different timing.
config [31mCONFIG_ETRAX_DEF_R_PORT_PA_DIR[0m
hex "R_PORT_PA_DIR"
depends on [31mCONFIG_ETRAX_ARCH_V10[0m
default "1c"
help
Configures the direction of general port [31mCONFIG_A[0m bits. 1 is out, 0 is in.
This is often totally different depending on the product used.
There are some guidelines though - if you know that only LED's are
connected to port PA, then they are usually connected to bits 2-4
and you can therefore use 1c. On other boards which don't have the
LED's at the general ports, these bits are used for all kinds of
stuff. If you don't know what to use, it is always safe to put all
as inputs, although floating inputs isn't good.
config [31mCONFIG_ETRAX_DEF_R_PORT_PA_DATA[0m
hex "R_PORT_PA_DATA"
depends on [31mCONFIG_ETRAX_ARCH_V10[0m
default "00"
help
Configures the initial data for the general port [31mCONFIG_A[0m bits. Most
products should use 00 here.
config [31mCONFIG_ETRAX_DEF_R_PORT_PB_CONFIG[0m
hex "R_PORT_PB_CONFIG"
depends on [31mCONFIG_ETRAX_ARCH_V10[0m
default "00"
help
Configures the type of the general port [31mCONFIG_B[0m bits. 1 is chip select,
0 is port. Most products should use 00 here.
config [31mCONFIG_ETRAX_DEF_R_PORT_PB_DIR[0m
hex "R_PORT_PB_DIR"
depends on [31mCONFIG_ETRAX_ARCH_V10[0m
default "00"
help
Configures the direction of general port [31mCONFIG_B[0m bits. 1 is out, 0 is in.
This is often totally different depending on the product used. Bits
0 and 1 on port PB are usually used for [31mCONFIG_I2C[0m communication, but the
kernel [31mCONFIG_I2C[0m driver sets the appropriate directions itself so you
don't need to take that into consideration when setting this option.
If you don't know what to use, it is always safe to put all as
inputs.
config [31mCONFIG_ETRAX_DEF_R_PORT_PB_DATA[0m
hex "R_PORT_PB_DATA"
depends on [31mCONFIG_ETRAX_ARCH_V10[0m
default "ff"
help
Configures the initial data for the general port [31mCONFIG_A[0m bits. Most
products should use FF here.
config [31mCONFIG_ETRAX_SOFT_SHUTDOWN[0m
bool "Software Shutdown Support"
depends on [31mCONFIG_ETRAX_ARCH_V10[0m
help
Enable this if ETRAX is used with a power-supply that can be turned
off and on with PS_ON signal. Gives the possibility to detect
powerbutton and then do a power off after unmounting disks.
config [31mCONFIG_ETRAX_SHUTDOWN_BIT[0m
int "Shutdown bit on port CSP0"
depends on [31mCONFIG_ETRAX_SOFT_SHUTDOWN[0m
default "12"
help
Configure what pin on CSPO-port that is used for controlling power
supply.
config [31mCONFIG_ETRAX_POWERBUTTON_BIT[0m
int "Power button bit on port G"
depends on [31mCONFIG_ETRAX_SOFT_SHUTDOWN[0m
default "25"
help
Configure where power button is connected.
endmenu
endif