mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ar71xx: enable GPIO support for the AR934x SoCs
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26513 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -427,6 +427,12 @@ static inline u32 ar71xx_usb_ctrl_rr(unsigned reg)
|
||||
|
||||
#define AR91XX_GPIO_COUNT 22
|
||||
|
||||
#define AR934X_GPIO_FUNC_SPI_CS_1_EN BIT(14)
|
||||
#define AR934X_GPIO_FUNC_SPI_CS_0_EN BIT(13)
|
||||
|
||||
#define AR934X_GPIO_COUNT 32
|
||||
#define AR934X_GPIO_FUNC_DDR_DQOE_EN BIT(17)
|
||||
|
||||
extern void __iomem *ar71xx_gpio_base;
|
||||
|
||||
static inline void ar71xx_gpio_wr(unsigned reg, u32 value)
|
||||
|
||||
Reference in New Issue
Block a user