ramips: HLK-RM04 - Fix push button functions
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / HLKRM04.dts
index f90a9ac35c5af0f3058b1a19895df1496d5f3b0a..5f43642c12c00f70fed3ed670c3c1c05b4149278 100644 (file)
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
-
-               wps {
+               reset {
                        label = "reset";
-                       gpios = <&gpio0 14 1>;
+                       gpios = <&gpio0 0 1>;
                        linux,code = <0x198>;
                };
-       };
-
-       gpio-leds {
-               compatible = "gpio-leds";
-
-               power {
-                       label = "hlk-rm04:red:power";
-                       gpios = <&gpio0 0 1>;
+               wps {
+                       label = "wps";
+                       gpios = <&gpio0 14 1>;
+                       linux,code = <0x211>;
                };
        };
 };