Path: blob/master/arch/sh/include/mach-se/mach/se.h
15160 views
#ifndef __ASM_SH_HITACHI_SE_H1#define __ASM_SH_HITACHI_SE_H23/*4* linux/include/asm-sh/hitachi_se.h5*6* Copyright (C) 2000 Kazumoto Kojima7*8* Hitachi SolutionEngine support9*/1011/* Box specific addresses. */1213#define PA_ROM 0x00000000 /* EPROM */14#define PA_ROM_SIZE 0x00400000 /* EPROM size 4M byte */15#define PA_FROM 0x01000000 /* EPROM */16#define PA_FROM_SIZE 0x00400000 /* EPROM size 4M byte */17#define PA_EXT1 0x0400000018#define PA_EXT1_SIZE 0x0400000019#define PA_EXT2 0x0800000020#define PA_EXT2_SIZE 0x0400000021#define PA_SDRAM 0x0c00000022#define PA_SDRAM_SIZE 0x040000002324#define PA_EXT4 0x1200000025#define PA_EXT4_SIZE 0x0200000026#define PA_EXT5 0x1400000027#define PA_EXT5_SIZE 0x0400000028#define PA_PCIC 0x18000000 /* MR-SHPC-01 PCMCIA */2930#define PA_83902 0xb0000000 /* DP83902A */31#define PA_83902_IF 0xb0040000 /* DP83902A remote io port */32#define PA_83902_RST 0xb0080000 /* DP83902A reset port */3334#define PA_SUPERIO 0xb0400000 /* SMC37C935A super io chip */35#define PA_DIPSW0 0xb0800000 /* Dip switch 5,6 */36#define PA_DIPSW1 0xb0800002 /* Dip switch 7,8 */37#define PA_LED 0xb0c00000 /* LED */38#if defined(CONFIG_CPU_SUBTYPE_SH7705)39#define PA_BCR 0xb0e0000040#else41#define PA_BCR 0xb1400000 /* FPGA */42#endif4344#define PA_MRSHPC 0xb83fffe0 /* MR-SHPC-01 PCMCIA controller */45#define PA_MRSHPC_MW1 0xb8400000 /* MR-SHPC-01 memory window base */46#define PA_MRSHPC_MW2 0xb8500000 /* MR-SHPC-01 attribute window base */47#define PA_MRSHPC_IO 0xb8600000 /* MR-SHPC-01 I/O window base */48#define MRSHPC_OPTION (PA_MRSHPC + 6)49#define MRSHPC_CSR (PA_MRSHPC + 8)50#define MRSHPC_ISR (PA_MRSHPC + 10)51#define MRSHPC_ICR (PA_MRSHPC + 12)52#define MRSHPC_CPWCR (PA_MRSHPC + 14)53#define MRSHPC_MW0CR1 (PA_MRSHPC + 16)54#define MRSHPC_MW1CR1 (PA_MRSHPC + 18)55#define MRSHPC_IOWCR1 (PA_MRSHPC + 20)56#define MRSHPC_MW0CR2 (PA_MRSHPC + 22)57#define MRSHPC_MW1CR2 (PA_MRSHPC + 24)58#define MRSHPC_IOWCR2 (PA_MRSHPC + 26)59#define MRSHPC_CDCR (PA_MRSHPC + 28)60#define MRSHPC_PCIC_INFO (PA_MRSHPC + 30)6162#define BCR_ILCRA (PA_BCR + 0)63#define BCR_ILCRB (PA_BCR + 2)64#define BCR_ILCRC (PA_BCR + 4)65#define BCR_ILCRD (PA_BCR + 6)66#define BCR_ILCRE (PA_BCR + 8)67#define BCR_ILCRF (PA_BCR + 10)68#define BCR_ILCRG (PA_BCR + 12)6970#if defined(CONFIG_CPU_SUBTYPE_SH7709)71#define INTC_IRR0 0xa4000004UL72#define INTC_IRR1 0xa4000006UL73#define INTC_IRR2 0xa4000008UL7475#define INTC_ICR0 0xfffffee0UL76#define INTC_ICR1 0xa4000010UL77#define INTC_ICR2 0xa4000012UL78#define INTC_INTER 0xa4000014UL7980#define INTC_IPRC 0xa4000016UL81#define INTC_IPRD 0xa4000018UL82#define INTC_IPRE 0xa400001aUL8384#define IRQ0_IRQ 3285#define IRQ1_IRQ 3386#endif8788#if defined(CONFIG_CPU_SUBTYPE_SH7705)89#define IRQ_STNIC 1290#define IRQ_CFCARD 1491#else92#define IRQ_STNIC 1093#define IRQ_CFCARD 794#endif9596/* SH Ether support (SH7710/SH7712) */97/* Base address */98#define SH_ETH0_BASE 0xA700000099#define SH_ETH1_BASE 0xA7000400100/* PHY ID */101#if defined(CONFIG_CPU_SUBTYPE_SH7710)102# define PHY_ID 0x00103#elif defined(CONFIG_CPU_SUBTYPE_SH7712)104# define PHY_ID 0x01105#endif106/* Ether IRQ */107#define SH_ETH0_IRQ 80108#define SH_ETH1_IRQ 81109#define SH_TSU_IRQ 82110111void init_se_IRQ(void);112113#define __IO_PREFIX se114#include <asm/io_generic.h>115116#endif /* __ASM_SH_HITACHI_SE_H */117118119