diff options
Diffstat (limited to 'target/linux/ramips/dts/FIREWRT.dts')
-rw-r--r-- | target/linux/ramips/dts/FIREWRT.dts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/FIREWRT.dts b/target/linux/ramips/dts/FIREWRT.dts index d38ee39bd9..262dbb5f57 100644 --- a/target/linux/ramips/dts/FIREWRT.dts +++ b/target/linux/ramips/dts/FIREWRT.dts @@ -2,6 +2,7 @@ #include "mt7621.dtsi" +#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> / { @@ -22,7 +23,7 @@ power { label = "firewrt:green:power"; - gpios = <&gpio0 22 1>; + gpios = <&gpio0 22 GPIO_ACTIVE_LOW>; }; }; @@ -34,13 +35,13 @@ wps { label = "wps"; - gpios = <&gpio0 18 1>; + gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; linux,code = <KEY_WPS_BUTTON>; }; power { label = "power"; - gpios = <&gpio0 23 1>; + gpios = <&gpio0 23 GPIO_ACTIVE_LOW>; linux,code = <KEY_POWER>; }; }; |