summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/mach-ath79/ar71xx_regs.h
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-11-18 00:17:53 +0000
committerRalf Baechle <ralf@linux-mips.org>2011-12-07 22:02:48 +0000
commit34cfcd26bd34884e9bcbbfae4f87b36e42931c30 (patch)
tree45cf0ceb5001f50a4933b04527d3c42235a27ff8 /arch/mips/include/asm/mach-ath79/ar71xx_regs.h
parent6903bb49da18e0bf3e2909e6b1342ee9a26b78ff (diff)
MIPS: ath79: Add AR933x specific WMAC setup code
The wireless MAC of the AR933x SoCs uses different base address, and requires different setup code. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: Imre Kaloz <kaloz@openwrt.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/3030/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/mach-ath79/ar71xx_regs.h')
-rw-r--r--arch/mips/include/asm/mach-ath79/ar71xx_regs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h
index 733bacace778..2f0becb4ec8f 100644
--- a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h
+++ b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h
@@ -55,7 +55,8 @@
#define AR933X_UART_BASE (AR71XX_APB_BASE + 0x00020000)
#define AR933X_UART_SIZE 0x14
-
+#define AR933X_WMAC_BASE (AR71XX_APB_BASE + 0x00100000)
+#define AR933X_WMAC_SIZE 0x20000
#define AR933X_EHCI_BASE 0x1b000000
#define AR933X_EHCI_SIZE 0x1000
@@ -233,6 +234,7 @@
#define AR913X_RESET_USB_HOST BIT(5)
#define AR913X_RESET_USB_PHY BIT(4)
+#define AR933X_RESET_WMAC BIT(11)
#define AR933X_RESET_USB_HOST BIT(5)
#define AR933X_RESET_USB_PHY BIT(4)
#define AR933X_RESET_USBSUS_OVERRIDE BIT(3)