diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-02-15 08:38:23 -0500 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-02-19 03:36:32 -0500 |
commit | 0a5f3b1c9f20eb44142e3b37662de15c944f759d (patch) | |
tree | 4449da00868b3878745c6e18e666ca03e59be2c0 /arch/mips/include/asm/mach-ath79/ar71xx_regs.h | |
parent | e9c0d0aaa3a7a6e66135e8b44f3323143a635098 (diff) |
MIPS: ath79: add PCI controller registration code for the QCA955X SoCs
Add SoC specific PCI IRQ map, and register platform
devices for the two built-in PCIe RCs.
Cc: Rodriguez, Luis <rodrigue@qca.qualcomm.com>
Cc: Giori, Kathy <kgiori@qca.qualcomm.com>
Cc: QCA Linux Team <qca-linux-team@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/4951/
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'arch/mips/include/asm/mach-ath79/ar71xx_regs.h')
-rw-r--r-- | arch/mips/include/asm/mach-ath79/ar71xx_regs.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h index 47282120db1e..b7fa9d14d20f 100644 --- a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h +++ b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h | |||
@@ -94,6 +94,19 @@ | |||
94 | #define AR934X_SRIF_BASE (AR71XX_APB_BASE + 0x00116000) | 94 | #define AR934X_SRIF_BASE (AR71XX_APB_BASE + 0x00116000) |
95 | #define AR934X_SRIF_SIZE 0x1000 | 95 | #define AR934X_SRIF_SIZE 0x1000 |
96 | 96 | ||
97 | #define QCA955X_PCI_MEM_BASE0 0x10000000 | ||
98 | #define QCA955X_PCI_MEM_BASE1 0x12000000 | ||
99 | #define QCA955X_PCI_MEM_SIZE 0x02000000 | ||
100 | #define QCA955X_PCI_CFG_BASE0 0x14000000 | ||
101 | #define QCA955X_PCI_CFG_BASE1 0x16000000 | ||
102 | #define QCA955X_PCI_CFG_SIZE 0x1000 | ||
103 | #define QCA955X_PCI_CRP_BASE0 (AR71XX_APB_BASE + 0x000c0000) | ||
104 | #define QCA955X_PCI_CRP_BASE1 (AR71XX_APB_BASE + 0x00250000) | ||
105 | #define QCA955X_PCI_CRP_SIZE 0x1000 | ||
106 | #define QCA955X_PCI_CTRL_BASE0 (AR71XX_APB_BASE + 0x000f0000) | ||
107 | #define QCA955X_PCI_CTRL_BASE1 (AR71XX_APB_BASE + 0x00280000) | ||
108 | #define QCA955X_PCI_CTRL_SIZE 0x100 | ||
109 | |||
97 | #define QCA955X_WMAC_BASE (AR71XX_APB_BASE + 0x00100000) | 110 | #define QCA955X_WMAC_BASE (AR71XX_APB_BASE + 0x00100000) |
98 | #define QCA955X_WMAC_SIZE 0x20000 | 111 | #define QCA955X_WMAC_SIZE 0x20000 |
99 | 112 | ||