Root/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@@ -470,6 +470,54 @@ static struct board_info __initdata boar
4 
5     .has_ohci0 = 1,
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 = "D-4P-W:green:power",
24+ .gpio = 0,
25+ .active_low = 1,
26+ },
27+ {
28+ .name = "D-4P-W::status",
29+ .gpio = 3,
30+ .active_low = 1,
31+ },
32+ {
33+ .name = "D-4P-W:green:internet",
34+ .gpio = 4,
35+ .active_low = 1,
36+ },
37+ {
38+ .name = "D-4P-W:red:internet",
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 #endif
56 
57 /*
58@@ -641,6 +689,7 @@ static const struct board_info __initdat
59     &board_DV201AMR,
60     &board_96348gw_a,
61     &board_rta1025w_16,
62+ &board_96348_D4PW,
63 #endif
64 
65 #ifdef CONFIG_BCM63XX_CPU_6358
66

Archive Download this file



interactive