net: ethernet: ti: am65-cpsw-nuss: enable 10Mbps link speed in rgmii mode
authorMurali Karicheri <m-karicheri2@ti.com>
Fri, 17 Apr 2020 15:12:09 +0000 (11:12 -0400)
committerLokesh Vutla <lokeshvutla@ti.com>
Sat, 9 May 2020 14:28:58 +0000 (19:58 +0530)
commit39821d58c91d97b48a36ea340adedc4c9b8f5b85
tree7ce7d0ec0edde6b6269ae941b4cdce4914b4664f
parent552f19f8fe069500c024bbe44e25e1ed9535d27c
net: ethernet: ti: am65-cpsw-nuss: enable 10Mbps link speed in rgmii mode

In RGMII mode the 10Mbps link speed is supported only when CPSW2G MAC SL is
configured for External Control ("in band") mode
CPSW_PN_MAC_CONTROL_REG.CTL_EN(18) = 1

Hence update am65_cpsw_update_link() to follow documentation.

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
drivers/net/ti/am65-cpsw-nuss.c