aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/ZBT-CPE102.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/ZBT-CPE102.dts')
-rw-r--r--target/linux/ramips/dts/ZBT-CPE102.dts9
1 files changed, 5 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/ZBT-CPE102.dts b/target/linux/ramips/dts/ZBT-CPE102.dts
index 089084077d..42add891c2 100644
--- a/target/linux/ramips/dts/ZBT-CPE102.dts
+++ b/target/linux/ramips/dts/ZBT-CPE102.dts
@@ -2,6 +2,7 @@
#include "mt7620n.dtsi"
+#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/ {
@@ -17,17 +18,17 @@
4g-0 {
label = "zbt-cpe102:green:4g-0";
- gpios = <&gpio1 14 1>;
+ gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
};
4g-1 {
label = "zbt-cpe102:green:4g-1";
- gpios = <&gpio0 2 1>;
+ gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
};
4g-2 {
label = "zbt-cpe102:green:4g-2";
- gpios = <&gpio1 15 1>;
+ gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
};
@@ -39,7 +40,7 @@
reset {
label = "reset";
- gpios = <&gpio0 1 1>;
+ gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};