Root/target/linux/brcm63xx/patches-3.6/530-board_963281T_TEF.patch

1--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3@@ -207,6 +207,125 @@ static struct board_info __initdata boar
4     },
5 };
6 
7+static struct board_info __initdata board_963281T_TEF = {
8+ .name = "963281T_TEF",
9+ .expected_cpu_id = 0x6328,
10+
11+ .has_uart0 = 1,
12+ .has_pci = 1,
13+ .has_ohci0 = 1,
14+ .has_ehci0 = 1,
15+ .has_enetsw = 1,
16+
17+ .enetsw = {
18+ .used_ports = {
19+ [0] = {
20+ .used = 1,
21+ .phy_id = 1,
22+ .name = "Port 1",
23+ },
24+ [1] = {
25+ .used = 1,
26+ .phy_id = 2,
27+ .name = "Port 2",
28+ },
29+ [2] = {
30+ .used = 1,
31+ .phy_id = 3,
32+ .name = "Port 3",
33+ },
34+ [3] = {
35+ .used = 1,
36+ .phy_id = 4,
37+ .name = "Port 4",
38+ },
39+ },
40+ },
41+
42+ .leds = {
43+ {
44+ .name = "963281T_TEF:green:power",
45+ .gpio = 4,
46+ .active_low = 1,
47+ .default_trigger = "default-on",
48+ },
49+ {
50+ .name = "963281T_TEF:red:power",
51+ .gpio = 8,
52+ .active_low = 1,
53+ },
54+ {
55+ .name = "963281T_TEF:green:inet",
56+ .gpio = 11,
57+ .active_low = 1,
58+ },
59+ {
60+ .name = "963281T_TEF:red:inet",
61+ .gpio = 2,
62+ .active_low = 1,
63+ },
64+ {
65+ .name = "963281T_TEF:green:ppp",
66+ .gpio = 3,
67+ .active_low = 1,
68+ },
69+ {
70+ .name = "963281T_TEF:red:ppp",
71+ .gpio = 5,
72+ .active_low = 1,
73+ },
74+ {
75+ .name = "963281T_TEF:green:3g",
76+ .gpio = 6,
77+ .active_low = 1,
78+ },
79+ {
80+ .name = "963281T_TEF:red:3g",
81+ .gpio = 7,
82+ .active_low = 1,
83+ },
84+ {
85+ .name = "963281T_TEF:green:wlan",
86+ .gpio = 9,
87+ .active_low = 1,
88+ },
89+ {
90+ .name = "963281T_TEF:red:wlan",
91+ .gpio = 10,
92+ .active_low = 1,
93+ },
94+ {
95+ .name = "963281T_TEF:green:eth",
96+ .gpio = 31,
97+ .active_low = 1,
98+ },
99+ {
100+ .name = "963281T_TEF:red:eth",
101+ .gpio = 20,
102+ .active_low = 1,
103+ },
104+ },
105+
106+ .buttons = {
107+ {
108+ .desc = "reset",
109+ .gpio = 23,
110+ .active_low = 1,
111+ .type = EV_KEY,
112+ .code = KEY_RESTART,
113+ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
114+ },
115+ {
116+ .desc = "wlan",
117+ .gpio = 24,
118+ .active_low = 1,
119+ .type = EV_KEY,
120+ .code = KEY_WLAN,
121+ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
122+ },
123+ },
124+};
125+
126 static struct board_info __initdata board_dsl_274xb_f1 = {
127     .name = "AW4339U",
128     .expected_cpu_id = 0x6328,
129@@ -2876,6 +2995,7 @@ static const struct board_info __initdat
130 #ifdef CONFIG_BCM63XX_CPU_6328
131     &board_96328avng,
132     &board_963281TAN,
133+ &board_963281T_TEF,
134     &board_dsl_274xb_f1,
135 #endif
136 #ifdef CONFIG_BCM63XX_CPU_6338
137

Archive Download this file



interactive