brcm63xx: register serial through device tree
[openwrt/staging/rmilecki.git] / target / linux / brcm63xx / patches-4.4 / 532-board_AR-5381u.patch
index ef8b2200cee706589195dc844f95842fdcb028e1..07015caaaa9dc543a6fd0fee27e1a6200db093d8 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -134,6 +134,61 @@ static struct board_info __initdata boar
+@@ -93,6 +93,60 @@ static struct board_info __initdata boar
        },
  };
  
@@ -17,7 +17,6 @@
 +      .name                                   = "96328A-1241N",
 +      .expected_cpu_id                        = 0x6328,
 +
-+      .has_uart0                              = 1,
 +      .has_pci                                = 1,
 +      .use_fallback_sprom                     = 1,
 +      .has_ohci0                              = 1,
@@ -62,7 +61,7 @@
  static struct sprom_fixup __initdata ar5387un_fixups[] = {
        { .offset = 2, .value = 0x05bb },
        { .offset = 65, .value = 0x1204 },
-@@ -1586,6 +1641,7 @@ static const struct board_info __initcon
+@@ -1273,6 +1327,7 @@ static const struct board_info __initcon
  #endif
  #ifdef CONFIG_BCM63XX_CPU_6328
        &board_96328avng,
@@ -70,7 +69,7 @@
        &board_AR5387un,
        &board_963281TAN,
        &board_A4001N1,
-@@ -1657,6 +1713,7 @@ static struct of_device_id const bcm963x
+@@ -1344,6 +1399,7 @@ static struct of_device_id const bcm963x
        { .compatible = "adb,a4001n1", .data = &board_A4001N1, },
        { .compatible = "brcm,bcm963281TAN", .data = &board_963281TAN, },
        { .compatible = "brcm,bcm96328avng", .data = &board_96328avng, },