~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: de62171b3011fe42fe0ed6e2d5ef56ce3e33fac8 (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
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
choice
	prompt "SPI group"

config SICR_SPI_SPI
	bool "SPI"

config SICR_SPI_MSRCID
	bool "MSRCID"

config SICR_SPI_LSRCID
	bool "LSRCID"

endchoice

choice
	prompt "UART group"

config SICR_UART_SPI
	bool "UART"

config SICR_UART_MSRCID
	bool "MSRCID"

config SICR_UART_LSRCID
	bool "LSRCID"

endchoice

choice
	prompt "IRQ group"

config SICR_IRQ_SPI
	bool "IRQ"

config SICR_IRQ_MCP_CKSTOP
	bool "MCP/CKSTOP"

config SICR_IRQ_INTA
	bool "INTA"

endchoice

choice
	prompt "I2C2 group"

config SICR_I2C2_I2C
	bool "IRQ"

config SICR_I2C2_CKSTOP
	bool "CKSTOP"

endchoice

choice
	prompt "ETSEC1 A group"

config SICR_ETSEC1_A_TSEC2
	bool "TSEC1"

config SICR_ETSEC1_A_TSEC_GTX_CLK125
	bool "TSEC1 GTX_CLK125"

endchoice

choice
	prompt "eSDHC A group"

config SICR_ESDHC_A_SD
	bool "SD"

config SICR_ESDHC_A_GTM
	bool "GTM"

config SICR_ESDHC_A_GPIO
	bool "GPIO"

endchoice

choice
	prompt "eSDHC B group"

config SICR_ESDHC_B_SD
	bool "SD"

config SICR_ESDHC_B_GTM
	bool "GTM"

config SICR_ESDHC_B_GPIO
	bool "GPIO"

endchoice

choice
	prompt "eSDHC C group"

config SICR_ESDHC_C_SD
	bool "SD"

config SICR_ESDHC_C_GTM
	bool "GTM"

config SICR_ESDHC_C_GPIO
	bool "GPIO"

endchoice

choice
	prompt "GPIO A group"

config SICR_GPIO_A_GPIO
	bool "GPIO"

config SICR_GPIO_A_TSEC2
	bool "TSEC2"

endchoice

choice
	prompt "GPIO B group"

config SICR_GPIO_B_GPIO
	bool "GPIO"

config SICR_GPIO_B_TSEC2
	bool "TSEC2"

config SICR_GPIO_B_TSEC_GTX_CLK125
	bool "TSEC2 GTX_CLK125"

endchoice

choice
	prompt "IEEE1588 A group"

config SICR_IEEE1588_A_TSEC
	bool "TSEC"

config SICR_IEEE1588_A_GPIO
	bool "GPIO"

endchoice

choice
	prompt "USB group"

config SICR_USB_TSEC
	bool "USB"

endchoice

choice
	prompt "GTM group"

config SICR_GTM_TSEC
	bool "GTM"

config SICR_GTM_GPIO
	bool "GPIO"

endchoice

choice
	prompt "IEEE1588 B group"

config SICR_IEEE1588_B_GPIO
	bool "GPIO"

endchoice

choice
	prompt "ETSEC2 group"

config SICR_ETSEC2_TSEC2
	bool "TSEC2"

config SICR_ETSEC2_GPIO
	bool "GPIO"

endchoice

choice
	prompt "GPIO selection"

config SICR_GPIOSEL_GPIO
	bool "GPIO_A, GPIO_B"

config SICR_GPIOSEL_IEEE1588
	bool "IEEE1588_A, IEEE1588_B, ETSEC2"

endchoice

choice
	prompt "IEEE1588 timer output buffer impedance"

config SICR_TMROBI_3_3_V
	bool "40 Ohm, 3.3V"

config SICR_TMROBI_2_5_V
	bool "40 Ohm, 2.5V"

endchoice

choice
	prompt "TSEC1 output buffer impedance"

config SICR_TMSOBI1_3_3_V
	bool "40 Ohm, 3.3V"

config SICR_TMSOBI1_2_5_V
	bool "40 Ohm, 2.5V"

endchoice

choice
	prompt "TSEC2 output buffer impedance"

config SICR_TMSOBI2_3_3_V
	bool "40 Ohm, 3.3V"

config SICR_TMSOBI2_2_5_V
	bool "40 Ohm, 2.5V"

endchoice

config SICRL_SPI
	hex
	default 0x0 if SICR_SPI_SPI
	default 0x10000000 if SICR_SPI_MSRCID
	default 0x30000000 if SICR_SPI_LSRCID

config SICRL_UART
	hex
	default 0x0 if SICR_UART_SPI
	default 0x4000000 if SICR_UART_MSRCID
	default 0xc000000 if SICR_UART_LSRCID

config SICRL_IRQ
	hex
	default 0x0 if SICR_IRQ_SPI
	default 0x1000000 if SICR_IRQ_MCP_CKSTOP
	default 0x3000000 if SICR_IRQ_INTA

config SICRL_I2C2
	hex
	default 0x0 if SICR_I2C2_I2C
	default 0x100000 if SICR_I2C2_CKSTOP

config SICRL_ETSEC1_A
	hex
	default 0x0 if SICR_ETSEC1_A_TSEC2
	default 0x40 if SICR_ETSEC1_A_TSEC_GTX_CLK125

config SICRH_ESDHC_A
	hex
	default 0x0 if SICR_ESDHC_A_SD
	default 0x40000000 if SICR_ESDHC_A_GTM
	default 0xc0000000 if SICR_ESDHC_A_GPIO

config SICRH_ESDHC_B
	hex
	default 0x0 if SICR_ESDHC_B_SD
	default 0x10000000 if SICR_ESDHC_B_GTM
	default 0x30000000 if SICR_ESDHC_B_GPIO

config SICRH_ESDHC_C
	hex
	default 0x0 if SICR_ESDHC_C_SD
	default 0x4000000 if SICR_ESDHC_C_GTM
	default 0xc000000 if SICR_ESDHC_C_GPIO

config SICRH_GPIO_A
	hex
	default 0x0 if SICR_GPIO_A_GPIO
	default 0x1000000 if SICR_GPIO_A_TSEC2

config SICRH_GPIO_B
	hex
	default 0x0 if SICR_GPIO_B_GPIO
	default 0x400000 if SICR_GPIO_B_TSEC2
	default 0x800000 if SICR_GPIO_B_TSEC_GTX_CLK125

config SICRH_IEEE1588_A
	hex
	default 0x100000 if SICR_IEEE1588_A_TSEC
	default 0x300000 if SICR_IEEE1588_A_GPIO

config SICRH_USB
	hex
	default 0x40000 if SICR_USB_TSEC

config SICRH_GTM
	hex
	default 0x10000 if SICR_GTM_TSEC
	default 0x30000 if SICR_GTM_GPIO

config SICRH_IEEE1588_B
	hex
	default 0xc000 if SICR_IEEE1588_B_GPIO

config SICRH_ETSEC2
	hex
	default 0x1000 if SICR_ETSEC2_TSEC2
	default 0x3000 if SICR_ETSEC2_GPIO

config SICRH_GPIOSEL
	hex
	default 0x0 if SICR_GPIOSEL_GPIO
	default 0x100 if SICR_GPIOSEL_IEEE1588

config SICRH_TMROBI
	hex
	default 0x0 if SICR_TMROBI_3_3_V
	default 0x10 if SICR_TMROBI_2_5_V

config SICRH_TMSOBI1
	hex
	default 0x0 if SICR_TMSOBI1_3_3_V
	default 0x2 if SICR_TMSOBI1_2_5_V

config SICRH_TMSOBI2
	hex
	default 0x0 if SICR_TMSOBI2_3_3_V
	default 0x1 if SICR_TMSOBI2_2_5_V