xref: /linux/arch/arm/mach-pxa/mfp-pxa25x.h (revision b24413180f5600bcb3bb70fbed5cf186b60864bd)
1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
24c25c5d2SArnd Bergmann #ifndef __ASM_ARCH_MFP_PXA25X_H
34c25c5d2SArnd Bergmann #define __ASM_ARCH_MFP_PXA25X_H
44c25c5d2SArnd Bergmann 
54c25c5d2SArnd Bergmann #include "mfp-pxa2xx.h"
64c25c5d2SArnd Bergmann 
74c25c5d2SArnd Bergmann /* GPIO */
84c25c5d2SArnd Bergmann #define GPIO2_GPIO		MFP_CFG_IN(GPIO2, AF0)
94c25c5d2SArnd Bergmann #define GPIO3_GPIO		MFP_CFG_IN(GPIO3, AF0)
104c25c5d2SArnd Bergmann #define GPIO4_GPIO		MFP_CFG_IN(GPIO4, AF0)
114c25c5d2SArnd Bergmann #define GPIO5_GPIO		MFP_CFG_IN(GPIO5, AF0)
124c25c5d2SArnd Bergmann #define GPIO6_GPIO		MFP_CFG_IN(GPIO6, AF0)
134c25c5d2SArnd Bergmann #define GPIO7_GPIO		MFP_CFG_IN(GPIO7, AF0)
144c25c5d2SArnd Bergmann #define GPIO8_GPIO		MFP_CFG_IN(GPIO8, AF0)
154c25c5d2SArnd Bergmann 
164c25c5d2SArnd Bergmann #define GPIO1_RST		MFP_CFG_IN(GPIO1, AF1)
174c25c5d2SArnd Bergmann 
184c25c5d2SArnd Bergmann /* Crystal and Clock Signals */
194c25c5d2SArnd Bergmann #define GPIO10_RTCCLK		MFP_CFG_OUT(GPIO10, AF1, DRIVE_LOW)
204c25c5d2SArnd Bergmann #define GPIO70_RTCCLK		MFP_CFG_OUT(GPIO70, AF1, DRIVE_LOW)
214c25c5d2SArnd Bergmann #define GPIO7_48MHz		MFP_CFG_OUT(GPIO7,  AF1, DRIVE_LOW)
224c25c5d2SArnd Bergmann #define GPIO11_3_6MHz		MFP_CFG_OUT(GPIO11, AF1, DRIVE_LOW)
234c25c5d2SArnd Bergmann #define GPIO71_3_6MHz		MFP_CFG_OUT(GPIO71, AF1, DRIVE_LOW)
244c25c5d2SArnd Bergmann #define GPIO12_32KHz		MFP_CFG_OUT(GPIO12, AF1, DRIVE_LOW)
254c25c5d2SArnd Bergmann #define GPIO72_32kHz		MFP_CFG_OUT(GPIO72, AF1, DRIVE_LOW)
264c25c5d2SArnd Bergmann 
274c25c5d2SArnd Bergmann /* SDRAM and Static Memory I/O Signals */
284c25c5d2SArnd Bergmann #define GPIO15_nCS_1		MFP_CFG_OUT(GPIO15, AF2, DRIVE_HIGH)
294c25c5d2SArnd Bergmann #define GPIO78_nCS_2		MFP_CFG_OUT(GPIO78, AF2, DRIVE_HIGH)
304c25c5d2SArnd Bergmann #define GPIO79_nCS_3		MFP_CFG_OUT(GPIO79, AF2, DRIVE_HIGH)
314c25c5d2SArnd Bergmann #define GPIO80_nCS_4		MFP_CFG_OUT(GPIO80, AF2, DRIVE_HIGH)
324c25c5d2SArnd Bergmann #define GPIO33_nCS_5		MFP_CFG_OUT(GPIO33, AF2, DRIVE_HIGH)
334c25c5d2SArnd Bergmann 
344c25c5d2SArnd Bergmann /* Miscellaneous I/O and DMA Signals */
354c25c5d2SArnd Bergmann #define GPIO18_RDY		MFP_CFG_IN(GPIO18, AF1)
364c25c5d2SArnd Bergmann #define GPIO20_DREQ_0		MFP_CFG_IN(GPIO20, AF1)
374c25c5d2SArnd Bergmann #define GPIO19_DREQ_1		MFP_CFG_IN(GPIO19, AF1)
384c25c5d2SArnd Bergmann 
394c25c5d2SArnd Bergmann /* Alternate Bus Master Mode I/O Signals */
404c25c5d2SArnd Bergmann #define GPIO13_MBGNT		MFP_CFG_OUT(GPIO13, AF2, DRIVE_LOW)
414c25c5d2SArnd Bergmann #define GPIO73_MBGNT		MFP_CFG_OUT(GPIO73, AF1, DRIVE_LOW)
424c25c5d2SArnd Bergmann #define GPIO14_MBREQ		MFP_CFG_IN(GPIO14, AF1)
434c25c5d2SArnd Bergmann #define GPIO66_MBREQ		MFP_CFG_IN(GPIO66, AF1)
444c25c5d2SArnd Bergmann 
454c25c5d2SArnd Bergmann /* PC CARD */
464c25c5d2SArnd Bergmann #define GPIO52_nPCE_1		MFP_CFG_OUT(GPIO52, AF2, DRIVE_HIGH)
474c25c5d2SArnd Bergmann #define GPIO53_nPCE_2		MFP_CFG_OUT(GPIO53, AF2, DRIVE_HIGH)
484c25c5d2SArnd Bergmann #define GPIO55_nPREG		MFP_CFG_OUT(GPIO55, AF2, DRIVE_HIGH)
494c25c5d2SArnd Bergmann #define GPIO50_nPIOR		MFP_CFG_OUT(GPIO50, AF2, DRIVE_HIGH)
504c25c5d2SArnd Bergmann #define GPIO51_nPIOW		MFP_CFG_OUT(GPIO51, AF2, DRIVE_HIGH)
514c25c5d2SArnd Bergmann #define GPIO49_nPWE		MFP_CFG_OUT(GPIO49, AF2, DRIVE_HIGH)
524c25c5d2SArnd Bergmann #define GPIO48_nPOE		MFP_CFG_OUT(GPIO48, AF2, DRIVE_HIGH)
534c25c5d2SArnd Bergmann #define GPIO57_nIOIS16		MFP_CFG_IN(GPIO57, AF1)
544c25c5d2SArnd Bergmann #define GPIO56_nPWAIT		MFP_CFG_IN(GPIO56, AF1)
554c25c5d2SArnd Bergmann #define GPIO54_nPSKTSEL		MFP_CFG_OUT(GPIO54, AF2, DRIVE_HIGH)
564c25c5d2SArnd Bergmann 
574c25c5d2SArnd Bergmann /* FFUART */
584c25c5d2SArnd Bergmann #define GPIO34_FFUART_RXD	MFP_CFG_IN(GPIO34, AF1)
594c25c5d2SArnd Bergmann #define GPIO35_FFUART_CTS	MFP_CFG_IN(GPIO35, AF1)
604c25c5d2SArnd Bergmann #define GPIO36_FFUART_DCD	MFP_CFG_IN(GPIO36, AF1)
614c25c5d2SArnd Bergmann #define GPIO37_FFUART_DSR	MFP_CFG_IN(GPIO37, AF1)
624c25c5d2SArnd Bergmann #define GPIO38_FFUART_RI	MFP_CFG_IN(GPIO38, AF1)
634c25c5d2SArnd Bergmann #define GPIO39_FFUART_TXD	MFP_CFG_OUT(GPIO39, AF2, DRIVE_HIGH)
644c25c5d2SArnd Bergmann #define GPIO40_FFUART_DTR	MFP_CFG_OUT(GPIO40, AF2, DRIVE_HIGH)
654c25c5d2SArnd Bergmann #define GPIO41_FFUART_RTS	MFP_CFG_OUT(GPIO41, AF2, DRIVE_HIGH)
664c25c5d2SArnd Bergmann 
674c25c5d2SArnd Bergmann /* BTUART */
684c25c5d2SArnd Bergmann #define GPIO42_BTUART_RXD	MFP_CFG_IN(GPIO42, AF1)
694c25c5d2SArnd Bergmann #define GPIO43_BTUART_TXD	MFP_CFG_OUT(GPIO43, AF2, DRIVE_HIGH)
704c25c5d2SArnd Bergmann #define GPIO44_BTUART_CTS	MFP_CFG_IN(GPIO44, AF1)
714c25c5d2SArnd Bergmann #define GPIO45_BTUART_RTS	MFP_CFG_OUT(GPIO45, AF2, DRIVE_HIGH)
724c25c5d2SArnd Bergmann 
734c25c5d2SArnd Bergmann /* STUART */
744c25c5d2SArnd Bergmann #define GPIO46_STUART_RXD	MFP_CFG_IN(GPIO46, AF2)
754c25c5d2SArnd Bergmann #define GPIO47_STUART_TXD	MFP_CFG_OUT(GPIO47, AF1, DRIVE_HIGH)
764c25c5d2SArnd Bergmann 
774c25c5d2SArnd Bergmann /* HWUART */
784c25c5d2SArnd Bergmann #define GPIO42_HWUART_RXD	MFP_CFG_IN(GPIO42, AF3)
794c25c5d2SArnd Bergmann #define GPIO43_HWUART_TXD	MFP_CFG_OUT(GPIO43, AF3, DRIVE_HIGH)
804c25c5d2SArnd Bergmann #define GPIO44_HWUART_CTS	MFP_CFG_IN(GPIO44, AF3)
814c25c5d2SArnd Bergmann #define GPIO45_HWUART_RTS	MFP_CFG_OUT(GPIO45, AF3, DRIVE_HIGH)
824c25c5d2SArnd Bergmann #define GPIO48_HWUART_TXD	MFP_CFG_OUT(GPIO48, AF1, DRIVE_HIGH)
834c25c5d2SArnd Bergmann #define GPIO49_HWUART_RXD	MFP_CFG_IN(GPIO49, AF1)
844c25c5d2SArnd Bergmann #define GPIO50_HWUART_CTS	MFP_CFG_IN(GPIO50, AF1)
854c25c5d2SArnd Bergmann #define GPIO51_HWUART_RTS	MFP_CFG_OUT(GPIO51, AF1, DRIVE_HIGH)
864c25c5d2SArnd Bergmann 
874c25c5d2SArnd Bergmann /* FICP */
884c25c5d2SArnd Bergmann #define GPIO46_FICP_RXD		MFP_CFG_IN(GPIO46, AF1)
894c25c5d2SArnd Bergmann #define GPIO47_FICP_TXD		MFP_CFG_OUT(GPIO47, AF2, DRIVE_HIGH)
904c25c5d2SArnd Bergmann 
914c25c5d2SArnd Bergmann /* PWM 0/1 */
924c25c5d2SArnd Bergmann #define GPIO16_PWM0_OUT		MFP_CFG_OUT(GPIO16, AF2, DRIVE_LOW)
934c25c5d2SArnd Bergmann #define GPIO17_PWM1_OUT		MFP_CFG_OUT(GPIO17, AF2, DRIVE_LOW)
944c25c5d2SArnd Bergmann 
954c25c5d2SArnd Bergmann /* AC97 */
964c25c5d2SArnd Bergmann #define GPIO28_AC97_BITCLK	MFP_CFG_IN(GPIO28, AF1)
974c25c5d2SArnd Bergmann #define GPIO29_AC97_SDATA_IN_0	MFP_CFG_IN(GPIO29, AF1)
984c25c5d2SArnd Bergmann #define GPIO30_AC97_SDATA_OUT	MFP_CFG_OUT(GPIO30, AF2, DRIVE_LOW)
994c25c5d2SArnd Bergmann #define GPIO31_AC97_SYNC	MFP_CFG_OUT(GPIO31, AF2, DRIVE_LOW)
1004c25c5d2SArnd Bergmann #define GPIO32_AC97_SDATA_IN_1	MFP_CFG_IN(GPIO32, AF1)
1014c25c5d2SArnd Bergmann 
1024c25c5d2SArnd Bergmann /* I2S */
1034c25c5d2SArnd Bergmann #define GPIO28_I2S_BITCLK_IN	MFP_CFG_IN(GPIO28, AF2)
1044c25c5d2SArnd Bergmann #define GPIO28_I2S_BITCLK_OUT	MFP_CFG_OUT(GPIO28, AF1, DRIVE_LOW)
1054c25c5d2SArnd Bergmann #define GPIO29_I2S_SDATA_IN	MFP_CFG_IN(GPIO29, AF2)
1064c25c5d2SArnd Bergmann #define GPIO30_I2S_SDATA_OUT	MFP_CFG_OUT(GPIO30, AF1, DRIVE_LOW)
1074c25c5d2SArnd Bergmann #define GPIO31_I2S_SYNC		MFP_CFG_OUT(GPIO31, AF1, DRIVE_LOW)
1084c25c5d2SArnd Bergmann #define GPIO32_I2S_SYSCLK	MFP_CFG_OUT(GPIO32, AF1, DRIVE_LOW)
1094c25c5d2SArnd Bergmann 
1104c25c5d2SArnd Bergmann /* SSP 1 */
1114c25c5d2SArnd Bergmann #define GPIO23_SSP1_SCLK	MFP_CFG_OUT(GPIO23, AF2, DRIVE_LOW)
1124c25c5d2SArnd Bergmann #define GPIO24_SSP1_SFRM	MFP_CFG_OUT(GPIO24, AF2, DRIVE_LOW)
1134c25c5d2SArnd Bergmann #define GPIO25_SSP1_TXD		MFP_CFG_OUT(GPIO25, AF2, DRIVE_LOW)
1144c25c5d2SArnd Bergmann #define GPIO26_SSP1_RXD		MFP_CFG_IN(GPIO26, AF1)
1154c25c5d2SArnd Bergmann #define GPIO27_SSP1_EXTCLK	MFP_CFG_IN(GPIO27, AF1)
1164c25c5d2SArnd Bergmann 
1174c25c5d2SArnd Bergmann /* SSP 2 - NSSP */
1184c25c5d2SArnd Bergmann #define GPIO81_SSP2_CLK_OUT 	MFP_CFG_OUT(GPIO81, AF1, DRIVE_LOW)
1194c25c5d2SArnd Bergmann #define GPIO81_SSP2_CLK_IN  	MFP_CFG_IN(GPIO81, AF1)
1204c25c5d2SArnd Bergmann #define GPIO82_SSP2_FRM_OUT 	MFP_CFG_OUT(GPIO82, AF1, DRIVE_LOW)
1214c25c5d2SArnd Bergmann #define GPIO82_SSP2_FRM_IN  	MFP_CFG_IN(GPIO82, AF1)
1224c25c5d2SArnd Bergmann #define GPIO83_SSP2_TXD      	MFP_CFG_OUT(GPIO83, AF1, DRIVE_LOW)
1234c25c5d2SArnd Bergmann #define GPIO83_SSP2_RXD      	MFP_CFG_IN(GPIO83, AF2)
1244c25c5d2SArnd Bergmann #define GPIO84_SSP2_TXD      	MFP_CFG_OUT(GPIO84, AF1, DRIVE_LOW)
1254c25c5d2SArnd Bergmann #define GPIO84_SSP2_RXD      	MFP_CFG_IN(GPIO84, AF2)
1264c25c5d2SArnd Bergmann 
1274c25c5d2SArnd Bergmann /* MMC */
1284c25c5d2SArnd Bergmann #define GPIO6_MMC_CLK		MFP_CFG_OUT(GPIO6, AF1, DRIVE_LOW)
1294c25c5d2SArnd Bergmann #define GPIO8_MMC_CS0		MFP_CFG_OUT(GPIO8, AF1, DRIVE_LOW)
1304c25c5d2SArnd Bergmann #define GPIO9_MMC_CS1		MFP_CFG_OUT(GPIO9, AF1, DRIVE_LOW)
1314c25c5d2SArnd Bergmann #define GPIO34_MMC_CS0		MFP_CFG_OUT(GPIO34, AF2, DRIVE_LOW)
1324c25c5d2SArnd Bergmann #define GPIO39_MMC_CS1		MFP_CFG_OUT(GPIO39, AF1, DRIVE_LOW)
1334c25c5d2SArnd Bergmann #define GPIO53_MMC_CLK		MFP_CFG_OUT(GPIO53, AF1, DRIVE_LOW)
1344c25c5d2SArnd Bergmann #define GPIO54_MMC_CLK		MFP_CFG_OUT(GPIO54, AF1, DRIVE_LOW)
1354c25c5d2SArnd Bergmann #define GPIO69_MMC_CLK		MFP_CFG_OUT(GPIO69, AF1, DRIVE_LOW)
1364c25c5d2SArnd Bergmann #define GPIO67_MMC_CS0		MFP_CFG_OUT(GPIO67, AF1, DRIVE_LOW)
1374c25c5d2SArnd Bergmann #define GPIO68_MMC_CS1		MFP_CFG_OUT(GPIO68, AF1, DRIVE_LOW)
1384c25c5d2SArnd Bergmann 
1394c25c5d2SArnd Bergmann /* LCD */
1404c25c5d2SArnd Bergmann #define GPIO58_LCD_LDD_0	MFP_CFG_OUT(GPIO58, AF2, DRIVE_LOW)
1414c25c5d2SArnd Bergmann #define GPIO59_LCD_LDD_1	MFP_CFG_OUT(GPIO59, AF2, DRIVE_LOW)
1424c25c5d2SArnd Bergmann #define GPIO60_LCD_LDD_2	MFP_CFG_OUT(GPIO60, AF2, DRIVE_LOW)
1434c25c5d2SArnd Bergmann #define GPIO61_LCD_LDD_3	MFP_CFG_OUT(GPIO61, AF2, DRIVE_LOW)
1444c25c5d2SArnd Bergmann #define GPIO62_LCD_LDD_4	MFP_CFG_OUT(GPIO62, AF2, DRIVE_LOW)
1454c25c5d2SArnd Bergmann #define GPIO63_LCD_LDD_5	MFP_CFG_OUT(GPIO63, AF2, DRIVE_LOW)
1464c25c5d2SArnd Bergmann #define GPIO64_LCD_LDD_6	MFP_CFG_OUT(GPIO64, AF2, DRIVE_LOW)
1474c25c5d2SArnd Bergmann #define GPIO65_LCD_LDD_7	MFP_CFG_OUT(GPIO65, AF2, DRIVE_LOW)
1484c25c5d2SArnd Bergmann #define GPIO66_LCD_LDD_8	MFP_CFG_OUT(GPIO66, AF2, DRIVE_LOW)
1494c25c5d2SArnd Bergmann #define GPIO67_LCD_LDD_9	MFP_CFG_OUT(GPIO67, AF2, DRIVE_LOW)
1504c25c5d2SArnd Bergmann #define GPIO68_LCD_LDD_10	MFP_CFG_OUT(GPIO68, AF2, DRIVE_LOW)
1514c25c5d2SArnd Bergmann #define GPIO69_LCD_LDD_11	MFP_CFG_OUT(GPIO69, AF2, DRIVE_LOW)
1524c25c5d2SArnd Bergmann #define GPIO70_LCD_LDD_12	MFP_CFG_OUT(GPIO70, AF2, DRIVE_LOW)
1534c25c5d2SArnd Bergmann #define GPIO71_LCD_LDD_13	MFP_CFG_OUT(GPIO71, AF2, DRIVE_LOW)
1544c25c5d2SArnd Bergmann #define GPIO72_LCD_LDD_14	MFP_CFG_OUT(GPIO72, AF2, DRIVE_LOW)
1554c25c5d2SArnd Bergmann #define GPIO73_LCD_LDD_15	MFP_CFG_OUT(GPIO73, AF2, DRIVE_LOW)
1564c25c5d2SArnd Bergmann #define GPIO74_LCD_FCLK		MFP_CFG_OUT(GPIO74, AF2, DRIVE_LOW)
1574c25c5d2SArnd Bergmann #define GPIO75_LCD_LCLK		MFP_CFG_OUT(GPIO75, AF2, DRIVE_LOW)
1584c25c5d2SArnd Bergmann #define GPIO76_LCD_PCLK		MFP_CFG_OUT(GPIO76, AF2, DRIVE_LOW)
1594c25c5d2SArnd Bergmann #define GPIO77_LCD_BIAS		MFP_CFG_OUT(GPIO77, AF2, DRIVE_LOW)
1604c25c5d2SArnd Bergmann 
1614c25c5d2SArnd Bergmann #ifdef CONFIG_CPU_PXA26x
1624c25c5d2SArnd Bergmann /* GPIO */
1634c25c5d2SArnd Bergmann #define GPIO85_GPIO		MFP_CFG_IN(GPIO85, AF0)
1644c25c5d2SArnd Bergmann #define GPIO86_GPIO		MFP_CFG_IN(GPIO86, AF1)
1654c25c5d2SArnd Bergmann #define GPIO87_GPIO		MFP_CFG_IN(GPIO87, AF1)
1664c25c5d2SArnd Bergmann #define GPIO88_GPIO		MFP_CFG_IN(GPIO88, AF1)
1674c25c5d2SArnd Bergmann #define GPIO89_GPIO		MFP_CFG_IN(GPIO89, AF1)
1684c25c5d2SArnd Bergmann 
1694c25c5d2SArnd Bergmann /* SDRAM */
1704c25c5d2SArnd Bergmann #define GPIO86_nSDCS2		MFP_CFG_OUT(GPIO86, AF0, DRIVE_HIGH)
1714c25c5d2SArnd Bergmann #define GPIO87_nSDCS3		MFP_CFG_OUT(GPIO87, AF0, DRIVE_HIGH)
1724c25c5d2SArnd Bergmann #define GPIO88_RDnWR		MFP_CFG_OUT(GPIO88, AF0, DRIVE_HIGH)
1734c25c5d2SArnd Bergmann 
1744c25c5d2SArnd Bergmann /* USB */
1754c25c5d2SArnd Bergmann #define GPIO9_USB_RCV		MFP_CFG_IN(GPIO9, AF1)
1764c25c5d2SArnd Bergmann #define GPIO32_USB_VP		MFP_CFG_IN(GPIO32, AF2)
1774c25c5d2SArnd Bergmann #define GPIO34_USB_VM		MFP_CFG_IN(GPIO34, AF2)
1784c25c5d2SArnd Bergmann #define GPIO39_USB_VPO		MFP_CFG_OUT(GPIO39, AF3, DRIVE_LOW)
1794c25c5d2SArnd Bergmann #define GPIO56_USB_VMO		MFP_CFG_OUT(GPIO56, AF1, DRIVE_LOW)
1804c25c5d2SArnd Bergmann #define GPIO57_USB_nOE		MFP_CFG_OUT(GPIO57, AF1, DRIVE_HIGH)
1814c25c5d2SArnd Bergmann 
1824c25c5d2SArnd Bergmann /* ASSP */
1834c25c5d2SArnd Bergmann #define GPIO28_ASSP_BITCLK_IN	MFP_CFG_IN(GPIO28, AF3)
1844c25c5d2SArnd Bergmann #define GPIO28_ASSP_BITCLK_OUT	MFP_CFG_OUT(GPIO28, AF3, DRIVE_LOW)
1854c25c5d2SArnd Bergmann #define GPIO29_ASSP_RXD		MFP_CFG_IN(GPIO29, AF3)
1864c25c5d2SArnd Bergmann #define GPIO30_ASSP_TXD		MFP_CFG_OUT(GPIO30, AF3, DRIVE_LOW)
1874c25c5d2SArnd Bergmann #define GPIO31_ASSP_SFRM_IN	MFP_CFG_IN(GPIO31, AF1)
1884c25c5d2SArnd Bergmann #define GPIO31_ASSP_SFRM_OUT	MFP_CFG_OUT(GPIO31, AF3, DRIVE_LOW)
1894c25c5d2SArnd Bergmann 
1904c25c5d2SArnd Bergmann /* AC97 */
1914c25c5d2SArnd Bergmann #define GPIO89_AC97_nRESET	MFP_CFG_OUT(GPIO89, AF0, DRIVE_HIGH)
1924c25c5d2SArnd Bergmann #endif	/* CONFIG_CPU_PXA26x */
1934c25c5d2SArnd Bergmann 
1944c25c5d2SArnd Bergmann /* commonly used pin configurations */
1954c25c5d2SArnd Bergmann #define GPIOxx_LCD_16BPP	\
1964c25c5d2SArnd Bergmann 	GPIO58_LCD_LDD_0,	\
1974c25c5d2SArnd Bergmann 	GPIO59_LCD_LDD_1,	\
1984c25c5d2SArnd Bergmann 	GPIO60_LCD_LDD_2,	\
1994c25c5d2SArnd Bergmann 	GPIO61_LCD_LDD_3,	\
2004c25c5d2SArnd Bergmann 	GPIO62_LCD_LDD_4,	\
2014c25c5d2SArnd Bergmann 	GPIO63_LCD_LDD_5,	\
2024c25c5d2SArnd Bergmann 	GPIO64_LCD_LDD_6,	\
2034c25c5d2SArnd Bergmann 	GPIO65_LCD_LDD_7,	\
2044c25c5d2SArnd Bergmann 	GPIO66_LCD_LDD_8,	\
2054c25c5d2SArnd Bergmann 	GPIO67_LCD_LDD_9,	\
2064c25c5d2SArnd Bergmann 	GPIO68_LCD_LDD_10,	\
2074c25c5d2SArnd Bergmann 	GPIO69_LCD_LDD_11,	\
2084c25c5d2SArnd Bergmann 	GPIO70_LCD_LDD_12,	\
2094c25c5d2SArnd Bergmann 	GPIO71_LCD_LDD_13,	\
2104c25c5d2SArnd Bergmann 	GPIO72_LCD_LDD_14,	\
2114c25c5d2SArnd Bergmann 	GPIO73_LCD_LDD_15
2124c25c5d2SArnd Bergmann 
2134c25c5d2SArnd Bergmann #define GPIOxx_LCD_DSTN_16BPP	\
2144c25c5d2SArnd Bergmann 	GPIOxx_LCD_16BPP,	\
2154c25c5d2SArnd Bergmann 	GPIO74_LCD_FCLK,	\
2164c25c5d2SArnd Bergmann 	GPIO75_LCD_LCLK,	\
2174c25c5d2SArnd Bergmann 	GPIO76_LCD_PCLK
2184c25c5d2SArnd Bergmann 
2194c25c5d2SArnd Bergmann #define GPIOxx_LCD_TFT_16BPP	\
2204c25c5d2SArnd Bergmann 	GPIOxx_LCD_16BPP,	\
2214c25c5d2SArnd Bergmann 	GPIO74_LCD_FCLK,	\
2224c25c5d2SArnd Bergmann 	GPIO75_LCD_LCLK,	\
2234c25c5d2SArnd Bergmann 	GPIO76_LCD_PCLK,	\
2244c25c5d2SArnd Bergmann 	GPIO77_LCD_BIAS
2254c25c5d2SArnd Bergmann 
2264c25c5d2SArnd Bergmann #endif /* __ASM_ARCH_MFP_PXA25X_H */
227