bcm63xx: remove invalid EHCI nodes
[openwrt/staging/wigyori.git] / target / linux / bcm63xx / patches-5.4 / 508-board_hw553.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -606,6 +606,31 @@ static struct board_info __initdata boar
4 .force_duplex_full = 1,
5 },
6 };
7 +
8 +static struct board_info __initdata board_HW553 = {
9 + .name = "HW553",
10 + .expected_cpu_id = 0x6358,
11 +
12 + .has_pci = 1,
13 + .has_ohci0 = 1,
14 + .has_ehci0 = 1,
15 + .num_usbh_ports = 2,
16 +
17 + .has_enet1 = 1,
18 + .enet1 = {
19 + .has_phy = 1,
20 + .phy_id = 0,
21 + .force_speed_100 = 1,
22 + .force_duplex_full = 1,
23 + },
24 +
25 + .use_fallback_sprom = 1,
26 + .fallback_sprom = {
27 + .type = SPROM_BCM4318,
28 + .pci_bus = 0,
29 + .pci_dev = 1,
30 + },
31 +};
32 #endif /* CONFIG_BCM63XX_CPU_6358 */
33
34 /*
35 @@ -650,6 +675,7 @@ static const struct board_info __initcon
36 &board_dsl_274xb_rev_c,
37 &board_nb4_ser_r0,
38 &board_nb4_fxc_r1,
39 + &board_HW553,
40 #endif /* CONFIG_BCM63XX_CPU_6358 */
41 };
42
43 @@ -693,6 +719,7 @@ static struct of_device_id const bcm963x
44 { .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
45 { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
46 { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
47 + { .compatible = "huawei,echolife-hg553", .data = &board_HW553, },
48 { .compatible = "pirelli,a226g", .data = &board_DWVS0, },
49 { .compatible = "pirelli,a226m", .data = &board_DWVS0, },
50 { .compatible = "pirelli,a226m-fwb", .data = &board_DWVS0, },