brcm63xx: move buttons and leds to dts files
[openwrt.git] / target / linux / brcm63xx / patches-3.14 / 553-boards_probe_switch.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -423,6 +423,10 @@ static struct board_info __initdata boar
4         .has_uart0                      = 1,
5         .has_enet0                      = 1,
6         .enet0 = {
7 +               .has_phy                = 1,
8 +               .phy_id                 = 0,
9 +               .has_phy                = 1,
10 +               .phy_id                 = 0,
11                 .force_speed_100        = 1,
12                 .force_duplex_full      = 1,
13         },
14 @@ -627,6 +631,8 @@ static struct board_info __initdata boar
15                 .use_internal_phy       = 1,
16         },
17         .enet1 = {
18 +               .has_phy                = 1,
19 +               .phy_id                 = 0,
20                 .force_speed_100        = 1,
21                 .force_duplex_full      = 1,
22         },
23 @@ -660,6 +666,8 @@ static struct board_info __initdata boar
24         },
25  
26         .enet1 = {
27 +               .has_phy                = 1,
28 +               .phy_id                 = 0,
29                 .force_speed_100        = 1,
30                 .force_duplex_full      = 1,
31         },
32 @@ -807,6 +815,8 @@ static struct board_info __initdata boar
33                 .use_internal_phy       = 1,
34         },
35         .enet1 = {
36 +               .has_phy                = 1,
37 +               .phy_id                 = 0,
38                 .force_speed_100        = 1,
39                 .force_duplex_full      = 1,
40         },
41 @@ -869,6 +879,8 @@ static struct board_info __initdata boar
42         },
43  
44         .enet1 = {
45 +               .has_phy                = 1,
46 +               .phy_id                 = 0,
47                 .force_speed_100        = 1,
48                 .force_duplex_full      = 1,
49         },
50 @@ -910,6 +922,8 @@ static struct board_info __initdata boar
51                 .use_internal_phy       = 1,
52         },
53         .enet1 = {
54 +               .has_phy                = 1,
55 +               .phy_id                 = 0,
56                 .force_speed_100        = 1,
57                 .force_duplex_full      = 1,
58         },
59 @@ -932,6 +946,8 @@ static struct board_info __initdata boar
60                 .use_internal_phy       = 1,
61         },
62         .enet1 = {
63 +               .has_phy                = 1,
64 +               .phy_id                 = 0,
65                 .force_speed_100        = 1,
66                 .force_duplex_full      = 1,
67         },
68 @@ -952,6 +968,8 @@ static struct board_info __initdata boar
69                 .use_internal_phy       = 1,
70         },
71         .enet1 = {
72 +               .has_phy                = 1,
73 +               .phy_id                 = 0,
74                 .force_speed_100        = 1,
75                 .force_duplex_full      = 1,
76         },
77 @@ -1147,6 +1165,8 @@ static struct board_info __initdata boar
78         },
79  
80         .enet1 = {
81 +               .has_phy                = 1,
82 +               .phy_id                 = 0,
83                 .force_speed_100        = 1,
84                 .force_duplex_full      = 1,
85         },
86 @@ -1219,6 +1239,8 @@ static struct board_info __initdata boar
87         },
88  
89         .enet1 = {
90 +               .has_phy                = 1,
91 +               .phy_id                 = 0,
92                 .force_speed_100        = 1,
93                 .force_duplex_full      = 1,
94         },
95 @@ -1244,6 +1266,10 @@ static struct board_info __initdata boar
96         },
97  
98         .enet1 = {
99 +               .has_phy                = 1,
100 +               .phy_id                 = 0,
101 +               .has_phy                = 1,
102 +               .phy_id                 = 0,
103                 .force_speed_100        = 1,
104                 .force_duplex_full      = 1,
105         },