ramips: fix mt7628 eval board pinmux
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / MT7620a.dts
index 8f1b6d9521061bb5c49f7e0f3cc34d0eb3f4140b..cbd7319a85244ab2ec6dc114cae6aafffcbfe1e1 100644 (file)
@@ -2,6 +2,7 @@
 
 #include "mt7620a.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
 / {
 
                s2 {
                        label = "S2";
-                       gpios = <&gpio0 1 1>;
+                       gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_0>;
                };
 
                s3 {
                        label = "S3";
-                       gpios = <&gpio0 2 1>;
+                       gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_1>;
                };
        };
@@ -36,7 +37,6 @@
                #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <0>;
-               linux,modalias = "m25p80", "en25q64";
                spi-max-frequency = <10000000>;
 
                partition@0 {