Enable FEC driver to retrieve PHY address from device tree
authorMartyn Welch <martyn@welchs.me.uk>
Tue, 11 Dec 2018 11:34:45 +0000 (11:34 +0000)
committerStefano Babic <sbabic@denx.de>
Mon, 28 Jan 2019 11:47:15 +0000 (12:47 +0100)
commit774ec60b74a7b8d356a2ec6249936b097631a726
treec5e2836885dd10de91775d7b34721cc1d32a80ea
parentb2ca8907d92434300e081e0f23ec589a2de1be9f
Enable FEC driver to retrieve PHY address from device tree

Currently if we have more than one phy on the MDIO bus, we do not have a
good mechanism for determining which should be used at runtime. Enable the
FEC driver to determine the address for the PHY from the device tree.

Signed-off-by: Martyn Welch <martyn.welch@collabora.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
drivers/net/fec_mxc.c