brcm63xx: move dsl-2640u to dts
[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 @@ -425,6 +425,27 @@ 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 + .ephy_reset_gpio = 4,
26 + .ephy_reset_gpio_flags = GPIO_ACTIVE_LOW,
27 +};
28
29 static struct board_info __initdata board_ct536_ct5621 = {
30 .name = "CT536_CT5621",
31 @@ -1165,6 +1186,7 @@ static const struct board_info __initcon
32 &board_V2110,
33 &board_ct536_ct5621,
34 &board_96348A_122,
35 + &board_CPVA502plus,
36 #endif
37
38 #ifdef CONFIG_BCM63XX_CPU_6358