Skip to content

Commit 186016d

Browse files
Siddharth-Vadapalli-at-TIkuba-moo
authored andcommitted
net: ethernet: ti: am65-cpsw: Enable SGMII mode for J721E
TI's J721E SoC supports SGMII mode with the CPSW9G instance of the CPSW Ethernet Switch. Thus, enable it by adding SGMII mode to the extra_modes member of the "j721e_cpswxg_pdata" SoC data. Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 2e20e76 commit 186016d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/ti/am65-cpsw-nuss.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2784,7 +2784,7 @@ static const struct am65_cpsw_pdata j721e_cpswxg_pdata = {
27842784
.quirks = 0,
27852785
.ale_dev_id = "am64-cpswxg",
27862786
.fdqring_mode = K3_RINGACC_RING_MODE_MESSAGE,
2787-
.extra_modes = BIT(PHY_INTERFACE_MODE_QSGMII),
2787+
.extra_modes = BIT(PHY_INTERFACE_MODE_QSGMII) | BIT(PHY_INTERFACE_MODE_SGMII),
27882788
};
27892789

27902790
static const struct of_device_id am65_cpsw_nuss_of_mtable[] = {

0 commit comments

Comments
 (0)