#include "mt7621.dtsi"
+#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/ {
status-red {
label = "newifi-d1:red:status";
- gpios = <&gpio0 14 1>;
+ gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
status-green {
label = "newifi-d1:green:status";
- gpios = <&gpio0 13 1>;
+ gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
statys-blue {
label = "newifi-d1:blue:status";
- gpios = <&gpio0 16 1>;
+ gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
};
};
reset {
label = "reset";
- gpios = <&gpio0 15 1>;
+ gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};
usb2power {
gpio-export,name = "usb2power";
gpio-export,output = <1>;
- gpios = <&gpio0 9 0>;
+ gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
};
usb3power {
gpio-export,name = "usb3power";
gpio-export,output = <1>;
- gpios = <&gpio0 11 0>;
+ gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
};
};
};