net: dsa: mv88e6xxx: enable support for 88E6361 switch
authorAlexis Lothoré <alexis.lothore@bootlin.com>
Mon, 29 May 2023 08:02:46 +0000 (10:02 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 31 May 2023 06:54:33 +0000 (23:54 -0700)
commit12899f299803d293d8e4d46d67cf2cc1380b9faa
tree4309fcbd34ac24f89ee50e3c5985e20e7ac8b170
parent18e1b7422dffe4c0f897fa63eb074f79d1d9d0a0
net: dsa: mv88e6xxx: enable support for 88E6361 switch

Marvell 88E6361 is an 8-port switch derived from the
88E6393X/88E9193X/88E6191X switches family. It can benefit from the
existing mv88e6xxx driver by simply adding the proper switch description in
the driver. Main differences with other switches from this
family are:
- 8 ports exposed (instead of 11): ports 1, 2 and 8 not available
- No 5GBase-x nor SFI/USXGMII support

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/chip.h
drivers/net/dsa/mv88e6xxx/port.c
drivers/net/dsa/mv88e6xxx/port.h