diff options
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod_3xxx_data.c')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c index 207ccfbac2e..5fdcc1e9d4a 100644 --- a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <plat/l4_3xxx.h> | 22 | #include <plat/l4_3xxx.h> |
23 | #include <plat/i2c.h> | 23 | #include <plat/i2c.h> |
24 | #include <plat/gpio.h> | 24 | #include <plat/gpio.h> |
25 | #include <plat/mmc.h> | ||
25 | #include <plat/smartreflex.h> | 26 | #include <plat/smartreflex.h> |
26 | #include <plat/mcspi.h> | 27 | #include <plat/mcspi.h> |
27 | #include <plat/dmtimer.h> | 28 | #include <plat/dmtimer.h> |
@@ -2944,6 +2945,10 @@ static struct omap_hwmod_ocp_if *omap3xxx_mmc1_slaves[] = { | |||
2944 | &omap3xxx_l4_core__mmc1, | 2945 | &omap3xxx_l4_core__mmc1, |
2945 | }; | 2946 | }; |
2946 | 2947 | ||
2948 | static struct omap_mmc_dev_attr mmc1_dev_attr = { | ||
2949 | .flags = OMAP_HSMMC_SUPPORTS_DUAL_VOLT, | ||
2950 | }; | ||
2951 | |||
2947 | static struct omap_hwmod omap3xxx_mmc1_hwmod = { | 2952 | static struct omap_hwmod omap3xxx_mmc1_hwmod = { |
2948 | .name = "mmc1", | 2953 | .name = "mmc1", |
2949 | .mpu_irqs = omap34xx_mmc1_mpu_irqs, | 2954 | .mpu_irqs = omap34xx_mmc1_mpu_irqs, |
@@ -2962,6 +2967,7 @@ static struct omap_hwmod omap3xxx_mmc1_hwmod = { | |||
2962 | .idlest_idle_bit = OMAP3430_ST_MMC1_SHIFT, | 2967 | .idlest_idle_bit = OMAP3430_ST_MMC1_SHIFT, |
2963 | }, | 2968 | }, |
2964 | }, | 2969 | }, |
2970 | .dev_attr = &mmc1_dev_attr, | ||
2965 | .slaves = omap3xxx_mmc1_slaves, | 2971 | .slaves = omap3xxx_mmc1_slaves, |
2966 | .slaves_cnt = ARRAY_SIZE(omap3xxx_mmc1_slaves), | 2972 | .slaves_cnt = ARRAY_SIZE(omap3xxx_mmc1_slaves), |
2967 | .class = &omap34xx_mmc_class, | 2973 | .class = &omap34xx_mmc_class, |