summaryrefslogtreecommitdiffstats
path: root/sys/mips
diff options
context:
space:
mode:
authorgonzo <gonzo@FreeBSD.org>2010-09-29 21:01:16 +0000
committergonzo <gonzo@FreeBSD.org>2010-09-29 21:01:16 +0000
commit0583e2fd2e4445a5898268ce56dc18fd66d6dd9f (patch)
tree461af349b2e880c22d3a10447ee357ee1ce9c83e /sys/mips
parent8485d443f7e15d5a7689d30b612ea72d2add4641 (diff)
downloadFreeBSD-src-0583e2fd2e4445a5898268ce56dc18fd66d6dd9f.zip
FreeBSD-src-0583e2fd2e4445a5898268ce56dc18fd66d6dd9f.tar.gz
AR71XX_GPIO_* defines were introduced by adrian@ a while ago,
remove duplicated.
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/atheros/ar71xxreg.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/mips/atheros/ar71xxreg.h b/sys/mips/atheros/ar71xxreg.h
index 655a885..2ee8baa 100644
--- a/sys/mips/atheros/ar71xxreg.h
+++ b/sys/mips/atheros/ar71xxreg.h
@@ -160,21 +160,6 @@
#define GPIO_FUNC_USB_OC_EN (1 << 4)
#define GPIO_FUNC_USB_CLK_EN (0)
-#define AR71XX_GPIO_BASE 0x18040000
-#define AR71XX_GPIO_OE 0x00
-#define AR71XX_GPIO_IN 0x04
-#define AR71XX_GPIO_OUT 0x08
-#define AR71XX_GPIO_SET 0x0c
-#define AR71XX_GPIO_CLEAR 0x10
-#define AR71XX_GPIO_INT 0x14
-#define AR71XX_GPIO_INT_TYPE 0x18
-#define AR71XX_GPIO_INT_POLARITY 0x1c
-#define AR71XX_GPIO_INT_PENDING 0x20
-#define AR71XX_GPIO_INT_MASK 0x24
-#define AR71XX_GPIO_FUNCTION 0x28
-#define GPIO_SPI_CS2_EN (1 << 13)
-#define GPIO_SPI_CS1_EN (1 << 12)
-
#define AR71XX_BASE_FREQ 40000000
#define AR71XX_PLL_CPU_BASE 0x18050000
#define AR71XX_PLL_CPU_CONFIG 0x18050000
OpenPOWER on IntegriCloud