static int emac_init_config(struct emac_instance *dev)
 {
        struct device_node *np = dev->ofdev->dev.of_node;
-       const void *p;
        int err;
 
        /* Read config from device-tree */
        }
 
        /* Read MAC-address */
-       p = of_get_property(np, "local-mac-address", NULL);
-       if (p == NULL) {
-               printk(KERN_ERR "%pOF: Can't find local-mac-address property\n",
-                      np);
-               return -ENXIO;
+       err = of_get_mac_address(np, dev->ndev->dev_addr);
+       if (err) {
+               if (err != -EPROBE_DEFER)
+                       dev_err(&dev->ofdev->dev, "Can't get valid [local-]mac-address from OF !\n");
+               return err;
        }
-       memcpy(dev->ndev->dev_addr, p, ETH_ALEN);
 
        /* IAHT and GAHT filter parameterization */
        if (emac_has_feature(dev, EMAC_FTR_EMAC4SYNC)) {