diff options
Diffstat (limited to 'arch/blackfin/mach-bf533/boards/ezkit.c')
-rw-r--r-- | arch/blackfin/mach-bf533/boards/ezkit.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf533/boards/ezkit.c b/arch/blackfin/mach-bf533/boards/ezkit.c index 35c1efdf8e16..08a7943949ae 100644 --- a/arch/blackfin/mach-bf533/boards/ezkit.c +++ b/arch/blackfin/mach-bf533/boards/ezkit.c | |||
@@ -237,6 +237,25 @@ static struct platform_device bfin_uart_device = { | |||
237 | }; | 237 | }; |
238 | #endif | 238 | #endif |
239 | 239 | ||
240 | #if defined(CONFIG_BFIN_SIR) || defined(CONFIG_BFIN_SIR_MODULE) | ||
241 | static struct resource bfin_sir_resources[] = { | ||
242 | #ifdef CONFIG_BFIN_SIR0 | ||
243 | { | ||
244 | .start = 0xFFC00400, | ||
245 | .end = 0xFFC004FF, | ||
246 | .flags = IORESOURCE_MEM, | ||
247 | }, | ||
248 | #endif | ||
249 | }; | ||
250 | |||
251 | static struct platform_device bfin_sir_device = { | ||
252 | .name = "bfin_sir", | ||
253 | .id = 0, | ||
254 | .num_resources = ARRAY_SIZE(bfin_sir_resources), | ||
255 | .resource = bfin_sir_resources, | ||
256 | }; | ||
257 | #endif | ||
258 | |||
240 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | 259 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) |
241 | #define PATA_INT 55 | 260 | #define PATA_INT 55 |
242 | 261 | ||
@@ -352,6 +371,10 @@ static struct platform_device *ezkit_devices[] __initdata = { | |||
352 | &bfin_uart_device, | 371 | &bfin_uart_device, |
353 | #endif | 372 | #endif |
354 | 373 | ||
374 | #if defined(CONFIG_BFIN_SIR) || defined(CONFIG_BFIN_SIR_MODULE) | ||
375 | &bfin_sir_device, | ||
376 | #endif | ||
377 | |||
355 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | 378 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) |
356 | &bfin_pata_device, | 379 | &bfin_pata_device, |
357 | #endif | 380 | #endif |