bcm63xx: reorganize board patches
[openwrt/staging/wigyori.git] / target / linux / bcm63xx / patches-5.4 / 564-board-bcm6348-telsey-magic.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1178,6 +1178,30 @@ static struct board_info __initdata boar
4 .num_board_fixups = ARRAY_SIZE(spw500v_fixups),
5 },
6 };
7 +
8 +static struct board_info __initdata board_96348sv = {
9 + .name = "MAGIC",
10 + .expected_cpu_id = 0x6348,
11 +
12 + .has_pccard = 1,
13 + .has_pci = 1,
14 + .has_ohci0 = 1,
15 +
16 + .has_enet0 = 1,
17 + .enet0 = {
18 + .has_phy = 1,
19 + .use_internal_phy = 1,
20 + },
21 +
22 + .has_enet1 = 1,
23 + .enet1 = {
24 + /* it has BP_ENET_EXTERNAL_PHY */
25 + .has_phy = 1,
26 + .phy_id = 0,
27 + .force_speed_100 = 1,
28 + .force_duplex_full = 1,
29 + },
30 +};
31 #endif /* CONFIG_BCM63XX_CPU_6348 */
32
33 /*
34 @@ -1337,6 +1361,7 @@ static const struct board_info __initcon
35 &board_rta1025w_16,
36 &board_96348_D4PW,
37 &board_spw500v,
38 + &board_96348sv,
39 #endif /* CONFIG_BCM63XX_CPU_6348 */
40 #ifdef CONFIG_BCM63XX_CPU_6358
41 &board_96358vw,
42 @@ -1397,6 +1422,7 @@ static struct of_device_id const bcm963x
43 { .compatible = "t-com,speedport-w-500v", .data = &board_spw500v, },
44 { .compatible = "tecom,gw6000", .data = &board_gw6000, },
45 { .compatible = "tecom,gw6200", .data = &board_gw6200, },
46 + { .compatible = "telsey,magic", .data = &board_96348sv, },
47 { .compatible = "tp-link,td-w8900gb", .data = &board_96348gw_11, },
48 { .compatible = "usrobotics,usr9108", .data = &board_96348gw_a, },
49 #endif /* CONFIG_BCM63XX_CPU_6348 */