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

TOMOYO Linux Cross Reference
Linux/arch/arm/mach-pxa/mfp-pxa25x.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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/arm/mach-pxa/mfp-pxa25x.h (Version linux-6.12-rc7) and /arch/mips/mach-pxa/mfp-pxa25x.h (Version linux-5.2.21)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 
  2 #ifndef __ASM_ARCH_MFP_PXA25X_H                   
  3 #define __ASM_ARCH_MFP_PXA25X_H                   
  4                                                   
  5 #include "mfp-pxa2xx.h"                           
  6                                                   
  7 /* GPIO */                                        
  8 #define GPIO2_GPIO              MFP_CFG_IN(GPI    
  9 #define GPIO3_GPIO              MFP_CFG_IN(GPI    
 10 #define GPIO4_GPIO              MFP_CFG_IN(GPI    
 11 #define GPIO5_GPIO              MFP_CFG_IN(GPI    
 12 #define GPIO6_GPIO              MFP_CFG_IN(GPI    
 13 #define GPIO7_GPIO              MFP_CFG_IN(GPI    
 14 #define GPIO8_GPIO              MFP_CFG_IN(GPI    
 15                                                   
 16 #define GPIO1_RST               MFP_CFG_IN(GPI    
 17                                                   
 18 /* Crystal and Clock Signals */                   
 19 #define GPIO10_RTCCLK           MFP_CFG_OUT(GP    
 20 #define GPIO70_RTCCLK           MFP_CFG_OUT(GP    
 21 #define GPIO7_48MHz             MFP_CFG_OUT(GP    
 22 #define GPIO11_3_6MHz           MFP_CFG_OUT(GP    
 23 #define GPIO71_3_6MHz           MFP_CFG_OUT(GP    
 24 #define GPIO12_32KHz            MFP_CFG_OUT(GP    
 25 #define GPIO72_32kHz            MFP_CFG_OUT(GP    
 26                                                   
 27 /* SDRAM and Static Memory I/O Signals */         
 28 #define GPIO15_nCS_1            MFP_CFG_OUT(GP    
 29 #define GPIO78_nCS_2            MFP_CFG_OUT(GP    
 30 #define GPIO79_nCS_3            MFP_CFG_OUT(GP    
 31 #define GPIO80_nCS_4            MFP_CFG_OUT(GP    
 32 #define GPIO33_nCS_5            MFP_CFG_OUT(GP    
 33                                                   
 34 /* Miscellaneous I/O and DMA Signals */           
 35 #define GPIO18_RDY              MFP_CFG_IN(GPI    
 36 #define GPIO20_DREQ_0           MFP_CFG_IN(GPI    
 37 #define GPIO19_DREQ_1           MFP_CFG_IN(GPI    
 38                                                   
 39 /* Alternate Bus Master Mode I/O Signals */       
 40 #define GPIO13_MBGNT            MFP_CFG_OUT(GP    
 41 #define GPIO73_MBGNT            MFP_CFG_OUT(GP    
 42 #define GPIO14_MBREQ            MFP_CFG_IN(GPI    
 43 #define GPIO66_MBREQ            MFP_CFG_IN(GPI    
 44                                                   
 45 /* PC CARD */                                     
 46 #define GPIO52_nPCE_1           MFP_CFG_OUT(GP    
 47 #define GPIO53_nPCE_2           MFP_CFG_OUT(GP    
 48 #define GPIO55_nPREG            MFP_CFG_OUT(GP    
 49 #define GPIO50_nPIOR            MFP_CFG_OUT(GP    
 50 #define GPIO51_nPIOW            MFP_CFG_OUT(GP    
 51 #define GPIO49_nPWE             MFP_CFG_OUT(GP    
 52 #define GPIO48_nPOE             MFP_CFG_OUT(GP    
 53 #define GPIO57_nIOIS16          MFP_CFG_IN(GPI    
 54 #define GPIO56_nPWAIT           MFP_CFG_IN(GPI    
 55 #define GPIO54_nPSKTSEL         MFP_CFG_OUT(GP    
 56                                                   
 57 /* FFUART */                                      
 58 #define GPIO34_FFUART_RXD       MFP_CFG_IN(GPI    
 59 #define GPIO35_FFUART_CTS       MFP_CFG_IN(GPI    
 60 #define GPIO36_FFUART_DCD       MFP_CFG_IN(GPI    
 61 #define GPIO37_FFUART_DSR       MFP_CFG_IN(GPI    
 62 #define GPIO38_FFUART_RI        MFP_CFG_IN(GPI    
 63 #define GPIO39_FFUART_TXD       MFP_CFG_OUT(GP    
 64 #define GPIO40_FFUART_DTR       MFP_CFG_OUT(GP    
 65 #define GPIO41_FFUART_RTS       MFP_CFG_OUT(GP    
 66                                                   
 67 /* BTUART */                                      
 68 #define GPIO42_BTUART_RXD       MFP_CFG_IN(GPI    
 69 #define GPIO43_BTUART_TXD       MFP_CFG_OUT(GP    
 70 #define GPIO44_BTUART_CTS       MFP_CFG_IN(GPI    
 71 #define GPIO45_BTUART_RTS       MFP_CFG_OUT(GP    
 72                                                   
 73 /* STUART */                                      
 74 #define GPIO46_STUART_RXD       MFP_CFG_IN(GPI    
 75 #define GPIO47_STUART_TXD       MFP_CFG_OUT(GP    
 76                                                   
 77 /* HWUART */                                      
 78 #define GPIO42_HWUART_RXD       MFP_CFG_IN(GPI    
 79 #define GPIO43_HWUART_TXD       MFP_CFG_OUT(GP    
 80 #define GPIO44_HWUART_CTS       MFP_CFG_IN(GPI    
 81 #define GPIO45_HWUART_RTS       MFP_CFG_OUT(GP    
 82 #define GPIO48_HWUART_TXD       MFP_CFG_OUT(GP    
 83 #define GPIO49_HWUART_RXD       MFP_CFG_IN(GPI    
 84 #define GPIO50_HWUART_CTS       MFP_CFG_IN(GPI    
 85 #define GPIO51_HWUART_RTS       MFP_CFG_OUT(GP    
 86                                                   
 87 /* FICP */                                        
 88 #define GPIO46_FICP_RXD         MFP_CFG_IN(GPI    
 89 #define GPIO47_FICP_TXD         MFP_CFG_OUT(GP    
 90                                                   
 91 /* PWM 0/1 */                                     
 92 #define GPIO16_PWM0_OUT         MFP_CFG_OUT(GP    
 93 #define GPIO17_PWM1_OUT         MFP_CFG_OUT(GP    
 94                                                   
 95 /* AC97 */                                        
 96 #define GPIO28_AC97_BITCLK      MFP_CFG_IN(GPI    
 97 #define GPIO29_AC97_SDATA_IN_0  MFP_CFG_IN(GPI    
 98 #define GPIO30_AC97_SDATA_OUT   MFP_CFG_OUT(GP    
 99 #define GPIO31_AC97_SYNC        MFP_CFG_OUT(GP    
