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
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
|
if ARCH_MX5
config ARCH_MX51
bool "MX51"
select ARCH_MXC_IOMUX_V3
config ARCH_MX53
bool "MX53"
config ARCH_MX50
bool
select ARCH_HAS_RNGC
config FORCE_MAX_ZONEORDER
int "MAX_ORDER"
default "13"
config MX5_OPTIONS
bool
default y
select CPU_V7
select USB_ARCH_HAS_EHCI
select MXC_TZIC
config MX5_MULTI_ARCH
bool
default y
select RUNTIME_PHYS_OFFSET
depends on ARCH_MX51
depends on ARCH_MX50 || ARCH_MX53
config MACH_MX51_3DS
bool "Support MX51 3-Stack platform"
select ARCH_MX51
help
Include support for MX51 3-Stack platform. This includes specific
configurations for the board and its peripherals.
config MACH_MX51_BABBAGE
bool "Support MX51 BABBAGE platform"
select ARCH_MX51
help
Include support for MX51 Babbage platform. This includes specific
configurations for the board and its peripherals.
config MACH_MX53_EVK
bool "Support MX53 EVK platform"
select ARCH_MX53
help
Include support for MX53 EVK platform. This includes specific
configurations for the board and its peripherals.
config MACH_MX50_ARM2
bool "Support MX50 Armadillo2 platform"
select ARCH_MX50
help
Include support for MX50 EVK platform. This includes specific
configurations for the board and its peripherals.
config MODULE_CCXMX51
bool
config LATE_CPU_CLK_ENABLE
bool
config MACH_MX50_RDP
bool "Support MX50 Reference Design Platform"
select ARCH_MX50
help
Include support for MX50 RDP platform. This includes specific
configurations for the board and its peripherals.
config MACH_CCWMX51JS
bool "Support for the ConnectCore Wi-i.MX51 module, on the JSK base board"
select MODULE_CCXMX51
select LATE_CPU_CLK_ENABLE
help
Include support for the Digi ConnectCore Wi-i.MX51 Embedded Module, on the
JumpStart Kit base board. This includes specific configurations for the
peripherals on that base board.
config MACH_CCWMX51
bool "Support for the ConnectCore Wi-i.MX51 module"
select MODULE_CCXMX51
select LATE_CPU_CLK_ENABLE
help
Include support for the Digi ConnectCore Wi-i.MX51 Embedded Module, on a
custom board. The machine file should be modified to include support for
the interfaces available in that board.
config MACH_CCMX51JS
bool "Support for the ConnectCore i.MX51 module, on the JSK base board"
select MODULE_CCXMX51
select LATE_CPU_CLK_ENABLE
help
Include support for the Digi ConnectCore i.MX51 Embedded Module, on the
JumpStart Kit base board. This includes specific configurations for the
peripherals on that base board.
config MACH_CCMX51
bool "Support for the ConnectCore i.MX51 module"
select MODULE_CCXMX51
select LATE_CPU_CLK_ENABLE
help
Include support for the Digi ConnectCore i.MX51 Embedded Module, on a
custom board. The machine file should be modified to include support for
the interfaces available in that board.
choice
prompt "Select development board variant:"
default JSCCWMX51_V2
config JSCCWMX51_V1
bool "ConnectCore for i.MX51 Early Availability Development Board"
depends on MODULE_CCXMX51
select CCWMX51_DISP0_RGB888 if CCWMX51_DISP0
help
Select this option if you are using the development board included in
the Early Availability (EA) kit. The Digi part number for this board
revision is 30011032-01. It is printed on the top side of the
development board, close to the connectors of Signal Rail 1.
config JSCCWMX51_V2
bool "ConnectCore for i.MX51 JumpStart Kit Development Board"
depends on MODULE_CCXMX51
select CCWMX51_DISP0_RGB666 if CCWMX51_DISP0
help
Select this option if you are using the development board included in
Digi JumpStart Kit. The Digi part number for this board revision is
30011032-03. It is printed on the top side of the development board,
close to the connectors of Signal Rail 1.
config JSCCWMX51_CUSTOM
bool "Custom ConnectCore for i.MX51 Carrier Board"
depends on MODULE_CCXMX51
help
Select this option if you are using your own custom-designed carrier
board.
endchoice
comment "MX5x Options:"
config MXC_SDMA_API
bool "Use SDMA API"
default y
help
This selects the Freescale MXC SDMA API.
If unsure, say N.
config MXC_NAND_SWAP_BI
bool
config ARCH_MXC_HAS_NFC_V3
bool "MXC NFC Hardware Version 3"
depends on ARCH_MX5
default y
help
This selects the Freescale MXC Nand Flash Controller Hardware Version 3
If unsure, say N.
config ARCH_MXC_HAS_NFC_V3_2
bool "MXC NFC Hardware Version 3.2"
depends on ARCH_MXC_HAS_NFC_V3
select MXC_NAND_SWAP_BI if MODULE_CCXMX51
default y
help
This selects the Freescale MXC Nand Flash Controller Hardware Version 3.2
If unsure, say N.
config SDMA_IRAM
bool "Use Internal RAM for SDMA transfer"
depends on MXC_SDMA_API
help
Support Internal RAM as SDMA buffer or control structures
endif
menu "Serial Port Options"
config UART1_ENABLED
bool "Enable UART1"
default y
depends on SERIAL_MXC && MODULE_CCXMX51
help
Enable the MX51 UART1 interface
choice
prompt "Select the configuration for the UART lines:"
default UART1_2WIRE_ENABLED
depends on UART1_ENABLED
config UART1_2WIRE_ENABLED
bool "Configure UART1 as 2 wire UART (RX/TX)"
config UART1_CTS_RTS_ENABLED
bool "Configure UART1 as 4 wire UART (RX/TX/RTS/CTS)"
config UART1_FULL_UART_ENABLED
bool "Configure UART1 as full UART (RX/TX/RTS/CTS/DCD/DTR/DSR/RI)"
endchoice
config UART1_IRDA_ENABLED
bool "Enable IRDA mode"
default n
depends on UART1_ENABLED
help
Enable IRDA mode
config UART2_ENABLED
bool "Enable UART2"
default y
depends on SERIAL_MXC && MODULE_CCXMX51
help
Enable the MX51 UART2 interface
config UART2_CTS_RTS_ENABLED
bool "Configure RTS/CTS lines for UART2 hardware flow control"
default n
depends on UART2_ENABLED
depends on !USB_EHCI_ARC_H1
help
Configure the UART2 RTS/CTS lines for hardware flow control operation
comment "UART2 CTS/RTS is not available on the ConnectCore Wi-i.MX51 JumpStart board if"
depends on USB_EHCI_ARC_H1
comment "the support for Host1 of the Freescale USB controller is enabled."
depends on USB_EHCI_ARC_H1
config UART2_IRDA_ENABLED
bool "Enable IRDA mode"
default n
depends on UART2_ENABLED
help
Enable IRDA mode
comment "UART3 is not available on the ConnectCore Wi-i.MX51 JumpStart board if UART1"
depends on UART1_FULL_UART_ENABLED
comment "is configured as full UART. This may not be the case in a custom base board."
depends on UART1_FULL_UART_ENABLED
config UART3_ENABLED
bool "Enable UART3"
default y
depends on SERIAL_MXC && MODULE_CCXMX51 && !UART1_FULL_UART_ENABLED
help
Enable the MX51 UART3 interface
config UART3_CTS_RTS_ENABLED
bool "Configure RTS/CTS lines for UART3 hardware flow control"
default n
depends on UART3_ENABLED
help
Configure the UART3 RTS/CTS lines for hardware flow control operation
config UART3_IRDA_ENABLED
bool "Enable IRDA mode"
default n
depends on UART3_ENABLED
help
Enable IRDA mode
endmenu
menu "SPI Interface Options"
config SPI_MXC_SELECT1
bool "Enable CSPI1"
depends on SPI_MXC && MODULE_CCXMX51
default y
help
Enable the CSPI1 interface
config SPI_MXC_SELECT1_SS1
bool "Enable SS1 line for CSPI1"
depends on SPI_MXC_SELECT1 && MODULE_CCXMX51
default y
help
Enable SS1 (slave select 1) line, used on ConnectCore Wi-i.MX51 base board SPI connector
config SPI_MXC_SELECT2
bool "Enable CSPI2"
depends on SPI_MXC && MODULE_CCXMX51
default n
help
Enable the CSPI2 interface
config SPI_MXC_SELECT3
bool "Enable CSPI3"
depends on SPI_MXC && MODULE_CCXMX51
default n
help
Enable the CSPI3 interface
endmenu
menu "I2C Interface options"
config I2C_MXC_SELECT1
bool "Enable I2C1 module"
default y
depends on I2C_MXC
depends on !MACH_CCWMX51JS
help
Enable MX51 I2C1 module.
config I2C_MXC_SELECT2
bool "Enable I2C2 module"
default n
depends on I2C_MXC
help
Enable MX51 I2C2 module.
config I2C_MXC_SELECT3
bool "Enable I2C3 module"
default n
depends on I2C_MXC
help
Enable MX51 I2C3 module.
endmenu
menu "SD/MMC Interface options"
config ESDHCI_MXC_SELECT1
bool "Enable SDHC 1"
default y
depends on MMC_IMX_ESDHCI
help
Enable the SD Host Controller 1.
config ESDHCI_MXC_SELECT3
bool "Enable SDHC 3"
default y
depends on MMC_IMX_ESDHCI
help
Enable the SD Host Controller 3.
endmenu
if !FB_MXC_SYNC_PANEL
comment "---Video interface disabled"
endif
if FB_MXC_SYNC_PANEL
menu "Video Interface(s)"
choice
prompt "Video color depth"
default CCWMX51_DEFAULT_VIDEO_32BPP
depends on MODULE_CCXMX51
config CCWMX51_DEFAULT_VIDEO_32BPP
bool "32 bits per pixel"
config CCWMX51_DEFAULT_VIDEO_16BPP
bool "16 bits per pixel"
endchoice
config CCWMX51_DEFAULT_VIDEO_BPP
int
depends on MODULE_CCXMX51
default 32 if CCWMX51_DEFAULT_VIDEO_32BPP
default 16 if CCWMX51_DEFAULT_VIDEO_16BPP
config CCWMX51_DISP0
bool "Enable Display Interface 1 (primary)"
help
This enables the i.MX51 Display Interface 1.
if CCWMX51_DISP0
choice
prompt "Display 1 color mode"
config CCWMX51_DISP0_RGB888
bool "24bit color mode"
depends on JSCCWMX51_V1
help
Configure Display 1 in 24bit color mode.
WARNING: The JumpStart Kit Development Board (30011032-02) is designed
to work in 18bit mode. To work in 24bit mode you need an Early Availability
Kit Development Board (30011032-01) or a custom designed board that
populates all 24 data lines of the video interface.
IMPORTANT: If Display 1 is configured for 24bit color depth, Display 2
will not be available.
config CCWMX51_DISP0_RGB666
bool "18bit color mode"
depends on JSCCWMX51_V2
help
Configure Display 1 in 18bit color mode. Use this mode if working
on a JumpStart Kit Development Board.
WARNING: The Early Availability Development Board (30011032-01) is
designed to work in 24bit mode. To work in 18bit mode you need a
JumpStart Kit Development Board (30011032-02) or a custom designed
board that only populates 18 data lines of the video interface.
endchoice
endif
comment "To enable the Display 2 Video interface, disable the FEC (under network drivers)"
depends on FEC || CCWMX51_DISP0_RGB888
comment "and set 18bit color mode for the Display 1"
depends on FEC || CCWMX51_DISP0_RGB888
config CCWMX51_DISP1
bool "Enable Display Interface 2 (secondary)"
depends on !FEC && !CCWMX51_DISP0_RGB888
help
This enables the i.MX51 Display Interface 2 (18bit color mode only).
config CCWMX51_SECOND_TOUCH
bool "Enable support for external touch controller (ADS7843)"
depends on SPI_MXC_SELECT1
select TOUCHSCREEN_ADS7846
help
This enables the support for the external touch interface (ADS7843) available on the
High Resolution Display board, connected to the processor through SPI and that can be
used with the secondary display (but also with the primary)
endmenu
endif
|