brcm63xx: move V2110 to DT
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-3.18 / 526-board_CT6373-1.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1193,6 +1193,31 @@ 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_uart0 = 1,
12 + .has_pci = 1,
13 + .use_fallback_sprom = 1,
14 + .has_ohci0 = 1,
15 + .has_ehci0 = 1,
16 +
17 + .has_enet1 = 1,
18 + .enet1 = {
19 + .has_phy = 1,
20 + .phy_id = 0,
21 + .force_speed_100 = 1,
22 + .force_duplex_full = 1,
23 + },
24 +
25 + .fallback_sprom = {
26 + .type = SPROM_BCM4318,
27 + .pci_bus = 0,
28 + .pci_dev = 1,
29 + },
30 +};
31 +
32 static struct board_info __initdata board_HW553 = {
33 .name = "HW553",
34 .expected_cpu_id = 0x6358,
35 @@ -1382,6 +1407,7 @@ static const struct board_info __initcon
36 &board_dsl_274xb_rev_c,
37 &board_nb4_ser_r0,
38 &board_nb4_fxc_r1,
39 + &board_ct6373_1,
40 &board_HW553,
41 &board_spw303v,
42 #endif
43 @@ -1440,6 +1466,7 @@ static struct of_device_id const bcm963x
44 { .compatible = "alcatel,rg100a", .data = &board_96358vw2, },
45 { .compatible = "brcm,bcm96358vw", .data = &board_96358vw, },
46 { .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
47 + { .compatible = "comtrend,ct-6373", .data = &board_ct6373_1, },
48 { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
49 { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
50 { .compatible = "huawei,hg553", .data = &board_HW553, },