Skip to content
Commit acce753d authored by Baruch Siach's avatar Baruch Siach Committed by Joe Hershberger
Browse files

net: mvpp2: fix lookup of mdio registers base address



Current mdio base lookup code relies on a 'reg' property at the upper CP
node. There is no 'reg' property there in current DT files of Armada
CP110. Use ofnode_get_addr() instead since it provides proper DT address
translation.

Cc: Ken Ma <make@marvell.com>
Cc: Stefan Chulski <stefanc@marvell.com>
Signed-off-by: default avatarBaruch Siach <baruch@tkos.co.il>
Reviewed-by: default avatarStefan Roese <sr@denx.de>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent 7efb75b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment