mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
net: stmmac: rk: rk3528: gmac0 only supports RMII
RK3528 gmac0 dtsi contains:
gmac0: ethernet@ffbd0000 {
phy-handle = <&rmii0_phy>;
phy-mode = "rmii";
mdio0: mdio {
rmii0_phy: ethernet-phy@2 {
phy-is-integrated;
};
};
};
This follows the same pattern as rk3328, where this gmac instance
only supports RMII. Disable RGMII in phylink's supported_interfaces
mask for this gmac instance.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patch.msgid.link/E1vnYy1-00000007hp3-0hKm@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
f365541bf7
commit
d7d92037cb
|
|
@ -728,6 +728,7 @@ static int rk3528_init(struct rk_priv_data *bsp_priv)
|
|||
case 0:
|
||||
bsp_priv->clock_grf_reg = RK3528_VO_GRF_GMAC_CON;
|
||||
bsp_priv->clock.rmii_clk_sel_mask = BIT_U16(3);
|
||||
bsp_priv->supports_rgmii = false;
|
||||
return 0;
|
||||
|
||||
case 1:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user