ramips: update device tree source files
[librecmc/librecmc.git] / target / linux / ramips / dts / DIR-620-D1.dts
index f3079d370366970fed7b1394cc056dcb660e752e..baf17e733113000c5a417acc65ea56ef41c50a8f 100644 (file)
@@ -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 {
 
                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>;
                };
        };