bcm63xx: reorganize board patches
[openwrt/staging/wigyori.git] / target / linux / bcm63xx / patches-5.4 / 568-board_bcm6348-comtrend-ct-536plus-ct-5621.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -995,6 +995,30 @@ 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_pccard = 1,
12 + .has_pci = 1,
13 + .has_ohci0 = 1,
14 +
15 + .has_enet1 = 1,
16 + .enet1 = {
17 + .has_phy = 1,
18 + .phy_id = 0,
19 + .force_speed_100 = 1,
20 + .force_duplex_full = 1,
21 + },
22 +
23 + .use_fallback_sprom = 1,
24 + .fallback_sprom = {
25 + .type = SPROM_BCM4318,
26 + .pci_bus = 0,
27 + .pci_dev = 1,
28 + },
29 +};
30 +
31 static struct board_info __initdata board_96348gw = {
32 .name = "96348GW",
33 .expected_cpu_id = 0x6348,
34 @@ -1401,6 +1425,7 @@ static const struct board_info __initcon
35 &board_96348sv,
36 &board_V2500V_BB,
37 &board_V2110,
38 + &board_ct536_ct5621,
39 #endif /* CONFIG_BCM63XX_CPU_6348 */
40 #ifdef CONFIG_BCM63XX_CPU_6358
41 &board_96358vw,
42 @@ -1455,6 +1480,8 @@ static struct of_device_id const bcm963x
43 { .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },
44 { .compatible = "bt,voyager-2110", .data = &board_V2110, },
45 { .compatible = "bt,voyager-2500v-bb", .data = &board_V2500V_BB, },
46 + { .compatible = "comtrend,ct-536plus", .data = &board_ct536_ct5621, },
47 + { .compatible = "comtrend,ct-5621", .data = &board_ct536_ct5621, },
48 { .compatible = "d-link,dsl-2640b-b", .data = &board_96348_D4PW, },
49 { .compatible = "davolink,dv-201amr", .data = &board_DV201AMR, },
50 { .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, },