Because of forking paths when Micrel was acquire by Microchip, two devices also exist with the micrel,* prefix bindings. Ass these to the KSZ SPI driver so users can use the more capable driver. Signed-off-by: Linus Walleij --- drivers/net/dsa/microchip/ksz_spi.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/drivers/net/dsa/microchip/ksz_spi.c b/drivers/net/dsa/microchip/ksz_spi.c index d8001734b057..e3bb1ccf2331 100644 --- a/drivers/net/dsa/microchip/ksz_spi.c +++ b/drivers/net/dsa/microchip/ksz_spi.c @@ -312,6 +312,21 @@ static const struct of_device_id ksz_dt_ids[] = { .compatible = "microchip,lan9646", .data = &ksz_switch_chips[LAN9646] }, + /* + * Legacy Micrel bindings. In 2015 Microchip acquired + * Micrel which is the originator of the KSZ series, and + * devices branded for Micrel already existed, as well as + * some device tree bindings. These two products are identical + * to the same Microchip products. + */ + { + .compatible = "micrel,ksz8864", + .data = &ksz_switch_chips[KSZ8864] + }, + { + .compatible = "micrel,ksz8795", + .data = &ksz_switch_chips[KSZ8795] + }, {}, }; MODULE_DEVICE_TABLE(of, ksz_dt_ids); -- 2.53.0