aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorMoritz Warning <moritzwarning@web.de>2019-12-03 23:36:13 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-01-03 15:10:44 +0100
commit1f927bd2f023e66a0c8dca0b185586af67f1ca83 (patch)
tree43677c2709908394346998e4a89b9bf0eae22d0a /target/linux/ramips
parent7ab5dc77b223fd71e07ac5b8eb2f32852e804db9 (diff)
downloadupstream-1f927bd2f023e66a0c8dca0b185586af67f1ca83.tar.gz
upstream-1f927bd2f023e66a0c8dca0b185586af67f1ca83.tar.bz2
upstream-1f927bd2f023e66a0c8dca0b185586af67f1ca83.zip
ramips: fix inverted reset button for Ravpower WD03
The button events "pressed" and "released" were switched. Tested with v18.06.4. Signed-off-by: Moritz Warning <moritzwarning@web.de> (cherry picked from commit 3e1325b219fced91f01d5594503f61d326a93b90)
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/dts/WD03.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/WD03.dts b/target/linux/ramips/dts/WD03.dts
index bbb2ca3dc9..b6c601f58a 100644
--- a/target/linux/ramips/dts/WD03.dts
+++ b/target/linux/ramips/dts/WD03.dts
@@ -34,7 +34,7 @@
reset {
label = "reset";
- gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};