summaryrefslogtreecommitdiff
path: root/cleopatre/linux-2.6.25.10-spc300/arch/arm/mach-spc300/Kconfig
blob: 4b4d87f122f3a69c87b43839bfbce6dacfbddbdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
menu "SPC300 platform type"
    depends on ARCH_SPC300

# Board types (MACH_*)
# ====================
#
# Each board type should select its chip and board peripherals.
choice
    prompt "SPC300 board type"
    default MACH_SPK300G

config MACH_ARIZONA
    bool "Support SPC300 Arizona platform"
    select CHIP_SPC300ARIZONA
    select HAVE_SPC300_GPIO_USABLE_ALL
    select HAVE_MTD_SPC300_NOR
    help
      Include support for SPiDCOM spc300 Prototype board platform (FCM3).

config MACH_MCR500
    bool "Support MSE500 platform"
    select CHIP_MSE500
    select HAVE_SPC300_GPIO_USABLE_ALL
    help
      Include support for SPiDCOM mcr500 reference design.

config MACH_MCR510
    bool "Support MCR510 platform"
    select CHIP_MSE500
    select HAVE_SPC300_GPIO_USABLE_ALL
    help
      Include support for SPiDCOM mcr510 reference design.

config MACH_MPR520
    bool "Support MPR520 platform"
    select CHIP_MSE500
    select HAVE_SPC300_GPIO_USABLE_ALL
    select HAVE_POWER_LED
    help
      Include support for SPiDCOM mpr520 reference design boards.

config MACH_MSE500DINI_300
    bool "Support SPC300 Dini platform"
    select CHIP_MSE500DINI_300
    select HAVE_SPC300_GPIO_USABLE_ALL
    help
      Include support for SPiDCOM spc300 Prototype board platform (DINI).

config MACH_MSK500
    bool "Support MSK500 platform"
    select CHIP_MSE500
    select HAVE_SPC300_GPIO_USABLE_ALL
    help
      Include support for SPiDCOM msk500 development kit.

config MACH_SCR300
    bool "Support SCR300 platform"
    select CHIP_SPC300
    select HAVE_SPC300_GPIO_USABLE_ALL
    help
      Include support for SPiDCOM scr300 reference design board platform.

config MACH_SCR310
    bool "Support SCR310 platform"
    select CHIP_SPC300
    select HAVE_SPC300_GPIO_USABLE_ALL
    help
      Include support for SPiDCOM scr310 reference design board platform.

config MACH_SPK300
    bool "Support SPK300 platform"
    select CHIP_SPC300
    select HAVE_SPC300_GPIO_USABLE_ALL
    help
      Include support for SPiDCOM spk300 development board platform.

config MACH_SPK300G
    bool "Support SPK300-G gigabit platform"
    select CHIP_SPC300
    select HAVE_SPC300_GPIO_USABLE_ALL
    help
      Include support for SPiDCOM spk300-g development board platform.

config MACH_SPK310
    bool "Support SPK310 platform"
    select CHIP_SPC300
    select HAVE_SPC300_GPIO_USABLE_ALL
    help
      Include support for SPiDCOM spk310 development board platform.

config MACH_SPR300
    bool "Support SPR300 platform"
    select CHIP_SPC300
    select HAVE_SPC300_GPIO_USABLE_ALL
    help
      Include support for SPiDCOM spr300 reference design board platform.

config MACH_SPR310
    bool "Support SPR310 platform"
    select CHIP_SPC300
    select HAVE_SPC300_GPIO_USABLE_ALL
    help
      Include support for SPiDCOM spr310 reference design board platform.

endchoice

# Chips (CHIP_*)
# ==============
#
# This is not shown to the user, it should be selected by the board type.  A
# chip corresponds to a silicon chip version or a FPGA prototype. Each one
# select CHIP_FEATURE_* according to embedded peripherals.
config CHIP_SPC300
    def_bool n
    select CHIP_FEATURE_INT_MAP_V1
    select CHIP_FEATURE_SDRAM_CTRL
    select CHIP_FEATURE_SYNOP3504
    select CHIP_FEATURE_MPEGTS
    select CHIP_FEATURE_I2S
    select CHIP_FEATURE_PCM
    select CHIP_FEATURE_SPCPLL
    select CHIP_FEATURE_SPCETH
    select CHIP_FEATURE_SPCPIO

