brcm63xx: register serial through device tree
[openwrt/staging/lynxis.git] / target / linux / brcm63xx / patches-4.4 / 537-board_fast2504n.patch
index d5ecc3c4c74257118a812be2b3eeb5af37e6c6bc..3472d90e9960b0c9c2bc64425090c3f72d13ef80 100644 (file)
@@ -6,7 +6,7 @@ Signed-off-by: Max Staudt <openwrt.max@enpas.org>
 ---
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -1702,6 +1702,43 @@ static struct board_info __initdata boar
+@@ -1382,6 +1382,41 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -15,8 +15,6 @@ Signed-off-by: Max Staudt <openwrt.max@enpas.org>
 +      .name                           = "F@ST2504n",
 +      .expected_cpu_id                = 0x6362,
 +
-+      .has_uart0                      = 1,
-+
 +      .has_enetsw                     = 1,
 +
 +      .enetsw = {
@@ -50,7 +48,7 @@ Signed-off-by: Max Staudt <openwrt.max@enpas.org>
  #endif /* CONFIG_BCM63XX_CPU_6362 */
  
  /*
-@@ -1867,6 +1904,7 @@ static const struct board_info __initcon
+@@ -1545,6 +1580,7 @@ static const struct board_info __initcon
  
  #ifdef CONFIG_BCM63XX_CPU_6362
        &board_nb6,
@@ -58,7 +56,7 @@ Signed-off-by: Max Staudt <openwrt.max@enpas.org>
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6368
-@@ -1948,6 +1986,7 @@ static struct of_device_id const bcm963x
+@@ -1626,6 +1662,7 @@ static struct of_device_id const bcm963x
        { .compatible = "telsey,cpva642", .data = &board_CPVA642, },
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6362