|
@@ -12,6 +12,7 @@
|
|
#include <linux/interrupt.h>
|
|
#include <linux/interrupt.h>
|
|
#include <linux/input.h>
|
|
#include <linux/input.h>
|
|
#include <linux/input/sh_keysc.h>
|
|
#include <linux/input/sh_keysc.h>
|
|
|
|
+#include <linux/mfd/sh_mobile_sdhi.h>
|
|
#include <linux/mtd/physmap.h>
|
|
#include <linux/mtd/physmap.h>
|
|
#include <linux/mtd/nand.h>
|
|
#include <linux/mtd/nand.h>
|
|
#include <linux/i2c.h>
|
|
#include <linux/i2c.h>
|
|
@@ -402,10 +403,18 @@ static struct resource sdhi_cn9_resources[] = {
|
|
},
|
|
},
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+static struct sh_mobile_sdhi_info sh7724_sdhi_data = {
|
|
|
|
+ .dma_slave_tx = SHDMA_SLAVE_SDHI0_TX,
|
|
|
|
+ .dma_slave_rx = SHDMA_SLAVE_SDHI0_RX,
|
|
|
|
+};
|
|
|
|
+
|
|
static struct platform_device sdhi_cn9_device = {
|
|
static struct platform_device sdhi_cn9_device = {
|
|
.name = "sh_mobile_sdhi",
|
|
.name = "sh_mobile_sdhi",
|
|
.num_resources = ARRAY_SIZE(sdhi_cn9_resources),
|
|
.num_resources = ARRAY_SIZE(sdhi_cn9_resources),
|
|
.resource = sdhi_cn9_resources,
|
|
.resource = sdhi_cn9_resources,
|
|
|
|
+ .dev = {
|
|
|
|
+ .platform_data = &sh7724_sdhi_data,
|
|
|
|
+ },
|
|
.archdata = {
|
|
.archdata = {
|
|
.hwblk_id = HWBLK_SDHI,
|
|
.hwblk_id = HWBLK_SDHI,
|
|
},
|
|
},
|