#include "mt7628an.dtsi"
+#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/ {
wifi {
label = "mediatek:orange:wifi";
- gpios = <&wgpio 0 0>;
+ gpios = <&wgpio 0 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
};
wps {
label = "reset";
- gpios = <&gpio1 6 1>;
+ gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>;
};
};