brcm63xx: setup internal switch leds for bcm6368
[openwrt/staging/chunkeey.git] / target / linux / brcm63xx / patches-4.4 / 403-6358-enet1-external-mii-clk.patch
index 9699cf351156fa87007992436b2430e07f24162a..206fc3f1795f9631d3d18cb3ef11438d60c9c548 100644 (file)
@@ -8,7 +8,7 @@
 +                      val |= GPIO_MODE_6358_ENET1_MII_CLK_INV;
        }
  
-       bcm_gpio_writel(val, GPIO_MODE_REG);
+       if (BCMCPU_IS_6368() && board.has_enetsw) {
 --- a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h
 +++ b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h
 @@ -651,6 +651,8 @@