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
|
#undef MX6PAD
#undef MX6NAME
#ifdef FOR_DL_SOLO
#define MX6PAD(a) MX6DL_PAD_##a
#define MX6NAME(a) mx6dl_solo_##a
#else
#define MX6PAD(a) MX6Q_PAD_##a
#define MX6NAME(a) mx6q_##a
#endif
#define MX6Q_USDHC_PAD_CTRL_50MHZ MX6Q_USDHC_PAD_CTRL
#define MX6Q_PAD_SD3_CLK__USDHC3_CLK MX6Q_PAD_SD3_CLK__USDHC3_CLK_50MHZ
#define MX6Q_PAD_SD3_CMD__USDHC3_CMD MX6Q_PAD_SD3_CMD__USDHC3_CMD_50MHZ
#define MX6Q_PAD_SD3_DAT0__USDHC3_DAT0 MX6Q_PAD_SD3_DAT0__USDHC3_DAT0_50MHZ
#define MX6Q_PAD_SD3_DAT1__USDHC3_DAT1 MX6Q_PAD_SD3_DAT1__USDHC3_DAT1_50MHZ
#define MX6Q_PAD_SD3_DAT2__USDHC3_DAT2 MX6Q_PAD_SD3_DAT2__USDHC3_DAT2_50MHZ
#define MX6Q_PAD_SD3_DAT3__USDHC3_DAT3 MX6Q_PAD_SD3_DAT3__USDHC3_DAT3_50MHZ
#define MX6Q_PAD_SD4_CLK__USDHC4_CLK MX6Q_PAD_SD3_CLK__USDHC3_CLK_50MHZ
#define MX6Q_PAD_SD4_CMD__USDHC4_CMD MX6Q_PAD_SD3_CMD__USDHC3_CMD_50MHZ
#define MX6Q_PAD_SD4_DAT0__USDHC4_DAT0 MX6Q_PAD_SD3_DAT0__USDHC3_DAT0_50MHZ
#define MX6Q_PAD_SD4_DAT1__USDHC4_DAT1 MX6Q_PAD_SD3_DAT1__USDHC3_DAT1_50MHZ
#define MX6Q_PAD_SD4_DAT2__USDHC4_DAT2 MX6Q_PAD_SD3_DAT2__USDHC3_DAT2_50MHZ
#define MX6Q_PAD_SD4_DAT3__USDHC4_DAT3 MX6Q_PAD_SD3_DAT3__USDHC3_DAT3_50MHZ
#define MX6DL_PAD_SD3_CLK__USDHC3_CLK MX6DL_PAD_SD3_CLK__USDHC3_CLK_50MHZ
#define MX6DL_PAD_SD3_CMD__USDHC3_CMD MX6DL_PAD_SD3_CMD__USDHC3_CMD_50MHZ
#define MX6DL_PAD_SD3_DAT0__USDHC3_DAT0 MX6DL_PAD_SD3_DAT0__USDHC3_DAT0_50MHZ
#define MX6DL_PAD_SD3_DAT1__USDHC3_DAT1 MX6DL_PAD_SD3_DAT1__USDHC3_DAT1_50MHZ
#define MX6DL_PAD_SD3_DAT2__USDHC3_DAT2 MX6DL_PAD_SD3_DAT2__USDHC3_DAT2_50MHZ
#define MX6DL_PAD_SD3_DAT3__USDHC3_DAT3 MX6DL_PAD_SD3_DAT3__USDHC3_DAT3_50MHZ
#define MX6DL_PAD_SD4_CLK__USDHC4_CLK MX6DL_PAD_SD3_CLK__USDHC3_CLK_50MHZ
#define MX6DL_PAD_SD4_CMD__USDHC4_CMD MX6DL_PAD_SD3_CMD__USDHC3_CMD_50MHZ
#define MX6DL_PAD_SD4_DAT0__USDHC4_DAT0 MX6DL_PAD_SD3_DAT0__USDHC3_DAT0_50MHZ
#define MX6DL_PAD_SD4_DAT1__USDHC4_DAT1 MX6DL_PAD_SD3_DAT1__USDHC3_DAT1_50MHZ
#define MX6DL_PAD_SD4_DAT2__USDHC4_DAT2 MX6DL_PAD_SD3_DAT2__USDHC3_DAT2_50MHZ
#define MX6DL_PAD_SD4_DAT3__USDHC4_DAT3 MX6DL_PAD_SD3_DAT3__USDHC3_DAT3_50MHZ
#define NP(id, speed, pin) \
NEW_PAD_CTRL(MX6PAD(SD##id##_##pin##__USDHC##id##_##pin), \
MX6Q_USDHC_PAD_CTRL_##speed##MHZ)
#define SD_PINS(id, speed) \
NP(id, speed, CLK), \
NP(id, speed, CMD), \
NP(id, speed, DAT0), \
NP(id, speed, DAT1), \
NP(id, speed, DAT2), \
NP(id, speed, DAT3)
static iomux_v3_cfg_t MX6NAME(nitrogen6x_pads)[] = {
/* AUDMUX */
MX6PAD(CSI0_DAT7__AUDMUX_AUD3_RXD),
MX6PAD(CSI0_DAT4__AUDMUX_AUD3_TXC),
MX6PAD(CSI0_DAT5__AUDMUX_AUD3_TXD),
MX6PAD(CSI0_DAT6__AUDMUX_AUD3_TXFS),
NEW_PAD_CTRL(MX6PAD(NANDF_CS1__GPIO_6_14), N6_IRQ_PADCFG), /* wl1271 wl_irq */
/* USDHC2 */
SD_PINS(2, 50),
MX6PAD(SD1_CLK__OSC32K_32K_OUT), /* wl1271 clock */
/* UART3 for wl1271 */
MX6PAD(EIM_D24__UART3_TXD),
MX6PAD(EIM_D25__UART3_RXD),
MX6PAD(EIM_D23__UART3_CTS),
MX6PAD(EIM_D31__UART3_RTS),
0
};
static iomux_v3_cfg_t MX6NAME(sabrelite_pads)[] = {
/* AUDMUX */
MX6PAD(SD2_DAT0__AUDMUX_AUD4_RXD),
MX6PAD(SD2_DAT3__AUDMUX_AUD4_TXC),
MX6PAD(SD2_DAT2__AUDMUX_AUD4_TXD),
MX6PAD(SD2_DAT1__AUDMUX_AUD4_TXFS),
0
};
static iomux_v3_cfg_t MX6NAME(common_pads)[] = {
/* CAN1 */
MX6PAD(KEY_ROW2__CAN1_RXCAN),
MX6PAD(KEY_COL2__CAN1_TXCAN),
MX6PAD(GPIO_2__GPIO_1_2), /* STNDBY */
MX6PAD(GPIO_7__GPIO_1_7), /* NERR */
NEW_PAD_CTRL(MX6PAD(GPIO_7__GPIO_1_7), MX6_SABRELITE_CAN1_ERR_TEST_PADCFG),
MX6PAD(GPIO_4__GPIO_1_4), /* Enable */
/* CCM */
MX6PAD(GPIO_0__CCM_CLKO), /* SGTL500 sys_mclk */
MX6PAD(GPIO_3__CCM_CLKO2), /* J5 - Camera MCLK */
/* ECSPI1 */
MX6PAD(EIM_D17__ECSPI1_MISO),
MX6PAD(EIM_D18__ECSPI1_MOSI),
MX6PAD(EIM_D16__ECSPI1_SCLK),
MX6PAD(EIM_D19__GPIO_3_19), /*SS1*/
/* ENET */
MX6PAD(ENET_MDIO__ENET_MDIO),
MX6PAD(ENET_MDC__ENET_MDC),
MX6PAD(RGMII_TXC__ENET_RGMII_TXC),
MX6PAD(RGMII_TD0__ENET_RGMII_TD0),
MX6PAD(RGMII_TD1__ENET_RGMII_TD1),
MX6PAD(RGMII_TD2__ENET_RGMII_TD2),
MX6PAD(RGMII_TD3__ENET_RGMII_TD3),
MX6PAD(RGMII_TX_CTL__ENET_RGMII_TX_CTL),
MX6PAD(ENET_REF_CLK__ENET_TX_CLK),
MX6PAD(RGMII_RXC__ENET_RGMII_RXC),
MX6PAD(RGMII_RD0__ENET_RGMII_RD0),
MX6PAD(RGMII_RD1__ENET_RGMII_RD1),
MX6PAD(RGMII_RD2__ENET_RGMII_RD2),
MX6PAD(RGMII_RD3__ENET_RGMII_RD3),
MX6PAD(RGMII_RX_CTL__ENET_RGMII_RX_CTL),
MX6PAD(ENET_TX_EN__GPIO_1_28), /* Micrel RGMII Phy Interrupt */
/* GPIO1 */
MX6PAD(ENET_RX_ER__GPIO_1_24), /* J9 - Microphone Detect */
/* GPIO2 */
MX6PAD(NANDF_D1__GPIO_2_1), /* J14 - Menu Button */
MX6PAD(NANDF_D2__GPIO_2_2), /* J14 - Back Button */
MX6PAD(NANDF_D3__GPIO_2_3), /* J14 - Search Button */
MX6PAD(NANDF_D4__GPIO_2_4), /* J14 - Home Button */
/* GPIO4 */
MX6PAD(GPIO_19__GPIO_4_5), /* J14 - Volume Down */
/* CSI1/Bootmode pins - J12 */
#ifdef FOR_DL_SOLO
/* Dualite/Solo doesn't have IPU2 */
MX6PAD(EIM_EB2__IPU1_CSI1_D_19), /* GPIO2[30] */
MX6PAD(EIM_A23__IPU1_CSI1_D_18), /* GPIO6[6] */
MX6PAD(EIM_A22__IPU1_CSI1_D_17), /* GPIO2[16] */
MX6PAD(EIM_A21__IPU1_CSI1_D_16), /* GPIO2[17] */
MX6PAD(EIM_A20__IPU1_CSI1_D_15), /* GPIO2[18] */
MX6PAD(EIM_A19__IPU1_CSI1_D_14), /* GPIO2[19] */
MX6PAD(EIM_A18__IPU1_CSI1_D_13), /* GPIO2[20] */
MX6PAD(EIM_A17__IPU1_CSI1_D_12), /* GPIO2[21] */
MX6PAD(EIM_EB0__IPU1_CSI1_D_11), /* GPIO2[28] */
MX6PAD(EIM_EB1__IPU1_CSI1_D_10), /* GPIO2[29] */
MX6PAD(EIM_DA0__IPU1_CSI1_D_9), /* GPIO3[0] */
MX6PAD(EIM_DA1__IPU1_CSI1_D_8), /* GPIO3[1] */
MX6PAD(EIM_DA2__IPU1_CSI1_D_7), /* GPIO3[2] */
MX6PAD(EIM_DA3__IPU1_CSI1_D_6), /* GPIO3[3] */
MX6PAD(EIM_DA4__IPU1_CSI1_D_5), /* GPIO3[4] */
MX6PAD(EIM_DA5__IPU1_CSI1_D_4), /* GPIO3[5] */
MX6PAD(EIM_DA6__IPU1_CSI1_D_3), /* GPIO3[6] */
MX6PAD(EIM_DA7__IPU1_CSI1_D_2), /* GPIO3[7] */
MX6PAD(EIM_DA8__IPU1_CSI1_D_1), /* GPIO3[8] */
MX6PAD(EIM_DA9__IPU1_CSI1_D_0), /* GPIO3[9] */
MX6PAD(EIM_DA10__IPU1_CSI1_DATA_EN), /* GPIO3[10] */
MX6PAD(EIM_DA11__IPU1_CSI1_HSYNC), /* GPIO3[11] */
MX6PAD(EIM_DA12__IPU1_CSI1_VSYNC), /* GPIO3[12] */
MX6PAD(EIM_A16__IPU1_CSI1_PIXCLK), /* GPIO2[22] */
#else
MX6PAD(EIM_EB2__IPU2_CSI1_D_19), /* GPIO2[30] */
MX6PAD(EIM_A23__IPU2_CSI1_D_18), /* GPIO6[6] */
MX6PAD(EIM_A22__IPU2_CSI1_D_17), /* GPIO2[16] */
MX6PAD(EIM_A21__IPU2_CSI1_D_16), /* GPIO2[17] */
MX6PAD(EIM_A20__IPU2_CSI1_D_15), /* GPIO2[18] */
MX6PAD(EIM_A19__IPU2_CSI1_D_14), /* GPIO2[19] */
MX6PAD(EIM_A18__IPU2_CSI1_D_13), /* GPIO2[20] */
MX6PAD(EIM_A17__IPU2_CSI1_D_12), /* GPIO2[21] */
MX6PAD(EIM_EB0__IPU2_CSI1_D_11), /* GPIO2[28] */
MX6PAD(EIM_EB1__IPU2_CSI1_D_10), /* GPIO2[29] */
MX6PAD(EIM_DA0__IPU2_CSI1_D_9), /* GPIO3[0] */
MX6PAD(EIM_DA1__IPU2_CSI1_D_8), /* GPIO3[1] */
MX6PAD(EIM_DA2__IPU2_CSI1_D_7), /* GPIO3[2] */
MX6PAD(EIM_DA3__IPU2_CSI1_D_6), /* GPIO3[3] */
MX6PAD(EIM_DA4__IPU2_CSI1_D_5), /* GPIO3[4] */
MX6PAD(EIM_DA5__IPU2_CSI1_D_4), /* GPIO3[5] */
MX6PAD(EIM_DA6__IPU2_CSI1_D_3), /* GPIO3[6] */
MX6PAD(EIM_DA7__IPU2_CSI1_D_2), /* GPIO3[7] */
MX6PAD(EIM_DA8__IPU2_CSI1_D_1), /* GPIO3[8] */
MX6PAD(EIM_DA9__IPU2_CSI1_D_0), /* GPIO3[9] */
MX6PAD(EIM_DA10__IPU2_CSI1_DATA_EN), /* GPIO3[10] */
MX6PAD(EIM_DA11__IPU2_CSI1_HSYNC), /* GPIO3[11] */
MX6PAD(EIM_DA12__IPU2_CSI1_VSYNC), /* GPIO3[12] */
MX6PAD(EIM_A16__IPU2_CSI1_PIXCLK), /* GPIO2[22] */
#endif
MX6PAD(EIM_DA13__GPIO_3_13), /* GPIO3[13] - power down */
MX6PAD(EIM_DA14__GPIO_3_14), /* GPIO3[14] - camera reset */
MX6PAD(EIM_RW__GPIO_2_26), /* GPIO2[26] - unused */
MX6PAD(EIM_LBA__GPIO_2_27), /* GPIO2[27] - unused */
MX6PAD(EIM_EB3__GPIO_2_31), /* GPIO2[31] - unused */
MX6PAD(EIM_DA15__GPIO_3_15), /* GPIO3[15] - unused */
MX6PAD(EIM_WAIT__GPIO_5_0), /* GPIO5[0] - unused */
MX6PAD(EIM_A24__GPIO_5_4), /* GPIO5[4] - unused */
/* NANDF_CS1/2/3 are unused for sabrelite */
NEW_PAD_CTRL(MX6PAD(NANDF_CS1__GPIO_6_14), N6_IRQ_TEST_PADCFG), /* wl1271 wl_irq */
NEW_PAD_CTRL(MX6PAD(NANDF_CS2__GPIO_6_15), N6_EN_PADCFG), /* wl1271 wl_en */
NEW_PAD_CTRL(MX6PAD(NANDF_CS3__GPIO_6_16), N6_EN_PADCFG), /* wl1271 bt_en */
/* GPIO7 */
MX6PAD(GPIO_17__GPIO_7_12), /* USB Hub Reset */
MX6PAD(GPIO_18__GPIO_7_13), /* J14 - Volume Up */
/* I2C1, SGTL5000 */
MX6PAD(EIM_D21__I2C1_SCL), /* GPIO3[21] */
MX6PAD(EIM_D28__I2C1_SDA), /* GPIO3[28] */
/* I2C2 Camera, MIPI */
MX6PAD(KEY_COL3__I2C2_SCL), /* GPIO4[12] */
MX6PAD(KEY_ROW3__I2C2_SDA), /* GPIO4[13] */
/* I2C3 */
MX6PAD(GPIO_5__I2C3_SCL), /* GPIO1[5] - J7 - Display card */
#ifdef CONFIG_FEC_1588
MX6PAD(GPIO_16__ENET_ANATOP_ETHERNET_REF_OUT),
#else
MX6PAD(GPIO_16__I2C3_SDA), /* GPIO7[11] - J15 - RGB connector */
#endif
/* DISPLAY */
MX6PAD(DI0_DISP_CLK__IPU1_DI0_DISP_CLK),
MX6PAD(DI0_PIN15__IPU1_DI0_PIN15), /* DE */
MX6PAD(DI0_PIN2__IPU1_DI0_PIN2), /* HSync */
MX6PAD(DI0_PIN3__IPU1_DI0_PIN3), /* VSync */
NEW_PAD_CTRL(MX6PAD(DI0_PIN4__GPIO_4_20),
WEAK_PULLUP), /* I2C Touch IRQ */
MX6PAD(DISP0_DAT0__IPU1_DISP0_DAT_0),
MX6PAD(DISP0_DAT1__IPU1_DISP0_DAT_1),
MX6PAD(DISP0_DAT2__IPU1_DISP0_DAT_2),
MX6PAD(DISP0_DAT3__IPU1_DISP0_DAT_3),
MX6PAD(DISP0_DAT4__IPU1_DISP0_DAT_4),
MX6PAD(DISP0_DAT5__IPU1_DISP0_DAT_5),
MX6PAD(DISP0_DAT6__IPU1_DISP0_DAT_6),
MX6PAD(DISP0_DAT7__IPU1_DISP0_DAT_7),
MX6PAD(DISP0_DAT8__IPU1_DISP0_DAT_8),
MX6PAD(DISP0_DAT9__IPU1_DISP0_DAT_9),
MX6PAD(DISP0_DAT10__IPU1_DISP0_DAT_10),
MX6PAD(DISP0_DAT11__IPU1_DISP0_DAT_11),
MX6PAD(DISP0_DAT12__IPU1_DISP0_DAT_12),
MX6PAD(DISP0_DAT13__IPU1_DISP0_DAT_13),
MX6PAD(DISP0_DAT14__IPU1_DISP0_DAT_14),
MX6PAD(DISP0_DAT15__IPU1_DISP0_DAT_15),
MX6PAD(DISP0_DAT16__IPU1_DISP0_DAT_16),
MX6PAD(DISP0_DAT17__IPU1_DISP0_DAT_17),
MX6PAD(DISP0_DAT18__IPU1_DISP0_DAT_18),
MX6PAD(DISP0_DAT19__IPU1_DISP0_DAT_19),
MX6PAD(DISP0_DAT20__IPU1_DISP0_DAT_20),
MX6PAD(DISP0_DAT21__IPU1_DISP0_DAT_21),
MX6PAD(DISP0_DAT22__IPU1_DISP0_DAT_22),
MX6PAD(DISP0_DAT23__IPU1_DISP0_DAT_23),
MX6PAD(GPIO_7__GPIO_1_7), /* J7 - Display Connector GP */
MX6PAD(GPIO_9__GPIO_1_9), /* J7 - Display Connector GP */
MX6PAD(NANDF_D0__GPIO_2_0), /* J6 - LVDS Display contrast */
/* PWM1 */
MX6PAD(SD1_DAT3__PWM1_PWMO), /* GPIO1[21] */
/* PWM2 */
MX6PAD(SD1_DAT2__PWM2_PWMO), /* GPIO1[19] */
/* PWM3 */
MX6PAD(SD1_DAT1__PWM3_PWMO), /* GPIO1[17] */
/* PWM4 */
MX6PAD(SD1_CMD__PWM4_PWMO), /* GPIO1[18] */
/* UART1 */
MX6PAD(SD3_DAT7__UART1_TXD),
MX6PAD(SD3_DAT6__UART1_RXD),
/* UART2 for debug */
MX6PAD(EIM_D26__UART2_TXD),
MX6PAD(EIM_D27__UART2_RXD),
/* USBOTG ID pin */
MX6PAD(GPIO_1__USBOTG_ID),
/* USB OC pin */
MX6PAD(KEY_COL4__USBOH3_USBOTG_OC),
MX6PAD(EIM_D30__USBOH3_USBH1_OC),
/* USDHC3 */
SD_PINS(3, 50),
MX6PAD(SD3_DAT5__GPIO_7_0), /* J18 - SD3_CD */
NEW_PAD_CTRL(MX6PAD(SD3_DAT4__GPIO_7_1), MX6_SABRELITE_SD3_WP_PADCFG),
/* USDHC4 */
SD_PINS(4, 50),
MX6PAD(NANDF_D6__GPIO_2_6), /* J20 - SD4_CD */
MX6PAD(NANDF_D7__GPIO_2_7), /* SD4_WP */
0
};
#if defined(CONFIG_MXC_CAMERA_OV5640_MIPI) || defined(CONFIG_MXC_CAMERA_OV5640_MIPI_MODULE)
static iomux_v3_cfg_t MX6NAME(sabrelite_mipi_pads)[] = {
MX6PAD(NANDF_WP_B__GPIO_6_9), /* J16 - MIPI Powerdown - Nitrogen6x, SOM is NC */
MX6PAD(NANDF_D5__GPIO_2_5), /* J16 - MIPI camera reset - Nitrogen6x/SOM */
MX6PAD(NANDF_CS0__GPIO_6_11), /* Camera Reset, SOM jumpered */
MX6PAD(GPIO_6__GPIO_1_6), /* Camera GP */
0
};
#else
static iomux_v3_cfg_t MX6NAME(sabrelite_csi0_sensor_pads)[] = {
/* IPU1 Camera */
MX6PAD(CSI0_DAT8__IPU1_CSI0_D_8),
MX6PAD(CSI0_DAT9__IPU1_CSI0_D_9),
MX6PAD(CSI0_DAT10__IPU1_CSI0_D_10),
MX6PAD(CSI0_DAT11__IPU1_CSI0_D_11),
MX6PAD(CSI0_DAT12__IPU1_CSI0_D_12),
MX6PAD(CSI0_DAT13__IPU1_CSI0_D_13),
MX6PAD(CSI0_DAT14__IPU1_CSI0_D_14),
MX6PAD(CSI0_DAT15__IPU1_CSI0_D_15),
MX6PAD(CSI0_DAT16__IPU1_CSI0_D_16),
MX6PAD(CSI0_DAT17__IPU1_CSI0_D_17),
MX6PAD(CSI0_DAT18__IPU1_CSI0_D_18),
MX6PAD(CSI0_DAT19__IPU1_CSI0_D_19),
MX6PAD(CSI0_DATA_EN__IPU1_CSI0_DATA_EN),
MX6PAD(CSI0_MCLK__IPU1_CSI0_HSYNC),
MX6PAD(CSI0_PIXCLK__IPU1_CSI0_PIXCLK),
MX6PAD(CSI0_VSYNC__IPU1_CSI0_VSYNC),
MX6PAD(GPIO_6__GPIO_1_6), /* J5 - Camera GP */
MX6PAD(GPIO_8__GPIO_1_8), /* J5 - Camera Reset */
MX6PAD(NANDF_CS0__GPIO_6_11), /* J5 - Camera Reset */
MX6PAD(SD1_DAT0__GPIO_1_16), /* J5 - Camera GP */
0
};
#endif
static iomux_v3_cfg_t MX6NAME(sabrelite_hdmi_ddc_pads)[] = {
MX6PAD(KEY_COL3__HDMI_TX_DDC_SCL), /* HDMI DDC SCL */
MX6PAD(KEY_ROW3__HDMI_TX_DDC_SDA), /* HDMI DDC SDA */
0
};
static iomux_v3_cfg_t MX6NAME(sabrelite_i2c2_pads)[] = {
MX6PAD(KEY_COL3__I2C2_SCL), /* I2C2 SCL */
MX6PAD(KEY_ROW3__I2C2_SDA), /* I2C2 SDA */
0
};
static iomux_v3_cfg_t MX6NAME(sabrelite_mc33902_flexcan_pads)[] = {
NEW_PAD_CTRL(MX6PAD(GPIO_7__GPIO_1_7), MX6_SABRELITE_CAN1_ERR_PADCFG),
0
};
#define MX6_USDHC_PAD_SETTING(id, speed) \
MX6NAME(sd##id##_##speed##mhz)[] = { SD_PINS(id, speed), 0 }
static iomux_v3_cfg_t MX6_USDHC_PAD_SETTING(2, 50);
static iomux_v3_cfg_t MX6_USDHC_PAD_SETTING(2, 100);
static iomux_v3_cfg_t MX6_USDHC_PAD_SETTING(2, 200);
static iomux_v3_cfg_t MX6_USDHC_PAD_SETTING(3, 50);
static iomux_v3_cfg_t MX6_USDHC_PAD_SETTING(3, 100);
static iomux_v3_cfg_t MX6_USDHC_PAD_SETTING(3, 200);
static iomux_v3_cfg_t MX6_USDHC_PAD_SETTING(4, 50);
static iomux_v3_cfg_t MX6_USDHC_PAD_SETTING(4, 100);
static iomux_v3_cfg_t MX6_USDHC_PAD_SETTING(4, 200);
#define _50MHZ 0
#define _100MHZ 1
#define _200MHZ 2
#define SD_SPEED_CNT 3
static iomux_v3_cfg_t * MX6NAME(sd_pads)[] =
{
MX6NAME(sd2_50mhz),
MX6NAME(sd2_100mhz),
MX6NAME(sd2_200mhz),
MX6NAME(sd3_50mhz),
MX6NAME(sd3_100mhz),
MX6NAME(sd3_200mhz),
MX6NAME(sd4_50mhz),
MX6NAME(sd4_100mhz),
MX6NAME(sd4_200mhz),
};
|