summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/LINKIT7688.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/LINKIT7688.dts')
-rw-r--r--target/linux/ramips/dts/LINKIT7688.dts5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/LINKIT7688.dts b/target/linux/ramips/dts/LINKIT7688.dts
index f1809d1..f21ffcc 100644
--- a/target/linux/ramips/dts/LINKIT7688.dts
+++ b/target/linux/ramips/dts/LINKIT7688.dts
@@ -2,6 +2,7 @@
#include "mt7628an.dtsi"
+#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/ {
@@ -32,7 +33,7 @@
wifi {
label = "mediatek:orange:wifi";
- gpios = <&wgpio 0 0>;
+ gpios = <&wgpio 0 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
};
@@ -45,7 +46,7 @@
wps {
label = "reset";
- gpios = <&gpio1 6 1>;
+ gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>;
};
};