Skip to content
Snippets Groups Projects
Commit 377883f1 authored by Stefan Chulski's avatar Stefan Chulski Committed by Stefan Roese
Browse files

net: mvpp2x: fix phy connected to wrong mdio issue


A8K marvell SoC has two South Bridge communication controllers(CP0 and CP1).
Each communication controller has packet processor ports and MDIO.
On MACHIATOBin board ports from CP1 are connected to mdio on CP0.

Issue:
Wrong base address is assigned to MDIO interface during probe.

Fix:
Get MDIO address from PHY handler parent base address.

This should be refined in the future when MDIO driver is implemented.

Signed-off-by: default avatarStefan Chulski <stefanc@marvell.com>
Tested-by: default avatariSoC Platform CI <ykjenk@marvell.com>
Reviewed-by: default avatarIgal Liberman <igall@marvell.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent 4189373a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment