projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bcm63xx: fix WPS button polarity for Alice Gate VoIP 2 + Wifi
[openwrt.git]
/
target
/
linux
/
brcm63xx
/
patches-3.3
/
516-board_96348A-122.patch
diff --git
a/target/linux/brcm63xx/patches-3.3/516-board_96348A-122.patch
b/target/linux/brcm63xx/patches-3.3/516-board_96348A-122.patch
index 44f28b437f49e569aa1aa2aa6ebbe64d09c5cf6f..dbc9aeb33b4111b082b22517ddff3e352845e40e 100644
(file)
--- a/
target/linux/brcm63xx/patches-3.3/516-board_96348A-122.patch
+++ b/
target/linux/brcm63xx/patches-3.3/516-board_96348A-122.patch
@@
-1,6
+1,6
@@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -
378,6 +378
,67 @@ static struct board_info __initdata boar
+@@ -
494,6 +494
,67 @@ static struct board_info __initdata boar
},
};
},
};
@@
-21,18
+21,18
@@
+
+ .leds = {
+ {
+
+ .leds = {
+ {
-+ .name = "power",
++ .name = "
96348A-122:green:
power",
+ .gpio = 0,
+ .active_low = 1,
+ .default_trigger = "default-on",
+ },
+ {
+ .gpio = 0,
+ .active_low = 1,
+ .default_trigger = "default-on",
+ },
+ {
-+ .name = "alarm",
++ .name = "
96348A-122:red:
alarm",
+ .gpio = 2,
+ .active_low = 1,
+ },
+ {
+ .gpio = 2,
+ .active_low = 1,
+ },
+ {
-+ .name = "wps",
++ .name = "
96348A-122:green:
wps",
+ .gpio = 6,
+ .active_low = 1,
+ },
+ .gpio = 6,
+ .active_low = 1,
+ },
@@
-47,11
+47,11
@@
+ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
+ },
+ {
+ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
+ },
+ {
-+ .desc = "w
ifi
",
++ .desc = "w
lan
",
+ .gpio = 34,
+ .active_low = 1,
+ .type = EV_KEY,
+ .gpio = 34,
+ .active_low = 1,
+ .type = EV_KEY,
-+ .code =
BTN_0
,
++ .code =
KEY_WLAN
,
+ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
+ },
+ {
+ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
+ },
+ {
@@
-65,10
+65,10
@@
+ },
+};
+
+ },
+};
+
- #endif
-
- /*
-@@ -
1949,6 +2010
,7 @@ static const struct board_info __initdat
+ static struct board_info __initdata board_96348gw = {
+ .name = "96348GW",
+ .expected_cpu_id = 0x6348,
+@@ -
2034,6 +2095
,7 @@ static const struct board_info __initdat
&board_V2500V_BB,
&board_V2110,
&board_ct536_ct5621,
&board_V2500V_BB,
&board_V2110,
&board_ct536_ct5621,