AM35xx EMAC: define submodule offsets
authorSriram <srk@ti.com>
Mon, 10 May 2010 21:29:17 +0000 (14:29 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 20 May 2010 17:53:55 +0000 (10:53 -0700)
Define offsets for EMAC sub modules.

Signed-off-by: Sriramakrishnan <srk@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/include/mach/am35xx.h

index 0636263c2e7d638bc9ee2f82eb33051081cc7c93..f1e13d1ca5e7360b30878de8b69c5dd6c2a3adf3 100644 (file)
 #define AM35XX_HECC_INT_LINE           (0x0)
 #define AM35XX_HECC_VERSION            (0x1)
 
-#endif /*  __ASM_ARCH_AM35XX_H */
+#define AM35XX_EMAC_CNTRL_OFFSET       (0x10000)
+#define AM35XX_EMAC_CNTRL_MOD_OFFSET   (0x0)
+#define AM35XX_EMAC_CNTRL_RAM_OFFSET   (0x20000)
+#define AM35XX_EMAC_MDIO_OFFSET                (0x30000)
+#define AM35XX_EMAC_CNTRL_RAM_SIZE     (0x2000)
+#define AM35XX_EMAC_RAM_ADDR           (AM3517_EMAC_BASE + \
+                                               AM3517_EMAC_CNTRL_RAM_OFFSET)
+#define AM35XX_EMAC_HW_RAM_ADDR                (0x01E20000)
+
+#endif  /*  __ASM_ARCH_AM35XX_H */