2 * arch/arm/mach-pxa/include/mach/mfp-pxa300.h
4 * PXA300/PXA310 specific MFP configuration definitions
6 * Copyright (C) 2007 Marvell International Ltd.
7 * 2007-08-21: eric miao <eric.miao@marvell.com>
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
15 #ifndef __ASM_ARCH_MFP_PXA300_H
16 #define __ASM_ARCH_MFP_PXA300_H
19 #include <mach/mfp-pxa3xx.h>
22 #define GPIO46_GPIO MFP_CFG(GPIO46, AF1)
23 #define GPIO49_GPIO MFP_CFG(GPIO49, AF3)
24 #define GPIO50_GPIO MFP_CFG(GPIO50, AF2)
25 #define GPIO51_GPIO MFP_CFG(GPIO51, AF3)
26 #define GPIO52_GPIO MFP_CFG(GPIO52, AF3)
27 #define GPIO56_GPIO MFP_CFG(GPIO56, AF0)
28 #define GPIO58_GPIO MFP_CFG(GPIO58, AF0)
29 #define GPIO59_GPIO MFP_CFG(GPIO59, AF0)
30 #define GPIO60_GPIO MFP_CFG(GPIO60, AF0)
31 #define GPIO61_GPIO MFP_CFG(GPIO61, AF0)
32 #define GPIO62_GPIO MFP_CFG(GPIO62, AF0)
34 #ifdef CONFIG_CPU_PXA310
35 #define GPIO7_2_GPIO MFP_CFG(GPIO7_2, AF0)
36 #define GPIO8_2_GPIO MFP_CFG(GPIO8_2, AF0)
37 #define GPIO9_2_GPIO MFP_CFG(GPIO9_2, AF0)
38 #define GPIO10_2_GPIO MFP_CFG(GPIO10_2, AF0)
39 #define GPIO11_2_GPIO MFP_CFG(GPIO11_2, AF0)
40 #define GPIO12_2_GPIO MFP_CFG(GPIO12_2, AF0)
44 #define GPIO1_nCS2 MFP_CFG(GPIO1, AF1)
45 #define GPIO2_nCS3 MFP_CFG(GPIO2, AF1)
48 #define GPIO23_AC97_nACRESET MFP_CFG(GPIO23, AF1)
49 #define GPIO24_AC97_SYSCLK MFP_CFG(GPIO24, AF1)
50 #define GPIO29_AC97_BITCLK MFP_CFG(GPIO29, AF1)
51 #define GPIO25_AC97_SDATA_IN_0 MFP_CFG(GPIO25, AF1)
52 #define GPIO26_AC97_SDATA_IN_1 MFP_CFG(GPIO26, AF1)
53 #define GPIO17_AC97_SDATA_IN_2 MFP_CFG(GPIO17, AF3)
54 #define GPIO21_AC97_SDATA_IN_2 MFP_CFG(GPIO21, AF2)
55 #define GPIO18_AC97_SDATA_IN_3 MFP_CFG(GPIO18, AF3)
56 #define GPIO22_AC97_SDATA_IN_3 MFP_CFG(GPIO22, AF2)
57 #define GPIO27_AC97_SDATA_OUT MFP_CFG(GPIO27, AF1)
58 #define GPIO28_AC97_SYNC MFP_CFG(GPIO28, AF1)
61 #define GPIO21_I2C_SCL MFP_CFG_LPM(GPIO21, AF1, PULL_HIGH)
62 #define GPIO22_I2C_SDA MFP_CFG_LPM(GPIO22, AF1, PULL_HIGH)
65 #define GPIO39_CI_DD_0 MFP_CFG_DRV(GPIO39, AF1, DS04X)
66 #define GPIO40_CI_DD_1 MFP_CFG_DRV(GPIO40, AF1, DS04X)
67 #define GPIO41_CI_DD_2 MFP_CFG_DRV(GPIO41, AF1, DS04X)
68 #define GPIO42_CI_DD_3 MFP_CFG_DRV(GPIO42, AF1, DS04X)
69 #define GPIO43_CI_DD_4 MFP_CFG_DRV(GPIO43, AF1, DS04X)
70 #define GPIO44_CI_DD_5 MFP_CFG_DRV(GPIO44, AF1, DS04X)
71 #define GPIO45_CI_DD_6 MFP_CFG_DRV(GPIO45, AF1, DS04X)
72 #define GPIO46_CI_DD_7 MFP_CFG_DRV(GPIO46, AF0, DS04X)
73 #define GPIO47_CI_DD_8 MFP_CFG_DRV(GPIO47, AF1, DS04X)
74 #define GPIO48_CI_DD_9 MFP_CFG_DRV(GPIO48, AF1, DS04X)
75 #define GPIO52_CI_HSYNC MFP_CFG_DRV(GPIO52, AF0, DS04X)
76 #define GPIO51_CI_VSYNC MFP_CFG_DRV(GPIO51, AF0, DS04X)
77 #define GPIO49_CI_MCLK MFP_CFG_DRV(GPIO49, AF0, DS04X)
78 #define GPIO50_CI_PCLK MFP_CFG_DRV(GPIO50, AF0, DS04X)
81 #define GPIO3_KP_DKIN_6 MFP_CFG_LPM(GPIO3, AF2, FLOAT)
82 #define GPIO4_KP_DKIN_7 MFP_CFG_LPM(GPIO4, AF2, FLOAT)
83 #define GPIO16_KP_DKIN_6 MFP_CFG_LPM(GPIO16, AF6, FLOAT)
84 #define GPIO83_KP_DKIN_2 MFP_CFG_LPM(GPIO83, AF5, FLOAT)
85 #define GPIO84_KP_DKIN_1 MFP_CFG_LPM(GPIO84, AF5, FLOAT)
86 #define GPIO85_KP_DKIN_0 MFP_CFG_LPM(GPIO85, AF3, FLOAT)
87 #define GPIO86_KP_DKIN_1 MFP_CFG_LPM(GPIO86, AF3, FLOAT)
88 #define GPIO87_KP_DKIN_2 MFP_CFG_LPM(GPIO87, AF3, FLOAT)
89 #define GPIO88_KP_DKIN_3 MFP_CFG_LPM(GPIO88, AF3, FLOAT)
90 #define GPIO89_KP_DKIN_3 MFP_CFG_LPM(GPIO89, AF3, FLOAT)
91 #define GPIO107_KP_DKIN_0 MFP_CFG_LPM(GPIO107, AF2, FLOAT)
92 #define GPIO108_KP_DKIN_1 MFP_CFG_LPM(GPIO108, AF2, FLOAT)
93 #define GPIO109_KP_DKIN_2 MFP_CFG_LPM(GPIO109, AF2, FLOAT)
94 #define GPIO110_KP_DKIN_3 MFP_CFG_LPM(GPIO110, AF2, FLOAT)
95 #define GPIO111_KP_DKIN_4 MFP_CFG_LPM(GPIO111, AF2, FLOAT)
96 #define GPIO112_KP_DKIN_5 MFP_CFG_LPM(GPIO112, AF2, FLOAT)
97 #define GPIO113_KP_DKIN_6 MFP_CFG_LPM(GPIO113, AF2, FLOAT)
98 #define GPIO114_KP_DKIN_7 MFP_CFG_LPM(GPIO114, AF2, FLOAT)
99 #define GPIO115_KP_DKIN_0 MFP_CFG_LPM(GPIO115, AF2, FLOAT)
100 #define GPIO116_KP_DKIN_1 MFP_CFG_LPM(GPIO116, AF2, FLOAT)
101 #define GPIO117_KP_DKIN_2 MFP_CFG_LPM(GPIO117, AF2, FLOAT)
102 #define GPIO118_KP_DKIN_3 MFP_CFG_LPM(GPIO118, AF2, FLOAT)
103 #define GPIO119_KP_DKIN_4 MFP_CFG_LPM(GPIO119, AF2, FLOAT)
104 #define GPIO120_KP_DKIN_5 MFP_CFG_LPM(GPIO120, AF2, FLOAT)
105 #define GPIO121_KP_DKIN_6 MFP_CFG_LPM(GPIO121, AF2, FLOAT)
106 #define GPIO122_KP_DKIN_5 MFP_CFG_LPM(GPIO122, AF2, FLOAT)
107 #define GPIO123_KP_DKIN_4 MFP_CFG_LPM(GPIO123, AF2, FLOAT)
108 #define GPIO124_KP_DKIN_3 MFP_CFG_LPM(GPIO124, AF2, FLOAT)
109 #define GPIO127_KP_DKIN_0 MFP_CFG_LPM(GPIO127, AF5, FLOAT)
110 #define GPIO0_2_KP_DKIN_0 MFP_CFG_LPM(GPIO0_2, AF2, FLOAT)
111 #define GPIO1_2_KP_DKIN_1 MFP_CFG_LPM(GPIO1_2, AF2, FLOAT)
112 #define GPIO2_2_KP_DKIN_6 MFP_CFG_LPM(GPIO2_2, AF2, FLOAT)
113 #define GPIO3_2_KP_DKIN_7 MFP_CFG_LPM(GPIO3_2, AF2, FLOAT)
114 #define GPIO4_2_KP_DKIN_1 MFP_CFG_LPM(GPIO4_2, AF2, FLOAT)
115 #define GPIO5_2_KP_DKIN_0 MFP_CFG_LPM(GPIO5_2, AF2, FLOAT)
117 #define GPIO5_KP_MKIN_0 MFP_CFG_LPM(GPIO5, AF2, FLOAT)
118 #define GPIO6_KP_MKIN_1 MFP_CFG_LPM(GPIO6, AF2, FLOAT)
119 #define GPIO9_KP_MKIN_6 MFP_CFG_LPM(GPIO9, AF3, FLOAT)
120 #define GPIO10_KP_MKIN_7 MFP_CFG_LPM(GPIO10, AF3, FLOAT)
121 #define GPIO70_KP_MKIN_6 MFP_CFG_LPM(GPIO70, AF3, FLOAT)
122 #define GPIO71_KP_MKIN_7 MFP_CFG_LPM(GPIO71, AF3, FLOAT)
123 #define GPIO100_KP_MKIN_6 MFP_CFG_LPM(GPIO100, AF7, FLOAT)
124 #define GPIO101_KP_MKIN_7 MFP_CFG_LPM(GPIO101, AF7, FLOAT)
125 #define GPIO112_KP_MKIN_6 MFP_CFG_LPM(GPIO112, AF4, FLOAT)
126 #define GPIO113_KP_MKIN_7 MFP_CFG_LPM(GPIO113, AF4, FLOAT)
127 #define GPIO115_KP_MKIN_0 MFP_CFG_LPM(GPIO115, AF1, FLOAT)
128 #define GPIO116_KP_MKIN_1 MFP_CFG_LPM(GPIO116, AF1, FLOAT)
129 #define GPIO117_KP_MKIN_2 MFP_CFG_LPM(GPIO117, AF1, FLOAT)
130 #define GPIO118_KP_MKIN_3 MFP_CFG_LPM(GPIO118, AF1, FLOAT)
131 #define GPIO119_KP_MKIN_4 MFP_CFG_LPM(GPIO119, AF1, FLOAT)
132 #define GPIO120_KP_MKIN_5 MFP_CFG_LPM(GPIO120, AF1, FLOAT)
133 #define GPIO125_KP_MKIN_2 MFP_CFG_LPM(GPIO125, AF2, FLOAT)
134 #define GPIO2_2_KP_MKIN_6 MFP_CFG_LPM(GPIO2_2, AF1, FLOAT)
135 #define GPIO3_2_KP_MKIN_7 MFP_CFG_LPM(GPIO3_2, AF1, FLOAT)
137 #define GPIO7_KP_MKOUT_5 MFP_CFG_LPM(GPIO7, AF1, DRIVE_HIGH)
138 #define GPIO11_KP_MKOUT_5 MFP_CFG_LPM(GPIO11, AF3, DRIVE_HIGH)
139 #define GPIO12_KP_MKOUT_6 MFP_CFG_LPM(GPIO12, AF3, DRIVE_HIGH)
140 #define GPIO13_KP_MKOUT_7 MFP_CFG_LPM(GPIO13, AF3, DRIVE_HIGH)
141 #define GPIO19_KP_MKOUT_4 MFP_CFG_LPM(GPIO19, AF3, DRIVE_HIGH)
142 #define GPIO20_KP_MKOUT_5 MFP_CFG_LPM(GPIO20, AF3, DRIVE_HIGH)
143 #define GPIO38_KP_MKOUT_5 MFP_CFG_LPM(GPIO38, AF5, DRIVE_HIGH)
144 #define GPIO53_KP_MKOUT_6 MFP_CFG_LPM(GPIO53, AF5, DRIVE_HIGH)
145 #define GPIO78_KP_MKOUT_7 MFP_CFG_LPM(GPIO78, AF5, DRIVE_HIGH)
146 #define GPIO85_KP_MKOUT_0 MFP_CFG_LPM(GPIO85, AF2, DRIVE_HIGH)
147 #define GPIO86_KP_MKOUT_1 MFP_CFG_LPM(GPIO86, AF2, DRIVE_HIGH)
148 #define GPIO87_KP_MKOUT_2 MFP_CFG_LPM(GPIO87, AF2, DRIVE_HIGH)
149 #define GPIO88_KP_MKOUT_3 MFP_CFG_LPM(GPIO88, AF2, DRIVE_HIGH)
150 #define GPIO104_KP_MKOUT_6 MFP_CFG_LPM(GPIO104, AF5, DRIVE_HIGH)
151 #define GPIO105_KP_MKOUT_7 MFP_CFG_LPM(GPIO105, AF5, DRIVE_HIGH)
152 #define GPIO121_KP_MKOUT_0 MFP_CFG_LPM(GPIO121, AF1, DRIVE_HIGH)
153 #define GPIO122_KP_MKOUT_1 MFP_CFG_LPM(GPIO122, AF1, DRIVE_HIGH)
154 #define GPIO123_KP_MKOUT_2 MFP_CFG_LPM(GPIO123, AF1, DRIVE_HIGH)
155 #define GPIO124_KP_MKOUT_3 MFP_CFG_LPM(GPIO124, AF1, DRIVE_HIGH)
156 #define GPIO125_KP_MKOUT_4 MFP_CFG_LPM(GPIO125, AF1, DRIVE_HIGH)
157 #define GPIO126_KP_MKOUT_7 MFP_CFG_LPM(GPIO126, AF4, DRIVE_HIGH)
158 #define GPIO5_2_KP_MKOUT_6 MFP_CFG_LPM(GPIO5_2, AF1, DRIVE_HIGH)
159 #define GPIO4_2_KP_MKOUT_5 MFP_CFG_LPM(GPIO4_2, AF1, DRIVE_HIGH)
160 #define GPIO6_2_KP_MKOUT_7 MFP_CFG_LPM(GPIO6_2, AF1, DRIVE_HIGH)
163 #define GPIO54_LCD_LDD_0 MFP_CFG_DRV(GPIO54, AF1, DS01X)
164 #define GPIO55_LCD_LDD_1 MFP_CFG_DRV(GPIO55, AF1, DS01X)
165 #define GPIO56_LCD_LDD_2 MFP_CFG_DRV(GPIO56, AF1, DS01X)
166 #define GPIO57_LCD_LDD_3 MFP_CFG_DRV(GPIO57, AF1, DS01X)
167 #define GPIO58_LCD_LDD_4 MFP_CFG_DRV(GPIO58, AF1, DS01X)
168 #define GPIO59_LCD_LDD_5 MFP_CFG_DRV(GPIO59, AF1, DS01X)
169 #define GPIO60_LCD_LDD_6 MFP_CFG_DRV(GPIO60, AF1, DS01X)
170 #define GPIO61_LCD_LDD_7 MFP_CFG_DRV(GPIO61, AF1, DS01X)
171 #define GPIO62_LCD_LDD_8 MFP_CFG_DRV(GPIO62, AF1, DS01X)
172 #define GPIO63_LCD_LDD_9 MFP_CFG_DRV(GPIO63, AF1, DS01X)
173 #define GPIO64_LCD_LDD_10 MFP_CFG_DRV(GPIO64, AF1, DS01X)
174 #define GPIO65_LCD_LDD_11 MFP_CFG_DRV(GPIO65, AF1, DS01X)
175 #define GPIO66_LCD_LDD_12 MFP_CFG_DRV(GPIO66, AF1, DS01X)
176 #define GPIO67_LCD_LDD_13 MFP_CFG_DRV(GPIO67, AF1, DS01X)
177 #define GPIO68_LCD_LDD_14 MFP_CFG_DRV(GPIO68, AF1, DS01X)
178 #define GPIO69_LCD_LDD_15 MFP_CFG_DRV(GPIO69, AF1, DS01X)
179 #define GPIO70_LCD_LDD_16 MFP_CFG_DRV(GPIO70, AF1, DS01X)
180 #define GPIO71_LCD_LDD_17 MFP_CFG_DRV(GPIO71, AF1, DS01X)
181 #define GPIO62_LCD_CS_N MFP_CFG_DRV(GPIO62, AF2, DS01X)
182 #define GPIO72_LCD_FCLK MFP_CFG_DRV(GPIO72, AF1, DS01X)
183 #define GPIO73_LCD_LCLK MFP_CFG_DRV(GPIO73, AF1, DS01X)
184 #define GPIO74_LCD_PCLK MFP_CFG_DRV(GPIO74, AF1, DS02X)
185 #define GPIO75_LCD_BIAS MFP_CFG_DRV(GPIO75, AF1, DS01X)
186 #define GPIO76_LCD_VSYNC MFP_CFG_DRV(GPIO76, AF2, DS01X)
188 #define GPIO15_LCD_CS_N MFP_CFG_DRV(GPIO15, AF2, DS01X)
189 #define GPIO127_LCD_CS_N MFP_CFG_DRV(GPIO127, AF1, DS01X)
190 #define GPIO63_LCD_VSYNC MFP_CFG_DRV(GPIO63, AF2, DS01X)
193 #define GPIO72_MLCD_FCLK MFP_CFG_DRV(GPIO72, AF7, DS08X)
194 #define GPIO73_MLCD_LCLK MFP_CFG_DRV(GPIO73, AF7, DS08X)
195 #define GPIO54_MLCD_LDD_0 MFP_CFG_DRV(GPIO54, AF7, DS08X)
196 #define GPIO55_MLCD_LDD_1 MFP_CFG_DRV(GPIO55, AF7, DS08X)
197 #define GPIO56_MLCD_LDD_2 MFP_CFG_DRV(GPIO56, AF7, DS08X)
198 #define GPIO57_MLCD_LDD_3 MFP_CFG_DRV(GPIO57, AF7, DS08X)
199 #define GPIO58_MLCD_LDD_4 MFP_CFG_DRV(GPIO58, AF7, DS08X)
200 #define GPIO59_MLCD_LDD_5 MFP_CFG_DRV(GPIO59, AF7, DS08X)
201 #define GPIO60_MLCD_LDD_6 MFP_CFG_DRV(GPIO60, AF7, DS08X)
202 #define GPIO61_MLCD_LDD_7 MFP_CFG_DRV(GPIO61, AF7, DS08X)
203 #define GPIO62_MLCD_LDD_8 MFP_CFG_DRV(GPIO62, AF7, DS08X)
204 #define GPIO63_MLCD_LDD_9 MFP_CFG_DRV(GPIO63, AF7, DS08X)
205 #define GPIO64_MLCD_LDD_10 MFP_CFG_DRV(GPIO64, AF7, DS08X)
206 #define GPIO65_MLCD_LDD_11 MFP_CFG_DRV(GPIO65, AF7, DS08X)
207 #define GPIO66_MLCD_LDD_12 MFP_CFG_DRV(GPIO66, AF7, DS08X)
208 #define GPIO67_MLCD_LDD_13 MFP_CFG_DRV(GPIO67, AF7, DS08X)
209 #define GPIO68_MLCD_LDD_14 MFP_CFG_DRV(GPIO68, AF7, DS08X)
210 #define GPIO69_MLCD_LDD_15 MFP_CFG_DRV(GPIO69, AF7, DS08X)
211 #define GPIO74_MLCD_PCLK MFP_CFG_DRV(GPIO74, AF7, DS08X)
212 #define GPIO75_MLCD_BIAS MFP_CFG_DRV(GPIO75, AF2, DS08X)
215 #define GPIO7_MMC1_CLK MFP_CFG_LPM(GPIO7, AF4, DRIVE_HIGH)
216 #define GPIO8_MMC1_CMD MFP_CFG_LPM(GPIO8, AF4, DRIVE_HIGH)
217 #define GPIO14_MMC1_CMD MFP_CFG_LPM(GPIO14, AF5, DRIVE_HIGH)
218 #define GPIO15_MMC1_CMD MFP_CFG_LPM(GPIO15, AF5, DRIVE_HIGH)
219 #define GPIO3_MMC1_DAT0 MFP_CFG_LPM(GPIO3, AF4, DRIVE_HIGH)
220 #define GPIO4_MMC1_DAT1 MFP_CFG_LPM(GPIO4, AF4, DRIVE_HIGH)
221 #define GPIO5_MMC1_DAT2 MFP_CFG_LPM(GPIO5, AF4, DRIVE_HIGH)
222 #define GPIO6_MMC1_DAT3 MFP_CFG_LPM(GPIO6, AF4, DRIVE_HIGH)
225 #define GPIO9_MMC2_DAT0 MFP_CFG_LPM(GPIO9, AF4, PULL_HIGH)
226 #define GPIO10_MMC2_DAT1 MFP_CFG_LPM(GPIO10, AF4, PULL_HIGH)
227 #define GPIO11_MMC2_DAT2 MFP_CFG_LPM(GPIO11, AF4, PULL_HIGH)
228 #define GPIO12_MMC2_DAT3 MFP_CFG_LPM(GPIO12, AF4, PULL_HIGH)
229 #define GPIO13_MMC2_CLK MFP_CFG_LPM(GPIO13, AF4, PULL_HIGH)
230 #define GPIO14_MMC2_CMD MFP_CFG_LPM(GPIO14, AF4, PULL_HIGH)
231 #define GPIO77_MMC2_DAT0 MFP_CFG_LPM(GPIO77, AF4, PULL_HIGH)
232 #define GPIO78_MMC2_DAT1 MFP_CFG_LPM(GPIO78, AF4, PULL_HIGH)
233 #define GPIO79_MMC2_DAT2 MFP_CFG_LPM(GPIO79, AF4, PULL_HIGH)
234 #define GPIO80_MMC2_DAT3 MFP_CFG_LPM(GPIO80, AF4, PULL_HIGH)
235 #define GPIO81_MMC2_CLK MFP_CFG_LPM(GPIO81, AF4, PULL_HIGH)
236 #define GPIO82_MMC2_CMD MFP_CFG_LPM(GPIO82, AF4, PULL_HIGH)
239 #define GPIO89_SSP1_EXTCLK MFP_CFG(GPIO89, AF1)
240 #define GPIO90_SSP1_SYSCLK MFP_CFG(GPIO90, AF1)
241 #define GPIO15_SSP1_SCLK MFP_CFG(GPIO15, AF6)
242 #define GPIO16_SSP1_FRM MFP_CFG(GPIO16, AF2)
243 #define GPIO33_SSP1_SCLK MFP_CFG(GPIO33, AF5)
244 #define GPIO34_SSP1_FRM MFP_CFG(GPIO34, AF5)
245 #define GPIO85_SSP1_SCLK MFP_CFG(GPIO85, AF1)
246 #define GPIO86_SSP1_FRM MFP_CFG(GPIO86, AF1)
247 #define GPIO18_SSP1_TXD MFP_CFG(GPIO18, AF7)
248 #define GPIO18_SSP1_RXD MFP_CFG(GPIO18, AF2)
249 #define GPIO20_SSP1_TXD MFP_CFG(GPIO20, AF2)
250 #define GPIO20_SSP1_RXD MFP_CFG(GPIO20, AF7)
251 #define GPIO35_SSP1_TXD MFP_CFG(GPIO35, AF5)
252 #define GPIO35_SSP1_RXD MFP_CFG(GPIO35, AF4)
253 #define GPIO36_SSP1_TXD MFP_CFG(GPIO36, AF5)
254 #define GPIO36_SSP1_RXD MFP_CFG(GPIO36, AF6)
255 #define GPIO87_SSP1_TXD MFP_CFG(GPIO87, AF1)
256 #define GPIO87_SSP1_RXD MFP_CFG(GPIO87, AF6)
257 #define GPIO88_SSP1_TXD MFP_CFG(GPIO88, AF6)
258 #define GPIO88_SSP1_RXD MFP_CFG(GPIO88, AF1)
261 #define GPIO29_SSP2_EXTCLK MFP_CFG(GPIO29, AF2)
262 #define GPIO23_SSP2_SCLK MFP_CFG(GPIO23, AF2)
263 #define GPIO17_SSP2_FRM MFP_CFG(GPIO17, AF2)
264 #define GPIO25_SSP2_SCLK MFP_CFG(GPIO25, AF2)
265 #define GPIO26_SSP2_FRM MFP_CFG(GPIO26, AF2)
266 #define GPIO33_SSP2_SCLK MFP_CFG(GPIO33, AF6)
267 #define GPIO34_SSP2_FRM MFP_CFG(GPIO34, AF6)
268 #define GPIO64_SSP2_SCLK MFP_CFG(GPIO64, AF2)
269 #define GPIO65_SSP2_FRM MFP_CFG(GPIO65, AF2)
270 #define GPIO19_SSP2_TXD MFP_CFG(GPIO19, AF2)
271 #define GPIO19_SSP2_RXD MFP_CFG(GPIO19, AF7)
272 #define GPIO24_SSP2_TXD MFP_CFG(GPIO24, AF5)
273 #define GPIO24_SSP2_RXD MFP_CFG(GPIO24, AF4)
274 #define GPIO27_SSP2_TXD MFP_CFG(GPIO27, AF2)
275 #define GPIO27_SSP2_RXD MFP_CFG(GPIO27, AF5)
276 #define GPIO28_SSP2_TXD MFP_CFG(GPIO28, AF5)
277 #define GPIO28_SSP2_RXD MFP_CFG(GPIO28, AF2)
278 #define GPIO35_SSP2_TXD MFP_CFG(GPIO35, AF7)
279 #define GPIO35_SSP2_RXD MFP_CFG(GPIO35, AF6)
280 #define GPIO66_SSP2_TXD MFP_CFG(GPIO66, AF4)
281 #define GPIO66_SSP2_RXD MFP_CFG(GPIO66, AF2)
282 #define GPIO67_SSP2_TXD MFP_CFG(GPIO67, AF2)
283 #define GPIO67_SSP2_RXD MFP_CFG(GPIO67, AF4)
284 #define GPIO36_SSP2_TXD MFP_CFG(GPIO36, AF7)
287 #define GPIO69_SSP3_FRM MFP_CFG_X(GPIO69, AF2, DS08X, DRIVE_LOW)
288 #define GPIO68_SSP3_SCLK MFP_CFG_X(GPIO68, AF2, DS08X, FLOAT)
289 #define GPIO92_SSP3_FRM MFP_CFG_X(GPIO92, AF1, DS08X, DRIVE_LOW)
290 #define GPIO91_SSP3_SCLK MFP_CFG_X(GPIO91, AF1, DS08X, FLOAT)
291 #define GPIO70_SSP3_TXD MFP_CFG_X(GPIO70, AF2, DS08X, DRIVE_LOW)
292 #define GPIO70_SSP3_RXD MFP_CFG_X(GPIO70, AF5, DS08X, FLOAT)
293 #define GPIO71_SSP3_TXD MFP_CFG_X(GPIO71, AF5, DS08X, DRIVE_LOW)
294 #define GPIO71_SSP3_RXD MFP_CFG_X(GPIO71, AF2, DS08X, FLOAT)
295 #define GPIO93_SSP3_TXD MFP_CFG_X(GPIO93, AF1, DS08X, DRIVE_LOW)
296 #define GPIO93_SSP3_RXD MFP_CFG_X(GPIO93, AF5, DS08X, FLOAT)
297 #define GPIO94_SSP3_TXD MFP_CFG_X(GPIO94, AF5, DS08X, DRIVE_LOW)
298 #define GPIO94_SSP3_RXD MFP_CFG_X(GPIO94, AF1, DS08X, FLOAT)
301 #define GPIO95_SSP4_SCLK MFP_CFG_LPM(GPIO95, AF1, PULL_HIGH)
302 #define GPIO96_SSP4_FRM MFP_CFG_LPM(GPIO96, AF1, PULL_HIGH)
303 #define GPIO97_SSP4_TXD MFP_CFG_LPM(GPIO97, AF1, PULL_HIGH)
304 #define GPIO97_SSP4_RXD MFP_CFG_LPM(GPIO97, AF5, PULL_HIGH)
305 #define GPIO98_SSP4_TXD MFP_CFG_LPM(GPIO98, AF5, PULL_HIGH)
306 #define GPIO98_SSP4_RXD MFP_CFG_LPM(GPIO98, AF1, PULL_HIGH)
309 #define GPIO32_UART1_CTS MFP_CFG_LPM(GPIO32, AF2, FLOAT)
310 #define GPIO37_UART1_CTS MFP_CFG_LPM(GPIO37, AF4, FLOAT)
311 #define GPIO79_UART1_CTS MFP_CFG_LPM(GPIO79, AF1, FLOAT)
312 #define GPIO84_UART1_CTS MFP_CFG_LPM(GPIO84, AF3, FLOAT)
313 #define GPIO101_UART1_CTS MFP_CFG_LPM(GPIO101, AF1, FLOAT)
314 #define GPIO106_UART1_CTS MFP_CFG_LPM(GPIO106, AF6, FLOAT)
316 #define GPIO32_UART1_RTS MFP_CFG_LPM(GPIO32, AF4, FLOAT)
317 #define GPIO37_UART1_RTS MFP_CFG_LPM(GPIO37, AF2, FLOAT)
318 #define GPIO79_UART1_RTS MFP_CFG_LPM(GPIO79, AF3, FLOAT)
319 #define GPIO84_UART1_RTS MFP_CFG_LPM(GPIO84, AF1, FLOAT)
320 #define GPIO101_UART1_RTS MFP_CFG_LPM(GPIO101, AF6, FLOAT)
321 #define GPIO106_UART1_RTS MFP_CFG_LPM(GPIO106, AF1, FLOAT)
323 #define GPIO34_UART1_DSR MFP_CFG_LPM(GPIO34, AF2, FLOAT)
324 #define GPIO36_UART1_DSR MFP_CFG_LPM(GPIO36, AF4, FLOAT)
325 #define GPIO81_UART1_DSR MFP_CFG_LPM(GPIO81, AF1, FLOAT)
326 #define GPIO83_UART1_DSR MFP_CFG_LPM(GPIO83, AF3, FLOAT)
327 #define GPIO103_UART1_DSR MFP_CFG_LPM(GPIO103, AF1, FLOAT)
328 #define GPIO105_UART1_DSR MFP_CFG_LPM(GPIO105, AF6, FLOAT)
330 #define GPIO34_UART1_DTR MFP_CFG_LPM(GPIO34, AF4, FLOAT)
331 #define GPIO36_UART1_DTR MFP_CFG_LPM(GPIO36, AF2, FLOAT)
332 #define GPIO81_UART1_DTR MFP_CFG_LPM(GPIO81, AF3, FLOAT)
333 #define GPIO83_UART1_DTR MFP_CFG_LPM(GPIO83, AF1, FLOAT)
334 #define GPIO103_UART1_DTR MFP_CFG_LPM(GPIO103, AF6, FLOAT)
335 #define GPIO105_UART1_DTR MFP_CFG_LPM(GPIO105, AF1, FLOAT)
337 #define GPIO35_UART1_RI MFP_CFG_LPM(GPIO35, AF2, FLOAT)
338 #define GPIO82_UART1_RI MFP_CFG_LPM(GPIO82, AF1, FLOAT)
339 #define GPIO104_UART1_RI MFP_CFG_LPM(GPIO104, AF1, FLOAT)
341 #define GPIO33_UART1_DCD MFP_CFG_LPM(GPIO33, AF2, FLOAT)
342 #define GPIO80_UART1_DCD MFP_CFG_LPM(GPIO80, AF1, FLOAT)
343 #define GPIO102_UART1_DCD MFP_CFG_LPM(GPIO102, AF1, FLOAT)
345 #define GPIO30_UART1_RXD MFP_CFG_LPM(GPIO30, AF2, FLOAT)
346 #define GPIO31_UART1_RXD MFP_CFG_LPM(GPIO31, AF4, FLOAT)
347 #define GPIO77_UART1_RXD MFP_CFG_LPM(GPIO77, AF1, FLOAT)
348 #define GPIO78_UART1_RXD MFP_CFG_LPM(GPIO78, AF3, FLOAT)
349 #define GPIO99_UART1_RXD MFP_CFG_LPM(GPIO99, AF1, FLOAT)
350 #define GPIO100_UART1_RXD MFP_CFG_LPM(GPIO100, AF6, FLOAT)
351 #define GPIO102_UART1_RXD MFP_CFG_LPM(GPIO102, AF6, FLOAT)
352 #define GPIO104_UART1_RXD MFP_CFG_LPM(GPIO104, AF4, FLOAT)
354 #define GPIO30_UART1_TXD MFP_CFG_LPM(GPIO30, AF4, FLOAT)
355 #define GPIO31_UART1_TXD MFP_CFG_LPM(GPIO31, AF2, FLOAT)
356 #define GPIO77_UART1_TXD MFP_CFG_LPM(GPIO77, AF3, FLOAT)
357 #define GPIO78_UART1_TXD MFP_CFG_LPM(GPIO78, AF1, FLOAT)
358 #define GPIO99_UART1_TXD MFP_CFG_LPM(GPIO99, AF6, FLOAT)
359 #define GPIO100_UART1_TXD MFP_CFG_LPM(GPIO100, AF1, FLOAT)
360 #define GPIO102_UART1_TXD MFP_CFG_LPM(GPIO102, AF4, FLOAT)
363 #define GPIO15_UART2_CTS MFP_CFG_LPM(GPIO15, AF3, FLOAT)
364 #define GPIO16_UART2_CTS MFP_CFG_LPM(GPIO16, AF5, FLOAT)
365 #define GPIO111_UART2_CTS MFP_CFG_LPM(GPIO111, AF3, FLOAT)
366 #define GPIO114_UART2_CTS MFP_CFG_LPM(GPIO114, AF1, FLOAT)
368 #define GPIO15_UART2_RTS MFP_CFG_LPM(GPIO15, AF4, FLOAT)
369 #define GPIO16_UART2_RTS MFP_CFG_LPM(GPIO16, AF4, FLOAT)
370 #define GPIO114_UART2_RTS MFP_CFG_LPM(GPIO114, AF3, FLOAT)
371 #define GPIO111_UART2_RTS MFP_CFG_LPM(GPIO111, AF1, FLOAT)
373 #define GPIO18_UART2_RXD MFP_CFG_LPM(GPIO18, AF5, FLOAT)
374 #define GPIO19_UART2_RXD MFP_CFG_LPM(GPIO19, AF4, FLOAT)
375 #define GPIO112_UART2_RXD MFP_CFG_LPM(GPIO112, AF1, FLOAT)
376 #define GPIO113_UART2_RXD MFP_CFG_LPM(GPIO113, AF3, FLOAT)
378 #define GPIO18_UART2_TXD MFP_CFG_LPM(GPIO18, AF4, FLOAT)
379 #define GPIO19_UART2_TXD MFP_CFG_LPM(GPIO19, AF5, FLOAT)
380 #define GPIO112_UART2_TXD MFP_CFG_LPM(GPIO112, AF3, FLOAT)
381 #define GPIO113_UART2_TXD MFP_CFG_LPM(GPIO113, AF1, FLOAT)
384 #define GPIO91_UART3_CTS MFP_CFG_LPM(GPIO91, AF2, FLOAT)
385 #define GPIO92_UART3_CTS MFP_CFG_LPM(GPIO92, AF4, FLOAT)
386 #define GPIO107_UART3_CTS MFP_CFG_LPM(GPIO107, AF1, FLOAT)
387 #define GPIO108_UART3_CTS MFP_CFG_LPM(GPIO108, AF3, FLOAT)
389 #define GPIO91_UART3_RTS MFP_CFG_LPM(GPIO91, AF4, FLOAT)
390 #define GPIO92_UART3_RTS MFP_CFG_LPM(GPIO92, AF2, FLOAT)
391 #define GPIO107_UART3_RTS MFP_CFG_LPM(GPIO107, AF3, FLOAT)
392 #define GPIO108_UART3_RTS MFP_CFG_LPM(GPIO108, AF1, FLOAT)
394 #define GPIO7_UART3_RXD MFP_CFG_LPM(GPIO7, AF2, FLOAT)
395 #define GPIO8_UART3_RXD MFP_CFG_LPM(GPIO8, AF6, FLOAT)
396 #define GPIO93_UART3_RXD MFP_CFG_LPM(GPIO93, AF4, FLOAT)
397 #define GPIO94_UART3_RXD MFP_CFG_LPM(GPIO94, AF2, FLOAT)
398 #define GPIO109_UART3_RXD MFP_CFG_LPM(GPIO109, AF3, FLOAT)
399 #define GPIO110_UART3_RXD MFP_CFG_LPM(GPIO110, AF1, FLOAT)
401 #define GPIO7_UART3_TXD MFP_CFG_LPM(GPIO7, AF6, FLOAT)
402 #define GPIO8_UART3_TXD MFP_CFG_LPM(GPIO8, AF2, FLOAT)
403 #define GPIO93_UART3_TXD MFP_CFG_LPM(GPIO93, AF2, FLOAT)
404 #define GPIO94_UART3_TXD MFP_CFG_LPM(GPIO94, AF4, FLOAT)
405 #define GPIO109_UART3_TXD MFP_CFG_LPM(GPIO109, AF1, FLOAT)
406 #define GPIO110_UART3_TXD MFP_CFG_LPM(GPIO110, AF3, FLOAT)
409 #define GPIO0_2_USBH_PEN MFP_CFG(GPIO0_2, AF1)
410 #define GPIO1_2_USBH_PWR MFP_CFG(GPIO1_2, AF1)
413 #define GPIO77_USB_P3_1 MFP_CFG(GPIO77, AF2)
414 #define GPIO78_USB_P3_2 MFP_CFG(GPIO78, AF2)
415 #define GPIO79_USB_P3_3 MFP_CFG(GPIO79, AF2)
416 #define GPIO80_USB_P3_4 MFP_CFG(GPIO80, AF2)
417 #define GPIO81_USB_P3_5 MFP_CFG(GPIO81, AF2)
418 #define GPIO82_USB_P3_6 MFP_CFG(GPIO82, AF2)
421 #define GPIO17_PWM0_OUT MFP_CFG(GPIO17, AF1)
422 #define GPIO18_PWM1_OUT MFP_CFG(GPIO18, AF1)
423 #define GPIO19_PWM2_OUT MFP_CFG(GPIO19, AF1)
424 #define GPIO20_PWM3_OUT MFP_CFG(GPIO20, AF1)
427 #define GPIO8_CIR_OUT MFP_CFG(GPIO8, AF5)
428 #define GPIO16_CIR_OUT MFP_CFG(GPIO16, AF3)
430 #define GPIO20_OW_DQ_IN MFP_CFG(GPIO20, AF5)
431 #define GPIO126_OW_DQ MFP_CFG(GPIO126, AF2)
433 #define GPIO0_DF_RDY MFP_CFG(GPIO0, AF1)
434 #define GPIO7_CLK_BYPASS_XSC MFP_CFG(GPIO7, AF7)
435 #define GPIO17_EXT_SYNC_MVT_0 MFP_CFG(GPIO17, AF6)
436 #define GPIO18_EXT_SYNC_MVT_1 MFP_CFG(GPIO18, AF6)
437 #define GPIO19_OST_CHOUT_MVT_0 MFP_CFG(GPIO19, AF6)
438 #define GPIO20_OST_CHOUT_MVT_1 MFP_CFG(GPIO20, AF6)
439 #define GPIO49_48M_CLK MFP_CFG(GPIO49, AF2)
440 #define GPIO126_EXT_CLK MFP_CFG(GPIO126, AF3)
441 #define GPIO127_CLK_BYPASS_GB MFP_CFG(GPIO127, AF7)
442 #define GPIO71_EXT_MATCH_MVT MFP_CFG(GPIO71, AF6)
444 #define GPIO3_uIO_IN MFP_CFG(GPIO3, AF1)
446 #define GPIO4_uSIM_CARD_STATE MFP_CFG(GPIO4, AF1)
447 #define GPIO5_uSIM_uCLK MFP_CFG(GPIO5, AF1)
448 #define GPIO6_uSIM_uRST MFP_CFG(GPIO6, AF1)
449 #define GPIO16_uSIM_UVS_0 MFP_CFG(GPIO16, AF1)
451 #define GPIO9_SCIO MFP_CFG(GPIO9, AF1)
452 #define GPIO20_RTC_MVT MFP_CFG(GPIO20, AF4)
453 #define GPIO126_RTC_MVT MFP_CFG(GPIO126, AF1)
456 * PXA300 specific MFP configurations
458 #ifdef CONFIG_CPU_PXA300
459 #define GPIO99_USB_P2_2 MFP_CFG(GPIO99, AF2)
460 #define GPIO99_USB_P2_5 MFP_CFG(GPIO99, AF3)
461 #define GPIO99_USB_P2_6 MFP_CFG(GPIO99, AF4)
462 #define GPIO100_USB_P2_2 MFP_CFG(GPIO100, AF4)
463 #define GPIO100_USB_P2_5 MFP_CFG(GPIO100, AF5)
464 #define GPIO101_USB_P2_1 MFP_CFG(GPIO101, AF2)
465 #define GPIO102_USB_P2_4 MFP_CFG(GPIO102, AF2)
466 #define GPIO104_USB_P2_3 MFP_CFG(GPIO104, AF2)
467 #define GPIO105_USB_P2_5 MFP_CFG(GPIO105, AF2)
468 #define GPIO100_USB_P2_6 MFP_CFG(GPIO100, AF2)
469 #define GPIO106_USB_P2_7 MFP_CFG(GPIO106, AF2)
470 #define GPIO103_USB_P2_8 MFP_CFG(GPIO103, AF2)
473 #define GPIO38_UTM_CLK MFP_CFG(GPIO38, AF1)
474 #define GPIO26_U2D_RXERROR MFP_CFG(GPIO26, AF3)
475 #define GPIO50_U2D_RXERROR MFP_CFG(GPIO50, AF1)
476 #define GPIO89_U2D_RXERROR MFP_CFG(GPIO89, AF5)
477 #define GPIO24_UTM_RXVALID MFP_CFG(GPIO24, AF3)
478 #define GPIO48_UTM_RXVALID MFP_CFG(GPIO48, AF2)
479 #define GPIO87_UTM_RXVALID MFP_CFG(GPIO87, AF5)
480 #define GPIO25_UTM_RXACTIVE MFP_CFG(GPIO25, AF3)
481 #define GPIO47_UTM_RXACTIVE MFP_CFG(GPIO47, AF2)
482 #define GPIO49_UTM_RXACTIVE MFP_CFG(GPIO49, AF1)
483 #define GPIO88_UTM_RXACTIVE MFP_CFG(GPIO88, AF5)
484 #define GPIO53_UTM_TXREADY MFP_CFG(GPIO53, AF1)
485 #define GPIO67_UTM_LINESTATE_0 MFP_CFG(GPIO67, AF3)
486 #define GPIO92_UTM_LINESTATE_0 MFP_CFG(GPIO92, AF3)
487 #define GPIO104_UTM_LINESTATE_0 MFP_CFG(GPIO104, AF3)
488 #define GPIO109_UTM_LINESTATE_0 MFP_CFG(GPIO109, AF4)
489 #define GPIO68_UTM_LINESTATE_1 MFP_CFG(GPIO68, AF3)
490 #define GPIO93_UTM_LINESTATE_1 MFP_CFG(GPIO93, AF3)
491 #define GPIO105_UTM_LINESTATE_1 MFP_CFG(GPIO105, AF3)
492 #define GPIO27_U2D_OPMODE_0 MFP_CFG(GPIO27, AF4)
493 #define GPIO51_U2D_OPMODE_0 MFP_CFG(GPIO51, AF2)
494 #define GPIO90_U2D_OPMODE_0 MFP_CFG(GPIO90, AF7)
495 #define GPIO28_U2D_OPMODE_1 MFP_CFG(GPIO28, AF4)
496 #define GPIO52_U2D_OPMODE_1 MFP_CFG(GPIO52, AF2)
497 #define GPIO106_U2D_OPMODE_1 MFP_CFG(GPIO106, AF3)
498 #define GPIO110_U2D_OPMODE_1 MFP_CFG(GPIO110, AF5)
499 #define GPIO76_U2D_RESET MFP_CFG(GPIO76, AF1)
500 #define GPIO95_U2D_RESET MFP_CFG(GPIO95, AF2)
501 #define GPIO100_U2D_RESET MFP_CFG(GPIO100, AF3)
502 #define GPIO66_U2D_SUSPEND MFP_CFG(GPIO66, AF3)
503 #define GPIO98_U2D_SUSPEND MFP_CFG(GPIO98, AF2)
504 #define GPIO103_U2D_SUSPEND MFP_CFG(GPIO103, AF3)
505 #define GPIO65_U2D_TERM_SEL MFP_CFG(GPIO65, AF5)
506 #define GPIO97_U2D_TERM_SEL MFP_CFG(GPIO97, AF3)
507 #define GPIO102_U2D_TERM_SEL MFP_CFG(GPIO102, AF5)
508 #define GPIO29_U2D_TXVALID MFP_CFG(GPIO29, AF3)
509 #define GPIO52_U2D_TXVALID MFP_CFG(GPIO52, AF4)
510 #define GPIO69_U2D_TXVALID MFP_CFG(GPIO69, AF3)
511 #define GPIO85_U2D_TXVALID MFP_CFG(GPIO85, AF7)
512 #define GPIO64_U2D_XCVR_SEL MFP_CFG(GPIO64, AF5)
513 #define GPIO96_U2D_XCVR_SEL MFP_CFG(GPIO96, AF3)
514 #define GPIO101_U2D_XCVR_SEL MFP_CFG(GPIO101, AF5)
515 #define GPIO30_UTM_PHYDATA_0 MFP_CFG(GPIO30, AF3)
516 #define GPIO31_UTM_PHYDATA_1 MFP_CFG(GPIO31, AF3)
517 #define GPIO32_UTM_PHYDATA_2 MFP_CFG(GPIO32, AF3)
518 #define GPIO33_UTM_PHYDATA_3 MFP_CFG(GPIO33, AF3)
519 #define GPIO34_UTM_PHYDATA_4 MFP_CFG(GPIO34, AF3)
520 #define GPIO35_UTM_PHYDATA_5 MFP_CFG(GPIO35, AF3)
521 #define GPIO36_UTM_PHYDATA_6 MFP_CFG(GPIO36, AF3)
522 #define GPIO37_UTM_PHYDATA_7 MFP_CFG(GPIO37, AF3)
523 #define GPIO39_UTM_PHYDATA_0 MFP_CFG(GPIO39, AF3)
524 #define GPIO40_UTM_PHYDATA_1 MFP_CFG(GPIO40, AF3)
525 #define GPIO41_UTM_PHYDATA_2 MFP_CFG(GPIO41, AF3)
526 #define GPIO42_UTM_PHYDATA_3 MFP_CFG(GPIO42, AF3)
527 #define GPIO43_UTM_PHYDATA_4 MFP_CFG(GPIO43, AF3)
528 #define GPIO44_UTM_PHYDATA_5 MFP_CFG(GPIO44, AF3)
529 #define GPIO45_UTM_PHYDATA_6 MFP_CFG(GPIO45, AF3)
530 #define GPIO46_UTM_PHYDATA_7 MFP_CFG(GPIO46, AF3)
531 #endif /* CONFIG_CPU_PXA300 */
534 * PXA310 specific MFP configurations
536 #ifdef CONFIG_CPU_PXA310
538 #define GPIO36_USB_P2_1 MFP_CFG(GPIO36, AF1)
539 #define GPIO30_USB_P2_2 MFP_CFG(GPIO30, AF1)
540 #define GPIO35_USB_P2_3 MFP_CFG(GPIO35, AF1)
541 #define GPIO32_USB_P2_4 MFP_CFG(GPIO32, AF1)
542 #define GPIO34_USB_P2_5 MFP_CFG(GPIO34, AF1)
543 #define GPIO31_USB_P2_6 MFP_CFG(GPIO31, AF1)
546 #define GPIO24_MMC1_CMD MFP_CFG(GPIO24, AF3)
547 #define GPIO29_MMC1_DAT0 MFP_CFG(GPIO29, AF3)
550 #define GPIO103_MMC3_CLK MFP_CFG(GPIO103, AF2)
551 #define GPIO105_MMC3_CMD MFP_CFG(GPIO105, AF2)
552 #define GPIO11_2_MMC3_CLK MFP_CFG(GPIO11_2, AF1)
553 #define GPIO12_2_MMC3_CMD MFP_CFG(GPIO12_2, AF1)
554 #define GPIO7_2_MMC3_DAT0 MFP_CFG(GPIO7_2, AF1)
555 #define GPIO8_2_MMC3_DAT1 MFP_CFG(GPIO8_2, AF1)
556 #define GPIO9_2_MMC3_DAT2 MFP_CFG(GPIO9_2, AF1)
557 #define GPIO10_2_MMC3_DAT3 MFP_CFG(GPIO10_2, AF1)
560 #define GPIO38_ULPI_CLK MFP_CFG(GPIO38, AF1)
561 #define GPIO30_ULPI_DATA_OUT_0 MFP_CFG(GPIO30, AF3)
562 #define GPIO31_ULPI_DATA_OUT_1 MFP_CFG(GPIO31, AF3)
563 #define GPIO32_ULPI_DATA_OUT_2 MFP_CFG(GPIO32, AF3)
564 #define GPIO33_ULPI_DATA_OUT_3 MFP_CFG(GPIO33, AF3)
565 #define GPIO34_ULPI_DATA_OUT_4 MFP_CFG(GPIO34, AF3)
566 #define GPIO35_ULPI_DATA_OUT_5 MFP_CFG(GPIO35, AF3)
567 #define GPIO36_ULPI_DATA_OUT_6 MFP_CFG(GPIO36, AF3)
568 #define GPIO37_ULPI_DATA_OUT_7 MFP_CFG(GPIO37, AF3)
569 #define GPIO33_ULPI_OTG_INTR MFP_CFG(GPIO33, AF1)
571 #define ULPI_DIR MFP_CFG_DRV(ULPI_DIR, MFP_AF0, MFP_DS01X)
572 #define ULPI_NXT MFP_CFG_DRV(ULPI_NXT, MFP_AF0, MFP_DS01X)
573 #define ULPI_STP MFP_CFG_DRV(ULPI_STP, MFP_AF0, MFP_DS01X)
574 #endif /* CONFIG_CPU_PXA310 */
576 #endif /* __ASM_ARCH_MFP_PXA300_H */