net: dsa: mt7530: do not use SW_PHY_RST to reset MT7531 switch
authorArınç ÜNAL <arinc.unal@arinc9.com>
Fri, 1 Mar 2024 10:42:59 +0000 (12:42 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 5 Mar 2024 11:23:42 +0000 (12:23 +0100)
commita565f98d7d25ce5125956fc61c47526c8041e531
tree5b102131d1d68fe4b44436beb69a42f4d7736cf9
parent804cd5f7059e2ca1e26cbd945b648bcba2d33766
net: dsa: mt7530: do not use SW_PHY_RST to reset MT7531 switch

According to the document MT7531 Reference Manual for Development Board
v1.0, the SW_PHY_RST bit on the SYS_CTRL register doesn't exist for
MT7531. This is likely why forcing link down on all ports is necessary for
MT7531.

Therefore, do not set SW_PHY_RST on mt7531_setup().

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/dsa/mt7530.c