summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/WHR-1166D.dts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-05-29 22:42:32 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-05-29 22:42:32 +0000
commita6df9f04727829f80b4475c4f05461e3dd2a719e (patch)
tree8f096939e75974dd86a3eef1fe149139a9138d6e /target/linux/ramips/dts/WHR-1166D.dts
parent5d6788f77328fac74b241e4a4e382038e9218ccb (diff)
downloadmtk-20170518-a6df9f04727829f80b4475c4f05461e3dd2a719e.zip
mtk-20170518-a6df9f04727829f80b4475c4f05461e3dd2a719e.tar.gz
mtk-20170518-a6df9f04727829f80b4475c4f05461e3dd2a719e.tar.bz2
ramips: fix buttons on WHR-300HP2, WHR-1166D, WHR-600D
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45845
Diffstat (limited to 'target/linux/ramips/dts/WHR-1166D.dts')
-rw-r--r--target/linux/ramips/dts/WHR-1166D.dts18
1 files changed, 10 insertions, 8 deletions
diff --git a/target/linux/ramips/dts/WHR-1166D.dts b/target/linux/ramips/dts/WHR-1166D.dts
index 960c3e1..3e62ece 100644
--- a/target/linux/ramips/dts/WHR-1166D.dts
+++ b/target/linux/ramips/dts/WHR-1166D.dts
@@ -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 */
};
};
};