75fdf7a698182bd78f3937af5520060cde548eb0
[openwrt/openwrt.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 @@ -2635,6 +2635,29 @@ 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 + .name = "RGMII",
25 + },
26 + },
27 + },
28 +};
29 +
30 static struct board_info __initdata board_VR3032u = {
31 .name = "963168M-1841N1",
32 .expected_cpu_id = 0x63268,
33 @@ -2868,6 +2891,7 @@ static const struct board_info __initcon
34 #ifdef CONFIG_BCM63XX_CPU_63268
35 &board_963268bu_p300,
36 &board_963269bhr,
37 + &board_VG8050,
38 &board_VR3032u,
39 &board_vw6339gu,
40 &board_BSKYB_63168,
41 @@ -2983,6 +3007,7 @@ static struct of_device_id const bcm963x
42 #ifdef CONFIG_BCM63XX_CPU_63268
43 { .compatible = "brcm,bcm963268bu-p300", .data = &board_963268bu_p300, },
44 { .compatible = "brcm,bcm963269bhr", .data = &board_963269bhr, },
45 + { .compatible = "comtrend,vg-8050", .data = &board_VG8050, },
46 { .compatible = "comtrend,vr-3032u", .data = &board_VR3032u, },
47 { .compatible = "inteno,vg50", .data = &board_vw6339gu, },
48 { .compatible = "sky,sr102", .data = &board_BSKYB_63168, },