diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-26 14:59:44 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-26 14:59:44 -0500 |
commit | dcf81c1af839b77b44404453ecae6e5ac5a75f05 (patch) | |
tree | 289dcbda5fbca34e7e0cf028908b9b517fa8b8b2 /arch/arm/mach-realview/realview_eb.c | |
parent | 34e5f4f198ddd36a82dc12164de7fc4f5430e09d (diff) | |
parent | 75c06963dd947252271ffa6107a25cddb2b8f362 (diff) |
Merge branch 'amba' into for-armsoc
Diffstat (limited to 'arch/arm/mach-realview/realview_eb.c')
-rw-r--r-- | arch/arm/mach-realview/realview_eb.c | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/arch/arm/mach-realview/realview_eb.c b/arch/arm/mach-realview/realview_eb.c index e62962117763..fbca43cf77ed 100644 --- a/arch/arm/mach-realview/realview_eb.c +++ b/arch/arm/mach-realview/realview_eb.c | |||
@@ -140,63 +140,63 @@ static struct pl022_ssp_controller ssp0_plat_data = { | |||
140 | /* | 140 | /* |
141 | * These devices are connected via the core APB bridge | 141 | * These devices are connected via the core APB bridge |
142 | */ | 142 | */ |
143 | #define GPIO2_IRQ { IRQ_EB_GPIO2, NO_IRQ } | 143 | #define GPIO2_IRQ { IRQ_EB_GPIO2 } |
144 | #define GPIO3_IRQ { IRQ_EB_GPIO3, NO_IRQ } | 144 | #define GPIO3_IRQ { IRQ_EB_GPIO3 } |
145 | 145 | ||
146 | #define AACI_IRQ { IRQ_EB_AACI, NO_IRQ } | 146 | #define AACI_IRQ { IRQ_EB_AACI } |
147 | #define MMCI0_IRQ { IRQ_EB_MMCI0A, IRQ_EB_MMCI0B } | 147 | #define MMCI0_IRQ { IRQ_EB_MMCI0A, IRQ_EB_MMCI0B } |
148 | #define KMI0_IRQ { IRQ_EB_KMI0, NO_IRQ } | 148 | #define KMI0_IRQ { IRQ_EB_KMI0 } |
149 | #define KMI1_IRQ { IRQ_EB_KMI1, NO_IRQ } | 149 | #define KMI1_IRQ { IRQ_EB_KMI1 } |
150 | 150 | ||
151 | /* | 151 | /* |
152 | * These devices are connected directly to the multi-layer AHB switch | 152 | * These devices are connected directly to the multi-layer AHB switch |
153 | */ | 153 | */ |
154 | #define EB_SMC_IRQ { NO_IRQ, NO_IRQ } | 154 | #define EB_SMC_IRQ { } |
155 | #define MPMC_IRQ { NO_IRQ, NO_IRQ } | 155 | #define MPMC_IRQ { } |
156 | #define EB_CLCD_IRQ { IRQ_EB_CLCD, NO_IRQ } | 156 | #define EB_CLCD_IRQ { IRQ_EB_CLCD } |
157 | #define DMAC_IRQ { IRQ_EB_DMA, NO_IRQ } | 157 | #define DMAC_IRQ { IRQ_EB_DMA } |
158 | 158 | ||
159 | /* | 159 | /* |
160 | * These devices are connected via the core APB bridge | 160 | * These devices are connected via the core APB bridge |
161 | */ | 161 | */ |
162 | #define SCTL_IRQ { NO_IRQ, NO_IRQ } | 162 | #define SCTL_IRQ { } |
163 | #define EB_WATCHDOG_IRQ { IRQ_EB_WDOG, NO_IRQ } | 163 | #define EB_WATCHDOG_IRQ { IRQ_EB_WDOG } |
164 | #define EB_GPIO0_IRQ { IRQ_EB_GPIO0, NO_IRQ } | 164 | #define EB_GPIO0_IRQ { IRQ_EB_GPIO0 } |
165 | #define GPIO1_IRQ { IRQ_EB_GPIO1, NO_IRQ } | 165 | #define GPIO1_IRQ { IRQ_EB_GPIO1 } |
166 | #define EB_RTC_IRQ { IRQ_EB_RTC, NO_IRQ } | 166 | #define EB_RTC_IRQ { IRQ_EB_RTC } |
167 | 167 | ||
168 | /* | 168 | /* |
169 | * These devices are connected via the DMA APB bridge | 169 | * These devices are connected via the DMA APB bridge |
170 | */ | 170 | */ |
171 | #define SCI_IRQ { IRQ_EB_SCI, NO_IRQ } | 171 | #define SCI_IRQ { IRQ_EB_SCI } |
172 | #define EB_UART0_IRQ { IRQ_EB_UART0, NO_IRQ } | 172 | #define EB_UART0_IRQ { IRQ_EB_UART0 } |
173 | #define EB_UART1_IRQ { IRQ_EB_UART1, NO_IRQ } | 173 | #define EB_UART1_IRQ { IRQ_EB_UART1 } |
174 | #define EB_UART2_IRQ { IRQ_EB_UART2, NO_IRQ } | 174 | #define EB_UART2_IRQ { IRQ_EB_UART2 } |
175 | #define EB_UART3_IRQ { IRQ_EB_UART3, NO_IRQ } | 175 | #define EB_UART3_IRQ { IRQ_EB_UART3 } |
176 | #define EB_SSP_IRQ { IRQ_EB_SSP, NO_IRQ } | 176 | #define EB_SSP_IRQ { IRQ_EB_SSP } |
177 | 177 | ||
178 | /* FPGA Primecells */ | 178 | /* FPGA Primecells */ |
179 | AMBA_DEVICE(aaci, "fpga:aaci", AACI, NULL); | 179 | APB_DEVICE(aaci, "fpga:aaci", AACI, NULL); |
180 | AMBA_DEVICE(mmc0, "fpga:mmc0", MMCI0, &realview_mmc0_plat_data); | 180 | APB_DEVICE(mmc0, "fpga:mmc0", MMCI0, &realview_mmc0_plat_data); |
181 | AMBA_DEVICE(kmi0, "fpga:kmi0", KMI0, NULL); | 181 | APB_DEVICE(kmi0, "fpga:kmi0", KMI0, NULL); |
182 | AMBA_DEVICE(kmi1, "fpga:kmi1", KMI1, NULL); | 182 | APB_DEVICE(kmi1, "fpga:kmi1", KMI1, NULL); |
183 | AMBA_DEVICE(uart3, "fpga:uart3", EB_UART3, NULL); | 183 | APB_DEVICE(uart3, "fpga:uart3", EB_UART3, NULL); |
184 | 184 | ||
185 | /* DevChip Primecells */ | 185 | /* DevChip Primecells */ |
186 | AMBA_DEVICE(smc, "dev:smc", EB_SMC, NULL); | 186 | AHB_DEVICE(smc, "dev:smc", EB_SMC, NULL); |
187 | AMBA_DEVICE(clcd, "dev:clcd", EB_CLCD, &clcd_plat_data); | 187 | AHB_DEVICE(clcd, "dev:clcd", EB_CLCD, &clcd_plat_data); |
188 | AMBA_DEVICE(dmac, "dev:dmac", DMAC, NULL); | 188 | AHB_DEVICE(dmac, "dev:dmac", DMAC, NULL); |
189 | AMBA_DEVICE(sctl, "dev:sctl", SCTL, NULL); | 189 | AHB_DEVICE(sctl, "dev:sctl", SCTL, NULL); |
190 | AMBA_DEVICE(wdog, "dev:wdog", EB_WATCHDOG, NULL); | 190 | APB_DEVICE(wdog, "dev:wdog", EB_WATCHDOG, NULL); |
191 | AMBA_DEVICE(gpio0, "dev:gpio0", EB_GPIO0, &gpio0_plat_data); | 191 | APB_DEVICE(gpio0, "dev:gpio0", EB_GPIO0, &gpio0_plat_data); |
192 | AMBA_DEVICE(gpio1, "dev:gpio1", GPIO1, &gpio1_plat_data); | 192 | APB_DEVICE(gpio1, "dev:gpio1", GPIO1, &gpio1_plat_data); |
193 | AMBA_DEVICE(gpio2, "dev:gpio2", GPIO2, &gpio2_plat_data); | 193 | APB_DEVICE(gpio2, "dev:gpio2", GPIO2, &gpio2_plat_data); |
194 | AMBA_DEVICE(rtc, "dev:rtc", EB_RTC, NULL); | 194 | APB_DEVICE(rtc, "dev:rtc", EB_RTC, NULL); |
195 | AMBA_DEVICE(sci0, "dev:sci0", SCI, NULL); | 195 | APB_DEVICE(sci0, "dev:sci0", SCI, NULL); |
196 | AMBA_DEVICE(uart0, "dev:uart0", EB_UART0, NULL); | 196 | APB_DEVICE(uart0, "dev:uart0", EB_UART0, NULL); |
197 | AMBA_DEVICE(uart1, "dev:uart1", EB_UART1, NULL); | 197 | APB_DEVICE(uart1, "dev:uart1", EB_UART1, NULL); |
198 | AMBA_DEVICE(uart2, "dev:uart2", EB_UART2, NULL); | 198 | APB_DEVICE(uart2, "dev:uart2", EB_UART2, NULL); |
199 | AMBA_DEVICE(ssp0, "dev:ssp0", EB_SSP, &ssp0_plat_data); | 199 | APB_DEVICE(ssp0, "dev:ssp0", EB_SSP, &ssp0_plat_data); |
200 | 200 | ||
201 | static struct amba_device *amba_devs[] __initdata = { | 201 | static struct amba_device *amba_devs[] __initdata = { |
202 | &dmac_device, | 202 | &dmac_device, |