100 #define GPIO32_AC97_SDATA_IN_1  MFP_CFG_IN(GPI    
101                                                   
102 /* I2S */                                         
103 #define GPIO28_I2S_BITCLK_IN    MFP_CFG_IN(GPI    
104 #define GPIO28_I2S_BITCLK_OUT   MFP_CFG_OUT(GP    
105 #define GPIO29_I2S_SDATA_IN     MFP_CFG_IN(GPI    
106 #define GPIO30_I2S_SDATA_OUT    MFP_CFG_OUT(GP    
107 #define GPIO31_I2S_SYNC         MFP_CFG_OUT(GP    
108 #define GPIO32_I2S_SYSCLK       MFP_CFG_OUT(GP    
109                                                   
110 /* SSP 1 */                                       
111 #define GPIO23_SSP1_SCLK        MFP_CFG_OUT(GP    
112 #define GPIO24_SSP1_SFRM        MFP_CFG_OUT(GP    
113 #define GPIO25_SSP1_TXD         MFP_CFG_OUT(GP    
114 #define GPIO26_SSP1_RXD         MFP_CFG_IN(GPI    
115 #define GPIO27_SSP1_EXTCLK      MFP_CFG_IN(GPI    
116                                                   
117 /* SSP 2 - NSSP */                                
118 #define GPIO81_SSP2_CLK_OUT     MFP_CFG_OUT(GP    
119 #define GPIO81_SSP2_CLK_IN      MFP_CFG_IN(GPI    
120 #define GPIO82_SSP2_FRM_OUT     MFP_CFG_OUT(GP    
121 #define GPIO82_SSP2_FRM_IN      MFP_CFG_IN(GPI    
122 #define GPIO83_SSP2_TXD         MFP_CFG_OUT(GP    
123 #define GPIO83_SSP2_RXD         MFP_CFG_IN(GPI    
124 #define GPIO84_SSP2_TXD         MFP_CFG_OUT(GP    
125 #define GPIO84_SSP2_RXD         MFP_CFG_IN(GPI    
126                                                   
127 /* MMC */                                         
128 #define GPIO6_MMC_CLK           MFP_CFG_OUT(GP    
129 #define GPIO8_MMC_CS0           MFP_CFG_OUT(GP    
130 #define GPIO9_MMC_CS1           MFP_CFG_OUT(GP    
131 #define GPIO34_MMC_CS0          MFP_CFG_OUT(GP    
132 #define GPIO39_MMC_CS1          MFP_CFG_OUT(GP    
133 #define GPIO53_MMC_CLK          MFP_CFG_OUT(GP    
134 #define GPIO54_MMC_CLK          MFP_CFG_OUT(GP    
135 #define GPIO69_MMC_CLK          MFP_CFG_OUT(GP    
136 #define GPIO67_MMC_CS0          MFP_CFG_OUT(GP    
137 #define GPIO68_MMC_CS1          MFP_CFG_OUT(GP    
138                                                   
139 /* LCD */                                         
140 #define GPIO58_LCD_LDD_0        MFP_CFG_OUT(GP    
141 #define GPIO59_LCD_LDD_1        MFP_CFG_OUT(GP    
142 #define GPIO60_LCD_LDD_2        MFP_CFG_OUT(GP    
143 #define GPIO61_LCD_LDD_3        MFP_CFG_OUT(GP    
144 #define GPIO62_LCD_LDD_4        MFP_CFG_OUT(GP    
145 #define GPIO63_LCD_LDD_5        MFP_CFG_OUT(GP    
146 #define GPIO64_LCD_LDD_6        MFP_CFG_OUT(GP    
147 #define GPIO65_LCD_LDD_7        MFP_CFG_OUT(GP    
148 #define GPIO66_LCD_LDD_8        MFP_CFG_OUT(GP    
149 #define GPIO67_LCD_LDD_9        MFP_CFG_OUT(GP    
150 #define GPIO68_LCD_LDD_10       MFP_CFG_OUT(GP    
151 #define GPIO69_LCD_LDD_11       MFP_CFG_OUT(GP    
152 #define GPIO70_LCD_LDD_12       MFP_CFG_OUT(GP    
153 #define GPIO71_LCD_LDD_13       MFP_CFG_OUT(GP    
154 #define GPIO72_LCD_LDD_14       MFP_CFG_OUT(GP    
155 #define GPIO73_LCD_LDD_15       MFP_CFG_OUT(GP    
156 #define GPIO74_LCD_FCLK         MFP_CFG_OUT(GP    
157 #define GPIO75_LCD_LCLK         MFP_CFG_OUT(GP    
158 #define GPIO76_LCD_PCLK         MFP_CFG_OUT(GP    
159 #define GPIO77_LCD_BIAS         MFP_CFG_OUT(GP    
160                                                   
161 /* commonly used pin configurations */            
162 #define GPIOxx_LCD_16BPP        \                 
163         GPIO58_LCD_LDD_0,       \                 
164         GPIO59_LCD_LDD_1,       \                 
165         GPIO60_LCD_LDD_2,       \                 
166         GPIO61_LCD_LDD_3,       \                 
167         GPIO62_LCD_LDD_4,       \                 
168         GPIO63_LCD_LDD_5,       \                 
169         GPIO64_LCD_LDD_6,       \                 
170         GPIO65_LCD_LDD_7,       \                 
171         GPIO66_LCD_LDD_8,       \                 
172         GPIO67_LCD_LDD_9,       \                 
173         GPIO68_LCD_LDD_10,      \                 
174         GPIO69_LCD_LDD_11,      \                 
175         GPIO70_LCD_LDD_12,      \                 
176         GPIO71_LCD_LDD_13,      \                 
177         GPIO72_LCD_LDD_14,      \                 
178         GPIO73_LCD_LDD_15                         
179                                                   
180 #define GPIOxx_LCD_DSTN_16BPP   \                 
181         GPIOxx_LCD_16BPP,       \                 
182         GPIO74_LCD_FCLK,        \                 
183         GPIO75_LCD_LCLK,        \                 
184         GPIO76_LCD_PCLK                           
185                                                   
186 #define GPIOxx_LCD_TFT_16BPP    \                 
187         GPIOxx_LCD_16BPP,       \                 
188         GPIO74_LCD_FCLK,        \                 
189         GPIO75_LCD_LCLK,        \                 
190         GPIO76_LCD_PCLK,        \                 
191         GPIO77_LCD_BIAS                           
192                                                   
193 #endif /* __ASM_ARCH_MFP_PXA25X_H */              
194                                                   

~ [ 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