mmc: sdhci_am654: Add Support for TI's AM642 SoC
Add support for the controller present on the AM642 SoC. There are instances: sdhci0: 8bit bus width, max 400 MBps sdhci1: 4bit bus width, max 100 MBps Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
This commit is contained in:
parent
7fe7713c2e
commit
7288beaa47
|
@ -470,6 +470,16 @@ const struct am654_driver_data j721e_4bit_drv_data = {
|
||||||
.flags = IOMUX_PRESENT,
|
.flags = IOMUX_PRESENT,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const struct am654_driver_data sdhci_am64_8bit_drvdata = {
|
||||||
|
.ops = &am654_sdhci_ops,
|
||||||
|
.flags = DLL_PRESENT | DLL_CALIB,
|
||||||
|
};
|
||||||
|
|
||||||
|
static const struct am654_driver_data sdhci_am64_4bit_drvdata = {
|
||||||
|
.ops = &j721e_4bit_sdhci_ops,
|
||||||
|
.flags = IOMUX_PRESENT,
|
||||||
|
};
|
||||||
|
|
||||||
const struct soc_attr am654_sdhci_soc_attr[] = {
|
const struct soc_attr am654_sdhci_soc_attr[] = {
|
||||||
{ .family = "AM65X", .revision = "SR1.0", .data = &am654_sr1_drv_data},
|
{ .family = "AM65X", .revision = "SR1.0", .data = &am654_sr1_drv_data},
|
||||||
{/* sentinel */}
|
{/* sentinel */}
|
||||||
|
@ -651,6 +661,14 @@ static const struct udevice_id am654_sdhci_ids[] = {
|
||||||
.compatible = "ti,j721e-sdhci-4bit",
|
.compatible = "ti,j721e-sdhci-4bit",
|
||||||
.data = (ulong)&j721e_4bit_drv_data,
|
.data = (ulong)&j721e_4bit_drv_data,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.compatible = "ti,am64-sdhci-8bit",
|
||||||
|
.data = (ulong)&sdhci_am64_8bit_drvdata,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
.compatible = "ti,am64-sdhci-4bit",
|
||||||
|
.data = (ulong)&sdhci_am64_4bit_drvdata,
|
||||||
|
},
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue