1config ETRAX_DRAM_VIRTUAL_BASE
2	hex
3	depends on ETRAX_ARCH_V32
4	default "c0000000"
5
6config ETRAX_LED1G
7	string "First green LED bit"
8	depends on ETRAX_ARCH_V32
9	default "PA3"
10	help
11	  Bit to use for the first green LED (network LED).
12	  Most Axis products use bit A3 here.
13
14config ETRAX_LED1R
15	string "First red LED bit"
16	depends on ETRAX_ARCH_V32
17	default "PA4"
18	help
19	  Bit to use for the first red LED (network LED).
20	  Most Axis products use bit A4 here.
21
22config ETRAX_LED2G
23	string "Second green LED bit"
24	depends on ETRAX_ARCH_V32
25	default "PA5"
26	help
27	  Bit to use for the first green LED (status LED).
28	  Most Axis products use bit A5 here.
29
30config ETRAX_LED2R
31	string "Second red LED bit"
32	depends on ETRAX_ARCH_V32
33	default "PA6"
34	help
35	  Bit to use for the first red LED (network LED).
36	  Most Axis products use bit A6 here.
37
38config ETRAX_LED3G
39	string "Third green LED bit"
40	depends on ETRAX_ARCH_V32
41	default "PA7"
42	help
43	  Bit to use for the first green LED (drive/power LED).
44	  Most Axis products use bit A7 here.
45
46config ETRAX_LED3R
47	string "Third red LED bit"
48	depends on ETRAX_ARCH_V32
49	default "PA7"
50	help
51	  Bit to use for the first red LED (drive/power LED).
52	  Most Axis products use bit A7 here.
53
54choice
55	prompt "Product debug-port"
56	depends on ETRAX_ARCH_V32
57	default ETRAX_DEBUG_PORT0
58
59config ETRAX_DEBUG_PORT0
60	bool "Serial-0"
61	help
62	  Choose a serial port for the ETRAX debug console.  Default to
63	  port 0.
64
65config ETRAX_DEBUG_PORT1
66	bool "Serial-1"
67	help
68	  Use serial port 1 for the console.
69
70config ETRAX_DEBUG_PORT2
71	bool "Serial-2"
72	help
73	  Use serial port 2 for the console.
74
75config ETRAX_DEBUG_PORT3
76	bool "Serial-3"
77	help
78	  Use serial port 3 for the console.
79
80config ETRAX_DEBUG_PORT_NULL
81	bool "disabled"
82	help
83	  Disable serial-port debugging.
84
85endchoice
86
87choice
88	prompt "Kernel GDB port"
89	depends on ETRAX_KGDB
90	default ETRAX_KGDB_PORT0
91	help
92	  Choose a serial port for kernel debugging.  NOTE: This port should
93	  not be enabled under Drivers for built-in interfaces (as it has its
94	  own initialization code) and should not be the same as the debug port.
95
96config ETRAX_KGDB_PORT0
97	bool "Serial-0"
98	help
99	  Use serial port 0 for kernel debugging.
100
101config ETRAX_KGDB_PORT1
102	bool "Serial-1"
103	help
104	  Use serial port 1 for kernel debugging.
105
106config ETRAX_KGDB_PORT2
107	bool "Serial-2"
108	help
109	  Use serial port 2 for kernel debugging.
110
111config ETRAX_KGDB_PORT3
112	bool "Serial-3"
113	help
114	  Use serial port 3 for kernel debugging.
115
116endchoice
117
118config ETRAX_MEM_GRP1_CONFIG
119	hex "MEM_GRP1_CONFIG"
120	depends on ETRAX_ARCH_V32
121	default "4044a"
122	help
123	  Waitstates for flash. The default value is suitable for the
124	  standard flashes used in axis products (120 ns).
125
126config ETRAX_MEM_GRP2_CONFIG
127	hex "MEM_GRP2_CONFIG"
128	depends on ETRAX_ARCH_V32
129	default "0"
130	help
131	  Waitstates for SRAM. 0 is a good choice for most Axis products.
132
133config ETRAX_MEM_GRP3_CONFIG
134	hex "MEM_GRP3_CONFIG"
135	depends on ETRAX_ARCH_V32
136	default "0"
137	help
138	  Waitstates for CSP0-3. 0 is a good choice for most Axis products.
139	  It may need to be changed if external devices such as extra
140	  register-mapped LEDs are used.
141
142config ETRAX_MEM_GRP4_CONFIG
143	hex "MEM_GRP4_CONFIG"
144	depends on ETRAX_ARCH_V32
145	default "0"
146	help
147	  Waitstates for CSP4-6. 0 is a good choice for most Axis products.
148
149config ETRAX_SDRAM_GRP0_CONFIG
150	hex "SDRAM_GRP0_CONFIG"
151	depends on ETRAX_ARCH_V32
152	default "336"
153	help
154	  SDRAM configuration for group 0. The value depends on the
155	  hardware configuration. The default value is suitable
156	  for 32 MB organized as two 16 bits chips (e.g. Axis
157	  part number 18550) connected as one 32 bit device (i.e. in
158	  the same group).
159
160config ETRAX_SDRAM_GRP1_CONFIG
161	hex "SDRAM_GRP1_CONFIG"
162	depends on ETRAX_ARCH_V32
163	default "0"
164	help
165	  SDRAM configuration for group 1. The default value is 0
166	  because group 1 is not used in the default configuration,
167	  described in the help for SDRAM_GRP0_CONFIG.
168
169config ETRAX_SDRAM_TIMING
170	hex "SDRAM_TIMING"
171	depends on ETRAX_ARCH_V32
172	default "104a"
173	help
174	  SDRAM timing parameters. The default value is ok for
175	  most hardwares but large SDRAMs may require a faster
176	  refresh (a.k.a 8K refresh). The default value implies
177	  100MHz clock and SDR mode.
178
179config ETRAX_SDRAM_COMMAND
180	hex "SDRAM_COMMAND"
181	depends on ETRAX_ARCH_V32
182	default "0"
183	help
184	  SDRAM command. Should be 0 unless you really know what
185	  you are doing (may be != 0 for unusual address line
186	  mappings such as in a MCM)..
187
188config ETRAX_DEF_GIO_PA_OE
189	hex "GIO_PA_OE"
190	depends on ETRAX_ARCH_V32
191	default "1c"
192	help
193	  Configures the direction of general port A bits.  1 is out, 0 is in.
194	  This is often totally different depending on the product used.
195	  There are some guidelines though - if you know that only LED's are
196	  connected to port PA, then they are usually connected to bits 2-4
197	  and you can therefore use 1c.  On other boards which don't have the
198	  LED's at the general ports, these bits are used for all kinds of
199	  stuff.  If you don't know what to use, it is always safe to put all
200	  as inputs, although floating inputs isn't good.
201
202config ETRAX_DEF_GIO_PA_OUT
203	hex "GIO_PA_OUT"
204	depends on ETRAX_ARCH_V32
205	default "00"
206	help
207	  Configures the initial data for the general port A bits.  Most
208	  products should use 00 here.
209
210config ETRAX_DEF_GIO_PB_OE
211	hex "GIO_PB_OE"
212	depends on ETRAX_ARCH_V32
213	default "00000"
214	help
215	  Configures the direction of general port B bits.  1 is out, 0 is in.
216	  This is often totally different depending on the product used.
217	  There are some guidelines though - if you know that only LED's are
218	  connected to port PA, then they are usually connected to bits 2-4
219	  and you can therefore use 1c.  On other boards which don't have the
220	  LED's at the general ports, these bits are used for all kinds of
221	  stuff.  If you don't know what to use, it is always safe to put all
222	  as inputs, although floating inputs isn't good.
223
224config ETRAX_DEF_GIO_PB_OUT
225	hex "GIO_PB_OUT"
226	depends on ETRAX_ARCH_V32
227	default "00000"
228	help
229	  Configures the initial data for the general port B bits.  Most
230	  products should use 00000 here.
231
232config ETRAX_DEF_GIO_PC_OE
233	hex "GIO_PC_OE"
234	depends on ETRAX_ARCH_V32
235	default "00000"
236	help
237	  Configures the direction of general port C bits.  1 is out, 0 is in.
238	  This is often totally different depending on the product used.
239	  There are some guidelines though - if you know that only LED's are
240	  connected to port PA, then they are usually connected to bits 2-4
241	  and you can therefore use 1c.  On other boards which don't have the
242	  LED's at the general ports, these bits are used for all kinds of
243	  stuff.  If you don't know what to use, it is always safe to put all
244	  as inputs, although floating inputs isn't good.
245
246config ETRAX_DEF_GIO_PC_OUT
247	hex "GIO_PC_OUT"
248	depends on ETRAX_ARCH_V32
249	default "00000"
250	help
251	  Configures the initial data for the general port C bits.  Most
252	  products should use 00000 here.
253
254config ETRAX_DEF_GIO_PD_OE
255	hex "GIO_PD_OE"
256	depends on ETRAX_ARCH_V32
257	default "00000"
258	help
259	  Configures the direction of general port D bits.  1 is out, 0 is in.
260	  This is often totally different depending on the product used.
261	  There are some guidelines though - if you know that only LED's are
262	  connected to port PA, then they are usually connected to bits 2-4
263	  and you can therefore use 1c.  On other boards which don't have the
264	  LED's at the general ports, these bits are used for all kinds of
265	  stuff.  If you don't know what to use, it is always safe to put all
266	  as inputs, although floating inputs isn't good.
267
268config ETRAX_DEF_GIO_PD_OUT
269	hex "GIO_PD_OUT"
270	depends on ETRAX_ARCH_V32
271	default "00000"
272	help
273	  Configures the initial data for the general port D bits.  Most
274	  products should use 00000 here.
275
276config ETRAX_DEF_GIO_PE_OE
277	hex "GIO_PE_OE"
278	depends on ETRAX_ARCH_V32
279	default "00000"
280	help
281	  Configures the direction of general port E bits.  1 is out, 0 is in.
282	  This is often totally different depending on the product used.
283	  There are some guidelines though - if you know that only LED's are
284	  connected to port PA, then they are usually connected to bits 2-4
285	  and you can therefore use 1c.  On other boards which don't have the
286	  LED's at the general ports, these bits are used for all kinds of
287	  stuff.  If you don't know what to use, it is always safe to put all
288	  as inputs, although floating inputs isn't good.
289
290config ETRAX_DEF_GIO_PE_OUT
291	hex "GIO_PE_OUT"
292	depends on ETRAX_ARCH_V32
293	default "00000"
294	help
295	  Configures the initial data for the general port E bits.  Most
296	  products should use 00000 here.
297