Author: blogic
Date: 2016-02-08 09:26:11 +0100 (Mon, 08 Feb 2016)
New Revision: 48663

Modified:
   trunk/target/linux/ramips/dts/HLKRM04.dts
Log:
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 <[email protected]>

Modified: trunk/target/linux/ramips/dts/HLKRM04.dts
===================================================================
--- trunk/target/linux/ramips/dts/HLKRM04.dts   2016-02-08 08:26:02 UTC (rev 
48662)
+++ trunk/target/linux/ramips/dts/HLKRM04.dts   2016-02-08 08:26:11 UTC (rev 
48663)
@@ -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>;
+               };
        };
 };
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to