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