mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
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>
This commit is contained in:
parent
f5ff46f6e5
commit
4f4dde0a62
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue