From: Chris Packham Date: Wed, 1 Aug 2018 06:49:26 +0000 (+0530) Subject: spi: kirkwood: add orion-spi compatible string X-Git-Tag: v2018.09-rc2~69^2~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4f4dde0a626e6e7858f12304319faf8b8dc0e2de;p=oweals%2Fu-boot.git 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 Reviewed-by: Jagan Teki [jagan: use armada instead of orion on .data] Signed-off-by: Jagan Teki --- diff --git a/drivers/spi/kirkwood_spi.c b/drivers/spi/kirkwood_spi.c index 4aa2c5481e..5dd1ad67cf 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, }; @@ -399,6 +403,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