brcm63xx: register serial through device tree
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.4 / 580-board_AD1018.patch
index c08e00dbe886bd10bb2b09919d6acd48868ee72b..7b28a24e3f2a70531d6d4c5219f4d7b359de5be4 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -366,6 +366,74 @@ static struct board_info __initdata boar
+@@ -357,6 +357,73 @@ static struct board_info __initdata boar
        },
  };
  
@@ -28,7 +28,6 @@
 +      .name                                   = "96328avngr",
 +      .expected_cpu_id                        = 0x6328,
 +
-+      .has_uart0                              = 1,
 +      .has_pci                                = 1,
 +      .use_fallback_sprom                     = 1,
 +
@@ -75,7 +74,7 @@
  static struct sprom_fixup __initdata ar5381u_fixups[] = {
        { .offset = 97, .value = 0xfee5 },
        { .offset = 98, .value = 0x157c },
-@@ -2684,6 +2752,7 @@ static const struct board_info __initcon
+@@ -2593,6 +2660,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
@@ -83,7 +82,7 @@
        &board_AR5381u,
        &board_AR5387un,
        &board_963281TAN,
-@@ -2798,6 +2867,7 @@ static struct of_device_id const bcm963x
+@@ -2707,6 +2775,7 @@ static struct of_device_id const bcm963x
        { .compatible = "d-link,dsl-274xb-f", .data = &board_dsl_274xb_f1, },
        { .compatible = "nucom,r5010unv2", .data = &board_R5010UNV2, },
        { .compatible = "sagem,f@st2704v2", .data = &board_FAST2704V2, },