brcm63xx: move dg834g v4 to dts
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.18 / 525-board_96348w3.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -815,6 +815,25 @@ static struct board_info __initdata boar
4 .has_ohci0 = 1,
5 };
6
7 +/* NetGear DG834G v4 */
8 +static struct board_info __initdata board_96348W3 = {
9 + .name = "96348W3",
10 + .expected_cpu_id = 0x6348,
11 +
12 + .has_uart0 = 1,
13 + .has_enet1 = 1,
14 + .has_pci = 1,
15 +
16 + .enet1 = {
17 + .has_phy = 1,
18 + .phy_id = 0,
19 + .force_speed_100 = 1,
20 + .force_duplex_full = 1,
21 + },
22 +
23 + .has_ohci0 = 1,
24 +};
25 +
26 static struct board_info __initdata board_96348_D4PW = {
27 .name = "D-4P-W",
28 .expected_cpu_id = 0x6348,
29 @@ -1389,6 +1408,7 @@ static const struct board_info __initcon
30 &board_ct536_ct5621,
31 &board_96348A_122,
32 &board_CPVA502plus,
33 + &board_96348W3,
34 #endif
35
36 #ifdef CONFIG_BCM63XX_CPU_6358
37 @@ -1443,6 +1463,7 @@ static struct of_device_id const bcm963x
38 { .compatible = "davolink,dv-201amr", .data = &board_DV201AMR, },
39 { .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, },
40 { .compatible = "netgear,dg834gtpn", .data = &board_96348gw_10, },
41 + { .compatible = "netgear,dg834g-v4", .data = &board_96348W3, },
42 { .compatible = "sagem,f@st2404", .data = &board_FAST2404, },
43 { .compatible = "t-com,spw500v", .data = &board_spw500v, },
44 { .compatible = "tecom,gw6000", .data = &board_gw6000, },