brcm63xx: Add DT support for 96368MVNgr
[openwrt/staging/florian.git] / target / linux / brcm63xx / patches-3.14 / 530-board_A4001N1.patch
index d7433978623847bfe19a00e1c796ff4bbf869c8f..f56b677c7491073e211f7b08f57ffccf7460d9ad 100644 (file)
@@ -1,15 +1,17 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -238,6 +238,126 @@ static struct board_info __initdata boar
+@@ -237,6 +237,134 @@ static struct board_info __initdata boar
        },
  };
  
 +static struct board_info __initdata board_A4001N1 = {
 +      .name                                   = "963281T_TEF",
++      .of_board_id                    = "adb,a4001n1",
 +      .expected_cpu_id                        = 0x6328,
 +
 +      .has_uart0                              = 1,
 +      .has_pci                                = 1,
++      .use_fallback_sprom             = 1,
 +      .has_ohci0                              = 1,
 +      .has_ehci0                              = 1,
 +      .num_usbh_ports                         = 1,
 +                      .debounce_interval      = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
 +              },
 +      },
++
++      .fallback_sprom = {
++              .type                           = SPROM_BCM43225,
++              .pci_bus                        = 1,
++              .pci_dev                        = 0,
++      },
 +};
 +
  static struct board_info __initdata board_dsl_274xb_f1 = {
        .name                           = "AW4339U",
        .expected_cpu_id                = 0x6328,
-@@ -2996,6 +3116,7 @@ static const struct board_info __initcon
+@@ -2698,6 +2826,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
        &board_963281TAN,