]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: rzn1-a5psw: add Renesas RZ/N1 advanced 5 port switch driver
authorClément Léger <clement.leger@bootlin.com>
Fri, 24 Jun 2022 14:39:52 +0000 (16:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jun 2022 10:37:55 +0000 (11:37 +0100)
commit82752fa048151707ce9c96eb82ddf0cb7e846a4b
tree5623fe36a9190ea23d7f076009ca01892f5799d9
parentabcec170c57130da2b0c805938a68549a83004c0
net: dsa: rzn1-a5psw: add Renesas RZ/N1 advanced 5 port switch driver

Add Renesas RZ/N1 advanced 5 port switch driver. This switch handles 5
ports including 1 CPU management port. A MDIO bus is also exposed by
this switch and allows to communicate with PHYs connected to the ports.
Each switch port (except for the CPU management ports) is connected to
the MII converter.

This driver includes basic bridging support, more support will be added
later (vlan, etc).

Suggested-by: Jean-Pierre Geslin <jean-pierre.geslin@non.se.com>
Suggested-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: Clément Léger <clement.leger@bootlin.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/Kconfig
drivers/net/dsa/Makefile
drivers/net/dsa/rzn1_a5psw.c [new file with mode: 0644]
drivers/net/dsa/rzn1_a5psw.h [new file with mode: 0644]