summaryrefslogtreecommitdiff
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2019-07-19 00:29:54 +0300
committerJoe Hershberger <[email protected]>2019-07-25 13:13:31 -0500
commitbca686a4f90de853f010ce76d6ab9ea95b528907 (patch)
tree574e8e469205f0d30e945e65c66b0e8d40b4e2e5 /include/linux/kernel.h
parent29db3107a526ecd795eb236e345434bf1fa3d0d4 (diff)
net: tsec: Fix offset of MDIO registers for DM_ETH
By convention, the eTSEC MDIO controller nodes are defined in DT at 0x2d24000 and 0x2d50000, but actually U-Boot does not touch the interrupt portion of the register map (MDIO_IEVENTM, MDIO_IMASKM, MDIO_EMAPM). That leaves only the MDIO bus registers (MDIO_MIIMCFG, MDIO_MIIMCOM, MDIO_MIIMADD, MDIO_MIIMADD, MDIO_MIIMCON, MDIO_MIIMSTAT) which start at the 0x520 offset. So shift the DT-defined register map by the offset of MDIO_MIIMCFG when mapping the MDIO bus registers. Signed-off-by: Vladimir Oltean <[email protected]> Acked-by: Joe Hershberger <[email protected]> Reviewed-by: Bin Meng <[email protected]>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions