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