summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/HLKRM04.dts
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-02-08 08:26:11 +0000
committerJohn Crispin <john@openwrt.org>2016-02-08 08:26:11 +0000
commit480e15f2ce23c28eb75422c46eecd870e494fc6d (patch)
tree8edbbb796d73739a19cb8835c4ed554e6d91e8a6 /target/linux/ramips/dts/HLKRM04.dts
parent1f2609124240dd37e5e82e7a6742695c782523a7 (diff)
downloadmtk-20170518-480e15f2ce23c28eb75422c46eecd870e494fc6d.zip
mtk-20170518-480e15f2ce23c28eb75422c46eecd870e494fc6d.tar.gz
mtk-20170518-480e15f2ce23c28eb75422c46eecd870e494fc6d.tar.bz2
ramips: HLK-RM04 - Fix push button functions
The RESET button of the HLK-RM04 is connected to GPIO0, linux function 0x198 The WPS button of the HLK-RM04 is connected to GPIO14, linux function 0x211 Signed-off-by: John Clark <inindev@gmail.com> SVN-Revision: 48663
Diffstat (limited to 'target/linux/ramips/dts/HLKRM04.dts')
-rw-r--r--target/linux/ramips/dts/HLKRM04.dts10
1 files changed, 7 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/HLKRM04.dts b/target/linux/ramips/dts/HLKRM04.dts
index 7996f99..5f43642 100644
--- a/target/linux/ramips/dts/HLKRM04.dts
+++ b/target/linux/ramips/dts/HLKRM04.dts
@@ -87,11 +87,15 @@
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
-
- wps {
+ reset {
label = "reset";
- gpios = <&gpio0 14 1>;
+ gpios = <&gpio0 0 1>;
linux,code = <0x198>;
};
+ wps {
+ label = "wps";
+ gpios = <&gpio0 14 1>;
+ linux,code = <0x211>;
+ };
};
};