summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2003-05-25 07:36:45 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-05-25 07:36:45 -0700
commite7684c5cf37eeee423e6bcab2145ec88e5a3c69a (patch)
treeae920a9c41b89f82b9f2cca63a5d85f87dd7326d /include
parentb9d38df17a2cb9bfbdfe46e8732e6f1fd99db4fd (diff)
[PATCH] add support for the DMA of the ColdFire 5282
Add DMA base addresses for the ColdFire 5282 CPU.
Diffstat (limited to 'include')
-rw-r--r--include/asm-m68knommu/mcfdma.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-m68knommu/mcfdma.h b/include/asm-m68knommu/mcfdma.h
index 8cb3727e1b51..98fadce0a6e9 100644
--- a/include/asm-m68knommu/mcfdma.h
+++ b/include/asm-m68knommu/mcfdma.h
@@ -21,6 +21,12 @@
#define MCFDMA_BASE1 0x240 /* Base address of DMA 1 */
#elif defined(CONFIG_M5272)
#define MCFDMA_BASE0 0x0e0 /* Base address of DMA 0 */
+#elif defined(CONFIG_M5282)
+/* These are relative to the IPSBAR, not MBAR */
+#define MCFDMA_BASE0 0x100 /* Base address of DMA 0 */
+#define MCFDMA_BASE1 0x140 /* Base address of DMA 1 */
+#define MCFDMA_BASE2 0x180 /* Base address of DMA 2 */
+#define MCFDMA_BASE3 0x1C0 /* Base address of DMA 3 */
#elif defined(CONFIG_M5249) || defined(CONFIG_M5307) || defined(CONFIG_M5407)
#define MCFDMA_BASE0 0x300 /* Base address of DMA 0 */
#define MCFDMA_BASE1 0x340 /* Base address of DMA 1 */