diff options
Diffstat (limited to 'target/linux/ramips/dts/DIR-620-D1.dts')
-rw-r--r-- | target/linux/ramips/dts/DIR-620-D1.dts | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/DIR-620-D1.dts b/target/linux/ramips/dts/DIR-620-D1.dts index f3079d3703..baf17e7331 100644 --- a/target/linux/ramips/dts/DIR-620-D1.dts +++ b/target/linux/ramips/dts/DIR-620-D1.dts @@ -2,10 +2,11 @@ #include "rt3352.dtsi" +#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> / { - compatible = "DIR-620-D1", "ralink,rt3352-soc"; + compatible = "dlink,dir-620-d1", "ralink,rt3352-soc"; model = "D-Link DIR-620 D1"; gpio-leds { @@ -13,12 +14,12 @@ status { label = "dir-620-d1:green:status"; - gpios = <&gpio0 9 1>; + gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; }; wifi { label = "dir-620-d1:green:wifi"; - gpios = <&gpio0 17 1>; + gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; }; }; @@ -30,7 +31,7 @@ reset_wps { label = "reset_wps"; - gpios = <&gpio0 7 1>; + gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; linux,code = <KEY_RESTART>; }; }; |