net: phy: at803x: support qca8081 1G chip type
authorLuo Jie <quic_luoj@quicinc.com>
Sun, 16 Jul 2023 08:49:22 +0000 (16:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jul 2023 09:15:13 +0000 (10:15 +0100)
commitfea7cfb83d1a2782e39cd101dd44ed2548539de5
tree7ae46922a9fdc1a99a9e41aea72f6c1d42dd04c5
parent7cc3209558002d95c0d45a1276ba4f5f741eec42
net: phy: at803x: support qca8081 1G chip type

The qca8081 1G chip version does not support 2.5 capability, which
is distinguished from qca8081 2.5G chip according to the bit0 of
register mmd7.0x901d, the 1G version chip also has the same PHY ID
as the normal qca8081 2.5G chip.

Signed-off-by: Luo Jie <quic_luoj@quicinc.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/at803x.c