|
@@ -233,19 +233,6 @@ static struct resource au1200_lcd_resources[] = {
|
|
}
|
|
}
|
|
};
|
|
};
|
|
|
|
|
|
-static struct resource au1200_ide0_resources[] = {
|
|
|
|
- [0] = {
|
|
|
|
- .start = AU1XXX_ATA_PHYS_ADDR,
|
|
|
|
- .end = AU1XXX_ATA_PHYS_ADDR + AU1XXX_ATA_PHYS_LEN - 1,
|
|
|
|
- .flags = IORESOURCE_MEM,
|
|
|
|
- },
|
|
|
|
- [1] = {
|
|
|
|
- .start = AU1XXX_ATA_INT,
|
|
|
|
- .end = AU1XXX_ATA_INT,
|
|
|
|
- .flags = IORESOURCE_IRQ,
|
|
|
|
- }
|
|
|
|
-};
|
|
|
|
-
|
|
|
|
static u64 au1200_lcd_dmamask = ~(u32)0;
|
|
static u64 au1200_lcd_dmamask = ~(u32)0;
|
|
|
|
|
|
static struct platform_device au1200_lcd_device = {
|
|
static struct platform_device au1200_lcd_device = {
|
|
@@ -259,20 +246,6 @@ static struct platform_device au1200_lcd_device = {
|
|
.resource = au1200_lcd_resources,
|
|
.resource = au1200_lcd_resources,
|
|
};
|
|
};
|
|
|
|
|
|
-
|
|
|
|
-static u64 ide0_dmamask = ~(u32)0;
|
|
|
|
-
|
|
|
|
-static struct platform_device au1200_ide0_device = {
|
|
|
|
- .name = "au1200-ide",
|
|
|
|
- .id = 0,
|
|
|
|
- .dev = {
|
|
|
|
- .dma_mask = &ide0_dmamask,
|
|
|
|
- .coherent_dma_mask = 0xffffffff,
|
|
|
|
- },
|
|
|
|
- .num_resources = ARRAY_SIZE(au1200_ide0_resources),
|
|
|
|
- .resource = au1200_ide0_resources,
|
|
|
|
-};
|
|
|
|
-
|
|
|
|
static u64 au1xxx_mmc_dmamask = ~(u32)0;
|
|
static u64 au1xxx_mmc_dmamask = ~(u32)0;
|
|
|
|
|
|
static struct platform_device au1xxx_mmc_device = {
|
|
static struct platform_device au1xxx_mmc_device = {
|
|
@@ -292,29 +265,6 @@ static struct platform_device au1x00_pcmcia_device = {
|
|
.id = 0,
|
|
.id = 0,
|
|
};
|
|
};
|
|
|
|
|
|
-#if defined(CONFIG_MIPS_DB1200) || defined(CONFIG_MIPS_PB1200)
|
|
|
|
-static struct resource smc91x_resources[] = {
|
|
|
|
- [0] = {
|
|
|
|
- .name = "smc91x-regs",
|
|
|
|
- .start = AU1XXX_SMC91111_PHYS_ADDR,
|
|
|
|
- .end = AU1XXX_SMC91111_PHYS_ADDR + 0xf,
|
|
|
|
- .flags = IORESOURCE_MEM,
|
|
|
|
- },
|
|
|
|
- [1] = {
|
|
|
|
- .start = AU1XXX_SMC91111_IRQ,
|
|
|
|
- .end = AU1XXX_SMC91111_IRQ,
|
|
|
|
- .flags = IORESOURCE_IRQ,
|
|
|
|
- },
|
|
|
|
-};
|
|
|
|
-
|
|
|
|
-static struct platform_device smc91x_device = {
|
|
|
|
- .name = "smc91x",
|
|
|
|
- .id = -1,
|
|
|
|
- .num_resources = ARRAY_SIZE(smc91x_resources),
|
|
|
|
- .resource = smc91x_resources,
|
|
|
|
-};
|
|
|
|
-#endif /* defined(CONFIG_MIPS_DB1200) || defined(CONFIG_MIPS_PB1200) */
|
|
|
|
-
|
|
|
|
/* All Alchemy demoboards with I2C have this #define in their headers */
|
|
/* All Alchemy demoboards with I2C have this #define in their headers */
|
|
#ifdef SMBUS_PSC_BASE
|
|
#ifdef SMBUS_PSC_BASE
|
|
static struct resource pbdb_smbus_resources[] = {
|
|
static struct resource pbdb_smbus_resources[] = {
|
|
@@ -345,12 +295,8 @@ static struct platform_device *au1xxx_platform_devices[] __initdata = {
|
|
&au1xxx_usb_gdt_device,
|
|
&au1xxx_usb_gdt_device,
|
|
&au1xxx_usb_otg_device,
|
|
&au1xxx_usb_otg_device,
|
|
&au1200_lcd_device,
|
|
&au1200_lcd_device,
|
|
- &au1200_ide0_device,
|
|
|
|
&au1xxx_mmc_device,
|
|
&au1xxx_mmc_device,
|
|
#endif
|
|
#endif
|
|
-#if defined(CONFIG_MIPS_DB1200) || defined(CONFIG_MIPS_PB1200)
|
|
|
|
- &smc91x_device,
|
|
|
|
-#endif
|
|
|
|
#ifdef SMBUS_PSC_BASE
|
|
#ifdef SMBUS_PSC_BASE
|
|
&pbdb_smbus_device,
|
|
&pbdb_smbus_device,
|
|
#endif
|
|
#endif
|