The SPI controllers in the Allwinner A523/A527/T527 SoCs is very close
to the one used in the R329 and D1 generation, definitely as far as our
driver is concerned.

Add the new compatible string, but use the existing config section from
the previous SoC generation.

Signed-off-by: Andre Przywara <[email protected]>
---
 drivers/spi/spi-sunxi.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/spi/spi-sunxi.c b/drivers/spi/spi-sunxi.c
index 08b603f04a2..4e91cf6b7fd 100644
--- a/drivers/spi/spi-sunxi.c
+++ b/drivers/spi/spi-sunxi.c
@@ -587,6 +587,10 @@ static const struct udevice_id sun4i_spi_ids[] = {
          .compatible = "allwinner,sun50i-r329-spi",
          .data = (ulong)&sun50i_r329_spi_variant,
        },
+       {
+         .compatible = "allwinner,sun55i-a523-spi",
+         .data = (ulong)&sun50i_r329_spi_variant,
+       },
        { /* sentinel */ }
 };
 
-- 
2.46.4

Reply via email to