mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 08:33:17 +02:00
net: stmmac: meson8b: use PHY_INTF_SEL_x
Use PHY_INTF_SEL_x definitions for phy_intf_sel bitfield. Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Link: https://patch.msgid.link/E1vIT6R-0000000DpPL-0Nli@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
34bff6f03c
commit
12f42597ab
|
|
@ -26,8 +26,8 @@
|
|||
#define PRG_ETH0_RGMII_MODE BIT(0)
|
||||
|
||||
#define PRG_ETH0_EXT_PHY_MODE_MASK GENMASK(2, 0)
|
||||
#define PRG_ETH0_EXT_RGMII_MODE 1
|
||||
#define PRG_ETH0_EXT_RMII_MODE 4
|
||||
#define PRG_ETH0_EXT_RGMII_MODE PHY_INTF_SEL_RGMII
|
||||
#define PRG_ETH0_EXT_RMII_MODE PHY_INTF_SEL_RMII
|
||||
|
||||
/* mux to choose between fclk_div2 (bit unset) and mpll2 (bit set) */
|
||||
#define PRG_ETH0_CLK_M250_SEL_MASK GENMASK(4, 4)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user