Files
u-boot/drivers
Vladimir Oltean bca686a4f9 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 <olteanv@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2019-07-25 13:13:31 -05:00
..
2019-05-21 08:03:38 +02:00
2019-02-27 09:12:33 +08:00
2019-05-18 08:15:35 -04:00
2019-02-20 15:27:08 +08:00
2019-05-10 22:48:11 +02:00
2019-07-22 11:04:52 +02:00
2019-05-24 10:14:10 -07:00
2019-07-11 14:11:18 -04:00
2019-07-19 11:11:09 +08:00