ramips: update device tree source files
[openwrt/openwrt.git] / target / linux / ramips / dts / ZBT-CPE102.dts
index 089084077dd44676d51d45bffeea1234534a1efc..42add891c2d74d062879d1f35514950da52a1ebc 100644 (file)
@@ -2,6 +2,7 @@
 
 #include "mt7620n.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
 / {
 
                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>;
                };
        };