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