brcm63xx: Add DT support for A4001N1
[openwrt.git] / target / linux / brcm63xx / patches-3.14 / 553-boards_probe_switch.patch
index ee3cdec..4fa865d 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -629,6 +629,8 @@ static struct board_info __initdata boar
+@@ -795,6 +795,8 @@ static struct board_info __initdata boar
        .has_uart0                      = 1,
        .has_enet0                      = 1,
        .enet0 = {
@@ -9,7 +9,7 @@
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -672,6 +674,8 @@ static struct board_info __initdata boar
+@@ -839,6 +841,8 @@ static struct board_info __initdata boar
        .has_uart0                      = 1,
        .has_enet0                      = 1,
        .enet0 = {
@@ -18,7 +18,7 @@
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -957,6 +961,8 @@ static struct board_info __initdata boar
+@@ -1129,6 +1133,8 @@ static struct board_info __initdata boar
                .use_internal_phy       = 1,
        },
        .enet1 = {
@@ -27,7 +27,7 @@
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -1029,6 +1035,8 @@ static struct board_info __initdata boar
+@@ -1203,6 +1209,8 @@ static struct board_info __initdata boar
        },
  
        .enet1 = {
@@ -36,7 +36,7 @@
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -1258,6 +1266,8 @@ static struct board_info __initdata boar
+@@ -1484,6 +1492,8 @@ static struct board_info __initdata boar
                .use_internal_phy       = 1,
        },
        .enet1 = {
@@ -45,7 +45,7 @@
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -1433,6 +1443,8 @@ static struct board_info __initdata boar
+@@ -1663,6 +1673,8 @@ static struct board_info __initdata boar
        },
  
        .enet1 = {
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -1623,6 +1635,12 @@ static struct board_info __initdata boar
+@@ -1739,6 +1751,8 @@ static struct board_info __initdata boar
                .use_internal_phy       = 1,
        },
        .enet1 = {
 +              .has_phy                = 1,
 +              .phy_id                 = 0,
+               .force_speed_100        = 1,
+               .force_duplex_full      = 1,
+       },
+@@ -1762,6 +1776,8 @@ static struct board_info __initdata boar
+               .use_internal_phy       = 1,
+       },
+       .enet1 = {
 +              .has_phy                = 1,
 +              .phy_id                 = 0,
+               .force_speed_100        = 1,
+               .force_duplex_full      = 1,
+       },
+@@ -1783,6 +1799,8 @@ static struct board_info __initdata boar
+               .use_internal_phy       = 1,
+       },
+       .enet1 = {
 +              .has_phy                = 1,
 +              .phy_id                 = 0,
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -2038,6 +2056,8 @@ static struct board_info __initdata boar
+@@ -2128,6 +2146,8 @@ static struct board_info __initdata boar
        },
  
        .enet1 = {
@@ -76,7 +90,7 @@
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -2090,6 +2110,8 @@ static struct board_info __initdata boar
+@@ -2182,6 +2202,8 @@ static struct board_info __initdata boar
        },
  
        .enet1 = {
@@ -85,7 +99,7 @@
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -2231,6 +2253,8 @@ static struct board_info __initdata boar
+@@ -2324,6 +2346,8 @@ static struct board_info __initdata boar
        },
  
        .enet1 = {
                .force_speed_100        = 1,
                .force_duplex_full      = 1,
        },
-@@ -2348,6 +2372,8 @@ static struct board_info __initdata boar
+@@ -2443,6 +2467,8 @@ static struct board_info __initdata boar
        },
  
        .enet1 = {