diff options
author | Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com> | 2021-03-12 00:07:03 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-12 16:58:36 -0800 |
commit | c3b8e07909dbe67b0d580416c1a5257643a73be7 (patch) | |
tree | dc53529a132a9acf2f574fd6bc457ae86f014e13 /drivers/phy | |
parent | 2e5de7e0c8d2caa860e133ef71fc94671cb8e0bf (diff) |
net: dsa: mt7530: setup core clock even in TRGMII mode
A recent change to MIPS ralink reset logic made it so mt7530 actually
resets the switch on platforms such as mt7621 (where bit 2 is the reset
line for the switch). That exposed an issue where the switch would not
function properly in TRGMII mode after a reset.
Reconfigure core clock in TRGMII mode to fix the issue.
Tested on Ubiquiti ER-X (MT7621) with TRGMII mode enabled.
Fixes: 3f9ef7785a9c ("MIPS: ralink: manage low reset lines")
Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/phy')
0 files changed, 0 insertions, 0 deletions