brcm63xx: enhance dt partitions support to match upstream more closely
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.4 / 572-board_VR-3026e.patch
index 394b1b8dfe04d16448e01390081f2703e3c2608e..260424bee6145266226afc813095bf7ee231bca2 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2164,6 +2164,60 @@ static struct board_info __initdata boar
+@@ -2042,6 +2042,59 @@ static struct board_info __initdata boar
        },
  };
  
@@ -17,7 +17,6 @@
 +      .name                                   = "96368MT-1341N1",
 +      .expected_cpu_id                = 0x6368,
 +
-+      .has_uart0                              = 1,
 +      .has_pci                                = 1,
 +      .use_fallback_sprom                     = 1,
 +      .has_ohci0                              = 1,
 +      },
 +};
 +
- static struct b53_platform_data WAP5813n_b53_pdata = {
-       .alias = "eth0",
- };
-@@ -2468,6 +2522,7 @@ static const struct board_info __initcon
+ static struct sprom_fixup __initdata wap5813n_fixups[] = {
+       { .offset = 97, .value = 0xfeed },
+       { .offset = 98, .value = 0x15d1 },
+@@ -2322,6 +2375,7 @@ static const struct board_info __initcon
        &board_P870HW51A_V2,
        &board_VR3025u,
        &board_VR3025un,
@@ -69,7 +68,7 @@
        &board_WAP5813n,
  #endif
  #ifdef CONFIG_BCM63XX_CPU_63268
-@@ -2568,6 +2623,7 @@ static struct of_device_id const bcm963x
+@@ -2422,6 +2476,7 @@ static struct of_device_id const bcm963x
        { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
        { .compatible = "comtrend,vr-3025u", .data = &board_VR3025u, },
        { .compatible = "comtrend,vr-3025un", .data = &board_VR3025un, },