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