ramips: fix buttons on WHR-300HP2, WHR-1166D, WHR-600D

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45845
This commit is contained in:
Felix Fietkau 2015-05-29 22:42:32 +00:00
parent 5d6788f773
commit a6df9f0472
3 changed files with 30 additions and 24 deletions

View file

@ -135,25 +135,27 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
s1 {
reset {
label = "reset";
gpios = <&gpio2 12 1>;
linux,code = <0x100>;
linux,code = <0x198>;
};
s2 {
aoss {
label = "aoss";
gpios = <&gpio2 13 1>;
linux,code = <0x101>;
linux,code = <0x211>;
};
s3 {
ap {
label = "ap";
gpios = <&gpio2 14 1>;
linux,code = <0x102>;
linux,code = <0x100>;
linux,input-type = <5>; /* EV_SW */
};
s4 {
bridge {
label = "bridge";
gpios = <&gpio2 15 1>;
linux,code = <0x103>;
linux,code = <0x100>;
linux,input-type = <5>; /* EV_SW */
};
};
};

View file

@ -113,25 +113,27 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
s1 {
reset {
label = "reset";
gpios = <&gpio2 12 1>;
linux,code = <0x100>;
linux,code = <0x198>;
};
s2 {
aoss {
label = "aoss";
gpios = <&gpio2 13 1>;
linux,code = <0x101>;
linux,code = <0x211>;
};
s3 {
ap {
label = "ap";
gpios = <&gpio2 14 1>;
linux,code = <0x102>;
linux,code = <0x100>;
linux,input-type = <5>; /* EV_SW */
};
s4 {
bridge {
label = "bridge";
gpios = <&gpio2 15 1>;
linux,code = <0x103>;
linux,code = <0x100>;
linux,input-type = <5>; /* EV_SW */
};
};
};

View file

@ -114,25 +114,27 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
s1 {
reset {
label = "reset";
gpios = <&gpio2 12 1>;
linux,code = <0x100>;
linux,code = <0x198>;
};
s2 {
aoss {
label = "aoss";
gpios = <&gpio2 13 1>;
linux,code = <0x101>;
linux,code = <0x211>;
};
s3 {
ap {
label = "ap";
gpios = <&gpio2 14 1>;
linux,code = <0x102>;
linux,code = <0x100>;
linux,input-type = <5>; /* EV_SW */
};
s4 {
bridge {
label = "bridge";
gpios = <&gpio2 15 1>;
linux,code = <0x103>;
linux,code = <0x100>;
linux,input-type = <5>; /* EV_SW */
};
};
};