1 # SPDX-License-Identifier: GPL-2.0
4 menu "ETRAX FS options"
7 config ETRAX_DRAM_VIRTUAL_BASE
9 depends on ETRAX_ARCH_V32
12 config ETRAX_SERIAL_PORTS
16 config ETRAX_MEM_GRP1_CONFIG
18 depends on ETRAX_ARCH_V32
21 Waitstates for flash. The default value is suitable for the
22 standard flashes used in axis products (120 ns).
24 config ETRAX_MEM_GRP2_CONFIG
26 depends on ETRAX_ARCH_V32
29 Waitstates for SRAM. 0 is a good choice for most Axis products.
31 config ETRAX_MEM_GRP3_CONFIG
33 depends on ETRAX_ARCH_V32
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.
40 config ETRAX_MEM_GRP4_CONFIG
42 depends on ETRAX_ARCH_V32
45 Waitstates for CSP4-6. 0 is a good choice for most Axis products.
47 config ETRAX_SDRAM_GRP0_CONFIG
48 hex "SDRAM_GRP0_CONFIG"
49 depends on ETRAX_ARCH_V32
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
58 config ETRAX_SDRAM_GRP1_CONFIG
59 hex "SDRAM_GRP1_CONFIG"
60 depends on ETRAX_ARCH_V32
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.
67 config ETRAX_SDRAM_TIMING
69 depends on ETRAX_ARCH_V32
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.
77 config ETRAX_SDRAM_COMMAND
79 depends on ETRAX_ARCH_V32
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)..
86 config ETRAX_DEF_GIO_PA_OE
88 depends on ETRAX_ARCH_V32
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.
100 config ETRAX_DEF_GIO_PA_OUT
102 depends on ETRAX_ARCH_V32
105 Configures the initial data for the general port A bits. Most
106 products should use 00 here.
108 config ETRAX_DEF_GIO_PB_OE
110 depends on ETRAX_ARCH_V32
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.
122 config ETRAX_DEF_GIO_PB_OUT
124 depends on ETRAX_ARCH_V32
127 Configures the initial data for the general port B bits. Most
128 products should use 00000 here.
130 config ETRAX_DEF_GIO_PC_OE
132 depends on ETRAX_ARCH_V32
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.
144 config ETRAX_DEF_GIO_PC_OUT
146 depends on ETRAX_ARCH_V32
149 Configures the initial data for the general port C bits. Most
150 products should use 00000 here.
152 config ETRAX_DEF_GIO_PD_OE
154 depends on ETRAX_ARCH_V32
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.
166 config ETRAX_DEF_GIO_PD_OUT
168 depends on ETRAX_ARCH_V32
171 Configures the initial data for the general port D bits. Most
172 products should use 00000 here.
174 config ETRAX_DEF_GIO_PE_OE
176 depends on ETRAX_ARCH_V32
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.
188 config ETRAX_DEF_GIO_PE_OUT
190 depends on ETRAX_ARCH_V32
193 Configures the initial data for the general port E bits. Most
194 products should use 00000 here.