aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/E1700.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/E1700.dts')
-rw-r--r--target/linux/ramips/dts/E1700.dts9
1 files changed, 5 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/E1700.dts b/target/linux/ramips/dts/E1700.dts
index cb3d2ec83a..f65f144921 100644
--- a/target/linux/ramips/dts/E1700.dts
+++ b/target/linux/ramips/dts/E1700.dts
@@ -12,6 +12,7 @@
#include "mt7620a.dtsi"
+#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/ {
@@ -26,13 +27,13 @@
reset {
label = "reset";
- gpios = <&gpio0 1 0>;
+ gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
- gpios = <&gpio0 2 0>;
+ gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
linux,code = <KEY_WPS_BUTTON>;
};
};
@@ -42,12 +43,12 @@
power {
label = "e1700:green:power";
- gpios = <&gpio0 10 1>;
+ gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
};
wan {
label = "e1700:green:wps";
- gpios = <&gpio0 12 1>;
+ gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
};
};