5edd0f948ac895302da3d8607f2b4a48efdc562f
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.3 / 500-board-D4PW.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -130,6 +130,55 @@ static struct board_info __initdata boar
4 },
5 },
6 };
7 +
8 +static struct board_info __initdata board_96348_D4PW = {
9 + .name = "D-4P-W",
10 + .expected_cpu_id = 0x6348,
11 +
12 + .has_enet1 = 1,
13 + .has_pci = 1,
14 + .has_uart0 = 1,
15 +
16 + .enet1 = {
17 + .force_speed_100 = 1,
18 + .force_duplex_full = 1,
19 + },
20 +
21 + .leds = {
22 + {
23 + .name = "power:green",
24 + .gpio = 0,
25 + .active_low = 1,
26 + },
27 + {
28 + .name = "status",
29 + .gpio = 3,
30 + .active_low = 1,
31 + },
32 + {
33 + .name = "internet:green",
34 + .gpio = 4,
35 + .active_low = 1,
36 + },
37 + {
38 + .name = "internet:red",
39 + .gpio = 5,
40 + .active_low = 1,
41 + },
42 + },
43 +
44 + .buttons = {
45 + {
46 + .desc = "reset",
47 + .gpio = 7,
48 + .active_low = 1,
49 + .type = EV_KEY,
50 + .code = KEY_RESTART,
51 + .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
52 + },
53 + },
54 +};
55 +
56 #endif
57
58 /*
59 @@ -638,6 +687,7 @@ static const struct board_info __initdat
60 &board_DV201AMR,
61 &board_96348gw_a,
62 &board_rta1025w_16,
63 + &board_96348_D4PW,
64 #endif
65
66 #ifdef CONFIG_BCM63XX_CPU_6358