aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/DUZUN-DM06.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/DUZUN-DM06.dts')
-rw-r--r--target/linux/ramips/dts/DUZUN-DM06.dts7
1 files changed, 4 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/DUZUN-DM06.dts b/target/linux/ramips/dts/DUZUN-DM06.dts
index d40df4fb5c..97625d875e 100644
--- a/target/linux/ramips/dts/DUZUN-DM06.dts
+++ b/target/linux/ramips/dts/DUZUN-DM06.dts
@@ -2,10 +2,11 @@
#include "mt7628an.dtsi"
+#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/ {
- compatible = "duzun,dm06-mt7628an", "mediatek,mt7628an-soc";
+ compatible = "duzun,dm06", "mediatek,mt7628an-soc";
model = "DuZun DM06";
memory@0 {
@@ -21,13 +22,13 @@
reset {
label = "reset";
- gpios = <&gpio1 14 1>;
+ gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
- gpios = <&gpio1 6 1>;
+ gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>;
};
};