bcm63xx: add unmodded SERCOMM AD1018 support
[openwrt/openwrt.git] / target / linux / bcm63xx / patches-5.4 / 563-board-VR-3032u.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -2610,6 +2610,44 @@ static struct board_info __initdata boar
4 },
5 };
6
7 +static struct board_info __initdata board_VR3032u = {
8 + .name = "963168M-1841N1",
9 + .expected_cpu_id = 0x63268,
10 +
11 + .has_ehci0 = 1,
12 + .has_ohci0 = 1,
13 + .num_usbh_ports = 1,
14 +
15 + .has_enetsw = 1,
16 + .enetsw = {
17 + .used_ports = {
18 + [0] = {
19 + .used = 1,
20 + .phy_id = 1,
21 + .name = "LAN2",
22 + },
23 +
24 + [1] = {
25 + .used = 1,
26 + .phy_id = 2,
27 + .name = "LAN3",
28 + },
29 +
30 + [2] = {
31 + .used = 1,
32 + .phy_id = 3,
33 + .name = "LAN4",
34 + },
35 +
36 + [3] = {
37 + .used = 1,
38 + .phy_id = 4,
39 + .name = "LAN1",
40 + },
41 + },
42 + },
43 +};
44 +
45 static struct board_info __initdata board_vw6339gu = {
46 .name = "VW6339GU",
47 .expected_cpu_id = 0x63268,
48 @@ -2804,6 +2842,7 @@ static const struct board_info __initcon
49 #ifdef CONFIG_BCM63XX_CPU_63268
50 &board_963268bu_p300,
51 &board_963269bhr,
52 + &board_VR3032u,
53 &board_vw6339gu,
54 &board_BSKYB_63168,
55 #endif
56 @@ -2918,6 +2957,7 @@ static struct of_device_id const bcm963x
57 #ifdef CONFIG_BCM63XX_CPU_63268
58 { .compatible = "brcm,bcm963268bu-p300", .data = &board_963268bu_p300, },
59 { .compatible = "brcm,bcm963269bhr", .data = &board_963269bhr, },
60 + { .compatible = "comtrend,vr-3032u", .data = &board_VR3032u, },
61 { .compatible = "inteno,vg50", .data = &board_vw6339gu, },
62 { .compatible = "sky,sr102", .data = &board_BSKYB_63168, },
63 #endif