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 <inin...@gmail.com>
---
 target/linux/ramips/dts/HLKRM04.dts | 10 +++++++---
 1 file 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>;
+               };
        };
 };
-- 
2.4.3
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to