aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf548
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/mach-bf548')
-rw-r--r--arch/blackfin/mach-bf548/boards/cm_bf548.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf548/boards/cm_bf548.c b/arch/blackfin/mach-bf548/boards/cm_bf548.c
index 5857f3d7e51..d0065c37795 100644
--- a/arch/blackfin/mach-bf548/boards/cm_bf548.c
+++ b/arch/blackfin/mach-bf548/boards/cm_bf548.c
@@ -303,6 +303,19 @@ static struct platform_device musb_device = {
303}; 303};
304#endif 304#endif
305 305
306static struct resource bfin_gpios_resources = {
307 .start = 0,
308 .end = MAX_BLACKFIN_GPIOS - 1,
309 .flags = IORESOURCE_IRQ,
310};
311
312static struct platform_device bfin_gpios_device = {
313 .name = "simple-gpio",
314 .id = -1,
315 .num_resources = 1,
316 .resource = &bfin_gpios_resources,
317};
318
306#if defined(CONFIG_PATA_BF54X) || defined(CONFIG_PATA_BF54X_MODULE) 319#if defined(CONFIG_PATA_BF54X) || defined(CONFIG_PATA_BF54X_MODULE)
307static struct resource bfin_atapi_resources[] = { 320static struct resource bfin_atapi_resources[] = {
308 { 321 {
@@ -733,6 +746,8 @@ static struct platform_device *cm_bf548_devices[] __initdata = {
733#if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) 746#if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE)
734 &para_flash_device, 747 &para_flash_device,
735#endif 748#endif
749
750 &bfin_gpios_device,
736}; 751};
737 752
738static int __init cm_bf548_init(void) 753static int __init cm_bf548_init(void)