ramips: update device tree source files
[openwrt/openwrt.git] / target / linux / ramips / dts / JHR-N825R.dts
index 4eab8932654d4d0033d5fe8e4702a7a918f770c9..5e64b2cc0903dd287012f5c50b53abb1502c32dd 100644 (file)
@@ -2,10 +2,11 @@
 
 #include "rt3050.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
 / {
-       compatible = "JHR-N825R", "ralink,rt3052-soc";
+       compatible = "jcg,jhr-n825r", "ralink,rt3052-soc";
        model = "JCG JHR-N825R";
 
        cfi@1f000000 {
@@ -44,7 +45,7 @@
                compatible = "gpio-leds";
                system {
                        label = "jhr-n825r:red:power";
-                       gpios = <&gpio0 9 1>;
+                       gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
        };
 
@@ -55,7 +56,7 @@
                poll-interval = <20>;
                reset_wps {
                        label = "reset_wps";
-                       gpios = <&gpio0 10 1>;
+                       gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };