kernel: update kernel 4.4 to 4.4.69
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.4 / 577-board_VH4032N.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -2310,6 +2310,45 @@ static struct board_info __initdata boar
4 },
5 };
6
7 +static struct board_info __initdata board_VH4032N = {
8 + .name = "VH4032N",
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_enetsw = 1,
18 + .enetsw = {
19 + .used_ports = {
20 + [0] = {
21 + .used = 1,
22 + .phy_id = 1,
23 + .name = "LAN4",
24 + },
25 + [1] = {
26 + .used = 1,
27 + .phy_id = 2,
28 + .name = "LAN3",
29 + },
30 + [2] = {
31 + .used = 1,
32 + .phy_id = 3,
33 + .name = "LAN2",
34 + },
35 + [3] = {
36 + .used = 1,
37 + .phy_id = 4,
38 + .name = "LAN1",
39 + },
40 + },
41 + },
42 +
43 + .use_fallback_sprom = 1,
44 +};
45 +
46 static struct b53_platform_data WAP5813n_b53_pdata = {
47 .alias = "eth0",
48 };
49 @@ -2615,6 +2654,7 @@ static const struct board_info __initcon
50 &board_HG622,
51 &board_HG655b,
52 &board_P870HW51A_V2,
53 + &board_VH4032N,
54 &board_VR3025u,
55 &board_VR3025un,
56 &board_VR3026e,
57 @@ -2725,6 +2765,7 @@ static struct of_device_id const bcm963x
58 { .compatible = "huawei,hg655b", .data = &board_HG655b, },
59 { .compatible = "netgear,dgnd3700v1", .data = &board_DGND3700v1_3800B, },
60 { .compatible = "netgear,evg2000", .data = &board_EVG2000, },
61 + { .compatible = "observa,vh4032n", .data = &board_VH4032N, },
62 { .compatible = "zyxel,p870hw-51a-v2", .data = &board_P870HW51A_V2, },
63 #endif
64 #ifdef CONFIG_BCM63XX_CPU_63268