Root/target/linux/brcm63xx/patches-3.6/505-board_spw500v.patch

1--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3@@ -600,6 +600,67 @@ static struct board_info __initdata boar
4         },
5     },
6 };
7+
8+static struct board_info __initdata board_spw500v = {
9+ .name = "SPW500V",
10+ .expected_cpu_id = 0x6348,
11+
12+ .has_uart0 = 1,
13+ .has_enet0 = 1,
14+ .has_pci = 1,
15+
16+ .enet0 = {
17+ .has_phy = 1,
18+ .use_internal_phy = 1,
19+ },
20+
21+ .has_dsp = 1,
22+ .dsp = {
23+ .gpio_rst = 6,
24+ .gpio_int = 34,
25+ .ext_irq = 2,
26+ .cs = 2,
27+ },
28+
29+ .leds = {
30+ {
31+ .name = "SPW500V:red:power",
32+ .gpio = 1,
33+ .active_low = 1,
34+ },
35+ {
36+ .name = "SPW500V:green:power",
37+ .gpio = 0,
38+ .active_low = 1,
39+ .default_trigger = "default-on",
40+ },
41+ {
42+ .name = "SPW500V:green:ppp",
43+ .gpio = 3,
44+ .active_low = 1,
45+ },
46+ { .name = "SPW500V:green:pstn",
47+ .gpio = 28,
48+ .active_low = 1,
49+ },
50+ {
51+ .name = "SPW500V:green:voip",
52+ .gpio = 32,
53+ .active_low = 1,
54+ },
55+ },
56+
57+ .buttons = {
58+ {
59+ .desc = "reset",
60+ .gpio = 33,
61+ .active_low = 1,
62+ .type = EV_KEY,
63+ .code = KEY_RESTART,
64+ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
65+ },
66+ },
67+};
68 #endif
69 
70 /*
71@@ -1499,6 +1560,7 @@ static const struct board_info __initdat
72     &board_96348gw_a,
73     &board_rta1025w_16,
74     &board_96348_D4PW,
75+ &board_spw500v,
76 #endif
77 
78 #ifdef CONFIG_BCM63XX_CPU_6358
79

Archive Download this file



interactive