brcm63xx: register serial through device tree
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.4 / 535-board_rta770w.patch
index e3b7724b8f4ebe102d77062f02dbaa0e0921287b..7149ed7480bcfc705bb2d6ce1957495d165ba38a 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -537,6 +537,27 @@ static struct board_info __initdata boar
+@@ -426,6 +426,25 @@ static struct board_info __initdata boar
                .force_duplex_full      = 1,
        },
  };
@@ -14,8 +14,6 @@
 +      .name                           = "RTA770W",
 +      .expected_cpu_id                = 0x6345,
 +
-+      .has_uart0                      = 1,
-+
 +      .has_enet0                      = 1,
 +
 +      .enet0 = {
@@ -28,7 +26,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6345 */
  
  /*
-@@ -1762,6 +1783,7 @@ static const struct board_info __initcon
+@@ -1443,6 +1462,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6345
        &board_96345gw2,
        &board_rta770bw,
@@ -36,7 +34,7 @@
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6348
        &board_96348r,
-@@ -1836,6 +1858,7 @@ static struct of_device_id const bcm963x
+@@ -1517,6 +1537,7 @@ static struct of_device_id const bcm963x
  #ifdef CONFIG_BCM63XX_CPU_6345
        { .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, },
        { .compatible = "dynalink,rta770bw", .data = &board_rta770bw, },