ramips: update device tree source files
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / MLWG2.dts
index 9c71c91c1c48736aa8b08923972ce3f467036770..58fce43b4fe58b1f613db49dc20fe783423cf2a3 100644 (file)
@@ -2,10 +2,11 @@
 
 #include "mt7620n.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
 / {
-       compatible = "mlwg2", "ralink,mt7620n-soc";
+       compatible = "kingston,mlwg2", "ralink,mt7620n-soc";
        model = "Kingston MLWG2";
 
        gpio-leds {
 
                system {
                        label = "mlwg2:blue:system";
-                       gpios = <&gpio2 3 1>;
+                       gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
                };
 
                wifi {
                        label = "mlwg2:blue:wifi";
-                       gpios = <&gpio3 0 1>;
+                       gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
 
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 1 1>;
+                       gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
 
                system {
                        label = "system";
-                       gpios = <&gpio0 2 1>;
+                       gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RFKILL>;
                };
        };
@@ -62,7 +63,6 @@
                #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <0>;
-               linux,modalias = "m25p80";
                spi-max-frequency = <10000000>;
 
                partition@0 {