brcm63xx: Add DT support for 96368MVWG
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.14 / 526-board_CT6373-1.patch
index 96ef61c7293cc2ec5165595f56c335e6fa227dc3..5659af123742a705892343242f94ca605029afb8 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
   */
-@@ -2427,6 +2433,124 @@ static struct board_info __initdata boar
+@@ -2051,6 +2057,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,
-@@ -2705,6 +2829,7 @@ static const struct board_info __initcon
-       &board_nb4_ser_r2,
+       .of_board_id                                    = "huawei,hg553",
+@@ -2395,6 +2520,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,