diff options
Diffstat (limited to 'target/linux/ramips/dts/ATP-52B.dts')
-rw-r--r-- | target/linux/ramips/dts/ATP-52B.dts | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/target/linux/ramips/dts/ATP-52B.dts b/target/linux/ramips/dts/ATP-52B.dts index 7e872985dd..ca62a443c8 100644 --- a/target/linux/ramips/dts/ATP-52B.dts +++ b/target/linux/ramips/dts/ATP-52B.dts @@ -2,10 +2,11 @@ #include "rt3050.dtsi" +#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> / { - compatible = "ATP-52B", "ralink,rt3052-soc"; + compatible = "argus,atp-52b", "ralink,rt3052-soc"; model = "Argus ATP-52B"; cfi@1f000000 { @@ -43,12 +44,12 @@ run { label = "atp-52b:green:run"; - gpios = <&gpio0 9 1>; + gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; }; net { label = "atp-52b:amber:net"; - gpios = <&gpio0 13 1>; + gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; }; }; @@ -60,13 +61,13 @@ wps { label = "wps"; - gpios = <&gpio0 0 1>; + gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; linux,code = <KEY_WPS_BUTTON>; }; reset { label = "reset"; - gpios = <&gpio0 10 1>; + gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; linux,code = <KEY_RESTART>; }; }; |