~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/mach-pxa/mfp-pxa27x.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/arm/mach-pxa/mfp-pxa27x.h (Version linux-6.12-rc7) and /arch/m68k/mach-pxa/mfp-pxa27x.h (Version linux-2.4.37.11)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 
  2 #ifndef __ASM_ARCH_MFP_PXA27X_H                   
  3 #define __ASM_ARCH_MFP_PXA27X_H                   
  4                                                   
  5 /*                                                
  6  * NOTE:  for those special-function bidirecti    
  7  * in the "PXA27x Developer's Manual" Section     
  8  * alternative is preserved, the direction is     
  9  * specific controller, and this should work i    
 10  */                                               
 11                                                   
 12 #include "mfp-pxa2xx.h"                           
 13                                                   
 14 /* Note: GPIO3/GPIO4 will be driven by Power I    
 15  * bit is set, regardless of the GPIO configur    
 16  */                                               
 17 #define GPIO3_GPIO              MFP_CFG_IN(GPI    
 18 #define GPIO4_GPIO              MFP_CFG_IN(GPI    
 19                                                   
 20 /* GPIO */                                        
 21 #define GPIO85_GPIO             MFP_CFG_IN(GPI    
 22 #define GPIO86_GPIO             MFP_CFG_IN(GPI    
 23 #define GPIO87_GPIO             MFP_CFG_IN(GPI    
 24 #define GPIO88_GPIO             MFP_CFG_IN(GPI    
 25 #define GPIO89_GPIO             MFP_CFG_IN(GPI    
 26 #define GPIO90_GPIO             MFP_CFG_IN(GPI    
 27 #define GPIO91_GPIO             MFP_CFG_IN(GPI    
 28 #define GPIO92_GPIO             MFP_CFG_IN(GPI    
 29 #define GPIO93_GPIO             MFP_CFG_IN(GPI    
 30 #define GPIO94_GPIO             MFP_CFG_IN(GPI    
 31 #define GPIO95_GPIO             MFP_CFG_IN(GPI    
 32 #define GPIO96_GPIO             MFP_CFG_IN(GPI    
 33 #define GPIO97_GPIO             MFP_CFG_IN(GPI    
 34 #define GPIO98_GPIO             MFP_CFG_IN(GPI    
 35 #define GPIO99_GPIO             MFP_CFG_IN(GPI    
 36 #define GPIO100_GPIO            MFP_CFG_IN(GPI    
 37 #define GPIO101_GPIO            MFP_CFG_IN(GPI    
 38 #define GPIO102_GPIO            MFP_CFG_IN(GPI    
 39 #define GPIO103_GPIO            MFP_CFG_IN(GPI    
 40 #define GPIO104_GPIO            MFP_CFG_IN(GPI    
 41 #define GPIO105_GPIO            MFP_CFG_IN(GPI    
 42 #define GPIO106_GPIO            MFP_CFG_IN(GPI    
 43 #define GPIO107_GPIO            MFP_CFG_IN(GPI    
 44 #define GPIO108_GPIO            MFP_CFG_IN(GPI    
 45 #define GPIO109_GPIO            MFP_CFG_IN(GPI    
 46 #define GPIO110_GPIO            MFP_CFG_IN(GPI    
 47 #define GPIO111_GPIO            MFP_CFG_IN(GPI    
 48 #define GPIO112_GPIO            MFP_CFG_IN(GPI    
 49 #define GPIO113_GPIO            MFP_CFG_IN(GPI    
 50 #define GPIO114_GPIO            MFP_CFG_IN(GPI    
 51 #define GPIO115_GPIO            MFP_CFG_IN(GPI    
 52 #define GPIO116_GPIO            MFP_CFG_IN(GPI    
 53 #define GPIO117_GPIO            MFP_CFG_IN(GPI    
 54 #define GPIO118_GPIO            MFP_CFG_IN(GPI    
 55 #define GPIO119_GPIO            MFP_CFG_IN(GPI    
 56 #define GPIO120_GPIO            MFP_CFG_IN(GPI    
 57                                                   
 58 /* Crystal and Clock Signals */                   
 59 #define GPIO9_HZ_CLK            MFP_CFG_OUT(GP    
 60 #define GPIO10_HZ_CLK           MFP_CFG_OUT(GP    
 61 #define GPIO11_48_MHz           MFP_CFG_OUT(GP    
 62 #define GPIO12_48_MHz           MFP_CFG_OUT(GP    
 63 #define GPIO13_CLK_EXT          MFP_CFG_IN(GPI    
 64                                                   
 65 /* OS Timer Signals */                            
 66 #define GPIO11_EXT_SYNC_0       MFP_CFG_IN(GPI    
 67 #define GPIO12_EXT_SYNC_1       MFP_CFG_IN(GPI    
 68 #define GPIO9_CHOUT_0           MFP_CFG_OUT(GP    
 69 #define GPIO10_CHOUT_1          MFP_CFG_OUT(GP    
 70 #define GPIO11_CHOUT_0          MFP_CFG_OUT(GP    
 71 #define GPIO12_CHOUT_1          MFP_CFG_OUT(GP    
 72                                                   
 73 /* SDRAM and Static Memory I/O Signals */         
 74 #define GPIO20_nSDCS_2          MFP_CFG_OUT(GP    
 75 #define GPIO21_nSDCS_3          MFP_CFG_OUT(GP    
 76 #define GPIO15_nCS_1            MFP_CFG_OUT(GP    
 77 #define GPIO78_nCS_2            MFP_CFG_OUT(GP    
 78 #define GPIO79_nCS_3            MFP_CFG_OUT(GP    
 79 #define GPIO80_nCS_4            MFP_CFG_OUT(GP    
 80 #define GPIO33_nCS_5            MFP_CFG_OUT(GP    
 81                                                   
 82 /* Miscellaneous I/O and DMA Signals */           
 83 #define GPIO21_DVAL_0           MFP_CFG_OUT(GP    
 84 #define GPIO116_DVAL_0          MFP_CFG_OUT(GP    
 85 #define GPIO33_DVAL_1           MFP_CFG_OUT(GP    
 86 #define GPIO96_DVAL_1           MFP_CFG_OUT(GP    
 87 #define GPIO18_RDY              MFP_CFG_IN(GPI    
 88 #define GPIO20_DREQ_0           MFP_CFG_IN(GPI    
 89 #define GPIO115_DREQ_0          MFP_CFG_IN(GPI    
 90 #define GPIO80_DREQ_1           MFP_CFG_IN(GPI    
 91 #define GPIO97_DREQ_1           MFP_CFG_IN(GPI    
 92 #define GPIO85_DREQ_2           MFP_CFG_IN(GPI    
 93 #define GPIO100_DREQ_2          MFP_CFG_IN(GPI    
 94                                                   
 95 /* Alternate Bus Master Mode I/O Signals */       
 96 #define GPIO20_MBREQ            MFP_CFG_IN(GPI    
 97 #define GPIO80_MBREQ            MFP_CFG_IN(GPI    
 98 #define GPIO96_MBREQ            MFP_CFG_IN(GPI    
 99 #define GPIO115_MBREQ           MFP_CFG_IN(GPI    
