ppp: update to version 2.4.7.git-2019-05-06
[openwrt/staging/ynezz.git] / target / linux / brcm63xx / patches-4.9 / 516-board_96348A-122.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -253,6 +253,30 @@ static struct board_info __initdata boar
4 },
5 };
6
7 +static struct board_info __initdata board_96348A_122 = {
8 + .name = "96348A-122",
9 + .expected_cpu_id = 0x6348,
10 +
11 + .has_enet1 = 1,
12 + .has_pci = 1,
13 + .use_fallback_sprom = 1,
14 +
15 + .enet1 = {
16 + .has_phy = 1,
17 + .phy_id = 0,
18 + .force_speed_100 = 1,
19 + .force_duplex_full = 1,
20 + },
21 +
22 + .has_ohci0 = 1,
23 +
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 @@ -776,6 +800,7 @@ static const struct board_info __initcon
35 &board_V2500V_BB,
36 &board_V2110,
37 &board_ct536_ct5621,
38 + &board_96348A_122,
39 #endif
40
41 #ifdef CONFIG_BCM63XX_CPU_6358
42 @@ -818,6 +843,7 @@ static struct of_device_id const bcm963x
43 { .compatible = "bt,v2110", .data = &board_V2110, },
44 { .compatible = "bt,v2500v-bb", .data = &board_V2500V_BB, },
45 { .compatible = "comtrend,ct-536+", .data = &board_ct536_ct5621, },
46 + { .compatible = "comtrend,ct-5365", .data = &board_96348A_122, },
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, },