brcm63xx: register serial through device tree
[openwrt/staging/mkresin.git] / target / linux / brcm63xx / patches-4.4 / 556-board_96318ref_p300.patch
index de3ec0504b2505c0036e5dee3415d81b33a41f29..162ecb7c392aa149d4f8e96d8b77e5dfa4b58ed7 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -105,6 +105,51 @@ static struct board_info __initdata boar
+@@ -96,6 +96,50 @@ static struct board_info __initdata boar
                },
        },
  };
@@ -9,7 +9,6 @@
 +      .name                           = "96318REF_P300",
 +      .expected_cpu_id                = 0x6318,
 +
-+      .has_uart0                      = 1,
 +      .has_pci                        = 1,
 +
 +      .has_usbd                       = 1,
@@ -52,7 +51,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6318 */
  
  /*
-@@ -1664,6 +1709,7 @@ static const struct board_info __initcon
+@@ -1568,6 +1612,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6318
        &board_96318ref,
@@ -60,7 +59,7 @@
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
-@@ -1744,6 +1790,7 @@ static struct of_device_id const bcm963x
+@@ -1648,6 +1693,7 @@ static struct of_device_id const bcm963x
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6318
        { .compatible = "brcm,bcm96318ref", .data = &board_96318ref, },