diff options
Diffstat (limited to 'target/linux/ramips/dts/W502U.dts')
-rw-r--r-- | target/linux/ramips/dts/W502U.dts | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/target/linux/ramips/dts/W502U.dts b/target/linux/ramips/dts/W502U.dts index 1de6ffa337..b02c6c1256 100644 --- a/target/linux/ramips/dts/W502U.dts +++ b/target/linux/ramips/dts/W502U.dts @@ -2,10 +2,11 @@ #include "rt3050.dtsi" +#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> / { - compatible = "W502U", "ralink,rt3052-soc"; + compatible = "alfanetworks,w502u", "ralink,rt3052-soc"; model = "ALFA Networks W502U"; chosen { @@ -49,12 +50,12 @@ usb { label = "w502u:blue:usb"; - gpios = <&gpio0 13 1>; + gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; }; wps { label = "w502u:blue:wps"; - gpios = <&gpio0 14 1>; + gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; }; }; @@ -66,13 +67,13 @@ reset { label = "reset"; - gpios = <&gpio0 10 1>; + gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; linux,code = <KEY_RESTART>; }; wps { label = "wps"; - gpios = <&gpio0 0 1>; + gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; linux,code = <KEY_WPS_BUTTON>; }; }; |