提交 4f4dde0a 编写于 作者: C Chris Packham 提交者: Jagan Teki

spi: kirkwood: add orion-spi compatible string

This matches the compatible string used by the Linux kernel. This will
allow u-boot to use the same device tree files.
Signed-off-by: NChris Packham <judge.packham@gmail.com>
Reviewed-by: NJagan Teki <jagan@openedev.com>
[jagan: use armada instead of orion on .data]
Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
上级 f5ff46f6
...@@ -386,6 +386,10 @@ static const struct dm_spi_ops mvebu_spi_ops = { ...@@ -386,6 +386,10 @@ static const struct dm_spi_ops mvebu_spi_ops = {
*/ */
}; };
static const struct mvebu_spi_dev armada_spi_dev_data = {
.is_errata_50mhz_ac = false,
};
static const struct mvebu_spi_dev armada_xp_spi_dev_data = { static const struct mvebu_spi_dev armada_xp_spi_dev_data = {
.is_errata_50mhz_ac = false, .is_errata_50mhz_ac = false,
}; };
...@@ -399,6 +403,10 @@ static const struct mvebu_spi_dev armada_380_spi_dev_data = { ...@@ -399,6 +403,10 @@ static const struct mvebu_spi_dev armada_380_spi_dev_data = {
}; };
static const struct udevice_id mvebu_spi_ids[] = { static const struct udevice_id mvebu_spi_ids[] = {
{
.compatible = "marvell,orion-spi",
.data = (ulong)&armada_spi_dev_data,
},
{ {
.compatible = "marvell,armada-375-spi", .compatible = "marvell,armada-375-spi",
.data = (ulong)&armada_375_spi_dev_data .data = (ulong)&armada_375_spi_dev_data
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册