64b4df7ffbc0ccf474f70ea3353b5c093185475b
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.3 / 459_board_CPVA502plus.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1069,6 +1069,42 @@ static struct board_info __initdata boar
4 },
5 };
6
7 +static struct board_info __initdata board_CPVA502plus = {
8 + .name = "CPVA502+",
9 + .expected_cpu_id = 0x6348,
10 +
11 + .has_uart0 = 1,
12 + .has_enet0 = 1,
13 + .has_enet1 = 1,
14 + .has_pci = 1,
15 +
16 + .enet0 = {
17 + .has_phy = 1,
18 + .use_internal_phy = 1,
19 + },
20 + .enet1 = {
21 + .force_speed_100 = 1,
22 + .force_duplex_full = 1,
23 + },
24 +
25 + .leds = {
26 + {
27 + .name = "phone",
28 + .gpio = 0,
29 + .active_low = 1,
30 + },
31 + {
32 + .name = "link",
33 + .gpio = 5,
34 + .active_low = 1,
35 + },
36 + {
37 + .name = "feth1", /* FIXME:does gpio4 enable eth1 phy? */
38 + .gpio = 4,
39 + .active_low = 1,
40 + },
41 + },
42 +};
43 #endif
44
45 /*
46 @@ -2123,6 +2159,7 @@ static const struct board_info __initdat
47 &board_V2110,
48 &board_ct536_ct5621,
49 &board_96348A_122,
50 + &board_CPVA502plus,
51 #endif
52
53 #ifdef CONFIG_BCM63XX_CPU_6358