brcm63xx: Add DT support for HG553
[openwrt.git] / target / linux / brcm63xx / patches-3.14 / 514-board_ct536_ct5621.patch
index 7474fb9..06f2a70 100644 (file)
@@ -1,17 +1,19 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -594,6 +594,51 @@ static struct board_info __initdata boar
+@@ -539,6 +539,59 @@ static struct board_info __initdata boar
  };
  
  
 +static struct board_info __initdata board_ct536_ct5621 = {
 +      .name                           = "CT536_CT5621",
++      .of_board_id                    = "comtrend,ct-536+",
 +      .expected_cpu_id                = 0x6348,
 +
 +      .has_uart0                      = 1,
 +      .has_enet0                      = 0,
 +      .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,
-@@ -2118,6 +2163,7 @@ static const struct board_info __initcon
+       .of_board_id                    = "brcm,bcm96348gw",
+@@ -1808,6 +1861,7 @@ static const struct board_info __initcon
        &board_96348sv,
        &board_V2500V_BB,
        &board_V2110,