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 | @@ -658,6 +658,20 @@ static struct board_info __initdata boar |
3 | @@ -706,6 +706,20 @@ static struct board_info __initdata boar |
|
4 | .pci_dev = 1, |
4 | .pci_dev = 1, |
|
5 | }, |
5 | }, |
|
6 | }; |
6 | }; |
|
7 | + |
7 | + |
|
8 | + /* T-Home Speedport W 303V Typ B */ |
8 | + /* T-Home Speedport W 303V Typ B */ |
|
9 | +static struct board_info __initdata board_spw303v = { |
9 | +static struct board_info __initdata board_spw303v = { |
|
10 | + .name = "96358-502V", |
10 | + .name = "96358-502V", |
|
11 | + .expected_cpu_id = 0x6358, |
11 | + .expected_cpu_id = 0x6358, |
|
12 | + |
12 | + |
|
13 | + .has_enet0 = 1, |
13 | + .has_enet0 = 1, |
|
14 | + .has_pci = 1, |
14 | + .has_pci = 1, |
|
15 | + |
15 | + |
|
16 | + .enet0 = { |
16 | + .enet0 = { |
|
17 | + .has_phy = 1, |
17 | + .has_phy = 1, |
|
18 | + .use_internal_phy = 1, |
18 | + .use_internal_phy = 1, |
|
19 | + }, |
19 | + }, |
|
20 | +}; |
20 | +}; |
|
21 | #endif /* CONFIG_BCM63XX_CPU_6358 */ |
21 | #endif /* CONFIG_BCM63XX_CPU_6358 */ |
|
22 | |
22 | |
|
23 | /* |
23 | /* |
|
24 | @@ -705,6 +719,7 @@ static const struct board_info __initcon |
24 | @@ -753,6 +767,7 @@ static const struct board_info __initcon |
|
25 | &board_nb4_ser_r0, |
25 | &board_nb4_ser_r0, |
|
26 | &board_nb4_fxc_r1, |
26 | &board_nb4_fxc_r1, |
|
27 | &board_HW553, |
27 | &board_HW553, |
|
28 | + &board_spw303v, |
28 | + &board_spw303v, |
|
29 | #endif |
29 | #endif |
|
30 | }; |
30 | }; |
|
31 | |
31 | |
|
32 | @@ -756,6 +771,7 @@ static struct of_device_id const bcm963x |
32 | @@ -804,6 +819,7 @@ static struct of_device_id const bcm963x |
|
33 | { .compatible = "pirelli,agpf-s0", .data = &board_AGPFS0, }, |
33 | { .compatible = "pirelli,agpf-s0", .data = &board_AGPFS0, }, |
|
34 | { .compatible = "sfr,nb4-ser-r0", .data = &board_nb4_ser_r0, }, |
34 | { .compatible = "sfr,nb4-ser-r0", .data = &board_nb4_ser_r0, }, |
|
35 | { .compatible = "sfr,nb4-fxc-r1", .data = &board_nb4_fxc_r1, }, |
35 | { .compatible = "sfr,nb4-fxc-r1", .data = &board_nb4_fxc_r1, }, |
|
36 | + { .compatible = "t-com,spw303v", .data = &board_spw303v, }, |
36 | + { .compatible = "t-com,spw303v", .data = &board_spw303v, }, |
|
37 | { .compatible = "telsey,cpva642", .data = &board_CPVA642, }, |
37 | { .compatible = "telsey,cpva642", .data = &board_CPVA642, }, |
|
38 | #endif |
38 | #endif |
|
39 | #ifdef CONFIG_BCM63XX_CPU_6368 |
39 | #ifdef CONFIG_BCM63XX_CPU_6368 |
|
40 | |
40 | |