100 #define GPIO21_MBGNT            MFP_CFG_OUT(GP    
101 #define GPIO33_MBGNT            MFP_CFG_OUT(GP    
102 #define GPIO97_MBGNT            MFP_CFG_OUT(GP    
103 #define GPIO116_MBGNT           MFP_CFG_OUT(GP    
104                                                   
105 /* PC CARD */                                     
106 #define GPIO15_nPCE_1           MFP_CFG_OUT(GP    
107 #define GPIO85_nPCE_1           MFP_CFG_OUT(GP    
108 #define GPIO86_nPCE_1           MFP_CFG_OUT(GP    
109 #define GPIO102_nPCE_1          MFP_CFG_OUT(GP    
110 #define GPIO54_nPCE_2           MFP_CFG_OUT(GP    
111 #define GPIO78_nPCE_2           MFP_CFG_OUT(GP    
112 #define GPIO87_nPCE_2           MFP_CFG_IN(GPI    
113 #define GPIO55_nPREG            MFP_CFG_OUT(GP    
114 #define GPIO50_nPIOR            MFP_CFG_OUT(GP    
115 #define GPIO51_nPIOW            MFP_CFG_OUT(GP    
116 #define GPIO49_nPWE             MFP_CFG_OUT(GP    
117 #define GPIO48_nPOE             MFP_CFG_OUT(GP    
118 #define GPIO57_nIOIS16          MFP_CFG_IN(GPI    
119 #define GPIO56_nPWAIT           MFP_CFG_IN(GPI    
120 #define GPIO79_PSKTSEL          MFP_CFG_OUT(GP    
121 #define GPIO104_PSKTSEL         MFP_CFG_OUT(GP    
122                                                   
123 /* I2C */                                         
124 #define GPIO117_I2C_SCL         MFP_CFG_IN(GPI    
125 #define GPIO118_I2C_SDA         MFP_CFG_IN(GPI    
126                                                   
127 /* FFUART */                                      
128 #define GPIO9_FFUART_CTS        MFP_CFG_IN(GPI    
129 #define GPIO26_FFUART_CTS       MFP_CFG_IN(GPI    
130 #define GPIO35_FFUART_CTS       MFP_CFG_IN(GPI    
131 #define GPIO100_FFUART_CTS      MFP_CFG_IN(GPI    
132 #define GPIO10_FFUART_DCD       MFP_CFG_IN(GPI    
133 #define GPIO36_FFUART_DCD       MFP_CFG_IN(GPI    
134 #define GPIO33_FFUART_DSR       MFP_CFG_IN(GPI    
135 #define GPIO37_FFUART_DSR       MFP_CFG_IN(GPI    
136 #define GPIO38_FFUART_RI        MFP_CFG_IN(GPI    
137 #define GPIO89_FFUART_RI        MFP_CFG_IN(GPI    
138 #define GPIO19_FFUART_RXD       MFP_CFG_IN(GPI    
139 #define GPIO33_FFUART_RXD       MFP_CFG_IN(GPI    
140 #define GPIO34_FFUART_RXD       MFP_CFG_IN(GPI    
141 #define GPIO41_FFUART_RXD       MFP_CFG_IN(GPI    
142 #define GPIO53_FFUART_RXD       MFP_CFG_IN(GPI    
143 #define GPIO85_FFUART_RXD       MFP_CFG_IN(GPI    
144 #define GPIO96_FFUART_RXD       MFP_CFG_IN(GPI    
145 #define GPIO102_FFUART_RXD      MFP_CFG_IN(GPI    
146 #define GPIO16_FFUART_TXD       MFP_CFG_OUT(GP    
147 #define GPIO37_FFUART_TXD       MFP_CFG_OUT(GP    
148 #define GPIO39_FFUART_TXD       MFP_CFG_OUT(GP    
149 #define GPIO83_FFUART_TXD       MFP_CFG_OUT(GP    
150 #define GPIO99_FFUART_TXD       MFP_CFG_OUT(GP    
151 #define GPIO27_FFUART_RTS       MFP_CFG_OUT(GP    
152 #define GPIO41_FFUART_RTS       MFP_CFG_OUT(GP    
153 #define GPIO83_FFUART_RTS       MFP_CFG_OUT(GP    
154 #define GPIO98_FFUART_RTS       MFP_CFG_OUT(GP    
155 #define GPIO40_FFUART_DTR       MFP_CFG_OUT(GP    
156 #define GPIO82_FFUART_DTR       MFP_CFG_OUT(GP    
157                                                   
158 /* BTUART */                                      
159 #define GPIO44_BTUART_CTS       MFP_CFG_IN(GPI    
160 #define GPIO42_BTUART_RXD       MFP_CFG_IN(GPI    
161 #define GPIO45_BTUART_RTS       MFP_CFG_OUT(GP    
162 #define GPIO45_BTUART_RTS_LPM_LOW       MFP_CF    
163 #define GPIO43_BTUART_TXD       MFP_CFG_OUT(GP    
164 #define GPIO43_BTUART_TXD_LPM_LOW       MFP_CF    
165                                                   
166 /* STUART */                                      
167 #define GPIO46_STUART_RXD       MFP_CFG_IN(GPI    
168 #define GPIO47_STUART_TXD       MFP_CFG_OUT(GP    
169                                                   
170 /* FICP */                                        
171 #define GPIO42_FICP_RXD         MFP_CFG_IN(GPI    
172 #define GPIO46_FICP_RXD         MFP_CFG_IN(GPI    
173 #define GPIO43_FICP_TXD         MFP_CFG_OUT(GP    
174 #define GPIO47_FICP_TXD         MFP_CFG_OUT(GP    
175                                                   
176 /* PWM 0/1/2/3 */                                 
177 #define GPIO11_PWM2_OUT         MFP_CFG_OUT(GP    
178 #define GPIO12_PWM3_OUT         MFP_CFG_OUT(GP    
179 #define GPIO16_PWM0_OUT         MFP_CFG_OUT(GP    
180 #define GPIO17_PWM1_OUT         MFP_CFG_OUT(GP    
181 #define GPIO38_PWM1_OUT         MFP_CFG_OUT(GP    
182 #define GPIO46_PWM2_OUT         MFP_CFG_OUT(GP    
183 #define GPIO47_PWM3_OUT         MFP_CFG_OUT(GP    
184 #define GPIO79_PWM2_OUT         MFP_CFG_OUT(GP    
185 #define GPIO80_PWM3_OUT         MFP_CFG_OUT(GP    
186 #define GPIO115_PWM1_OUT        MFP_CFG_OUT(GP    
187                                                   
188 /* AC97 */                                        
189 #define GPIO31_AC97_SYNC        MFP_CFG_OUT(GP    
190 #define GPIO94_AC97_SYNC        MFP_CFG_OUT(GP    
191 #define GPIO30_AC97_SDATA_OUT   MFP_CFG_OUT(GP    
192 #define GPIO93_AC97_SDATA_OUT   MFP_CFG_OUT(GP    
193 #define GPIO45_AC97_SYSCLK      MFP_CFG_OUT(GP    
194 #define GPIO89_AC97_SYSCLK      MFP_CFG_OUT(GP    
195 #define GPIO98_AC97_SYSCLK      MFP_CFG_OUT(GP    
196 #define GPIO95_AC97_nRESET      MFP_CFG_OUT(GP    
197 #define GPIO113_AC97_nRESET     MFP_CFG_OUT(GP    
198 #define GPIO28_AC97_BITCLK      MFP_CFG_IN(GPI    
199 #define GPIO29_AC97_SDATA_IN_0  MFP_CFG_IN(GPI    
200 #define GPIO116_AC97_SDATA_IN_0 MFP_CFG_IN(GPI    
201 #define GPIO99_AC97_SDATA_IN_1  MFP_CFG_IN(GPI    
202                                                   
203 /* I2S */                                         
204 #define GPIO28_I2S_BITCLK_IN    MFP_CFG_IN(GPI    
205 #define GPIO28_I2S_BITCLK_OUT   MFP_CFG_OUT(GP    
206 #define GPIO29_I2S_SDATA_IN     MFP_CFG_IN(GPI    
207 #define GPIO30_I2S_SDATA_OUT    MFP_CFG_OUT(GP    
208 #define GPIO31_I2S_SYNC         MFP_CFG_OUT(GP    
209 #define GPIO113_I2S_SYSCLK      MFP_CFG_OUT(GP    
210                                                   
211 /* SSP 1 */                                       
212 #define GPIO23_SSP1_SCLK_IN     MFP_CFG_IN(GPI    
213 #define GPIO23_SSP1_SCLK        MFP_CFG_OUT(GP    
214 #define GPIO29_SSP1_SCLK        MFP_CFG_IN(GPI    
215 #define GPIO27_SSP1_SYSCLK      MFP_CFG_OUT(GP    
216 #define GPIO53_SSP1_SYSCLK      MFP_CFG_OUT(GP    
217 #define GPIO24_SSP1_SFRM        MFP_CFG_IN(GPI    
218 #define GPIO28_SSP1_SFRM        MFP_CFG_IN(GPI    
219 #define GPIO25_SSP1_TXD         MFP_CFG_OUT(GP    
220 #define GPIO57_SSP1_TXD         MFP_CFG_OUT(GP    
221 #define GPIO26_SSP1_RXD         MFP_CFG_IN(GPI    
222 #define GPIO27_SSP1_SCLKEN      MFP_CFG_IN(GPI    
223                                                   
224 /* SSP 2 */                                       
225 #define GPIO19_SSP2_SCLK        MFP_CFG_IN(GPI    
226 #define GPIO22_SSP2_SCLK        MFP_CFG_IN(GPI    
227 #define GPIO29_SSP2_SCLK        MFP_CFG_OUT(GP    
228 #define GPIO36_SSP2_SCLK        MFP_CFG_IN(GPI    
229 #define GPIO50_SSP2_SCLK        MFP_CFG_IN(GPI    
230 #define GPIO22_SSP2_SYSCLK      MFP_CFG_OUT(GP    
231 #define GPIO14_SSP2_SFRM        MFP_CFG_IN(GPI    
232 #define GPIO37_SSP2_SFRM        MFP_CFG_IN(GPI    
233 #define GPIO87_SSP2_SFRM        MFP_CFG_OUT(GP    
234 #define GPIO88_SSP2_SFRM        MFP_CFG_IN(GPI    
235 #define GPIO13_SSP2_TXD         MFP_CFG_OUT(GP    
236 #define GPIO38_SSP2_TXD         MFP_CFG_OUT(GP    
237 #define GPIO87_SSP2_TXD         MFP_CFG_OUT(GP    
238 #define GPIO89_SSP2_TXD         MFP_CFG_OUT(GP    
239 #define GPIO11_SSP2_RXD         MFP_CFG_IN(GPI    
240 #define GPIO29_SSP2_RXD         MFP_CFG_OUT(GP    
241 #define GPIO40_SSP2_RXD         MFP_CFG_IN(GPI    
242 #define GPIO86_SSP2_RXD         MFP_CFG_IN(GPI    
243 #define GPIO88_SSP2_RXD         MFP_CFG_IN(GPI    
244 #define GPIO22_SSP2_EXTCLK      MFP_CFG_IN(GPI    
245 #define GPIO27_SSP2_EXTCLK      MFP_CFG_IN(GPI    
246 #define GPIO22_SSP2_SCLKEN      MFP_CFG_IN(GPI    
247 #define GPIO23_SSP2_SCLKEN      MFP_CFG_IN(GPI    
248                                                   
249 /* SSP 3 */                                       
250 #define GPIO34_SSP3_SCLK        MFP_CFG_IN(GPI    
251 #define GPIO40_SSP3_SCLK        MFP_CFG_OUT(GP    
252 #define GPIO52_SSP3_SCLK        MFP_CFG_IN(GPI    
253 #define GPIO84_SSP3_SCLK        MFP_CFG_IN(GPI    
254 #define GPIO45_SSP3_SYSCLK      MFP_CFG_OUT(GP    
255 #define GPIO35_SSP3_SFRM        MFP_CFG_IN(GPI    
256 #define GPIO39_SSP3_SFRM        MFP_CFG_IN(GPI    
257 #define GPIO83_SSP3_SFRM        MFP_CFG_IN(GPI    
258 #define GPIO35_SSP3_TXD         MFP_CFG_OUT(GP    
259 #define GPIO38_SSP3_TXD         MFP_CFG_OUT(GP    
260 #define GPIO81_SSP3_TXD         MFP_CFG_OUT(GP    
261 #define GPIO41_SSP3_RXD         MFP_CFG_IN(GPI    
262 #define GPIO82_SSP3_RXD         MFP_CFG_IN(GPI    
263 #define GPIO89_SSP3_RXD         MFP_CFG_IN(GPI    
264                                                   
265 /* MMC */                                         
266 #define GPIO32_MMC_CLK          MFP_CFG_OUT(GP    
267 #define GPIO92_MMC_DAT_0        MFP_CFG_IN(GPI    
268 #define GPIO109_MMC_DAT_1       MFP_CFG_IN(GPI    
269 #define GPIO110_MMC_DAT_2       MFP_CFG_IN(GPI    
270 #define GPIO111_MMC_DAT_3       MFP_CFG_IN(GPI    
271 #define GPIO112_MMC_CMD         MFP_CFG_IN(GPI    
272                                                   
273 /* LCD */                                         
274 #define GPIO58_LCD_LDD_0        MFP_CFG_OUT(GP    
275 #define GPIO59_LCD_LDD_1        MFP_CFG_OUT(GP    
276 #define GPIO60_LCD_LDD_2        MFP_CFG_OUT(GP    
277 #define GPIO61_LCD_LDD_3        MFP_CFG_OUT(GP    
278 #define GPIO62_LCD_LDD_4        MFP_CFG_OUT(GP    
279 #define GPIO63_LCD_LDD_5        MFP_CFG_OUT(GP    
280 #define GPIO64_LCD_LDD_6        MFP_CFG_OUT(GP    
281 #define GPIO65_LCD_LDD_7        MFP_CFG_OUT(GP    
282 #define GPIO66_LCD_LDD_8        MFP_CFG_OUT(GP    
283 #define GPIO67_LCD_LDD_9        MFP_CFG_OUT(GP    
284 #define GPIO68_LCD_LDD_10       MFP_CFG_OUT(GP    
285 #define GPIO69_LCD_LDD_11       MFP_CFG_OUT(GP    
286 #define GPIO70_LCD_LDD_12       MFP_CFG_OUT(GP    
287 #define GPIO71_LCD_LDD_13       MFP_CFG_OUT(GP    
288 #define GPIO72_LCD_LDD_14       MFP_CFG_OUT(GP    
289 #define GPIO73_LCD_LDD_15       MFP_CFG_OUT(GP    
290 #define GPIO86_LCD_LDD_16       MFP_CFG_OUT(GP    
291 #define GPIO87_LCD_LDD_17       MFP_CFG_OUT(GP    
292 #define GPIO74_LCD_FCLK         MFP_CFG_OUT(GP    
293 #define GPIO75_LCD_LCLK         MFP_CFG_OUT(GP    
294 #define GPIO76_LCD_PCLK         MFP_CFG_OUT(GP    
295 #define GPIO77_LCD_BIAS         MFP_CFG_OUT(GP    
296 #define GPIO14_LCD_VSYNC        MFP_CFG_IN(GPI    
297 #define GPIO19_LCD_CS           MFP_CFG_OUT(GP    
298                                                   
299 /* Keypad */                                      
300 #define GPIO93_KP_DKIN_0        MFP_CFG_IN(GPI    
301 #define GPIO94_KP_DKIN_1        MFP_CFG_IN(GPI    
302 #define GPIO95_KP_DKIN_2        MFP_CFG_IN(GPI    
303 #define GPIO96_KP_DKIN_3        MFP_CFG_IN(GPI    
304 #define GPIO97_KP_DKIN_4        MFP_CFG_IN(GPI    
305 #define GPIO98_KP_DKIN_5        MFP_CFG_IN(GPI    
306 #define GPIO99_KP_DKIN_6        MFP_CFG_IN(GPI    
307 #define GPIO13_KP_KDIN_7        MFP_CFG_IN(GPI    
308 #define GPIO100_KP_MKIN_0       MFP_CFG_IN(GPI    
309 #define GPIO101_KP_MKIN_1       MFP_CFG_IN(GPI    
310 #define GPIO102_KP_MKIN_2       MFP_CFG_IN(GPI    
311 #define GPIO34_KP_MKIN_3        MFP_CFG_IN(GPI    
312 #define GPIO37_KP_MKIN_3        MFP_CFG_IN(GPI    
313 #define GPIO97_KP_MKIN_3        MFP_CFG_IN(GPI    
314 #define GPIO98_KP_MKIN_4        MFP_CFG_IN(GPI    
315 #define GPIO38_KP_MKIN_4        MFP_CFG_IN(GPI    
316 #define GPIO39_KP_MKIN_4        MFP_CFG_IN(GPI    
317 #define GPIO16_KP_MKIN_5        MFP_CFG_IN(GPI    
318 #define GPIO90_KP_MKIN_5        MFP_CFG_IN(GPI    
319 #define GPIO99_KP_MKIN_5        MFP_CFG_IN(GPI    
320 #define GPIO17_KP_MKIN_6        MFP_CFG_IN(GPI    
321 #define GPIO91_KP_MKIN_6        MFP_CFG_IN(GPI    
322 #define GPIO95_KP_MKIN_6        MFP_CFG_IN(GPI    
323 #define GPIO13_KP_MKIN_7        MFP_CFG_IN(GPI    
324 #define GPIO36_KP_MKIN_7        MFP_CFG_IN(GPI    
325 #define GPIO103_KP_MKOUT_0      MFP_CFG_OUT(GP    
326 #define GPIO104_KP_MKOUT_1      MFP_CFG_OUT(GP    
327 #define GPIO105_KP_MKOUT_2      MFP_CFG_OUT(GP    
328 #define GPIO106_KP_MKOUT_3      MFP_CFG_OUT(GP    
329 #define GPIO107_KP_MKOUT_4      MFP_CFG_OUT(GP    
330 #define GPIO108_KP_MKOUT_5      MFP_CFG_OUT(GP    
331 #define GPIO35_KP_MKOUT_6       MFP_CFG_OUT(GP    
332 #define GPIO22_KP_MKOUT_7       MFP_CFG_OUT(GP    
333 #define GPIO40_KP_MKOUT_6       MFP_CFG_OUT(GP    
334 #define GPIO41_KP_MKOUT_7       MFP_CFG_OUT(GP    
335 #define GPIO96_KP_MKOUT_6       MFP_CFG_OUT(GP    
336                                                   
337 /* USB P3 */                                      
338 #define GPIO10_USB_P3_5         MFP_CFG_IN(GPI    
339 #define GPIO11_USB_P3_1         MFP_CFG_IN(GPI    
340 #define GPIO30_USB_P3_2         MFP_CFG_OUT(GP    
341 #define GPIO31_USB_P3_6         MFP_CFG_OUT(GP    
342 #define GPIO56_USB_P3_4         MFP_CFG_OUT(GP    
343 #define GPIO86_USB_P3_5         MFP_CFG_IN(GPI    
344 #define GPIO87_USB_P3_1         MFP_CFG_IN(GPI    
345 #define GPIO90_USB_P3_5         MFP_CFG_IN(GPI    
346 #define GPIO91_USB_P3_1         MFP_CFG_IN(GPI    
347 #define GPIO113_USB_P3_3        MFP_CFG_IN(GPI    
348                                                   
349 /* USB P2 */                                      
350 #define GPIO34_USB_P2_2         MFP_CFG_OUT(GP    
351 #define GPIO35_USB_P2_1         MFP_CFG_IN(GPI    
352 #define GPIO36_USB_P2_4         MFP_CFG_OUT(GP    
353 #define GPIO37_USB_P2_8         MFP_CFG_OUT(GP    
354 #define GPIO38_USB_P2_3         MFP_CFG_IN(GPI    
355 #define GPIO39_USB_P2_6         MFP_CFG_OUT(GP    
356 #define GPIO40_USB_P2_5         MFP_CFG_IN(GPI    
357 #define GPIO41_USB_P2_7         MFP_CFG_IN(GPI    
358 #define GPIO53_USB_P2_3         MFP_CFG_IN(GPI    
359                                                   
360 /* USB Host Port 1/2 */                           
361 #define GPIO88_USBH1_PWR        MFP_CFG_IN(GPI    
362 #define GPIO89_USBH1_PEN        MFP_CFG_OUT(GP    
363 #define GPIO119_USBH2_PWR       MFP_CFG_IN(GPI    
364 #define GPIO120_USBH2_PEN       MFP_CFG_OUT(GP    
365                                                   
366 /* QCI - default to Master Mode: CIF_FV/CIF_LV    
367 #define GPIO115_CIF_DD_3        MFP_CFG_IN(GPI    
368 #define GPIO116_CIF_DD_2        MFP_CFG_IN(GPI    
369 #define GPIO12_CIF_DD_7         MFP_CFG_IN(GPI    
370 #define GPIO17_CIF_DD_6         MFP_CFG_IN(GPI    
371 #define GPIO23_CIF_MCLK         MFP_CFG_OUT(GP    
372 #define GPIO24_CIF_FV           MFP_CFG_IN(GPI    
373 #define GPIO25_CIF_LV           MFP_CFG_IN(GPI    
374 #define GPIO26_CIF_PCLK         MFP_CFG_IN(GPI    
375 #define GPIO27_CIF_DD_0         MFP_CFG_IN(GPI    
376 #define GPIO42_CIF_MCLK         MFP_CFG_OUT(GP    
377 #define GPIO43_CIF_FV           MFP_CFG_IN(GPI    
378 #define GPIO44_CIF_LV           MFP_CFG_IN(GPI    
379 #define GPIO45_CIF_PCLK         MFP_CFG_IN(GPI    
380 #define GPIO47_CIF_DD_0         MFP_CFG_IN(GPI    
381 #define GPIO48_CIF_DD_5         MFP_CFG_IN(GPI    
382 #define GPIO50_CIF_DD_3         MFP_CFG_IN(GPI    
383 #define GPIO51_CIF_DD_2         MFP_CFG_IN(GPI    
384 #define GPIO52_CIF_DD_4         MFP_CFG_IN(GPI    
385 #define GPIO53_CIF_MCLK         MFP_CFG_OUT(GP    
386 #define GPIO54_CIF_PCLK         MFP_CFG_IN(GPI    
387 #define GPIO55_CIF_DD_1         MFP_CFG_IN(GPI    
388 #define GPIO81_CIF_DD_0         MFP_CFG_IN(GPI    
389 #define GPIO82_CIF_DD_5         MFP_CFG_IN(GPI    
390 #define GPIO83_CIF_DD_4         MFP_CFG_IN(GPI    
391 #define GPIO84_CIF_FV           MFP_CFG_IN(GPI    
392 #define GPIO85_CIF_LV           MFP_CFG_IN(GPI    
393 #define GPIO90_CIF_DD_4         MFP_CFG_IN(GPI    
394 #define GPIO91_CIF_DD_5         MFP_CFG_IN(GPI    
395 #define GPIO93_CIF_DD_6         MFP_CFG_IN(GPI    
396 #define GPIO94_CIF_DD_5         MFP_CFG_IN(GPI    
397 #define GPIO95_CIF_DD_4         MFP_CFG_IN(GPI    
398 #define GPIO98_CIF_DD_0         MFP_CFG_IN(GPI    
399 #define GPIO103_CIF_DD_3        MFP_CFG_IN(GPI    
400 #define GPIO104_CIF_DD_2        MFP_CFG_IN(GPI    
401 #define GPIO105_CIF_DD_1        MFP_CFG_IN(GPI    
402 #define GPIO106_CIF_DD_9        MFP_CFG_IN(GPI    
403 #define GPIO107_CIF_DD_8        MFP_CFG_IN(GPI    
404 #define GPIO108_CIF_DD_7        MFP_CFG_IN(GPI    
405 #define GPIO114_CIF_DD_1        MFP_CFG_IN(GPI    
406                                                   
407 /* Universal Subscriber ID Interface */           
408 #define GPIO114_UVS0            MFP_CFG_OUT(GP    
409 #define GPIO115_nUVS1           MFP_CFG_OUT(GP    
410 #define GPIO116_nUVS2           MFP_CFG_OUT(GP    
411 #define GPIO14_UCLK             MFP_CFG_OUT(GP    
412 #define GPIO91_UCLK             MFP_CFG_OUT(GP    
413 #define GPIO19_nURST            MFP_CFG_OUT(GP    
414 #define GPIO90_nURST            MFP_CFG_OUT(GP    
415 #define GPIO116_UDET            MFP_CFG_IN(GPI    
416 #define GPIO114_UEN             MFP_CFG_OUT(GP    
417 #define GPIO115_UEN             MFP_CFG_OUT(GP    
418                                                   
419 /* Mobile Scalable Link (MSL) Interface */        
420 #define GPIO81_BB_OB_DAT_0      MFP_CFG_OUT(GP    
421 #define GPIO48_BB_OB_DAT_1      MFP_CFG_OUT(GP    
422 #define GPIO50_BB_OB_DAT_2      MFP_CFG_OUT(GP    
423 #define GPIO51_BB_OB_DAT_3      MFP_CFG_OUT(GP    
424 #define GPIO52_BB_OB_CLK        MFP_CFG_OUT(GP    
425 #define GPIO53_BB_OB_STB        MFP_CFG_OUT(GP    
426 #define GPIO54_BB_OB_WAIT       MFP_CFG_IN(GPI    
427 #define GPIO82_BB_IB_DAT_0      MFP_CFG_IN(GPI    
428 #define GPIO55_BB_IB_DAT_1      MFP_CFG_IN(GPI    
429 #define GPIO56_BB_IB_DAT_2      MFP_CFG_IN(GPI    
430 #define GPIO57_BB_IB_DAT_3      MFP_CFG_IN(GPI    
431 #define GPIO83_BB_IB_CLK        MFP_CFG_IN(GPI    
432 #define GPIO84_BB_IB_STB        MFP_CFG_IN(GPI    
433 #define GPIO85_BB_IB_WAIT       MFP_CFG_OUT(GP    
434                                                   
435 /* Memory Stick Host Controller */                
436 #define GPIO92_MSBS             MFP_CFG_OUT(GP    
437 #define GPIO109_MSSDIO          MFP_CFG_IN(GPI    
438 #define GPIO112_nMSINS          MFP_CFG_IN(GPI    
439 #define GPIO32_MSSCLK           MFP_CFG_OUT(GP    
440                                                   
441 /* commonly used pin configurations */            
442 #define GPIOxx_LCD_16BPP        \                 
443         GPIO58_LCD_LDD_0,       \                 
444         GPIO59_LCD_LDD_1,       \                 
445         GPIO60_LCD_LDD_2,       \                 
446         GPIO61_LCD_LDD_3,       \                 
447         GPIO62_LCD_LDD_4,       \                 
448         GPIO63_LCD_LDD_5,       \                 
449         GPIO64_LCD_LDD_6,       \                 
450         GPIO65_LCD_LDD_7,       \                 
451         GPIO66_LCD_LDD_8,       \                 
452         GPIO67_LCD_LDD_9,       \                 
453         GPIO68_LCD_LDD_10,      \                 
454         GPIO69_LCD_LDD_11,      \                 
455         GPIO70_LCD_LDD_12,      \                 
456         GPIO71_LCD_LDD_13,      \                 
457         GPIO72_LCD_LDD_14,      \                 
458         GPIO73_LCD_LDD_15                         
459                                                   
460 #define GPIOxx_LCD_TFT_16BPP    \                 
461         GPIOxx_LCD_16BPP,       \                 
462         GPIO74_LCD_FCLK,        \                 
463         GPIO75_LCD_LCLK,        \                 
464         GPIO76_LCD_PCLK,        \                 
465         GPIO77_LCD_BIAS                           
466                                                   
467 /* these enable a work-around for a hw bug in     
468 #define GPIO113_AC97_nRESET_GPIO_HIGH MFP_CFG_    
469 #define GPIO95_AC97_nRESET_GPIO_HIGH MFP_CFG_O    
470                                                   
471 extern int keypad_set_wake(unsigned int on);      
472 #endif /* __ASM_ARCH_MFP_PXA27X_H */              
473                                                   

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php