ath79: ar7242: Update dts for current ag71xx driver
[oweals/openwrt.git] / target / linux / brcm63xx / patches-4.9 / 526-board_CT6373-1.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -922,6 +922,30 @@ static struct board_info __initdata boar
4         .num_usbh_ports                 = 2,
5  };
6  
7 +static struct board_info __initdata board_ct6373_1 = {
8 +       .name                           = "CT6373-1",
9 +       .expected_cpu_id        = 0x6358,
10 +
11 +       .has_pci                        = 1,
12 +       .use_fallback_sprom             = 1,
13 +       .has_ohci0                      = 1,
14 +       .has_ehci0                      = 1,
15 +
16 +       .has_enet1                      = 1,
17 +       .enet1 = {
18 +               .has_phy                = 1,
19 +               .phy_id                 = 0,
20 +               .force_speed_100        = 1,
21 +               .force_duplex_full      = 1,
22 +       },
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_HW553 = {
32         .name                           = "HW553",
33         .expected_cpu_id                = 0x6358,
34 @@ -1106,6 +1130,7 @@ static const struct board_info __initcon
35         &board_dsl_274xb_rev_c,
36         &board_nb4_ser_r0,
37         &board_nb4_fxc_r1,
38 +       &board_ct6373_1,
39         &board_HW553,
40         &board_spw303v,
41  #endif
42 @@ -1164,6 +1189,7 @@ static struct of_device_id const bcm963x
43         { .compatible = "alcatel,rg100a", .data = &board_96358vw2, },
44         { .compatible = "brcm,bcm96358vw", .data = &board_96358vw, },
45         { .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
46 +       { .compatible = "comtrend,ct-6373", .data = &board_ct6373_1, },
47         { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
48         { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
49         { .compatible = "huawei,hg553", .data = &board_HW553, },