1if CRIS_MACH_ARTPEC3
2
3menu "Artpec-3 options"
4       depends on CRIS_MACH_ARTPEC3
5
6config ETRAX_DRAM_VIRTUAL_BASE
7	hex
8	default "c0000000"
9
10config ETRAX_L2CACHE
11       bool
12       default y
13
14config ETRAX_SERIAL_PORTS
15       int
16       default 5
17
18config ETRAX_DDR
19       bool
20       default y
21
22config ETRAX_DDR2_MRS
23	hex "DDR2 MRS"
24	default "0"
25
26config ETRAX_DDR2_TIMING
27	hex "DDR2 SDRAM timing"
28	default "0"
29	help
30	  SDRAM timing parameters.
31
32config ETRAX_DDR2_CONFIG
33	hex "DDR2 config"
34	default "0"
35
36config ETRAX_DDR2_LATENCY
37	hex "DDR2 latency"
38	default "0"
39
40config ETRAX_PIO_CE0_CFG
41       hex "PIO CE0 configuration"
42       default "0"
43
44config ETRAX_PIO_CE1_CFG
45       hex "PIO CE1 configuration"
46       default "0"
47
48config ETRAX_PIO_CE2_CFG
49       hex "PIO CE2 configuration"
50       default "0"
51
52config ETRAX_DEF_GIO_PA_OE
53	hex "GIO_PA_OE"
54	default "00000000"
55	help
56	  Configures the direction of general port A bits.  1 is out, 0 is in.
57	  This is often totally different depending on the product used.
58	  There are some guidelines though - if you know that only LED's are
59	  connected to port PA, then they are usually connected to bits 2-4
60	  and you can therefore use 1c.  On other boards which don't have the
61	  LED's at the general ports, these bits are used for all kinds of
62	  stuff.  If you don't know what to use, it is always safe to put all
63	  as inputs, although floating inputs isn't good.
64
65config ETRAX_DEF_GIO_PA_OUT
66	hex "GIO_PA_OUT"
67	default "00000000"
68	help
69	  Configures the initial data for the general port A bits.  Most
70	  products should use 00 here.
71
72config ETRAX_DEF_GIO_PB_OE
73	hex "GIO_PB_OE"
74	default "000000000"
75	help
76	  Configures the direction of general port B bits.  1 is out, 0 is in.
77	  This is often totally different depending on the product used.
78	  There are some guidelines though - if you know that only LED's are
79	  connected to port PA, then they are usually connected to bits 2-4
80	  and you can therefore use 1c.  On other boards which don't have the
81	  LED's at the general ports, these bits are used for all kinds of
82	  stuff.  If you don't know what to use, it is always safe to put all
83	  as inputs, although floating inputs isn't good.
84
85config ETRAX_DEF_GIO_PB_OUT
86	hex "GIO_PB_OUT"
87	default "000000000"
88	help
89	  Configures the initial data for the general port B bits.  Most
90	  products should use 00000 here.
91
92config ETRAX_DEF_GIO_PC_OE
93	hex "GIO_PC_OE"
94	default "00000"
95	help
96	  Configures the direction of general port C bits.  1 is out, 0 is in.
97	  This is often totally different depending on the product used.
98	  There are some guidelines though - if you know that only LED's are
99	  connected to port PA, then they are usually connected to bits 2-4
100	  and you can therefore use 1c.  On other boards which don't have the
101	  LED's at the general ports, these bits are used for all kinds of
102	  stuff.  If you don't know what to use, it is always safe to put all
103	  as inputs, although floating inputs isn't good.
104
105config ETRAX_DEF_GIO_PC_OUT
106	hex "GIO_PC_OUT"
107	default "00000"
108	help
109	  Configures the initial data for the general port C bits.  Most
110	  products should use 00000 here.
111
112endmenu
113
114endif
115