1 # SPDX-License-Identifier: GPL-2.0
4 source arch/cris/arch-v32/mach-fs/Kconfig
5 source arch/cris/arch-v32/mach-a3/Kconfig
7 source drivers/cpufreq/Kconfig
9 config ETRAX_DRAM_VIRTUAL_BASE
11 depends on ETRAX_ARCH_V32
15 prompt "Kernel GDB port"
17 default ETRAX_KGDB_PORT0
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.
23 config ETRAX_KGDB_PORT4
25 depends on ETRAX_SERIAL_PORTS = 5
27 Use serial port 4 for kernel debugging.
31 config ETRAX_MEM_GRP1_CONFIG
33 depends on ETRAX_ARCH_V32
36 Waitstates for flash. The default value is suitable for the
37 standard flashes used in axis products (120 ns).
39 config ETRAX_MEM_GRP2_CONFIG
41 depends on ETRAX_ARCH_V32
44 Waitstates for SRAM. 0 is a good choice for most Axis products.
46 config ETRAX_MEM_GRP3_CONFIG
48 depends on ETRAX_ARCH_V32
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.
55 config ETRAX_MEM_GRP4_CONFIG
57 depends on ETRAX_ARCH_V32
60 Waitstates for CSP4-6. 0 is a good choice for most Axis products.
62 config ETRAX_SDRAM_GRP0_CONFIG
63 hex "SDRAM_GRP0_CONFIG"
64 depends on ETRAX_ARCH_V32
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
73 config ETRAX_SDRAM_GRP1_CONFIG
74 hex "SDRAM_GRP1_CONFIG"
75 depends on ETRAX_ARCH_V32
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.
82 config ETRAX_SDRAM_TIMING
84 depends on ETRAX_ARCH_V32
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.
92 config ETRAX_SDRAM_COMMAND
94 depends on ETRAX_ARCH_V32
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)..
101 config ETRAX_DEF_GIO_PA_OE
103 depends on ETRAX_ARCH_V32
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.
115 config ETRAX_DEF_GIO_PA_OUT
117 depends on ETRAX_ARCH_V32
120 Configures the initial data for the general port A bits. Most
121 products should use 00 here.
123 config ETRAX_DEF_GIO_PB_OE
125 depends on ETRAX_ARCH_V32
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.
137 config ETRAX_DEF_GIO_PB_OUT
139 depends on ETRAX_ARCH_V32
142 Configures the initial data for the general port B bits. Most
143 products should use 00000 here.
145 config ETRAX_DEF_GIO_PC_OE
147 depends on ETRAX_ARCH_V32
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.
159 config ETRAX_DEF_GIO_PC_OUT
161 depends on ETRAX_ARCH_V32
164 Configures the initial data for the general port C bits. Most
165 products should use 00000 here.
167 config ETRAX_DEF_GIO_PD_OE
169 depends on ETRAX_ARCH_V32
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.
181 config ETRAX_DEF_GIO_PD_OUT
183 depends on ETRAX_ARCH_V32
186 Configures the initial data for the general port D bits. Most
187 products should use 00000 here.
189 config ETRAX_DEF_GIO_PE_OE
191 depends on ETRAX_ARCH_V32
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.
203 config ETRAX_DEF_GIO_PE_OUT
205 depends on ETRAX_ARCH_V32
208 Configures the initial data for the general port E bits. Most
209 products should use 00000 here.