mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-28 01:43:10 +02:00
ar71xx: add AR724x GPIO_FUNC register bit defines
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18561 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
0bf5a55bb7
commit
10b45a8d43
@ -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 New Issue
Block a user