brcm63xx: register serial through device tree
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.4 / 579-board_AR-5315u.patch
index 6f7f26c320ba57a831c4dc0196aeaae8ffa7e6a0..1974ccd817c47fe7f232521d9309e7eba2568254 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -148,6 +148,68 @@ static struct board_info __initdata boar
+@@ -143,6 +143,67 @@ static struct board_info __initdata boar
        },
  };
  
@@ -22,7 +22,6 @@
 +      .name                           = "96318A-1441N1",
 +      .expected_cpu_id                = 0x6318,
 +
-+      .has_uart0                      = 1,
 +      .has_pci                        = 1,
 +      .use_fallback_sprom             = 1,
 +
@@ -69,7 +68,7 @@
  static struct sprom_fixup __initdata dsl2751b_e1_fixups[] = {
        { .offset = 96, .value = 0x2046 },
        { .offset = 97, .value = 0xfe9d },
-@@ -2616,6 +2678,7 @@ static const struct board_info __initcon
+@@ -2526,6 +2587,7 @@ static const struct board_info __initcon
  #ifdef CONFIG_BCM63XX_CPU_6318
        &board_96318ref,
        &board_96318ref_p300,
@@ -77,7 +76,7 @@
        &board_dsl_2751b_d1,
        &board_FAST2704N,
  #endif
-@@ -2721,6 +2784,7 @@ static struct of_device_id const bcm963x
+@@ -2631,6 +2693,7 @@ static struct of_device_id const bcm963x
  #ifdef CONFIG_BCM63XX_CPU_6318
        { .compatible = "brcm,bcm96318ref", .data = &board_96318ref, },
        { .compatible = "brcm,bcm96318ref_p300", .data = &board_96318ref_p300, },