Go to the documentation of this file. 1 #ifndef __ASM_SH_SE7724_H
2 #define __ASM_SH_SE7724_H
22 #include <asm/addrspace.h>
25 #define SH_ETH_ADDR (0xA4600000)
26 #define SH_ETH_MAHR (SH_ETH_ADDR + 0x1C0)
27 #define SH_ETH_MALR (SH_ETH_ADDR + 0x1C8)
29 #define PA_LED (0xba203000)
30 #define IRQ_MODE (0xba200010)
31 #define IRQ0_SR (0xba200014)
32 #define IRQ1_SR (0xba200018)
33 #define IRQ2_SR (0xba20001c)
34 #define IRQ0_MR (0xba200020)
35 #define IRQ1_MR (0xba200024)
36 #define IRQ2_MR (0xba200028)
39 #define IRQ0_IRQ evt2irq(0x600)
40 #define IRQ1_IRQ evt2irq(0x620)
41 #define IRQ2_IRQ evt2irq(0x640)
44 #define SE7724_FPGA_IRQ_BASE 220
47 #define IRQ0_BASE SE7724_FPGA_IRQ_BASE
48 #define IRQ0_KEY (IRQ0_BASE + 12)
49 #define IRQ0_RMII (IRQ0_BASE + 13)
50 #define IRQ0_SMC (IRQ0_BASE + 14)
51 #define IRQ0_MASK 0x7fff
52 #define IRQ0_END IRQ0_SMC
54 #define IRQ1_BASE (IRQ0_END + 1)
55 #define IRQ1_TS (IRQ1_BASE + 0)
56 #define IRQ1_MASK 0x0001
57 #define IRQ1_END IRQ1_TS
59 #define IRQ2_BASE (IRQ1_END + 1)
60 #define IRQ2_USB0 (IRQ1_BASE + 0)
61 #define IRQ2_USB1 (IRQ1_BASE + 1)
62 #define IRQ2_MASK 0x0003
63 #define IRQ2_END IRQ2_USB1
65 #define SE7724_FPGA_IRQ_NR (IRQ2_END - IRQ0_BASE)
70 #define __IO_PREFIX se7724