]> git.sur5r.net Git - u-boot/blobdiff - drivers/net/phy/xilinx_phy.c
net: phy: xilinx_phy: Read phytype using property xlnx,phy-type
[u-boot] / drivers / net / phy / xilinx_phy.c
index 3f80f0495e8d54ff6b74e5e3995e343595eaa9f7..7142a99ce580bbc0861b40ec86d24a52c247752d 100644 (file)
@@ -105,7 +105,7 @@ static int xilinxphy_of_init(struct phy_device *phydev)
 
        debug("%s\n", __func__);
        phytype = fdtdec_get_int(gd->fdt_blob, dev_of_offset(phydev->dev),
-                                "phy-type", -1);
+                                "xlnx,phy-type", -1);
        if (phytype == XAE_PHY_TYPE_1000BASE_X)
                phydev->flags |= XAE_PHY_TYPE_1000BASE_X;