diff options
author | Jerry Ray <jerry.ray@microchip.com> | 2022-09-02 16:30:21 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-09-07 11:06:04 +0100 |
commit | 13248b975038241be329388a9a707dd12fdd5466 (patch) | |
tree | 10fbaa2010352ad85d35bbc006609574a2ffdb48 /drivers/net/dsa/lan9303_mdio.c | |
parent | 732f374e23a9ae05dbc13825e4b02b3abce9f9aa (diff) |
net: dsa: LAN9303: Add basic support for LAN9354
Adding support for the LAN9354 device by allowing it to use
the LAN9303 DSA driver. These devices have the same underlying
access and control methods and from a feature set point of view
the LAN9354 is a superset of the LAN9303.
The MDIO access method has been tested on a SAMA5D3-EDS board
with a LAN9354 RMII daughter card.
While the SPI access method should also be the same, it has not
been tested and as such is not included at this time.
Signed-off-by: Jerry Ray <jerry.ray@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/lan9303_mdio.c')
-rw-r--r-- | drivers/net/dsa/lan9303_mdio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/lan9303_mdio.c b/drivers/net/dsa/lan9303_mdio.c index bbb7032409ba..d12c55fdc811 100644 --- a/drivers/net/dsa/lan9303_mdio.c +++ b/drivers/net/dsa/lan9303_mdio.c @@ -158,6 +158,7 @@ static void lan9303_mdio_shutdown(struct mdio_device *mdiodev) static const struct of_device_id lan9303_mdio_of_match[] = { { .compatible = "smsc,lan9303-mdio" }, + { .compatible = "microchip,lan9354-mdio" }, { /* sentinel */ }, }; MODULE_DEVICE_TABLE(of, lan9303_mdio_of_match); |