Root/target/linux/brcm63xx/patches-2.6.32/220-board-D4PW.patch

1--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3@@ -467,6 +467,49 @@ 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_enet0 = 1,
13+ .has_enet1 = 1,
14+ .has_pci = 1,
15+
16+ .enet0 = {
17+ .has_phy = 1,
18+ .use_internal_phy = 1,
19+ },
20+ .enet1 = {
21+ .force_speed_100 = 1,
22+ .force_duplex_full = 1,
23+ },
24+
25+ .has_ohci0 = 1,
26+ .has_ehci0 = 1,
27+
28+ .leds = {
29+ {
30+ .name = "ppp",
31+ .gpio = 4,
32+ .active_low = 1,
33+ },
34+ {
35+ .name = "ppp-fail",
36+ .gpio = 5,
37+ .active_low = 1,
38+ },
39+ {
40+ .name = "power",
41+ .gpio = 0,
42+ .active_low = 1,
43+ .default_trigger = "default-on",
44+
45+ },
46+ },
47+
48+};
49+
50 #endif
51 
52 /*
53@@ -692,6 +735,7 @@ static const struct board_info __initdat
54     &board_DV201AMR,
55     &board_96348gw_a,
56     &board_rta1025w_16,
57+ &board_96348_D4PW,
58 #endif
59 
60 #ifdef CONFIG_BCM63XX_CPU_6358
61

Archive Download this file



interactive