diff options
author | Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> | 2008-06-18 05:29:06 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-07-28 05:10:30 -0400 |
commit | ffb91ad2751723bcc9925cd38e37013e2169e256 (patch) | |
tree | a6f68cd3485c0b239fa7377e081a427d6beed43d /include/asm-sh | |
parent | 4c1cfab1e0f9a41246cfdcca78f3700fb67f0a5c (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.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/asm-sh/se.h b/include/asm-sh/se.h index bd2596c014a9..0e2f720b9664 100644 --- a/include/asm-sh/se.h +++ b/include/asm-sh/se.h | |||
@@ -76,6 +76,21 @@ | |||
76 | #define IRQ_CFCARD 7 | 76 | #define IRQ_CFCARD 7 |
77 | #endif | 77 | #endif |
78 | 78 | ||
79 | /* SH Ether support (SH7710/SH7712) */ | ||
80 | /* Base address */ | ||
81 | #define SH_ETH0_BASE 0xA7000000 | ||
82 | #define SH_ETH1_BASE 0xA7000400 | ||
83 | /* PHY ID */ | ||
84 | #if defined(CONFIG_CPU_SUBTYPE_SH7710) | ||
85 | # define PHY_ID 0x00 | ||
86 | #elif defined(CONFIG_CPU_SUBTYPE_SH7712) | ||
87 | # define PHY_ID 0x01 | ||
88 | #endif | ||
89 | /* Ether IRQ */ | ||
90 | #define SH_ETH0_IRQ 80 | ||
91 | #define SH_ETH1_IRQ 81 | ||
92 | #define SH_TSU_IRQ 82 | ||
93 | |||
79 | #define __IO_PREFIX se | 94 | #define __IO_PREFIX se |
80 | #include <asm/io_generic.h> | 95 | #include <asm/io_generic.h> |
81 | 96 | ||