3fb9940e7874a15079438f6cc268f3f7ed3d8cfb
[openwrt/openwrt.git] / target / linux / bcm63xx / patches-5.4 / 604-board_bcm6358-d-link-dsl-274xb-c.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1488,6 +1488,22 @@ static struct board_info __initdata boar
4 .has_ehci0 = 1,
5 };
6
7 +/* D-Link DSL-274xB revison C2/C3 */
8 +static struct board_info __initdata board_dsl_274xb_rev_c = {
9 + .name = "AW4139",
10 + .expected_cpu_id = 0x6358,
11 +
12 + .has_pci = 1,
13 +
14 + .has_enet1 = 1,
15 + .enet1 = {
16 + .has_phy = 1,
17 + .phy_id = 0,
18 + .force_speed_100 = 1,
19 + .force_duplex_full = 1,
20 + },
21 +};
22 +
23 static struct board_info __initdata board_nb4_ser_r0 = {
24 .name = "NB4-SER-r0",
25 .expected_cpu_id = 0x6358,
26 @@ -1605,6 +1621,7 @@ static const struct board_info __initcon
27 &board_AGPFS0,
28 &board_CPVA642,
29 &board_DWVS0,
30 + &board_dsl_274xb_rev_c,
31 &board_nb4_ser_r0,
32 &board_nb4_fxc_r1,
33 #endif /* CONFIG_BCM63XX_CPU_6358 */
34 @@ -1678,6 +1695,7 @@ static struct of_device_id const bcm963x
35 { .compatible = "alcatel,rg100a", .data = &board_96358vw2, },
36 { .compatible = "brcm,bcm96358vw", .data = &board_96358vw, },
37 { .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
38 + { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
39 { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
40 { .compatible = "pirelli,a226g", .data = &board_DWVS0, },
41 { .compatible = "pirelli,a226m", .data = &board_DWVS0, },