summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/include
diff options
context:
space:
mode:
authorSriram <srk@ti.com>2010-05-10 14:29:17 -0700
committerTony Lindgren <tony@atomide.com>2010-05-20 10:53:55 -0700
commit39e799df2f504a160852342109d228abfe75fede (patch)
treed1d7e4933e8d2b9af42b4502a852ce020d9b1bf8 /arch/arm/mach-omap2/include
parente72b9b807247ea8e1e5c457b8c30d5ae9d53fedc (diff)
downloadblackbird-obmc-linux-39e799df2f504a160852342109d228abfe75fede.tar.gz
blackbird-obmc-linux-39e799df2f504a160852342109d228abfe75fede.zip
AM35xx EMAC: define submodule offsets
Define offsets for EMAC sub modules. Signed-off-by: Sriramakrishnan <srk@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/include')
-rw-r--r--arch/arm/mach-omap2/include/mach/am35xx.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/include/mach/am35xx.h b/arch/arm/mach-omap2/include/mach/am35xx.h
index 0636263c2e7d..f1e13d1ca5e7 100644
--- a/arch/arm/mach-omap2/include/mach/am35xx.h
+++ b/arch/arm/mach-omap2/include/mach/am35xx.h
@@ -32,4 +32,13 @@
#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 */
OpenPOWER on IntegriCloud