brcm63xx: use dtb board detection for neufbox 4
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.14 / 516-board_96348A-122.patch
index e814407845fae8dc9136204f7f26f464dfdcde04..7473b53e48473315d82d8f112d43b454325cd9a8 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -576,6 +576,69 @@ static struct board_info __initdata boar
+@@ -596,6 +596,76 @@ static struct board_info __initdata boar
        },
  };
  
@@ -11,6 +11,7 @@
 +      .has_uart0                      = 1,
 +      .has_enet1                      = 1,
 +      .has_pci                        = 1,
++      .use_fallback_sprom             = 1,
 +
 +      .enet1 = {
 +              .has_phy                = 1,
 +                      .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
 +              },
 +      },
++
++      .fallback_sprom = {
++              .type                           = SPROM_BCM4318,
++              .pci_bus                        = 0,
++              .pci_dev                        = 1,
++      },
 +};
 +
  static struct board_info __initdata board_96348gw = {
        .name                           = "96348GW",
-       .expected_cpu_id                = 0x6348,
-@@ -2155,6 +2218,7 @@ static const struct board_info __initcon
+       .of_board_id                    = "brcm,bcm96348gw",
+@@ -1861,6 +1931,7 @@ static const struct board_info __initcon
        &board_V2500V_BB,
        &board_V2110,
        &board_ct536_ct5621,