net: stmmac: lpc18xx: convert to PHY_INTF_SEL_x

Use the common dwmac definitions for the PHY interface selection field.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1vGy59-0000000DhQ1-393H@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
Russell King (Oracle)
2025-11-06 11:23:11 +00:00
committed by Jakub Kicinski
parent 86b721bb0b
commit 5636fcdb02
@@ -22,8 +22,8 @@
/* Register defines for CREG syscon */
#define LPC18XX_CREG_CREG6 0x12c
# define LPC18XX_CREG_CREG6_ETHMODE_MASK 0x7
# define LPC18XX_CREG_CREG6_ETHMODE_MII 0x0
# define LPC18XX_CREG_CREG6_ETHMODE_RMII 0x4
# define LPC18XX_CREG_CREG6_ETHMODE_MII PHY_INTF_SEL_GMII_MII
# define LPC18XX_CREG_CREG6_ETHMODE_RMII PHY_INTF_SEL_RMII
static int lpc18xx_dwmac_probe(struct platform_device *pdev)
{