d7a808763c39671f4a3635eef1f9ccb4bf4d1b7d
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.18 / 519_board_CPVA502plus.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -530,6 +530,40 @@ 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 + .has_phy = 1,
22 + .phy_id = 0,
23 + },
24 +
25 + .leds = {
26 + {
27 + .name = "CPVA502+:green:phone",
28 + .gpio = 0,
29 + .active_low = 1,
30 + },
31 + {
32 + .name = "CPVA502+:amber:link",
33 + .gpio = 5,
34 + .active_low = 1,
35 + },
36 + },
37 +
38 + .ephy_reset_gpio = 4,
39 + .ephy_reset_gpio_flags = GPIOF_INIT_HIGH,
40 +};
41
42 static struct board_info __initdata board_ct536_ct5621 = {
43 .name = "CT536_CT5621",
44 @@ -1922,6 +1956,7 @@ static const struct board_info __initcon
45 &board_V2110,
46 &board_ct536_ct5621,
47 &board_96348A_122,
48 + &board_CPVA502plus,
49 #endif
50
51 #ifdef CONFIG_BCM63XX_CPU_6358