summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/WNDR3700V5.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/WNDR3700V5.dts')
-rw-r--r--target/linux/ramips/dts/WNDR3700V5.dts13
1 files changed, 7 insertions, 6 deletions
diff --git a/target/linux/ramips/dts/WNDR3700V5.dts b/target/linux/ramips/dts/WNDR3700V5.dts
index 61e8b68..c780011 100644
--- a/target/linux/ramips/dts/WNDR3700V5.dts
+++ b/target/linux/ramips/dts/WNDR3700V5.dts
@@ -2,6 +2,7 @@
#include "mt7621.dtsi"
+#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/ {
@@ -22,12 +23,12 @@
wps {
label = "wndr3700v5:green:wps";
- gpios = <&gpio0 12 1>;
+ gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
power {
label = "wndr3700v5:green:power";
- gpios = <&gpio0 18 1>;
+ gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
};
};
@@ -39,19 +40,19 @@
wps {
label = "wndr3700v5:wps";
- gpios = <&gpio0 7 0>;
+ gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
linux,code = <KEY_WPS_BUTTON>;
};
wifi {
label = "wndr3700v5:wifi";
- gpios = <&gpio0 8 0>;
+ gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
linux,code = <KEY_RFKILL>;
};
reset {
label = "wndr3700v5:reset";
- gpios = <&gpio0 14 0>;
+ gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
linux,code = <KEY_RESTART>;
};
};
@@ -63,7 +64,7 @@
usbpower {
gpio-export,name = "usbpower";
gpio-export,output = <1>;
- gpios = <&gpio0 10 1>;
+ gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};
};
};