linux/arch/cris/arch-v32/Kconfig
<<
>>
Prefs
   1# SPDX-License-Identifier: GPL-2.0
   2if ETRAX_ARCH_V32
   3
   4source arch/cris/arch-v32/mach-fs/Kconfig
   5source arch/cris/arch-v32/mach-a3/Kconfig
   6
   7source drivers/cpufreq/Kconfig
   8
   9config ETRAX_DRAM_VIRTUAL_BASE
  10        hex
  11        depends on ETRAX_ARCH_V32
  12        default "c0000000"
  13
  14choice
  15        prompt "Kernel GDB port"
  16        depends on ETRAX_KGDB
  17        default ETRAX_KGDB_PORT0
  18        help
  19          Choose a serial port for kernel debugging.  NOTE: This port should
  20          not be enabled under Drivers for built-in interfaces (as it has its
  21          own initialization code) and should not be the same as the debug port.
  22
  23config ETRAX_KGDB_PORT4
  24        bool "Serial-4"
  25        depends on ETRAX_SERIAL_PORTS = 5
  26        help
  27          Use serial port 4 for kernel debugging.
  28
  29endchoice
  30
  31config ETRAX_MEM_GRP1_CONFIG
  32        hex "MEM_GRP1_CONFIG"
  33        depends on ETRAX_ARCH_V32
  34        default "4044a"
  35        help
  36          Waitstates for flash. The default value is suitable for the
  37          standard flashes used in axis products (120 ns).
  38
  39config ETRAX_MEM_GRP2_CONFIG
  40        hex "MEM_GRP2_CONFIG"
  41        depends on ETRAX_ARCH_V32
  42        default "0"
  43        help
  44          Waitstates for SRAM. 0 is a good choice for most Axis products.
  45
  46config ETRAX_MEM_GRP3_CONFIG
  47        hex "MEM_GRP3_CONFIG"
  48        depends on ETRAX_ARCH_V32
  49        default "0"
  50        help
  51          Waitstates for CSP0-3. 0 is a good choice for most Axis products.
  52          It may need to be changed if external devices such as extra
  53          register-mapped LEDs are used.
  54
  55config ETRAX_MEM_GRP4_CONFIG
  56        hex "MEM_GRP4_CONFIG"
  57        depends on ETRAX_ARCH_V32
  58        default "0"
  59        help
  60          Waitstates for CSP4-6. 0 is a good choice for most Axis products.
  61
  62config ETRAX_SDRAM_GRP0_CONFIG
  63        hex "SDRAM_GRP0_CONFIG"
  64        depends on ETRAX_ARCH_V32
  65        default "336"
  66        help
  67          SDRAM configuration for group 0. The value depends on the
  68          hardware configuration. The default value is suitable
  69          for 32 MB organized as two 16 bits chips (e.g. Axis
  70          part number 18550) connected as one 32 bit device (i.e. in
  71          the same group).
  72
  73config ETRAX_SDRAM_GRP1_CONFIG
  74        hex "SDRAM_GRP1_CONFIG"
  75        depends on ETRAX_ARCH_V32
  76        default "0"
  77        help
  78          SDRAM configuration for group 1. The default value is 0
  79          because group 1 is not used in the default configuration,
  80          described in the help for SDRAM_GRP0_CONFIG.
  81
  82config ETRAX_SDRAM_TIMING
  83        hex "SDRAM_TIMING"
  84        depends on ETRAX_ARCH_V32
  85        default "104a"
  86        help
  87          SDRAM timing parameters. The default value is ok for
  88          most hardwares but large SDRAMs may require a faster
  89          refresh (a.k.a 8K refresh). The default value implies
  90          100MHz clock and SDR mode.
  91
  92config ETRAX_SDRAM_COMMAND
  93        hex "SDRAM_COMMAND"
  94        depends on ETRAX_ARCH_V32
  95        default "0"
  96        help
  97          SDRAM command. Should be 0 unless you really know what
  98          you are doing (may be != 0 for unusual address line
  99          mappings such as in a MCM)..
 100
 101config ETRAX_DEF_GIO_PA_OE
 102        hex "GIO_PA_OE"
 103        depends on ETRAX_ARCH_V32
 104        default "1c"
 105        help
 106          Configures the direction of general port A bits.  1 is out, 0 is in.
 107          This is often totally different depending on the product used.
 108          There are some guidelines though - if you know that only LED's are
 109          connected to port PA, then they are usually connected to bits 2-4
 110          and you can therefore use 1c.  On other boards which don't have the
 111          LED's at the general ports, these bits are used for all kinds of
 112          stuff.  If you don't know what to use, it is always safe to put all
 113          as inputs, although floating inputs isn't good.
 114
 115config ETRAX_DEF_GIO_PA_OUT
 116        hex "GIO_PA_OUT"
 117        depends on ETRAX_ARCH_V32
 118        default "00"
 119        help
 120          Configures the initial data for the general port A bits.  Most
 121          products should use 00 here.
 122
 123config ETRAX_DEF_GIO_PB_OE
 124        hex "GIO_PB_OE"
 125        depends on ETRAX_ARCH_V32
 126        default "00000"
 127        help
 128          Configures the direction of general port B bits.  1 is out, 0 is in.
 129          This is often totally different depending on the product used.
 130          There are some guidelines though - if you know that only LED's are
 131          connected to port PA, then they are usually connected to bits 2-4
 132          and you can therefore use 1c.  On other boards which don't have the
 133          LED's at the general ports, these bits are used for all kinds of
 134          stuff.  If you don't know what to use, it is always safe to put all
 135          as inputs, although floating inputs isn't good.
 136
 137config ETRAX_DEF_GIO_PB_OUT
 138        hex "GIO_PB_OUT"
 139        depends on ETRAX_ARCH_V32
 140        default "00000"
 141        help
 142          Configures the initial data for the general port B bits.  Most
 143          products should use 00000 here.
 144
 145config ETRAX_DEF_GIO_PC_OE
 146        hex "GIO_PC_OE"
 147        depends on ETRAX_ARCH_V32
 148        default "00000"
 149        help
 150          Configures the direction of general port C bits.  1 is out, 0 is in.
 151          This is often totally different depending on the product used.
 152          There are some guidelines though - if you know that only LED's are
 153          connected to port PA, then they are usually connected to bits 2-4
 154          and you can therefore use 1c.  On other boards which don't have the
 155          LED's at the general ports, these bits are used for all kinds of
 156          stuff.  If you don't know what to use, it is always safe to put all
 157          as inputs, although floating inputs isn't good.
 158
 159config ETRAX_DEF_GIO_PC_OUT
 160        hex "GIO_PC_OUT"
 161        depends on ETRAX_ARCH_V32
 162        default "00000"
 163        help
 164          Configures the initial data for the general port C bits.  Most
 165          products should use 00000 here.
 166
 167config ETRAX_DEF_GIO_PD_OE
 168        hex "GIO_PD_OE"
 169        depends on ETRAX_ARCH_V32
 170        default "00000"
 171        help
 172          Configures the direction of general port D bits.  1 is out, 0 is in.
 173          This is often totally different depending on the product used.
 174          There are some guidelines though - if you know that only LED's are
 175          connected to port PA, then they are usually connected to bits 2-4
 176          and you can therefore use 1c.  On other boards which don't have the
 177          LED's at the general ports, these bits are used for all kinds of
 178          stuff.  If you don't know what to use, it is always safe to put all
 179          as inputs, although floating inputs isn't good.
 180
 181config ETRAX_DEF_GIO_PD_OUT
 182        hex "GIO_PD_OUT"
 183        depends on ETRAX_ARCH_V32
 184        default "00000"
 185        help
 186          Configures the initial data for the general port D bits.  Most
 187          products should use 00000 here.
 188
 189config ETRAX_DEF_GIO_PE_OE
 190        hex "GIO_PE_OE"
 191        depends on ETRAX_ARCH_V32
 192        default "00000"
 193        help
 194          Configures the direction of general port E bits.  1 is out, 0 is in.
 195          This is often totally different depending on the product used.
 196          There are some guidelines though - if you know that only LED's are
 197          connected to port PA, then they are usually connected to bits 2-4
 198          and you can therefore use 1c.  On other boards which don't have the
 199          LED's at the general ports, these bits are used for all kinds of
 200          stuff.  If you don't know what to use, it is always safe to put all
 201          as inputs, although floating inputs isn't good.
 202
 203config ETRAX_DEF_GIO_PE_OUT
 204        hex "GIO_PE_OUT"
 205        depends on ETRAX_ARCH_V32
 206        default "00000"
 207        help
 208          Configures the initial data for the general port E bits.  Most
 209          products should use 00000 here.
 210
 211endif
 212