ramips: fix inverted reset button for Ravpower WD03
authorMoritz Warning <moritzwarning@web.de>
Tue, 3 Dec 2019 22:36:13 +0000 (23:36 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 3 Jan 2020 14:09:04 +0000 (15:09 +0100)
The button events "pressed" and "released" were switched. Tested with v18.06.4.

Signed-off-by: Moritz Warning <moritzwarning@web.de>
target/linux/ramips/dts/mt7620n_ravpower_wd03.dts

index ee92860b9fa87ab931d3e275af8b9d95af423c60..1740de16ebe5f42bcedb6882e095e3562cd9c7fe 100644 (file)
@@ -32,7 +32,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
+                       gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };