diff options
author | Chris Packham <judge.packham@gmail.com> | 2018-08-01 12:19:26 +0530 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2018-08-03 11:14:02 +0530 |
commit | 4f4dde0a626e6e7858f12304319faf8b8dc0e2de (patch) | |
tree | b6652ef3c7d495c6d1cb0501b2559d1a74399aac | |
parent | f5ff46f6e5f88e1ee276963105d328a1bda6269a (diff) |
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: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
[jagan: use armada instead of orion on .data]
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
-rw-r--r-- | drivers/spi/kirkwood_spi.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/spi/kirkwood_spi.c b/drivers/spi/kirkwood_spi.c index 4aa2c5481e7..5dd1ad67cfc 100644 --- a/drivers/spi/kirkwood_spi.c +++ b/drivers/spi/kirkwood_spi.c @@ -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 = { .is_errata_50mhz_ac = false, }; @@ -400,6 +404,10 @@ static const struct mvebu_spi_dev armada_380_spi_dev_data = { static const struct udevice_id mvebu_spi_ids[] = { { + .compatible = "marvell,orion-spi", + .data = (ulong)&armada_spi_dev_data, + }, + { .compatible = "marvell,armada-375-spi", .data = (ulong)&armada_375_spi_dev_data }, |