diff options
-rw-r--r-- | target/linux/brcm63xx/patches-3.18/804-bcm63xx_enet_63268_rgmii_ports.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/patches-3.18/804-bcm63xx_enet_63268_rgmii_ports.patch b/target/linux/brcm63xx/patches-3.18/804-bcm63xx_enet_63268_rgmii_ports.patch new file mode 100644 index 0000000..770f39e --- /dev/null +++ b/target/linux/brcm63xx/patches-3.18/804-bcm63xx_enet_63268_rgmii_ports.patch @@ -0,0 +1,13 @@ +--- a/drivers/net/ethernet/broadcom/bcm63xx_enet.c ++++ b/drivers/net/ethernet/broadcom/bcm63xx_enet.c +@@ -2272,6 +2272,10 @@ static int bcm_enetsw_open(struct net_de + + rgmii_ctrl = enetsw_readb(priv, ENETSW_RGMII_CTRL_REG(i)); + rgmii_ctrl |= ENETSW_RGMII_CTRL_GMII_CLK_EN; ++ if (BCMCPU_IS_63268()) { ++ rgmii_ctrl |= ENETSW_RGMII_CTRL_TIMING_SEL_EN; ++ rgmii_ctrl |= ENETSW_RGMII_CTRL_MII_OVERRIDE_EN; ++ } + enetsw_writeb(priv, rgmii_ctrl, ENETSW_RGMII_CTRL_REG(i)); + } + |