a10d33cca3f50f0172db75c7fa064b29cb1f3fb6
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.18 / 565-board_hw520.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1365,6 +1365,37 @@ static struct board_info __initdata boar
4 },
5 };
6
7 +static struct board_info __initdata board_HW520 = {
8 + .name = "HW6358GW_B",
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_enet0 = 1,
18 + .enet0 = {
19 + .has_phy = 1,
20 + .use_internal_phy = 1,
21 + },
22 +
23 + .has_enet1 = 1,
24 + .enet1 = {
25 + .has_phy = 1,
26 + .phy_id = 0,
27 + .force_speed_100 = 1,
28 + .force_duplex_full = 1,
29 + },
30 +
31 + .fallback_sprom = {
32 + .type = SPROM_BCM4318,
33 + .pci_bus = 0,
34 + .pci_dev = 1,
35 + },
36 +};
37 +
38 static struct board_info __initdata board_HW553 = {
39 .name = "HW553",
40 .expected_cpu_id = 0x6358,
41 @@ -2170,6 +2201,7 @@ static const struct board_info __initcon
42 &board_nb4_ser_r0,
43 &board_nb4_fxc_r1,
44 &board_ct6373_1,
45 + &board_HW520,
46 &board_HW553,
47 &board_HW556_A,
48 &board_HW556_B,
49 @@ -2262,6 +2294,7 @@ static struct of_device_id const bcm963x
50 { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
51 { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
52 { .compatible = "d-link,dva-g3810bn/tl", .data = &board_DVAG3810BN, },
53 + { .compatible = "huawei,hg520v", .data = &board_HW520, },
54 { .compatible = "huawei,hg553", .data = &board_HW553, },
55 { .compatible = "huawei,hg556a-a", .data = &board_HW556_A, },
56 { .compatible = "huawei,hg556a-b", .data = &board_HW556_B, },