brcm63xx: probe SPI connected switches through DT
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.4 / 575-board_EVG2000.patch
index ad82785717a80e091539c3f07f0c6f570e461fbe..cbec9492fcfd08abd387adbc68bb19e0b6cfa86c 100644 (file)
@@ -1,7 +1,7 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1981,6 +1981,43 @@ static struct board_info __initdata boar
-       .num_spis = ARRAY_SIZE(DGND3700v1_3800B_spi_devices),
+@@ -1964,6 +1964,43 @@ static struct board_info __initdata boar
+       },
  };
  
 +static struct sprom_fixup __initdata EVG2000_fixups[] = {
@@ -44,7 +44,7 @@
  static struct board_info __initdata board_HG655b = {
        .name                           = "HW65x",
        .expected_cpu_id                = 0x6368,
-@@ -2581,6 +2618,7 @@ static const struct board_info __initcon
+@@ -2547,6 +2584,7 @@ static const struct board_info __initcon
        &board_96368mvwg,
        &board_96368mvngr,
        &board_DGND3700v1_3800B,
@@ -52,7 +52,7 @@
        &board_HG622,
        &board_HG655b,
        &board_P870HW51A_V2,
-@@ -2693,6 +2731,7 @@ static struct of_device_id const bcm963x
+@@ -2659,6 +2697,7 @@ static struct of_device_id const bcm963x
        { .compatible = "huawei,hg622", .data = &board_HG622, },
        { .compatible = "huawei,hg655b", .data = &board_HG655b, },
        { .compatible = "netgear,dgnd3700v1", .data = &board_DGND3700v1_3800B, },