77948d19fcb7b4894ad5ac20def2451f37d1e918
[oweals/openwrt.git] / target / linux / brcm63xx / patches-4.19 / 506-board_gw6200_gw6000.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -217,6 +217,48 @@ static struct board_info __initdata boar
4         .has_ohci0 = 1,
5  };
6  
7 +static struct board_info __initdata board_gw6200 = {
8 +       .name                           = "GW6200",
9 +       .expected_cpu_id                = 0x6348,
10 +
11 +       .has_enet0                      = 1,
12 +       .has_enet1                      = 1,
13 +       .has_pci                        = 1,
14 +
15 +       .enet0 = {
16 +               .has_phy                = 1,
17 +               .use_internal_phy       = 1,
18 +       },
19 +       .enet1 = {
20 +               .force_speed_100        = 1,
21 +               .force_duplex_full      = 1,
22 +       },
23 +
24 +       .has_ohci0 = 1,
25 +};
26 +
27 +static struct board_info __initdata board_gw6000 = {
28 +       .name                           = "GW6000",
29 +       .expected_cpu_id                = 0x6348,
30 +
31 +       .has_enet0                      = 1,
32 +       .has_enet1                      = 1,
33 +       .has_pci                        = 1,
34 +
35 +       .enet0 = {
36 +               .has_phy                = 1,
37 +               .use_internal_phy       = 1,
38 +       },
39 +       .enet1 = {
40 +               .force_speed_100        = 1,
41 +               .force_duplex_full      = 1,
42 +       },
43 +
44 +       .has_ohci0 = 1,
45 +};
46 +
47 +
48 +
49  static struct board_info __initdata board_FAST2404 = {
50         .name                           = "F@ST2404",
51         .expected_cpu_id                = 0x6348,
52 @@ -574,6 +616,8 @@ static const struct board_info __initcon
53  #ifdef CONFIG_BCM63XX_CPU_6348
54         &board_96348r,
55         &board_96348gw,
56 +       &board_gw6000,
57 +       &board_gw6200,
58         &board_96348gw_10,
59         &board_96348gw_11,
60         &board_FAST2404,
61 @@ -624,6 +668,8 @@ static struct of_device_id const bcm963x
62         { .compatible = "netgear,dg834gt-pn", .data = &board_96348gw_10, },
63         { .compatible = "sagem,fast-2404", .data = &board_FAST2404, },
64         { .compatible = "t-com,speedport-w-500v", .data = &board_spw500v, },
65 +       { .compatible = "tecom,gw6000", .data = &board_gw6000, },
66 +       { .compatible = "tecom,gw6200", .data = &board_gw6200, },
67         { .compatible = "tp-link,td-w8900gb", .data = &board_96348gw_11, },
68         { .compatible = "usrobotics,usr9108", .data = &board_96348gw_a, },
69  #endif