summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/include/mach/dm365.h
diff options
context:
space:
mode:
authorSandeep Paulraj <s-paulraj@ti.com>2009-06-11 09:41:05 -0400
committerKevin Hilman <khilman@deeprootsystems.com>2009-08-26 10:56:57 +0300
commitfb8fcb891390639d6258c816abb537663495da0c (patch)
tree41172c12bc61a3b14d7d613d7f3f133215680a13 /arch/arm/mach-davinci/include/mach/dm365.h
parent5fcd294df26e6160f32ea551ef074630b4df728d (diff)
downloadop-kernel-dev-fb8fcb891390639d6258c816abb537663495da0c.zip
op-kernel-dev-fb8fcb891390639d6258c816abb537663495da0c.tar.gz
davinci: Adding DM365 SOC Support
The patch adds base support for new TI SOC DM365, which s similar to the dm355. Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/include/mach/dm365.h')
-rw-r--r--arch/arm/mach-davinci/include/mach/dm365.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/include/mach/dm365.h b/arch/arm/mach-davinci/include/mach/dm365.h
new file mode 100644
index 0000000..09db434
--- /dev/null
+++ b/arch/arm/mach-davinci/include/mach/dm365.h
@@ -0,0 +1,29 @@
+/*
+ * Copyright (C) 2009 Texas Instruments Incorporated
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation version 2.
+ *
+ * This program is distributed "as is" WITHOUT ANY WARRANTY of any
+ * kind, whether express or implied; without even the implied warranty
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+#ifndef __ASM_ARCH_DM365_H
+#define __ASM_ARCH_DM665_H
+
+#include <linux/platform_device.h>
+#include <mach/hardware.h>
+#include <mach/emac.h>
+
+#define DM365_EMAC_BASE (0x01D07000)
+#define DM365_EMAC_CNTRL_OFFSET (0x0000)
+#define DM365_EMAC_CNTRL_MOD_OFFSET (0x3000)
+#define DM365_EMAC_CNTRL_RAM_OFFSET (0x1000)
+#define DM365_EMAC_MDIO_OFFSET (0x4000)
+#define DM365_EMAC_CNTRL_RAM_SIZE (0x2000)
+
+void __init dm365_init(void);
+
+#endif /* __ASM_ARCH_DM365_H */
OpenPOWER on IntegriCloud