brcm63xx: add pinctrl support
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.4 / 403-6358-enet1-external-mii-clk.patch
index 75d60d69a3c5aefc253cd9ca8e3a115674974638..a51700a4828fdf58249ca9f16144a31b188a1f17 100644 (file)
@@ -8,7 +8,7 @@
 +                      val |= GPIO_MODE_6358_ENET1_MII_CLK_INV;
        }
  
-       if (BCMCPU_IS_6368() && board.has_enetsw) {
+       bcm_gpio_writel(val, GPIO_MODE_REG);
 --- a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h
 +++ b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h
 @@ -651,6 +651,8 @@