ramips: use pinmux nodes from dtsi
[openwrt/openwrt.git] / target / linux / ramips / dts / WF-2881.dts
index f85e2e169cbe60511487a4aecfcb69ea86fda03f..33f521cb95e2f0d41eededbc9d3301024f3e357f 100644 (file)
@@ -2,6 +2,7 @@
 
 #include "mt7621.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
 / {
 
                usb {
                        label = "wf-2881:green:usb";
-                       gpios = <&gpio0 6 1>;
+                       gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
                };
 
                wps {
                        label = "wf-2881:green:wps";
-                       gpios = <&gpio0 0 1>;
+                       gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
                };
        };
 
@@ -39,7 +40,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 12 1>;
+                       gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };