Root/target/linux/brcm63xx/patches-3.0/440-board-D4PW.patch

1--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3@@ -489,6 +489,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+ .threshold = 3,
52+ },
53+ },
54+};
55+
56 #endif
57 
58 /*
59@@ -753,6 +802,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
67

Archive Download this file



interactive