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 | @@ -623,6 +623,50 @@ static struct board_info __initdata boar |
3 | @@ -623,6 +623,50 @@ static struct board_info __initdata boar |
|
4 | }, |
4 | }, |
|
5 | }, |
5 | }, |
|
6 | }; |
6 | }; |
|
7 | + |
7 | + |
|
8 | +static struct board_info __initdata board_R5010UNV2 = { |
8 | +static struct board_info __initdata board_R5010UNV2 = { |
|
9 | + .name = "96328ang", |
9 | + .name = "96328ang", |
|
10 | + .expected_cpu_id = 0x6328, |
10 | + .expected_cpu_id = 0x6328, |
|
11 | + |
11 | + |
|
12 | + .has_pci = 1, |
12 | + .has_pci = 1, |
|
13 | + .use_fallback_sprom = 1, |
13 | + .use_fallback_sprom = 1, |
|
14 | + .has_ohci0 = 1, |
14 | + .has_ohci0 = 1, |
|
15 | + .has_ehci0 = 1, |
15 | + .has_ehci0 = 1, |
|
16 | + .num_usbh_ports = 1, |
16 | + .num_usbh_ports = 1, |
|
17 | + .has_enetsw = 1, |
17 | + .has_enetsw = 1, |
|
18 | + |
18 | + |
|
19 | + .enetsw = { |
19 | + .enetsw = { |
|
20 | + .used_ports = { |
20 | + .used_ports = { |
|
21 | + [0] = { |
21 | + [0] = { |
|
22 | + .used = 1, |
22 | + .used = 1, |
|
23 | + .phy_id = 1, |
23 | + .phy_id = 1, |
|
24 | + .name = "Port 1", |
24 | + .name = "Port 1", |
|
25 | + }, |
25 | + }, |
|
26 | + [1] = { |
26 | + [1] = { |
|
27 | + .used = 1, |
27 | + .used = 1, |
|
28 | + .phy_id = 2, |
28 | + .phy_id = 2, |
|
29 | + .name = "Port 2", |
29 | + .name = "Port 2", |
|
30 | + }, |
30 | + }, |
|
31 | + [2] = { |
31 | + [2] = { |
|
32 | + .used = 1, |
32 | + .used = 1, |
|
33 | + .phy_id = 3, |
33 | + .phy_id = 3, |
|
34 | + .name = "Port 3", |
34 | + .name = "Port 3", |
|
35 | + }, |
35 | + }, |
|
36 | + [3] = { |
36 | + [3] = { |
|
37 | + .used = 1, |
37 | + .used = 1, |
|
38 | + .phy_id = 4, |
38 | + .phy_id = 4, |
|
39 | + .name = "Port 4", |
39 | + .name = "Port 4", |
|
40 | + }, |
40 | + }, |
|
41 | + }, |
41 | + }, |
|
42 | + }, |
42 | + }, |
|
43 | + |
43 | + |
|
44 | + .fallback_sprom = { |
44 | + .fallback_sprom = { |
|
45 | + .type = SPROM_BCM43217, |
45 | + .type = SPROM_BCM43217, |
|
46 | + .pci_bus = 1, |
46 | + .pci_bus = 1, |
|
47 | + .pci_dev = 0, |
47 | + .pci_dev = 0, |
|
48 | + }, |
48 | + }, |
|
49 | +}; |
49 | +}; |
|
50 | + |
50 | + |
|
51 | #endif /* CONFIG_BCM63XX_CPU_6328 */ |
51 | #endif /* CONFIG_BCM63XX_CPU_6328 */ |
|
52 | |
52 | |
|
53 | /* |
53 | /* |
|
54 | @@ -2258,6 +2302,7 @@ static const struct board_info __initcon |
54 | @@ -2306,6 +2350,7 @@ static const struct board_info __initcon |
|
55 | &board_A4001N1, |
55 | &board_A4001N1, |
|
56 | &board_dsl_274xb_f1, |
56 | &board_dsl_274xb_f1, |
|
57 | &board_FAST2704V2, |
57 | &board_FAST2704V2, |
|
58 | + &board_R5010UNV2, |
58 | + &board_R5010UNV2, |
|
59 | #endif |
59 | #endif |
|
60 | #ifdef CONFIG_BCM63XX_CPU_6338 |
60 | #ifdef CONFIG_BCM63XX_CPU_6338 |
|
61 | &board_96338gw, |
61 | &board_96338gw, |
|
62 | @@ -2356,6 +2401,7 @@ static struct of_device_id const bcm963x |
62 | @@ -2404,6 +2449,7 @@ static struct of_device_id const bcm963x |
|
63 | { .compatible = "comtrend,ar-5381u", .data = &board_AR5381u, }, |
63 | { .compatible = "comtrend,ar-5381u", .data = &board_AR5381u, }, |
|
64 | { .compatible = "comtrend,ar-5387un", .data = &board_AR5387un, }, |
64 | { .compatible = "comtrend,ar-5387un", .data = &board_AR5387un, }, |
|
65 | { .compatible = "d-link,dsl-274xb-f", .data = &board_dsl_274xb_f1, }, |
65 | { .compatible = "d-link,dsl-274xb-f", .data = &board_dsl_274xb_f1, }, |
|
66 | + { .compatible = "nucom,r5010unv2", .data = &board_R5010UNV2, }, |
66 | + { .compatible = "nucom,r5010unv2", .data = &board_R5010UNV2, }, |
|
67 | { .compatible = "sagem,f@st2704v2", .data = &board_FAST2704V2, }, |
67 | { .compatible = "sagem,f@st2704v2", .data = &board_FAST2704V2, }, |
|
68 | #endif |
68 | #endif |
|
69 | #ifdef CONFIG_BCM63XX_CPU_6338 |
69 | #ifdef CONFIG_BCM63XX_CPU_6338 |
|
70 | |
70 | |