brcm63xx: register serial through device tree
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.4 / 500-board-D4PW.patch
index c2b2d330ad2b21cbacee079396a5e18eab148287..31757c4648c77063c6cf09d489ef011baa64a7b3 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -538,6 +538,22 @@ static struct board_info __initdata boar
+@@ -311,6 +311,21 @@ static struct board_info __initdata boar
  
        .has_ohci0 = 1,
  };
@@ -11,7 +11,6 @@
 +
 +      .has_enet1                      = 1,
 +      .has_pci                        = 1,
-+      .has_uart0                      = 1,
 +
 +      .enet1 = {
 +              .has_phy                = 1,
@@ -23,7 +22,7 @@
  #endif /* CONFIG_BCM63XX_CPU_6348 */
  
  /*
-@@ -727,6 +743,7 @@ static const struct board_info __initcon
+@@ -447,6 +462,7 @@ static const struct board_info __initcon
        &board_DV201AMR,
        &board_96348gw_a,
        &board_rta1025w_16,
@@ -31,7 +30,7 @@
  #endif
  
  #ifdef CONFIG_BCM63XX_CPU_6358
-@@ -758,6 +775,7 @@ static struct of_device_id const bcm963x
+@@ -478,6 +494,7 @@ static struct of_device_id const bcm963x
        { .compatible = "brcm,bcm96348gw-10", .data = &board_96348gw_10, },
        { .compatible = "brcm,bcm96348gw-11", .data = &board_96348gw_11, },
        { .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },