[ARM] 4400/1: S3C24XX: Add high-speed MMC device definition
Add definition for high-speed MMC/SD device and add to SMDK2443 device list. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
@@ -403,6 +403,36 @@ struct platform_device s3c_device_sdi = {
|
||||
|
||||
EXPORT_SYMBOL(s3c_device_sdi);
|
||||
|
||||
/* High-speed MMC/SD */
|
||||
|
||||
static struct resource s3c_hsmmc_resource[] = {
|
||||
[0] = {
|
||||
.start = S3C2443_PA_HSMMC,
|
||||
.end = S3C2443_PA_HSMMC + S3C2443_SZ_HSMMC - 1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
[1] = {
|
||||
.start = IRQ_S3C2443_HSMMC,
|
||||
.end = IRQ_S3C2443_HSMMC,
|
||||
.flags = IORESOURCE_IRQ,
|
||||
}
|
||||
};
|
||||
|
||||
static u64 s3c_device_hsmmc_dmamask = 0xffffffffUL;
|
||||
|
||||
struct platform_device s3c_device_hsmmc = {
|
||||
.name = "s3c-sdhci",
|
||||
.id = -1,
|
||||
.num_resources = ARRAY_SIZE(s3c_hsmmc_resource),
|
||||
.resource = s3c_hsmmc_resource,
|
||||
.dev = {
|
||||
.dma_mask = &s3c_device_hsmmc_dmamask,
|
||||
.coherent_dma_mask = 0xffffffffUL
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
/* SPI (0) */
|
||||
|
||||
static struct resource s3c_spi0_resource[] = {
|
||||
|
Reference in New Issue
Block a user