summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/include/mach/db8500-regs.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-05-30 09:12:43 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-30 09:12:43 -0700
commite38c1e54ce51059a1aa8744c895762906cf43b32 (patch)
tree6af00994b3d07da2db3419346f740ae06f3cfe7e /arch/arm/mach-ux500/include/mach/db8500-regs.h
parent3e9345edd8562dc4f9bbca88a598c91c8779a9c4 (diff)
parent7b8ddb06e54ad98edeb7951f317aee4d1feda9d6 (diff)
downloadop-kernel-dev-e38c1e54ce51059a1aa8744c895762906cf43b32.zip
op-kernel-dev-e38c1e54ce51059a1aa8744c895762906cf43b32.tar.gz
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx
* 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx: DMAENGINE: DMA40 U8500 platform configuration DMA: PL330: Add dma api driver
Diffstat (limited to 'arch/arm/mach-ux500/include/mach/db8500-regs.h')
-rw-r--r--arch/arm/mach-ux500/include/mach/db8500-regs.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/include/mach/db8500-regs.h b/arch/arm/mach-ux500/include/mach/db8500-regs.h
index 9169e1e..85fc6a8 100644
--- a/arch/arm/mach-ux500/include/mach/db8500-regs.h
+++ b/arch/arm/mach-ux500/include/mach/db8500-regs.h
@@ -7,6 +7,18 @@
#ifndef __MACH_DB8500_REGS_H
#define __MACH_DB8500_REGS_H
+/* Base address and bank offsets for ESRAM */
+#define U8500_ESRAM_BASE 0x40000000
+#define U8500_ESRAM_BANK_SIZE 0x00020000
+#define U8500_ESRAM_BANK0 U8500_ESRAM_BASE
+#define U8500_ESRAM_BANK1 (U8500_ESRAM_BASE + U8500_ESRAM_BANK_SIZE)
+#define U8500_ESRAM_BANK2 (U8500_ESRAM_BANK1 + U8500_ESRAM_BANK_SIZE)
+#define U8500_ESRAM_BANK3 (U8500_ESRAM_BANK2 + U8500_ESRAM_BANK_SIZE)
+#define U8500_ESRAM_BANK4 (U8500_ESRAM_BANK3 + U8500_ESRAM_BANK_SIZE)
+/* Use bank 4 for DMA LCLA and LCPA */
+#define U8500_DMA_LCLA_BASE U8500_ESRAM_BANK4
+#define U8500_DMA_LCPA_BASE (U8500_ESRAM_BANK4 + 0x4000)
+
#define U8500_PER3_BASE 0x80000000
#define U8500_STM_BASE 0x80100000
#define U8500_STM_REG_BASE (U8500_STM_BASE + 0xF000)
OpenPOWER on IntegriCloud