diff options
Diffstat (limited to 'arch/blackfin/mach-bf533/boards/ezkit.c')
-rw-r--r-- | arch/blackfin/mach-bf533/boards/ezkit.c | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/arch/blackfin/mach-bf533/boards/ezkit.c b/arch/blackfin/mach-bf533/boards/ezkit.c index cc2e7eeb1d5..08cd0969de4 100644 --- a/arch/blackfin/mach-bf533/boards/ezkit.c +++ b/arch/blackfin/mach-bf533/boards/ezkit.c | |||
@@ -46,7 +46,7 @@ | |||
46 | /* | 46 | /* |
47 | * Name the Board for the /proc/cpuinfo | 47 | * Name the Board for the /proc/cpuinfo |
48 | */ | 48 | */ |
49 | const char bfin_board_name[] = "ADDS-BF533-EZKIT"; | 49 | const char bfin_board_name[] = "ADI BF533-EZKIT"; |
50 | 50 | ||
51 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) | 51 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) |
52 | static struct platform_device rtc_device = { | 52 | static struct platform_device rtc_device = { |
@@ -236,23 +236,33 @@ static struct platform_device bfin_uart_device = { | |||
236 | #endif | 236 | #endif |
237 | 237 | ||
238 | #if defined(CONFIG_BFIN_SIR) || defined(CONFIG_BFIN_SIR_MODULE) | 238 | #if defined(CONFIG_BFIN_SIR) || defined(CONFIG_BFIN_SIR_MODULE) |
239 | static struct resource bfin_sir_resources[] = { | ||
240 | #ifdef CONFIG_BFIN_SIR0 | 239 | #ifdef CONFIG_BFIN_SIR0 |
240 | static struct resource bfin_sir0_resources[] = { | ||
241 | { | 241 | { |
242 | .start = 0xFFC00400, | 242 | .start = 0xFFC00400, |
243 | .end = 0xFFC004FF, | 243 | .end = 0xFFC004FF, |
244 | .flags = IORESOURCE_MEM, | 244 | .flags = IORESOURCE_MEM, |
245 | }, | 245 | }, |
246 | #endif | 246 | { |
247 | .start = IRQ_UART0_RX, | ||
248 | .end = IRQ_UART0_RX+1, | ||
249 | .flags = IORESOURCE_IRQ, | ||
250 | }, | ||
251 | { | ||
252 | .start = CH_UART0_RX, | ||
253 | .end = CH_UART0_RX+1, | ||
254 | .flags = IORESOURCE_DMA, | ||
255 | }, | ||
247 | }; | 256 | }; |
248 | 257 | ||
249 | static struct platform_device bfin_sir_device = { | 258 | static struct platform_device bfin_sir0_device = { |
250 | .name = "bfin_sir", | 259 | .name = "bfin_sir", |
251 | .id = 0, | 260 | .id = 0, |
252 | .num_resources = ARRAY_SIZE(bfin_sir_resources), | 261 | .num_resources = ARRAY_SIZE(bfin_sir0_resources), |
253 | .resource = bfin_sir_resources, | 262 | .resource = bfin_sir0_resources, |
254 | }; | 263 | }; |
255 | #endif | 264 | #endif |
265 | #endif | ||
256 | 266 | ||
257 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) | 267 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) |
258 | #include <linux/input.h> | 268 | #include <linux/input.h> |
@@ -363,7 +373,9 @@ static struct platform_device *ezkit_devices[] __initdata = { | |||
363 | #endif | 373 | #endif |
364 | 374 | ||
365 | #if defined(CONFIG_BFIN_SIR) || defined(CONFIG_BFIN_SIR_MODULE) | 375 | #if defined(CONFIG_BFIN_SIR) || defined(CONFIG_BFIN_SIR_MODULE) |
366 | &bfin_sir_device, | 376 | #ifdef CONFIG_BFIN_SIR0 |
377 | &bfin_sir0_device, | ||
378 | #endif | ||
367 | #endif | 379 | #endif |
368 | 380 | ||
369 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) | 381 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) |