brcm63xx: remove broken DSP platform device code
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.14 / 514-board_ct536_ct5621.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -226,6 +226,33 @@ static struct board_info __initdata boar
4 };
5
6
7 +static struct board_info __initdata board_ct536_ct5621 = {
8 + .name = "CT536_CT5621",
9 + .expected_cpu_id = 0x6348,
10 +
11 + .has_enet0 = 0,
12 + .has_enet1 = 1,
13 + .has_pci = 1,
14 + .use_fallback_sprom = 1,
15 +
16 + .enet1 = {
17 + .has_phy = 1,
18 + .phy_id = 0,
19 + .force_speed_100 = 1,
20 + .force_duplex_full = 1,
21 + },
22 +
23 + .has_ohci0 = 1,
24 + .has_pccard = 1,
25 + .has_ehci0 = 1,
26 +
27 + .fallback_sprom = {
28 + .type = SPROM_BCM4318,
29 + .pci_bus = 0,
30 + .pci_dev = 1,
31 + },
32 +};
33 +
34 static struct board_info __initdata board_96348gw = {
35 .name = "96348GW",
36 .expected_cpu_id = 0x6348,
37 @@ -747,6 +774,7 @@ static const struct board_info __initcon
38 &board_96348sv,
39 &board_V2500V_BB,
40 &board_V2110,
41 + &board_ct536_ct5621,
42 #endif
43
44 #ifdef CONFIG_BCM63XX_CPU_6358
45 @@ -788,6 +816,8 @@ static struct of_device_id const bcm963x
46 { .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },
47 { .compatible = "bt,v2110", .data = &board_V2110, },
48 { .compatible = "bt,v2500v-bb", .data = &board_V2500V_BB, },
49 + { .compatible = "comtrend,ct-536+", .data = &board_ct536_ct5621, },
50 + { .compatible = "comtrend,ct-5621", .data = &board_ct536_ct5621, },
51 { .compatible = "d-link,dsl-2640b-b", .data = &board_96348_D4PW, },
52 { .compatible = "davolink,dv-201amr", .data = &board_DV201AMR, },
53 { .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, },