net: ethernet: ti: am65-cpsw: Add support for SGMII mode
authorSiddharth Vadapalli <s-vadapalli@ti.com>
Tue, 21 Mar 2023 11:19:56 +0000 (16:49 +0530)
committerJakub Kicinski <kuba@kernel.org>
Thu, 23 Mar 2023 05:16:24 +0000 (22:16 -0700)
commite0f72db37547d605d66c344c4d01a39ad4b7c4be
tree953f396c027a13d138890fe865b2761152dac0ec
parenta2935a1cd85fc76198a1980abfeb6dc9a776dcf3
net: ethernet: ti: am65-cpsw: Add support for SGMII mode

Add support for configuring the CPSW Ethernet Switch in SGMII mode.

Depending on the SoC, allow selecting SGMII mode as a supported interface,
based on the compatible used.

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/ti/am65-cpsw-nuss.c