aboutsummaryrefslogtreecommitdiff
path: root/include/asm-sh
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>2008-06-18 18:29:06 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-07-28 18:10:30 +0900
commitffb91ad2751723bcc9925cd38e37013e2169e256 (patch)
treea6f68cd3485c0b239fa7377e081a427d6beed43d /include/asm-sh
parent4c1cfab1e0f9a41246cfdcca78f3700fb67f0a5c (diff)
sh: Solution Enginge 7710/7712 SH-Ether support
Add support SH-Ether for Hitachi Solution Engine. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh')
-rw-r--r--include/asm-sh/se.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/asm-sh/se.h b/include/asm-sh/se.h
index bd2596c014a..0e2f720b966 100644
--- a/include/asm-sh/se.h
+++ b/include/asm-sh/se.h
@@ -76,6 +76,21 @@
#define IRQ_CFCARD 7
#endif
+/* SH Ether support (SH7710/SH7712) */
+/* Base address */
+#define SH_ETH0_BASE 0xA7000000
+#define SH_ETH1_BASE 0xA7000400
+/* PHY ID */
+#if defined(CONFIG_CPU_SUBTYPE_SH7710)
+# define PHY_ID 0x00
+#elif defined(CONFIG_CPU_SUBTYPE_SH7712)
+# define PHY_ID 0x01
+#endif
+/* Ether IRQ */
+#define SH_ETH0_IRQ 80
+#define SH_ETH1_IRQ 81
+#define SH_TSU_IRQ 82
+
#define __IO_PREFIX se
#include <asm/io_generic.h>