diff options
Diffstat (limited to 'target/linux/ramips/dts/NBG-419N2.dts')
-rw-r--r-- | target/linux/ramips/dts/NBG-419N2.dts | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/target/linux/ramips/dts/NBG-419N2.dts b/target/linux/ramips/dts/NBG-419N2.dts index 73143bd642..a6e4803964 100644 --- a/target/linux/ramips/dts/NBG-419N2.dts +++ b/target/linux/ramips/dts/NBG-419N2.dts @@ -2,10 +2,11 @@ #include "rt3352.dtsi" +#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> / { - compatible = "NBG-419N2", "ralink,rt3352-soc"; + compatible = "zyxel,nbg-419n-v2", "ralink,rt3352-soc"; model = "ZyXEL NBG-419N v2"; palmbus@10000000 { @@ -49,17 +50,17 @@ power { label = "nbg-419n2:green:power"; - gpios = <&gpio0 9 1>; + gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; }; wps { label = "nbg-419n2:green:wps"; - gpios = <&gpio0 14 1>; + gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; }; usb { label = "nbg-419n2:green:usb"; - gpios = <&gpio0 13 1>; + gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; }; }; @@ -70,18 +71,18 @@ poll-interval = <20>; 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>; }; rfkill { label = "rfkill"; linux,input-type = <EV_SW>; - gpios = <&gpio0 12 0>; + gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; linux,code = <KEY_RFKILL>; }; }; |