brcm63xx: probe SPI connected switches through DT
[openwrt/staging/noltari.git] / target / linux / brcm63xx / patches-4.4 / 563-board_VR-3025un.patch
index 0474304687ff3dc0edebae80ee38fc257cb95727..0223b395ea35e72c14f58523547096b635569f09 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1738,6 +1738,60 @@ static struct board_info __initdata boar
+@@ -1736,6 +1736,60 @@ static struct board_info __initdata boar
        },
  };
  
 +      },
 +};
 +
- static struct b53_platform_data WAP5813n_b53_pdata = {
-       .alias = "eth0",
- };
-@@ -2033,6 +2087,7 @@ static const struct board_info __initcon
+ static struct sprom_fixup __initdata wap5813n_fixups[] = {
+       { .offset = 97, .value = 0xfeed },
+       { .offset = 98, .value = 0x15d1 },
+@@ -2014,6 +2068,7 @@ static const struct board_info __initcon
        &board_96368mvwg,
        &board_96368mvngr,
        &board_VR3025u,
@@ -69,7 +69,7 @@
        &board_WAP5813n,
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
-@@ -2127,6 +2182,7 @@ static struct of_device_id const bcm963x
+@@ -2108,6 +2163,7 @@ static struct of_device_id const bcm963x
        { .compatible = "brcm,bcm96368mvngr", .data = &board_96368mvngr, },
        { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
        { .compatible = "comtrend,vr-3025u", .data = &board_VR3025u, },