af4baf4710767658d6360f2b9efded32a70b33af
[openwrt/staging/chunkeey.git] / target / linux / bcm63xx / patches-5.4 / 565-board-VG-8050.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -2641,6 +2641,31 @@ static struct board_info __initdata boar
4 },
5 };
6
7 +static struct board_info __initdata board_VG8050 = {
8 + .name = "963169P-1861N5",
9 + .expected_cpu_id = 0x63268,
10 +
11 + .has_ehci0 = 1,
12 + .has_ohci0 = 1,
13 + .num_usbh_ports = 2,
14 +
15 + .has_enetsw = 1,
16 + .enetsw = {
17 + .used_ports = {
18 + [6] = {
19 + .used = 1,
20 + .phy_id = 0xff,
21 + .bypass_link = 1,
22 + .force_speed = 1000,
23 + .force_duplex_full = 1,
24 + .mii_override = 1,
25 + .timing_sel = 1,
26 + .name = "RGMII",
27 + },
28 + },
29 + },
30 +};
31 +
32 static struct board_info __initdata board_VR3032u = {
33 .name = "963168M-1841N1",
34 .expected_cpu_id = 0x63268,
35 @@ -2873,6 +2898,7 @@ static const struct board_info __initcon
36 #ifdef CONFIG_BCM63XX_CPU_63268
37 &board_963268bu_p300,
38 &board_963269bhr,
39 + &board_VG8050,
40 &board_VR3032u,
41 &board_vw6339gu,
42 &board_BSKYB_63168,
43 @@ -2989,6 +3015,7 @@ static struct of_device_id const bcm963x
44 #ifdef CONFIG_BCM63XX_CPU_63268
45 { .compatible = "brcm,bcm963268bu-p300", .data = &board_963268bu_p300, },
46 { .compatible = "brcm,bcm963269bhr", .data = &board_963269bhr, },
47 + { .compatible = "comtrend,vg-8050", .data = &board_VG8050, },
48 { .compatible = "comtrend,vr-3032u", .data = &board_VR3032u, },
49 { .compatible = "inteno,vg50", .data = &board_vw6339gu, },
50 { .compatible = "sky,sr102", .data = &board_BSKYB_63168, },