|
@@ -230,6 +230,19 @@ static struct platform_device smc91x_device = {
|
|
|
};
|
|
|
#endif
|
|
|
|
|
|
+static struct resource bfin_gpios_resources = {
|
|
|
+ .start = 0,
|
|
|
+ .end = MAX_BLACKFIN_GPIOS - 1,
|
|
|
+ .flags = IORESOURCE_IRQ,
|
|
|
+};
|
|
|
+
|
|
|
+static struct platform_device bfin_gpios_device = {
|
|
|
+ .name = "simple-gpio",
|
|
|
+ .id = -1,
|
|
|
+ .num_resources = 1,
|
|
|
+ .resource = &bfin_gpios_resources,
|
|
|
+};
|
|
|
+
|
|
|
#if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE)
|
|
|
static struct resource isp1362_hcd_resources[] = {
|
|
|
{
|
|
@@ -400,6 +413,8 @@ static struct platform_device *cm_bf561_devices[] __initdata = {
|
|
|
#if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE)
|
|
|
&bfin_pata_device,
|
|
|
#endif
|
|
|
+
|
|
|
+ &bfin_gpios_device,
|
|
|
};
|
|
|
|
|
|
static int __init cm_bf561_init(void)
|