2
0
forked from Ivasoft/openwrt

ar71xx: fix GPIO function handling on AR934x

SVN-Revision: 29124
This commit is contained in:
Gabor Juhos
2011-11-14 17:43:13 +00:00
parent aa0c8c4885
commit 0c1d3617d7
2 changed files with 35 additions and 9 deletions

View File

@@ -430,6 +430,8 @@ static inline u32 ar71xx_usb_ctrl_rr(unsigned reg)
#define AR71XX_GPIO_REG_INT_ENABLE 0x24
#define AR71XX_GPIO_REG_FUNC 0x28
#define AR934X_GPIO_REG_FUNC 0x6c
#define AR71XX_GPIO_FUNC_STEREO_EN BIT(17)
#define AR71XX_GPIO_FUNC_SLIC_EN BIT(16)
#define AR71XX_GPIO_FUNC_SPI_CS2_EN BIT(13)