From 1f927bd2f023e66a0c8dca0b185586af67f1ca83 Mon Sep 17 00:00:00 2001 From: Moritz Warning Date: Tue, 3 Dec 2019 23:36:13 +0100 Subject: [PATCH] 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 (cherry picked from commit 3e1325b219fced91f01d5594503f61d326a93b90) --- target/linux/ramips/dts/WD03.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = ; }; };