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-07-23 14:16:21 -04:00
2019-05-20 13:50:34 +02:00
2018-11-27 21:06:53 +05:30
2019-07-24 13:16:29 -04:00
2018-11-14 09:16:27 -08:00
2018-09-29 11:49:35 -06:00
2019-05-09 19:52:55 -04:00
2019-05-05 08:48:50 -04:00
2019-05-09 00:44:13 +05:30
2019-07-19 11:11:09 +08:00
2019-04-23 20:26:43 -06:00
2018-12-07 08:13:45 -05:00
2018-12-07 08:13:45 -05:00
2019-07-16 22:17:22 +00:00
2019-07-18 11:31:25 -04:00
2019-04-22 12:06:39 -04:00
2019-06-23 14:18:42 +08:00
2019-02-20 15:27:09 +08:00
2018-12-06 23:26:32 -05:00
2019-02-09 12:50:22 -07:00
2018-10-22 13:01:27 +02:00
2019-01-01 14:12:18 +01:00
2019-04-23 20:26:43 -06:00
2018-12-05 06:01:35 -07:00
2019-02-02 08:19:17 -05:00
2019-07-18 16:37:13 -05:00
2019-07-15 10:30:08 +08:00
2019-05-20 13:50:34 +02:00
2018-10-02 22:12:32 +05:30
2019-07-18 16:37:13 -05:00
2018-10-09 04:40:27 -06:00
2019-07-18 16:37:13 -05:00
2019-05-20 13:50:34 +02:00
2019-07-18 11:31:29 -04:00
2019-05-31 23:27:12 +02:00
2019-02-01 16:59:12 +01:00
2019-05-21 17:33:23 -06:00
2018-10-09 04:40:27 -06:00
2019-06-04 22:09:26 +02:00