aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/WF-2881.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/WF-2881.dts')
-rw-r--r--target/linux/ramips/dts/WF-2881.dts7
1 files changed, 4 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/WF-2881.dts b/target/linux/ramips/dts/WF-2881.dts
index f85e2e169c..33f521cb95 100644
--- a/target/linux/ramips/dts/WF-2881.dts
+++ b/target/linux/ramips/dts/WF-2881.dts
@@ -2,6 +2,7 @@
#include "mt7621.dtsi"
+#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/ {
@@ -22,12 +23,12 @@
usb {
label = "wf-2881:green:usb";
- gpios = <&gpio0 6 1>;
+ gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};
wps {
label = "wf-2881:green:wps";
- gpios = <&gpio0 0 1>;
+ gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
};
};
@@ -39,7 +40,7 @@
reset {
label = "reset";
- gpios = <&gpio0 12 1>;
+ gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};