brcm63xx: Add DT support for HG553
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-3.14 / 526-board_CT6373-1.patch
index 9bd8d1fb011aa2e5de84f5d957e1e00b1034ec43..34a135dbf4c1cbf6ba55beab09718ca837f0e455 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -47,6 +47,12 @@
+@@ -43,6 +43,12 @@
  #define NB4_SPI_GPIO_CLK      6
  #define NB4_74HC64_GPIO(X)    (NB4_74X164_GPIO_BASE + (X))
  
@@ -13,7 +13,7 @@
  /*
   * known 3368 boards
   */
-@@ -2381,6 +2387,124 @@ static struct board_info __initdata boar
+@@ -2050,6 +2056,125 @@ static struct board_info __initdata boar
        .num_spis = ARRAY_SIZE(nb4_spi_devices),
  };
  
@@ -58,6 +58,7 @@
 +
 +static struct board_info __initdata board_ct6373_1 = {
 +      .name                           = "CT6373-1",
++      .of_board_id            = "comtrend,ct-6373",
 +      .expected_cpu_id        = 0x6358,
 +
 +      .has_uart0                      = 1,
 +
  static struct board_info __initdata board_HW553 = {
        .name                           = "HW553",
-       .expected_cpu_id                = 0x6358,
-@@ -2725,6 +2849,7 @@ static const struct board_info __initcon
-       &board_nb4_ser_r2,
+       .of_board_id                                    = "huawei,hg553",
+@@ -2392,6 +2517,7 @@ static const struct board_info __initcon
+       &board_dsl_274xb_rev_c,
+       &board_nb4_ser_r0,
        &board_nb4_fxc_r1,
-       &board_nb4_fxc_r2,
 +      &board_ct6373_1,
        &board_HW553,
        &board_spw303v,