summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/include/asm
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-01 19:38:26 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-01 19:38:26 +0000
commitb76d0eff6f8e6259c3401d1177b9678cf430dec3 (patch)
tree111fff91c403de0a9f0f94e7ae63fa8aedc8b0e1 /target/linux/ar71xx/files/arch/mips/include/asm
parentd50a571483dac99669d07e627b841d4289a62e3d (diff)
[ar71xx] initialize GPIO for the AR7240 SoC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16647 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/include/asm')
-rw-r--r--target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h
index 8a45a0c90..14e5fe3dd 100644
--- a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h
+++ b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h
@@ -238,6 +238,8 @@ static inline u32 ar71xx_usb_ctrl_rr(unsigned reg)
#define AR71XX_GPIO_COUNT 16
+#define AR724X_GPIO_COUNT 16
+
#define AR91XX_GPIO_FUNC_WMAC_LED_EN BIT(22)
#define AR91XX_GPIO_FUNC_EXP_PORT_CS_EN BIT(21)
#define AR91XX_GPIO_FUNC_I2S_REFCLKEN BIT(20)