brcm47xx: rename target to bcm47xx
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.19 / 559-board_vw6339gu.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1610,6 +1610,51 @@ 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_ehci0 = 1,
13 + .has_ohci0 = 1,
14 + .num_usbh_ports = 1,
15 +
16 + .has_enetsw = 1,
17 +
18 + .enetsw = {
19 + .used_ports = {
20 + [0] = {
21 + .used = 1,
22 + .phy_id = 1,
23 + .name = "LAN2",
24 + },
25 +
26 + [1] = {
27 + .used = 1,
28 + .phy_id = 2,
29 + .name = "LAN3",
30 + },
31 +
32 + [2] = {
33 + .used = 1,
34 + .phy_id = 3,
35 + .name = "LAN4",
36 + },
37 +
38 + [3] = {
39 + .used = 1,
40 + .phy_id = 4,
41 + .name = "LAN1",
42 + },
43 +
44 + [4] = {
45 + .used = 1,
46 + .phy_id = 7,
47 + .name = "WAN",
48 + },
49 + },
50 + },
51 +};
52 #endif /* CONFIG_BCM63XX_CPU_63268 */
53
54 /*
55 @@ -1696,6 +1741,7 @@ static const struct board_info __initcon
56 #endif
57 #ifdef CONFIG_BCM63XX_CPU_63268
58 &board_963269bhr,
59 + &board_vw6339gu,
60 #endif
61 };
62
63 @@ -1786,6 +1832,7 @@ static struct of_device_id const bcm963x
64 #endif
65 #ifdef CONFIG_BCM63XX_CPU_63268
66 { .compatible = "brcm,bcm963269bhr", .data = &board_963269bhr, },
67 + { .compatible = "inteno,vg50", .data = &board_vw6339gu, },
68 #endif
69 #endif /* CONFIG_OF */
70 { },