|
@@ -129,3 +129,84 @@ static struct resource bfin_pcmcia_cf_resources[] = {
|
|
.start = 6, /* Card Detect PF6 */
|
|
.start = 6, /* Card Detect PF6 */
|
|
.end = 6,
|
|
.end = 6,
|
|
.flags = IORESOURCE_IRQ,
|
|
.flags = IORESOURCE_IRQ,
|
|
|
|
+ },
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+static struct platform_device bfin_pcmcia_cf_device = {
|
|
|
|
+ .name = "bfin_cf_pcmcia",
|
|
|
|
+ .id = -1,
|
|
|
|
+ .num_resources = ARRAY_SIZE(bfin_pcmcia_cf_resources),
|
|
|
|
+ .resource = bfin_pcmcia_cf_resources,
|
|
|
|
+};
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE)
|
|
|
|
+static struct platform_device rtc_device = {
|
|
|
|
+ .name = "rtc-bfin",
|
|
|
|
+ .id = -1,
|
|
|
|
+};
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE)
|
|
|
|
+#include <linux/smc91x.h>
|
|
|
|
+
|
|
|
|
+static struct smc91x_platdata smc91x_info = {
|
|
|
|
+ .flags = SMC91X_USE_16BIT | SMC91X_NOWAIT,
|
|
|
|
+ .leda = RPC_LED_100_10,
|
|
|
|
+ .ledb = RPC_LED_TX_RX,
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+static struct resource smc91x_resources[] = {
|
|
|
|
+ {
|
|
|
|
+ .name = "smc91x-regs",
|
|
|
|
+ .start = 0x20300300,
|
|
|
|
+ .end = 0x20300300 + 16,
|
|
|
|
+ .flags = IORESOURCE_MEM,
|
|
|
|
+ }, {
|
|
|
|
+
|
|
|
|
+ .start = IRQ_PF7,
|
|
|
|
+ .end = IRQ_PF7,
|
|
|
|
+ .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL,
|
|
|
|
+ },
|
|
|
|
+};
|
|
|
|
+static struct platform_device smc91x_device = {
|
|
|
|
+ .name = "smc91x",
|
|
|
|
+ .id = 0,
|
|
|
|
+ .num_resources = ARRAY_SIZE(smc91x_resources),
|
|
|
|
+ .resource = smc91x_resources,
|
|
|
|
+ .dev = {
|
|
|
|
+ .platform_data = &smc91x_info,
|
|
|
|
+ },
|
|
|
|
+};
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_DM9000) || defined(CONFIG_DM9000_MODULE)
|
|
|
|
+static struct resource dm9000_resources[] = {
|
|
|
|
+ [0] = {
|
|
|
|
+ .start = 0x203FB800,
|
|
|
|
+ .end = 0x203FB800 + 1,
|
|
|
|
+ .flags = IORESOURCE_MEM,
|
|
|
|
+ },
|
|
|
|
+ [1] = {
|
|
|
|
+ .start = 0x203FB804,
|
|
|
|
+ .end = 0x203FB804 + 1,
|
|
|
|
+ .flags = IORESOURCE_MEM,
|
|
|
|
+ },
|
|
|
|
+ [2] = {
|
|
|
|
+ .start = IRQ_PF9,
|
|
|
|
+ .end = IRQ_PF9,
|
|
|
|
+ .flags = (IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE),
|
|
|
|
+ },
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+static struct platform_device dm9000_device = {
|
|
|
|
+ .name = "dm9000",
|
|
|
|
+ .id = -1,
|
|
|
|
+ .num_resources = ARRAY_SIZE(dm9000_resources),
|
|
|
|
+ .resource = dm9000_resources,
|
|
|
|
+};
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#if defined(CONFIG_USB_SL811_HCD) || defined(CONFIG_USB_SL811_HCD_MODULE)
|
|
|
|
+static struct resource sl811_hcd_resources[] = {
|
|
|
|
+ {
|