]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
omap2: add OMAP3430 base defines
authorPaul Walmsley <paul@pwsan.com>
Thu, 3 May 2007 22:53:08 +0000 (16:53 -0600)
committerTony Lindgren <tony@atomide.com>
Fri, 25 May 2007 18:28:19 +0000 (11:28 -0700)
Add symbolic constants for OMAP3430 base addresses; include that file
in hardware.h.  Remove #error in omap24xx.h on unknown architecture
type.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
include/asm-arm/arch-omap/hardware.h
include/asm-arm/arch-omap/omap24xx.h
include/asm-arm/arch-omap/omap34xx.h [new file with mode: 0644]

index da572092e255aa390bd68ec69cdb84d0a0e91acd..a903d14989d457427ab0b36c4b712628c2dd0747 100644 (file)
 #include "omap1510.h"
 #include "omap24xx.h"
 #include "omap16xx.h"
+#include "omap34xx.h"
 
 #ifndef __ASSEMBLER__
 
index a1cdf30561eb7359cd2316b105ae388addc8dcd7..19b93efae933b0b8d0dc5e1deadd27a5bdd0781d 100644 (file)
@@ -51,7 +51,6 @@
 /* Mailbox */
 #define OMAP24XX_MAILBOX_BASE  (L4_24XX_BASE + 0x94000)
 
-
 #if defined(CONFIG_ARCH_OMAP2420)
 
 #define OMAP2_32KSYNCT_BASE    OMAP2420_32KSYNCT_BASE
@@ -76,8 +75,6 @@
 #define OMAP2_VA_IC_BASE       IO_ADDRESS(OMAP24XX_IC_BASE)
 #define OMAP2_CTRL_BASE                OMAP243X_CTRL_BASE
 
-#else
-#error "Unknown architecture"
 #endif
 
 #endif /* __ASM_ARCH_OMAP24XX_H */
diff --git a/include/asm-arm/arch-omap/omap34xx.h b/include/asm-arm/arch-omap/omap34xx.h
new file mode 100644 (file)
index 0000000..8a55f95
--- /dev/null
@@ -0,0 +1,44 @@
+#ifndef __ASM_ARCH_OMAP34XX_H
+#define __ASM_ARCH_OMAP34XX_H
+
+/*
+ * Please place only base defines here and put the rest in device
+ * specific headers.
+ */
+
+#define OMAP3430_32KSYNCT_BASE 0x48320000
+#define OMAP3430_CM_BASE       0x48004800
+#define OMAP3430_PRM_BASE      0x48306800
+#define OMAP343X_SMS_BASE      0x6C000000
+#define OMAP343X_SDRC_BASE     0x6D000000
+#define OMAP34XX_GPMC_BASE     0x6E000000
+#define OMAP3430_SCM_BASE      0x48002000
+#define OMAP3430_CTRL_BASE     OMAP3430_SCM_BASE
+
+#define OMAP34XX_IC_BASE       0x48200000
+#define OMAP34XX_IVA_INTC_BASE 0x40000000
+#define IRQ_SIR_IRQ            0x0040
+
+
+#if defined(CONFIG_ARCH_OMAP3430)
+
+#define OMAP2_32KSYNCT_BASE    OMAP3430_32KSYNCT_BASE
+#define OMAP2_CM_BASE          OMAP3430_CM_BASE
+#define OMAP2_PRM_BASE         OMAP3430_PRM_BASE
+#define OMAP2_SDRC_BASE                OMAP343X_SDRC_BASE
+#define OMAP2_SMS_BASE         OMAP343X_SMS_BASE
+#define OMAP2_L4_BASE          L4_34XX_BASE
+#define OMAP2_VA_IC_BASE       IO_ADDRESS(OMAP34XX_IC_BASE)
+#define OMAP2_CTRL_BASE                OMAP3430_CTRL_BASE
+
+#endif
+
+
+#define OMAP34XX_DSP_BASE      0x58000000
+#define OMAP34XX_DSP_MEM_BASE  (OMAP34XX_DSP_BASE + 0x0)
+#define OMAP34XX_DSP_IPI_BASE  (OMAP34XX_DSP_BASE + 0x1000000)
+#define OMAP34XX_DSP_MMU_BASE  (OMAP34XX_DSP_BASE + 0x2000000)
+
+
+#endif /* __ASM_ARCH_OMAP34XX_H */
+