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)
commit888cdb892b61d7a77ac07a73c388bd237933b8f8
tree5623fe36a9190ea23d7f076009ca01892f5799d9
parent8956e96c1d4d46c58dd10f7da1a20da66f96ef48
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]