brcm63xx: probe SPI connected switches through DT
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.4 / 577-board_VH4032N.patch
index de7e22b7590e8613a0c7df2b9003438a5262dc67..74f1b50062635ae3e67fc6b586243048a9645eb9 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2363,6 +2363,45 @@ static struct board_info __initdata boar
+@@ -2346,6 +2346,45 @@ static struct board_info __initdata boar
        },
  };
  
 +      .use_fallback_sprom             = 1,
 +};
 +
- static struct b53_platform_data WAP5813n_b53_pdata = {
-       .alias = "eth0",
- };
-@@ -2669,6 +2708,7 @@ static const struct board_info __initcon
+ static struct sprom_fixup __initdata wap5813n_fixups[] = {
+       { .offset = 97, .value = 0xfeed },
+       { .offset = 98, .value = 0x15d1 },
+@@ -2635,6 +2674,7 @@ static const struct board_info __initcon
        &board_HG622,
        &board_HG655b,
        &board_P870HW51A_V2,
@@ -54,7 +54,7 @@
        &board_VR3025u,
        &board_VR3025un,
        &board_VR3026e,
-@@ -2780,6 +2820,7 @@ static struct of_device_id const bcm963x
+@@ -2746,6 +2786,7 @@ static struct of_device_id const bcm963x
        { .compatible = "huawei,hg655b", .data = &board_HG655b, },
        { .compatible = "netgear,dgnd3700v1", .data = &board_DGND3700v1_3800B, },
        { .compatible = "netgear,evg2000", .data = &board_EVG2000, },