ath79: enable upgrade from ar71xx for Qxwlan devices
[openwrt/openwrt.git] / target / linux / bcm63xx / patches-5.4 / 608-board_bcm6358-d-link-dva-g3810bn-tl.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1616,6 +1616,31 @@ static struct board_info __initdata boar
4 .use_internal_phy = 1,
5 },
6 };
7 +
8 +/* D-Link DVA-G3810BN/TL */
9 +static struct board_info __initdata board_DVAG3810BN = {
10 + .name = "DVAG3810BN",
11 + .expected_cpu_id = 0x6358,
12 +
13 + .has_pccard = 1,
14 + .has_pci = 1,
15 + .has_ohci0 = 1,
16 + .has_ehci0 = 1,
17 +
18 + .has_enet0 = 1,
19 + .enet0 = {
20 + .has_phy = 1,
21 + .use_internal_phy = 1,
22 + },
23 +
24 + .has_enet1 = 1,
25 + .enet1 = {
26 + .has_phy = 1,
27 + .phy_id = 0,
28 + .force_speed_100 = 1,
29 + .force_duplex_full = 1,
30 + },
31 +};
32 #endif /* CONFIG_BCM63XX_CPU_6358 */
33
34 /*
35 @@ -1690,6 +1715,7 @@ static const struct board_info __initcon
36 &board_ct6373_1,
37 &board_HW553,
38 &board_spw303v,
39 + &board_DVAG3810BN,
40 #endif /* CONFIG_BCM63XX_CPU_6358 */
41 };
42
43 @@ -1764,6 +1790,7 @@ static struct of_device_id const bcm963x
44 { .compatible = "comtrend,ct-6373", .data = &board_ct6373_1, },
45 { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
46 { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
47 + { .compatible = "d-link,dva-g3810bn-tl", .data = &board_DVAG3810BN, },
48 { .compatible = "huawei,echolife-hg553", .data = &board_HW553, },
49 { .compatible = "pirelli,a226g", .data = &board_DWVS0, },
50 { .compatible = "pirelli,a226m", .data = &board_DWVS0, },