bcm63xx: add missing OHCI nodes
[openwrt/staging/stintel.git] / target / linux / bcm63xx / patches-5.4 / 568-board-H500s.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -2789,6 +2789,36 @@ static struct board_info __initdata boar
4 },
5 },
6 };
7 +
8 +static struct board_info __initdata board_H500s = {
9 + .name = "BXK00C-1.6",
10 + .expected_cpu_id = 0x63268,
11 +
12 + .has_ohci0 = 1,
13 + .has_ehci0 = 1,
14 + .num_usbh_ports = 1,
15 +
16 + .has_enetsw = 1,
17 + .enetsw = {
18 + .used_ports = {
19 + [3] = {
20 + .used = 1,
21 + .phy_id = 12,
22 + .name = "WAN",
23 + },
24 + [4] = {
25 + .used = 1,
26 + .phy_id = 0,
27 + .bypass_link = 1,
28 + .force_speed = 1000,
29 + .force_duplex_full = 1,
30 + .mii_override = 1,
31 + .timing_sel = 1,
32 + .name = "RGMII",
33 + },
34 + },
35 + },
36 +};
37 #endif /* CONFIG_BCM63XX_CPU_63268 */
38
39 /*
40 @@ -2900,6 +2930,7 @@ static const struct board_info __initcon
41 &board_VR3032u,
42 &board_vw6339gu,
43 &board_BSKYB_63168,
44 + &board_H500s,
45 #endif /* CONFIG_BCM63XX_CPU_63268 */
46 };
47
48 @@ -3018,6 +3049,8 @@ static struct of_device_id const bcm963x
49 { .compatible = "comtrend,vg-8050", .data = &board_VG8050, },
50 { .compatible = "comtrend,vr-3032u", .data = &board_VR3032u, },
51 { .compatible = "inteno,vg50", .data = &board_vw6339gu, },
52 + { .compatible = "sercomm,h500-s-lowi", .data = &board_H500s, },
53 + { .compatible = "sercomm,h500-s-vfes", .data = &board_H500s, },
54 { .compatible = "sky,sr102", .data = &board_BSKYB_63168, },
55 #endif
56 #endif /* CONFIG_OF */