bcm63xx: improve rgmii ctrl overrides
[openwrt/staging/luka.git] / target / linux / bcm63xx / patches-5.4 / 540-board_vw6339gu.patch
index 355bdb2767aafae6802a0c0307ac50613e2b15d5..da9000ac3e42611b1933de9d1f69085eaa1a9501 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1610,6 +1610,51 @@ static struct board_info __initdata boar
+@@ -1610,6 +1610,53 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -45,6 +45,8 @@
 +                              .used   = 1,
 +                              .phy_id = 7,
 +                              .name   = "WAN",
++                              .mii_override = 1,
++                              .timing_sel = 1,
 +                      },
 +              },
 +      },
@@ -52,7 +54,7 @@
  #endif /* CONFIG_BCM63XX_CPU_63268 */
  
  /*
-@@ -1696,6 +1741,7 @@ static const struct board_info __initcon
+@@ -1696,6 +1743,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
        &board_963269bhr,
@@ -60,7 +62,7 @@
  #endif
  };
  
-@@ -1786,6 +1832,7 @@ static struct of_device_id const bcm963x
+@@ -1786,6 +1834,7 @@ static struct of_device_id const bcm963x
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
        { .compatible = "brcm,bcm963269bhr", .data = &board_963269bhr, },