ramips: update device tree source files
[openwrt/openwrt.git] / target / linux / ramips / dts / D105.dts
index f7ace49f6285a7c2c19a884d2863e2f3223194db..a7d7d3777d648b3537342daedfe608551b5efa92 100644 (file)
@@ -2,10 +2,11 @@
 
 #include "rt3050.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
 / {
-       compatible = "D105", "ralink,rt3050-soc";
+       compatible = "huawei,d105", "ralink,rt3050-soc";
        model = "Huawei D105";
 
        cfi@1f000000 {
 
                power {
                        label = "d105:red:power";
-                       gpios = <&gpio0 0 1>;
+                       gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
                };
 
                wps {
                        label = "d105:green:usb";
-                       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>;
                };
        };