config CHIP_SPC300ARIZONA
    def_bool n
    select CHIP_FEATURE_INT_MAP_V1
    select CHIP_FEATURE_SDRAM_CTRL
    select CHIP_FEATURE_SYNOP3504
    select CHIP_FEATURE_SYNOP3504_NO_TX_TIMEOUT
    select CHIP_FEATURE_MPEGTS
    select CHIP_FEATURE_I2S
    select CHIP_FEATURE_PCM
    select CHIP_FEATURE_SPCPLL
    select CHIP_FEATURE_SPCETH
    select CHIP_FEATURE_SPCPIO

config CHIP_MSE500DINI_300
    def_bool n
    select CHIP_FEATURE_INT_MAP_V2
    select CHIP_FEATURE_MIU_CTRL
    select CHIP_FEATURE_SYNOP3504
    select CHIP_FEATURE_SYNOP3504_NO_GIGABIT
    select CHIP_FEATURE_SYNOP3504_PHY_DINI
    select CHIP_FEATURE_GIC_64_LINES
    select CHIP_FEATURE_EXTRA_NVRAM_FIELDS

config CHIP_MSE500
    def_bool n
    select CHIP_FEATURE_INT_MAP_V2
    select CHIP_FEATURE_MIU_CTRL
    select CHIP_FEATURE_SYNOP3504
    select CHIP_FEATURE_GIC_64_LINES
    select CHIP_FEATURE_EXTRA_NVRAM_FIELDS
    select CHIP_FEATURE_MSEPLL
    select CHIP_FEATURE_MSEETH
    select CHIP_FEATURE_IOMUX
    select CHIP_FEATURE_EXTRA_TIMERS
    select CHIP_FEATURE_ETHERNET2
    select CHIP_FEATURE_SRAM
    select CHIP_FEATURE_SET_CLK

# Chip features (CHIP_FEATURE_*)
# ==============================
#
# This is not shown to the user, features should be selected by the chip.
# Each chip feature corresponds to a embedded peripheral, a chip specificity
# or workaround.
config CHIP_FEATURE_INT_MAP_V1
    def_bool n
config CHIP_FEATURE_INT_MAP_V2
    def_bool n
config CHIP_FEATURE_SDRAM_CTRL
    def_bool n
config CHIP_FEATURE_MIU_CTRL
    def_bool n
config CHIP_FEATURE_SYNOP3504
    def_bool n
    select HAVE_SYNOP3504
config CHIP_FEATURE_SYNOP3504_NO_GIGABIT
    def_bool n
    select SYNOP3504_NO_GIGABIT
config CHIP_FEATURE_SYNOP3504_NO_TX_TIMEOUT
    def_bool n
    select SYNOP3504_NO_TX_TIMEOUT
config CHIP_FEATURE_SYNOP3504_PHY_DINI
    def_bool n
    select SYNOP3504_PHY_DINI
config CHIP_FEATURE_MPEGTS
    def_bool n
config CHIP_FEATURE_I2S
    def_bool n
config CHIP_FEATURE_PCM
    def_bool n
config CHIP_FEATURE_GIC_64_LINES
    def_bool n
config CHIP_FEATURE_EXTRA_NVRAM_FIELDS
    def_bool n
config CHIP_FEATURE_SPCPLL
    def_bool n
config CHIP_FEATURE_MSEPLL
    def_bool n
config CHIP_FEATURE_SPCETH
    def_bool n
config CHIP_FEATURE_MSEETH
    def_bool n
config CHIP_FEATURE_SPCPIO
    def_bool n
config CHIP_FEATURE_IOMUX
    def_bool n
config CHIP_FEATURE_EXTRA_TIMERS
    def_bool n
config CHIP_FEATURE_ETHERNET2
    def_bool n
config CHIP_FEATURE_SRAM
    def_bool n
config CHIP_FEATURE_SET_CLK
    def_bool n

# Other features (workarounds, ...)
# =================================
# This is not shown to the user, and should be bound to a CHIP_FEATURE
config SYSCLK_SPEED
    depends on CHIP_FEATURE_SET_CLK
    int "SYSCLK speed in MHz"
    default 246
config HAVE_POWER_LED
    def_bool n
config LOW_POWER_LED_NUM
    depends on HAVE_POWER_LED
    int "Low Power LED GPIO"
    default 3

source "arch/arm/mach-spc300/Kconfig.flash"

endmenu