net: phy: xilinx: Be compatible with live OF tree
authorBin Meng <bmeng.cn@gmail.com>
Sun, 14 Mar 2021 12:14:50 +0000 (20:14 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Thu, 15 Apr 2021 08:52:17 +0000 (14:22 +0530)
commit6c993815bbea1911987e238e6e9d9fa5fd0fa8b6
treee364c4d6a95eb3f0af2df60f8b21bf6986acf051
parent3407c30eeb885431e603bca4ca558ce53dc96a68
net: phy: xilinx: Be compatible with live OF tree

Following the same updates that were done to the fixed phy driver,
use ofnode_ APIs instead of fdt_ APIs so that the Xilinx PHY driver
can support live DT.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/net/phy/phy.c
drivers/net/phy/xilinx_gmii2rgmii.c