Files
u-boot/drivers
Andre Przywara 12afd95711 net: sun8i-emac: add support for new EMAC DT binding
The Ethernet MAC used in newer Allwinner SoCs (H3, A64, H5) got an
upstream Linux driver in v4.15.
This one uses a slightly different binding from the original one used
by the U-Boot driver.
The differences to the old binding are:
- The "syscon" address is held in a separate node, referenced via a
  phandle in the "syscon" property.
- The reference to the PHY is held in a property called "phy-handle",
  not "phy".
- The PHY register is at offset 0x30 in the syscon device, not at 0.
- The internal PHY is activated when the node, which phy-handle points
  to, is a child node of an "allwinner,sun8i-h3-mdio-internal" node.

Teach the U-Boot driver how to find its resources in a "new-style" DT,
so that we can use a Linux kernel compatible DT for U-Boot as well.
This keeps support for the old binding for now, to allow a smooth
transition.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
2018-04-04 11:31:35 +05:30
..
2018-02-13 23:24:22 -05:00
2018-01-26 12:38:13 +01:00
2018-02-18 15:53:48 -07:00
2018-02-21 20:28:15 +01:00
2018-03-09 09:23:10 -05:00
2018-03-14 13:27:14 -04:00
2018-03-05 20:24:17 -05:00
2018-03-13 18:12:35 +01:00
2018-01-26 12:38:13 +01:00
2018-02-04 12:00:58 +01:00
2018-03-15 08:27:27 -04:00
2018-03-09 09:23:10 -05:00
2018-03-05 20:24:17 -05:00