diff options
author | John Crispin <blogic@openwrt.org> | 2016-02-08 08:26:11 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2016-02-08 08:26:11 +0000 |
commit | f43b9e68c13830fe482f82a167f42445cc411c45 (patch) | |
tree | 94502beb329c2e1fae3fd034b469b699b769a66b /target/linux | |
parent | e172832550751a18fb7f40a7815b905ea0fefb8d (diff) | |
download | master-187ad058-f43b9e68c13830fe482f82a167f42445cc411c45.tar.gz master-187ad058-f43b9e68c13830fe482f82a167f42445cc411c45.tar.bz2 master-187ad058-f43b9e68c13830fe482f82a167f42445cc411c45.zip |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48663 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ramips/dts/HLKRM04.dts | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/HLKRM04.dts b/target/linux/ramips/dts/HLKRM04.dts index 7996f99f73..5f43642c12 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>; + }; }; }; |