029f02ab663169e1f080790eac28c8f692b5321f
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.3 / 553-board_96348w3.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1358,6 +1358,57 @@ static struct board_info __initdata boar
4 },
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 + .force_speed_100 = 1,
18 + .force_duplex_full = 1,
19 + },
20 +
21 + .has_ohci0 = 1,
22 +
23 + .leds = {
24 + {
25 + .name = "96348W3:green:power",
26 + .gpio = 0,
27 + .active_low = 1,
28 + .default_trigger = "default-on",
29 + },
30 + {
31 + .name = "96348W3:red:power",
32 + .gpio = 1,
33 + .active_low = 1,
34 + },
35 + {
36 + .name = "96348W3::adsl",
37 + .gpio = 2,
38 + .active_low = 1,
39 + },
40 + {
41 + .name = "96348W3::internet",
42 + .gpio = 3,
43 + .active_low = 1,
44 + },
45 + },
46 + .buttons = {
47 + {
48 + .desc = "reset",
49 + .gpio = 6,
50 + .active_low = 1,
51 + .type = EV_KEY,
52 + .code = KEY_RESTART,
53 + .threshold = 3,
54 + },
55 + },
56 +};
57 +
58 #endif
59
60 /*
61 @@ -2554,6 +2605,7 @@ static const struct board_info __initdat
62 &board_ct536_ct5621,
63 &board_96348A_122,
64 &board_CPVA502plus,
65 + &board_96348W3,
66 #endif
67
68 #ifdef CONFIG_BCM63XX_CPU_6358