ramips: update device tree source files
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / WITI.dts
index de0c517d0ce63513a824bcf467b68266594009cb..097c8163ff2df13f15c73c026d1dc021e7b8ba0a 100644 (file)
@@ -2,9 +2,11 @@
 
 #include "mt7621.dtsi"
 
+#include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
 / {
+       compatible = "mqmaker,witi", "mediatek,mt7621-soc";
        model = "MQmaker WiTi";
 
        memory@0 {
@@ -36,7 +38,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 18 1>;
+                       gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };
@@ -89,7 +91,7 @@
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x8000>;
-                       mediatek,2ghz = <0>;
+                       ieee80211-freq-limit = <5000000 6000000>;
                        mtd-mac-address = <&factory 0xe000>;
                };
        };
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x0000>;
-                       mediatek,5ghz = <0>;
+                       ieee80211-freq-limit = <2400000 2500000>;
                        mtd-mac-address = <&factory 0xe000>;
                };
        };