map: add a legacymap option
[openwrt/openwrt.git] / target / linux / bcm63xx / patches-5.4 / 517_board_CPVA502plus.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -222,6 +222,34 @@ static struct board_info __initdata boar
4 },
5 };
6
7 +static struct board_info __initdata board_CPVA502plus = {
8 + .name = "CPVA502+",
9 + .expected_cpu_id = 0x6348,
10 +
11 + .has_pci = 1,
12 + .ephy_reset_gpio = 4,
13 + .ephy_reset_gpio_flags = GPIO_ACTIVE_LOW,
14 +
15 + .has_enet0 = 1,
16 + .enet0 = {
17 + .has_phy = 1,
18 + .use_internal_phy = 1,
19 + },
20 +
21 + .has_enet1 = 1,
22 + .enet1 = {
23 + .has_phy = 1,
24 + .phy_id = 0,
25 + },
26 +
27 + .use_fallback_sprom = 1,
28 + .fallback_sprom = {
29 + .type = SPROM_BCM4318,
30 + .pci_bus = 0,
31 + .pci_dev = 1,
32 + },
33 +};
34 +
35 static struct board_info __initdata board_ct536_ct5621 = {
36 .name = "CT536_CT5621",
37 .expected_cpu_id = 0x6348,
38 @@ -782,6 +810,7 @@ static const struct board_info __initcon
39 &board_V2110,
40 &board_ct536_ct5621,
41 &board_96348A_122,
42 + &board_CPVA502plus,
43 #endif /* CONFIG_BCM63XX_CPU_6348 */
44 #ifdef CONFIG_BCM63XX_CPU_6358
45 &board_96358vw,
46 @@ -835,6 +864,7 @@ static struct of_device_id const bcm963x
47 { .compatible = "t-com,speedport-w-500v", .data = &board_spw500v, },
48 { .compatible = "tecom,gw6000", .data = &board_gw6000, },
49 { .compatible = "tecom,gw6200", .data = &board_gw6200, },
50 + { .compatible = "telsey,cpva502plus", .data = &board_CPVA502plus, },
51 { .compatible = "telsey,magic", .data = &board_96348sv, },
52 { .compatible = "tp-link,td-w8900gb", .data = &board_96348gw_11, },
53 { .compatible = "usrobotics,usr9108", .data = &board_96348gw_a, },