brcm63xx: register serial through device tree
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.4 / 514-board_ct536_ct5621.patch
index b3b9125a9a4954c26af7eba633d00c9bfb9fa321..d111d97d634e1097d32065211f3f5a25a910e7b0 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -430,6 +430,34 @@ static struct board_info __initdata boar
+@@ -234,6 +234,33 @@ static struct board_info __initdata boar
  };
  
  
@@ -8,7 +8,6 @@
 +      .name                           = "CT536_CT5621",
 +      .expected_cpu_id                = 0x6348,
 +
-+      .has_uart0                      = 1,
 +      .has_enet0                      = 0,
 +      .has_enet1                      = 1,
 +      .has_pci                        = 1,
@@ -35,7 +34,7 @@
  static struct board_info __initdata board_96348gw = {
        .name                           = "96348GW",
        .expected_cpu_id                = 0x6348,
-@@ -1090,6 +1118,7 @@ static const struct board_info __initcon
+@@ -795,6 +822,7 @@ static const struct board_info __initcon
        &board_96348sv,
        &board_V2500V_BB,
        &board_V2110,
@@ -43,7 +42,7 @@
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6358
-@@ -1131,6 +1160,8 @@ static struct of_device_id const bcm963x
+@@ -836,6 +864,8 @@ static struct of_device_id const bcm963x
        { .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },
        { .compatible = "bt,v2110", .data = &board_V2110, },
        { .compatible = "bt,v2500v-bb", .data = &board_V2500V_BB, },