brcm63xx: switch to linux 4.4
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.1 / 559-board_vw6339gu.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1756,6 +1756,53 @@ static struct board_info __initdata boar
4 },
5 },
6 };
7 +
8 +static struct board_info __initdata board_vw6339gu = {
9 + .name = "VW6339GU",
10 + .expected_cpu_id = 0x63268,
11 +
12 + .has_uart0 = 1,
13 +
14 + .has_ehci0 = 1,
15 + .has_ohci0 = 1,
16 + .num_usbh_ports = 1,
17 +
18 + .has_enetsw = 1,
19 +
20 + .enetsw = {
21 + .used_ports = {
22 + [0] = {
23 + .used = 1,
24 + .phy_id = 1,
25 + .name = "LAN2",
26 + },
27 +
28 + [1] = {
29 + .used = 1,
30 + .phy_id = 2,
31 + .name = "LAN3",
32 + },
33 +
34 + [2] = {
35 + .used = 1,
36 + .phy_id = 3,
37 + .name = "LAN4",
38 + },
39 +
40 + [3] = {
41 + .used = 1,
42 + .phy_id = 4,
43 + .name = "LAN1",
44 + },
45 +
46 + [4] = {
47 + .used = 1,
48 + .phy_id = 7,
49 + .name = "WAN",
50 + },
51 + },
52 + },
53 +};
54 #endif /* CONFIG_BCM63XX_CPU_63268 */
55
56 /*
57 @@ -1842,6 +1889,7 @@ static const struct board_info __initcon
58 #endif
59 #ifdef CONFIG_BCM63XX_CPU_63268
60 &board_963269bhr,
61 + &board_vw6339gu,
62 #endif
63 };
64
65 @@ -1932,6 +1980,7 @@ static struct of_device_id const bcm963x
66 #endif
67 #ifdef CONFIG_BCM63XX_CPU_63268
68 { .compatible = "brcm,bcm963269bhr", .data = &board_963269bhr, },
69 + { .compatible = "inteno,vg50", .data = &board_vw6339gu, },
70 #endif
71 #endif /* CONFIG_OF */
72 { },