kernel: update kernel 4.4 to version 4.4.3
[openwrt.git] / target / linux / brcm63xx / patches-4.4 / 574-board_HG622.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -2058,6 +2058,53 @@ static struct board_info __initdata boar
4         },
5  };
6  
7 +static struct board_info __initdata board_HG622 = {
8 +       .name                           = "96368MVWG_hg622",
9 +       .expected_cpu_id                = 0x6368,
10 +
11 +       .has_uart0                      = 1,
12 +       .has_pci                        = 1,
13 +       .has_ohci0                      = 1,
14 +       .has_ehci0                      = 1,
15 +       .num_usbh_ports                 = 2,
16 +
17 +       .has_caldata                    = 1,
18 +       .caldata = {
19 +               {
20 +                       .vendor                 = PCI_VENDOR_ID_RALINK,
21 +                       .caldata_offset         = 0xfa0000,
22 +                       .slot                   = 1,
23 +                       .eeprom                 = "rt2x00.eeprom",
24 +               },
25 +       },
26 +
27 +       .has_enetsw                     = 1,
28 +       .enetsw = {
29 +               .used_ports = {
30 +                       [0] = {
31 +                               .used           = 1,
32 +                               .phy_id         = 1,
33 +                               .name           = "port1",
34 +                       },
35 +                       [1] = {
36 +                               .used           = 1,
37 +                               .phy_id         = 2,
38 +                               .name           = "port2",
39 +                       },
40 +                       [2] = {
41 +                               .used           = 1,
42 +                               .phy_id         = 3,
43 +                               .name           = "port3",
44 +                       },
45 +                       [3] = {
46 +                               .used           = 1,
47 +                               .phy_id         = 4,
48 +                               .name           = "port4",
49 +                       },
50 +               },
51 +       },
52 +};
53 +
54  static struct sprom_fixup __initdata vr3025u_fixups[] = {
55         { .offset = 97, .value = 0xfeb3 },
56         { .offset = 98, .value = 0x1618 },
57 @@ -2564,6 +2611,7 @@ static const struct board_info __initcon
58         &board_96368mvwg,
59         &board_96368mvngr,
60         &board_DGND3700v1_3800B,
61 +       &board_HG622,
62         &board_HG655b,
63         &board_P870HW51A_V2,
64         &board_VR3025u,
65 @@ -2672,6 +2720,7 @@ static struct of_device_id const bcm963x
66         { .compatible = "comtrend,vr-3025un", .data = &board_VR3025un, },
67         { .compatible = "comtrend,vr-3026e", .data = &board_VR3026e, },
68         { .compatible = "comtrend,wap-5813n", .data = &board_WAP5813n, },
69 +       { .compatible = "huawei,hg622", .data = &board_HG622, },
70         { .compatible = "huawei,hg655b", .data = &board_HG655b, },
71         { .compatible = "netgear,dgnd3700v1", .data = &board_DGND3700v1_3800B, },
72         { .compatible = "zyxel,p870hw-51a-v2", .data = &board_P870HW51A_V2, },