Lines Matching +full:lpc1850 +full:- +full:creg
22 /* Register defines for CREG syscon */
44 plat_dat->mac_interface = PHY_INTERFACE_MODE_NA; in lpc18xx_dwmac_probe()
45 plat_dat->has_gmac = true; in lpc18xx_dwmac_probe()
47 reg = syscon_regmap_lookup_by_compatible("nxp,lpc1850-creg"); in lpc18xx_dwmac_probe()
49 dev_err(&pdev->dev, "syscon lookup failed\n"); in lpc18xx_dwmac_probe()
53 if (plat_dat->phy_interface == PHY_INTERFACE_MODE_MII) { in lpc18xx_dwmac_probe()
55 } else if (plat_dat->phy_interface == PHY_INTERFACE_MODE_RMII) { in lpc18xx_dwmac_probe()
58 dev_err(&pdev->dev, "Only MII and RMII mode supported\n"); in lpc18xx_dwmac_probe()
59 return -EINVAL; in lpc18xx_dwmac_probe()
65 return stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); in lpc18xx_dwmac_probe()
69 { .compatible = "nxp,lpc1850-dwmac" },
78 .name = "lpc18xx-dwmac",