summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/cavium.h
diff options
context:
space:
mode:
authorJan Glauber <jglauber@cavium.com>2017-03-30 17:31:25 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2017-04-24 21:42:09 +0200
commit166bac38c3c569508e695aca99fdc2def2ae2198 (patch)
tree564c6445a0077a55bfb4a5158b85e65e6797beb3 /drivers/mmc/host/cavium.h
parentmmc: cavium: Add core MMC driver for Cavium SOCs (diff)
downloadlinux-166bac38c3c569508e695aca99fdc2def2ae2198.tar.xz
linux-166bac38c3c569508e695aca99fdc2def2ae2198.zip
mmc: cavium: Add MMC PCI driver for ThunderX SOCs
Add a platform driver for ThunderX ARM SOCs. Signed-off-by: Jan Glauber <jglauber@cavium.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/cavium.h')
-rw-r--r--drivers/mmc/host/cavium.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/mmc/host/cavium.h b/drivers/mmc/host/cavium.h
index f5d2b6156005..66eec210b945 100644
--- a/drivers/mmc/host/cavium.h
+++ b/drivers/mmc/host/cavium.h
@@ -24,6 +24,11 @@
/* DMA register addresses */
#define MIO_EMM_DMA_CFG(x) (0x00 + x->reg_off_dma)
+#define MIO_EMM_DMA_ADR(x) (0x08 + x->reg_off_dma)
+#define MIO_EMM_DMA_INT(x) (0x10 + x->reg_off_dma)
+#define MIO_EMM_DMA_INT_W1S(x) (0x18 + x->reg_off_dma)
+#define MIO_EMM_DMA_INT_ENA_W1S(x) (0x20 + x->reg_off_dma)
+#define MIO_EMM_DMA_INT_ENA_W1C(x) (0x28 + x->reg_off_dma)
/* register addresses */
#define MIO_EMM_CFG(x) (0x00 + x->reg_off)
@@ -39,6 +44,8 @@
#define MIO_EMM_SAMPLE(x) (0x90 + x->reg_off)
#define MIO_EMM_STS_MASK(x) (0x98 + x->reg_off)
#define MIO_EMM_RCA(x) (0xa0 + x->reg_off)
+#define MIO_EMM_INT_EN_SET(x) (0xb0 + x->reg_off)
+#define MIO_EMM_INT_EN_CLR(x) (0xb8 + x->reg_off)
#define MIO_EMM_BUF_IDX(x) (0xe0 + x->reg_off)
#define MIO_EMM_BUF_DAT(x) (0xe8 + x->reg_off)