diff options
Diffstat (limited to 'arch/sh/include/mach-se/mach')
-rw-r--r-- | arch/sh/include/mach-se/mach/se7343.h | 7 | ||||
-rw-r--r-- | arch/sh/include/mach-se/mach/se7722.h | 10 |
2 files changed, 6 insertions, 11 deletions
diff --git a/arch/sh/include/mach-se/mach/se7343.h b/arch/sh/include/mach-se/mach/se7343.h index 50b5d575dff0..542521c970c6 100644 --- a/arch/sh/include/mach-se/mach/se7343.h +++ b/arch/sh/include/mach-se/mach/se7343.h | |||
@@ -50,9 +50,6 @@ | |||
50 | #define PA_LED 0xb0C00000 /* LED */ | 50 | #define PA_LED 0xb0C00000 /* LED */ |
51 | #define LED_SHIFT 0 | 51 | #define LED_SHIFT 0 |
52 | #define PA_DIPSW 0xb0900000 /* Dip switch 31 */ | 52 | #define PA_DIPSW 0xb0900000 /* Dip switch 31 */ |
53 | #define PA_CPLD_MODESET 0xb1400004 /* CPLD Mode set register */ | ||
54 | #define PA_CPLD_ST 0xb1400008 /* CPLD Interrupt status register */ | ||
55 | #define PA_CPLD_IMSK 0xb140000a /* CPLD Interrupt mask register */ | ||
56 | /* Area 5 */ | 53 | /* Area 5 */ |
57 | #define PA_EXT5 0x14000000 | 54 | #define PA_EXT5 0x14000000 |
58 | #define PA_EXT5_SIZE 0x04000000 | 55 | #define PA_EXT5_SIZE 0x04000000 |
@@ -135,8 +132,10 @@ | |||
135 | 132 | ||
136 | #define SE7343_FPGA_IRQ_NR 12 | 133 | #define SE7343_FPGA_IRQ_NR 12 |
137 | 134 | ||
135 | struct irq_domain; | ||
136 | |||
138 | /* arch/sh/boards/se/7343/irq.c */ | 137 | /* arch/sh/boards/se/7343/irq.c */ |
139 | extern unsigned int se7343_fpga_irq[]; | 138 | extern struct irq_domain *se7343_irq_domain; |
140 | 139 | ||
141 | void init_7343se_IRQ(void); | 140 | void init_7343se_IRQ(void); |
142 | 141 | ||
diff --git a/arch/sh/include/mach-se/mach/se7722.h b/arch/sh/include/mach-se/mach/se7722.h index 201081ebdbce..637e7ac753f8 100644 --- a/arch/sh/include/mach-se/mach/se7722.h +++ b/arch/sh/include/mach-se/mach/se7722.h | |||
@@ -81,12 +81,6 @@ | |||
81 | #define IRQ0_IRQ evt2irq(0x600) | 81 | #define IRQ0_IRQ evt2irq(0x600) |
82 | #define IRQ1_IRQ evt2irq(0x620) | 82 | #define IRQ1_IRQ evt2irq(0x620) |
83 | 83 | ||
84 | #define IRQ01_MODE 0xb1800000 | ||
85 | #define IRQ01_STS 0xb1800004 | ||
86 | #define IRQ01_MASK 0xb1800008 | ||
87 | |||
88 | /* Bits in IRQ01_* registers */ | ||
89 | |||
90 | #define SE7722_FPGA_IRQ_USB 0 /* IRQ0 */ | 84 | #define SE7722_FPGA_IRQ_USB 0 /* IRQ0 */ |
91 | #define SE7722_FPGA_IRQ_SMC 1 /* IRQ0 */ | 85 | #define SE7722_FPGA_IRQ_SMC 1 /* IRQ0 */ |
92 | #define SE7722_FPGA_IRQ_MRSHPC0 2 /* IRQ1 */ | 86 | #define SE7722_FPGA_IRQ_MRSHPC0 2 /* IRQ1 */ |
@@ -95,8 +89,10 @@ | |||
95 | #define SE7722_FPGA_IRQ_MRSHPC3 5 /* IRQ1 */ | 89 | #define SE7722_FPGA_IRQ_MRSHPC3 5 /* IRQ1 */ |
96 | #define SE7722_FPGA_IRQ_NR 6 | 90 | #define SE7722_FPGA_IRQ_NR 6 |
97 | 91 | ||
92 | struct irq_domain; | ||
93 | |||
98 | /* arch/sh/boards/se/7722/irq.c */ | 94 | /* arch/sh/boards/se/7722/irq.c */ |
99 | extern unsigned int se7722_fpga_irq[]; | 95 | extern struct irq_domain *se7722_irq_domain; |
100 | 96 | ||
101 | void init_se7722_IRQ(void); | 97 | void init_se7722_IRQ(void); |
102 | 98 | ||