OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
1 | From: "mexit@o2.pl" <mexit@o2.pl> |
1 | From: "mexit@o2.pl" <mexit@o2.pl> |
|
2 | Date: Sun, 24 Nov 2013 21:33:38 +0000 |
2 | Date: Sun, 24 Nov 2013 21:33:38 +0000 |
|
3 | Subject: [PATCH 4/5] brcm63xx: add support for Asmax AR 1004g router |
3 | Subject: [PATCH 4/5] brcm63xx: add support for Asmax AR 1004g router |
|
4 | |
4 | |
|
5 | Support for Asmax AR 1004g router |
5 | Support for Asmax AR 1004g router |
|
6 | |
6 | |
|
7 | Signed-off-by: Adrian Feliks <mexit@o2.pl> |
7 | Signed-off-by: Adrian Feliks <mexit@o2.pl> |
|
8 | --- |
8 | --- |
|
9 | --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c |
9 | --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c |
|
10 | +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c |
10 | +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c |
|
11 | @@ -647,6 +647,21 @@ static struct board_info __initdata boar |
11 | @@ -655,6 +655,21 @@ static struct board_info __initdata boar |
|
12 | .has_ehci0 = 1, |
12 | .has_ehci0 = 1, |
|
13 | }; |
13 | }; |
|
14 | |
14 | |
|
15 | +static struct board_info __initdata board_96348gw_10_AR1004G = { |
15 | +static struct board_info __initdata board_96348gw_10_AR1004G = { |
|
16 | + .name = "AR1004G", |
16 | + .name = "AR1004G", |
|
17 | + .expected_cpu_id = 0x6348, |
17 | + .expected_cpu_id = 0x6348, |
|
18 | + |
18 | + |
|
19 | + .has_enet1 = 1, |
19 | + .has_enet1 = 1, |
|
20 | + .has_pci = 1, |
20 | + .has_pci = 1, |
|
21 | + |
21 | + |
|
22 | + .enet1 = { |
22 | + .enet1 = { |
|
23 | + .has_phy = 1, |
23 | + .has_phy = 1, |
|
24 | + .phy_id = 0, |
24 | + .phy_id = 0, |
|
25 | + .force_speed_100 = 1, |
25 | + .force_speed_100 = 1, |
|
26 | + .force_duplex_full = 1, |
26 | + .force_duplex_full = 1, |
|
27 | + }, |
27 | + }, |
|
28 | +}; |
28 | +}; |
|
29 | + |
29 | + |
|
30 | |
30 | |
|
31 | /* BT Voyager 2110 */ |
31 | /* BT Voyager 2110 */ |
|
32 | static struct board_info __initdata board_V2110 = { |
32 | static struct board_info __initdata board_V2110 = { |
|
33 | @@ -1651,6 +1666,7 @@ static const struct board_info __initcon |
33 | @@ -1699,6 +1714,7 @@ static const struct board_info __initcon |
|
34 | &board_96348A_122, |
34 | &board_96348A_122, |
|
35 | &board_CPVA502plus, |
35 | &board_CPVA502plus, |
|
36 | &board_96348W3, |
36 | &board_96348W3, |
|
37 | + &board_96348gw_10_AR1004G, |
37 | + &board_96348gw_10_AR1004G, |
|
38 | #endif |
38 | #endif |
|
39 | |
39 | |
|
40 | #ifdef CONFIG_BCM63XX_CPU_6358 |
40 | #ifdef CONFIG_BCM63XX_CPU_6358 |
|
41 | @@ -1715,6 +1731,7 @@ static struct of_device_id const bcm963x |
41 | @@ -1763,6 +1779,7 @@ static struct of_device_id const bcm963x |
|
42 | { .compatible = "dynalink,rta770w", .data = &board_rta770w, }, |
42 | { .compatible = "dynalink,rta770w", .data = &board_rta770w, }, |
|
43 | #endif |
43 | #endif |
|
44 | #ifdef CONFIG_BCM63XX_CPU_6348 |
44 | #ifdef CONFIG_BCM63XX_CPU_6348 |
|
45 | + { .compatible = "asmax,ar1004g", .data = &board_96348gw_10_AR1004G, }, |
45 | + { .compatible = "asmax,ar1004g", .data = &board_96348gw_10_AR1004G, }, |
|
46 | { .compatible = "belkin,f5d7633", .data = &board_96348gw_10, }, |
46 | { .compatible = "belkin,f5d7633", .data = &board_96348gw_10, }, |
|
47 | { .compatible = "brcm,bcm96348r", .data = &board_96348r, }, |
47 | { .compatible = "brcm,bcm96348r", .data = &board_96348r, }, |
|
48 | { .compatible = "brcm,bcm96348gw-10", .data = &board_96348gw_10, }, |
48 | { .compatible = "brcm,bcm96348gw-10", .data = &board_96348gw_10, }, |
|
49 | |
49 | |