ar71xx: add AR724x GPIO_FUNC register bit defines
SVN-Revision: 18561
This commit is contained in:
parent
b1e79f5d0f
commit
5e89cb5d31
1 changed files with 18 additions and 0 deletions
|
@ -253,6 +253,24 @@ static inline u32 ar71xx_usb_ctrl_rr(unsigned reg)
|
||||||
|
|
||||||
#define AR71XX_GPIO_COUNT 16
|
#define AR71XX_GPIO_COUNT 16
|
||||||
|
|
||||||
|
#define AR724X_GPIO_FUNC_GE0_MII_CLK_EN BIT(19)
|
||||||
|
#define AR724X_GPIO_FUNC_SPI_EN BIT(18)
|
||||||
|
#define AR724X_GPIO_FUNC_SPI_CS_EN2 BIT(14)
|
||||||
|
#define AR724X_GPIO_FUNC_SPI_CS_EN1 BIT(13)
|
||||||
|
#define AR724X_GPIO_FUNC_CLK_OBS5_EN BIT(12)
|
||||||
|
#define AR724X_GPIO_FUNC_CLK_OBS4_EN BIT(11)
|
||||||
|
#define AR724X_GPIO_FUNC_CLK_OBS3_EN BIT(10)
|
||||||
|
#define AR724X_GPIO_FUNC_CLK_OBS2_EN BIT(9)
|
||||||
|
#define AR724X_GPIO_FUNC_CLK_OBS1_EN BIT(8)
|
||||||
|
#define AR724X_GPIO_FUNC_ETH_SWITCH_LED4_EN BIT(7)
|
||||||
|
#define AR724X_GPIO_FUNC_ETH_SWITCH_LED3_EN BIT(6)
|
||||||
|
#define AR724X_GPIO_FUNC_ETH_SWITCH_LED2_EN BIT(5)
|
||||||
|
#define AR724X_GPIO_FUNC_ETH_SWITCH_LED1_EN BIT(4)
|
||||||
|
#define AR724X_GPIO_FUNC_ETH_SWITCH_LED0_EN BIT(3)
|
||||||
|
#define AR724X_GPIO_FUNC_UART_RTS_CTS_EN BIT(2)
|
||||||
|
#define AR724X_GPIO_FUNC_UART_EN BIT(1)
|
||||||
|
#define AR724X_GPIO_FUNC_JTAG_DISABLE BIT(0)
|
||||||
|
|
||||||
#define AR724X_GPIO_COUNT 18
|
#define AR724X_GPIO_COUNT 18
|
||||||
|
|
||||||
#define AR91XX_GPIO_FUNC_WMAC_LED_EN BIT(22)
|
#define AR91XX_GPIO_FUNC_WMAC_LED_EN BIT(22)
|
||||||
|
|
Loading…
Reference in a new issue