brcm63xx: probe SPI connected switches through DT
[openwrt/staging/noltari.git] / target / linux / brcm63xx / patches-4.4 / 562-board_VR-3025u.patch
index 5d5ce7e351a1dddc3a1c075eceea20d43f3116d6..e53fd9044f55dfcead0b78cc95770e9ab563fd39 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1684,6 +1684,60 @@ static struct board_info __initdata boar
+@@ -1682,6 +1682,60 @@ static struct board_info __initdata boar
        .has_ehci0 = 1,
  };
  
 +      },
 +};
 +
- static struct b53_platform_data WAP5813n_b53_pdata = {
-       .alias = "eth0",
- };
-@@ -1978,6 +2032,7 @@ static const struct board_info __initcon
+ static struct sprom_fixup __initdata wap5813n_fixups[] = {
+       { .offset = 97, .value = 0xfeed },
+       { .offset = 98, .value = 0x15d1 },
+@@ -1959,6 +2013,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6368
        &board_96368mvwg,
        &board_96368mvngr,
@@ -69,7 +69,7 @@
        &board_WAP5813n,
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
-@@ -2071,6 +2126,7 @@ static struct of_device_id const bcm963x
+@@ -2052,6 +2107,7 @@ static struct of_device_id const bcm963x
  #ifdef CONFIG_BCM63XX_CPU_6368
        { .compatible = "brcm,bcm96368mvngr", .data = &board_96368mvngr, },
        { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },