summaryrefslogtreecommitdiffstats
path: root/arch/avr32/mach-at32ap/include/mach
diff options
context:
space:
mode:
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-07-31 16:06:58 +0200
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-08-08 12:42:14 +0200
commita8d902db221e1e2dcbbd32efbf89055ed69f8e56 (patch)
tree5005b8f5cffbcd5832806bdd8129a6a230068e42 /arch/avr32/mach-at32ap/include/mach
parent8f8a59c664e976f0c32d7d4550fd99dca7c4ef7b (diff)
downloadlinux-a8d902db221e1e2dcbbd32efbf89055ed69f8e56.tar.gz
linux-a8d902db221e1e2dcbbd32efbf89055ed69f8e56.tar.xz
avr32: Add MMIO address definitions for certain controllers
Hardcoded MMIO base addresses are used a few places throughout the platform code. Move these into the chip-specific header file so that adding support for new chips becomes a bit easier. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/mach-at32ap/include/mach')
-rw-r--r--arch/avr32/mach-at32ap/include/mach/at32ap700x.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/avr32/mach-at32ap/include/mach/at32ap700x.h b/arch/avr32/mach-at32ap/include/mach/at32ap700x.h
index d18a3053be0d..31b44e13ec32 100644
--- a/arch/avr32/mach-at32ap/include/mach/at32ap700x.h
+++ b/arch/avr32/mach-at32ap/include/mach/at32ap700x.h
@@ -46,4 +46,12 @@
#define DMAC_DMAREQ_2 9
#define DMAC_DMAREQ_3 10
+/*
+ * Base addresses of controllers that may be accessed early by
+ * platform code.
+ */
+#define PM_BASE 0xfff00000
+#define HMATRIX_BASE 0xfff00800
+#define SDRAMC_BASE 0xfff03800
+
#endif /* __ASM_ARCH_AT32AP700X_H__ */