brcm63xx: remove broken DSP platform device code
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.14 / 574-board_HG622.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1890,6 +1890,52 @@ static struct board_info __initdata boar
4 },
5 };
6
7 +static struct board_info __initdata board_HG622 = {
8 + .name = "96368MVWG_hg622",
9 + .expected_cpu_id = 0x6368,
10 +
11 + .has_pci = 1,
12 + .has_ohci0 = 1,
13 + .has_ehci0 = 1,
14 + .num_usbh_ports = 2,
15 +
16 + .has_caldata = 1,
17 + .caldata = {
18 + {
19 + .vendor = PCI_VENDOR_ID_RALINK,
20 + .caldata_offset = 0xfa0000,
21 + .slot = 1,
22 + .eeprom = "rt2x00.eeprom",
23 + },
24 + },
25 +
26 + .has_enetsw = 1,
27 + .enetsw = {
28 + .used_ports = {
29 + [0] = {
30 + .used = 1,
31 + .phy_id = 1,
32 + .name = "port1",
33 + },
34 + [1] = {
35 + .used = 1,
36 + .phy_id = 2,
37 + .name = "port2",
38 + },
39 + [2] = {
40 + .used = 1,
41 + .phy_id = 3,
42 + .name = "port3",
43 + },
44 + [3] = {
45 + .used = 1,
46 + .phy_id = 4,
47 + .name = "port4",
48 + },
49 + },
50 + },
51 +};
52 +
53 static struct sprom_fixup __initdata vr3025u_fixups[] = {
54 { .offset = 97, .value = 0xfeb3 },
55 { .offset = 98, .value = 0x1618 },
56 @@ -2368,6 +2414,7 @@ static const struct board_info __initcon
57 &board_96368mvwg,
58 &board_96368mvngr,
59 &board_DGND3700v1_3800B,
60 + &board_HG622,
61 &board_HG655b,
62 &board_P870HW51A_V2,
63 &board_VR3025u,
64 @@ -2476,6 +2523,7 @@ static struct of_device_id const bcm963x
65 { .compatible = "comtrend,vr-3025un", .data = &board_VR3025un, },
66 { .compatible = "comtrend,vr-3026e", .data = &board_VR3026e, },
67 { .compatible = "comtrend,wap-5813n", .data = &board_WAP5813n, },
68 + { .compatible = "huawei,hg622", .data = &board_HG622, },
69 { .compatible = "huawei,hg655b", .data = &board_HG655b, },
70 { .compatible = "netgear,dgnd3700v1", .data = &board_DGND3700v1_3800B, },
71 { .compatible = "zyxel,p870hw-51a-v2", .data = &board_P870HW51A_V2, },