--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
@@ -7398,6 +7398,7 @@ int stmmac_dvr_probe(struct device *devi
 {
 	struct net_device *ndev = NULL;
 	struct stmmac_priv *priv;
+	const char *devname = of_get_property(device->of_node, "label", NULL);
 	u32 rxq;
 	int i, ret = 0;
 
@@ -7406,6 +7407,9 @@ int stmmac_dvr_probe(struct device *devi
 	if (!ndev)
 		return -ENOMEM;
 
+	if (devname)
+		strscpy(ndev->name, devname, IFNAMSIZ);
+
 	SET_NETDEV_DEV(ndev, device);
 
 	priv = netdev_priv(ndev);
