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