diff options
Diffstat (limited to 'target/linux/ramips/dts/AR670W.dts')
-rw-r--r-- | target/linux/ramips/dts/AR670W.dts | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/target/linux/ramips/dts/AR670W.dts b/target/linux/ramips/dts/AR670W.dts index 3d26c3b6ff..3759f4a8c4 100644 --- a/target/linux/ramips/dts/AR670W.dts +++ b/target/linux/ramips/dts/AR670W.dts @@ -2,10 +2,11 @@ #include "rt2880.dtsi" +#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> / { - compatible = "AR670W", "ralink,rt2880-soc"; + compatible = "airlink101,ar670w", "ralink,rt2880-soc"; model = "Airlink101 AR670W"; cfi@bdc00000 { @@ -38,12 +39,12 @@ status { label = "ar670w:green:power"; - gpios = <&gpio0 7 1>; + gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; }; wpsblue { label = "ar670w:blue:wps"; - gpios = <&gpio0 13 1>; + gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; }; }; @@ -55,13 +56,13 @@ wps { label = "wps"; - gpios = <&gpio0 0 1>; + gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; linux,code = <KEY_WPS_BUTTON>; }; reset { label = "reset"; - gpios = <&gpio0 9 1>; + gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; linux,code = <KEY_RESTART>; }; }; |