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 | @@ -396,6 +396,31 @@ static struct board_info __initdata boar |
3 | @@ -436,6 +436,39 @@ static struct board_info __initdata boar |
|
4 | .num_board_fixups = ARRAY_SIZE(spw500v_fixups), |
4 | .num_board_fixups = ARRAY_SIZE(spw500v_fixups), |
|
5 | }, |
5 | }, |
|
6 | }; |
6 | }; |
|
7 | + |
7 | + |
|
8 | +static struct board_info __initdata board_96348sv = { |
8 | +static struct board_info __initdata board_96348sv = { |
|
9 | + .name = "MAGIC", |
9 | + .name = "MAGIC", |
|
10 | + .expected_cpu_id = 0x6348, |
10 | + .expected_cpu_id = 0x6348, |
|
11 | + |
11 | + |
|
12 | + .has_enet0 = 1, |
12 | + .has_enet0 = 1, |
|
13 | + .has_enet1 = 1, |
13 | + .has_enet1 = 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 | + .enet1 = { |
20 | + .enet1 = { |
|
21 | + /* it has BP_ENET_EXTERNAL_PHY */ |
21 | + /* it has BP_ENET_EXTERNAL_PHY */ |
|
22 | + .has_phy = 1, |
22 | + .has_phy = 1, |
|
23 | + .phy_id = 0, |
23 | + .phy_id = 0, |
|
24 | + .force_speed_100 = 1, |
24 | + .force_speed_100 = 1, |
|
25 | + .force_duplex_full = 1, |
25 | + .force_duplex_full = 1, |
|
26 | + }, |
26 | + }, |
|
27 | + |
27 | + |
|
28 | + .has_ohci0 = 1, |
28 | + .has_ohci0 = 1, |
|
29 | + .has_pccard = 1, |
29 | + .has_pccard = 1, |
|
30 | + .has_ehci0 = 1, |
30 | + .has_ehci0 = 1, |
|
- | 31 | + |
||
- | 32 | + .has_dsp = 1, |
||
- | 33 | + .dsp = { |
||
- | 34 | + .gpio_rst = 25, |
||
- | 35 | + .gpio_int = 34, |
||
- | 36 | + .cs = 2, |
||
- | 37 | + .ext_irq = 2, |
||
- | 38 | + }, |
||
31 | +}; |
39 | +}; |
|
32 | #endif /* CONFIG_BCM63XX_CPU_6348 */ |
40 | #endif /* CONFIG_BCM63XX_CPU_6348 */ |
|
33 | |
41 | |
|
34 | /* |
42 | /* |
|
35 | @@ -626,6 +651,7 @@ static const struct board_info __initcon |
43 | @@ -666,6 +699,7 @@ static const struct board_info __initcon |
|
36 | &board_rta1025w_16, |
44 | &board_rta1025w_16, |
|
37 | &board_96348_D4PW, |
45 | &board_96348_D4PW, |
|
38 | &board_spw500v, |
46 | &board_spw500v, |
|
39 | + &board_96348sv, |
47 | + &board_96348sv, |
|
40 | #endif |
48 | #endif |
|
41 | |
49 | |
|
42 | #ifdef CONFIG_BCM63XX_CPU_6358 |
50 | #ifdef CONFIG_BCM63XX_CPU_6358 |
|
43 | @@ -670,6 +696,7 @@ static struct of_device_id const bcm963x |
51 | @@ -710,6 +744,7 @@ static struct of_device_id const bcm963x |
|
44 | { .compatible = "t-com,spw500v", .data = &board_spw500v, }, |
52 | { .compatible = "t-com,spw500v", .data = &board_spw500v, }, |
|
45 | { .compatible = "tecom,gw6000", .data = &board_gw6000, }, |
53 | { .compatible = "tecom,gw6000", .data = &board_gw6000, }, |
|
46 | { .compatible = "tecom,gw6200", .data = &board_gw6200, }, |
54 | { .compatible = "tecom,gw6200", .data = &board_gw6200, }, |
|
47 | + { .compatible = "telsey,magic", .data = &board_96348sv, }, |
55 | + { .compatible = "telsey,magic", .data = &board_96348sv, }, |
|
48 | { .compatible = "tp-link,td-w8900gb", .data = &board_96348gw_11, }, |
56 | { .compatible = "tp-link,td-w8900gb", .data = &board_96348gw_11, }, |
|
49 | { .compatible = "usr,9108", .data = &board_96348gw_a, }, |
57 | { .compatible = "usr,9108", .data = &board_96348gw_a, }, |
|
50 | #endif |
58 | #endif |
|
51 | |
59 | |