diff options
Diffstat (limited to 'target/linux/ramips/dts/IP2202.dts')
-rw-r--r-- | target/linux/ramips/dts/IP2202.dts | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/IP2202.dts b/target/linux/ramips/dts/IP2202.dts index 6f26f3b50a..260846e164 100644 --- a/target/linux/ramips/dts/IP2202.dts +++ b/target/linux/ramips/dts/IP2202.dts @@ -2,10 +2,11 @@ #include "rt3050.dtsi" +#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> / { - compatible = "IP2202", "ralink,rt3052-soc"; + compatible = "poray,ip2202", "ralink,rt3052-soc"; model = "Poray IP2202"; cfi@1f000000 { @@ -45,12 +46,12 @@ run { label = "ip2202:green:run"; - gpios = <&gpio0 9 1>; + gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; }; net { label = "ip2202:amber:net"; - gpios = <&gpio0 13 1>; + gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; }; }; @@ -62,7 +63,7 @@ reset { label = "reset"; - gpios = <&gpio0 10 1>; + gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; linux,code = <KEY_RESTART>; }; }; |