Path: blob/master/arch/sh/include/mach-se/mach/se7343.h
15160 views
#ifndef __ASM_SH_HITACHI_SE7343_H1#define __ASM_SH_HITACHI_SE7343_H23/*4* include/asm-sh/se/se7343.h5*6* Copyright (C) 2003 Takashi Kusuda <[email protected]>7*8* SH-Mobile SolutionEngine 7343 support9*/1011/* Box specific addresses. */1213/* Area 0 */14#define PA_ROM 0x00000000 /* EPROM */15#define PA_ROM_SIZE 0x00400000 /* EPROM size 4M byte(Actually 2MB) */16#define PA_FROM 0x00400000 /* Flash ROM */17#define PA_FROM_SIZE 0x00400000 /* Flash size 4M byte */18#define PA_SRAM 0x00800000 /* SRAM */19#define PA_FROM_SIZE 0x00400000 /* SRAM size 4M byte */20/* Area 1 */21#define PA_EXT1 0x0400000022#define PA_EXT1_SIZE 0x0400000023/* Area 2 */24#define PA_EXT2 0x0800000025#define PA_EXT2_SIZE 0x0400000026/* Area 3 */27#define PA_SDRAM 0x0c00000028#define PA_SDRAM_SIZE 0x0400000029/* Area 4 */30#define PA_PCIC 0x10000000 /* MR-SHPC-01 PCMCIA */31#define PA_MRSHPC 0xb03fffe0 /* MR-SHPC-01 PCMCIA controller */32#define PA_MRSHPC_MW1 0xb0400000 /* MR-SHPC-01 memory window base */33#define PA_MRSHPC_MW2 0xb0500000 /* MR-SHPC-01 attribute window base */34#define PA_MRSHPC_IO 0xb0600000 /* MR-SHPC-01 I/O window base */35#define MRSHPC_OPTION (PA_MRSHPC + 6)36#define MRSHPC_CSR (PA_MRSHPC + 8)37#define MRSHPC_ISR (PA_MRSHPC + 10)38#define MRSHPC_ICR (PA_MRSHPC + 12)39#define MRSHPC_CPWCR (PA_MRSHPC + 14)40#define MRSHPC_MW0CR1 (PA_MRSHPC + 16)41#define MRSHPC_MW1CR1 (PA_MRSHPC + 18)42#define MRSHPC_IOWCR1 (PA_MRSHPC + 20)43#define MRSHPC_MW0CR2 (PA_MRSHPC + 22)44#define MRSHPC_MW1CR2 (PA_MRSHPC + 24)45#define MRSHPC_IOWCR2 (PA_MRSHPC + 26)46#define MRSHPC_CDCR (PA_MRSHPC + 28)47#define MRSHPC_PCIC_INFO (PA_MRSHPC + 30)48#define PA_LED 0xb0C00000 /* LED */49#define LED_SHIFT 050#define PA_DIPSW 0xb0900000 /* Dip switch 31 */51#define PA_CPLD_MODESET 0xb1400004 /* CPLD Mode set register */52#define PA_CPLD_ST 0xb1400008 /* CPLD Interrupt status register */53#define PA_CPLD_IMSK 0xb140000a /* CPLD Interrupt mask register */54/* Area 5 */55#define PA_EXT5 0x1400000056#define PA_EXT5_SIZE 0x0400000057/* Area 6 */58#define PA_LCD1 0xb800000059#define PA_LCD2 0xb88000006061#define PORT_PACR 0xA405010062#define PORT_PBCR 0xA405010263#define PORT_PCCR 0xA405010464#define PORT_PDCR 0xA405010665#define PORT_PECR 0xA405010866#define PORT_PFCR 0xA405010A67#define PORT_PGCR 0xA405010C68#define PORT_PHCR 0xA405010E69#define PORT_PJCR 0xA405011070#define PORT_PKCR 0xA405011271#define PORT_PLCR 0xA405011472#define PORT_PMCR 0xA405011673#define PORT_PNCR 0xA405011874#define PORT_PQCR 0xA405011A75#define PORT_PRCR 0xA405011C76#define PORT_PSCR 0xA405011E77#define PORT_PTCR 0xA405014078#define PORT_PUCR 0xA405014279#define PORT_PVCR 0xA405014480#define PORT_PWCR 0xA405014681#define PORT_PYCR 0xA405014882#define PORT_PZCR 0xA405014A8384#define PORT_PSELA 0xA405014C85#define PORT_PSELB 0xA405014E86#define PORT_PSELC 0xA405015087#define PORT_PSELD 0xA405015288#define PORT_PSELE 0xA40501548990#define PORT_HIZCRA 0xA405015691#define PORT_HIZCRB 0xA405015892#define PORT_HIZCRC 0xA405015C9394#define PORT_DRVCR 0xA40501809596#define PORT_PADR 0xA405012097#define PORT_PBDR 0xA405012298#define PORT_PCDR 0xA405012499#define PORT_PDDR 0xA4050126100#define PORT_PEDR 0xA4050128101#define PORT_PFDR 0xA405012A102#define PORT_PGDR 0xA405012C103#define PORT_PHDR 0xA405012E104#define PORT_PJDR 0xA4050130105#define PORT_PKDR 0xA4050132106#define PORT_PLDR 0xA4050134107#define PORT_PMDR 0xA4050136108#define PORT_PNDR 0xA4050138109#define PORT_PQDR 0xA405013A110#define PORT_PRDR 0xA405013C111#define PORT_PTDR 0xA4050160112#define PORT_PUDR 0xA4050162113#define PORT_PVDR 0xA4050164114#define PORT_PWDR 0xA4050166115#define PORT_PYDR 0xA4050168116117#define FPGA_IN 0xb1400000118#define FPGA_OUT 0xb1400002119120#define IRQ0_IRQ 32121#define IRQ1_IRQ 33122#define IRQ4_IRQ 36123#define IRQ5_IRQ 37124125#define SE7343_FPGA_IRQ_MRSHPC0 0126#define SE7343_FPGA_IRQ_MRSHPC1 1127#define SE7343_FPGA_IRQ_MRSHPC2 2128#define SE7343_FPGA_IRQ_MRSHPC3 3129#define SE7343_FPGA_IRQ_SMC 6 /* EXT_IRQ2 */130#define SE7343_FPGA_IRQ_USB 8131#define SE7343_FPGA_IRQ_UARTA 10132#define SE7343_FPGA_IRQ_UARTB 11133134#define SE7343_FPGA_IRQ_NR 12135136/* arch/sh/boards/se/7343/irq.c */137extern unsigned int se7343_fpga_irq[];138139void init_7343se_IRQ(void);140141#endif /* __ASM_SH_HITACHI_SE7343_H */142143144