Browse Source

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]>

SVN-Revision: 48663
John Crispin 10 years ago
parent
commit
480e15f2ce
1 changed files with 7 additions and 3 deletions
  1. 7 3
      target/linux/ramips/dts/HLKRM04.dts

+ 7 - 3
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>;
+		};
 	};
 };