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 | @@ -1844,6 +1844,42 @@ static struct board_info __initdata boar |
3 | @@ -1892,6 +1892,42 @@ static struct board_info __initdata boar |
|
4 | }, |
4 | }, |
|
5 | }; |
5 | }; |
|
6 | |
6 | |
|
7 | +static struct sprom_fixup __initdata EVG2000_fixups[] = { |
7 | +static struct sprom_fixup __initdata EVG2000_fixups[] = { |
|
8 | + { .offset = 219, .value = 0xec08 }, |
8 | + { .offset = 219, .value = 0xec08 }, |
|
9 | +}; |
9 | +}; |
|
10 | + |
10 | + |
|
11 | +static struct board_info __initdata board_EVG2000 = { |
11 | +static struct board_info __initdata board_EVG2000 = { |
|
12 | + .name = "96369PVG", |
12 | + .name = "96369PVG", |
|
13 | + .expected_cpu_id = 0x6368, |
13 | + .expected_cpu_id = 0x6368, |
|
14 | + |
14 | + |
|
15 | + .has_pci = 1, |
15 | + .has_pci = 1, |
|
16 | + .has_ohci0 = 1, |
16 | + .has_ohci0 = 1, |
|
17 | + .has_ehci0 = 1, |
17 | + .has_ehci0 = 1, |
|
18 | + .num_usbh_ports = 2, |
18 | + .num_usbh_ports = 2, |
|
19 | + |
19 | + |
|
20 | + .has_enetsw = 1, |
20 | + .has_enetsw = 1, |
|
21 | + .enetsw = { |
21 | + .enetsw = { |
|
22 | + .used_ports = { |
22 | + .used_ports = { |
|
23 | + [5] = { |
23 | + [5] = { |
|
24 | + .used = 1, |
24 | + .used = 1, |
|
25 | + .phy_id = 0xff, |
25 | + .phy_id = 0xff, |
|
26 | + .bypass_link = 1, |
26 | + .bypass_link = 1, |
|
27 | + .force_speed = 1000, |
27 | + .force_speed = 1000, |
|
28 | + .force_duplex_full = 1, |
28 | + .force_duplex_full = 1, |
|
29 | + .name = "RGMII", |
29 | + .name = "RGMII", |
|
30 | + }, |
30 | + }, |
|
31 | + }, |
31 | + }, |
|
32 | + }, |
32 | + }, |
|
33 | + .use_fallback_sprom = 1, |
33 | + .use_fallback_sprom = 1, |
|
34 | + .fallback_sprom = { |
34 | + .fallback_sprom = { |
|
35 | + .type = SPROM_BCM4322, |
35 | + .type = SPROM_BCM4322, |
|
36 | + .pci_bus = 0, |
36 | + .pci_bus = 0, |
|
37 | + .pci_dev = 1, |
37 | + .pci_dev = 1, |
|
38 | + .board_fixups = EVG2000_fixups, |
38 | + .board_fixups = EVG2000_fixups, |
|
39 | + .num_board_fixups = ARRAY_SIZE(EVG2000_fixups), |
39 | + .num_board_fixups = ARRAY_SIZE(EVG2000_fixups), |
|
40 | + }, |
40 | + }, |
|
41 | +}; |
41 | +}; |
|
42 | + |
42 | + |
|
43 | static struct board_info __initdata board_HG655b = { |
43 | static struct board_info __initdata board_HG655b = { |
|
44 | .name = "HW65x", |
44 | .name = "HW65x", |
|
45 | .expected_cpu_id = 0x6368, |
45 | .expected_cpu_id = 0x6368, |
|
46 | @@ -2414,6 +2450,7 @@ static const struct board_info __initcon |
46 | @@ -2462,6 +2498,7 @@ static const struct board_info __initcon |
|
47 | &board_96368mvwg, |
47 | &board_96368mvwg, |
|
48 | &board_96368mvngr, |
48 | &board_96368mvngr, |
|
49 | &board_DGND3700v1_3800B, |
49 | &board_DGND3700v1_3800B, |
|
50 | + &board_EVG2000, |
50 | + &board_EVG2000, |
|
51 | &board_HG622, |
51 | &board_HG622, |
|
52 | &board_HG655b, |
52 | &board_HG655b, |
|
53 | &board_P870HW51A_V2, |
53 | &board_P870HW51A_V2, |
|
54 | @@ -2526,6 +2563,7 @@ static struct of_device_id const bcm963x |
54 | @@ -2574,6 +2611,7 @@ static struct of_device_id const bcm963x |
|
55 | { .compatible = "huawei,hg622", .data = &board_HG622, }, |
55 | { .compatible = "huawei,hg622", .data = &board_HG622, }, |
|
56 | { .compatible = "huawei,hg655b", .data = &board_HG655b, }, |
56 | { .compatible = "huawei,hg655b", .data = &board_HG655b, }, |
|
57 | { .compatible = "netgear,dgnd3700v1", .data = &board_DGND3700v1_3800B, }, |
57 | { .compatible = "netgear,dgnd3700v1", .data = &board_DGND3700v1_3800B, }, |
|
58 | + { .compatible = "netgear,evg2000", .data = &board_EVG2000, }, |
58 | + { .compatible = "netgear,evg2000", .data = &board_EVG2000, }, |
|
59 | { .compatible = "zyxel,p870hw-51a-v2", .data = &board_P870HW51A_V2, }, |
59 | { .compatible = "zyxel,p870hw-51a-v2", .data = &board_P870HW51A_V2, }, |
|
60 | #endif |
60 | #endif |
|
61 | #ifdef CONFIG_BCM63XX_CPU_63268 |
61 | #ifdef CONFIG_BCM63XX_CPU_63268 |
|
62 | |
62 | |