diff options
Diffstat (limited to 'target/linux/ramips/dts/MicroWRT.dts')
-rw-r--r-- | target/linux/ramips/dts/MicroWRT.dts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/MicroWRT.dts b/target/linux/ramips/dts/MicroWRT.dts index 6f8179c..5a63e68 100644 --- a/target/linux/ramips/dts/MicroWRT.dts +++ b/target/linux/ramips/dts/MicroWRT.dts @@ -2,10 +2,11 @@ #include "mt7620a.dtsi" +#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> / { - compatible = "microwrt", "ralink,mt7620a-soc"; + compatible = "microduino,microwrt", "ralink,mt7620a-soc"; model = "Microduino MicroWRT"; chosen { @@ -20,13 +21,13 @@ reset { label = "reset"; - gpios = <&gpio0 1 1>; + gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; linux,code = <KEY_RESTART>; }; wps { label = "wps"; - gpios = <&gpio0 2 1>; + gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; linux,code = <KEY_WPS_BUTTON>; }; }; |