ramips: update device tree source files
[openwrt/openwrt.git] / target / linux / ramips / dts / RT-G32-B1.dts
index 38d6992f0cd155514fbab81b0945100a4dc3ec08..af923c6e647a9ea9179c6e8d750e81267e357f2e 100644 (file)
@@ -2,10 +2,11 @@
 
 #include "rt3050.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
 / {
-       compatible = "RT-G32-B1", "ralink,rt3050-soc";
+       compatible = "asus,rt-g32-b1", "ralink,rt3050-soc";
        model = "Asus RT-G32 B1";
 
        gpio-keys-polled {
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 10 1>;
+                       gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
 
                wps {
                        label = "wps";
-                       gpios = <&gpio0 0 1>;
+                       gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
                };
        };