blob: de62171b3011fe42fe0ed6e2d5ef56ce3e33fac8 [file] [log] [blame]
Mario Six636c1082019-01-21 09:18:11 +01001choice
2 prompt "SPI group"
3
4config SICR_SPI_SPI
5 bool "SPI"
6
7config SICR_SPI_MSRCID
8 bool "MSRCID"
9
10config SICR_SPI_LSRCID
11 bool "LSRCID"
12
13endchoice
14
15choice
16 prompt "UART group"
17
18config SICR_UART_SPI
19 bool "UART"
20
21config SICR_UART_MSRCID
22 bool "MSRCID"
23
24config SICR_UART_LSRCID
25 bool "LSRCID"
26
27endchoice
28
29choice
30 prompt "IRQ group"
31
32config SICR_IRQ_SPI
33 bool "IRQ"
34
35config SICR_IRQ_MCP_CKSTOP
36 bool "MCP/CKSTOP"
37
38config SICR_IRQ_INTA
39 bool "INTA"
40
41endchoice
42
43choice
44 prompt "I2C2 group"
45
46config SICR_I2C2_I2C
47 bool "IRQ"
48
49config SICR_I2C2_CKSTOP
50 bool "CKSTOP"
51
52endchoice
53
54choice
55 prompt "ETSEC1 A group"
56
57config SICR_ETSEC1_A_TSEC2
58 bool "TSEC1"
59
60config SICR_ETSEC1_A_TSEC_GTX_CLK125
61 bool "TSEC1 GTX_CLK125"
62
63endchoice
64
65choice
66 prompt "eSDHC A group"
67
68config SICR_ESDHC_A_SD
69 bool "SD"
70
71config SICR_ESDHC_A_GTM
72 bool "GTM"
73
74config SICR_ESDHC_A_GPIO
75 bool "GPIO"
76
77endchoice
78
79choice
80 prompt "eSDHC B group"
81
82config SICR_ESDHC_B_SD
83 bool "SD"
84
85config SICR_ESDHC_B_GTM
86 bool "GTM"
87
88config SICR_ESDHC_B_GPIO
89 bool "GPIO"
90
91endchoice
92
93choice
94 prompt "eSDHC C group"
95
96config SICR_ESDHC_C_SD
97 bool "SD"
98
99config SICR_ESDHC_C_GTM
100 bool "GTM"
101
102config SICR_ESDHC_C_GPIO
103 bool "GPIO"
104
105endchoice
106
107choice
108 prompt "GPIO A group"
109
110config SICR_GPIO_A_GPIO
111 bool "GPIO"
112
113config SICR_GPIO_A_TSEC2
114 bool "TSEC2"
115
116endchoice
117
118choice
119 prompt "GPIO B group"
120
121config SICR_GPIO_B_GPIO
122 bool "GPIO"
123
124config SICR_GPIO_B_TSEC2
125 bool "TSEC2"
126
127config SICR_GPIO_B_TSEC_GTX_CLK125
128 bool "TSEC2 GTX_CLK125"
129
130endchoice
131
132choice
133 prompt "IEEE1588 A group"
134
135config SICR_IEEE1588_A_TSEC
136 bool "TSEC"
137
138config SICR_IEEE1588_A_GPIO
139 bool "GPIO"
140
141endchoice
142
143choice
144 prompt "USB group"
145
146config SICR_USB_TSEC
147 bool "USB"
148
149endchoice
150
151choice
152 prompt "GTM group"
153
154config SICR_GTM_TSEC
155 bool "GTM"
156
157config SICR_GTM_GPIO
158 bool "GPIO"
159
160endchoice
161
162choice
163 prompt "IEEE1588 B group"
164
165config SICR_IEEE1588_B_GPIO
166 bool "GPIO"
167
168endchoice
169
170choice
171 prompt "ETSEC2 group"
172
173config SICR_ETSEC2_TSEC2
174 bool "TSEC2"
175
176config SICR_ETSEC2_GPIO
177 bool "GPIO"
178
179endchoice
180
181choice
182 prompt "GPIO selection"
183
184config SICR_GPIOSEL_GPIO
185 bool "GPIO_A, GPIO_B"
186
187config SICR_GPIOSEL_IEEE1588
188 bool "IEEE1588_A, IEEE1588_B, ETSEC2"
189
190endchoice
191
192choice
193 prompt "IEEE1588 timer output buffer impedance"
194
195config SICR_TMROBI_3_3_V
196 bool "40 Ohm, 3.3V"
197
198config SICR_TMROBI_2_5_V
199 bool "40 Ohm, 2.5V"
200
201endchoice
202
203choice
204 prompt "TSEC1 output buffer impedance"
205
206config SICR_TMSOBI1_3_3_V
207 bool "40 Ohm, 3.3V"
208
209config SICR_TMSOBI1_2_5_V
210 bool "40 Ohm, 2.5V"
211
212endchoice
213
214choice
215 prompt "TSEC2 output buffer impedance"
216
217config SICR_TMSOBI2_3_3_V
218 bool "40 Ohm, 3.3V"
219
220config SICR_TMSOBI2_2_5_V
221 bool "40 Ohm, 2.5V"
222
223endchoice
224
225config SICRL_SPI
226 hex
227 default 0x0 if SICR_SPI_SPI
228 default 0x10000000 if SICR_SPI_MSRCID
229 default 0x30000000 if SICR_SPI_LSRCID
230
231config SICRL_UART
232 hex
233 default 0x0 if SICR_UART_SPI
234 default 0x4000000 if SICR_UART_MSRCID
235 default 0xc000000 if SICR_UART_LSRCID
236
237config SICRL_IRQ
238 hex
239 default 0x0 if SICR_IRQ_SPI
240 default 0x1000000 if SICR_IRQ_MCP_CKSTOP
241 default 0x3000000 if SICR_IRQ_INTA
242
243config SICRL_I2C2
244 hex
245 default 0x0 if SICR_I2C2_I2C
246 default 0x100000 if SICR_I2C2_CKSTOP
247
248config SICRL_ETSEC1_A
249 hex
250 default 0x0 if SICR_ETSEC1_A_TSEC2
251 default 0x40 if SICR_ETSEC1_A_TSEC_GTX_CLK125
252
253config SICRH_ESDHC_A
254 hex
255 default 0x0 if SICR_ESDHC_A_SD
256 default 0x40000000 if SICR_ESDHC_A_GTM
257 default 0xc0000000 if SICR_ESDHC_A_GPIO
258
259config SICRH_ESDHC_B
260 hex
261 default 0x0 if SICR_ESDHC_B_SD
262 default 0x10000000 if SICR_ESDHC_B_GTM
263 default 0x30000000 if SICR_ESDHC_B_GPIO
264
265config SICRH_ESDHC_C
266 hex
267 default 0x0 if SICR_ESDHC_C_SD
268 default 0x4000000 if SICR_ESDHC_C_GTM
269 default 0xc000000 if SICR_ESDHC_C_GPIO
270
271config SICRH_GPIO_A
272 hex
273 default 0x0 if SICR_GPIO_A_GPIO
274 default 0x1000000 if SICR_GPIO_A_TSEC2
275
276config SICRH_GPIO_B
277 hex
278 default 0x0 if SICR_GPIO_B_GPIO
279 default 0x400000 if SICR_GPIO_B_TSEC2
280 default 0x800000 if SICR_GPIO_B_TSEC_GTX_CLK125
281
282config SICRH_IEEE1588_A
283 hex
284 default 0x100000 if SICR_IEEE1588_A_TSEC
285 default 0x300000 if SICR_IEEE1588_A_GPIO
286
287config SICRH_USB
288 hex
289 default 0x40000 if SICR_USB_TSEC
290
291config SICRH_GTM
292 hex
293 default 0x10000 if SICR_GTM_TSEC
294 default 0x30000 if SICR_GTM_GPIO
295
296config SICRH_IEEE1588_B
297 hex
298 default 0xc000 if SICR_IEEE1588_B_GPIO
299
300config SICRH_ETSEC2
301 hex
302 default 0x1000 if SICR_ETSEC2_TSEC2
303 default 0x3000 if SICR_ETSEC2_GPIO
304
305config SICRH_GPIOSEL
306 hex
307 default 0x0 if SICR_GPIOSEL_GPIO
308 default 0x100 if SICR_GPIOSEL_IEEE1588
309
310config SICRH_TMROBI
311 hex
312 default 0x0 if SICR_TMROBI_3_3_V
313 default 0x10 if SICR_TMROBI_2_5_V
314
315config SICRH_TMSOBI1
316 hex
317 default 0x0 if SICR_TMSOBI1_3_3_V
318 default 0x2 if SICR_TMSOBI1_2_5_V
319
320config SICRH_TMSOBI2
321 hex
322 default 0x0 if SICR_TMSOBI2_3_3_V
323 default 0x1 if SICR_TMSOBI2_2_5_V