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